This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 567
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 326b297b3e26dd8b7936edb1b815df27c015914a (#4977)
revert last commit
- Loading branch information
1 parent
6d9c27c
commit 5cb7a22
Showing
19 changed files
with
974 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
lib/services/machinelearning/lib/commitmentPlan/models/operationDisplayInfo.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* The API operation info. | ||
* | ||
*/ | ||
class OperationDisplayInfo { | ||
/** | ||
* Create a OperationDisplayInfo. | ||
* @property {string} [description] The description of the operation. | ||
* @property {string} [operation] The action that users can perform, based on | ||
* their permission level. | ||
* @property {string} [provider] The service provider. | ||
* @property {string} [resource] The resource on which the operation is | ||
* performed. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of OperationDisplayInfo | ||
* | ||
* @returns {object} metadata of OperationDisplayInfo | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'OperationDisplayInfo', | ||
type: { | ||
name: 'Composite', | ||
className: 'OperationDisplayInfo', | ||
modelProperties: { | ||
description: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'description', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
operation: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'operation', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
provider: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'provider', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
resource: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'resource', | ||
type: { | ||
name: 'String' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = OperationDisplayInfo; |
69 changes: 69 additions & 0 deletions
69
lib/services/machinelearning/lib/commitmentPlan/models/operationEntity.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* An API operation. | ||
* | ||
*/ | ||
class OperationEntity { | ||
/** | ||
* Create a OperationEntity. | ||
* @property {string} [name] Operation name: | ||
* {provider}/{resource}/{operation}. | ||
* @property {object} [display] The API operation info. | ||
* @property {string} [display.description] The description of the operation. | ||
* @property {string} [display.operation] The action that users can perform, | ||
* based on their permission level. | ||
* @property {string} [display.provider] The service provider. | ||
* @property {string} [display.resource] The resource on which the operation | ||
* is performed. | ||
*/ | ||
constructor() { | ||
} | ||
|
||
/** | ||
* Defines the metadata of OperationEntity | ||
* | ||
* @returns {object} metadata of OperationEntity | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'OperationEntity', | ||
type: { | ||
name: 'Composite', | ||
className: 'OperationEntity', | ||
modelProperties: { | ||
name: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: 'name', | ||
type: { | ||
name: 'String' | ||
} | ||
}, | ||
display: { | ||
required: false, | ||
serializedName: 'display', | ||
type: { | ||
name: 'Composite', | ||
className: 'OperationDisplayInfo' | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = OperationEntity; |
60 changes: 60 additions & 0 deletions
60
lib/services/machinelearning/lib/commitmentPlan/models/operationEntityListResult.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for | ||
* license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is | ||
* regenerated. | ||
*/ | ||
|
||
'use strict'; | ||
|
||
/** | ||
* The list of REST API operations. | ||
*/ | ||
class OperationEntityListResult extends Array { | ||
/** | ||
* Create a OperationEntityListResult. | ||
*/ | ||
constructor() { | ||
super(); | ||
} | ||
|
||
/** | ||
* Defines the metadata of OperationEntityListResult | ||
* | ||
* @returns {object} metadata of OperationEntityListResult | ||
* | ||
*/ | ||
mapper() { | ||
return { | ||
required: false, | ||
serializedName: 'OperationEntityListResult', | ||
type: { | ||
name: 'Composite', | ||
className: 'OperationEntityListResult', | ||
modelProperties: { | ||
value: { | ||
required: false, | ||
readOnly: true, | ||
serializedName: '', | ||
type: { | ||
name: 'Sequence', | ||
element: { | ||
required: false, | ||
serializedName: 'OperationEntityElementType', | ||
type: { | ||
name: 'Composite', | ||
className: 'OperationEntity' | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}; | ||
} | ||
} | ||
|
||
module.exports = OperationEntityListResult; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.