@azure/arm-managedapplications 1.1.2 → 2.0.0-alpha.20211011.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 +16 -0
- package/{LICENSE.txt → LICENSE} +2 -2
- package/README.md +63 -80
- package/dist/index.js +2896 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/esm/applicationClient.d.ts +50 -0
- package/esm/applicationClient.d.ts.map +1 -0
- package/esm/applicationClient.js +190 -0
- package/esm/applicationClient.js.map +1 -0
- package/esm/applicationClientContext.d.ts +16 -0
- package/esm/applicationClientContext.d.ts.map +1 -0
- package/esm/applicationClientContext.js +49 -0
- package/esm/applicationClientContext.js.map +1 -0
- package/esm/coreClientLro.d.ts +26 -0
- package/esm/coreClientLro.d.ts.map +1 -0
- package/esm/coreClientLro.js +186 -0
- package/esm/coreClientLro.js.map +1 -0
- package/esm/index.d.ts +770 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +13 -0
- package/esm/index.js.map +1 -0
- package/esm/lro/azureAsyncPolling.d.ts +3 -0
- package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
- package/esm/lro/azureAsyncPolling.js +67 -0
- package/esm/lro/azureAsyncPolling.js.map +1 -0
- package/esm/lro/bodyPolling.d.ts +8 -0
- package/esm/lro/bodyPolling.d.ts.map +1 -0
- package/esm/lro/bodyPolling.js +37 -0
- package/esm/lro/bodyPolling.js.map +1 -0
- package/esm/lro/index.d.ts +4 -0
- package/esm/lro/index.d.ts.map +1 -0
- package/esm/lro/index.js +12 -0
- package/esm/lro/index.js.map +1 -0
- package/esm/lro/locationPolling.d.ts +3 -0
- package/esm/lro/locationPolling.d.ts.map +1 -0
- package/esm/lro/locationPolling.js +19 -0
- package/esm/lro/locationPolling.js.map +1 -0
- package/esm/lro/lroEngine.d.ts +14 -0
- package/esm/lro/lroEngine.d.ts.map +1 -0
- package/esm/lro/lroEngine.js +41 -0
- package/esm/lro/lroEngine.js.map +1 -0
- package/esm/lro/models.d.ts +138 -0
- package/esm/lro/models.d.ts.map +1 -0
- package/esm/lro/models.js +14 -0
- package/esm/lro/models.js.map +1 -0
- package/esm/lro/operation.d.ts +36 -0
- package/esm/lro/operation.d.ts.map +1 -0
- package/esm/lro/operation.js +82 -0
- package/esm/lro/operation.js.map +1 -0
- package/esm/lro/passthrough.d.ts +3 -0
- package/esm/lro/passthrough.d.ts.map +1 -0
- package/esm/lro/passthrough.js +15 -0
- package/esm/lro/passthrough.js.map +1 -0
- package/esm/lro/requestUtils.d.ts +16 -0
- package/esm/lro/requestUtils.d.ts.map +1 -0
- package/esm/lro/requestUtils.js +73 -0
- package/esm/lro/requestUtils.js.map +1 -0
- package/esm/lro/stateMachine.d.ts +18 -0
- package/esm/lro/stateMachine.d.ts.map +1 -0
- package/esm/lro/stateMachine.js +84 -0
- package/esm/lro/stateMachine.js.map +1 -0
- package/esm/models/index.d.ts +360 -762
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +17 -2
- package/esm/models/index.js.map +1 -1
- package/esm/models/mappers.d.ts +18 -20
- package/esm/models/mappers.d.ts.map +1 -1
- package/esm/models/mappers.js +296 -318
- package/esm/models/mappers.js.map +1 -1
- package/esm/models/parameters.d.ts +15 -10
- package/esm/models/parameters.d.ts.map +1 -1
- package/esm/models/parameters.js +77 -49
- package/esm/models/parameters.js.map +1 -1
- package/esm/operations/applicationDefinitions.d.ts +128 -0
- package/esm/operations/applicationDefinitions.d.ts.map +1 -0
- package/esm/operations/applicationDefinitions.js +574 -0
- package/esm/operations/applicationDefinitions.js.map +1 -0
- package/esm/operations/applications.d.ts +182 -0
- package/esm/operations/applications.d.ts.map +1 -0
- package/esm/operations/applications.js +802 -0
- package/esm/operations/applications.js.map +1 -0
- package/esm/operations/index.d.ts +2 -2
- package/esm/operations/index.d.ts.map +1 -1
- package/esm/operations/index.js +5 -7
- package/esm/operations/index.js.map +1 -1
- package/esm/operationsInterfaces/applicationDefinitions.d.ts +95 -0
- package/esm/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
- package/esm/operationsInterfaces/applicationDefinitions.js +9 -0
- package/esm/operationsInterfaces/applicationDefinitions.js.map +1 -0
- package/esm/operationsInterfaces/applications.d.ts +128 -0
- package/esm/operationsInterfaces/applications.d.ts.map +1 -0
- package/esm/operationsInterfaces/applications.js +9 -0
- package/esm/operationsInterfaces/applications.js.map +1 -0
- package/esm/operationsInterfaces/index.d.ts +3 -0
- package/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/esm/operationsInterfaces/index.js +10 -0
- package/esm/operationsInterfaces/index.js.map +1 -0
- package/package.json +55 -16
- package/review/arm-managedapplications.api.md +443 -0
- package/rollup.config.js +181 -30
- package/src/applicationClient.ts +222 -0
- package/src/applicationClientContext.ts +70 -0
- package/src/coreClientLro.ts +323 -0
- package/src/index.ts +13 -0
- package/src/lro/azureAsyncPolling.ts +96 -0
- package/src/lro/bodyPolling.ts +54 -0
- package/src/lro/index.ts +26 -0
- package/src/lro/locationPolling.ts +30 -0
- package/src/lro/lroEngine.ts +61 -0
- package/src/lro/models.ts +173 -0
- package/src/lro/operation.ts +120 -0
- package/src/lro/passthrough.ts +23 -0
- package/src/lro/requestUtils.ts +105 -0
- package/src/lro/stateMachine.ts +138 -0
- package/src/models/index.ts +402 -794
- package/src/models/mappers.ts +290 -311
- package/src/models/parameters.ts +99 -50
- package/src/operations/applicationDefinitions.ts +810 -0
- package/src/operations/applications.ts +1069 -0
- package/src/operations/index.ts +5 -7
- package/src/operationsInterfaces/applicationDefinitions.ts +179 -0
- package/src/operationsInterfaces/applications.ts +225 -0
- package/src/operationsInterfaces/index.ts +10 -0
- package/tsconfig.json +3 -2
- package/dist/arm-managedapplications.js +0 -1865
- package/dist/arm-managedapplications.js.map +0 -1
- package/dist/arm-managedapplications.min.js +0 -1
- package/dist/arm-managedapplications.min.js.map +0 -1
- package/esm/managedApplicationClient.d.ts +0 -58
- package/esm/managedApplicationClient.d.ts.map +0 -1
- package/esm/managedApplicationClient.js +0 -92
- package/esm/managedApplicationClient.js.map +0 -1
- package/esm/managedApplicationClientContext.d.ts +0 -22
- package/esm/managedApplicationClientContext.d.ts.map +0 -1
- package/esm/managedApplicationClientContext.js +0 -61
- package/esm/managedApplicationClientContext.js.map +0 -1
- package/esm/models/applianceDefinitionsMappers.d.ts +0 -2
- package/esm/models/applianceDefinitionsMappers.d.ts.map +0 -1
- package/esm/models/applianceDefinitionsMappers.js +0 -9
- package/esm/models/applianceDefinitionsMappers.js.map +0 -1
- package/esm/models/appliancesMappers.d.ts +0 -2
- package/esm/models/appliancesMappers.d.ts.map +0 -1
- package/esm/models/appliancesMappers.js +0 -9
- package/esm/models/appliancesMappers.js.map +0 -1
- package/esm/operations/applianceDefinitions.d.ts +0 -167
- package/esm/operations/applianceDefinitions.d.ts.map +0 -1
- package/esm/operations/applianceDefinitions.js +0 -358
- package/esm/operations/applianceDefinitions.js.map +0 -1
- package/esm/operations/appliances.d.ts +0 -247
- package/esm/operations/appliances.d.ts.map +0 -1
- package/esm/operations/appliances.js +0 -482
- package/esm/operations/appliances.js.map +0 -1
- package/src/managedApplicationClient.ts +0 -144
- package/src/managedApplicationClientContext.ts +0 -68
- package/src/models/applianceDefinitionsMappers.ts +0 -24
- package/src/models/appliancesMappers.ts +0 -24
- package/src/operations/applianceDefinitions.ts +0 -492
- package/src/operations/appliances.ts +0 -716
package/src/models/mappers.ts
CHANGED
|
@@ -1,53 +1,81 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
|
3
|
-
* Licensed under the MIT License.
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
-
import
|
|
10
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
11
10
|
|
|
12
|
-
export const
|
|
13
|
-
|
|
11
|
+
export const OperationListResult: coreClient.CompositeMapper = {
|
|
12
|
+
type: {
|
|
13
|
+
name: "Composite",
|
|
14
|
+
className: "OperationListResult",
|
|
15
|
+
modelProperties: {
|
|
16
|
+
value: {
|
|
17
|
+
serializedName: "value",
|
|
18
|
+
type: {
|
|
19
|
+
name: "Sequence",
|
|
20
|
+
element: {
|
|
21
|
+
type: {
|
|
22
|
+
name: "Composite",
|
|
23
|
+
className: "Operation"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
nextLink: {
|
|
29
|
+
serializedName: "nextLink",
|
|
30
|
+
type: {
|
|
31
|
+
name: "String"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
14
37
|
|
|
15
|
-
export const
|
|
16
|
-
serializedName: "Plan",
|
|
38
|
+
export const Operation: coreClient.CompositeMapper = {
|
|
17
39
|
type: {
|
|
18
40
|
name: "Composite",
|
|
19
|
-
className: "
|
|
41
|
+
className: "Operation",
|
|
20
42
|
modelProperties: {
|
|
21
43
|
name: {
|
|
22
|
-
required: true,
|
|
23
44
|
serializedName: "name",
|
|
24
45
|
type: {
|
|
25
46
|
name: "String"
|
|
26
47
|
}
|
|
27
48
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
serializedName: "publisher",
|
|
49
|
+
display: {
|
|
50
|
+
serializedName: "display",
|
|
31
51
|
type: {
|
|
32
|
-
name: "
|
|
52
|
+
name: "Composite",
|
|
53
|
+
className: "OperationDisplay"
|
|
33
54
|
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export const OperationDisplay: coreClient.CompositeMapper = {
|
|
61
|
+
type: {
|
|
62
|
+
name: "Composite",
|
|
63
|
+
className: "OperationDisplay",
|
|
64
|
+
modelProperties: {
|
|
65
|
+
provider: {
|
|
66
|
+
serializedName: "provider",
|
|
38
67
|
type: {
|
|
39
68
|
name: "String"
|
|
40
69
|
}
|
|
41
70
|
},
|
|
42
|
-
|
|
43
|
-
serializedName: "
|
|
71
|
+
resource: {
|
|
72
|
+
serializedName: "resource",
|
|
44
73
|
type: {
|
|
45
74
|
name: "String"
|
|
46
75
|
}
|
|
47
76
|
},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
serializedName: "version",
|
|
77
|
+
operation: {
|
|
78
|
+
serializedName: "operation",
|
|
51
79
|
type: {
|
|
52
80
|
name: "String"
|
|
53
81
|
}
|
|
@@ -56,29 +84,28 @@ export const Plan: msRest.CompositeMapper = {
|
|
|
56
84
|
}
|
|
57
85
|
};
|
|
58
86
|
|
|
59
|
-
export const Resource:
|
|
60
|
-
serializedName: "Resource",
|
|
87
|
+
export const Resource: coreClient.CompositeMapper = {
|
|
61
88
|
type: {
|
|
62
89
|
name: "Composite",
|
|
63
90
|
className: "Resource",
|
|
64
91
|
modelProperties: {
|
|
65
92
|
id: {
|
|
66
|
-
readOnly: true,
|
|
67
93
|
serializedName: "id",
|
|
94
|
+
readOnly: true,
|
|
68
95
|
type: {
|
|
69
96
|
name: "String"
|
|
70
97
|
}
|
|
71
98
|
},
|
|
72
99
|
name: {
|
|
73
|
-
readOnly: true,
|
|
74
100
|
serializedName: "name",
|
|
101
|
+
readOnly: true,
|
|
75
102
|
type: {
|
|
76
103
|
name: "String"
|
|
77
104
|
}
|
|
78
105
|
},
|
|
79
106
|
type: {
|
|
80
|
-
readOnly: true,
|
|
81
107
|
serializedName: "type",
|
|
108
|
+
readOnly: true,
|
|
82
109
|
type: {
|
|
83
110
|
name: "String"
|
|
84
111
|
}
|
|
@@ -93,106 +120,82 @@ export const Resource: msRest.CompositeMapper = {
|
|
|
93
120
|
serializedName: "tags",
|
|
94
121
|
type: {
|
|
95
122
|
name: "Dictionary",
|
|
96
|
-
value: {
|
|
97
|
-
type: {
|
|
98
|
-
name: "String"
|
|
99
|
-
}
|
|
100
|
-
}
|
|
123
|
+
value: { type: { name: "String" } }
|
|
101
124
|
}
|
|
102
125
|
}
|
|
103
126
|
}
|
|
104
127
|
}
|
|
105
128
|
};
|
|
106
129
|
|
|
107
|
-
export const
|
|
108
|
-
serializedName: "GenericResource",
|
|
130
|
+
export const Sku: coreClient.CompositeMapper = {
|
|
109
131
|
type: {
|
|
110
132
|
name: "Composite",
|
|
111
|
-
className: "
|
|
133
|
+
className: "Sku",
|
|
112
134
|
modelProperties: {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
135
|
+
name: {
|
|
136
|
+
serializedName: "name",
|
|
137
|
+
required: true,
|
|
116
138
|
type: {
|
|
117
139
|
name: "String"
|
|
118
140
|
}
|
|
119
141
|
},
|
|
120
|
-
|
|
121
|
-
serializedName: "
|
|
142
|
+
tier: {
|
|
143
|
+
serializedName: "tier",
|
|
122
144
|
type: {
|
|
123
|
-
name: "
|
|
124
|
-
className: "Sku"
|
|
145
|
+
name: "String"
|
|
125
146
|
}
|
|
126
147
|
},
|
|
127
|
-
|
|
128
|
-
serializedName: "
|
|
129
|
-
type: {
|
|
130
|
-
name: "Composite",
|
|
131
|
-
className: "Identity"
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
export const Appliance: msRest.CompositeMapper = {
|
|
139
|
-
serializedName: "Appliance",
|
|
140
|
-
type: {
|
|
141
|
-
name: "Composite",
|
|
142
|
-
className: "Appliance",
|
|
143
|
-
modelProperties: {
|
|
144
|
-
...GenericResource.type.modelProperties,
|
|
145
|
-
managedResourceGroupId: {
|
|
146
|
-
required: true,
|
|
147
|
-
serializedName: "properties.managedResourceGroupId",
|
|
148
|
+
size: {
|
|
149
|
+
serializedName: "size",
|
|
148
150
|
type: {
|
|
149
151
|
name: "String"
|
|
150
152
|
}
|
|
151
153
|
},
|
|
152
|
-
|
|
153
|
-
serializedName: "
|
|
154
|
+
family: {
|
|
155
|
+
serializedName: "family",
|
|
154
156
|
type: {
|
|
155
157
|
name: "String"
|
|
156
158
|
}
|
|
157
159
|
},
|
|
158
|
-
|
|
159
|
-
serializedName: "
|
|
160
|
+
model: {
|
|
161
|
+
serializedName: "model",
|
|
160
162
|
type: {
|
|
161
|
-
name: "
|
|
163
|
+
name: "String"
|
|
162
164
|
}
|
|
163
165
|
},
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
serializedName: "properties.outputs",
|
|
166
|
+
capacity: {
|
|
167
|
+
serializedName: "capacity",
|
|
167
168
|
type: {
|
|
168
|
-
name: "
|
|
169
|
+
name: "Number"
|
|
169
170
|
}
|
|
170
|
-
}
|
|
171
|
-
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
export const Identity: coreClient.CompositeMapper = {
|
|
177
|
+
type: {
|
|
178
|
+
name: "Composite",
|
|
179
|
+
className: "Identity",
|
|
180
|
+
modelProperties: {
|
|
181
|
+
principalId: {
|
|
182
|
+
serializedName: "principalId",
|
|
172
183
|
readOnly: true,
|
|
173
|
-
serializedName: "properties.provisioningState",
|
|
174
184
|
type: {
|
|
175
185
|
name: "String"
|
|
176
186
|
}
|
|
177
187
|
},
|
|
178
|
-
|
|
179
|
-
serializedName: "
|
|
188
|
+
tenantId: {
|
|
189
|
+
serializedName: "tenantId",
|
|
190
|
+
readOnly: true,
|
|
180
191
|
type: {
|
|
181
192
|
name: "String"
|
|
182
193
|
}
|
|
183
194
|
},
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
className: "Plan"
|
|
189
|
-
}
|
|
190
|
-
},
|
|
191
|
-
kind: {
|
|
192
|
-
serializedName: "kind",
|
|
193
|
-
constraints: {
|
|
194
|
-
Pattern: /^[-\w\._,\(\)]+$/
|
|
195
|
-
},
|
|
195
|
+
type: {
|
|
196
|
+
defaultValue: "SystemAssigned",
|
|
197
|
+
isConstant: true,
|
|
198
|
+
serializedName: "type",
|
|
196
199
|
type: {
|
|
197
200
|
name: "String"
|
|
198
201
|
}
|
|
@@ -201,26 +204,28 @@ export const Appliance: msRest.CompositeMapper = {
|
|
|
201
204
|
}
|
|
202
205
|
};
|
|
203
206
|
|
|
204
|
-
export const
|
|
205
|
-
serializedName: "PlanPatchable",
|
|
207
|
+
export const Plan: coreClient.CompositeMapper = {
|
|
206
208
|
type: {
|
|
207
209
|
name: "Composite",
|
|
208
|
-
className: "
|
|
210
|
+
className: "Plan",
|
|
209
211
|
modelProperties: {
|
|
210
212
|
name: {
|
|
211
213
|
serializedName: "name",
|
|
214
|
+
required: true,
|
|
212
215
|
type: {
|
|
213
216
|
name: "String"
|
|
214
217
|
}
|
|
215
218
|
},
|
|
216
219
|
publisher: {
|
|
217
220
|
serializedName: "publisher",
|
|
221
|
+
required: true,
|
|
218
222
|
type: {
|
|
219
223
|
name: "String"
|
|
220
224
|
}
|
|
221
225
|
},
|
|
222
226
|
product: {
|
|
223
227
|
serializedName: "product",
|
|
228
|
+
required: true,
|
|
224
229
|
type: {
|
|
225
230
|
name: "String"
|
|
226
231
|
}
|
|
@@ -233,6 +238,7 @@ export const PlanPatchable: msRest.CompositeMapper = {
|
|
|
233
238
|
},
|
|
234
239
|
version: {
|
|
235
240
|
serializedName: "version",
|
|
241
|
+
required: true,
|
|
236
242
|
type: {
|
|
237
243
|
name: "String"
|
|
238
244
|
}
|
|
@@ -241,63 +247,64 @@ export const PlanPatchable: msRest.CompositeMapper = {
|
|
|
241
247
|
}
|
|
242
248
|
};
|
|
243
249
|
|
|
244
|
-
export const
|
|
245
|
-
serializedName: "AppliancePatchable",
|
|
250
|
+
export const ErrorResponse: coreClient.CompositeMapper = {
|
|
246
251
|
type: {
|
|
247
252
|
name: "Composite",
|
|
248
|
-
className: "
|
|
253
|
+
className: "ErrorResponse",
|
|
249
254
|
modelProperties: {
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
serializedName: "properties.managedResourceGroupId",
|
|
255
|
+
httpStatus: {
|
|
256
|
+
serializedName: "httpStatus",
|
|
253
257
|
type: {
|
|
254
258
|
name: "String"
|
|
255
259
|
}
|
|
256
260
|
},
|
|
257
|
-
|
|
258
|
-
serializedName: "
|
|
261
|
+
errorCode: {
|
|
262
|
+
serializedName: "errorCode",
|
|
259
263
|
type: {
|
|
260
264
|
name: "String"
|
|
261
265
|
}
|
|
262
266
|
},
|
|
263
|
-
|
|
264
|
-
serializedName: "
|
|
267
|
+
errorMessage: {
|
|
268
|
+
serializedName: "errorMessage",
|
|
265
269
|
type: {
|
|
266
|
-
name: "
|
|
270
|
+
name: "String"
|
|
267
271
|
}
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
export const PlanPatchable: coreClient.CompositeMapper = {
|
|
278
|
+
type: {
|
|
279
|
+
name: "Composite",
|
|
280
|
+
className: "PlanPatchable",
|
|
281
|
+
modelProperties: {
|
|
282
|
+
name: {
|
|
283
|
+
serializedName: "name",
|
|
272
284
|
type: {
|
|
273
|
-
name: "
|
|
285
|
+
name: "String"
|
|
274
286
|
}
|
|
275
287
|
},
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
serializedName: "properties.provisioningState",
|
|
288
|
+
publisher: {
|
|
289
|
+
serializedName: "publisher",
|
|
279
290
|
type: {
|
|
280
291
|
name: "String"
|
|
281
292
|
}
|
|
282
293
|
},
|
|
283
|
-
|
|
284
|
-
serializedName: "
|
|
294
|
+
product: {
|
|
295
|
+
serializedName: "product",
|
|
285
296
|
type: {
|
|
286
297
|
name: "String"
|
|
287
298
|
}
|
|
288
299
|
},
|
|
289
|
-
|
|
290
|
-
serializedName: "
|
|
300
|
+
promotionCode: {
|
|
301
|
+
serializedName: "promotionCode",
|
|
291
302
|
type: {
|
|
292
|
-
name: "
|
|
293
|
-
className: "PlanPatchable"
|
|
303
|
+
name: "String"
|
|
294
304
|
}
|
|
295
305
|
},
|
|
296
|
-
|
|
297
|
-
serializedName: "
|
|
298
|
-
constraints: {
|
|
299
|
-
Pattern: /^[-\w\._,\(\)]+$/
|
|
300
|
-
},
|
|
306
|
+
version: {
|
|
307
|
+
serializedName: "version",
|
|
301
308
|
type: {
|
|
302
309
|
name: "String"
|
|
303
310
|
}
|
|
@@ -306,22 +313,21 @@ export const AppliancePatchable: msRest.CompositeMapper = {
|
|
|
306
313
|
}
|
|
307
314
|
};
|
|
308
315
|
|
|
309
|
-
export const
|
|
310
|
-
serializedName: "ApplianceProviderAuthorization",
|
|
316
|
+
export const ApplicationProviderAuthorization: coreClient.CompositeMapper = {
|
|
311
317
|
type: {
|
|
312
318
|
name: "Composite",
|
|
313
|
-
className: "
|
|
319
|
+
className: "ApplicationProviderAuthorization",
|
|
314
320
|
modelProperties: {
|
|
315
321
|
principalId: {
|
|
316
|
-
required: true,
|
|
317
322
|
serializedName: "principalId",
|
|
323
|
+
required: true,
|
|
318
324
|
type: {
|
|
319
325
|
name: "String"
|
|
320
326
|
}
|
|
321
327
|
},
|
|
322
328
|
roleDefinitionId: {
|
|
323
|
-
required: true,
|
|
324
329
|
serializedName: "roleDefinitionId",
|
|
330
|
+
required: true,
|
|
325
331
|
type: {
|
|
326
332
|
name: "String"
|
|
327
333
|
}
|
|
@@ -330,11 +336,10 @@ export const ApplianceProviderAuthorization: msRest.CompositeMapper = {
|
|
|
330
336
|
}
|
|
331
337
|
};
|
|
332
338
|
|
|
333
|
-
export const
|
|
334
|
-
serializedName: "ApplianceArtifact",
|
|
339
|
+
export const ApplicationArtifact: coreClient.CompositeMapper = {
|
|
335
340
|
type: {
|
|
336
341
|
name: "Composite",
|
|
337
|
-
className: "
|
|
342
|
+
className: "ApplicationArtifact",
|
|
338
343
|
modelProperties: {
|
|
339
344
|
name: {
|
|
340
345
|
serializedName: "name",
|
|
@@ -352,75 +357,59 @@ export const ApplianceArtifact: msRest.CompositeMapper = {
|
|
|
352
357
|
serializedName: "type",
|
|
353
358
|
type: {
|
|
354
359
|
name: "Enum",
|
|
355
|
-
allowedValues: [
|
|
356
|
-
"Template",
|
|
357
|
-
"Custom"
|
|
358
|
-
]
|
|
360
|
+
allowedValues: ["Template", "Custom"]
|
|
359
361
|
}
|
|
360
362
|
}
|
|
361
363
|
}
|
|
362
364
|
}
|
|
363
365
|
};
|
|
364
366
|
|
|
365
|
-
export const
|
|
366
|
-
serializedName: "ApplianceDefinition",
|
|
367
|
+
export const ApplicationDefinitionListResult: coreClient.CompositeMapper = {
|
|
367
368
|
type: {
|
|
368
369
|
name: "Composite",
|
|
369
|
-
className: "
|
|
370
|
+
className: "ApplicationDefinitionListResult",
|
|
370
371
|
modelProperties: {
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
required: true,
|
|
374
|
-
serializedName: "properties.lockLevel",
|
|
375
|
-
type: {
|
|
376
|
-
name: "Enum",
|
|
377
|
-
allowedValues: [
|
|
378
|
-
"CanNotDelete",
|
|
379
|
-
"ReadOnly",
|
|
380
|
-
"None"
|
|
381
|
-
]
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
displayName: {
|
|
385
|
-
serializedName: "properties.displayName",
|
|
386
|
-
type: {
|
|
387
|
-
name: "String"
|
|
388
|
-
}
|
|
389
|
-
},
|
|
390
|
-
authorizations: {
|
|
391
|
-
required: true,
|
|
392
|
-
serializedName: "properties.authorizations",
|
|
372
|
+
value: {
|
|
373
|
+
serializedName: "value",
|
|
393
374
|
type: {
|
|
394
375
|
name: "Sequence",
|
|
395
376
|
element: {
|
|
396
377
|
type: {
|
|
397
378
|
name: "Composite",
|
|
398
|
-
className: "
|
|
379
|
+
className: "ApplicationDefinition"
|
|
399
380
|
}
|
|
400
381
|
}
|
|
401
382
|
}
|
|
402
383
|
},
|
|
403
|
-
|
|
404
|
-
serializedName: "
|
|
384
|
+
nextLink: {
|
|
385
|
+
serializedName: "nextLink",
|
|
386
|
+
type: {
|
|
387
|
+
name: "String"
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
export const ApplicationListResult: coreClient.CompositeMapper = {
|
|
395
|
+
type: {
|
|
396
|
+
name: "Composite",
|
|
397
|
+
className: "ApplicationListResult",
|
|
398
|
+
modelProperties: {
|
|
399
|
+
value: {
|
|
400
|
+
serializedName: "value",
|
|
405
401
|
type: {
|
|
406
402
|
name: "Sequence",
|
|
407
403
|
element: {
|
|
408
404
|
type: {
|
|
409
405
|
name: "Composite",
|
|
410
|
-
className: "
|
|
406
|
+
className: "Application"
|
|
411
407
|
}
|
|
412
408
|
}
|
|
413
409
|
}
|
|
414
410
|
},
|
|
415
|
-
|
|
416
|
-
serializedName: "
|
|
417
|
-
type: {
|
|
418
|
-
name: "String"
|
|
419
|
-
}
|
|
420
|
-
},
|
|
421
|
-
packageFileUri: {
|
|
422
|
-
required: true,
|
|
423
|
-
serializedName: "properties.packageFileUri",
|
|
411
|
+
nextLink: {
|
|
412
|
+
serializedName: "nextLink",
|
|
424
413
|
type: {
|
|
425
414
|
name: "String"
|
|
426
415
|
}
|
|
@@ -429,134 +418,150 @@ export const ApplianceDefinition: msRest.CompositeMapper = {
|
|
|
429
418
|
}
|
|
430
419
|
};
|
|
431
420
|
|
|
432
|
-
export const
|
|
433
|
-
serializedName: "Sku",
|
|
421
|
+
export const GenericResource: coreClient.CompositeMapper = {
|
|
434
422
|
type: {
|
|
435
423
|
name: "Composite",
|
|
436
|
-
className: "
|
|
424
|
+
className: "GenericResource",
|
|
437
425
|
modelProperties: {
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
serializedName: "
|
|
426
|
+
...Resource.type.modelProperties,
|
|
427
|
+
managedBy: {
|
|
428
|
+
serializedName: "managedBy",
|
|
441
429
|
type: {
|
|
442
430
|
name: "String"
|
|
443
431
|
}
|
|
444
432
|
},
|
|
445
|
-
|
|
446
|
-
serializedName: "
|
|
433
|
+
sku: {
|
|
434
|
+
serializedName: "sku",
|
|
447
435
|
type: {
|
|
448
|
-
name: "
|
|
436
|
+
name: "Composite",
|
|
437
|
+
className: "Sku"
|
|
449
438
|
}
|
|
450
439
|
},
|
|
451
|
-
|
|
452
|
-
serializedName: "
|
|
440
|
+
identity: {
|
|
441
|
+
serializedName: "identity",
|
|
453
442
|
type: {
|
|
454
|
-
name: "
|
|
443
|
+
name: "Composite",
|
|
444
|
+
className: "Identity"
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
};
|
|
450
|
+
|
|
451
|
+
export const Application: coreClient.CompositeMapper = {
|
|
452
|
+
type: {
|
|
453
|
+
name: "Composite",
|
|
454
|
+
className: "Application",
|
|
455
|
+
modelProperties: {
|
|
456
|
+
...GenericResource.type.modelProperties,
|
|
457
|
+
plan: {
|
|
458
|
+
serializedName: "plan",
|
|
459
|
+
type: {
|
|
460
|
+
name: "Composite",
|
|
461
|
+
className: "Plan"
|
|
455
462
|
}
|
|
456
463
|
},
|
|
457
|
-
|
|
458
|
-
|
|
464
|
+
kind: {
|
|
465
|
+
constraints: {
|
|
466
|
+
Pattern: new RegExp("^[-\\w\\._,\\(\\)]+$")
|
|
467
|
+
},
|
|
468
|
+
serializedName: "kind",
|
|
469
|
+
required: true,
|
|
459
470
|
type: {
|
|
460
471
|
name: "String"
|
|
461
472
|
}
|
|
462
473
|
},
|
|
463
|
-
|
|
464
|
-
serializedName: "
|
|
474
|
+
managedResourceGroupId: {
|
|
475
|
+
serializedName: "properties.managedResourceGroupId",
|
|
476
|
+
required: true,
|
|
465
477
|
type: {
|
|
466
478
|
name: "String"
|
|
467
479
|
}
|
|
468
480
|
},
|
|
469
|
-
|
|
470
|
-
serializedName: "
|
|
481
|
+
applicationDefinitionId: {
|
|
482
|
+
serializedName: "properties.applicationDefinitionId",
|
|
471
483
|
type: {
|
|
472
|
-
name: "
|
|
484
|
+
name: "String"
|
|
473
485
|
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
};
|
|
478
|
-
|
|
479
|
-
export const Identity: msRest.CompositeMapper = {
|
|
480
|
-
serializedName: "Identity",
|
|
481
|
-
type: {
|
|
482
|
-
name: "Composite",
|
|
483
|
-
className: "Identity",
|
|
484
|
-
modelProperties: {
|
|
485
|
-
principalId: {
|
|
486
|
-
readOnly: true,
|
|
487
|
-
serializedName: "principalId",
|
|
486
|
+
},
|
|
487
|
+
parameters: {
|
|
488
|
+
serializedName: "properties.parameters",
|
|
488
489
|
type: {
|
|
489
|
-
name: "
|
|
490
|
+
name: "Dictionary",
|
|
491
|
+
value: { type: { name: "any" } }
|
|
490
492
|
}
|
|
491
493
|
},
|
|
492
|
-
|
|
494
|
+
outputs: {
|
|
495
|
+
serializedName: "properties.outputs",
|
|
493
496
|
readOnly: true,
|
|
494
|
-
serializedName: "tenantId",
|
|
495
497
|
type: {
|
|
496
|
-
name: "
|
|
498
|
+
name: "Dictionary",
|
|
499
|
+
value: { type: { name: "any" } }
|
|
497
500
|
}
|
|
498
501
|
},
|
|
499
|
-
|
|
500
|
-
serializedName: "
|
|
502
|
+
provisioningState: {
|
|
503
|
+
serializedName: "properties.provisioningState",
|
|
504
|
+
readOnly: true,
|
|
501
505
|
type: {
|
|
502
|
-
name: "
|
|
503
|
-
allowedValues: [
|
|
504
|
-
"SystemAssigned"
|
|
505
|
-
]
|
|
506
|
+
name: "String"
|
|
506
507
|
}
|
|
507
508
|
}
|
|
508
509
|
}
|
|
509
510
|
}
|
|
510
511
|
};
|
|
511
512
|
|
|
512
|
-
export const
|
|
513
|
-
serializedName: "ErrorResponse",
|
|
513
|
+
export const ApplicationPatchable: coreClient.CompositeMapper = {
|
|
514
514
|
type: {
|
|
515
515
|
name: "Composite",
|
|
516
|
-
className: "
|
|
516
|
+
className: "ApplicationPatchable",
|
|
517
517
|
modelProperties: {
|
|
518
|
-
|
|
519
|
-
|
|
518
|
+
...GenericResource.type.modelProperties,
|
|
519
|
+
plan: {
|
|
520
|
+
serializedName: "plan",
|
|
520
521
|
type: {
|
|
521
|
-
name: "
|
|
522
|
+
name: "Composite",
|
|
523
|
+
className: "PlanPatchable"
|
|
522
524
|
}
|
|
523
525
|
},
|
|
524
|
-
|
|
525
|
-
|
|
526
|
+
kind: {
|
|
527
|
+
constraints: {
|
|
528
|
+
Pattern: new RegExp("^[-\\w\\._,\\(\\)]+$")
|
|
529
|
+
},
|
|
530
|
+
serializedName: "kind",
|
|
526
531
|
type: {
|
|
527
532
|
name: "String"
|
|
528
533
|
}
|
|
529
534
|
},
|
|
530
|
-
|
|
531
|
-
serializedName: "
|
|
535
|
+
managedResourceGroupId: {
|
|
536
|
+
serializedName: "properties.managedResourceGroupId",
|
|
532
537
|
type: {
|
|
533
538
|
name: "String"
|
|
534
539
|
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
export const OperationDisplay: msRest.CompositeMapper = {
|
|
541
|
-
serializedName: "Operation_display",
|
|
542
|
-
type: {
|
|
543
|
-
name: "Composite",
|
|
544
|
-
className: "OperationDisplay",
|
|
545
|
-
modelProperties: {
|
|
546
|
-
provider: {
|
|
547
|
-
serializedName: "provider",
|
|
540
|
+
},
|
|
541
|
+
applicationDefinitionId: {
|
|
542
|
+
serializedName: "properties.applicationDefinitionId",
|
|
548
543
|
type: {
|
|
549
544
|
name: "String"
|
|
550
545
|
}
|
|
551
546
|
},
|
|
552
|
-
|
|
553
|
-
serializedName: "
|
|
547
|
+
parameters: {
|
|
548
|
+
serializedName: "properties.parameters",
|
|
554
549
|
type: {
|
|
555
|
-
name: "
|
|
550
|
+
name: "Dictionary",
|
|
551
|
+
value: { type: { name: "any" } }
|
|
556
552
|
}
|
|
557
553
|
},
|
|
558
|
-
|
|
559
|
-
serializedName: "
|
|
554
|
+
outputs: {
|
|
555
|
+
serializedName: "properties.outputs",
|
|
556
|
+
readOnly: true,
|
|
557
|
+
type: {
|
|
558
|
+
name: "Dictionary",
|
|
559
|
+
value: { type: { name: "any" } }
|
|
560
|
+
}
|
|
561
|
+
},
|
|
562
|
+
provisioningState: {
|
|
563
|
+
serializedName: "properties.provisioningState",
|
|
564
|
+
readOnly: true,
|
|
560
565
|
type: {
|
|
561
566
|
name: "String"
|
|
562
567
|
}
|
|
@@ -565,107 +570,81 @@ export const OperationDisplay: msRest.CompositeMapper = {
|
|
|
565
570
|
}
|
|
566
571
|
};
|
|
567
572
|
|
|
568
|
-
export const
|
|
569
|
-
serializedName: "Operation",
|
|
573
|
+
export const ApplicationDefinition: coreClient.CompositeMapper = {
|
|
570
574
|
type: {
|
|
571
575
|
name: "Composite",
|
|
572
|
-
className: "
|
|
576
|
+
className: "ApplicationDefinition",
|
|
573
577
|
modelProperties: {
|
|
574
|
-
|
|
575
|
-
|
|
578
|
+
...GenericResource.type.modelProperties,
|
|
579
|
+
lockLevel: {
|
|
580
|
+
serializedName: "properties.lockLevel",
|
|
581
|
+
required: true,
|
|
582
|
+
type: {
|
|
583
|
+
name: "Enum",
|
|
584
|
+
allowedValues: ["CanNotDelete", "ReadOnly", "None"]
|
|
585
|
+
}
|
|
586
|
+
},
|
|
587
|
+
displayName: {
|
|
588
|
+
serializedName: "properties.displayName",
|
|
576
589
|
type: {
|
|
577
590
|
name: "String"
|
|
578
591
|
}
|
|
579
592
|
},
|
|
580
|
-
|
|
581
|
-
serializedName: "
|
|
593
|
+
isEnabled: {
|
|
594
|
+
serializedName: "properties.isEnabled",
|
|
582
595
|
type: {
|
|
583
|
-
name: "
|
|
584
|
-
className: "OperationDisplay"
|
|
596
|
+
name: "String"
|
|
585
597
|
}
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
export const OperationListResult: msRest.CompositeMapper = {
|
|
592
|
-
serializedName: "OperationListResult",
|
|
593
|
-
type: {
|
|
594
|
-
name: "Composite",
|
|
595
|
-
className: "OperationListResult",
|
|
596
|
-
modelProperties: {
|
|
597
|
-
value: {
|
|
598
|
-
serializedName: "",
|
|
598
|
+
},
|
|
599
|
+
authorizations: {
|
|
600
|
+
serializedName: "properties.authorizations",
|
|
601
|
+
required: true,
|
|
599
602
|
type: {
|
|
600
603
|
name: "Sequence",
|
|
601
604
|
element: {
|
|
602
605
|
type: {
|
|
603
606
|
name: "Composite",
|
|
604
|
-
className: "
|
|
607
|
+
className: "ApplicationProviderAuthorization"
|
|
605
608
|
}
|
|
606
609
|
}
|
|
607
610
|
}
|
|
608
611
|
},
|
|
609
|
-
|
|
610
|
-
serializedName: "
|
|
611
|
-
type: {
|
|
612
|
-
name: "String"
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
};
|
|
618
|
-
|
|
619
|
-
export const ApplianceListResult: msRest.CompositeMapper = {
|
|
620
|
-
serializedName: "ApplianceListResult",
|
|
621
|
-
type: {
|
|
622
|
-
name: "Composite",
|
|
623
|
-
className: "ApplianceListResult",
|
|
624
|
-
modelProperties: {
|
|
625
|
-
value: {
|
|
626
|
-
serializedName: "",
|
|
612
|
+
artifacts: {
|
|
613
|
+
serializedName: "properties.artifacts",
|
|
627
614
|
type: {
|
|
628
615
|
name: "Sequence",
|
|
629
616
|
element: {
|
|
630
617
|
type: {
|
|
631
618
|
name: "Composite",
|
|
632
|
-
className: "
|
|
619
|
+
className: "ApplicationArtifact"
|
|
633
620
|
}
|
|
634
621
|
}
|
|
635
622
|
}
|
|
636
623
|
},
|
|
637
|
-
|
|
638
|
-
serializedName: "
|
|
624
|
+
description: {
|
|
625
|
+
serializedName: "properties.description",
|
|
639
626
|
type: {
|
|
640
627
|
name: "String"
|
|
641
628
|
}
|
|
642
|
-
}
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
};
|
|
646
|
-
|
|
647
|
-
export const ApplianceDefinitionListResult: msRest.CompositeMapper = {
|
|
648
|
-
serializedName: "ApplianceDefinitionListResult",
|
|
649
|
-
type: {
|
|
650
|
-
name: "Composite",
|
|
651
|
-
className: "ApplianceDefinitionListResult",
|
|
652
|
-
modelProperties: {
|
|
653
|
-
value: {
|
|
654
|
-
serializedName: "",
|
|
629
|
+
},
|
|
630
|
+
packageFileUri: {
|
|
631
|
+
serializedName: "properties.packageFileUri",
|
|
655
632
|
type: {
|
|
656
|
-
name: "
|
|
657
|
-
element: {
|
|
658
|
-
type: {
|
|
659
|
-
name: "Composite",
|
|
660
|
-
className: "ApplianceDefinition"
|
|
661
|
-
}
|
|
662
|
-
}
|
|
633
|
+
name: "String"
|
|
663
634
|
}
|
|
664
635
|
},
|
|
665
|
-
|
|
666
|
-
serializedName: "
|
|
636
|
+
mainTemplate: {
|
|
637
|
+
serializedName: "properties.mainTemplate",
|
|
667
638
|
type: {
|
|
668
|
-
name: "
|
|
639
|
+
name: "Dictionary",
|
|
640
|
+
value: { type: { name: "any" } }
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
createUiDefinition: {
|
|
644
|
+
serializedName: "properties.createUiDefinition",
|
|
645
|
+
type: {
|
|
646
|
+
name: "Dictionary",
|
|
647
|
+
value: { type: { name: "any" } }
|
|
669
648
|
}
|
|
670
649
|
}
|
|
671
650
|
}
|