@azure/arm-commitmentplans 1.3.1 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +69 -80
- package/dist/index.js +1794 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.d.ts +22 -0
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.d.ts.map +1 -0
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.js +55 -0
- package/dist-esm/src/azureMLCommitmentPlansManagementClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +522 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +27 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +24 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +352 -337
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +15 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +125 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/commitmentAssociations.d.ts +55 -0
- package/dist-esm/src/operations/commitmentAssociations.d.ts.map +1 -0
- package/dist-esm/src/operations/commitmentAssociations.js +203 -0
- package/dist-esm/src/operations/commitmentAssociations.js.map +1 -0
- package/dist-esm/src/operations/commitmentPlans.d.ts +84 -0
- package/dist-esm/src/operations/commitmentPlans.d.ts.map +1 -0
- package/dist-esm/src/operations/commitmentPlans.js +332 -0
- package/dist-esm/src/operations/commitmentPlans.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +4 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +87 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/skus.d.ts +26 -0
- package/dist-esm/src/operations/skus.d.ts.map +1 -0
- package/dist-esm/src/operations/skus.js +87 -0
- package/dist-esm/src/operations/skus.js.map +1 -0
- package/dist-esm/src/operations/usageHistory.d.ts +38 -0
- package/dist-esm/src/operations/usageHistory.d.ts.map +1 -0
- package/dist-esm/src/operations/usageHistory.js +131 -0
- package/dist-esm/src/operations/usageHistory.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.d.ts +30 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.js +9 -0
- package/dist-esm/src/operationsInterfaces/commitmentAssociations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.js +9 -0
- package/dist-esm/src/operationsInterfaces/commitmentPlans.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +13 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/skus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/skus.js +9 -0
- package/dist-esm/src/operationsInterfaces/skus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.js +9 -0
- package/dist-esm/src/operationsInterfaces/usageHistory.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +74 -33
- package/review/arm-commitmentplans.api.md +405 -0
- package/rollup.config.js +184 -27
- package/src/azureMLCommitmentPlansManagementClient.ts +82 -41
- package/src/index.ts +12 -0
- package/src/models/index.ts +388 -745
- package/src/models/mappers.ts +354 -336
- package/src/models/parameters.ts +87 -35
- package/src/operations/commitmentAssociations.ts +183 -174
- package/src/operations/commitmentPlans.ts +277 -340
- package/src/operations/index.ts +4 -5
- package/src/operations/operations.ts +95 -0
- package/src/operations/skus.ts +65 -48
- package/src/operations/usageHistory.ts +135 -89
- package/src/operationsInterfaces/commitmentAssociations.ts +62 -0
- package/src/operationsInterfaces/commitmentPlans.ts +92 -0
- package/src/operationsInterfaces/index.ts +13 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/skus.ts +22 -0
- package/src/operationsInterfaces/usageHistory.ts +26 -0
- package/tsconfig.json +6 -5
- package/types/arm-commitmentplans.d.ts +706 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-commitmentplans.js +0 -1659
- package/dist/arm-commitmentplans.js.map +0 -1
- package/dist/arm-commitmentplans.min.js +0 -1
- package/dist/arm-commitmentplans.min.js.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClient.d.ts +0 -27
- package/esm/azureMLCommitmentPlansManagementClient.d.ts.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClient.js +0 -41
- package/esm/azureMLCommitmentPlansManagementClient.js.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClientContext.d.ts +0 -22
- package/esm/azureMLCommitmentPlansManagementClientContext.d.ts.map +0 -1
- package/esm/azureMLCommitmentPlansManagementClientContext.js +0 -61
- package/esm/azureMLCommitmentPlansManagementClientContext.js.map +0 -1
- package/esm/models/commitmentAssociationsMappers.d.ts +0 -2
- package/esm/models/commitmentAssociationsMappers.d.ts.map +0 -1
- package/esm/models/commitmentAssociationsMappers.js +0 -11
- package/esm/models/commitmentAssociationsMappers.js.map +0 -1
- package/esm/models/commitmentPlansMappers.d.ts +0 -2
- package/esm/models/commitmentPlansMappers.d.ts.map +0 -1
- package/esm/models/commitmentPlansMappers.js +0 -11
- package/esm/models/commitmentPlansMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -901
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -23
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -10
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -93
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/skusMappers.d.ts +0 -2
- package/esm/models/skusMappers.d.ts.map +0 -1
- package/esm/models/skusMappers.js +0 -11
- package/esm/models/skusMappers.js.map +0 -1
- package/esm/models/usageHistoryMappers.d.ts +0 -2
- package/esm/models/usageHistoryMappers.d.ts.map +0 -1
- package/esm/models/usageHistoryMappers.js +0 -11
- package/esm/models/usageHistoryMappers.js.map +0 -1
- package/esm/operations/commitmentAssociations.d.ts +0 -103
- package/esm/operations/commitmentAssociations.d.ts.map +0 -1
- package/esm/operations/commitmentAssociations.js +0 -157
- package/esm/operations/commitmentAssociations.js.map +0 -1
- package/esm/operations/commitmentPlans.d.ts +0 -175
- package/esm/operations/commitmentPlans.d.ts.map +0 -1
- package/esm/operations/commitmentPlans.js +0 -273
- package/esm/operations/commitmentPlans.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/skus.d.ts +0 -28
- package/esm/operations/skus.d.ts.map +0 -1
- package/esm/operations/skus.js +0 -54
- package/esm/operations/skus.js.map +0 -1
- package/esm/operations/usageHistory.d.ts +0 -52
- package/esm/operations/usageHistory.d.ts.map +0 -1
- package/esm/operations/usageHistory.js +0 -85
- package/esm/operations/usageHistory.js.map +0 -1
- package/src/azureMLCommitmentPlansManagementClientContext.ts +0 -68
- package/src/models/commitmentAssociationsMappers.ts +0 -24
- package/src/models/commitmentPlansMappers.ts +0 -24
- package/src/models/skusMappers.ts +0 -20
- package/src/models/usageHistoryMappers.ts +0 -16
package/src/models/index.ts
CHANGED
|
@@ -1,936 +1,579 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
4
|
-
* license information.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
5
4
|
*
|
|
6
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
9
7
|
*/
|
|
10
8
|
|
|
11
|
-
import
|
|
12
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
13
10
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* @interface
|
|
19
|
-
* An interface representing SkuCapacity.
|
|
20
|
-
* Describes scaling information of a SKU.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export interface SkuCapacity {
|
|
24
|
-
/**
|
|
25
|
-
* @member {number} [minimum] The minimum capacity.
|
|
26
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
27
|
-
* the server.**
|
|
28
|
-
*/
|
|
29
|
-
readonly minimum?: number;
|
|
30
|
-
/**
|
|
31
|
-
* @member {number} [maximum] The maximum capacity that can be set.
|
|
32
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
33
|
-
* the server.**
|
|
34
|
-
*/
|
|
35
|
-
readonly maximum?: number;
|
|
36
|
-
/**
|
|
37
|
-
* @member {number} [default] The default capacity.
|
|
38
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
39
|
-
* the server.**
|
|
40
|
-
*/
|
|
41
|
-
readonly default?: number;
|
|
11
|
+
/** The list of REST API operations. */
|
|
12
|
+
export interface OperationEntityListResult {
|
|
42
13
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
46
|
-
* the server.**
|
|
14
|
+
* The list of operations.
|
|
15
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
47
16
|
*/
|
|
48
|
-
readonly
|
|
17
|
+
readonly value?: OperationEntity[];
|
|
49
18
|
}
|
|
50
19
|
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
* An interface representing SkuCapability.
|
|
54
|
-
* Describes The SKU capabilites object.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
export interface SkuCapability {
|
|
20
|
+
/** An API operation. */
|
|
21
|
+
export interface OperationEntity {
|
|
58
22
|
/**
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* the server.**
|
|
23
|
+
* Operation name: {provider}/{resource}/{operation}.
|
|
24
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
62
25
|
*/
|
|
63
26
|
readonly name?: string;
|
|
64
|
-
/**
|
|
65
|
-
|
|
66
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
67
|
-
* the server.**
|
|
68
|
-
*/
|
|
69
|
-
readonly value?: string;
|
|
27
|
+
/** The API operation info. */
|
|
28
|
+
display?: OperationDisplayInfo;
|
|
70
29
|
}
|
|
71
30
|
|
|
72
|
-
/**
|
|
73
|
-
|
|
74
|
-
* An interface representing SkuCost.
|
|
75
|
-
* Describes metadata for SKU cost info.
|
|
76
|
-
*
|
|
77
|
-
*/
|
|
78
|
-
export interface SkuCost {
|
|
79
|
-
/**
|
|
80
|
-
* @member {string} [meterID] The meter used for this part of a SKU's cost.
|
|
81
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
82
|
-
* the server.**
|
|
83
|
-
*/
|
|
84
|
-
readonly meterID?: string;
|
|
31
|
+
/** The API operation info. */
|
|
32
|
+
export interface OperationDisplayInfo {
|
|
85
33
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* the server.**
|
|
34
|
+
* The description of the operation.
|
|
35
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
89
36
|
*/
|
|
90
|
-
readonly
|
|
91
|
-
/**
|
|
92
|
-
* @member {string} [extendedUnit] The overall duration represented by the
|
|
93
|
-
* quantity.
|
|
94
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
95
|
-
* the server.**
|
|
96
|
-
*/
|
|
97
|
-
readonly extendedUnit?: string;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* @interface
|
|
102
|
-
* An interface representing SkuRestrictions.
|
|
103
|
-
* Describes restrictions which would prevent a SKU from being used.
|
|
104
|
-
*
|
|
105
|
-
*/
|
|
106
|
-
export interface SkuRestrictions {
|
|
37
|
+
readonly description?: string;
|
|
107
38
|
/**
|
|
108
|
-
*
|
|
109
|
-
*
|
|
110
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
111
|
-
* the server.**
|
|
39
|
+
* The action that users can perform, based on their permission level.
|
|
40
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
112
41
|
*/
|
|
113
|
-
readonly
|
|
42
|
+
readonly operation?: string;
|
|
114
43
|
/**
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* is restricted.
|
|
118
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
119
|
-
* the server.**
|
|
44
|
+
* The service provider.
|
|
45
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
120
46
|
*/
|
|
121
|
-
readonly
|
|
47
|
+
readonly provider?: string;
|
|
122
48
|
/**
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
* 'NotAvailableForSubscription'
|
|
126
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
127
|
-
* the server.**
|
|
49
|
+
* The resource on which the operation is performed.
|
|
50
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
128
51
|
*/
|
|
129
|
-
readonly
|
|
52
|
+
readonly resource?: string;
|
|
130
53
|
}
|
|
131
54
|
|
|
132
|
-
/**
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
55
|
+
/** The list of commitment plan SKUs. */
|
|
56
|
+
export interface SkuListResult {
|
|
57
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
58
|
+
readonly value?: CatalogSku[];
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/** Details of a commitment plan SKU. */
|
|
138
62
|
export interface CatalogSku {
|
|
139
63
|
/**
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
* the server.**
|
|
64
|
+
* Resource type name
|
|
65
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
143
66
|
*/
|
|
144
67
|
readonly resourceType?: string;
|
|
145
68
|
/**
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
* the server.**
|
|
69
|
+
* SKU name
|
|
70
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
149
71
|
*/
|
|
150
72
|
readonly name?: string;
|
|
151
73
|
/**
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* the server.**
|
|
74
|
+
* SKU tier
|
|
75
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
155
76
|
*/
|
|
156
77
|
readonly tier?: string;
|
|
157
78
|
/**
|
|
158
|
-
*
|
|
159
|
-
*
|
|
160
|
-
* the server.**
|
|
79
|
+
* Regions where the SKU is available.
|
|
80
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
161
81
|
*/
|
|
162
82
|
readonly locations?: string[];
|
|
163
83
|
/**
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
* the server.**
|
|
84
|
+
* SKU scaling information
|
|
85
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
167
86
|
*/
|
|
168
87
|
readonly capacity?: SkuCapacity;
|
|
169
88
|
/**
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
173
|
-
* the server.**
|
|
89
|
+
* The capability information for the specified SKU.
|
|
90
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
174
91
|
*/
|
|
175
92
|
readonly capabilities?: SkuCapability[];
|
|
176
93
|
/**
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* the server.**
|
|
94
|
+
* The cost information for the specified SKU.
|
|
95
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
180
96
|
*/
|
|
181
97
|
readonly costs?: SkuCost[];
|
|
182
98
|
/**
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
186
|
-
* the server.**
|
|
99
|
+
* Restrictions which would prevent a SKU from being used. This is empty if there are no restrictions.
|
|
100
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
187
101
|
*/
|
|
188
102
|
readonly restrictions?: SkuRestrictions[];
|
|
189
103
|
}
|
|
190
104
|
|
|
191
|
-
/**
|
|
192
|
-
|
|
193
|
-
* An interface representing Resource.
|
|
194
|
-
* Common properties of an ARM resource.
|
|
195
|
-
*
|
|
196
|
-
* @extends BaseResource
|
|
197
|
-
*/
|
|
198
|
-
export interface Resource extends BaseResource {
|
|
199
|
-
/**
|
|
200
|
-
* @member {string} [id] Resource Id.
|
|
201
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
202
|
-
* the server.**
|
|
203
|
-
*/
|
|
204
|
-
readonly id?: string;
|
|
105
|
+
/** Describes scaling information of a SKU. */
|
|
106
|
+
export interface SkuCapacity {
|
|
205
107
|
/**
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
* the server.**
|
|
108
|
+
* The minimum capacity.
|
|
109
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
209
110
|
*/
|
|
210
|
-
readonly
|
|
111
|
+
readonly minimum?: number;
|
|
211
112
|
/**
|
|
212
|
-
*
|
|
113
|
+
* The maximum capacity that can be set.
|
|
114
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
213
115
|
*/
|
|
214
|
-
|
|
116
|
+
readonly maximum?: number;
|
|
215
117
|
/**
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* the server.**
|
|
118
|
+
* The default capacity.
|
|
119
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
219
120
|
*/
|
|
220
|
-
readonly
|
|
121
|
+
readonly default?: number;
|
|
221
122
|
/**
|
|
222
|
-
*
|
|
223
|
-
* the
|
|
123
|
+
* The scale type applicable to the sku.
|
|
124
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
224
125
|
*/
|
|
225
|
-
|
|
126
|
+
readonly scaleType?: SkuCapacityScaleType;
|
|
226
127
|
}
|
|
227
128
|
|
|
228
|
-
/**
|
|
229
|
-
|
|
230
|
-
* An interface representing CommitmentAssociationProperties.
|
|
231
|
-
* Properties of an Azure ML commitment association.
|
|
232
|
-
*
|
|
233
|
-
*/
|
|
234
|
-
export interface CommitmentAssociationProperties {
|
|
235
|
-
/**
|
|
236
|
-
* @member {string} [associatedResourceId] The ID of the resource this
|
|
237
|
-
* association points to, such as the ARM ID of an Azure ML web service.
|
|
238
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
239
|
-
* the server.**
|
|
240
|
-
*/
|
|
241
|
-
readonly associatedResourceId?: string;
|
|
129
|
+
/** Describes The SKU capabilities object. */
|
|
130
|
+
export interface SkuCapability {
|
|
242
131
|
/**
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
246
|
-
* the server.**
|
|
132
|
+
* The capability name.
|
|
133
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
247
134
|
*/
|
|
248
|
-
readonly
|
|
135
|
+
readonly name?: string;
|
|
249
136
|
/**
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
253
|
-
* the server.**
|
|
137
|
+
* The capability value.
|
|
138
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
254
139
|
*/
|
|
255
|
-
readonly
|
|
140
|
+
readonly value?: string;
|
|
256
141
|
}
|
|
257
142
|
|
|
258
|
-
/**
|
|
259
|
-
|
|
260
|
-
* An interface representing CommitmentAssociation.
|
|
261
|
-
* Represents the association between a commitment plan and some other
|
|
262
|
-
* resource, such as a Machine Learning web service.
|
|
263
|
-
*
|
|
264
|
-
* @extends Resource
|
|
265
|
-
*/
|
|
266
|
-
export interface CommitmentAssociation extends Resource {
|
|
143
|
+
/** Describes metadata for SKU cost info. */
|
|
144
|
+
export interface SkuCost {
|
|
267
145
|
/**
|
|
268
|
-
*
|
|
269
|
-
*
|
|
146
|
+
* The meter used for this part of a SKU's cost.
|
|
147
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
270
148
|
*/
|
|
271
|
-
|
|
149
|
+
readonly meterID?: string;
|
|
272
150
|
/**
|
|
273
|
-
*
|
|
274
|
-
*
|
|
151
|
+
* The multiplier for the meter ID.
|
|
152
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
275
153
|
*/
|
|
276
|
-
|
|
154
|
+
readonly quantity?: number;
|
|
155
|
+
/**
|
|
156
|
+
* The overall duration represented by the quantity.
|
|
157
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
158
|
+
*/
|
|
159
|
+
readonly extendedUnit?: string;
|
|
277
160
|
}
|
|
278
161
|
|
|
279
|
-
/**
|
|
280
|
-
|
|
281
|
-
* An interface representing ResourceSku.
|
|
282
|
-
* The SKU of a resource.
|
|
283
|
-
*
|
|
284
|
-
*/
|
|
285
|
-
export interface ResourceSku {
|
|
162
|
+
/** Describes restrictions which would prevent a SKU from being used. */
|
|
163
|
+
export interface SkuRestrictions {
|
|
286
164
|
/**
|
|
287
|
-
*
|
|
288
|
-
*
|
|
289
|
-
* plan resource.
|
|
165
|
+
* The type of restrictions.
|
|
166
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
290
167
|
*/
|
|
291
|
-
|
|
168
|
+
readonly type?: ResourceSkuRestrictionsType;
|
|
292
169
|
/**
|
|
293
|
-
*
|
|
294
|
-
* the
|
|
170
|
+
* The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
|
|
171
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
295
172
|
*/
|
|
296
|
-
|
|
173
|
+
readonly values?: string[];
|
|
297
174
|
/**
|
|
298
|
-
*
|
|
299
|
-
* the
|
|
175
|
+
* The reason for restriction.
|
|
176
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
300
177
|
*/
|
|
301
|
-
|
|
178
|
+
readonly reasonCode?: ResourceSkuRestrictionsReasonCode;
|
|
302
179
|
}
|
|
303
180
|
|
|
304
|
-
/**
|
|
305
|
-
|
|
306
|
-
* An interface representing MoveCommitmentAssociationRequest.
|
|
307
|
-
* Specifies the destination Azure ML commitment plan for a move operation.
|
|
308
|
-
*
|
|
309
|
-
*/
|
|
310
|
-
export interface MoveCommitmentAssociationRequest {
|
|
181
|
+
/** Properties of an Azure ML commitment association. */
|
|
182
|
+
export interface CommitmentAssociationProperties {
|
|
311
183
|
/**
|
|
312
|
-
*
|
|
313
|
-
*
|
|
184
|
+
* The ID of the resource this association points to, such as the ARM ID of an Azure ML web service.
|
|
185
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
314
186
|
*/
|
|
315
|
-
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
/**
|
|
319
|
-
* @interface
|
|
320
|
-
* An interface representing CommitmentPlanPatchPayload.
|
|
321
|
-
* The properties of a commitment plan which may be updated via PATCH.
|
|
322
|
-
*
|
|
323
|
-
*/
|
|
324
|
-
export interface CommitmentPlanPatchPayload {
|
|
187
|
+
readonly associatedResourceId?: string;
|
|
325
188
|
/**
|
|
326
|
-
*
|
|
327
|
-
*
|
|
189
|
+
* The ARM ID of the parent Azure ML commitment plan.
|
|
190
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
328
191
|
*/
|
|
329
|
-
|
|
192
|
+
readonly commitmentPlanId?: string;
|
|
330
193
|
/**
|
|
331
|
-
*
|
|
194
|
+
* The date at which this commitment association was created, in ISO 8601 format.
|
|
195
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
332
196
|
*/
|
|
333
|
-
|
|
197
|
+
readonly creationDate?: Date;
|
|
334
198
|
}
|
|
335
199
|
|
|
336
|
-
/**
|
|
337
|
-
|
|
338
|
-
* An interface representing PlanQuantity.
|
|
339
|
-
* Represents the quantity a commitment plan provides of a metered resource.
|
|
340
|
-
*
|
|
341
|
-
*/
|
|
342
|
-
export interface PlanQuantity {
|
|
200
|
+
/** Common properties of an ARM resource. */
|
|
201
|
+
export interface Resource {
|
|
343
202
|
/**
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
347
|
-
* the server.**
|
|
203
|
+
* Resource Id.
|
|
204
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
348
205
|
*/
|
|
349
|
-
readonly
|
|
350
|
-
/**
|
|
351
|
-
* @member {number} [amount] The quantity available to the plan the last time
|
|
352
|
-
* usage was calculated.
|
|
353
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
354
|
-
* the server.**
|
|
355
|
-
*/
|
|
356
|
-
readonly amount?: number;
|
|
206
|
+
readonly id?: string;
|
|
357
207
|
/**
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
361
|
-
* the server.**
|
|
208
|
+
* Resource name.
|
|
209
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
362
210
|
*/
|
|
363
|
-
readonly
|
|
211
|
+
readonly name?: string;
|
|
212
|
+
/** Resource location. */
|
|
213
|
+
location: string;
|
|
364
214
|
/**
|
|
365
|
-
*
|
|
366
|
-
*
|
|
367
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
368
|
-
* the server.**
|
|
215
|
+
* Resource type.
|
|
216
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
369
217
|
*/
|
|
370
|
-
readonly
|
|
218
|
+
readonly type?: string;
|
|
219
|
+
/** User-defined tags for the resource. */
|
|
220
|
+
tags?: { [propertyName: string]: string };
|
|
371
221
|
}
|
|
372
222
|
|
|
373
|
-
/**
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
223
|
+
/** A page of commitment association resources. */
|
|
224
|
+
export interface CommitmentAssociationListResult {
|
|
225
|
+
/** A URI to retrieve the next page of results. */
|
|
226
|
+
nextLink?: string;
|
|
227
|
+
/** The set of results for this page. */
|
|
228
|
+
value?: CommitmentAssociation[];
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/** Specifies the destination Azure ML commitment plan for a move operation. */
|
|
232
|
+
export interface MoveCommitmentAssociationRequest {
|
|
233
|
+
/** The ARM ID of the commitment plan to re-parent the commitment association to. */
|
|
234
|
+
destinationPlanId?: string;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/** Properties of an Azure ML commitment plan. */
|
|
379
238
|
export interface CommitmentPlanProperties {
|
|
380
239
|
/**
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
384
|
-
* the server.**
|
|
240
|
+
* Indicates whether usage beyond the commitment plan's included quantities will be charged.
|
|
241
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
385
242
|
*/
|
|
386
243
|
readonly chargeForOverage?: boolean;
|
|
387
244
|
/**
|
|
388
|
-
*
|
|
389
|
-
* will
|
|
390
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
391
|
-
* the server.**
|
|
245
|
+
* Indicates whether the commitment plan will incur a charge.
|
|
246
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
392
247
|
*/
|
|
393
248
|
readonly chargeForPlan?: boolean;
|
|
394
249
|
/**
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
398
|
-
* the server.**
|
|
250
|
+
* The date at which this commitment plan was created, in ISO 8601 format.
|
|
251
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
399
252
|
*/
|
|
400
253
|
readonly creationDate?: Date;
|
|
401
254
|
/**
|
|
402
|
-
* @member {{ [propertyName: string]: PlanQuantity }} [includedQuantities]
|
|
403
255
|
* The included resource quantities this plan gives you.
|
|
404
|
-
*
|
|
405
|
-
* the server.**
|
|
256
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
406
257
|
*/
|
|
407
258
|
readonly includedQuantities?: { [propertyName: string]: PlanQuantity };
|
|
408
259
|
/**
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
412
|
-
* the server.**
|
|
260
|
+
* The maximum number of commitment associations that can be children of this commitment plan.
|
|
261
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
413
262
|
*/
|
|
414
263
|
readonly maxAssociationLimit?: number;
|
|
415
264
|
/**
|
|
416
|
-
*
|
|
417
|
-
*
|
|
418
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
419
|
-
* the server.**
|
|
265
|
+
* The maximum scale-out capacity for this commitment plan.
|
|
266
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
420
267
|
*/
|
|
421
268
|
readonly maxCapacityLimit?: number;
|
|
422
269
|
/**
|
|
423
|
-
*
|
|
424
|
-
*
|
|
425
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
426
|
-
* the server.**
|
|
270
|
+
* The minimum scale-out capacity for this commitment plan.
|
|
271
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
427
272
|
*/
|
|
428
273
|
readonly minCapacityLimit?: number;
|
|
429
274
|
/**
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
433
|
-
* the server.**
|
|
275
|
+
* The Azure meter which will be used to charge for this commitment plan.
|
|
276
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
434
277
|
*/
|
|
435
278
|
readonly planMeter?: string;
|
|
436
279
|
/**
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
440
|
-
* the server.**
|
|
280
|
+
* The frequency at which this commitment plan's included quantities are refilled.
|
|
281
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
441
282
|
*/
|
|
442
283
|
readonly refillFrequencyInDays?: number;
|
|
443
284
|
/**
|
|
444
|
-
*
|
|
445
|
-
*
|
|
446
|
-
* commitment plan's included quantities.
|
|
447
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
448
|
-
* the server.**
|
|
285
|
+
* Indicates whether this commitment plan will be moved into a suspended state if usage goes beyond the commitment plan's included quantities.
|
|
286
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
449
287
|
*/
|
|
450
288
|
readonly suspendPlanOnOverage?: boolean;
|
|
451
289
|
}
|
|
452
290
|
|
|
453
|
-
/**
|
|
454
|
-
|
|
455
|
-
* An interface representing CommitmentPlan.
|
|
456
|
-
* An Azure ML commitment plan resource.
|
|
457
|
-
*
|
|
458
|
-
* @extends Resource
|
|
459
|
-
*/
|
|
460
|
-
export interface CommitmentPlan extends Resource {
|
|
291
|
+
/** Represents the quantity a commitment plan provides of a metered resource. */
|
|
292
|
+
export interface PlanQuantity {
|
|
461
293
|
/**
|
|
462
|
-
*
|
|
463
|
-
*
|
|
294
|
+
* The quantity added to the commitment plan at an interval specified by its allowance frequency.
|
|
295
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
464
296
|
*/
|
|
465
|
-
|
|
297
|
+
readonly allowance?: number;
|
|
466
298
|
/**
|
|
467
|
-
*
|
|
468
|
-
*
|
|
469
|
-
* **NOTE: This property will not be serialized. It can only be populated by
|
|
470
|
-
* the server.**
|
|
299
|
+
* The quantity available to the plan the last time usage was calculated.
|
|
300
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
471
301
|
*/
|
|
472
|
-
readonly
|
|
302
|
+
readonly amount?: number;
|
|
473
303
|
/**
|
|
474
|
-
*
|
|
304
|
+
* The Azure meter for usage against included quantities.
|
|
305
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
475
306
|
*/
|
|
307
|
+
readonly includedQuantityMeter?: string;
|
|
308
|
+
/**
|
|
309
|
+
* The Azure meter for usage which exceeds included quantities.
|
|
310
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
311
|
+
*/
|
|
312
|
+
readonly overageMeter?: string;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/** The SKU of a resource. */
|
|
316
|
+
export interface ResourceSku {
|
|
317
|
+
/** The scale-out capacity of the resource. 1 is 1x, 2 is 2x, etc. This impacts the quantities and cost of any commitment plan resource. */
|
|
318
|
+
capacity?: number;
|
|
319
|
+
/** The SKU name. Along with tier, uniquely identifies the SKU. */
|
|
320
|
+
name?: string;
|
|
321
|
+
/** The SKU tier. Along with name, uniquely identifies the SKU. */
|
|
322
|
+
tier?: string;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
/** The properties of a commitment plan which may be updated via PATCH. */
|
|
326
|
+
export interface CommitmentPlanPatchPayload {
|
|
327
|
+
/** User-defined tags for the commitment plan. */
|
|
328
|
+
tags?: { [propertyName: string]: string };
|
|
329
|
+
/** The commitment plan SKU. */
|
|
476
330
|
sku?: ResourceSku;
|
|
477
331
|
}
|
|
478
332
|
|
|
479
|
-
/**
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
333
|
+
/** A page of commitment plan resources. */
|
|
334
|
+
export interface CommitmentPlanListResult {
|
|
335
|
+
/** A URI to retrieve the next page of results. */
|
|
336
|
+
nextLink?: string;
|
|
337
|
+
/** The set of results for this page. */
|
|
338
|
+
value?: CommitmentPlan[];
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/** A page of usage history. */
|
|
342
|
+
export interface PlanUsageHistoryListResult {
|
|
343
|
+
/** A URI to retrieve the next page of results. */
|
|
344
|
+
nextLink?: string;
|
|
345
|
+
/** The set of results for this page. */
|
|
346
|
+
value?: PlanUsageHistory[];
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/** Represents historical information about usage of the Azure resources associated with a commitment plan. */
|
|
486
350
|
export interface PlanUsageHistory {
|
|
487
|
-
/**
|
|
488
|
-
* @member {{ [propertyName: string]: number }} [planDeletionOverage] Overage
|
|
489
|
-
* incurred as a result of deleting a commitment plan.
|
|
490
|
-
*/
|
|
351
|
+
/** Overage incurred as a result of deleting a commitment plan. */
|
|
491
352
|
planDeletionOverage?: { [propertyName: string]: number };
|
|
492
|
-
/**
|
|
493
|
-
* @member {{ [propertyName: string]: number }} [planMigrationOverage]
|
|
494
|
-
* Overage incurred as a result of migrating a commitment plan from one SKU
|
|
495
|
-
* to another.
|
|
496
|
-
*/
|
|
353
|
+
/** Overage incurred as a result of migrating a commitment plan from one SKU to another. */
|
|
497
354
|
planMigrationOverage?: { [propertyName: string]: number };
|
|
498
|
-
/**
|
|
499
|
-
* @member {{ [propertyName: string]: number }} [planQuantitiesAfterUsage]
|
|
500
|
-
* Included quantities remaining after usage against the commitment plan's
|
|
501
|
-
* associated resources was calculated.
|
|
502
|
-
*/
|
|
355
|
+
/** Included quantities remaining after usage against the commitment plan's associated resources was calculated. */
|
|
503
356
|
planQuantitiesAfterUsage?: { [propertyName: string]: number };
|
|
504
|
-
/**
|
|
505
|
-
* @member {{ [propertyName: string]: number }} [planQuantitiesBeforeUsage]
|
|
506
|
-
* Included quantities remaining before usage against the commitment plan's
|
|
507
|
-
* associated resources was calculated.
|
|
508
|
-
*/
|
|
357
|
+
/** Included quantities remaining before usage against the commitment plan's associated resources was calculated. */
|
|
509
358
|
planQuantitiesBeforeUsage?: { [propertyName: string]: number };
|
|
510
|
-
/**
|
|
511
|
-
* @member {{ [propertyName: string]: number }} [planUsageOverage] Usage
|
|
512
|
-
* against the commitment plan's associated resources which was not covered
|
|
513
|
-
* by included quantities and is therefore overage.
|
|
514
|
-
*/
|
|
359
|
+
/** Usage against the commitment plan's associated resources which was not covered by included quantities and is therefore overage. */
|
|
515
360
|
planUsageOverage?: { [propertyName: string]: number };
|
|
516
|
-
/**
|
|
517
|
-
* @member {{ [propertyName: string]: number }} [usage] Usage against the
|
|
518
|
-
* commitment plan's associated resources.
|
|
519
|
-
*/
|
|
361
|
+
/** Usage against the commitment plan's associated resources. */
|
|
520
362
|
usage?: { [propertyName: string]: number };
|
|
521
|
-
/**
|
|
522
|
-
* @member {Date} [usageDate] The date of usage, in ISO 8601 format.
|
|
523
|
-
*/
|
|
363
|
+
/** The date of usage, in ISO 8601 format. */
|
|
524
364
|
usageDate?: Date;
|
|
525
365
|
}
|
|
526
366
|
|
|
527
|
-
/**
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
367
|
+
/** Represents the association between a commitment plan and some other resource, such as a Machine Learning web service. */
|
|
368
|
+
export type CommitmentAssociation = Resource & {
|
|
369
|
+
/** An entity tag used to enforce optimistic concurrency. */
|
|
370
|
+
etag?: string;
|
|
371
|
+
/** The properties of the commitment association resource. */
|
|
372
|
+
properties?: CommitmentAssociationProperties;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/** An Azure ML commitment plan resource. */
|
|
376
|
+
export type CommitmentPlan = Resource & {
|
|
377
|
+
/** An entity tag used to enforce optimistic concurrency. */
|
|
378
|
+
etag?: string;
|
|
535
379
|
/**
|
|
536
|
-
*
|
|
380
|
+
* The commitment plan properties.
|
|
381
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
537
382
|
*/
|
|
538
|
-
|
|
383
|
+
readonly properties?: CommitmentPlanProperties;
|
|
384
|
+
/** The commitment plan SKU. */
|
|
385
|
+
sku?: ResourceSku;
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
/** Known values of {@link SkuCapacityScaleType} that the service accepts. */
|
|
389
|
+
export enum KnownSkuCapacityScaleType {
|
|
390
|
+
Automatic = "Automatic",
|
|
391
|
+
Manual = "Manual",
|
|
392
|
+
None = "None"
|
|
539
393
|
}
|
|
540
394
|
|
|
541
395
|
/**
|
|
542
|
-
*
|
|
543
|
-
*
|
|
544
|
-
*
|
|
545
|
-
*
|
|
546
|
-
*
|
|
396
|
+
* Defines values for SkuCapacityScaleType. \
|
|
397
|
+
* {@link KnownSkuCapacityScaleType} can be used interchangeably with SkuCapacityScaleType,
|
|
398
|
+
* this enum contains the known values that the service supports.
|
|
399
|
+
* ### Known values supported by the service
|
|
400
|
+
* **Automatic** \
|
|
401
|
+
* **Manual** \
|
|
402
|
+
* **None**
|
|
547
403
|
*/
|
|
548
|
-
export
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
404
|
+
export type SkuCapacityScaleType = string;
|
|
405
|
+
|
|
406
|
+
/** Known values of {@link ResourceSkuRestrictionsType} that the service accepts. */
|
|
407
|
+
export enum KnownResourceSkuRestrictionsType {
|
|
408
|
+
Location = "location",
|
|
409
|
+
Zone = "zone"
|
|
553
410
|
}
|
|
554
411
|
|
|
555
412
|
/**
|
|
556
|
-
*
|
|
557
|
-
*
|
|
558
|
-
*
|
|
559
|
-
*
|
|
560
|
-
*
|
|
413
|
+
* Defines values for ResourceSkuRestrictionsType. \
|
|
414
|
+
* {@link KnownResourceSkuRestrictionsType} can be used interchangeably with ResourceSkuRestrictionsType,
|
|
415
|
+
* this enum contains the known values that the service supports.
|
|
416
|
+
* ### Known values supported by the service
|
|
417
|
+
* **location** \
|
|
418
|
+
* **zone**
|
|
561
419
|
*/
|
|
562
|
-
export
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
420
|
+
export type ResourceSkuRestrictionsType = string;
|
|
421
|
+
|
|
422
|
+
/** Known values of {@link ResourceSkuRestrictionsReasonCode} that the service accepts. */
|
|
423
|
+
export enum KnownResourceSkuRestrictionsReasonCode {
|
|
424
|
+
QuotaId = "QuotaId",
|
|
425
|
+
NotAvailableForSubscription = "NotAvailableForSubscription"
|
|
567
426
|
}
|
|
568
427
|
|
|
569
428
|
/**
|
|
570
|
-
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
574
|
-
*
|
|
429
|
+
* Defines values for ResourceSkuRestrictionsReasonCode. \
|
|
430
|
+
* {@link KnownResourceSkuRestrictionsReasonCode} can be used interchangeably with ResourceSkuRestrictionsReasonCode,
|
|
431
|
+
* this enum contains the known values that the service supports.
|
|
432
|
+
* ### Known values supported by the service
|
|
433
|
+
* **QuotaId** \
|
|
434
|
+
* **NotAvailableForSubscription**
|
|
575
435
|
*/
|
|
576
|
-
export
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
436
|
+
export type ResourceSkuRestrictionsReasonCode = string;
|
|
437
|
+
|
|
438
|
+
/** Optional parameters. */
|
|
439
|
+
export interface OperationsListOptionalParams
|
|
440
|
+
extends coreClient.OperationOptions {}
|
|
441
|
+
|
|
442
|
+
/** Contains response data for the list operation. */
|
|
443
|
+
export type OperationsListResponse = OperationEntityListResult;
|
|
444
|
+
|
|
445
|
+
/** Optional parameters. */
|
|
446
|
+
export interface SkusListOptionalParams extends coreClient.OperationOptions {}
|
|
447
|
+
|
|
448
|
+
/** Contains response data for the list operation. */
|
|
449
|
+
export type SkusListResponse = SkuListResult;
|
|
450
|
+
|
|
451
|
+
/** Optional parameters. */
|
|
452
|
+
export interface CommitmentAssociationsGetOptionalParams
|
|
453
|
+
extends coreClient.OperationOptions {}
|
|
454
|
+
|
|
455
|
+
/** Contains response data for the get operation. */
|
|
456
|
+
export type CommitmentAssociationsGetResponse = CommitmentAssociation;
|
|
457
|
+
|
|
458
|
+
/** Optional parameters. */
|
|
459
|
+
export interface CommitmentAssociationsListOptionalParams
|
|
460
|
+
extends coreClient.OperationOptions {
|
|
461
|
+
/** Continuation token for pagination. */
|
|
580
462
|
skipToken?: string;
|
|
581
463
|
}
|
|
582
464
|
|
|
583
|
-
/**
|
|
584
|
-
|
|
585
|
-
* An interface representing AzureMLCommitmentPlansManagementClientOptions.
|
|
586
|
-
* @extends AzureServiceClientOptions
|
|
587
|
-
*/
|
|
588
|
-
export interface AzureMLCommitmentPlansManagementClientOptions extends AzureServiceClientOptions {
|
|
589
|
-
/**
|
|
590
|
-
* @member {string} [baseUri]
|
|
591
|
-
*/
|
|
592
|
-
baseUri?: string;
|
|
593
|
-
}
|
|
465
|
+
/** Contains response data for the list operation. */
|
|
466
|
+
export type CommitmentAssociationsListResponse = CommitmentAssociationListResult;
|
|
594
467
|
|
|
468
|
+
/** Optional parameters. */
|
|
469
|
+
export interface CommitmentAssociationsMoveOptionalParams
|
|
470
|
+
extends coreClient.OperationOptions {}
|
|
595
471
|
|
|
596
|
-
/**
|
|
597
|
-
|
|
598
|
-
* An interface representing the SkuListResult.
|
|
599
|
-
* The list of commitment plan SKUs.
|
|
600
|
-
*
|
|
601
|
-
* @extends Array<CatalogSku>
|
|
602
|
-
*/
|
|
603
|
-
export interface SkuListResult extends Array<CatalogSku> {
|
|
604
|
-
}
|
|
472
|
+
/** Contains response data for the move operation. */
|
|
473
|
+
export type CommitmentAssociationsMoveResponse = CommitmentAssociation;
|
|
605
474
|
|
|
606
|
-
/**
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
* @extends Array<CommitmentAssociation>
|
|
612
|
-
*/
|
|
613
|
-
export interface CommitmentAssociationListResult extends Array<CommitmentAssociation> {
|
|
614
|
-
/**
|
|
615
|
-
* @member {string} [nextLink] A URI to retrieve the next page of results.
|
|
616
|
-
*/
|
|
617
|
-
nextLink?: string;
|
|
475
|
+
/** Optional parameters. */
|
|
476
|
+
export interface CommitmentAssociationsListNextOptionalParams
|
|
477
|
+
extends coreClient.OperationOptions {
|
|
478
|
+
/** Continuation token for pagination. */
|
|
479
|
+
skipToken?: string;
|
|
618
480
|
}
|
|
619
481
|
|
|
620
|
-
/**
|
|
621
|
-
|
|
622
|
-
* An interface representing the CommitmentPlanListResult.
|
|
623
|
-
* A page of commitment plan resources.
|
|
624
|
-
*
|
|
625
|
-
* @extends Array<CommitmentPlan>
|
|
626
|
-
*/
|
|
627
|
-
export interface CommitmentPlanListResult extends Array<CommitmentPlan> {
|
|
628
|
-
/**
|
|
629
|
-
* @member {string} [nextLink] A URI to retrieve the next page of results.
|
|
630
|
-
*/
|
|
631
|
-
nextLink?: string;
|
|
632
|
-
}
|
|
482
|
+
/** Contains response data for the listNext operation. */
|
|
483
|
+
export type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult;
|
|
633
484
|
|
|
634
|
-
/**
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
* A page of usage history.
|
|
638
|
-
*
|
|
639
|
-
* @extends Array<PlanUsageHistory>
|
|
640
|
-
*/
|
|
641
|
-
export interface PlanUsageHistoryListResult extends Array<PlanUsageHistory> {
|
|
642
|
-
/**
|
|
643
|
-
* @member {string} [nextLink] A URI to retrieve the next page of results.
|
|
644
|
-
*/
|
|
645
|
-
nextLink?: string;
|
|
646
|
-
}
|
|
485
|
+
/** Optional parameters. */
|
|
486
|
+
export interface CommitmentPlansGetOptionalParams
|
|
487
|
+
extends coreClient.OperationOptions {}
|
|
647
488
|
|
|
648
|
-
/**
|
|
649
|
-
|
|
650
|
-
* Possible values include: 'Automatic', 'Manual', 'None'
|
|
651
|
-
* @readonly
|
|
652
|
-
* @enum {string}
|
|
653
|
-
*/
|
|
654
|
-
export type SkuCapacityScaleType = 'Automatic' | 'Manual' | 'None';
|
|
489
|
+
/** Contains response data for the get operation. */
|
|
490
|
+
export type CommitmentPlansGetResponse = CommitmentPlan;
|
|
655
491
|
|
|
656
|
-
/**
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
* @readonly
|
|
660
|
-
* @enum {string}
|
|
661
|
-
*/
|
|
662
|
-
export type ResourceSkuRestrictionsType = 'location' | 'zone';
|
|
492
|
+
/** Optional parameters. */
|
|
493
|
+
export interface CommitmentPlansCreateOrUpdateOptionalParams
|
|
494
|
+
extends coreClient.OperationOptions {}
|
|
663
495
|
|
|
664
|
-
/**
|
|
665
|
-
|
|
666
|
-
* Possible values include: 'QuotaId', 'NotAvailableForSubscription'
|
|
667
|
-
* @readonly
|
|
668
|
-
* @enum {string}
|
|
669
|
-
*/
|
|
670
|
-
export type ResourceSkuRestrictionsReasonCode = 'QuotaId' | 'NotAvailableForSubscription';
|
|
496
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
497
|
+
export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan;
|
|
671
498
|
|
|
672
|
-
/**
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
export type SkusListResponse = SkuListResult & {
|
|
676
|
-
/**
|
|
677
|
-
* The underlying HTTP response.
|
|
678
|
-
*/
|
|
679
|
-
_response: msRest.HttpResponse & {
|
|
680
|
-
/**
|
|
681
|
-
* The response body as text (string format)
|
|
682
|
-
*/
|
|
683
|
-
bodyAsText: string;
|
|
684
|
-
/**
|
|
685
|
-
* The response body as parsed JSON or XML
|
|
686
|
-
*/
|
|
687
|
-
parsedBody: SkuListResult;
|
|
688
|
-
};
|
|
689
|
-
};
|
|
499
|
+
/** Optional parameters. */
|
|
500
|
+
export interface CommitmentPlansRemoveOptionalParams
|
|
501
|
+
extends coreClient.OperationOptions {}
|
|
690
502
|
|
|
691
|
-
/**
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
export type CommitmentAssociationsGetResponse = CommitmentAssociation & {
|
|
695
|
-
/**
|
|
696
|
-
* The underlying HTTP response.
|
|
697
|
-
*/
|
|
698
|
-
_response: msRest.HttpResponse & {
|
|
699
|
-
/**
|
|
700
|
-
* The response body as text (string format)
|
|
701
|
-
*/
|
|
702
|
-
bodyAsText: string;
|
|
703
|
-
/**
|
|
704
|
-
* The response body as parsed JSON or XML
|
|
705
|
-
*/
|
|
706
|
-
parsedBody: CommitmentAssociation;
|
|
707
|
-
};
|
|
708
|
-
};
|
|
503
|
+
/** Optional parameters. */
|
|
504
|
+
export interface CommitmentPlansPatchOptionalParams
|
|
505
|
+
extends coreClient.OperationOptions {}
|
|
709
506
|
|
|
710
|
-
/**
|
|
711
|
-
|
|
712
|
-
*/
|
|
713
|
-
export type CommitmentAssociationsListResponse = CommitmentAssociationListResult & {
|
|
714
|
-
/**
|
|
715
|
-
* The underlying HTTP response.
|
|
716
|
-
*/
|
|
717
|
-
_response: msRest.HttpResponse & {
|
|
718
|
-
/**
|
|
719
|
-
* The response body as text (string format)
|
|
720
|
-
*/
|
|
721
|
-
bodyAsText: string;
|
|
722
|
-
/**
|
|
723
|
-
* The response body as parsed JSON or XML
|
|
724
|
-
*/
|
|
725
|
-
parsedBody: CommitmentAssociationListResult;
|
|
726
|
-
};
|
|
727
|
-
};
|
|
507
|
+
/** Contains response data for the patch operation. */
|
|
508
|
+
export type CommitmentPlansPatchResponse = CommitmentPlan;
|
|
728
509
|
|
|
729
|
-
/**
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
*/
|
|
736
|
-
_response: msRest.HttpResponse & {
|
|
737
|
-
/**
|
|
738
|
-
* The response body as text (string format)
|
|
739
|
-
*/
|
|
740
|
-
bodyAsText: string;
|
|
741
|
-
/**
|
|
742
|
-
* The response body as parsed JSON or XML
|
|
743
|
-
*/
|
|
744
|
-
parsedBody: CommitmentAssociation;
|
|
745
|
-
};
|
|
746
|
-
};
|
|
510
|
+
/** Optional parameters. */
|
|
511
|
+
export interface CommitmentPlansListOptionalParams
|
|
512
|
+
extends coreClient.OperationOptions {
|
|
513
|
+
/** Continuation token for pagination. */
|
|
514
|
+
skipToken?: string;
|
|
515
|
+
}
|
|
747
516
|
|
|
748
|
-
/**
|
|
749
|
-
|
|
750
|
-
*/
|
|
751
|
-
export type CommitmentAssociationsListNextResponse = CommitmentAssociationListResult & {
|
|
752
|
-
/**
|
|
753
|
-
* The underlying HTTP response.
|
|
754
|
-
*/
|
|
755
|
-
_response: msRest.HttpResponse & {
|
|
756
|
-
/**
|
|
757
|
-
* The response body as text (string format)
|
|
758
|
-
*/
|
|
759
|
-
bodyAsText: string;
|
|
760
|
-
/**
|
|
761
|
-
* The response body as parsed JSON or XML
|
|
762
|
-
*/
|
|
763
|
-
parsedBody: CommitmentAssociationListResult;
|
|
764
|
-
};
|
|
765
|
-
};
|
|
517
|
+
/** Contains response data for the list operation. */
|
|
518
|
+
export type CommitmentPlansListResponse = CommitmentPlanListResult;
|
|
766
519
|
|
|
767
|
-
/**
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
*/
|
|
774
|
-
_response: msRest.HttpResponse & {
|
|
775
|
-
/**
|
|
776
|
-
* The response body as text (string format)
|
|
777
|
-
*/
|
|
778
|
-
bodyAsText: string;
|
|
779
|
-
/**
|
|
780
|
-
* The response body as parsed JSON or XML
|
|
781
|
-
*/
|
|
782
|
-
parsedBody: CommitmentPlan;
|
|
783
|
-
};
|
|
784
|
-
};
|
|
520
|
+
/** Optional parameters. */
|
|
521
|
+
export interface CommitmentPlansListInResourceGroupOptionalParams
|
|
522
|
+
extends coreClient.OperationOptions {
|
|
523
|
+
/** Continuation token for pagination. */
|
|
524
|
+
skipToken?: string;
|
|
525
|
+
}
|
|
785
526
|
|
|
786
|
-
/**
|
|
787
|
-
|
|
788
|
-
*/
|
|
789
|
-
export type CommitmentPlansCreateOrUpdateResponse = CommitmentPlan & {
|
|
790
|
-
/**
|
|
791
|
-
* The underlying HTTP response.
|
|
792
|
-
*/
|
|
793
|
-
_response: msRest.HttpResponse & {
|
|
794
|
-
/**
|
|
795
|
-
* The response body as text (string format)
|
|
796
|
-
*/
|
|
797
|
-
bodyAsText: string;
|
|
798
|
-
/**
|
|
799
|
-
* The response body as parsed JSON or XML
|
|
800
|
-
*/
|
|
801
|
-
parsedBody: CommitmentPlan;
|
|
802
|
-
};
|
|
803
|
-
};
|
|
527
|
+
/** Contains response data for the listInResourceGroup operation. */
|
|
528
|
+
export type CommitmentPlansListInResourceGroupResponse = CommitmentPlanListResult;
|
|
804
529
|
|
|
805
|
-
/**
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
*/
|
|
812
|
-
_response: msRest.HttpResponse & {
|
|
813
|
-
/**
|
|
814
|
-
* The response body as text (string format)
|
|
815
|
-
*/
|
|
816
|
-
bodyAsText: string;
|
|
817
|
-
/**
|
|
818
|
-
* The response body as parsed JSON or XML
|
|
819
|
-
*/
|
|
820
|
-
parsedBody: CommitmentPlan;
|
|
821
|
-
};
|
|
822
|
-
};
|
|
530
|
+
/** Optional parameters. */
|
|
531
|
+
export interface CommitmentPlansListNextOptionalParams
|
|
532
|
+
extends coreClient.OperationOptions {
|
|
533
|
+
/** Continuation token for pagination. */
|
|
534
|
+
skipToken?: string;
|
|
535
|
+
}
|
|
823
536
|
|
|
824
|
-
/**
|
|
825
|
-
|
|
826
|
-
*/
|
|
827
|
-
export type CommitmentPlansListResponse = CommitmentPlanListResult & {
|
|
828
|
-
/**
|
|
829
|
-
* The underlying HTTP response.
|
|
830
|
-
*/
|
|
831
|
-
_response: msRest.HttpResponse & {
|
|
832
|
-
/**
|
|
833
|
-
* The response body as text (string format)
|
|
834
|
-
*/
|
|
835
|
-
bodyAsText: string;
|
|
836
|
-
/**
|
|
837
|
-
* The response body as parsed JSON or XML
|
|
838
|
-
*/
|
|
839
|
-
parsedBody: CommitmentPlanListResult;
|
|
840
|
-
};
|
|
841
|
-
};
|
|
537
|
+
/** Contains response data for the listNext operation. */
|
|
538
|
+
export type CommitmentPlansListNextResponse = CommitmentPlanListResult;
|
|
842
539
|
|
|
843
|
-
/**
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
*/
|
|
850
|
-
_response: msRest.HttpResponse & {
|
|
851
|
-
/**
|
|
852
|
-
* The response body as text (string format)
|
|
853
|
-
*/
|
|
854
|
-
bodyAsText: string;
|
|
855
|
-
/**
|
|
856
|
-
* The response body as parsed JSON or XML
|
|
857
|
-
*/
|
|
858
|
-
parsedBody: CommitmentPlanListResult;
|
|
859
|
-
};
|
|
860
|
-
};
|
|
540
|
+
/** Optional parameters. */
|
|
541
|
+
export interface CommitmentPlansListInResourceGroupNextOptionalParams
|
|
542
|
+
extends coreClient.OperationOptions {
|
|
543
|
+
/** Continuation token for pagination. */
|
|
544
|
+
skipToken?: string;
|
|
545
|
+
}
|
|
861
546
|
|
|
862
|
-
/**
|
|
863
|
-
|
|
864
|
-
*/
|
|
865
|
-
export type CommitmentPlansListNextResponse = CommitmentPlanListResult & {
|
|
866
|
-
/**
|
|
867
|
-
* The underlying HTTP response.
|
|
868
|
-
*/
|
|
869
|
-
_response: msRest.HttpResponse & {
|
|
870
|
-
/**
|
|
871
|
-
* The response body as text (string format)
|
|
872
|
-
*/
|
|
873
|
-
bodyAsText: string;
|
|
874
|
-
/**
|
|
875
|
-
* The response body as parsed JSON or XML
|
|
876
|
-
*/
|
|
877
|
-
parsedBody: CommitmentPlanListResult;
|
|
878
|
-
};
|
|
879
|
-
};
|
|
547
|
+
/** Contains response data for the listInResourceGroupNext operation. */
|
|
548
|
+
export type CommitmentPlansListInResourceGroupNextResponse = CommitmentPlanListResult;
|
|
880
549
|
|
|
881
|
-
/**
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
*/
|
|
888
|
-
_response: msRest.HttpResponse & {
|
|
889
|
-
/**
|
|
890
|
-
* The response body as text (string format)
|
|
891
|
-
*/
|
|
892
|
-
bodyAsText: string;
|
|
893
|
-
/**
|
|
894
|
-
* The response body as parsed JSON or XML
|
|
895
|
-
*/
|
|
896
|
-
parsedBody: CommitmentPlanListResult;
|
|
897
|
-
};
|
|
898
|
-
};
|
|
550
|
+
/** Optional parameters. */
|
|
551
|
+
export interface UsageHistoryListOptionalParams
|
|
552
|
+
extends coreClient.OperationOptions {
|
|
553
|
+
/** Continuation token for pagination. */
|
|
554
|
+
skipToken?: string;
|
|
555
|
+
}
|
|
899
556
|
|
|
900
|
-
/**
|
|
901
|
-
|
|
902
|
-
*/
|
|
903
|
-
export type UsageHistoryListResponse = PlanUsageHistoryListResult & {
|
|
904
|
-
/**
|
|
905
|
-
* The underlying HTTP response.
|
|
906
|
-
*/
|
|
907
|
-
_response: msRest.HttpResponse & {
|
|
908
|
-
/**
|
|
909
|
-
* The response body as text (string format)
|
|
910
|
-
*/
|
|
911
|
-
bodyAsText: string;
|
|
912
|
-
/**
|
|
913
|
-
* The response body as parsed JSON or XML
|
|
914
|
-
*/
|
|
915
|
-
parsedBody: PlanUsageHistoryListResult;
|
|
916
|
-
};
|
|
917
|
-
};
|
|
557
|
+
/** Contains response data for the list operation. */
|
|
558
|
+
export type UsageHistoryListResponse = PlanUsageHistoryListResult;
|
|
918
559
|
|
|
919
|
-
/**
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
560
|
+
/** Optional parameters. */
|
|
561
|
+
export interface UsageHistoryListNextOptionalParams
|
|
562
|
+
extends coreClient.OperationOptions {
|
|
563
|
+
/** Continuation token for pagination. */
|
|
564
|
+
skipToken?: string;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/** Contains response data for the listNext operation. */
|
|
568
|
+
export type UsageHistoryListNextResponse = PlanUsageHistoryListResult;
|
|
569
|
+
|
|
570
|
+
/** Optional parameters. */
|
|
571
|
+
export interface AzureMLCommitmentPlansManagementClientOptionalParams
|
|
572
|
+
extends coreClient.ServiceClientOptions {
|
|
573
|
+
/** server parameter */
|
|
574
|
+
$host?: string;
|
|
575
|
+
/** Api Version */
|
|
576
|
+
apiVersion?: string;
|
|
577
|
+
/** Overrides client endpoint. */
|
|
578
|
+
endpoint?: string;
|
|
579
|
+
}
|