@azure/arm-maintenance 1.0.0-alpha.20240513.1 → 1.0.0-alpha.20240522.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -1
- package/LICENSE +1 -1
- package/dist/index.js +718 -553
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js +1 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.d.ts +2 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.js +66 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.js.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.js +1 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.js +1 -1
- package/dist-esm/samples-dev/applyUpdatesGetSample.js +1 -1
- package/dist-esm/samples-dev/applyUpdatesListSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.js +3 -3
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.js +7 -7
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js +7 -7
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.js +7 -7
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsListSample.js +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js +1 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js +3 -3
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js +1 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js +3 -3
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js +1 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js +1 -1
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.d.ts +2 -0
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.js +41 -0
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.js.map +1 -0
- package/dist-esm/samples-dev/updatesListParentSample.js +1 -1
- package/dist-esm/samples-dev/updatesListSample.js +1 -1
- package/dist-esm/src/maintenanceManagementClient.d.ts +3 -3
- package/dist-esm/src/maintenanceManagementClient.d.ts.map +1 -1
- package/dist-esm/src/maintenanceManagementClient.js +21 -16
- package/dist-esm/src/maintenanceManagementClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +38 -14
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -2
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +262 -248
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +7 -4
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +94 -66
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/applyUpdateForResourceGroup.d.ts.map +1 -1
- package/dist-esm/src/operations/applyUpdateForResourceGroup.js +6 -6
- package/dist-esm/src/operations/applyUpdateForResourceGroup.js.map +1 -1
- package/dist-esm/src/operations/applyUpdates.d.ts +12 -1
- package/dist-esm/src/operations/applyUpdates.d.ts.map +1 -1
- package/dist-esm/src/operations/applyUpdates.js +86 -36
- package/dist-esm/src/operations/applyUpdates.js.map +1 -1
- package/dist-esm/src/operations/configurationAssignments.js +65 -65
- package/dist-esm/src/operations/configurationAssignments.js.map +1 -1
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.d.ts.map +1 -1
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.js +27 -27
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.js.map +1 -1
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.d.ts.map +1 -1
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.js +21 -21
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.js.map +1 -1
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.d.ts.map +1 -1
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js +5 -5
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js.map +1 -1
- package/dist-esm/src/operations/index.d.ts +1 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -1
- package/dist-esm/src/operations/index.js +1 -0
- package/dist-esm/src/operations/index.js.map +1 -1
- package/dist-esm/src/operations/maintenanceConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operations/maintenanceConfigurations.js +26 -26
- package/dist-esm/src/operations/maintenanceConfigurations.js.map +1 -1
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -1
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js +6 -6
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist-esm/src/operations/operations.js +5 -5
- package/dist-esm/src/operations/publicMaintenanceConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js +10 -10
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js.map +1 -1
- package/dist-esm/src/operations/scheduledEvent.d.ts +23 -0
- package/dist-esm/src/operations/scheduledEvent.d.ts.map +1 -0
- package/dist-esm/src/operations/scheduledEvent.js +64 -0
- package/dist-esm/src/operations/scheduledEvent.js.map +1 -0
- package/dist-esm/src/operations/updates.js +15 -15
- package/dist-esm/src/operations/updates.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/applyUpdates.d.ts +12 -1
- package/dist-esm/src/operationsInterfaces/applyUpdates.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/index.js +1 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/scheduledEvent.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/scheduledEvent.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/scheduledEvent.js +9 -0
- package/dist-esm/src/operationsInterfaces/scheduledEvent.js.map +1 -0
- package/dist-esm/test/maintenance_operations_test.spec.d.ts.map +1 -1
- package/dist-esm/test/maintenance_operations_test.spec.js +8 -7
- package/dist-esm/test/maintenance_operations_test.spec.js.map +1 -1
- package/package.json +9 -8
- package/review/arm-maintenance.api.md +30 -0
- package/src/maintenanceManagementClient.ts +34 -35
- package/src/models/index.ts +88 -40
- package/src/models/mappers.ts +307 -291
- package/src/models/parameters.ts +101 -69
- package/src/operations/applyUpdateForResourceGroup.ts +15 -15
- package/src/operations/applyUpdates.ts +118 -59
- package/src/operations/configurationAssignments.ts +104 -112
- package/src/operations/configurationAssignmentsForResourceGroup.ts +42 -45
- package/src/operations/configurationAssignmentsForSubscriptions.ts +36 -39
- package/src/operations/configurationAssignmentsWithinSubscription.ts +13 -13
- package/src/operations/index.ts +1 -0
- package/src/operations/maintenanceConfigurations.ts +46 -50
- package/src/operations/maintenanceConfigurationsForResourceGroup.ts +15 -15
- package/src/operations/operations.ts +10 -10
- package/src/operations/publicMaintenanceConfigurations.ts +21 -22
- package/src/operations/scheduledEvent.ts +84 -0
- package/src/operations/updates.ts +36 -38
- package/src/operationsInterfaces/applyUpdateForResourceGroup.ts +2 -2
- package/src/operationsInterfaces/applyUpdates.ts +27 -6
- package/src/operationsInterfaces/configurationAssignments.ts +9 -9
- package/src/operationsInterfaces/configurationAssignmentsForResourceGroup.ts +5 -5
- package/src/operationsInterfaces/configurationAssignmentsForSubscriptions.ts +5 -5
- package/src/operationsInterfaces/configurationAssignmentsWithinSubscription.ts +2 -2
- package/src/operationsInterfaces/index.ts +1 -0
- package/src/operationsInterfaces/maintenanceConfigurations.ts +6 -6
- package/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.ts +2 -2
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/publicMaintenanceConfigurations.ts +3 -3
- package/src/operationsInterfaces/scheduledEvent.ts +32 -0
- package/src/operationsInterfaces/updates.ts +3 -3
- package/src/pagingHelper.ts +1 -1
- package/types/arm-maintenance.d.ts +58 -4
- package/types/tsdoc-metadata.json +1 -1
package/dist/index.js
CHANGED
|
@@ -117,6 +117,12 @@ exports.KnownUpdateStatus = void 0;
|
|
|
117
117
|
KnownUpdateStatus["RetryNow"] = "RetryNow";
|
|
118
118
|
/** Updates installation failed and should be retried later. */
|
|
119
119
|
KnownUpdateStatus["RetryLater"] = "RetryLater";
|
|
120
|
+
/** No updates are pending. */
|
|
121
|
+
KnownUpdateStatus["NoUpdatesPending"] = "NoUpdatesPending";
|
|
122
|
+
/** Cancel the schedule and stop creating PMR for resources part of it. Applicable to Maintenance Configuration resource type only. */
|
|
123
|
+
KnownUpdateStatus["Cancel"] = "Cancel";
|
|
124
|
+
/** Send the Cancelled response to the user if request came to cancel the schedule. Applicable to Maintenance Configuration resource type only. */
|
|
125
|
+
KnownUpdateStatus["Cancelled"] = "Cancelled";
|
|
120
126
|
})(exports.KnownUpdateStatus || (exports.KnownUpdateStatus = {}));
|
|
121
127
|
/** Known values of {@link ImpactType} that the service accepts. */
|
|
122
128
|
exports.KnownImpactType = void 0;
|
|
@@ -138,6 +144,55 @@ exports.KnownImpactType = void 0;
|
|
|
138
144
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
139
145
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
140
146
|
*/
|
|
147
|
+
const ScheduledEventApproveResponse = {
|
|
148
|
+
type: {
|
|
149
|
+
name: "Composite",
|
|
150
|
+
className: "ScheduledEventApproveResponse",
|
|
151
|
+
modelProperties: {
|
|
152
|
+
value: {
|
|
153
|
+
serializedName: "value",
|
|
154
|
+
type: {
|
|
155
|
+
name: "String",
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
};
|
|
161
|
+
const MaintenanceError = {
|
|
162
|
+
type: {
|
|
163
|
+
name: "Composite",
|
|
164
|
+
className: "MaintenanceError",
|
|
165
|
+
modelProperties: {
|
|
166
|
+
error: {
|
|
167
|
+
serializedName: "error",
|
|
168
|
+
type: {
|
|
169
|
+
name: "Composite",
|
|
170
|
+
className: "ErrorDetails",
|
|
171
|
+
},
|
|
172
|
+
},
|
|
173
|
+
},
|
|
174
|
+
},
|
|
175
|
+
};
|
|
176
|
+
const ErrorDetails = {
|
|
177
|
+
type: {
|
|
178
|
+
name: "Composite",
|
|
179
|
+
className: "ErrorDetails",
|
|
180
|
+
modelProperties: {
|
|
181
|
+
code: {
|
|
182
|
+
serializedName: "code",
|
|
183
|
+
type: {
|
|
184
|
+
name: "String",
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
message: {
|
|
188
|
+
serializedName: "message",
|
|
189
|
+
type: {
|
|
190
|
+
name: "String",
|
|
191
|
+
},
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
},
|
|
195
|
+
};
|
|
141
196
|
const ListMaintenanceConfigurationsResult = {
|
|
142
197
|
type: {
|
|
143
198
|
name: "Composite",
|
|
@@ -150,13 +205,13 @@ const ListMaintenanceConfigurationsResult = {
|
|
|
150
205
|
element: {
|
|
151
206
|
type: {
|
|
152
207
|
name: "Composite",
|
|
153
|
-
className: "MaintenanceConfiguration"
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
208
|
+
className: "MaintenanceConfiguration",
|
|
209
|
+
},
|
|
210
|
+
},
|
|
211
|
+
},
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
},
|
|
160
215
|
};
|
|
161
216
|
const InputPatchConfiguration = {
|
|
162
217
|
type: {
|
|
@@ -167,25 +222,25 @@ const InputPatchConfiguration = {
|
|
|
167
222
|
defaultValue: "IfRequired",
|
|
168
223
|
serializedName: "rebootSetting",
|
|
169
224
|
type: {
|
|
170
|
-
name: "String"
|
|
171
|
-
}
|
|
225
|
+
name: "String",
|
|
226
|
+
},
|
|
172
227
|
},
|
|
173
228
|
windowsParameters: {
|
|
174
229
|
serializedName: "windowsParameters",
|
|
175
230
|
type: {
|
|
176
231
|
name: "Composite",
|
|
177
|
-
className: "InputWindowsParameters"
|
|
178
|
-
}
|
|
232
|
+
className: "InputWindowsParameters",
|
|
233
|
+
},
|
|
179
234
|
},
|
|
180
235
|
linuxParameters: {
|
|
181
236
|
serializedName: "linuxParameters",
|
|
182
237
|
type: {
|
|
183
238
|
name: "Composite",
|
|
184
|
-
className: "InputLinuxParameters"
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
}
|
|
239
|
+
className: "InputLinuxParameters",
|
|
240
|
+
},
|
|
241
|
+
},
|
|
242
|
+
},
|
|
243
|
+
},
|
|
189
244
|
};
|
|
190
245
|
const InputWindowsParameters = {
|
|
191
246
|
type: {
|
|
@@ -198,10 +253,10 @@ const InputWindowsParameters = {
|
|
|
198
253
|
name: "Sequence",
|
|
199
254
|
element: {
|
|
200
255
|
type: {
|
|
201
|
-
name: "String"
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
}
|
|
256
|
+
name: "String",
|
|
257
|
+
},
|
|
258
|
+
},
|
|
259
|
+
},
|
|
205
260
|
},
|
|
206
261
|
kbNumbersToInclude: {
|
|
207
262
|
serializedName: "kbNumbersToInclude",
|
|
@@ -209,10 +264,10 @@ const InputWindowsParameters = {
|
|
|
209
264
|
name: "Sequence",
|
|
210
265
|
element: {
|
|
211
266
|
type: {
|
|
212
|
-
name: "String"
|
|
213
|
-
}
|
|
214
|
-
}
|
|
215
|
-
}
|
|
267
|
+
name: "String",
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
},
|
|
216
271
|
},
|
|
217
272
|
classificationsToInclude: {
|
|
218
273
|
serializedName: "classificationsToInclude",
|
|
@@ -220,19 +275,19 @@ const InputWindowsParameters = {
|
|
|
220
275
|
name: "Sequence",
|
|
221
276
|
element: {
|
|
222
277
|
type: {
|
|
223
|
-
name: "String"
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
}
|
|
278
|
+
name: "String",
|
|
279
|
+
},
|
|
280
|
+
},
|
|
281
|
+
},
|
|
227
282
|
},
|
|
228
283
|
excludeKbsRequiringReboot: {
|
|
229
284
|
serializedName: "excludeKbsRequiringReboot",
|
|
230
285
|
type: {
|
|
231
|
-
name: "Boolean"
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}
|
|
286
|
+
name: "Boolean",
|
|
287
|
+
},
|
|
288
|
+
},
|
|
289
|
+
},
|
|
290
|
+
},
|
|
236
291
|
};
|
|
237
292
|
const InputLinuxParameters = {
|
|
238
293
|
type: {
|
|
@@ -245,10 +300,10 @@ const InputLinuxParameters = {
|
|
|
245
300
|
name: "Sequence",
|
|
246
301
|
element: {
|
|
247
302
|
type: {
|
|
248
|
-
name: "String"
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
}
|
|
303
|
+
name: "String",
|
|
304
|
+
},
|
|
305
|
+
},
|
|
306
|
+
},
|
|
252
307
|
},
|
|
253
308
|
packageNameMasksToInclude: {
|
|
254
309
|
serializedName: "packageNameMasksToInclude",
|
|
@@ -256,10 +311,10 @@ const InputLinuxParameters = {
|
|
|
256
311
|
name: "Sequence",
|
|
257
312
|
element: {
|
|
258
313
|
type: {
|
|
259
|
-
name: "String"
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
}
|
|
314
|
+
name: "String",
|
|
315
|
+
},
|
|
316
|
+
},
|
|
317
|
+
},
|
|
263
318
|
},
|
|
264
319
|
classificationsToInclude: {
|
|
265
320
|
serializedName: "classificationsToInclude",
|
|
@@ -267,13 +322,13 @@ const InputLinuxParameters = {
|
|
|
267
322
|
name: "Sequence",
|
|
268
323
|
element: {
|
|
269
324
|
type: {
|
|
270
|
-
name: "String"
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
325
|
+
name: "String",
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
},
|
|
330
|
+
},
|
|
331
|
+
},
|
|
277
332
|
};
|
|
278
333
|
const Resource = {
|
|
279
334
|
type: {
|
|
@@ -284,32 +339,32 @@ const Resource = {
|
|
|
284
339
|
serializedName: "id",
|
|
285
340
|
readOnly: true,
|
|
286
341
|
type: {
|
|
287
|
-
name: "String"
|
|
288
|
-
}
|
|
342
|
+
name: "String",
|
|
343
|
+
},
|
|
289
344
|
},
|
|
290
345
|
name: {
|
|
291
346
|
serializedName: "name",
|
|
292
347
|
readOnly: true,
|
|
293
348
|
type: {
|
|
294
|
-
name: "String"
|
|
295
|
-
}
|
|
349
|
+
name: "String",
|
|
350
|
+
},
|
|
296
351
|
},
|
|
297
352
|
type: {
|
|
298
353
|
serializedName: "type",
|
|
299
354
|
readOnly: true,
|
|
300
355
|
type: {
|
|
301
|
-
name: "String"
|
|
302
|
-
}
|
|
356
|
+
name: "String",
|
|
357
|
+
},
|
|
303
358
|
},
|
|
304
359
|
systemData: {
|
|
305
360
|
serializedName: "systemData",
|
|
306
361
|
type: {
|
|
307
362
|
name: "Composite",
|
|
308
|
-
className: "SystemData"
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
}
|
|
363
|
+
className: "SystemData",
|
|
364
|
+
},
|
|
365
|
+
},
|
|
366
|
+
},
|
|
367
|
+
},
|
|
313
368
|
};
|
|
314
369
|
const SystemData = {
|
|
315
370
|
type: {
|
|
@@ -319,76 +374,41 @@ const SystemData = {
|
|
|
319
374
|
createdBy: {
|
|
320
375
|
serializedName: "createdBy",
|
|
321
376
|
type: {
|
|
322
|
-
name: "String"
|
|
323
|
-
}
|
|
377
|
+
name: "String",
|
|
378
|
+
},
|
|
324
379
|
},
|
|
325
380
|
createdByType: {
|
|
326
381
|
serializedName: "createdByType",
|
|
327
382
|
type: {
|
|
328
|
-
name: "String"
|
|
329
|
-
}
|
|
383
|
+
name: "String",
|
|
384
|
+
},
|
|
330
385
|
},
|
|
331
386
|
createdAt: {
|
|
332
387
|
serializedName: "createdAt",
|
|
333
388
|
type: {
|
|
334
|
-
name: "DateTime"
|
|
335
|
-
}
|
|
389
|
+
name: "DateTime",
|
|
390
|
+
},
|
|
336
391
|
},
|
|
337
392
|
lastModifiedBy: {
|
|
338
393
|
serializedName: "lastModifiedBy",
|
|
339
394
|
type: {
|
|
340
|
-
name: "String"
|
|
341
|
-
}
|
|
395
|
+
name: "String",
|
|
396
|
+
},
|
|
342
397
|
},
|
|
343
398
|
lastModifiedByType: {
|
|
344
399
|
serializedName: "lastModifiedByType",
|
|
345
400
|
type: {
|
|
346
|
-
name: "String"
|
|
347
|
-
}
|
|
401
|
+
name: "String",
|
|
402
|
+
},
|
|
348
403
|
},
|
|
349
404
|
lastModifiedAt: {
|
|
350
405
|
serializedName: "lastModifiedAt",
|
|
351
406
|
type: {
|
|
352
|
-
name: "DateTime"
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
};
|
|
358
|
-
const MaintenanceError = {
|
|
359
|
-
type: {
|
|
360
|
-
name: "Composite",
|
|
361
|
-
className: "MaintenanceError",
|
|
362
|
-
modelProperties: {
|
|
363
|
-
error: {
|
|
364
|
-
serializedName: "error",
|
|
365
|
-
type: {
|
|
366
|
-
name: "Composite",
|
|
367
|
-
className: "ErrorDetails"
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
};
|
|
373
|
-
const ErrorDetails = {
|
|
374
|
-
type: {
|
|
375
|
-
name: "Composite",
|
|
376
|
-
className: "ErrorDetails",
|
|
377
|
-
modelProperties: {
|
|
378
|
-
code: {
|
|
379
|
-
serializedName: "code",
|
|
380
|
-
type: {
|
|
381
|
-
name: "String"
|
|
382
|
-
}
|
|
407
|
+
name: "DateTime",
|
|
408
|
+
},
|
|
383
409
|
},
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
type: {
|
|
387
|
-
name: "String"
|
|
388
|
-
}
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
}
|
|
410
|
+
},
|
|
411
|
+
},
|
|
392
412
|
};
|
|
393
413
|
const ConfigurationAssignmentFilterProperties = {
|
|
394
414
|
type: {
|
|
@@ -401,10 +421,10 @@ const ConfigurationAssignmentFilterProperties = {
|
|
|
401
421
|
name: "Sequence",
|
|
402
422
|
element: {
|
|
403
423
|
type: {
|
|
404
|
-
name: "String"
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
}
|
|
424
|
+
name: "String",
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
},
|
|
408
428
|
},
|
|
409
429
|
resourceGroups: {
|
|
410
430
|
serializedName: "resourceGroups",
|
|
@@ -412,10 +432,10 @@ const ConfigurationAssignmentFilterProperties = {
|
|
|
412
432
|
name: "Sequence",
|
|
413
433
|
element: {
|
|
414
434
|
type: {
|
|
415
|
-
name: "String"
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
435
|
+
name: "String",
|
|
436
|
+
},
|
|
437
|
+
},
|
|
438
|
+
},
|
|
419
439
|
},
|
|
420
440
|
osTypes: {
|
|
421
441
|
serializedName: "osTypes",
|
|
@@ -423,10 +443,10 @@ const ConfigurationAssignmentFilterProperties = {
|
|
|
423
443
|
name: "Sequence",
|
|
424
444
|
element: {
|
|
425
445
|
type: {
|
|
426
|
-
name: "String"
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
}
|
|
446
|
+
name: "String",
|
|
447
|
+
},
|
|
448
|
+
},
|
|
449
|
+
},
|
|
430
450
|
},
|
|
431
451
|
locations: {
|
|
432
452
|
serializedName: "locations",
|
|
@@ -434,20 +454,20 @@ const ConfigurationAssignmentFilterProperties = {
|
|
|
434
454
|
name: "Sequence",
|
|
435
455
|
element: {
|
|
436
456
|
type: {
|
|
437
|
-
name: "String"
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}
|
|
457
|
+
name: "String",
|
|
458
|
+
},
|
|
459
|
+
},
|
|
460
|
+
},
|
|
441
461
|
},
|
|
442
462
|
tagSettings: {
|
|
443
463
|
serializedName: "tagSettings",
|
|
444
464
|
type: {
|
|
445
465
|
name: "Composite",
|
|
446
|
-
className: "TagSettingsProperties"
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
}
|
|
466
|
+
className: "TagSettingsProperties",
|
|
467
|
+
},
|
|
468
|
+
},
|
|
469
|
+
},
|
|
470
|
+
},
|
|
451
471
|
};
|
|
452
472
|
const TagSettingsProperties = {
|
|
453
473
|
type: {
|
|
@@ -459,19 +479,19 @@ const TagSettingsProperties = {
|
|
|
459
479
|
type: {
|
|
460
480
|
name: "Dictionary",
|
|
461
481
|
value: {
|
|
462
|
-
type: { name: "Sequence", element: { type: { name: "String" } } }
|
|
463
|
-
}
|
|
464
|
-
}
|
|
482
|
+
type: { name: "Sequence", element: { type: { name: "String" } } },
|
|
483
|
+
},
|
|
484
|
+
},
|
|
465
485
|
},
|
|
466
486
|
filterOperator: {
|
|
467
487
|
serializedName: "filterOperator",
|
|
468
488
|
type: {
|
|
469
489
|
name: "Enum",
|
|
470
|
-
allowedValues: ["All", "Any"]
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
}
|
|
490
|
+
allowedValues: ["All", "Any"],
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
},
|
|
475
495
|
};
|
|
476
496
|
const ListConfigurationAssignmentsResult = {
|
|
477
497
|
type: {
|
|
@@ -485,13 +505,13 @@ const ListConfigurationAssignmentsResult = {
|
|
|
485
505
|
element: {
|
|
486
506
|
type: {
|
|
487
507
|
name: "Composite",
|
|
488
|
-
className: "ConfigurationAssignment"
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
508
|
+
className: "ConfigurationAssignment",
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
},
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
},
|
|
495
515
|
};
|
|
496
516
|
const ListApplyUpdate = {
|
|
497
517
|
type: {
|
|
@@ -505,13 +525,13 @@ const ListApplyUpdate = {
|
|
|
505
525
|
element: {
|
|
506
526
|
type: {
|
|
507
527
|
name: "Composite",
|
|
508
|
-
className: "ApplyUpdate"
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
}
|
|
528
|
+
className: "ApplyUpdate",
|
|
529
|
+
},
|
|
530
|
+
},
|
|
531
|
+
},
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
},
|
|
515
535
|
};
|
|
516
536
|
const OperationsListResult = {
|
|
517
537
|
type: {
|
|
@@ -525,13 +545,13 @@ const OperationsListResult = {
|
|
|
525
545
|
element: {
|
|
526
546
|
type: {
|
|
527
547
|
name: "Composite",
|
|
528
|
-
className: "Operation"
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}
|
|
548
|
+
className: "Operation",
|
|
549
|
+
},
|
|
550
|
+
},
|
|
551
|
+
},
|
|
552
|
+
},
|
|
553
|
+
},
|
|
554
|
+
},
|
|
535
555
|
};
|
|
536
556
|
const Operation = {
|
|
537
557
|
type: {
|
|
@@ -541,37 +561,37 @@ const Operation = {
|
|
|
541
561
|
name: {
|
|
542
562
|
serializedName: "name",
|
|
543
563
|
type: {
|
|
544
|
-
name: "String"
|
|
545
|
-
}
|
|
564
|
+
name: "String",
|
|
565
|
+
},
|
|
546
566
|
},
|
|
547
567
|
display: {
|
|
548
568
|
serializedName: "display",
|
|
549
569
|
type: {
|
|
550
570
|
name: "Composite",
|
|
551
|
-
className: "OperationInfo"
|
|
552
|
-
}
|
|
571
|
+
className: "OperationInfo",
|
|
572
|
+
},
|
|
553
573
|
},
|
|
554
574
|
origin: {
|
|
555
575
|
serializedName: "origin",
|
|
556
576
|
type: {
|
|
557
|
-
name: "String"
|
|
558
|
-
}
|
|
577
|
+
name: "String",
|
|
578
|
+
},
|
|
559
579
|
},
|
|
560
580
|
properties: {
|
|
561
581
|
serializedName: "properties",
|
|
562
582
|
type: {
|
|
563
583
|
name: "Dictionary",
|
|
564
|
-
value: { type: { name: "any" } }
|
|
565
|
-
}
|
|
584
|
+
value: { type: { name: "any" } },
|
|
585
|
+
},
|
|
566
586
|
},
|
|
567
587
|
isDataAction: {
|
|
568
588
|
serializedName: "isDataAction",
|
|
569
589
|
type: {
|
|
570
|
-
name: "Boolean"
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
}
|
|
590
|
+
name: "Boolean",
|
|
591
|
+
},
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
},
|
|
575
595
|
};
|
|
576
596
|
const OperationInfo = {
|
|
577
597
|
type: {
|
|
@@ -581,29 +601,29 @@ const OperationInfo = {
|
|
|
581
601
|
provider: {
|
|
582
602
|
serializedName: "provider",
|
|
583
603
|
type: {
|
|
584
|
-
name: "String"
|
|
585
|
-
}
|
|
604
|
+
name: "String",
|
|
605
|
+
},
|
|
586
606
|
},
|
|
587
607
|
resource: {
|
|
588
608
|
serializedName: "resource",
|
|
589
609
|
type: {
|
|
590
|
-
name: "String"
|
|
591
|
-
}
|
|
610
|
+
name: "String",
|
|
611
|
+
},
|
|
592
612
|
},
|
|
593
613
|
operation: {
|
|
594
614
|
serializedName: "operation",
|
|
595
615
|
type: {
|
|
596
|
-
name: "String"
|
|
597
|
-
}
|
|
616
|
+
name: "String",
|
|
617
|
+
},
|
|
598
618
|
},
|
|
599
619
|
description: {
|
|
600
620
|
serializedName: "description",
|
|
601
621
|
type: {
|
|
602
|
-
name: "String"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
}
|
|
606
|
-
}
|
|
622
|
+
name: "String",
|
|
623
|
+
},
|
|
624
|
+
},
|
|
625
|
+
},
|
|
626
|
+
},
|
|
607
627
|
};
|
|
608
628
|
const ListUpdatesResult = {
|
|
609
629
|
type: {
|
|
@@ -617,13 +637,13 @@ const ListUpdatesResult = {
|
|
|
617
637
|
element: {
|
|
618
638
|
type: {
|
|
619
639
|
name: "Composite",
|
|
620
|
-
className: "Update"
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
}
|
|
626
|
-
}
|
|
640
|
+
className: "Update",
|
|
641
|
+
},
|
|
642
|
+
},
|
|
643
|
+
},
|
|
644
|
+
},
|
|
645
|
+
},
|
|
646
|
+
},
|
|
627
647
|
};
|
|
628
648
|
const Update = {
|
|
629
649
|
type: {
|
|
@@ -633,41 +653,41 @@ const Update = {
|
|
|
633
653
|
maintenanceScope: {
|
|
634
654
|
serializedName: "maintenanceScope",
|
|
635
655
|
type: {
|
|
636
|
-
name: "String"
|
|
637
|
-
}
|
|
656
|
+
name: "String",
|
|
657
|
+
},
|
|
638
658
|
},
|
|
639
659
|
impactType: {
|
|
640
660
|
serializedName: "impactType",
|
|
641
661
|
type: {
|
|
642
|
-
name: "String"
|
|
643
|
-
}
|
|
662
|
+
name: "String",
|
|
663
|
+
},
|
|
644
664
|
},
|
|
645
665
|
status: {
|
|
646
666
|
serializedName: "status",
|
|
647
667
|
type: {
|
|
648
|
-
name: "String"
|
|
649
|
-
}
|
|
668
|
+
name: "String",
|
|
669
|
+
},
|
|
650
670
|
},
|
|
651
671
|
impactDurationInSec: {
|
|
652
672
|
serializedName: "impactDurationInSec",
|
|
653
673
|
type: {
|
|
654
|
-
name: "Number"
|
|
655
|
-
}
|
|
674
|
+
name: "Number",
|
|
675
|
+
},
|
|
656
676
|
},
|
|
657
677
|
notBefore: {
|
|
658
678
|
serializedName: "notBefore",
|
|
659
679
|
type: {
|
|
660
|
-
name: "DateTime"
|
|
661
|
-
}
|
|
680
|
+
name: "DateTime",
|
|
681
|
+
},
|
|
662
682
|
},
|
|
663
683
|
resourceId: {
|
|
664
684
|
serializedName: "properties.resourceId",
|
|
665
685
|
type: {
|
|
666
|
-
name: "String"
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
}
|
|
686
|
+
name: "String",
|
|
687
|
+
},
|
|
688
|
+
},
|
|
689
|
+
},
|
|
690
|
+
},
|
|
671
691
|
};
|
|
672
692
|
const MaintenanceConfiguration = {
|
|
673
693
|
type: {
|
|
@@ -676,68 +696,68 @@ const MaintenanceConfiguration = {
|
|
|
676
696
|
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { location: {
|
|
677
697
|
serializedName: "location",
|
|
678
698
|
type: {
|
|
679
|
-
name: "String"
|
|
680
|
-
}
|
|
699
|
+
name: "String",
|
|
700
|
+
},
|
|
681
701
|
}, tags: {
|
|
682
702
|
serializedName: "tags",
|
|
683
703
|
type: {
|
|
684
704
|
name: "Dictionary",
|
|
685
|
-
value: { type: { name: "String" } }
|
|
686
|
-
}
|
|
705
|
+
value: { type: { name: "String" } },
|
|
706
|
+
},
|
|
687
707
|
}, namespace: {
|
|
688
708
|
serializedName: "properties.namespace",
|
|
689
709
|
type: {
|
|
690
|
-
name: "String"
|
|
691
|
-
}
|
|
710
|
+
name: "String",
|
|
711
|
+
},
|
|
692
712
|
}, extensionProperties: {
|
|
693
713
|
serializedName: "properties.extensionProperties",
|
|
694
714
|
type: {
|
|
695
715
|
name: "Dictionary",
|
|
696
|
-
value: { type: { name: "String" } }
|
|
697
|
-
}
|
|
716
|
+
value: { type: { name: "String" } },
|
|
717
|
+
},
|
|
698
718
|
}, maintenanceScope: {
|
|
699
719
|
serializedName: "properties.maintenanceScope",
|
|
700
720
|
type: {
|
|
701
|
-
name: "String"
|
|
702
|
-
}
|
|
721
|
+
name: "String",
|
|
722
|
+
},
|
|
703
723
|
}, visibility: {
|
|
704
724
|
serializedName: "properties.visibility",
|
|
705
725
|
type: {
|
|
706
|
-
name: "String"
|
|
707
|
-
}
|
|
726
|
+
name: "String",
|
|
727
|
+
},
|
|
708
728
|
}, installPatches: {
|
|
709
729
|
serializedName: "properties.installPatches",
|
|
710
730
|
type: {
|
|
711
731
|
name: "Composite",
|
|
712
|
-
className: "InputPatchConfiguration"
|
|
713
|
-
}
|
|
732
|
+
className: "InputPatchConfiguration",
|
|
733
|
+
},
|
|
714
734
|
}, startDateTime: {
|
|
715
735
|
serializedName: "properties.maintenanceWindow.startDateTime",
|
|
716
736
|
type: {
|
|
717
|
-
name: "String"
|
|
718
|
-
}
|
|
737
|
+
name: "String",
|
|
738
|
+
},
|
|
719
739
|
}, expirationDateTime: {
|
|
720
740
|
serializedName: "properties.maintenanceWindow.expirationDateTime",
|
|
721
741
|
type: {
|
|
722
|
-
name: "String"
|
|
723
|
-
}
|
|
742
|
+
name: "String",
|
|
743
|
+
},
|
|
724
744
|
}, duration: {
|
|
725
745
|
serializedName: "properties.maintenanceWindow.duration",
|
|
726
746
|
type: {
|
|
727
|
-
name: "String"
|
|
728
|
-
}
|
|
747
|
+
name: "String",
|
|
748
|
+
},
|
|
729
749
|
}, timeZone: {
|
|
730
750
|
serializedName: "properties.maintenanceWindow.timeZone",
|
|
731
751
|
type: {
|
|
732
|
-
name: "String"
|
|
733
|
-
}
|
|
752
|
+
name: "String",
|
|
753
|
+
},
|
|
734
754
|
}, recurEvery: {
|
|
735
755
|
serializedName: "properties.maintenanceWindow.recurEvery",
|
|
736
756
|
type: {
|
|
737
|
-
name: "String"
|
|
738
|
-
}
|
|
739
|
-
} })
|
|
740
|
-
}
|
|
757
|
+
name: "String",
|
|
758
|
+
},
|
|
759
|
+
} }),
|
|
760
|
+
},
|
|
741
761
|
};
|
|
742
762
|
const ApplyUpdate = {
|
|
743
763
|
type: {
|
|
@@ -746,20 +766,20 @@ const ApplyUpdate = {
|
|
|
746
766
|
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { status: {
|
|
747
767
|
serializedName: "properties.status",
|
|
748
768
|
type: {
|
|
749
|
-
name: "String"
|
|
750
|
-
}
|
|
769
|
+
name: "String",
|
|
770
|
+
},
|
|
751
771
|
}, resourceId: {
|
|
752
772
|
serializedName: "properties.resourceId",
|
|
753
773
|
type: {
|
|
754
|
-
name: "String"
|
|
755
|
-
}
|
|
774
|
+
name: "String",
|
|
775
|
+
},
|
|
756
776
|
}, lastUpdateTime: {
|
|
757
777
|
serializedName: "properties.lastUpdateTime",
|
|
758
778
|
type: {
|
|
759
|
-
name: "DateTime"
|
|
760
|
-
}
|
|
761
|
-
} })
|
|
762
|
-
}
|
|
779
|
+
name: "DateTime",
|
|
780
|
+
},
|
|
781
|
+
} }),
|
|
782
|
+
},
|
|
763
783
|
};
|
|
764
784
|
const ConfigurationAssignment = {
|
|
765
785
|
type: {
|
|
@@ -768,26 +788,26 @@ const ConfigurationAssignment = {
|
|
|
768
788
|
modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { location: {
|
|
769
789
|
serializedName: "location",
|
|
770
790
|
type: {
|
|
771
|
-
name: "String"
|
|
772
|
-
}
|
|
791
|
+
name: "String",
|
|
792
|
+
},
|
|
773
793
|
}, maintenanceConfigurationId: {
|
|
774
794
|
serializedName: "properties.maintenanceConfigurationId",
|
|
775
795
|
type: {
|
|
776
|
-
name: "String"
|
|
777
|
-
}
|
|
796
|
+
name: "String",
|
|
797
|
+
},
|
|
778
798
|
}, resourceId: {
|
|
779
799
|
serializedName: "properties.resourceId",
|
|
780
800
|
type: {
|
|
781
|
-
name: "String"
|
|
782
|
-
}
|
|
801
|
+
name: "String",
|
|
802
|
+
},
|
|
783
803
|
}, filter: {
|
|
784
804
|
serializedName: "properties.filter",
|
|
785
805
|
type: {
|
|
786
806
|
name: "Composite",
|
|
787
|
-
className: "ConfigurationAssignmentFilterProperties"
|
|
788
|
-
}
|
|
789
|
-
} })
|
|
790
|
-
}
|
|
807
|
+
className: "ConfigurationAssignmentFilterProperties",
|
|
808
|
+
},
|
|
809
|
+
} }),
|
|
810
|
+
},
|
|
791
811
|
};
|
|
792
812
|
|
|
793
813
|
var Mappers = /*#__PURE__*/Object.freeze({
|
|
@@ -809,6 +829,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
|
|
|
809
829
|
OperationInfo: OperationInfo,
|
|
810
830
|
OperationsListResult: OperationsListResult,
|
|
811
831
|
Resource: Resource,
|
|
832
|
+
ScheduledEventApproveResponse: ScheduledEventApproveResponse,
|
|
812
833
|
SystemData: SystemData,
|
|
813
834
|
TagSettingsProperties: TagSettingsProperties,
|
|
814
835
|
Update: Update
|
|
@@ -828,9 +849,9 @@ const accept = {
|
|
|
828
849
|
isConstant: true,
|
|
829
850
|
serializedName: "Accept",
|
|
830
851
|
type: {
|
|
831
|
-
name: "String"
|
|
832
|
-
}
|
|
833
|
-
}
|
|
852
|
+
name: "String",
|
|
853
|
+
},
|
|
854
|
+
},
|
|
834
855
|
};
|
|
835
856
|
const $host = {
|
|
836
857
|
parameterPath: "$host",
|
|
@@ -838,10 +859,10 @@ const $host = {
|
|
|
838
859
|
serializedName: "$host",
|
|
839
860
|
required: true,
|
|
840
861
|
type: {
|
|
841
|
-
name: "String"
|
|
842
|
-
}
|
|
862
|
+
name: "String",
|
|
863
|
+
},
|
|
843
864
|
},
|
|
844
|
-
skipEncoding: true
|
|
865
|
+
skipEncoding: true,
|
|
845
866
|
};
|
|
846
867
|
const subscriptionId = {
|
|
847
868
|
parameterPath: "subscriptionId",
|
|
@@ -849,20 +870,33 @@ const subscriptionId = {
|
|
|
849
870
|
serializedName: "subscriptionId",
|
|
850
871
|
required: true,
|
|
851
872
|
type: {
|
|
852
|
-
name: "
|
|
853
|
-
}
|
|
854
|
-
}
|
|
873
|
+
name: "Uuid",
|
|
874
|
+
},
|
|
875
|
+
},
|
|
855
876
|
};
|
|
856
|
-
const
|
|
857
|
-
parameterPath: "
|
|
877
|
+
const resourceGroupName = {
|
|
878
|
+
parameterPath: "resourceGroupName",
|
|
858
879
|
mapper: {
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
880
|
+
constraints: {
|
|
881
|
+
MaxLength: 90,
|
|
882
|
+
MinLength: 1,
|
|
883
|
+
},
|
|
884
|
+
serializedName: "resourceGroupName",
|
|
885
|
+
required: true,
|
|
862
886
|
type: {
|
|
863
|
-
name: "String"
|
|
864
|
-
}
|
|
865
|
-
}
|
|
887
|
+
name: "String",
|
|
888
|
+
},
|
|
889
|
+
},
|
|
890
|
+
};
|
|
891
|
+
const resourceType = {
|
|
892
|
+
parameterPath: "resourceType",
|
|
893
|
+
mapper: {
|
|
894
|
+
serializedName: "resourceType",
|
|
895
|
+
required: true,
|
|
896
|
+
type: {
|
|
897
|
+
name: "String",
|
|
898
|
+
},
|
|
899
|
+
},
|
|
866
900
|
};
|
|
867
901
|
const resourceName = {
|
|
868
902
|
parameterPath: "resourceName",
|
|
@@ -870,19 +904,40 @@ const resourceName = {
|
|
|
870
904
|
serializedName: "resourceName",
|
|
871
905
|
required: true,
|
|
872
906
|
type: {
|
|
873
|
-
name: "String"
|
|
874
|
-
}
|
|
875
|
-
}
|
|
907
|
+
name: "String",
|
|
908
|
+
},
|
|
909
|
+
},
|
|
876
910
|
};
|
|
877
|
-
const
|
|
911
|
+
const scheduledEventId = {
|
|
912
|
+
parameterPath: "scheduledEventId",
|
|
913
|
+
mapper: {
|
|
914
|
+
serializedName: "scheduledEventId",
|
|
915
|
+
required: true,
|
|
916
|
+
type: {
|
|
917
|
+
name: "String",
|
|
918
|
+
},
|
|
919
|
+
},
|
|
920
|
+
};
|
|
921
|
+
const apiVersion = {
|
|
922
|
+
parameterPath: "apiVersion",
|
|
923
|
+
mapper: {
|
|
924
|
+
defaultValue: "2023-10-01-preview",
|
|
925
|
+
isConstant: true,
|
|
926
|
+
serializedName: "api-version",
|
|
927
|
+
type: {
|
|
928
|
+
name: "String",
|
|
929
|
+
},
|
|
930
|
+
},
|
|
931
|
+
};
|
|
932
|
+
const resourceGroupName1 = {
|
|
878
933
|
parameterPath: "resourceGroupName",
|
|
879
934
|
mapper: {
|
|
880
935
|
serializedName: "resourceGroupName",
|
|
881
936
|
required: true,
|
|
882
937
|
type: {
|
|
883
|
-
name: "String"
|
|
884
|
-
}
|
|
885
|
-
}
|
|
938
|
+
name: "String",
|
|
939
|
+
},
|
|
940
|
+
},
|
|
886
941
|
};
|
|
887
942
|
const providerName = {
|
|
888
943
|
parameterPath: "providerName",
|
|
@@ -890,39 +945,29 @@ const providerName = {
|
|
|
890
945
|
serializedName: "providerName",
|
|
891
946
|
required: true,
|
|
892
947
|
type: {
|
|
893
|
-
name: "String"
|
|
894
|
-
}
|
|
895
|
-
}
|
|
948
|
+
name: "String",
|
|
949
|
+
},
|
|
950
|
+
},
|
|
896
951
|
};
|
|
897
952
|
const resourceParentType = {
|
|
898
953
|
parameterPath: "resourceParentType",
|
|
899
954
|
mapper: {
|
|
900
|
-
serializedName: "resourceParentType",
|
|
901
|
-
required: true,
|
|
902
|
-
type: {
|
|
903
|
-
name: "String"
|
|
904
|
-
}
|
|
905
|
-
}
|
|
906
|
-
};
|
|
907
|
-
const resourceParentName = {
|
|
908
|
-
parameterPath: "resourceParentName",
|
|
909
|
-
mapper: {
|
|
910
|
-
serializedName: "resourceParentName",
|
|
955
|
+
serializedName: "resourceParentType",
|
|
911
956
|
required: true,
|
|
912
957
|
type: {
|
|
913
|
-
name: "String"
|
|
914
|
-
}
|
|
915
|
-
}
|
|
958
|
+
name: "String",
|
|
959
|
+
},
|
|
960
|
+
},
|
|
916
961
|
};
|
|
917
|
-
const
|
|
918
|
-
parameterPath: "
|
|
962
|
+
const resourceParentName = {
|
|
963
|
+
parameterPath: "resourceParentName",
|
|
919
964
|
mapper: {
|
|
920
|
-
serializedName: "
|
|
965
|
+
serializedName: "resourceParentName",
|
|
921
966
|
required: true,
|
|
922
967
|
type: {
|
|
923
|
-
name: "String"
|
|
924
|
-
}
|
|
925
|
-
}
|
|
968
|
+
name: "String",
|
|
969
|
+
},
|
|
970
|
+
},
|
|
926
971
|
};
|
|
927
972
|
const applyUpdateName = {
|
|
928
973
|
parameterPath: "applyUpdateName",
|
|
@@ -930,19 +975,9 @@ const applyUpdateName = {
|
|
|
930
975
|
serializedName: "applyUpdateName",
|
|
931
976
|
required: true,
|
|
932
977
|
type: {
|
|
933
|
-
name: "String"
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
};
|
|
937
|
-
const configurationAssignmentName = {
|
|
938
|
-
parameterPath: "configurationAssignmentName",
|
|
939
|
-
mapper: {
|
|
940
|
-
serializedName: "configurationAssignmentName",
|
|
941
|
-
required: true,
|
|
942
|
-
type: {
|
|
943
|
-
name: "String"
|
|
944
|
-
}
|
|
945
|
-
}
|
|
978
|
+
name: "String",
|
|
979
|
+
},
|
|
980
|
+
},
|
|
946
981
|
};
|
|
947
982
|
const contentType = {
|
|
948
983
|
parameterPath: ["options", "contentType"],
|
|
@@ -951,30 +986,105 @@ const contentType = {
|
|
|
951
986
|
isConstant: true,
|
|
952
987
|
serializedName: "Content-Type",
|
|
953
988
|
type: {
|
|
954
|
-
name: "String"
|
|
955
|
-
}
|
|
956
|
-
}
|
|
989
|
+
name: "String",
|
|
990
|
+
},
|
|
991
|
+
},
|
|
992
|
+
};
|
|
993
|
+
const applyUpdate = {
|
|
994
|
+
parameterPath: "applyUpdate",
|
|
995
|
+
mapper: ApplyUpdate,
|
|
996
|
+
};
|
|
997
|
+
const configurationAssignmentName = {
|
|
998
|
+
parameterPath: "configurationAssignmentName",
|
|
999
|
+
mapper: {
|
|
1000
|
+
serializedName: "configurationAssignmentName",
|
|
1001
|
+
required: true,
|
|
1002
|
+
type: {
|
|
1003
|
+
name: "String",
|
|
1004
|
+
},
|
|
1005
|
+
},
|
|
957
1006
|
};
|
|
958
1007
|
const configurationAssignment = {
|
|
959
1008
|
parameterPath: "configurationAssignment",
|
|
960
|
-
mapper: ConfigurationAssignment
|
|
1009
|
+
mapper: ConfigurationAssignment,
|
|
961
1010
|
};
|
|
962
1011
|
const configuration = {
|
|
963
1012
|
parameterPath: "configuration",
|
|
964
|
-
mapper: MaintenanceConfiguration
|
|
1013
|
+
mapper: MaintenanceConfiguration,
|
|
965
1014
|
};
|
|
966
1015
|
const configurationAssignmentName1 = {
|
|
967
1016
|
parameterPath: "configurationAssignmentName",
|
|
968
1017
|
mapper: {
|
|
969
1018
|
constraints: {
|
|
970
|
-
Pattern: new RegExp("^.+$")
|
|
1019
|
+
Pattern: new RegExp("^.+$"),
|
|
971
1020
|
},
|
|
972
1021
|
serializedName: "configurationAssignmentName",
|
|
973
1022
|
required: true,
|
|
974
1023
|
type: {
|
|
975
|
-
name: "String"
|
|
976
|
-
}
|
|
1024
|
+
name: "String",
|
|
1025
|
+
},
|
|
1026
|
+
},
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
/*
|
|
1030
|
+
* Copyright (c) Microsoft Corporation.
|
|
1031
|
+
* Licensed under the MIT License.
|
|
1032
|
+
*
|
|
1033
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
1034
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
1035
|
+
*/
|
|
1036
|
+
/** Class containing ScheduledEvent operations. */
|
|
1037
|
+
class ScheduledEventImpl {
|
|
1038
|
+
/**
|
|
1039
|
+
* Initialize a new instance of the class ScheduledEvent class.
|
|
1040
|
+
* @param client Reference to the service client
|
|
1041
|
+
*/
|
|
1042
|
+
constructor(client) {
|
|
1043
|
+
this.client = client;
|
|
1044
|
+
}
|
|
1045
|
+
/**
|
|
1046
|
+
* Post Scheduled Event Acknowledgement
|
|
1047
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
1048
|
+
* @param resourceType Resource type
|
|
1049
|
+
* @param resourceName Resource Name
|
|
1050
|
+
* @param scheduledEventId Scheduled Event Id. This is a GUID-formatted string (e.g.
|
|
1051
|
+
* 00000000-0000-0000-0000-000000000000)
|
|
1052
|
+
* @param options The options parameters.
|
|
1053
|
+
*/
|
|
1054
|
+
acknowledge(resourceGroupName, resourceType, resourceName, scheduledEventId, options) {
|
|
1055
|
+
return this.client.sendOperationRequest({
|
|
1056
|
+
resourceGroupName,
|
|
1057
|
+
resourceType,
|
|
1058
|
+
resourceName,
|
|
1059
|
+
scheduledEventId,
|
|
1060
|
+
options,
|
|
1061
|
+
}, acknowledgeOperationSpec);
|
|
977
1062
|
}
|
|
1063
|
+
}
|
|
1064
|
+
// Operation Specifications
|
|
1065
|
+
const serializer$b = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
1066
|
+
const acknowledgeOperationSpec = {
|
|
1067
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Compute/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/scheduledevents/{scheduledEventId}/acknowledge",
|
|
1068
|
+
httpMethod: "POST",
|
|
1069
|
+
responses: {
|
|
1070
|
+
200: {
|
|
1071
|
+
bodyMapper: ScheduledEventApproveResponse,
|
|
1072
|
+
},
|
|
1073
|
+
default: {
|
|
1074
|
+
bodyMapper: MaintenanceError,
|
|
1075
|
+
},
|
|
1076
|
+
},
|
|
1077
|
+
queryParameters: [apiVersion],
|
|
1078
|
+
urlParameters: [
|
|
1079
|
+
$host,
|
|
1080
|
+
subscriptionId,
|
|
1081
|
+
resourceGroupName,
|
|
1082
|
+
resourceType,
|
|
1083
|
+
resourceName,
|
|
1084
|
+
scheduledEventId,
|
|
1085
|
+
],
|
|
1086
|
+
headerParameters: [accept],
|
|
1087
|
+
serializer: serializer$b,
|
|
978
1088
|
};
|
|
979
1089
|
|
|
980
1090
|
/*
|
|
@@ -1012,7 +1122,7 @@ class PublicMaintenanceConfigurationsImpl {
|
|
|
1012
1122
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1013
1123
|
}
|
|
1014
1124
|
return this.listPagingPage(options, settings);
|
|
1015
|
-
}
|
|
1125
|
+
},
|
|
1016
1126
|
};
|
|
1017
1127
|
}
|
|
1018
1128
|
listPagingPage(options, _settings) {
|
|
@@ -1065,36 +1175,36 @@ const listOperationSpec$8 = {
|
|
|
1065
1175
|
httpMethod: "GET",
|
|
1066
1176
|
responses: {
|
|
1067
1177
|
200: {
|
|
1068
|
-
bodyMapper: ListMaintenanceConfigurationsResult
|
|
1178
|
+
bodyMapper: ListMaintenanceConfigurationsResult,
|
|
1069
1179
|
},
|
|
1070
1180
|
default: {
|
|
1071
|
-
bodyMapper: MaintenanceError
|
|
1072
|
-
}
|
|
1181
|
+
bodyMapper: MaintenanceError,
|
|
1182
|
+
},
|
|
1073
1183
|
},
|
|
1074
1184
|
queryParameters: [apiVersion],
|
|
1075
1185
|
urlParameters: [$host, subscriptionId],
|
|
1076
1186
|
headerParameters: [accept],
|
|
1077
|
-
serializer: serializer$a
|
|
1187
|
+
serializer: serializer$a,
|
|
1078
1188
|
};
|
|
1079
1189
|
const getOperationSpec$5 = {
|
|
1080
1190
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/publicMaintenanceConfigurations/{resourceName}",
|
|
1081
1191
|
httpMethod: "GET",
|
|
1082
1192
|
responses: {
|
|
1083
1193
|
200: {
|
|
1084
|
-
bodyMapper: MaintenanceConfiguration
|
|
1194
|
+
bodyMapper: MaintenanceConfiguration,
|
|
1085
1195
|
},
|
|
1086
1196
|
default: {
|
|
1087
|
-
bodyMapper: MaintenanceError
|
|
1088
|
-
}
|
|
1197
|
+
bodyMapper: MaintenanceError,
|
|
1198
|
+
},
|
|
1089
1199
|
},
|
|
1090
1200
|
queryParameters: [apiVersion],
|
|
1091
1201
|
urlParameters: [
|
|
1092
1202
|
$host,
|
|
1093
1203
|
subscriptionId,
|
|
1094
|
-
resourceName
|
|
1204
|
+
resourceName,
|
|
1095
1205
|
],
|
|
1096
1206
|
headerParameters: [accept],
|
|
1097
|
-
serializer: serializer$a
|
|
1207
|
+
serializer: serializer$a,
|
|
1098
1208
|
};
|
|
1099
1209
|
|
|
1100
1210
|
/*
|
|
@@ -1132,7 +1242,7 @@ class ApplyUpdatesImpl {
|
|
|
1132
1242
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1133
1243
|
}
|
|
1134
1244
|
return this.listPagingPage(options, settings);
|
|
1135
|
-
}
|
|
1245
|
+
},
|
|
1136
1246
|
};
|
|
1137
1247
|
}
|
|
1138
1248
|
listPagingPage(options, _settings) {
|
|
@@ -1182,7 +1292,7 @@ class ApplyUpdatesImpl {
|
|
|
1182
1292
|
resourceType,
|
|
1183
1293
|
resourceName,
|
|
1184
1294
|
applyUpdateName,
|
|
1185
|
-
options
|
|
1295
|
+
options,
|
|
1186
1296
|
}, getParentOperationSpec$1);
|
|
1187
1297
|
}
|
|
1188
1298
|
/**
|
|
@@ -1201,9 +1311,30 @@ class ApplyUpdatesImpl {
|
|
|
1201
1311
|
resourceType,
|
|
1202
1312
|
resourceName,
|
|
1203
1313
|
applyUpdateName,
|
|
1204
|
-
options
|
|
1314
|
+
options,
|
|
1205
1315
|
}, getOperationSpec$4);
|
|
1206
1316
|
}
|
|
1317
|
+
/**
|
|
1318
|
+
* Apply maintenance updates to resource
|
|
1319
|
+
* @param resourceGroupName Resource group name
|
|
1320
|
+
* @param providerName Resource provider name
|
|
1321
|
+
* @param resourceType Resource type
|
|
1322
|
+
* @param resourceName Resource identifier
|
|
1323
|
+
* @param applyUpdateName ApplyUpdate name
|
|
1324
|
+
* @param applyUpdate The ApplyUpdate
|
|
1325
|
+
* @param options The options parameters.
|
|
1326
|
+
*/
|
|
1327
|
+
createOrUpdateOrCancel(resourceGroupName, providerName, resourceType, resourceName, applyUpdateName, applyUpdate, options) {
|
|
1328
|
+
return this.client.sendOperationRequest({
|
|
1329
|
+
resourceGroupName,
|
|
1330
|
+
providerName,
|
|
1331
|
+
resourceType,
|
|
1332
|
+
resourceName,
|
|
1333
|
+
applyUpdateName,
|
|
1334
|
+
applyUpdate,
|
|
1335
|
+
options,
|
|
1336
|
+
}, createOrUpdateOrCancelOperationSpec);
|
|
1337
|
+
}
|
|
1207
1338
|
/**
|
|
1208
1339
|
* Apply maintenance updates to resource with parent
|
|
1209
1340
|
* @param resourceGroupName Resource group name
|
|
@@ -1222,7 +1353,7 @@ class ApplyUpdatesImpl {
|
|
|
1222
1353
|
resourceParentName,
|
|
1223
1354
|
resourceType,
|
|
1224
1355
|
resourceName,
|
|
1225
|
-
options
|
|
1356
|
+
options,
|
|
1226
1357
|
}, createOrUpdateParentOperationSpec$1);
|
|
1227
1358
|
}
|
|
1228
1359
|
/**
|
|
@@ -1251,120 +1382,149 @@ const getParentOperationSpec$1 = {
|
|
|
1251
1382
|
httpMethod: "GET",
|
|
1252
1383
|
responses: {
|
|
1253
1384
|
200: {
|
|
1254
|
-
bodyMapper: ApplyUpdate
|
|
1385
|
+
bodyMapper: ApplyUpdate,
|
|
1255
1386
|
},
|
|
1256
1387
|
default: {
|
|
1257
|
-
bodyMapper: MaintenanceError
|
|
1258
|
-
}
|
|
1388
|
+
bodyMapper: MaintenanceError,
|
|
1389
|
+
},
|
|
1259
1390
|
},
|
|
1260
1391
|
queryParameters: [apiVersion],
|
|
1261
1392
|
urlParameters: [
|
|
1262
1393
|
$host,
|
|
1263
1394
|
subscriptionId,
|
|
1395
|
+
resourceType,
|
|
1264
1396
|
resourceName,
|
|
1265
|
-
|
|
1397
|
+
resourceGroupName1,
|
|
1266
1398
|
providerName,
|
|
1267
1399
|
resourceParentType,
|
|
1268
1400
|
resourceParentName,
|
|
1269
|
-
|
|
1270
|
-
applyUpdateName
|
|
1401
|
+
applyUpdateName,
|
|
1271
1402
|
],
|
|
1272
1403
|
headerParameters: [accept],
|
|
1273
|
-
serializer: serializer$9
|
|
1404
|
+
serializer: serializer$9,
|
|
1274
1405
|
};
|
|
1275
1406
|
const getOperationSpec$4 = {
|
|
1276
1407
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}",
|
|
1277
1408
|
httpMethod: "GET",
|
|
1278
1409
|
responses: {
|
|
1279
1410
|
200: {
|
|
1280
|
-
bodyMapper: ApplyUpdate
|
|
1411
|
+
bodyMapper: ApplyUpdate,
|
|
1281
1412
|
},
|
|
1282
1413
|
default: {
|
|
1283
|
-
bodyMapper: MaintenanceError
|
|
1284
|
-
}
|
|
1414
|
+
bodyMapper: MaintenanceError,
|
|
1415
|
+
},
|
|
1285
1416
|
},
|
|
1286
1417
|
queryParameters: [apiVersion],
|
|
1287
1418
|
urlParameters: [
|
|
1288
1419
|
$host,
|
|
1289
1420
|
subscriptionId,
|
|
1421
|
+
resourceType,
|
|
1290
1422
|
resourceName,
|
|
1291
|
-
|
|
1423
|
+
resourceGroupName1,
|
|
1292
1424
|
providerName,
|
|
1293
|
-
|
|
1294
|
-
applyUpdateName
|
|
1425
|
+
applyUpdateName,
|
|
1295
1426
|
],
|
|
1296
1427
|
headerParameters: [accept],
|
|
1297
|
-
serializer: serializer$9
|
|
1428
|
+
serializer: serializer$9,
|
|
1429
|
+
};
|
|
1430
|
+
const createOrUpdateOrCancelOperationSpec = {
|
|
1431
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}",
|
|
1432
|
+
httpMethod: "PUT",
|
|
1433
|
+
responses: {
|
|
1434
|
+
200: {
|
|
1435
|
+
bodyMapper: ApplyUpdate,
|
|
1436
|
+
},
|
|
1437
|
+
201: {
|
|
1438
|
+
bodyMapper: ApplyUpdate,
|
|
1439
|
+
},
|
|
1440
|
+
default: {
|
|
1441
|
+
bodyMapper: MaintenanceError,
|
|
1442
|
+
},
|
|
1443
|
+
},
|
|
1444
|
+
requestBody: applyUpdate,
|
|
1445
|
+
queryParameters: [apiVersion],
|
|
1446
|
+
urlParameters: [
|
|
1447
|
+
$host,
|
|
1448
|
+
subscriptionId,
|
|
1449
|
+
resourceType,
|
|
1450
|
+
resourceName,
|
|
1451
|
+
resourceGroupName1,
|
|
1452
|
+
providerName,
|
|
1453
|
+
applyUpdateName,
|
|
1454
|
+
],
|
|
1455
|
+
headerParameters: [accept, contentType],
|
|
1456
|
+
mediaType: "json",
|
|
1457
|
+
serializer: serializer$9,
|
|
1298
1458
|
};
|
|
1299
1459
|
const createOrUpdateParentOperationSpec$1 = {
|
|
1300
1460
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default",
|
|
1301
1461
|
httpMethod: "PUT",
|
|
1302
1462
|
responses: {
|
|
1303
1463
|
200: {
|
|
1304
|
-
bodyMapper: ApplyUpdate
|
|
1464
|
+
bodyMapper: ApplyUpdate,
|
|
1305
1465
|
},
|
|
1306
1466
|
201: {
|
|
1307
|
-
bodyMapper: ApplyUpdate
|
|
1467
|
+
bodyMapper: ApplyUpdate,
|
|
1308
1468
|
},
|
|
1309
1469
|
default: {
|
|
1310
|
-
bodyMapper: MaintenanceError
|
|
1311
|
-
}
|
|
1470
|
+
bodyMapper: MaintenanceError,
|
|
1471
|
+
},
|
|
1312
1472
|
},
|
|
1313
1473
|
queryParameters: [apiVersion],
|
|
1314
1474
|
urlParameters: [
|
|
1315
1475
|
$host,
|
|
1316
1476
|
subscriptionId,
|
|
1477
|
+
resourceType,
|
|
1317
1478
|
resourceName,
|
|
1318
|
-
|
|
1479
|
+
resourceGroupName1,
|
|
1319
1480
|
providerName,
|
|
1320
1481
|
resourceParentType,
|
|
1321
1482
|
resourceParentName,
|
|
1322
|
-
resourceType
|
|
1323
1483
|
],
|
|
1324
1484
|
headerParameters: [accept],
|
|
1325
|
-
serializer: serializer$9
|
|
1485
|
+
serializer: serializer$9,
|
|
1326
1486
|
};
|
|
1327
1487
|
const createOrUpdateOperationSpec$4 = {
|
|
1328
1488
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default",
|
|
1329
1489
|
httpMethod: "PUT",
|
|
1330
1490
|
responses: {
|
|
1331
1491
|
200: {
|
|
1332
|
-
bodyMapper: ApplyUpdate
|
|
1492
|
+
bodyMapper: ApplyUpdate,
|
|
1333
1493
|
},
|
|
1334
1494
|
201: {
|
|
1335
|
-
bodyMapper: ApplyUpdate
|
|
1495
|
+
bodyMapper: ApplyUpdate,
|
|
1336
1496
|
},
|
|
1337
1497
|
default: {
|
|
1338
|
-
bodyMapper: MaintenanceError
|
|
1339
|
-
}
|
|
1498
|
+
bodyMapper: MaintenanceError,
|
|
1499
|
+
},
|
|
1340
1500
|
},
|
|
1341
1501
|
queryParameters: [apiVersion],
|
|
1342
1502
|
urlParameters: [
|
|
1343
1503
|
$host,
|
|
1344
1504
|
subscriptionId,
|
|
1505
|
+
resourceType,
|
|
1345
1506
|
resourceName,
|
|
1346
|
-
|
|
1507
|
+
resourceGroupName1,
|
|
1347
1508
|
providerName,
|
|
1348
|
-
resourceType
|
|
1349
1509
|
],
|
|
1350
1510
|
headerParameters: [accept],
|
|
1351
|
-
serializer: serializer$9
|
|
1511
|
+
serializer: serializer$9,
|
|
1352
1512
|
};
|
|
1353
1513
|
const listOperationSpec$7 = {
|
|
1354
1514
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/applyUpdates",
|
|
1355
1515
|
httpMethod: "GET",
|
|
1356
1516
|
responses: {
|
|
1357
1517
|
200: {
|
|
1358
|
-
bodyMapper: ListApplyUpdate
|
|
1518
|
+
bodyMapper: ListApplyUpdate,
|
|
1359
1519
|
},
|
|
1360
1520
|
default: {
|
|
1361
|
-
bodyMapper: MaintenanceError
|
|
1362
|
-
}
|
|
1521
|
+
bodyMapper: MaintenanceError,
|
|
1522
|
+
},
|
|
1363
1523
|
},
|
|
1364
1524
|
queryParameters: [apiVersion],
|
|
1365
1525
|
urlParameters: [$host, subscriptionId],
|
|
1366
1526
|
headerParameters: [accept],
|
|
1367
|
-
serializer: serializer$9
|
|
1527
|
+
serializer: serializer$9,
|
|
1368
1528
|
};
|
|
1369
1529
|
|
|
1370
1530
|
/*
|
|
@@ -1408,7 +1568,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1408
1568
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1409
1569
|
}
|
|
1410
1570
|
return this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options, settings);
|
|
1411
|
-
}
|
|
1571
|
+
},
|
|
1412
1572
|
};
|
|
1413
1573
|
}
|
|
1414
1574
|
listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options, _settings) {
|
|
@@ -1460,7 +1620,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1460
1620
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1461
1621
|
}
|
|
1462
1622
|
return this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options, settings);
|
|
1463
|
-
}
|
|
1623
|
+
},
|
|
1464
1624
|
};
|
|
1465
1625
|
}
|
|
1466
1626
|
listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options, _settings) {
|
|
@@ -1510,7 +1670,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1510
1670
|
resourceType,
|
|
1511
1671
|
resourceName,
|
|
1512
1672
|
configurationAssignmentName,
|
|
1513
|
-
options
|
|
1673
|
+
options,
|
|
1514
1674
|
}, getParentOperationSpec);
|
|
1515
1675
|
}
|
|
1516
1676
|
/**
|
|
@@ -1535,7 +1695,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1535
1695
|
resourceName,
|
|
1536
1696
|
configurationAssignmentName,
|
|
1537
1697
|
configurationAssignment,
|
|
1538
|
-
options
|
|
1698
|
+
options,
|
|
1539
1699
|
}, createOrUpdateParentOperationSpec);
|
|
1540
1700
|
}
|
|
1541
1701
|
/**
|
|
@@ -1558,7 +1718,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1558
1718
|
resourceType,
|
|
1559
1719
|
resourceName,
|
|
1560
1720
|
configurationAssignmentName,
|
|
1561
|
-
options
|
|
1721
|
+
options,
|
|
1562
1722
|
}, deleteParentOperationSpec);
|
|
1563
1723
|
}
|
|
1564
1724
|
/**
|
|
@@ -1577,7 +1737,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1577
1737
|
resourceType,
|
|
1578
1738
|
resourceName,
|
|
1579
1739
|
configurationAssignmentName,
|
|
1580
|
-
options
|
|
1740
|
+
options,
|
|
1581
1741
|
}, getOperationSpec$3);
|
|
1582
1742
|
}
|
|
1583
1743
|
/**
|
|
@@ -1598,7 +1758,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1598
1758
|
resourceName,
|
|
1599
1759
|
configurationAssignmentName,
|
|
1600
1760
|
configurationAssignment,
|
|
1601
|
-
options
|
|
1761
|
+
options,
|
|
1602
1762
|
}, createOrUpdateOperationSpec$3);
|
|
1603
1763
|
}
|
|
1604
1764
|
/**
|
|
@@ -1617,7 +1777,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1617
1777
|
resourceType,
|
|
1618
1778
|
resourceName,
|
|
1619
1779
|
configurationAssignmentName,
|
|
1620
|
-
options
|
|
1780
|
+
options,
|
|
1621
1781
|
}, deleteOperationSpec$3);
|
|
1622
1782
|
}
|
|
1623
1783
|
/**
|
|
@@ -1638,7 +1798,7 @@ class ConfigurationAssignmentsImpl {
|
|
|
1638
1798
|
resourceParentName,
|
|
1639
1799
|
resourceType,
|
|
1640
1800
|
resourceName,
|
|
1641
|
-
options
|
|
1801
|
+
options,
|
|
1642
1802
|
}, listParentOperationSpec$1);
|
|
1643
1803
|
}
|
|
1644
1804
|
/**
|
|
@@ -1660,210 +1820,210 @@ const getParentOperationSpec = {
|
|
|
1660
1820
|
httpMethod: "GET",
|
|
1661
1821
|
responses: {
|
|
1662
1822
|
200: {
|
|
1663
|
-
bodyMapper: ConfigurationAssignment
|
|
1823
|
+
bodyMapper: ConfigurationAssignment,
|
|
1664
1824
|
},
|
|
1665
1825
|
default: {
|
|
1666
|
-
bodyMapper: MaintenanceError
|
|
1667
|
-
}
|
|
1826
|
+
bodyMapper: MaintenanceError,
|
|
1827
|
+
},
|
|
1668
1828
|
},
|
|
1669
1829
|
queryParameters: [apiVersion],
|
|
1670
1830
|
urlParameters: [
|
|
1671
1831
|
$host,
|
|
1672
1832
|
subscriptionId,
|
|
1833
|
+
resourceType,
|
|
1673
1834
|
resourceName,
|
|
1674
|
-
|
|
1835
|
+
resourceGroupName1,
|
|
1675
1836
|
providerName,
|
|
1676
1837
|
resourceParentType,
|
|
1677
1838
|
resourceParentName,
|
|
1678
|
-
|
|
1679
|
-
configurationAssignmentName
|
|
1839
|
+
configurationAssignmentName,
|
|
1680
1840
|
],
|
|
1681
1841
|
headerParameters: [accept],
|
|
1682
|
-
serializer: serializer$8
|
|
1842
|
+
serializer: serializer$8,
|
|
1683
1843
|
};
|
|
1684
1844
|
const createOrUpdateParentOperationSpec = {
|
|
1685
1845
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
1686
1846
|
httpMethod: "PUT",
|
|
1687
1847
|
responses: {
|
|
1688
1848
|
200: {
|
|
1689
|
-
bodyMapper: ConfigurationAssignment
|
|
1849
|
+
bodyMapper: ConfigurationAssignment,
|
|
1690
1850
|
},
|
|
1691
1851
|
201: {
|
|
1692
|
-
bodyMapper: ConfigurationAssignment
|
|
1852
|
+
bodyMapper: ConfigurationAssignment,
|
|
1693
1853
|
},
|
|
1694
1854
|
default: {
|
|
1695
|
-
bodyMapper: MaintenanceError
|
|
1696
|
-
}
|
|
1855
|
+
bodyMapper: MaintenanceError,
|
|
1856
|
+
},
|
|
1697
1857
|
},
|
|
1698
1858
|
requestBody: configurationAssignment,
|
|
1699
1859
|
queryParameters: [apiVersion],
|
|
1700
1860
|
urlParameters: [
|
|
1701
1861
|
$host,
|
|
1702
1862
|
subscriptionId,
|
|
1863
|
+
resourceType,
|
|
1703
1864
|
resourceName,
|
|
1704
|
-
|
|
1865
|
+
resourceGroupName1,
|
|
1705
1866
|
providerName,
|
|
1706
1867
|
resourceParentType,
|
|
1707
1868
|
resourceParentName,
|
|
1708
|
-
|
|
1709
|
-
configurationAssignmentName
|
|
1869
|
+
configurationAssignmentName,
|
|
1710
1870
|
],
|
|
1711
1871
|
headerParameters: [accept, contentType],
|
|
1712
1872
|
mediaType: "json",
|
|
1713
|
-
serializer: serializer$8
|
|
1873
|
+
serializer: serializer$8,
|
|
1714
1874
|
};
|
|
1715
1875
|
const deleteParentOperationSpec = {
|
|
1716
1876
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
1717
1877
|
httpMethod: "DELETE",
|
|
1718
1878
|
responses: {
|
|
1719
1879
|
200: {
|
|
1720
|
-
bodyMapper: ConfigurationAssignment
|
|
1880
|
+
bodyMapper: ConfigurationAssignment,
|
|
1721
1881
|
},
|
|
1722
1882
|
204: {},
|
|
1723
1883
|
default: {
|
|
1724
|
-
bodyMapper: MaintenanceError
|
|
1725
|
-
}
|
|
1884
|
+
bodyMapper: MaintenanceError,
|
|
1885
|
+
},
|
|
1726
1886
|
},
|
|
1727
1887
|
queryParameters: [apiVersion],
|
|
1728
1888
|
urlParameters: [
|
|
1729
1889
|
$host,
|
|
1730
1890
|
subscriptionId,
|
|
1891
|
+
resourceType,
|
|
1731
1892
|
resourceName,
|
|
1732
|
-
|
|
1893
|
+
resourceGroupName1,
|
|
1733
1894
|
providerName,
|
|
1734
1895
|
resourceParentType,
|
|
1735
1896
|
resourceParentName,
|
|
1736
|
-
|
|
1737
|
-
configurationAssignmentName
|
|
1897
|
+
configurationAssignmentName,
|
|
1738
1898
|
],
|
|
1739
1899
|
headerParameters: [accept],
|
|
1740
|
-
serializer: serializer$8
|
|
1900
|
+
serializer: serializer$8,
|
|
1741
1901
|
};
|
|
1742
1902
|
const getOperationSpec$3 = {
|
|
1743
1903
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
1744
1904
|
httpMethod: "GET",
|
|
1745
1905
|
responses: {
|
|
1746
1906
|
200: {
|
|
1747
|
-
bodyMapper: ConfigurationAssignment
|
|
1907
|
+
bodyMapper: ConfigurationAssignment,
|
|
1748
1908
|
},
|
|
1749
1909
|
default: {
|
|
1750
|
-
bodyMapper: MaintenanceError
|
|
1751
|
-
}
|
|
1910
|
+
bodyMapper: MaintenanceError,
|
|
1911
|
+
},
|
|
1752
1912
|
},
|
|
1753
1913
|
queryParameters: [apiVersion],
|
|
1754
1914
|
urlParameters: [
|
|
1755
1915
|
$host,
|
|
1756
1916
|
subscriptionId,
|
|
1917
|
+
resourceType,
|
|
1757
1918
|
resourceName,
|
|
1758
|
-
|
|
1919
|
+
resourceGroupName1,
|
|
1759
1920
|
providerName,
|
|
1760
|
-
|
|
1761
|
-
configurationAssignmentName
|
|
1921
|
+
configurationAssignmentName,
|
|
1762
1922
|
],
|
|
1763
1923
|
headerParameters: [accept],
|
|
1764
|
-
serializer: serializer$8
|
|
1924
|
+
serializer: serializer$8,
|
|
1765
1925
|
};
|
|
1766
1926
|
const createOrUpdateOperationSpec$3 = {
|
|
1767
1927
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
1768
1928
|
httpMethod: "PUT",
|
|
1769
1929
|
responses: {
|
|
1770
1930
|
200: {
|
|
1771
|
-
bodyMapper: ConfigurationAssignment
|
|
1931
|
+
bodyMapper: ConfigurationAssignment,
|
|
1772
1932
|
},
|
|
1773
1933
|
201: {
|
|
1774
|
-
bodyMapper: ConfigurationAssignment
|
|
1934
|
+
bodyMapper: ConfigurationAssignment,
|
|
1775
1935
|
},
|
|
1776
1936
|
default: {
|
|
1777
|
-
bodyMapper: MaintenanceError
|
|
1778
|
-
}
|
|
1937
|
+
bodyMapper: MaintenanceError,
|
|
1938
|
+
},
|
|
1779
1939
|
},
|
|
1780
1940
|
requestBody: configurationAssignment,
|
|
1781
1941
|
queryParameters: [apiVersion],
|
|
1782
1942
|
urlParameters: [
|
|
1783
1943
|
$host,
|
|
1784
1944
|
subscriptionId,
|
|
1945
|
+
resourceType,
|
|
1785
1946
|
resourceName,
|
|
1786
|
-
|
|
1947
|
+
resourceGroupName1,
|
|
1787
1948
|
providerName,
|
|
1788
|
-
|
|
1789
|
-
configurationAssignmentName
|
|
1949
|
+
configurationAssignmentName,
|
|
1790
1950
|
],
|
|
1791
1951
|
headerParameters: [accept, contentType],
|
|
1792
1952
|
mediaType: "json",
|
|
1793
|
-
serializer: serializer$8
|
|
1953
|
+
serializer: serializer$8,
|
|
1794
1954
|
};
|
|
1795
1955
|
const deleteOperationSpec$3 = {
|
|
1796
1956
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
1797
1957
|
httpMethod: "DELETE",
|
|
1798
1958
|
responses: {
|
|
1799
1959
|
200: {
|
|
1800
|
-
bodyMapper: ConfigurationAssignment
|
|
1960
|
+
bodyMapper: ConfigurationAssignment,
|
|
1801
1961
|
},
|
|
1802
1962
|
204: {},
|
|
1803
1963
|
default: {
|
|
1804
|
-
bodyMapper: MaintenanceError
|
|
1805
|
-
}
|
|
1964
|
+
bodyMapper: MaintenanceError,
|
|
1965
|
+
},
|
|
1806
1966
|
},
|
|
1807
1967
|
queryParameters: [apiVersion],
|
|
1808
1968
|
urlParameters: [
|
|
1809
1969
|
$host,
|
|
1810
1970
|
subscriptionId,
|
|
1971
|
+
resourceType,
|
|
1811
1972
|
resourceName,
|
|
1812
|
-
|
|
1973
|
+
resourceGroupName1,
|
|
1813
1974
|
providerName,
|
|
1814
|
-
|
|
1815
|
-
configurationAssignmentName
|
|
1975
|
+
configurationAssignmentName,
|
|
1816
1976
|
],
|
|
1817
1977
|
headerParameters: [accept],
|
|
1818
|
-
serializer: serializer$8
|
|
1978
|
+
serializer: serializer$8,
|
|
1819
1979
|
};
|
|
1820
1980
|
const listParentOperationSpec$1 = {
|
|
1821
1981
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments",
|
|
1822
1982
|
httpMethod: "GET",
|
|
1823
1983
|
responses: {
|
|
1824
1984
|
200: {
|
|
1825
|
-
bodyMapper: ListConfigurationAssignmentsResult
|
|
1985
|
+
bodyMapper: ListConfigurationAssignmentsResult,
|
|
1826
1986
|
},
|
|
1827
1987
|
default: {
|
|
1828
|
-
bodyMapper: MaintenanceError
|
|
1829
|
-
}
|
|
1988
|
+
bodyMapper: MaintenanceError,
|
|
1989
|
+
},
|
|
1830
1990
|
},
|
|
1831
1991
|
queryParameters: [apiVersion],
|
|
1832
1992
|
urlParameters: [
|
|
1833
1993
|
$host,
|
|
1834
1994
|
subscriptionId,
|
|
1995
|
+
resourceType,
|
|
1835
1996
|
resourceName,
|
|
1836
|
-
|
|
1997
|
+
resourceGroupName1,
|
|
1837
1998
|
providerName,
|
|
1838
1999
|
resourceParentType,
|
|
1839
2000
|
resourceParentName,
|
|
1840
|
-
resourceType
|
|
1841
2001
|
],
|
|
1842
2002
|
headerParameters: [accept],
|
|
1843
|
-
serializer: serializer$8
|
|
2003
|
+
serializer: serializer$8,
|
|
1844
2004
|
};
|
|
1845
2005
|
const listOperationSpec$6 = {
|
|
1846
2006
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments",
|
|
1847
2007
|
httpMethod: "GET",
|
|
1848
2008
|
responses: {
|
|
1849
2009
|
200: {
|
|
1850
|
-
bodyMapper: ListConfigurationAssignmentsResult
|
|
2010
|
+
bodyMapper: ListConfigurationAssignmentsResult,
|
|
1851
2011
|
},
|
|
1852
2012
|
default: {
|
|
1853
|
-
bodyMapper: MaintenanceError
|
|
1854
|
-
}
|
|
2013
|
+
bodyMapper: MaintenanceError,
|
|
2014
|
+
},
|
|
1855
2015
|
},
|
|
1856
2016
|
queryParameters: [apiVersion],
|
|
1857
2017
|
urlParameters: [
|
|
1858
2018
|
$host,
|
|
1859
2019
|
subscriptionId,
|
|
2020
|
+
resourceType,
|
|
1860
2021
|
resourceName,
|
|
1861
|
-
|
|
2022
|
+
resourceGroupName1,
|
|
1862
2023
|
providerName,
|
|
1863
|
-
resourceType
|
|
1864
2024
|
],
|
|
1865
2025
|
headerParameters: [accept],
|
|
1866
|
-
serializer: serializer$8
|
|
2026
|
+
serializer: serializer$8,
|
|
1867
2027
|
};
|
|
1868
2028
|
|
|
1869
2029
|
/*
|
|
@@ -1901,7 +2061,7 @@ class MaintenanceConfigurationsImpl {
|
|
|
1901
2061
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
1902
2062
|
}
|
|
1903
2063
|
return this.listPagingPage(options, settings);
|
|
1904
|
-
}
|
|
2064
|
+
},
|
|
1905
2065
|
};
|
|
1906
2066
|
}
|
|
1907
2067
|
listPagingPage(options, _settings) {
|
|
@@ -1984,35 +2144,35 @@ const getOperationSpec$2 = {
|
|
|
1984
2144
|
httpMethod: "GET",
|
|
1985
2145
|
responses: {
|
|
1986
2146
|
200: {
|
|
1987
|
-
bodyMapper: MaintenanceConfiguration
|
|
2147
|
+
bodyMapper: MaintenanceConfiguration,
|
|
1988
2148
|
},
|
|
1989
2149
|
default: {
|
|
1990
|
-
bodyMapper: MaintenanceError
|
|
1991
|
-
}
|
|
2150
|
+
bodyMapper: MaintenanceError,
|
|
2151
|
+
},
|
|
1992
2152
|
},
|
|
1993
2153
|
queryParameters: [apiVersion],
|
|
1994
2154
|
urlParameters: [
|
|
1995
2155
|
$host,
|
|
1996
2156
|
subscriptionId,
|
|
1997
2157
|
resourceName,
|
|
1998
|
-
|
|
2158
|
+
resourceGroupName1,
|
|
1999
2159
|
],
|
|
2000
2160
|
headerParameters: [accept],
|
|
2001
|
-
serializer: serializer$7
|
|
2161
|
+
serializer: serializer$7,
|
|
2002
2162
|
};
|
|
2003
2163
|
const createOrUpdateOperationSpec$2 = {
|
|
2004
2164
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}",
|
|
2005
2165
|
httpMethod: "PUT",
|
|
2006
2166
|
responses: {
|
|
2007
2167
|
200: {
|
|
2008
|
-
bodyMapper: MaintenanceConfiguration
|
|
2168
|
+
bodyMapper: MaintenanceConfiguration,
|
|
2009
2169
|
},
|
|
2010
2170
|
201: {
|
|
2011
|
-
bodyMapper: MaintenanceConfiguration
|
|
2171
|
+
bodyMapper: MaintenanceConfiguration,
|
|
2012
2172
|
},
|
|
2013
2173
|
default: {
|
|
2014
|
-
bodyMapper: MaintenanceError
|
|
2015
|
-
}
|
|
2174
|
+
bodyMapper: MaintenanceError,
|
|
2175
|
+
},
|
|
2016
2176
|
},
|
|
2017
2177
|
requestBody: configuration,
|
|
2018
2178
|
queryParameters: [apiVersion],
|
|
@@ -2020,44 +2180,44 @@ const createOrUpdateOperationSpec$2 = {
|
|
|
2020
2180
|
$host,
|
|
2021
2181
|
subscriptionId,
|
|
2022
2182
|
resourceName,
|
|
2023
|
-
|
|
2183
|
+
resourceGroupName1,
|
|
2024
2184
|
],
|
|
2025
2185
|
headerParameters: [accept, contentType],
|
|
2026
2186
|
mediaType: "json",
|
|
2027
|
-
serializer: serializer$7
|
|
2187
|
+
serializer: serializer$7,
|
|
2028
2188
|
};
|
|
2029
2189
|
const deleteOperationSpec$2 = {
|
|
2030
2190
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}",
|
|
2031
2191
|
httpMethod: "DELETE",
|
|
2032
2192
|
responses: {
|
|
2033
2193
|
200: {
|
|
2034
|
-
bodyMapper: MaintenanceConfiguration
|
|
2194
|
+
bodyMapper: MaintenanceConfiguration,
|
|
2035
2195
|
},
|
|
2036
2196
|
204: {},
|
|
2037
2197
|
default: {
|
|
2038
|
-
bodyMapper: MaintenanceError
|
|
2039
|
-
}
|
|
2198
|
+
bodyMapper: MaintenanceError,
|
|
2199
|
+
},
|
|
2040
2200
|
},
|
|
2041
2201
|
queryParameters: [apiVersion],
|
|
2042
2202
|
urlParameters: [
|
|
2043
2203
|
$host,
|
|
2044
2204
|
subscriptionId,
|
|
2045
2205
|
resourceName,
|
|
2046
|
-
|
|
2206
|
+
resourceGroupName1,
|
|
2047
2207
|
],
|
|
2048
2208
|
headerParameters: [accept],
|
|
2049
|
-
serializer: serializer$7
|
|
2209
|
+
serializer: serializer$7,
|
|
2050
2210
|
};
|
|
2051
2211
|
const updateOperationSpec$2 = {
|
|
2052
2212
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}",
|
|
2053
2213
|
httpMethod: "PATCH",
|
|
2054
2214
|
responses: {
|
|
2055
2215
|
200: {
|
|
2056
|
-
bodyMapper: MaintenanceConfiguration
|
|
2216
|
+
bodyMapper: MaintenanceConfiguration,
|
|
2057
2217
|
},
|
|
2058
2218
|
default: {
|
|
2059
|
-
bodyMapper: MaintenanceError
|
|
2060
|
-
}
|
|
2219
|
+
bodyMapper: MaintenanceError,
|
|
2220
|
+
},
|
|
2061
2221
|
},
|
|
2062
2222
|
requestBody: configuration,
|
|
2063
2223
|
queryParameters: [apiVersion],
|
|
@@ -2065,27 +2225,27 @@ const updateOperationSpec$2 = {
|
|
|
2065
2225
|
$host,
|
|
2066
2226
|
subscriptionId,
|
|
2067
2227
|
resourceName,
|
|
2068
|
-
|
|
2228
|
+
resourceGroupName1,
|
|
2069
2229
|
],
|
|
2070
2230
|
headerParameters: [accept, contentType],
|
|
2071
2231
|
mediaType: "json",
|
|
2072
|
-
serializer: serializer$7
|
|
2232
|
+
serializer: serializer$7,
|
|
2073
2233
|
};
|
|
2074
2234
|
const listOperationSpec$5 = {
|
|
2075
2235
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations",
|
|
2076
2236
|
httpMethod: "GET",
|
|
2077
2237
|
responses: {
|
|
2078
2238
|
200: {
|
|
2079
|
-
bodyMapper: ListMaintenanceConfigurationsResult
|
|
2239
|
+
bodyMapper: ListMaintenanceConfigurationsResult,
|
|
2080
2240
|
},
|
|
2081
2241
|
default: {
|
|
2082
|
-
bodyMapper: MaintenanceError
|
|
2083
|
-
}
|
|
2242
|
+
bodyMapper: MaintenanceError,
|
|
2243
|
+
},
|
|
2084
2244
|
},
|
|
2085
2245
|
queryParameters: [apiVersion],
|
|
2086
2246
|
urlParameters: [$host, subscriptionId],
|
|
2087
2247
|
headerParameters: [accept],
|
|
2088
|
-
serializer: serializer$7
|
|
2248
|
+
serializer: serializer$7,
|
|
2089
2249
|
};
|
|
2090
2250
|
|
|
2091
2251
|
/*
|
|
@@ -2124,7 +2284,7 @@ class MaintenanceConfigurationsForResourceGroupImpl {
|
|
|
2124
2284
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2125
2285
|
}
|
|
2126
2286
|
return this.listPagingPage(resourceGroupName, options, settings);
|
|
2127
|
-
}
|
|
2287
|
+
},
|
|
2128
2288
|
};
|
|
2129
2289
|
}
|
|
2130
2290
|
listPagingPage(resourceGroupName, options, _settings) {
|
|
@@ -2170,20 +2330,20 @@ const listOperationSpec$4 = {
|
|
|
2170
2330
|
httpMethod: "GET",
|
|
2171
2331
|
responses: {
|
|
2172
2332
|
200: {
|
|
2173
|
-
bodyMapper: ListMaintenanceConfigurationsResult
|
|
2333
|
+
bodyMapper: ListMaintenanceConfigurationsResult,
|
|
2174
2334
|
},
|
|
2175
2335
|
default: {
|
|
2176
|
-
bodyMapper: MaintenanceError
|
|
2177
|
-
}
|
|
2336
|
+
bodyMapper: MaintenanceError,
|
|
2337
|
+
},
|
|
2178
2338
|
},
|
|
2179
2339
|
queryParameters: [apiVersion],
|
|
2180
2340
|
urlParameters: [
|
|
2181
2341
|
$host,
|
|
2182
2342
|
subscriptionId,
|
|
2183
|
-
|
|
2343
|
+
resourceGroupName1,
|
|
2184
2344
|
],
|
|
2185
2345
|
headerParameters: [accept],
|
|
2186
|
-
serializer: serializer$6
|
|
2346
|
+
serializer: serializer$6,
|
|
2187
2347
|
};
|
|
2188
2348
|
|
|
2189
2349
|
/*
|
|
@@ -2222,7 +2382,7 @@ class ApplyUpdateForResourceGroupImpl {
|
|
|
2222
2382
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2223
2383
|
}
|
|
2224
2384
|
return this.listPagingPage(resourceGroupName, options, settings);
|
|
2225
|
-
}
|
|
2385
|
+
},
|
|
2226
2386
|
};
|
|
2227
2387
|
}
|
|
2228
2388
|
listPagingPage(resourceGroupName, options, _settings) {
|
|
@@ -2268,20 +2428,20 @@ const listOperationSpec$3 = {
|
|
|
2268
2428
|
httpMethod: "GET",
|
|
2269
2429
|
responses: {
|
|
2270
2430
|
200: {
|
|
2271
|
-
bodyMapper: ListApplyUpdate
|
|
2431
|
+
bodyMapper: ListApplyUpdate,
|
|
2272
2432
|
},
|
|
2273
2433
|
default: {
|
|
2274
|
-
bodyMapper: MaintenanceError
|
|
2275
|
-
}
|
|
2434
|
+
bodyMapper: MaintenanceError,
|
|
2435
|
+
},
|
|
2276
2436
|
},
|
|
2277
2437
|
queryParameters: [apiVersion],
|
|
2278
2438
|
urlParameters: [
|
|
2279
2439
|
$host,
|
|
2280
2440
|
subscriptionId,
|
|
2281
|
-
|
|
2441
|
+
resourceGroupName1,
|
|
2282
2442
|
],
|
|
2283
2443
|
headerParameters: [accept],
|
|
2284
|
-
serializer: serializer$5
|
|
2444
|
+
serializer: serializer$5,
|
|
2285
2445
|
};
|
|
2286
2446
|
|
|
2287
2447
|
/*
|
|
@@ -2319,7 +2479,7 @@ class ConfigurationAssignmentsWithinSubscriptionImpl {
|
|
|
2319
2479
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2320
2480
|
}
|
|
2321
2481
|
return this.listPagingPage(options, settings);
|
|
2322
|
-
}
|
|
2482
|
+
},
|
|
2323
2483
|
};
|
|
2324
2484
|
}
|
|
2325
2485
|
listPagingPage(options, _settings) {
|
|
@@ -2364,16 +2524,16 @@ const listOperationSpec$2 = {
|
|
|
2364
2524
|
httpMethod: "GET",
|
|
2365
2525
|
responses: {
|
|
2366
2526
|
200: {
|
|
2367
|
-
bodyMapper: ListConfigurationAssignmentsResult
|
|
2527
|
+
bodyMapper: ListConfigurationAssignmentsResult,
|
|
2368
2528
|
},
|
|
2369
2529
|
default: {
|
|
2370
|
-
bodyMapper: MaintenanceError
|
|
2371
|
-
}
|
|
2530
|
+
bodyMapper: MaintenanceError,
|
|
2531
|
+
},
|
|
2372
2532
|
},
|
|
2373
2533
|
queryParameters: [apiVersion],
|
|
2374
2534
|
urlParameters: [$host, subscriptionId],
|
|
2375
2535
|
headerParameters: [accept],
|
|
2376
|
-
serializer: serializer$4
|
|
2536
|
+
serializer: serializer$4,
|
|
2377
2537
|
};
|
|
2378
2538
|
|
|
2379
2539
|
/*
|
|
@@ -2434,88 +2594,88 @@ const getOperationSpec$1 = {
|
|
|
2434
2594
|
httpMethod: "GET",
|
|
2435
2595
|
responses: {
|
|
2436
2596
|
200: {
|
|
2437
|
-
bodyMapper: ConfigurationAssignment
|
|
2597
|
+
bodyMapper: ConfigurationAssignment,
|
|
2438
2598
|
},
|
|
2439
2599
|
default: {
|
|
2440
|
-
bodyMapper: MaintenanceError
|
|
2441
|
-
}
|
|
2600
|
+
bodyMapper: MaintenanceError,
|
|
2601
|
+
},
|
|
2442
2602
|
},
|
|
2443
2603
|
queryParameters: [apiVersion],
|
|
2444
2604
|
urlParameters: [
|
|
2445
2605
|
$host,
|
|
2446
2606
|
subscriptionId,
|
|
2447
|
-
configurationAssignmentName
|
|
2607
|
+
configurationAssignmentName,
|
|
2448
2608
|
],
|
|
2449
2609
|
headerParameters: [accept],
|
|
2450
|
-
serializer: serializer$3
|
|
2610
|
+
serializer: serializer$3,
|
|
2451
2611
|
};
|
|
2452
2612
|
const createOrUpdateOperationSpec$1 = {
|
|
2453
2613
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
2454
2614
|
httpMethod: "PUT",
|
|
2455
2615
|
responses: {
|
|
2456
2616
|
200: {
|
|
2457
|
-
bodyMapper: ConfigurationAssignment
|
|
2617
|
+
bodyMapper: ConfigurationAssignment,
|
|
2458
2618
|
},
|
|
2459
2619
|
201: {
|
|
2460
|
-
bodyMapper: ConfigurationAssignment
|
|
2620
|
+
bodyMapper: ConfigurationAssignment,
|
|
2461
2621
|
},
|
|
2462
2622
|
default: {
|
|
2463
|
-
bodyMapper: MaintenanceError
|
|
2464
|
-
}
|
|
2623
|
+
bodyMapper: MaintenanceError,
|
|
2624
|
+
},
|
|
2465
2625
|
},
|
|
2466
2626
|
requestBody: configurationAssignment,
|
|
2467
2627
|
queryParameters: [apiVersion],
|
|
2468
2628
|
urlParameters: [
|
|
2469
2629
|
$host,
|
|
2470
2630
|
subscriptionId,
|
|
2471
|
-
configurationAssignmentName
|
|
2631
|
+
configurationAssignmentName,
|
|
2472
2632
|
],
|
|
2473
2633
|
headerParameters: [accept, contentType],
|
|
2474
2634
|
mediaType: "json",
|
|
2475
|
-
serializer: serializer$3
|
|
2635
|
+
serializer: serializer$3,
|
|
2476
2636
|
};
|
|
2477
2637
|
const updateOperationSpec$1 = {
|
|
2478
2638
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
2479
2639
|
httpMethod: "PATCH",
|
|
2480
2640
|
responses: {
|
|
2481
2641
|
200: {
|
|
2482
|
-
bodyMapper: ConfigurationAssignment
|
|
2642
|
+
bodyMapper: ConfigurationAssignment,
|
|
2483
2643
|
},
|
|
2484
2644
|
default: {
|
|
2485
|
-
bodyMapper: MaintenanceError
|
|
2486
|
-
}
|
|
2645
|
+
bodyMapper: MaintenanceError,
|
|
2646
|
+
},
|
|
2487
2647
|
},
|
|
2488
2648
|
requestBody: configurationAssignment,
|
|
2489
2649
|
queryParameters: [apiVersion],
|
|
2490
2650
|
urlParameters: [
|
|
2491
2651
|
$host,
|
|
2492
2652
|
subscriptionId,
|
|
2493
|
-
configurationAssignmentName
|
|
2653
|
+
configurationAssignmentName,
|
|
2494
2654
|
],
|
|
2495
2655
|
headerParameters: [accept, contentType],
|
|
2496
2656
|
mediaType: "json",
|
|
2497
|
-
serializer: serializer$3
|
|
2657
|
+
serializer: serializer$3,
|
|
2498
2658
|
};
|
|
2499
2659
|
const deleteOperationSpec$1 = {
|
|
2500
2660
|
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
2501
2661
|
httpMethod: "DELETE",
|
|
2502
2662
|
responses: {
|
|
2503
2663
|
200: {
|
|
2504
|
-
bodyMapper: ConfigurationAssignment
|
|
2664
|
+
bodyMapper: ConfigurationAssignment,
|
|
2505
2665
|
},
|
|
2506
2666
|
204: {},
|
|
2507
2667
|
default: {
|
|
2508
|
-
bodyMapper: MaintenanceError
|
|
2509
|
-
}
|
|
2668
|
+
bodyMapper: MaintenanceError,
|
|
2669
|
+
},
|
|
2510
2670
|
},
|
|
2511
2671
|
queryParameters: [apiVersion],
|
|
2512
2672
|
urlParameters: [
|
|
2513
2673
|
$host,
|
|
2514
2674
|
subscriptionId,
|
|
2515
|
-
configurationAssignmentName
|
|
2675
|
+
configurationAssignmentName,
|
|
2516
2676
|
],
|
|
2517
2677
|
headerParameters: [accept],
|
|
2518
|
-
serializer: serializer$3
|
|
2678
|
+
serializer: serializer$3,
|
|
2519
2679
|
};
|
|
2520
2680
|
|
|
2521
2681
|
/*
|
|
@@ -2555,7 +2715,7 @@ class ConfigurationAssignmentsForResourceGroupImpl {
|
|
|
2555
2715
|
resourceGroupName,
|
|
2556
2716
|
configurationAssignmentName,
|
|
2557
2717
|
configurationAssignment,
|
|
2558
|
-
options
|
|
2718
|
+
options,
|
|
2559
2719
|
}, createOrUpdateOperationSpec);
|
|
2560
2720
|
}
|
|
2561
2721
|
/**
|
|
@@ -2570,7 +2730,7 @@ class ConfigurationAssignmentsForResourceGroupImpl {
|
|
|
2570
2730
|
resourceGroupName,
|
|
2571
2731
|
configurationAssignmentName,
|
|
2572
2732
|
configurationAssignment,
|
|
2573
|
-
options
|
|
2733
|
+
options,
|
|
2574
2734
|
}, updateOperationSpec);
|
|
2575
2735
|
}
|
|
2576
2736
|
/**
|
|
@@ -2590,92 +2750,92 @@ const getOperationSpec = {
|
|
|
2590
2750
|
httpMethod: "GET",
|
|
2591
2751
|
responses: {
|
|
2592
2752
|
200: {
|
|
2593
|
-
bodyMapper: ConfigurationAssignment
|
|
2753
|
+
bodyMapper: ConfigurationAssignment,
|
|
2594
2754
|
},
|
|
2595
2755
|
default: {
|
|
2596
|
-
bodyMapper: MaintenanceError
|
|
2597
|
-
}
|
|
2756
|
+
bodyMapper: MaintenanceError,
|
|
2757
|
+
},
|
|
2598
2758
|
},
|
|
2599
2759
|
queryParameters: [apiVersion],
|
|
2600
2760
|
urlParameters: [
|
|
2601
2761
|
$host,
|
|
2602
2762
|
subscriptionId,
|
|
2603
|
-
|
|
2604
|
-
configurationAssignmentName1
|
|
2763
|
+
resourceGroupName1,
|
|
2764
|
+
configurationAssignmentName1,
|
|
2605
2765
|
],
|
|
2606
2766
|
headerParameters: [accept],
|
|
2607
|
-
serializer: serializer$2
|
|
2767
|
+
serializer: serializer$2,
|
|
2608
2768
|
};
|
|
2609
2769
|
const createOrUpdateOperationSpec = {
|
|
2610
2770
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
2611
2771
|
httpMethod: "PUT",
|
|
2612
2772
|
responses: {
|
|
2613
2773
|
200: {
|
|
2614
|
-
bodyMapper: ConfigurationAssignment
|
|
2774
|
+
bodyMapper: ConfigurationAssignment,
|
|
2615
2775
|
},
|
|
2616
2776
|
201: {
|
|
2617
|
-
bodyMapper: ConfigurationAssignment
|
|
2777
|
+
bodyMapper: ConfigurationAssignment,
|
|
2618
2778
|
},
|
|
2619
2779
|
default: {
|
|
2620
|
-
bodyMapper: MaintenanceError
|
|
2621
|
-
}
|
|
2780
|
+
bodyMapper: MaintenanceError,
|
|
2781
|
+
},
|
|
2622
2782
|
},
|
|
2623
2783
|
requestBody: configurationAssignment,
|
|
2624
2784
|
queryParameters: [apiVersion],
|
|
2625
2785
|
urlParameters: [
|
|
2626
2786
|
$host,
|
|
2627
2787
|
subscriptionId,
|
|
2628
|
-
|
|
2629
|
-
configurationAssignmentName
|
|
2788
|
+
resourceGroupName1,
|
|
2789
|
+
configurationAssignmentName,
|
|
2630
2790
|
],
|
|
2631
2791
|
headerParameters: [accept, contentType],
|
|
2632
2792
|
mediaType: "json",
|
|
2633
|
-
serializer: serializer$2
|
|
2793
|
+
serializer: serializer$2,
|
|
2634
2794
|
};
|
|
2635
2795
|
const updateOperationSpec = {
|
|
2636
2796
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
2637
2797
|
httpMethod: "PATCH",
|
|
2638
2798
|
responses: {
|
|
2639
2799
|
200: {
|
|
2640
|
-
bodyMapper: ConfigurationAssignment
|
|
2800
|
+
bodyMapper: ConfigurationAssignment,
|
|
2641
2801
|
},
|
|
2642
2802
|
default: {
|
|
2643
|
-
bodyMapper: MaintenanceError
|
|
2644
|
-
}
|
|
2803
|
+
bodyMapper: MaintenanceError,
|
|
2804
|
+
},
|
|
2645
2805
|
},
|
|
2646
2806
|
requestBody: configurationAssignment,
|
|
2647
2807
|
queryParameters: [apiVersion],
|
|
2648
2808
|
urlParameters: [
|
|
2649
2809
|
$host,
|
|
2650
2810
|
subscriptionId,
|
|
2651
|
-
|
|
2652
|
-
configurationAssignmentName
|
|
2811
|
+
resourceGroupName1,
|
|
2812
|
+
configurationAssignmentName,
|
|
2653
2813
|
],
|
|
2654
2814
|
headerParameters: [accept, contentType],
|
|
2655
2815
|
mediaType: "json",
|
|
2656
|
-
serializer: serializer$2
|
|
2816
|
+
serializer: serializer$2,
|
|
2657
2817
|
};
|
|
2658
2818
|
const deleteOperationSpec = {
|
|
2659
2819
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}",
|
|
2660
2820
|
httpMethod: "DELETE",
|
|
2661
2821
|
responses: {
|
|
2662
2822
|
200: {
|
|
2663
|
-
bodyMapper: ConfigurationAssignment
|
|
2823
|
+
bodyMapper: ConfigurationAssignment,
|
|
2664
2824
|
},
|
|
2665
2825
|
204: {},
|
|
2666
2826
|
default: {
|
|
2667
|
-
bodyMapper: MaintenanceError
|
|
2668
|
-
}
|
|
2827
|
+
bodyMapper: MaintenanceError,
|
|
2828
|
+
},
|
|
2669
2829
|
},
|
|
2670
2830
|
queryParameters: [apiVersion],
|
|
2671
2831
|
urlParameters: [
|
|
2672
2832
|
$host,
|
|
2673
2833
|
subscriptionId,
|
|
2674
|
-
|
|
2675
|
-
configurationAssignmentName
|
|
2834
|
+
resourceGroupName1,
|
|
2835
|
+
configurationAssignmentName,
|
|
2676
2836
|
],
|
|
2677
2837
|
headerParameters: [accept],
|
|
2678
|
-
serializer: serializer$2
|
|
2838
|
+
serializer: serializer$2,
|
|
2679
2839
|
};
|
|
2680
2840
|
|
|
2681
2841
|
/*
|
|
@@ -2713,7 +2873,7 @@ class OperationsImpl {
|
|
|
2713
2873
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2714
2874
|
}
|
|
2715
2875
|
return this.listPagingPage(options, settings);
|
|
2716
|
-
}
|
|
2876
|
+
},
|
|
2717
2877
|
};
|
|
2718
2878
|
}
|
|
2719
2879
|
listPagingPage(options, _settings) {
|
|
@@ -2758,16 +2918,16 @@ const listOperationSpec$1 = {
|
|
|
2758
2918
|
httpMethod: "GET",
|
|
2759
2919
|
responses: {
|
|
2760
2920
|
200: {
|
|
2761
|
-
bodyMapper: OperationsListResult
|
|
2921
|
+
bodyMapper: OperationsListResult,
|
|
2762
2922
|
},
|
|
2763
2923
|
default: {
|
|
2764
|
-
bodyMapper: MaintenanceError
|
|
2765
|
-
}
|
|
2924
|
+
bodyMapper: MaintenanceError,
|
|
2925
|
+
},
|
|
2766
2926
|
},
|
|
2767
2927
|
queryParameters: [apiVersion],
|
|
2768
2928
|
urlParameters: [$host],
|
|
2769
2929
|
headerParameters: [accept],
|
|
2770
|
-
serializer: serializer$1
|
|
2930
|
+
serializer: serializer$1,
|
|
2771
2931
|
};
|
|
2772
2932
|
|
|
2773
2933
|
/*
|
|
@@ -2811,7 +2971,7 @@ class UpdatesImpl {
|
|
|
2811
2971
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2812
2972
|
}
|
|
2813
2973
|
return this.listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options, settings);
|
|
2814
|
-
}
|
|
2974
|
+
},
|
|
2815
2975
|
};
|
|
2816
2976
|
}
|
|
2817
2977
|
listParentPagingPage(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, options, _settings) {
|
|
@@ -2863,7 +3023,7 @@ class UpdatesImpl {
|
|
|
2863
3023
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
2864
3024
|
}
|
|
2865
3025
|
return this.listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options, settings);
|
|
2866
|
-
}
|
|
3026
|
+
},
|
|
2867
3027
|
};
|
|
2868
3028
|
}
|
|
2869
3029
|
listPagingPage(resourceGroupName, providerName, resourceType, resourceName, options, _settings) {
|
|
@@ -2911,7 +3071,7 @@ class UpdatesImpl {
|
|
|
2911
3071
|
resourceParentName,
|
|
2912
3072
|
resourceType,
|
|
2913
3073
|
resourceName,
|
|
2914
|
-
options
|
|
3074
|
+
options,
|
|
2915
3075
|
}, listParentOperationSpec);
|
|
2916
3076
|
}
|
|
2917
3077
|
/**
|
|
@@ -2933,48 +3093,48 @@ const listParentOperationSpec = {
|
|
|
2933
3093
|
httpMethod: "GET",
|
|
2934
3094
|
responses: {
|
|
2935
3095
|
200: {
|
|
2936
|
-
bodyMapper: ListUpdatesResult
|
|
3096
|
+
bodyMapper: ListUpdatesResult,
|
|
2937
3097
|
},
|
|
2938
3098
|
default: {
|
|
2939
|
-
bodyMapper: MaintenanceError
|
|
2940
|
-
}
|
|
3099
|
+
bodyMapper: MaintenanceError,
|
|
3100
|
+
},
|
|
2941
3101
|
},
|
|
2942
3102
|
queryParameters: [apiVersion],
|
|
2943
3103
|
urlParameters: [
|
|
2944
3104
|
$host,
|
|
2945
3105
|
subscriptionId,
|
|
3106
|
+
resourceType,
|
|
2946
3107
|
resourceName,
|
|
2947
|
-
|
|
3108
|
+
resourceGroupName1,
|
|
2948
3109
|
providerName,
|
|
2949
3110
|
resourceParentType,
|
|
2950
3111
|
resourceParentName,
|
|
2951
|
-
resourceType
|
|
2952
3112
|
],
|
|
2953
3113
|
headerParameters: [accept],
|
|
2954
|
-
serializer
|
|
3114
|
+
serializer,
|
|
2955
3115
|
};
|
|
2956
3116
|
const listOperationSpec = {
|
|
2957
3117
|
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates",
|
|
2958
3118
|
httpMethod: "GET",
|
|
2959
3119
|
responses: {
|
|
2960
3120
|
200: {
|
|
2961
|
-
bodyMapper: ListUpdatesResult
|
|
3121
|
+
bodyMapper: ListUpdatesResult,
|
|
2962
3122
|
},
|
|
2963
3123
|
default: {
|
|
2964
|
-
bodyMapper: MaintenanceError
|
|
2965
|
-
}
|
|
3124
|
+
bodyMapper: MaintenanceError,
|
|
3125
|
+
},
|
|
2966
3126
|
},
|
|
2967
3127
|
queryParameters: [apiVersion],
|
|
2968
3128
|
urlParameters: [
|
|
2969
3129
|
$host,
|
|
2970
3130
|
subscriptionId,
|
|
3131
|
+
resourceType,
|
|
2971
3132
|
resourceName,
|
|
2972
|
-
|
|
3133
|
+
resourceGroupName1,
|
|
2973
3134
|
providerName,
|
|
2974
|
-
resourceType
|
|
2975
3135
|
],
|
|
2976
3136
|
headerParameters: [accept],
|
|
2977
|
-
serializer
|
|
3137
|
+
serializer,
|
|
2978
3138
|
};
|
|
2979
3139
|
|
|
2980
3140
|
/*
|
|
@@ -2988,8 +3148,7 @@ class MaintenanceManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
2988
3148
|
/**
|
|
2989
3149
|
* Initializes a new instance of the MaintenanceManagementClient class.
|
|
2990
3150
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
2991
|
-
* @param subscriptionId
|
|
2992
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
3151
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
2993
3152
|
* @param options The parameter options
|
|
2994
3153
|
*/
|
|
2995
3154
|
constructor(credentials, subscriptionId, options) {
|
|
@@ -3006,14 +3165,14 @@ class MaintenanceManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
3006
3165
|
}
|
|
3007
3166
|
const defaults = {
|
|
3008
3167
|
requestContentType: "application/json; charset=utf-8",
|
|
3009
|
-
credential: credentials
|
|
3168
|
+
credential: credentials,
|
|
3010
3169
|
};
|
|
3011
|
-
const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.
|
|
3170
|
+
const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.2`;
|
|
3012
3171
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
3013
3172
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
3014
3173
|
: `${packageDetails}`;
|
|
3015
3174
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
3016
|
-
userAgentPrefix
|
|
3175
|
+
userAgentPrefix,
|
|
3017
3176
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
3018
3177
|
super(optionsWithDefaults);
|
|
3019
3178
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -3027,30 +3186,36 @@ class MaintenanceManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
3027
3186
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
3028
3187
|
!bearerTokenAuthenticationPolicyFound) {
|
|
3029
3188
|
this.pipeline.removePolicy({
|
|
3030
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
3189
|
+
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName,
|
|
3031
3190
|
});
|
|
3032
3191
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
3033
3192
|
credential: credentials,
|
|
3034
3193
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
3035
3194
|
challengeCallbacks: {
|
|
3036
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
3037
|
-
}
|
|
3195
|
+
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
3196
|
+
},
|
|
3038
3197
|
}));
|
|
3039
3198
|
}
|
|
3040
3199
|
// Parameter assignments
|
|
3041
3200
|
this.subscriptionId = subscriptionId;
|
|
3042
3201
|
// Assigning values to Constant parameters
|
|
3043
3202
|
this.$host = options.$host || "https://management.azure.com";
|
|
3044
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
3045
|
-
this.
|
|
3203
|
+
this.apiVersion = options.apiVersion || "2023-10-01-preview";
|
|
3204
|
+
this.scheduledEvent = new ScheduledEventImpl(this);
|
|
3205
|
+
this.publicMaintenanceConfigurations =
|
|
3206
|
+
new PublicMaintenanceConfigurationsImpl(this);
|
|
3046
3207
|
this.applyUpdates = new ApplyUpdatesImpl(this);
|
|
3047
3208
|
this.configurationAssignments = new ConfigurationAssignmentsImpl(this);
|
|
3048
3209
|
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
|
|
3049
|
-
this.maintenanceConfigurationsForResourceGroup =
|
|
3210
|
+
this.maintenanceConfigurationsForResourceGroup =
|
|
3211
|
+
new MaintenanceConfigurationsForResourceGroupImpl(this);
|
|
3050
3212
|
this.applyUpdateForResourceGroup = new ApplyUpdateForResourceGroupImpl(this);
|
|
3051
|
-
this.configurationAssignmentsWithinSubscription =
|
|
3052
|
-
|
|
3053
|
-
this.
|
|
3213
|
+
this.configurationAssignmentsWithinSubscription =
|
|
3214
|
+
new ConfigurationAssignmentsWithinSubscriptionImpl(this);
|
|
3215
|
+
this.configurationAssignmentsForSubscriptions =
|
|
3216
|
+
new ConfigurationAssignmentsForSubscriptionsImpl(this);
|
|
3217
|
+
this.configurationAssignmentsForResourceGroup =
|
|
3218
|
+
new ConfigurationAssignmentsForResourceGroupImpl(this);
|
|
3054
3219
|
this.operations = new OperationsImpl(this);
|
|
3055
3220
|
this.updates = new UpdatesImpl(this);
|
|
3056
3221
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
@@ -3078,7 +3243,7 @@ class MaintenanceManagementClient extends coreClient__namespace.ServiceClient {
|
|
|
3078
3243
|
}
|
|
3079
3244
|
return next(request);
|
|
3080
3245
|
});
|
|
3081
|
-
}
|
|
3246
|
+
},
|
|
3082
3247
|
};
|
|
3083
3248
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
3084
3249
|
}
|