@azure/arm-managedapplications 1.1.0 → 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.
Files changed (160) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/{LICENSE.txt → LICENSE} +2 -2
  3. package/README.md +63 -80
  4. package/dist/index.js +2896 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/esm/applicationClient.d.ts +50 -0
  9. package/esm/applicationClient.d.ts.map +1 -0
  10. package/esm/applicationClient.js +190 -0
  11. package/esm/applicationClient.js.map +1 -0
  12. package/esm/applicationClientContext.d.ts +16 -0
  13. package/esm/applicationClientContext.d.ts.map +1 -0
  14. package/esm/applicationClientContext.js +49 -0
  15. package/esm/applicationClientContext.js.map +1 -0
  16. package/esm/coreClientLro.d.ts +26 -0
  17. package/esm/coreClientLro.d.ts.map +1 -0
  18. package/esm/coreClientLro.js +186 -0
  19. package/esm/coreClientLro.js.map +1 -0
  20. package/esm/index.d.ts +770 -0
  21. package/esm/index.d.ts.map +1 -0
  22. package/esm/index.js +13 -0
  23. package/esm/index.js.map +1 -0
  24. package/esm/lro/azureAsyncPolling.d.ts +3 -0
  25. package/esm/lro/azureAsyncPolling.d.ts.map +1 -0
  26. package/esm/lro/azureAsyncPolling.js +67 -0
  27. package/esm/lro/azureAsyncPolling.js.map +1 -0
  28. package/esm/lro/bodyPolling.d.ts +8 -0
  29. package/esm/lro/bodyPolling.d.ts.map +1 -0
  30. package/esm/lro/bodyPolling.js +37 -0
  31. package/esm/lro/bodyPolling.js.map +1 -0
  32. package/esm/lro/index.d.ts +4 -0
  33. package/esm/lro/index.d.ts.map +1 -0
  34. package/esm/lro/index.js +12 -0
  35. package/esm/lro/index.js.map +1 -0
  36. package/esm/lro/locationPolling.d.ts +3 -0
  37. package/esm/lro/locationPolling.d.ts.map +1 -0
  38. package/esm/lro/locationPolling.js +19 -0
  39. package/esm/lro/locationPolling.js.map +1 -0
  40. package/esm/lro/lroEngine.d.ts +14 -0
  41. package/esm/lro/lroEngine.d.ts.map +1 -0
  42. package/esm/lro/lroEngine.js +41 -0
  43. package/esm/lro/lroEngine.js.map +1 -0
  44. package/esm/lro/models.d.ts +138 -0
  45. package/esm/lro/models.d.ts.map +1 -0
  46. package/esm/lro/models.js +14 -0
  47. package/esm/lro/models.js.map +1 -0
  48. package/esm/lro/operation.d.ts +36 -0
  49. package/esm/lro/operation.d.ts.map +1 -0
  50. package/esm/lro/operation.js +82 -0
  51. package/esm/lro/operation.js.map +1 -0
  52. package/esm/lro/passthrough.d.ts +3 -0
  53. package/esm/lro/passthrough.d.ts.map +1 -0
  54. package/esm/lro/passthrough.js +15 -0
  55. package/esm/lro/passthrough.js.map +1 -0
  56. package/esm/lro/requestUtils.d.ts +16 -0
  57. package/esm/lro/requestUtils.d.ts.map +1 -0
  58. package/esm/lro/requestUtils.js +73 -0
  59. package/esm/lro/requestUtils.js.map +1 -0
  60. package/esm/lro/stateMachine.d.ts +18 -0
  61. package/esm/lro/stateMachine.d.ts.map +1 -0
  62. package/esm/lro/stateMachine.js +84 -0
  63. package/esm/lro/stateMachine.js.map +1 -0
  64. package/esm/models/index.d.ts +360 -762
  65. package/esm/models/index.d.ts.map +1 -1
  66. package/esm/models/index.js +17 -2
  67. package/esm/models/index.js.map +1 -1
  68. package/esm/models/mappers.d.ts +18 -20
  69. package/esm/models/mappers.d.ts.map +1 -1
  70. package/esm/models/mappers.js +296 -318
  71. package/esm/models/mappers.js.map +1 -1
  72. package/esm/models/parameters.d.ts +15 -10
  73. package/esm/models/parameters.d.ts.map +1 -1
  74. package/esm/models/parameters.js +77 -49
  75. package/esm/models/parameters.js.map +1 -1
  76. package/esm/operations/applicationDefinitions.d.ts +128 -0
  77. package/esm/operations/applicationDefinitions.d.ts.map +1 -0
  78. package/esm/operations/applicationDefinitions.js +574 -0
  79. package/esm/operations/applicationDefinitions.js.map +1 -0
  80. package/esm/operations/applications.d.ts +182 -0
  81. package/esm/operations/applications.d.ts.map +1 -0
  82. package/esm/operations/applications.js +802 -0
  83. package/esm/operations/applications.js.map +1 -0
  84. package/esm/operations/index.d.ts +2 -2
  85. package/esm/operations/index.d.ts.map +1 -1
  86. package/esm/operations/index.js +5 -7
  87. package/esm/operations/index.js.map +1 -1
  88. package/esm/operationsInterfaces/applicationDefinitions.d.ts +95 -0
  89. package/esm/operationsInterfaces/applicationDefinitions.d.ts.map +1 -0
  90. package/esm/operationsInterfaces/applicationDefinitions.js +9 -0
  91. package/esm/operationsInterfaces/applicationDefinitions.js.map +1 -0
  92. package/esm/operationsInterfaces/applications.d.ts +128 -0
  93. package/esm/operationsInterfaces/applications.d.ts.map +1 -0
  94. package/esm/operationsInterfaces/applications.js +9 -0
  95. package/esm/operationsInterfaces/applications.js.map +1 -0
  96. package/esm/operationsInterfaces/index.d.ts +3 -0
  97. package/esm/operationsInterfaces/index.d.ts.map +1 -0
  98. package/esm/operationsInterfaces/index.js +10 -0
  99. package/esm/operationsInterfaces/index.js.map +1 -0
  100. package/package.json +55 -16
  101. package/review/arm-managedapplications.api.md +443 -0
  102. package/rollup.config.js +181 -30
  103. package/src/applicationClient.ts +222 -0
  104. package/src/applicationClientContext.ts +70 -0
  105. package/src/coreClientLro.ts +323 -0
  106. package/src/index.ts +13 -0
  107. package/src/lro/azureAsyncPolling.ts +96 -0
  108. package/src/lro/bodyPolling.ts +54 -0
  109. package/src/lro/index.ts +26 -0
  110. package/src/lro/locationPolling.ts +30 -0
  111. package/src/lro/lroEngine.ts +61 -0
  112. package/src/lro/models.ts +173 -0
  113. package/src/lro/operation.ts +120 -0
  114. package/src/lro/passthrough.ts +23 -0
  115. package/src/lro/requestUtils.ts +105 -0
  116. package/src/lro/stateMachine.ts +138 -0
  117. package/src/models/index.ts +402 -794
  118. package/src/models/mappers.ts +290 -311
  119. package/src/models/parameters.ts +99 -50
  120. package/src/operations/applicationDefinitions.ts +810 -0
  121. package/src/operations/applications.ts +1069 -0
  122. package/src/operations/index.ts +5 -7
  123. package/src/operationsInterfaces/applicationDefinitions.ts +179 -0
  124. package/src/operationsInterfaces/applications.ts +225 -0
  125. package/src/operationsInterfaces/index.ts +10 -0
  126. package/tsconfig.json +3 -2
  127. package/dist/arm-managedapplications.js +0 -1865
  128. package/dist/arm-managedapplications.js.map +0 -1
  129. package/dist/arm-managedapplications.min.js +0 -1
  130. package/dist/arm-managedapplications.min.js.map +0 -1
  131. package/esm/managedApplicationClient.d.ts +0 -58
  132. package/esm/managedApplicationClient.d.ts.map +0 -1
  133. package/esm/managedApplicationClient.js +0 -92
  134. package/esm/managedApplicationClient.js.map +0 -1
  135. package/esm/managedApplicationClientContext.d.ts +0 -22
  136. package/esm/managedApplicationClientContext.d.ts.map +0 -1
  137. package/esm/managedApplicationClientContext.js +0 -61
  138. package/esm/managedApplicationClientContext.js.map +0 -1
  139. package/esm/models/applianceDefinitionsMappers.d.ts +0 -2
  140. package/esm/models/applianceDefinitionsMappers.d.ts.map +0 -1
  141. package/esm/models/applianceDefinitionsMappers.js +0 -9
  142. package/esm/models/applianceDefinitionsMappers.js.map +0 -1
  143. package/esm/models/appliancesMappers.d.ts +0 -2
  144. package/esm/models/appliancesMappers.d.ts.map +0 -1
  145. package/esm/models/appliancesMappers.js +0 -9
  146. package/esm/models/appliancesMappers.js.map +0 -1
  147. package/esm/operations/applianceDefinitions.d.ts +0 -167
  148. package/esm/operations/applianceDefinitions.d.ts.map +0 -1
  149. package/esm/operations/applianceDefinitions.js +0 -358
  150. package/esm/operations/applianceDefinitions.js.map +0 -1
  151. package/esm/operations/appliances.d.ts +0 -247
  152. package/esm/operations/appliances.d.ts.map +0 -1
  153. package/esm/operations/appliances.js +0 -482
  154. package/esm/operations/appliances.js.map +0 -1
  155. package/src/managedApplicationClient.ts +0 -144
  156. package/src/managedApplicationClientContext.ts +0 -68
  157. package/src/models/applianceDefinitionsMappers.ts +0 -24
  158. package/src/models/appliancesMappers.ts +0 -24
  159. package/src/operations/applianceDefinitions.ts +0 -492
  160. package/src/operations/appliances.ts +0 -716
@@ -1,53 +1,81 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
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 { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
11
10
 
12
- export const CloudError = CloudErrorMapper;
13
- export const BaseResource = BaseResourceMapper;
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 Plan: msRest.CompositeMapper = {
16
- serializedName: "Plan",
38
+ export const Operation: coreClient.CompositeMapper = {
17
39
  type: {
18
40
  name: "Composite",
19
- className: "Plan",
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
- publisher: {
29
- required: true,
30
- serializedName: "publisher",
49
+ display: {
50
+ serializedName: "display",
31
51
  type: {
32
- name: "String"
52
+ name: "Composite",
53
+ className: "OperationDisplay"
33
54
  }
34
- },
35
- product: {
36
- required: true,
37
- serializedName: "product",
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
- promotionCode: {
43
- serializedName: "promotionCode",
71
+ resource: {
72
+ serializedName: "resource",
44
73
  type: {
45
74
  name: "String"
46
75
  }
47
76
  },
48
- version: {
49
- required: true,
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: msRest.CompositeMapper = {
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 GenericResource: msRest.CompositeMapper = {
108
- serializedName: "GenericResource",
130
+ export const Sku: coreClient.CompositeMapper = {
109
131
  type: {
110
132
  name: "Composite",
111
- className: "GenericResource",
133
+ className: "Sku",
112
134
  modelProperties: {
113
- ...Resource.type.modelProperties,
114
- managedBy: {
115
- serializedName: "managedBy",
135
+ name: {
136
+ serializedName: "name",
137
+ required: true,
116
138
  type: {
117
139
  name: "String"
118
140
  }
119
141
  },
120
- sku: {
121
- serializedName: "sku",
142
+ tier: {
143
+ serializedName: "tier",
122
144
  type: {
123
- name: "Composite",
124
- className: "Sku"
145
+ name: "String"
125
146
  }
126
147
  },
127
- identity: {
128
- serializedName: "identity",
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
- applianceDefinitionId: {
153
- serializedName: "properties.applianceDefinitionId",
154
+ family: {
155
+ serializedName: "family",
154
156
  type: {
155
157
  name: "String"
156
158
  }
157
159
  },
158
- parameters: {
159
- serializedName: "properties.parameters",
160
+ model: {
161
+ serializedName: "model",
160
162
  type: {
161
- name: "Object"
163
+ name: "String"
162
164
  }
163
165
  },
164
- outputs: {
165
- readOnly: true,
166
- serializedName: "properties.outputs",
166
+ capacity: {
167
+ serializedName: "capacity",
167
168
  type: {
168
- name: "Object"
169
+ name: "Number"
169
170
  }
170
- },
171
- provisioningState: {
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
- uiDefinitionUri: {
179
- serializedName: "properties.uiDefinitionUri",
188
+ tenantId: {
189
+ serializedName: "tenantId",
190
+ readOnly: true,
180
191
  type: {
181
192
  name: "String"
182
193
  }
183
194
  },
184
- plan: {
185
- serializedName: "plan",
186
- type: {
187
- name: "Composite",
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 PlanPatchable: msRest.CompositeMapper = {
205
- serializedName: "PlanPatchable",
207
+ export const Plan: coreClient.CompositeMapper = {
206
208
  type: {
207
209
  name: "Composite",
208
- className: "PlanPatchable",
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 AppliancePatchable: msRest.CompositeMapper = {
245
- serializedName: "AppliancePatchable",
250
+ export const ErrorResponse: coreClient.CompositeMapper = {
246
251
  type: {
247
252
  name: "Composite",
248
- className: "AppliancePatchable",
253
+ className: "ErrorResponse",
249
254
  modelProperties: {
250
- ...GenericResource.type.modelProperties,
251
- managedResourceGroupId: {
252
- serializedName: "properties.managedResourceGroupId",
255
+ httpStatus: {
256
+ serializedName: "httpStatus",
253
257
  type: {
254
258
  name: "String"
255
259
  }
256
260
  },
257
- applianceDefinitionId: {
258
- serializedName: "properties.applianceDefinitionId",
261
+ errorCode: {
262
+ serializedName: "errorCode",
259
263
  type: {
260
264
  name: "String"
261
265
  }
262
266
  },
263
- parameters: {
264
- serializedName: "properties.parameters",
267
+ errorMessage: {
268
+ serializedName: "errorMessage",
265
269
  type: {
266
- name: "Object"
270
+ name: "String"
267
271
  }
268
- },
269
- outputs: {
270
- readOnly: true,
271
- serializedName: "properties.outputs",
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: "Object"
285
+ name: "String"
274
286
  }
275
287
  },
276
- provisioningState: {
277
- readOnly: true,
278
- serializedName: "properties.provisioningState",
288
+ publisher: {
289
+ serializedName: "publisher",
279
290
  type: {
280
291
  name: "String"
281
292
  }
282
293
  },
283
- uiDefinitionUri: {
284
- serializedName: "properties.uiDefinitionUri",
294
+ product: {
295
+ serializedName: "product",
285
296
  type: {
286
297
  name: "String"
287
298
  }
288
299
  },
289
- plan: {
290
- serializedName: "plan",
300
+ promotionCode: {
301
+ serializedName: "promotionCode",
291
302
  type: {
292
- name: "Composite",
293
- className: "PlanPatchable"
303
+ name: "String"
294
304
  }
295
305
  },
296
- kind: {
297
- serializedName: "kind",
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 ApplianceProviderAuthorization: msRest.CompositeMapper = {
310
- serializedName: "ApplianceProviderAuthorization",
316
+ export const ApplicationProviderAuthorization: coreClient.CompositeMapper = {
311
317
  type: {
312
318
  name: "Composite",
313
- className: "ApplianceProviderAuthorization",
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 ApplianceArtifact: msRest.CompositeMapper = {
334
- serializedName: "ApplianceArtifact",
339
+ export const ApplicationArtifact: coreClient.CompositeMapper = {
335
340
  type: {
336
341
  name: "Composite",
337
- className: "ApplianceArtifact",
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 ApplianceDefinition: msRest.CompositeMapper = {
366
- serializedName: "ApplianceDefinition",
367
+ export const ApplicationDefinitionListResult: coreClient.CompositeMapper = {
367
368
  type: {
368
369
  name: "Composite",
369
- className: "ApplianceDefinition",
370
+ className: "ApplicationDefinitionListResult",
370
371
  modelProperties: {
371
- ...GenericResource.type.modelProperties,
372
- lockLevel: {
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: "ApplianceProviderAuthorization"
379
+ className: "ApplicationDefinition"
399
380
  }
400
381
  }
401
382
  }
402
383
  },
403
- artifacts: {
404
- serializedName: "properties.artifacts",
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: "ApplianceArtifact"
406
+ className: "Application"
411
407
  }
412
408
  }
413
409
  }
414
410
  },
415
- description: {
416
- serializedName: "properties.description",
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 Sku: msRest.CompositeMapper = {
433
- serializedName: "Sku",
421
+ export const GenericResource: coreClient.CompositeMapper = {
434
422
  type: {
435
423
  name: "Composite",
436
- className: "Sku",
424
+ className: "GenericResource",
437
425
  modelProperties: {
438
- name: {
439
- required: true,
440
- serializedName: "name",
426
+ ...Resource.type.modelProperties,
427
+ managedBy: {
428
+ serializedName: "managedBy",
441
429
  type: {
442
430
  name: "String"
443
431
  }
444
432
  },
445
- tier: {
446
- serializedName: "tier",
433
+ sku: {
434
+ serializedName: "sku",
447
435
  type: {
448
- name: "String"
436
+ name: "Composite",
437
+ className: "Sku"
449
438
  }
450
439
  },
451
- size: {
452
- serializedName: "size",
440
+ identity: {
441
+ serializedName: "identity",
453
442
  type: {
454
- name: "String"
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
- family: {
458
- serializedName: "family",
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
- model: {
464
- serializedName: "model",
474
+ managedResourceGroupId: {
475
+ serializedName: "properties.managedResourceGroupId",
476
+ required: true,
465
477
  type: {
466
478
  name: "String"
467
479
  }
468
480
  },
469
- capacity: {
470
- serializedName: "capacity",
481
+ applicationDefinitionId: {
482
+ serializedName: "properties.applicationDefinitionId",
471
483
  type: {
472
- name: "Number"
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: "String"
490
+ name: "Dictionary",
491
+ value: { type: { name: "any" } }
490
492
  }
491
493
  },
492
- tenantId: {
494
+ outputs: {
495
+ serializedName: "properties.outputs",
493
496
  readOnly: true,
494
- serializedName: "tenantId",
495
497
  type: {
496
- name: "String"
498
+ name: "Dictionary",
499
+ value: { type: { name: "any" } }
497
500
  }
498
501
  },
499
- type: {
500
- serializedName: "type",
502
+ provisioningState: {
503
+ serializedName: "properties.provisioningState",
504
+ readOnly: true,
501
505
  type: {
502
- name: "Enum",
503
- allowedValues: [
504
- "SystemAssigned"
505
- ]
506
+ name: "String"
506
507
  }
507
508
  }
508
509
  }
509
510
  }
510
511
  };
511
512
 
512
- export const ErrorResponse: msRest.CompositeMapper = {
513
- serializedName: "ErrorResponse",
513
+ export const ApplicationPatchable: coreClient.CompositeMapper = {
514
514
  type: {
515
515
  name: "Composite",
516
- className: "ErrorResponse",
516
+ className: "ApplicationPatchable",
517
517
  modelProperties: {
518
- httpStatus: {
519
- serializedName: "httpStatus",
518
+ ...GenericResource.type.modelProperties,
519
+ plan: {
520
+ serializedName: "plan",
520
521
  type: {
521
- name: "String"
522
+ name: "Composite",
523
+ className: "PlanPatchable"
522
524
  }
523
525
  },
524
- errorCode: {
525
- serializedName: "errorCode",
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
- errorMessage: {
531
- serializedName: "errorMessage",
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
- resource: {
553
- serializedName: "resource",
547
+ parameters: {
548
+ serializedName: "properties.parameters",
554
549
  type: {
555
- name: "String"
550
+ name: "Dictionary",
551
+ value: { type: { name: "any" } }
556
552
  }
557
553
  },
558
- operation: {
559
- serializedName: "operation",
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 Operation: msRest.CompositeMapper = {
569
- serializedName: "Operation",
573
+ export const ApplicationDefinition: coreClient.CompositeMapper = {
570
574
  type: {
571
575
  name: "Composite",
572
- className: "Operation",
576
+ className: "ApplicationDefinition",
573
577
  modelProperties: {
574
- name: {
575
- serializedName: "name",
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
- display: {
581
- serializedName: "display",
593
+ isEnabled: {
594
+ serializedName: "properties.isEnabled",
582
595
  type: {
583
- name: "Composite",
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: "Operation"
607
+ className: "ApplicationProviderAuthorization"
605
608
  }
606
609
  }
607
610
  }
608
611
  },
609
- nextLink: {
610
- serializedName: "nextLink",
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: "Appliance"
619
+ className: "ApplicationArtifact"
633
620
  }
634
621
  }
635
622
  }
636
623
  },
637
- nextLink: {
638
- serializedName: "nextLink",
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: "Sequence",
657
- element: {
658
- type: {
659
- name: "Composite",
660
- className: "ApplianceDefinition"
661
- }
662
- }
633
+ name: "String"
663
634
  }
664
635
  },
665
- nextLink: {
666
- serializedName: "nextLink",
636
+ mainTemplate: {
637
+ serializedName: "properties.mainTemplate",
667
638
  type: {
668
- name: "String"
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
  }