@azure/arm-managedapplications 2.1.1-alpha.20230810.1 → 3.0.0

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 (170) hide show
  1. package/CHANGELOG.md +182 -8
  2. package/LICENSE +1 -1
  3. package/dist/index.js +2905 -1060
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateByIdSample.js +14 -8
  8. package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateByIdSample.js.map +1 -1
  9. package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.js +14 -8
  10. package/dist-esm/samples-dev/applicationDefinitionsCreateOrUpdateSample.js.map +1 -1
  11. package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.js +13 -6
  12. package/dist-esm/samples-dev/applicationDefinitionsDeleteByIdSample.js.map +1 -1
  13. package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.js +13 -6
  14. package/dist-esm/samples-dev/applicationDefinitionsDeleteSample.js.map +1 -1
  15. package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.js +11 -4
  16. package/dist-esm/samples-dev/applicationDefinitionsGetByIdSample.js.map +1 -1
  17. package/dist-esm/samples-dev/applicationDefinitionsGetSample.js +11 -4
  18. package/dist-esm/samples-dev/applicationDefinitionsGetSample.js.map +1 -1
  19. package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.js +12 -5
  20. package/dist-esm/samples-dev/applicationDefinitionsListByResourceGroupSample.js.map +1 -1
  21. package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.d.ts +2 -0
  22. package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.js +57 -0
  24. package/dist-esm/samples-dev/applicationDefinitionsListBySubscriptionSample.js.map +1 -0
  25. package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.js +41 -0
  28. package/dist-esm/samples-dev/applicationDefinitionsUpdateByIdSample.js.map +1 -0
  29. package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.js +41 -0
  32. package/dist-esm/samples-dev/applicationDefinitionsUpdateSample.js.map +1 -0
  33. package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.js +15 -9
  34. package/dist-esm/samples-dev/applicationsCreateOrUpdateByIdSample.js.map +1 -1
  35. package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js +14 -7
  36. package/dist-esm/samples-dev/applicationsCreateOrUpdateSample.js.map +1 -1
  37. package/dist-esm/samples-dev/applicationsDeleteByIdSample.js +12 -6
  38. package/dist-esm/samples-dev/applicationsDeleteByIdSample.js.map +1 -1
  39. package/dist-esm/samples-dev/applicationsDeleteSample.js +12 -5
  40. package/dist-esm/samples-dev/applicationsDeleteSample.js.map +1 -1
  41. package/dist-esm/samples-dev/applicationsGetByIdSample.js +12 -6
  42. package/dist-esm/samples-dev/applicationsGetByIdSample.js.map +1 -1
  43. package/dist-esm/samples-dev/applicationsGetSample.js +11 -4
  44. package/dist-esm/samples-dev/applicationsGetSample.js.map +1 -1
  45. package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.js +38 -0
  48. package/dist-esm/samples-dev/applicationsListAllowedUpgradePlansSample.js.map +1 -0
  49. package/dist-esm/samples-dev/applicationsListByResourceGroupSample.js +14 -7
  50. package/dist-esm/samples-dev/applicationsListByResourceGroupSample.js.map +1 -1
  51. package/dist-esm/samples-dev/applicationsListBySubscriptionSample.js +13 -6
  52. package/dist-esm/samples-dev/applicationsListBySubscriptionSample.js.map +1 -1
  53. package/dist-esm/samples-dev/applicationsListTokensSample.d.ts +2 -0
  54. package/dist-esm/samples-dev/applicationsListTokensSample.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/applicationsListTokensSample.js +42 -0
  56. package/dist-esm/samples-dev/applicationsListTokensSample.js.map +1 -0
  57. package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.d.ts +2 -0
  58. package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.js +38 -0
  60. package/dist-esm/samples-dev/applicationsRefreshPermissionsSample.js.map +1 -0
  61. package/dist-esm/samples-dev/applicationsUpdateAccessSample.d.ts +2 -0
  62. package/dist-esm/samples-dev/applicationsUpdateAccessSample.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/applicationsUpdateAccessSample.js +49 -0
  64. package/dist-esm/samples-dev/applicationsUpdateAccessSample.js.map +1 -0
  65. package/dist-esm/samples-dev/applicationsUpdateByIdSample.js +15 -9
  66. package/dist-esm/samples-dev/applicationsUpdateByIdSample.js.map +1 -1
  67. package/dist-esm/samples-dev/applicationsUpdateSample.js +15 -8
  68. package/dist-esm/samples-dev/applicationsUpdateSample.js.map +1 -1
  69. package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.d.ts +2 -0
  70. package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.js +52 -0
  72. package/dist-esm/samples-dev/jitRequestsCreateOrUpdateSample.js.map +1 -0
  73. package/dist-esm/samples-dev/jitRequestsDeleteSample.d.ts +2 -0
  74. package/dist-esm/samples-dev/jitRequestsDeleteSample.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/jitRequestsDeleteSample.js +38 -0
  76. package/dist-esm/samples-dev/jitRequestsDeleteSample.js.map +1 -0
  77. package/dist-esm/samples-dev/jitRequestsGetSample.d.ts +2 -0
  78. package/dist-esm/samples-dev/jitRequestsGetSample.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/jitRequestsGetSample.js +38 -0
  80. package/dist-esm/samples-dev/jitRequestsGetSample.js.map +1 -0
  81. package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.d.ts +2 -0
  82. package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.d.ts.map +1 -0
  83. package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.js +37 -0
  84. package/dist-esm/samples-dev/jitRequestsListByResourceGroupSample.js.map +1 -0
  85. package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.d.ts +2 -0
  86. package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.d.ts.map +1 -0
  87. package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.js +36 -0
  88. package/dist-esm/samples-dev/jitRequestsListBySubscriptionSample.js.map +1 -0
  89. package/dist-esm/samples-dev/jitRequestsUpdateSample.d.ts +2 -0
  90. package/dist-esm/samples-dev/jitRequestsUpdateSample.d.ts.map +1 -0
  91. package/dist-esm/samples-dev/jitRequestsUpdateSample.js +39 -0
  92. package/dist-esm/samples-dev/jitRequestsUpdateSample.js.map +1 -0
  93. package/dist-esm/samples-dev/listOperationsSample.js +10 -4
  94. package/dist-esm/samples-dev/listOperationsSample.js.map +1 -1
  95. package/dist-esm/src/applicationClient.d.ts +4 -2
  96. package/dist-esm/src/applicationClient.d.ts.map +1 -1
  97. package/dist-esm/src/applicationClient.js +17 -13
  98. package/dist-esm/src/applicationClient.js.map +1 -1
  99. package/dist-esm/src/lroImpl.d.ts +6 -11
  100. package/dist-esm/src/lroImpl.d.ts.map +1 -1
  101. package/dist-esm/src/lroImpl.js +12 -20
  102. package/dist-esm/src/lroImpl.js.map +1 -1
  103. package/dist-esm/src/models/index.d.ts +865 -88
  104. package/dist-esm/src/models/index.d.ts.map +1 -1
  105. package/dist-esm/src/models/index.js +148 -6
  106. package/dist-esm/src/models/index.js.map +1 -1
  107. package/dist-esm/src/models/mappers.d.ts +33 -4
  108. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  109. package/dist-esm/src/models/mappers.js +1146 -112
  110. package/dist-esm/src/models/mappers.js.map +1 -1
  111. package/dist-esm/src/models/parameters.d.ts +8 -2
  112. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  113. package/dist-esm/src/models/parameters.js +59 -16
  114. package/dist-esm/src/models/parameters.js.map +1 -1
  115. package/dist-esm/src/operations/applicationDefinitions.d.ts +31 -28
  116. package/dist-esm/src/operations/applicationDefinitions.d.ts.map +1 -1
  117. package/dist-esm/src/operations/applicationDefinitions.js +190 -197
  118. package/dist-esm/src/operations/applicationDefinitions.js.map +1 -1
  119. package/dist-esm/src/operations/applications.d.ts +78 -20
  120. package/dist-esm/src/operations/applications.d.ts.map +1 -1
  121. package/dist-esm/src/operations/applications.js +407 -55
  122. package/dist-esm/src/operations/applications.js.map +1 -1
  123. package/dist-esm/src/operations/index.d.ts +1 -0
  124. package/dist-esm/src/operations/index.d.ts.map +1 -1
  125. package/dist-esm/src/operations/index.js +1 -0
  126. package/dist-esm/src/operations/index.js.map +1 -1
  127. package/dist-esm/src/operations/jitRequests.d.ts +63 -0
  128. package/dist-esm/src/operations/jitRequests.d.ts.map +1 -0
  129. package/dist-esm/src/operations/jitRequests.js +260 -0
  130. package/dist-esm/src/operations/jitRequests.js.map +1 -0
  131. package/dist-esm/src/operationsInterfaces/applicationDefinitions.d.ts +19 -29
  132. package/dist-esm/src/operationsInterfaces/applicationDefinitions.d.ts.map +1 -1
  133. package/dist-esm/src/operationsInterfaces/applications.d.ts +76 -18
  134. package/dist-esm/src/operationsInterfaces/applications.d.ts.map +1 -1
  135. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  136. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  137. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  138. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  139. package/dist-esm/src/operationsInterfaces/jitRequests.d.ts +55 -0
  140. package/dist-esm/src/operationsInterfaces/jitRequests.d.ts.map +1 -0
  141. package/dist-esm/src/operationsInterfaces/jitRequests.js +9 -0
  142. package/dist-esm/src/operationsInterfaces/jitRequests.js.map +1 -0
  143. package/dist-esm/src/pagingHelper.d.ts +4 -4
  144. package/dist-esm/src/pagingHelper.js +4 -4
  145. package/dist-esm/test/managedapplications_operations_test.spec.d.ts +4 -0
  146. package/dist-esm/test/managedapplications_operations_test.spec.d.ts.map +1 -0
  147. package/dist-esm/test/managedapplications_operations_test.spec.js +76 -0
  148. package/dist-esm/test/managedapplications_operations_test.spec.js.map +1 -0
  149. package/package.json +10 -8
  150. package/review/arm-managedapplications.api.md +536 -53
  151. package/src/applicationClient.ts +37 -8
  152. package/src/lroImpl.ts +31 -23
  153. package/src/models/index.ts +952 -96
  154. package/src/models/mappers.ts +1273 -173
  155. package/src/models/parameters.ts +71 -17
  156. package/src/operations/applicationDefinitions.ts +218 -300
  157. package/src/operations/applications.ts +561 -80
  158. package/src/operations/index.ts +1 -0
  159. package/src/operations/jitRequests.ts +366 -0
  160. package/src/operationsInterfaces/applicationDefinitions.ts +35 -55
  161. package/src/operationsInterfaces/applications.ts +130 -20
  162. package/src/operationsInterfaces/index.ts +1 -0
  163. package/src/operationsInterfaces/jitRequests.ts +110 -0
  164. package/src/pagingHelper.ts +4 -4
  165. package/tsconfig.json +0 -8
  166. package/types/arm-managedapplications.d.ts +1080 -118
  167. package/dist-esm/test/sampleTest.d.ts +0 -2
  168. package/dist-esm/test/sampleTest.d.ts.map +0 -1
  169. package/dist-esm/test/sampleTest.js +0 -38
  170. package/dist-esm/test/sampleTest.js.map +0 -1
@@ -12,6 +12,7 @@ export const OperationListResult = {
12
12
  modelProperties: {
13
13
  value: {
14
14
  serializedName: "value",
15
+ readOnly: true,
15
16
  type: {
16
17
  name: "Sequence",
17
18
  element: {
@@ -24,6 +25,7 @@ export const OperationListResult = {
24
25
  },
25
26
  nextLink: {
26
27
  serializedName: "nextLink",
28
+ readOnly: true,
27
29
  type: {
28
30
  name: "String"
29
31
  }
@@ -38,16 +40,38 @@ export const Operation = {
38
40
  modelProperties: {
39
41
  name: {
40
42
  serializedName: "name",
43
+ readOnly: true,
41
44
  type: {
42
45
  name: "String"
43
46
  }
44
47
  },
48
+ isDataAction: {
49
+ serializedName: "isDataAction",
50
+ readOnly: true,
51
+ type: {
52
+ name: "Boolean"
53
+ }
54
+ },
45
55
  display: {
46
56
  serializedName: "display",
47
57
  type: {
48
58
  name: "Composite",
49
59
  className: "OperationDisplay"
50
60
  }
61
+ },
62
+ origin: {
63
+ serializedName: "origin",
64
+ readOnly: true,
65
+ type: {
66
+ name: "String"
67
+ }
68
+ },
69
+ actionType: {
70
+ serializedName: "actionType",
71
+ readOnly: true,
72
+ type: {
73
+ name: "String"
74
+ }
51
75
  }
52
76
  }
53
77
  }
@@ -59,18 +83,28 @@ export const OperationDisplay = {
59
83
  modelProperties: {
60
84
  provider: {
61
85
  serializedName: "provider",
86
+ readOnly: true,
62
87
  type: {
63
88
  name: "String"
64
89
  }
65
90
  },
66
91
  resource: {
67
92
  serializedName: "resource",
93
+ readOnly: true,
68
94
  type: {
69
95
  name: "String"
70
96
  }
71
97
  },
72
98
  operation: {
73
99
  serializedName: "operation",
100
+ readOnly: true,
101
+ type: {
102
+ name: "String"
103
+ }
104
+ },
105
+ description: {
106
+ serializedName: "description",
107
+ readOnly: true,
74
108
  type: {
75
109
  name: "String"
76
110
  }
@@ -78,41 +112,106 @@ export const OperationDisplay = {
78
112
  }
79
113
  }
80
114
  };
81
- export const Plan = {
115
+ export const ErrorResponse = {
82
116
  type: {
83
117
  name: "Composite",
84
- className: "Plan",
118
+ className: "ErrorResponse",
85
119
  modelProperties: {
86
- name: {
87
- serializedName: "name",
88
- required: true,
120
+ error: {
121
+ serializedName: "error",
122
+ type: {
123
+ name: "Composite",
124
+ className: "ErrorDetail"
125
+ }
126
+ }
127
+ }
128
+ }
129
+ };
130
+ export const ErrorDetail = {
131
+ type: {
132
+ name: "Composite",
133
+ className: "ErrorDetail",
134
+ modelProperties: {
135
+ code: {
136
+ serializedName: "code",
137
+ readOnly: true,
89
138
  type: {
90
139
  name: "String"
91
140
  }
92
141
  },
93
- publisher: {
94
- serializedName: "publisher",
95
- required: true,
142
+ message: {
143
+ serializedName: "message",
144
+ readOnly: true,
96
145
  type: {
97
146
  name: "String"
98
147
  }
99
148
  },
100
- product: {
101
- serializedName: "product",
102
- required: true,
149
+ target: {
150
+ serializedName: "target",
151
+ readOnly: true,
103
152
  type: {
104
153
  name: "String"
105
154
  }
106
155
  },
107
- promotionCode: {
108
- serializedName: "promotionCode",
156
+ details: {
157
+ serializedName: "details",
158
+ readOnly: true,
159
+ type: {
160
+ name: "Sequence",
161
+ element: {
162
+ type: {
163
+ name: "Composite",
164
+ className: "ErrorDetail"
165
+ }
166
+ }
167
+ }
168
+ },
169
+ additionalInfo: {
170
+ serializedName: "additionalInfo",
171
+ readOnly: true,
172
+ type: {
173
+ name: "Sequence",
174
+ element: {
175
+ type: {
176
+ name: "Composite",
177
+ className: "ErrorAdditionalInfo"
178
+ }
179
+ }
180
+ }
181
+ }
182
+ }
183
+ }
184
+ };
185
+ export const ErrorAdditionalInfo = {
186
+ type: {
187
+ name: "Composite",
188
+ className: "ErrorAdditionalInfo",
189
+ modelProperties: {
190
+ type: {
191
+ serializedName: "type",
192
+ readOnly: true,
109
193
  type: {
110
194
  name: "String"
111
195
  }
112
196
  },
113
- version: {
114
- serializedName: "version",
115
- required: true,
197
+ info: {
198
+ serializedName: "info",
199
+ readOnly: true,
200
+ type: {
201
+ name: "Dictionary",
202
+ value: { type: { name: "any" } }
203
+ }
204
+ }
205
+ }
206
+ }
207
+ };
208
+ export const ApplicationBillingDetailsDefinition = {
209
+ type: {
210
+ name: "Composite",
211
+ className: "ApplicationBillingDetailsDefinition",
212
+ modelProperties: {
213
+ resourceUsageId: {
214
+ serializedName: "resourceUsageId",
116
215
  type: {
117
216
  name: "String"
118
217
  }
@@ -120,74 +219,115 @@ export const Plan = {
120
219
  }
121
220
  }
122
221
  };
123
- export const Sku = {
222
+ export const ApplicationJitAccessPolicy = {
124
223
  type: {
125
224
  name: "Composite",
126
- className: "Sku",
225
+ className: "ApplicationJitAccessPolicy",
127
226
  modelProperties: {
128
- name: {
129
- serializedName: "name",
227
+ jitAccessEnabled: {
228
+ serializedName: "jitAccessEnabled",
130
229
  required: true,
131
230
  type: {
132
- name: "String"
231
+ name: "Boolean"
133
232
  }
134
233
  },
135
- tier: {
136
- serializedName: "tier",
234
+ jitApprovalMode: {
235
+ serializedName: "jitApprovalMode",
137
236
  type: {
138
237
  name: "String"
139
238
  }
140
239
  },
141
- size: {
142
- serializedName: "size",
240
+ jitApprovers: {
241
+ serializedName: "jitApprovers",
143
242
  type: {
144
- name: "String"
243
+ name: "Sequence",
244
+ element: {
245
+ type: {
246
+ name: "Composite",
247
+ className: "JitApproverDefinition"
248
+ }
249
+ }
145
250
  }
146
251
  },
147
- family: {
148
- serializedName: "family",
252
+ maximumJitAccessDuration: {
253
+ serializedName: "maximumJitAccessDuration",
254
+ type: {
255
+ name: "String"
256
+ }
257
+ }
258
+ }
259
+ }
260
+ };
261
+ export const JitApproverDefinition = {
262
+ type: {
263
+ name: "Composite",
264
+ className: "JitApproverDefinition",
265
+ modelProperties: {
266
+ id: {
267
+ serializedName: "id",
268
+ required: true,
149
269
  type: {
150
270
  name: "String"
151
271
  }
152
272
  },
153
- model: {
154
- serializedName: "model",
273
+ type: {
274
+ serializedName: "type",
155
275
  type: {
156
276
  name: "String"
157
277
  }
158
278
  },
159
- capacity: {
160
- serializedName: "capacity",
279
+ displayName: {
280
+ serializedName: "displayName",
161
281
  type: {
162
- name: "Number"
282
+ name: "String"
163
283
  }
164
284
  }
165
285
  }
166
286
  }
167
287
  };
168
- export const Identity = {
288
+ export const ApplicationAuthorization = {
169
289
  type: {
170
290
  name: "Composite",
171
- className: "Identity",
291
+ className: "ApplicationAuthorization",
172
292
  modelProperties: {
173
293
  principalId: {
174
294
  serializedName: "principalId",
175
- readOnly: true,
295
+ required: true,
176
296
  type: {
177
297
  name: "String"
178
298
  }
179
299
  },
180
- tenantId: {
181
- serializedName: "tenantId",
182
- readOnly: true,
300
+ roleDefinitionId: {
301
+ serializedName: "roleDefinitionId",
302
+ required: true,
303
+ type: {
304
+ name: "String"
305
+ }
306
+ }
307
+ }
308
+ }
309
+ };
310
+ export const ApplicationPackageContact = {
311
+ type: {
312
+ name: "Composite",
313
+ className: "ApplicationPackageContact",
314
+ modelProperties: {
315
+ contactName: {
316
+ serializedName: "contactName",
183
317
  type: {
184
318
  name: "String"
185
319
  }
186
320
  },
187
- type: {
188
- defaultValue: "SystemAssigned",
189
- isConstant: true,
190
- serializedName: "type",
321
+ email: {
322
+ serializedName: "email",
323
+ required: true,
324
+ type: {
325
+ name: "String"
326
+ }
327
+ },
328
+ phone: {
329
+ serializedName: "phone",
330
+ required: true,
191
331
  type: {
192
332
  name: "String"
193
333
  }
@@ -195,67 +335,75 @@ export const Identity = {
195
335
  }
196
336
  }
197
337
  };
198
- export const Resource = {
338
+ export const ApplicationPackageSupportUrls = {
199
339
  type: {
200
340
  name: "Composite",
201
- className: "Resource",
341
+ className: "ApplicationPackageSupportUrls",
202
342
  modelProperties: {
203
- id: {
204
- serializedName: "id",
205
- readOnly: true,
343
+ publicAzure: {
344
+ serializedName: "publicAzure",
206
345
  type: {
207
346
  name: "String"
208
347
  }
209
348
  },
210
- name: {
211
- serializedName: "name",
212
- readOnly: true,
349
+ governmentCloud: {
350
+ serializedName: "governmentCloud",
213
351
  type: {
214
352
  name: "String"
215
353
  }
216
- },
217
- type: {
218
- serializedName: "type",
219
- readOnly: true,
354
+ }
355
+ }
356
+ }
357
+ };
358
+ export const ApplicationArtifact = {
359
+ type: {
360
+ name: "Composite",
361
+ className: "ApplicationArtifact",
362
+ modelProperties: {
363
+ name: {
364
+ serializedName: "name",
365
+ required: true,
220
366
  type: {
221
367
  name: "String"
222
368
  }
223
369
  },
224
- location: {
225
- serializedName: "location",
370
+ uri: {
371
+ serializedName: "uri",
372
+ required: true,
226
373
  type: {
227
374
  name: "String"
228
375
  }
229
376
  },
230
- tags: {
231
- serializedName: "tags",
377
+ type: {
378
+ serializedName: "type",
379
+ required: true,
232
380
  type: {
233
- name: "Dictionary",
234
- value: { type: { name: "String" } }
381
+ name: "Enum",
382
+ allowedValues: ["NotSpecified", "Template", "Custom"]
235
383
  }
236
384
  }
237
385
  }
238
386
  }
239
387
  };
240
- export const ErrorResponse = {
388
+ export const ApplicationClientDetails = {
241
389
  type: {
242
390
  name: "Composite",
243
- className: "ErrorResponse",
391
+ className: "ApplicationClientDetails",
244
392
  modelProperties: {
245
- httpStatus: {
246
- serializedName: "httpStatus",
393
+ oid: {
394
+ serializedName: "oid",
247
395
  type: {
248
396
  name: "String"
249
397
  }
250
398
  },
251
- errorCode: {
252
- serializedName: "errorCode",
399
+ puid: {
400
+ serializedName: "puid",
253
401
  type: {
254
402
  name: "String"
255
403
  }
256
404
  },
257
- errorMessage: {
258
- serializedName: "errorMessage",
405
+ applicationId: {
406
+ serializedName: "applicationId",
259
407
  type: {
260
408
  name: "String"
261
409
  }
@@ -263,25 +411,28 @@ export const ErrorResponse = {
263
411
  }
264
412
  }
265
413
  };
266
- export const PlanPatchable = {
414
+ export const Plan = {
267
415
  type: {
268
416
  name: "Composite",
269
- className: "PlanPatchable",
417
+ className: "Plan",
270
418
  modelProperties: {
271
419
  name: {
272
420
  serializedName: "name",
421
+ required: true,
273
422
  type: {
274
423
  name: "String"
275
424
  }
276
425
  },
277
426
  publisher: {
278
427
  serializedName: "publisher",
428
+ required: true,
279
429
  type: {
280
430
  name: "String"
281
431
  }
282
432
  },
283
433
  product: {
284
434
  serializedName: "product",
435
+ required: true,
285
436
  type: {
286
437
  name: "String"
287
438
  }
@@ -294,27 +445,615 @@ export const PlanPatchable = {
294
445
  },
295
446
  version: {
296
447
  serializedName: "version",
448
+ required: true,
449
+ type: {
450
+ name: "String"
451
+ }
452
+ }
453
+ }
454
+ }
455
+ };
456
+ export const Identity = {
457
+ type: {
458
+ name: "Composite",
459
+ className: "Identity",
460
+ modelProperties: {
461
+ principalId: {
462
+ serializedName: "principalId",
463
+ readOnly: true,
464
+ type: {
465
+ name: "String"
466
+ }
467
+ },
468
+ tenantId: {
469
+ serializedName: "tenantId",
470
+ readOnly: true,
297
471
  type: {
298
472
  name: "String"
299
473
  }
474
+ },
475
+ type: {
476
+ serializedName: "type",
477
+ type: {
478
+ name: "Enum",
479
+ allowedValues: [
480
+ "SystemAssigned",
481
+ "UserAssigned",
482
+ "SystemAssigned, UserAssigned",
483
+ "None"
484
+ ]
485
+ }
486
+ },
487
+ userAssignedIdentities: {
488
+ serializedName: "userAssignedIdentities",
489
+ type: {
490
+ name: "Dictionary",
491
+ value: {
492
+ type: {
493
+ name: "Composite",
494
+ className: "UserAssignedResourceIdentity"
495
+ }
496
+ }
497
+ }
498
+ }
499
+ }
500
+ }
501
+ };
502
+ export const UserAssignedResourceIdentity = {
503
+ type: {
504
+ name: "Composite",
505
+ className: "UserAssignedResourceIdentity",
506
+ modelProperties: {
507
+ principalId: {
508
+ serializedName: "principalId",
509
+ readOnly: true,
510
+ type: {
511
+ name: "String"
512
+ }
513
+ },
514
+ tenantId: {
515
+ serializedName: "tenantId",
516
+ readOnly: true,
517
+ type: {
518
+ name: "String"
519
+ }
520
+ }
521
+ }
522
+ }
523
+ };
524
+ export const Sku = {
525
+ type: {
526
+ name: "Composite",
527
+ className: "Sku",
528
+ modelProperties: {
529
+ name: {
530
+ serializedName: "name",
531
+ required: true,
532
+ type: {
533
+ name: "String"
534
+ }
535
+ },
536
+ tier: {
537
+ serializedName: "tier",
538
+ type: {
539
+ name: "String"
540
+ }
541
+ },
542
+ size: {
543
+ serializedName: "size",
544
+ type: {
545
+ name: "String"
546
+ }
547
+ },
548
+ family: {
549
+ serializedName: "family",
550
+ type: {
551
+ name: "String"
552
+ }
553
+ },
554
+ model: {
555
+ serializedName: "model",
556
+ type: {
557
+ name: "String"
558
+ }
559
+ },
560
+ capacity: {
561
+ serializedName: "capacity",
562
+ type: {
563
+ name: "Number"
564
+ }
565
+ }
566
+ }
567
+ }
568
+ };
569
+ export const Resource = {
570
+ type: {
571
+ name: "Composite",
572
+ className: "Resource",
573
+ modelProperties: {
574
+ id: {
575
+ serializedName: "id",
576
+ readOnly: true,
577
+ type: {
578
+ name: "String"
579
+ }
580
+ },
581
+ name: {
582
+ serializedName: "name",
583
+ readOnly: true,
584
+ type: {
585
+ name: "String"
586
+ }
587
+ },
588
+ type: {
589
+ serializedName: "type",
590
+ readOnly: true,
591
+ type: {
592
+ name: "String"
593
+ }
594
+ },
595
+ location: {
596
+ serializedName: "location",
597
+ type: {
598
+ name: "String"
599
+ }
600
+ },
601
+ tags: {
602
+ serializedName: "tags",
603
+ type: {
604
+ name: "Dictionary",
605
+ value: { type: { name: "String" } }
606
+ }
607
+ },
608
+ systemData: {
609
+ serializedName: "systemData",
610
+ type: {
611
+ name: "Composite",
612
+ className: "SystemData"
613
+ }
614
+ }
615
+ }
616
+ }
617
+ };
618
+ export const SystemData = {
619
+ type: {
620
+ name: "Composite",
621
+ className: "SystemData",
622
+ modelProperties: {
623
+ createdBy: {
624
+ serializedName: "createdBy",
625
+ type: {
626
+ name: "String"
627
+ }
628
+ },
629
+ createdByType: {
630
+ serializedName: "createdByType",
631
+ type: {
632
+ name: "String"
633
+ }
634
+ },
635
+ createdAt: {
636
+ serializedName: "createdAt",
637
+ type: {
638
+ name: "DateTime"
639
+ }
640
+ },
641
+ lastModifiedBy: {
642
+ serializedName: "lastModifiedBy",
643
+ type: {
644
+ name: "String"
645
+ }
646
+ },
647
+ lastModifiedByType: {
648
+ serializedName: "lastModifiedByType",
649
+ type: {
650
+ name: "String"
651
+ }
652
+ },
653
+ lastModifiedAt: {
654
+ serializedName: "lastModifiedAt",
655
+ type: {
656
+ name: "DateTime"
657
+ }
658
+ }
659
+ }
660
+ }
661
+ };
662
+ export const PlanPatchable = {
663
+ type: {
664
+ name: "Composite",
665
+ className: "PlanPatchable",
666
+ modelProperties: {
667
+ name: {
668
+ serializedName: "name",
669
+ type: {
670
+ name: "String"
671
+ }
672
+ },
673
+ publisher: {
674
+ serializedName: "publisher",
675
+ type: {
676
+ name: "String"
677
+ }
678
+ },
679
+ product: {
680
+ serializedName: "product",
681
+ type: {
682
+ name: "String"
683
+ }
684
+ },
685
+ promotionCode: {
686
+ serializedName: "promotionCode",
687
+ type: {
688
+ name: "String"
689
+ }
690
+ },
691
+ version: {
692
+ serializedName: "version",
693
+ type: {
694
+ name: "String"
695
+ }
696
+ }
697
+ }
698
+ }
699
+ };
700
+ export const ApplicationDefinitionArtifact = {
701
+ type: {
702
+ name: "Composite",
703
+ className: "ApplicationDefinitionArtifact",
704
+ modelProperties: {
705
+ name: {
706
+ serializedName: "name",
707
+ required: true,
708
+ type: {
709
+ name: "String"
710
+ }
711
+ },
712
+ uri: {
713
+ serializedName: "uri",
714
+ required: true,
715
+ type: {
716
+ name: "String"
717
+ }
718
+ },
719
+ type: {
720
+ serializedName: "type",
721
+ required: true,
722
+ type: {
723
+ name: "Enum",
724
+ allowedValues: ["NotSpecified", "Template", "Custom"]
725
+ }
726
+ }
727
+ }
728
+ }
729
+ };
730
+ export const ApplicationNotificationPolicy = {
731
+ type: {
732
+ name: "Composite",
733
+ className: "ApplicationNotificationPolicy",
734
+ modelProperties: {
735
+ notificationEndpoints: {
736
+ serializedName: "notificationEndpoints",
737
+ required: true,
738
+ type: {
739
+ name: "Sequence",
740
+ element: {
741
+ type: {
742
+ name: "Composite",
743
+ className: "ApplicationNotificationEndpoint"
744
+ }
745
+ }
746
+ }
747
+ }
748
+ }
749
+ }
750
+ };
751
+ export const ApplicationNotificationEndpoint = {
752
+ type: {
753
+ name: "Composite",
754
+ className: "ApplicationNotificationEndpoint",
755
+ modelProperties: {
756
+ uri: {
757
+ serializedName: "uri",
758
+ required: true,
759
+ type: {
760
+ name: "String"
761
+ }
762
+ }
763
+ }
764
+ }
765
+ };
766
+ export const ApplicationPackageLockingPolicyDefinition = {
767
+ type: {
768
+ name: "Composite",
769
+ className: "ApplicationPackageLockingPolicyDefinition",
770
+ modelProperties: {
771
+ allowedActions: {
772
+ serializedName: "allowedActions",
773
+ type: {
774
+ name: "Sequence",
775
+ element: {
776
+ type: {
777
+ name: "String"
778
+ }
779
+ }
780
+ }
781
+ },
782
+ allowedDataActions: {
783
+ serializedName: "allowedDataActions",
784
+ type: {
785
+ name: "Sequence",
786
+ element: {
787
+ type: {
788
+ name: "String"
789
+ }
790
+ }
791
+ }
792
+ }
793
+ }
794
+ }
795
+ };
796
+ export const ApplicationDeploymentPolicy = {
797
+ type: {
798
+ name: "Composite",
799
+ className: "ApplicationDeploymentPolicy",
800
+ modelProperties: {
801
+ deploymentMode: {
802
+ serializedName: "deploymentMode",
803
+ required: true,
804
+ type: {
805
+ name: "String"
806
+ }
807
+ }
808
+ }
809
+ }
810
+ };
811
+ export const ApplicationManagementPolicy = {
812
+ type: {
813
+ name: "Composite",
814
+ className: "ApplicationManagementPolicy",
815
+ modelProperties: {
816
+ mode: {
817
+ serializedName: "mode",
818
+ type: {
819
+ name: "String"
820
+ }
821
+ }
822
+ }
823
+ }
824
+ };
825
+ export const ApplicationPolicy = {
826
+ type: {
827
+ name: "Composite",
828
+ className: "ApplicationPolicy",
829
+ modelProperties: {
830
+ name: {
831
+ serializedName: "name",
832
+ type: {
833
+ name: "String"
834
+ }
835
+ },
836
+ policyDefinitionId: {
837
+ serializedName: "policyDefinitionId",
838
+ type: {
839
+ name: "String"
840
+ }
841
+ },
842
+ parameters: {
843
+ serializedName: "parameters",
844
+ type: {
845
+ name: "String"
846
+ }
847
+ }
848
+ }
849
+ }
850
+ };
851
+ export const ApplicationDefinitionPatchable = {
852
+ type: {
853
+ name: "Composite",
854
+ className: "ApplicationDefinitionPatchable",
855
+ modelProperties: {
856
+ tags: {
857
+ serializedName: "tags",
858
+ type: {
859
+ name: "Dictionary",
860
+ value: { type: { name: "String" } }
861
+ }
862
+ }
863
+ }
864
+ }
865
+ };
866
+ export const ApplicationDefinitionListResult = {
867
+ type: {
868
+ name: "Composite",
869
+ className: "ApplicationDefinitionListResult",
870
+ modelProperties: {
871
+ value: {
872
+ serializedName: "value",
873
+ type: {
874
+ name: "Sequence",
875
+ element: {
876
+ type: {
877
+ name: "Composite",
878
+ className: "ApplicationDefinition"
879
+ }
880
+ }
881
+ }
882
+ },
883
+ nextLink: {
884
+ serializedName: "nextLink",
885
+ type: {
886
+ name: "String"
887
+ }
888
+ }
889
+ }
890
+ }
891
+ };
892
+ export const ApplicationListResult = {
893
+ type: {
894
+ name: "Composite",
895
+ className: "ApplicationListResult",
896
+ modelProperties: {
897
+ value: {
898
+ serializedName: "value",
899
+ type: {
900
+ name: "Sequence",
901
+ element: {
902
+ type: {
903
+ name: "Composite",
904
+ className: "Application"
905
+ }
906
+ }
907
+ }
908
+ },
909
+ nextLink: {
910
+ serializedName: "nextLink",
911
+ type: {
912
+ name: "String"
913
+ }
914
+ }
915
+ }
916
+ }
917
+ };
918
+ export const JitAuthorizationPolicies = {
919
+ type: {
920
+ name: "Composite",
921
+ className: "JitAuthorizationPolicies",
922
+ modelProperties: {
923
+ principalId: {
924
+ serializedName: "principalId",
925
+ required: true,
926
+ type: {
927
+ name: "String"
928
+ }
929
+ },
930
+ roleDefinitionId: {
931
+ serializedName: "roleDefinitionId",
932
+ required: true,
933
+ type: {
934
+ name: "String"
935
+ }
936
+ }
937
+ }
938
+ }
939
+ };
940
+ export const JitSchedulingPolicy = {
941
+ type: {
942
+ name: "Composite",
943
+ className: "JitSchedulingPolicy",
944
+ modelProperties: {
945
+ type: {
946
+ serializedName: "type",
947
+ required: true,
948
+ type: {
949
+ name: "String"
950
+ }
951
+ },
952
+ duration: {
953
+ serializedName: "duration",
954
+ required: true,
955
+ type: {
956
+ name: "TimeSpan"
957
+ }
958
+ },
959
+ startTime: {
960
+ serializedName: "startTime",
961
+ required: true,
962
+ type: {
963
+ name: "DateTime"
964
+ }
965
+ }
966
+ }
967
+ }
968
+ };
969
+ export const JitRequestPatchable = {
970
+ type: {
971
+ name: "Composite",
972
+ className: "JitRequestPatchable",
973
+ modelProperties: {
974
+ tags: {
975
+ serializedName: "tags",
976
+ type: {
977
+ name: "Dictionary",
978
+ value: { type: { name: "String" } }
979
+ }
980
+ }
981
+ }
982
+ }
983
+ };
984
+ export const JitRequestDefinitionListResult = {
985
+ type: {
986
+ name: "Composite",
987
+ className: "JitRequestDefinitionListResult",
988
+ modelProperties: {
989
+ value: {
990
+ serializedName: "value",
991
+ type: {
992
+ name: "Sequence",
993
+ element: {
994
+ type: {
995
+ name: "Composite",
996
+ className: "JitRequestDefinition"
997
+ }
998
+ }
999
+ }
1000
+ },
1001
+ nextLink: {
1002
+ serializedName: "nextLink",
1003
+ type: {
1004
+ name: "String"
1005
+ }
1006
+ }
1007
+ }
1008
+ }
1009
+ };
1010
+ export const AllowedUpgradePlansResult = {
1011
+ type: {
1012
+ name: "Composite",
1013
+ className: "AllowedUpgradePlansResult",
1014
+ modelProperties: {
1015
+ value: {
1016
+ serializedName: "value",
1017
+ type: {
1018
+ name: "Sequence",
1019
+ element: {
1020
+ type: {
1021
+ name: "Composite",
1022
+ className: "Plan"
1023
+ }
1024
+ }
1025
+ }
300
1026
  }
301
1027
  }
302
1028
  }
303
1029
  };
304
- export const ApplicationProviderAuthorization = {
1030
+ export const UpdateAccessDefinition = {
305
1031
  type: {
306
1032
  name: "Composite",
307
- className: "ApplicationProviderAuthorization",
1033
+ className: "UpdateAccessDefinition",
308
1034
  modelProperties: {
309
- principalId: {
310
- serializedName: "principalId",
1035
+ approver: {
1036
+ serializedName: "approver",
1037
+ type: {
1038
+ name: "String"
1039
+ }
1040
+ },
1041
+ metadata: {
1042
+ serializedName: "metadata",
1043
+ type: {
1044
+ name: "Composite",
1045
+ className: "JitRequestMetadata"
1046
+ }
1047
+ },
1048
+ status: {
1049
+ serializedName: "status",
311
1050
  required: true,
312
1051
  type: {
313
1052
  name: "String"
314
1053
  }
315
1054
  },
316
- roleDefinitionId: {
317
- serializedName: "roleDefinitionId",
1055
+ subStatus: {
1056
+ serializedName: "subStatus",
318
1057
  required: true,
319
1058
  type: {
320
1059
  name: "String"
@@ -323,63 +1062,67 @@ export const ApplicationProviderAuthorization = {
323
1062
  }
324
1063
  }
325
1064
  };
326
- export const ApplicationArtifact = {
1065
+ export const JitRequestMetadata = {
327
1066
  type: {
328
1067
  name: "Composite",
329
- className: "ApplicationArtifact",
1068
+ className: "JitRequestMetadata",
330
1069
  modelProperties: {
331
- name: {
332
- serializedName: "name",
1070
+ originRequestId: {
1071
+ serializedName: "originRequestId",
333
1072
  type: {
334
1073
  name: "String"
335
1074
  }
336
1075
  },
337
- uri: {
338
- serializedName: "uri",
1076
+ requestorId: {
1077
+ serializedName: "requestorId",
339
1078
  type: {
340
1079
  name: "String"
341
1080
  }
342
1081
  },
343
- type: {
344
- serializedName: "type",
1082
+ tenantDisplayName: {
1083
+ serializedName: "tenantDisplayName",
345
1084
  type: {
346
- name: "Enum",
347
- allowedValues: ["Template", "Custom"]
1085
+ name: "String"
1086
+ }
1087
+ },
1088
+ subjectDisplayName: {
1089
+ serializedName: "subjectDisplayName",
1090
+ type: {
1091
+ name: "String"
348
1092
  }
349
1093
  }
350
1094
  }
351
1095
  }
352
1096
  };
353
- export const ApplicationDefinitionListResult = {
1097
+ export const ListTokenRequest = {
354
1098
  type: {
355
1099
  name: "Composite",
356
- className: "ApplicationDefinitionListResult",
1100
+ className: "ListTokenRequest",
357
1101
  modelProperties: {
358
- value: {
359
- serializedName: "value",
1102
+ authorizationAudience: {
1103
+ serializedName: "authorizationAudience",
1104
+ type: {
1105
+ name: "String"
1106
+ }
1107
+ },
1108
+ userAssignedIdentities: {
1109
+ serializedName: "userAssignedIdentities",
360
1110
  type: {
361
1111
  name: "Sequence",
362
1112
  element: {
363
1113
  type: {
364
- name: "Composite",
365
- className: "ApplicationDefinition"
1114
+ name: "String"
366
1115
  }
367
1116
  }
368
1117
  }
369
- },
370
- nextLink: {
371
- serializedName: "nextLink",
372
- type: {
373
- name: "String"
374
- }
375
1118
  }
376
1119
  }
377
1120
  }
378
1121
  };
379
- export const ApplicationListResult = {
1122
+ export const ManagedIdentityTokenResult = {
380
1123
  type: {
381
1124
  name: "Composite",
382
- className: "ApplicationListResult",
1125
+ className: "ManagedIdentityTokenResult",
383
1126
  modelProperties: {
384
1127
  value: {
385
1128
  serializedName: "value",
@@ -388,13 +1131,57 @@ export const ApplicationListResult = {
388
1131
  element: {
389
1132
  type: {
390
1133
  name: "Composite",
391
- className: "Application"
1134
+ className: "ManagedIdentityToken"
392
1135
  }
393
1136
  }
394
1137
  }
1138
+ }
1139
+ }
1140
+ }
1141
+ };
1142
+ export const ManagedIdentityToken = {
1143
+ type: {
1144
+ name: "Composite",
1145
+ className: "ManagedIdentityToken",
1146
+ modelProperties: {
1147
+ accessToken: {
1148
+ serializedName: "accessToken",
1149
+ type: {
1150
+ name: "String"
1151
+ }
395
1152
  },
396
- nextLink: {
397
- serializedName: "nextLink",
1153
+ expiresIn: {
1154
+ serializedName: "expiresIn",
1155
+ type: {
1156
+ name: "String"
1157
+ }
1158
+ },
1159
+ expiresOn: {
1160
+ serializedName: "expiresOn",
1161
+ type: {
1162
+ name: "String"
1163
+ }
1164
+ },
1165
+ notBefore: {
1166
+ serializedName: "notBefore",
1167
+ type: {
1168
+ name: "String"
1169
+ }
1170
+ },
1171
+ authorizationAudience: {
1172
+ serializedName: "authorizationAudience",
1173
+ type: {
1174
+ name: "String"
1175
+ }
1176
+ },
1177
+ resourceId: {
1178
+ serializedName: "resourceId",
1179
+ type: {
1180
+ name: "String"
1181
+ }
1182
+ },
1183
+ tokenType: {
1184
+ serializedName: "tokenType",
398
1185
  type: {
399
1186
  name: "String"
400
1187
  }
@@ -417,11 +1204,64 @@ export const GenericResource = {
417
1204
  name: "Composite",
418
1205
  className: "Sku"
419
1206
  }
420
- }, identity: {
421
- serializedName: "identity",
1207
+ } })
1208
+ }
1209
+ };
1210
+ export const JitRequestDefinition = {
1211
+ type: {
1212
+ name: "Composite",
1213
+ className: "JitRequestDefinition",
1214
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { applicationResourceId: {
1215
+ serializedName: "properties.applicationResourceId",
1216
+ type: {
1217
+ name: "String"
1218
+ }
1219
+ }, publisherTenantId: {
1220
+ serializedName: "properties.publisherTenantId",
1221
+ readOnly: true,
1222
+ type: {
1223
+ name: "String"
1224
+ }
1225
+ }, jitAuthorizationPolicies: {
1226
+ serializedName: "properties.jitAuthorizationPolicies",
1227
+ type: {
1228
+ name: "Sequence",
1229
+ element: {
1230
+ type: {
1231
+ name: "Composite",
1232
+ className: "JitAuthorizationPolicies"
1233
+ }
1234
+ }
1235
+ }
1236
+ }, jitSchedulingPolicy: {
1237
+ serializedName: "properties.jitSchedulingPolicy",
422
1238
  type: {
423
1239
  name: "Composite",
424
- className: "Identity"
1240
+ className: "JitSchedulingPolicy"
1241
+ }
1242
+ }, provisioningState: {
1243
+ serializedName: "properties.provisioningState",
1244
+ readOnly: true,
1245
+ type: {
1246
+ name: "String"
1247
+ }
1248
+ }, jitRequestState: {
1249
+ serializedName: "properties.jitRequestState",
1250
+ readOnly: true,
1251
+ type: {
1252
+ name: "String"
1253
+ }
1254
+ }, createdBy: {
1255
+ serializedName: "properties.createdBy",
1256
+ type: {
1257
+ name: "Composite",
1258
+ className: "ApplicationClientDetails"
1259
+ }
1260
+ }, updatedBy: {
1261
+ serializedName: "properties.updatedBy",
1262
+ type: {
1263
+ name: "Composite",
1264
+ className: "ApplicationClientDetails"
425
1265
  }
426
1266
  } })
427
1267
  }
@@ -445,9 +1285,14 @@ export const Application = {
445
1285
  type: {
446
1286
  name: "String"
447
1287
  }
1288
+ }, identity: {
1289
+ serializedName: "identity",
1290
+ type: {
1291
+ name: "Composite",
1292
+ className: "Identity"
1293
+ }
448
1294
  }, managedResourceGroupId: {
449
1295
  serializedName: "properties.managedResourceGroupId",
450
- required: true,
451
1296
  type: {
452
1297
  name: "String"
453
1298
  }
@@ -475,6 +1320,78 @@ export const Application = {
475
1320
  type: {
476
1321
  name: "String"
477
1322
  }
1323
+ }, billingDetails: {
1324
+ serializedName: "properties.billingDetails",
1325
+ type: {
1326
+ name: "Composite",
1327
+ className: "ApplicationBillingDetailsDefinition"
1328
+ }
1329
+ }, jitAccessPolicy: {
1330
+ serializedName: "properties.jitAccessPolicy",
1331
+ type: {
1332
+ name: "Composite",
1333
+ className: "ApplicationJitAccessPolicy"
1334
+ }
1335
+ }, publisherTenantId: {
1336
+ serializedName: "properties.publisherTenantId",
1337
+ readOnly: true,
1338
+ type: {
1339
+ name: "String"
1340
+ }
1341
+ }, authorizations: {
1342
+ serializedName: "properties.authorizations",
1343
+ readOnly: true,
1344
+ type: {
1345
+ name: "Sequence",
1346
+ element: {
1347
+ type: {
1348
+ name: "Composite",
1349
+ className: "ApplicationAuthorization"
1350
+ }
1351
+ }
1352
+ }
1353
+ }, managementMode: {
1354
+ serializedName: "properties.managementMode",
1355
+ readOnly: true,
1356
+ type: {
1357
+ name: "String"
1358
+ }
1359
+ }, customerSupport: {
1360
+ serializedName: "properties.customerSupport",
1361
+ type: {
1362
+ name: "Composite",
1363
+ className: "ApplicationPackageContact"
1364
+ }
1365
+ }, supportUrls: {
1366
+ serializedName: "properties.supportUrls",
1367
+ type: {
1368
+ name: "Composite",
1369
+ className: "ApplicationPackageSupportUrls"
1370
+ }
1371
+ }, artifacts: {
1372
+ serializedName: "properties.artifacts",
1373
+ readOnly: true,
1374
+ type: {
1375
+ name: "Sequence",
1376
+ element: {
1377
+ type: {
1378
+ name: "Composite",
1379
+ className: "ApplicationArtifact"
1380
+ }
1381
+ }
1382
+ }
1383
+ }, createdBy: {
1384
+ serializedName: "properties.createdBy",
1385
+ type: {
1386
+ name: "Composite",
1387
+ className: "ApplicationClientDetails"
1388
+ }
1389
+ }, updatedBy: {
1390
+ serializedName: "properties.updatedBy",
1391
+ type: {
1392
+ name: "Composite",
1393
+ className: "ApplicationClientDetails"
1394
+ }
478
1395
  } })
479
1396
  }
480
1397
  };
@@ -496,6 +1413,12 @@ export const ApplicationPatchable = {
496
1413
  type: {
497
1414
  name: "String"
498
1415
  }
1416
+ }, identity: {
1417
+ serializedName: "identity",
1418
+ type: {
1419
+ name: "Composite",
1420
+ className: "Identity"
1421
+ }
499
1422
  }, managedResourceGroupId: {
500
1423
  serializedName: "properties.managedResourceGroupId",
501
1424
  type: {
@@ -525,6 +1448,78 @@ export const ApplicationPatchable = {
525
1448
  type: {
526
1449
  name: "String"
527
1450
  }
1451
+ }, billingDetails: {
1452
+ serializedName: "properties.billingDetails",
1453
+ type: {
1454
+ name: "Composite",
1455
+ className: "ApplicationBillingDetailsDefinition"
1456
+ }
1457
+ }, jitAccessPolicy: {
1458
+ serializedName: "properties.jitAccessPolicy",
1459
+ type: {
1460
+ name: "Composite",
1461
+ className: "ApplicationJitAccessPolicy"
1462
+ }
1463
+ }, publisherTenantId: {
1464
+ serializedName: "properties.publisherTenantId",
1465
+ readOnly: true,
1466
+ type: {
1467
+ name: "String"
1468
+ }
1469
+ }, authorizations: {
1470
+ serializedName: "properties.authorizations",
1471
+ readOnly: true,
1472
+ type: {
1473
+ name: "Sequence",
1474
+ element: {
1475
+ type: {
1476
+ name: "Composite",
1477
+ className: "ApplicationAuthorization"
1478
+ }
1479
+ }
1480
+ }
1481
+ }, managementMode: {
1482
+ serializedName: "properties.managementMode",
1483
+ readOnly: true,
1484
+ type: {
1485
+ name: "String"
1486
+ }
1487
+ }, customerSupport: {
1488
+ serializedName: "properties.customerSupport",
1489
+ type: {
1490
+ name: "Composite",
1491
+ className: "ApplicationPackageContact"
1492
+ }
1493
+ }, supportUrls: {
1494
+ serializedName: "properties.supportUrls",
1495
+ type: {
1496
+ name: "Composite",
1497
+ className: "ApplicationPackageSupportUrls"
1498
+ }
1499
+ }, artifacts: {
1500
+ serializedName: "properties.artifacts",
1501
+ readOnly: true,
1502
+ type: {
1503
+ name: "Sequence",
1504
+ element: {
1505
+ type: {
1506
+ name: "Composite",
1507
+ className: "ApplicationArtifact"
1508
+ }
1509
+ }
1510
+ }
1511
+ }, createdBy: {
1512
+ serializedName: "properties.createdBy",
1513
+ type: {
1514
+ name: "Composite",
1515
+ className: "ApplicationClientDetails"
1516
+ }
1517
+ }, updatedBy: {
1518
+ serializedName: "properties.updatedBy",
1519
+ type: {
1520
+ name: "Composite",
1521
+ className: "ApplicationClientDetails"
1522
+ }
528
1523
  } })
529
1524
  }
530
1525
  };
@@ -547,17 +1542,16 @@ export const ApplicationDefinition = {
547
1542
  }, isEnabled: {
548
1543
  serializedName: "properties.isEnabled",
549
1544
  type: {
550
- name: "String"
1545
+ name: "Boolean"
551
1546
  }
552
1547
  }, authorizations: {
553
1548
  serializedName: "properties.authorizations",
554
- required: true,
555
1549
  type: {
556
1550
  name: "Sequence",
557
1551
  element: {
558
1552
  type: {
559
1553
  name: "Composite",
560
- className: "ApplicationProviderAuthorization"
1554
+ className: "ApplicationAuthorization"
561
1555
  }
562
1556
  }
563
1557
  }
@@ -568,7 +1562,7 @@ export const ApplicationDefinition = {
568
1562
  element: {
569
1563
  type: {
570
1564
  name: "Composite",
571
- className: "ApplicationArtifact"
1565
+ className: "ApplicationDefinitionArtifact"
572
1566
  }
573
1567
  }
574
1568
  }
@@ -582,6 +1576,11 @@ export const ApplicationDefinition = {
582
1576
  type: {
583
1577
  name: "String"
584
1578
  }
1579
+ }, storageAccountId: {
1580
+ serializedName: "properties.storageAccountId",
1581
+ type: {
1582
+ name: "String"
1583
+ }
585
1584
  }, mainTemplate: {
586
1585
  serializedName: "properties.mainTemplate",
587
1586
  type: {
@@ -594,6 +1593,41 @@ export const ApplicationDefinition = {
594
1593
  name: "Dictionary",
595
1594
  value: { type: { name: "any" } }
596
1595
  }
1596
+ }, notificationPolicy: {
1597
+ serializedName: "properties.notificationPolicy",
1598
+ type: {
1599
+ name: "Composite",
1600
+ className: "ApplicationNotificationPolicy"
1601
+ }
1602
+ }, lockingPolicy: {
1603
+ serializedName: "properties.lockingPolicy",
1604
+ type: {
1605
+ name: "Composite",
1606
+ className: "ApplicationPackageLockingPolicyDefinition"
1607
+ }
1608
+ }, deploymentPolicy: {
1609
+ serializedName: "properties.deploymentPolicy",
1610
+ type: {
1611
+ name: "Composite",
1612
+ className: "ApplicationDeploymentPolicy"
1613
+ }
1614
+ }, managementPolicy: {
1615
+ serializedName: "properties.managementPolicy",
1616
+ type: {
1617
+ name: "Composite",
1618
+ className: "ApplicationManagementPolicy"
1619
+ }
1620
+ }, policies: {
1621
+ serializedName: "properties.policies",
1622
+ type: {
1623
+ name: "Sequence",
1624
+ element: {
1625
+ type: {
1626
+ name: "Composite",
1627
+ className: "ApplicationPolicy"
1628
+ }
1629
+ }
1630
+ }
597
1631
  } })
598
1632
  }
599
1633
  };