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