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