@azure/arm-maintenance 1.0.0-beta.1 → 1.0.0-beta.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 +768 -659
- 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 +5 -10
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/applyUpdatesListSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsListSample.js +5 -10
- package/dist-esm/samples-dev/configurationAssignmentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js +5 -10
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js.map +1 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js +3 -3
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js +5 -10
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.js +1 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js +5 -10
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js.map +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 +5 -10
- package/dist-esm/samples-dev/updatesListParentSample.js.map +1 -1
- package/dist-esm/samples-dev/updatesListSample.js +5 -10
- package/dist-esm/samples-dev/updatesListSample.js.map +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 +9 -14
- 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 +89 -44
- package/dist-esm/src/operations/applyUpdates.js.map +1 -1
- package/dist-esm/src/operations/configurationAssignments.js +71 -81
- 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 +8 -13
- 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 +29 -34
- 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 +9 -14
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -1
- package/dist-esm/src/operations/operations.js +8 -13
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/publicMaintenanceConfigurations.d.ts.map +1 -1
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js +13 -18
- 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 +21 -31
- 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/src/pagingHelper.js.map +1 -1
- package/dist-esm/test/maintenance_operations_test.spec.d.ts.map +1 -1
- package/dist-esm/test/maintenance_operations_test.spec.js +16 -25
- package/dist-esm/test/maintenance_operations_test.spec.js.map +1 -1
- package/package.json +18 -23
- 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/rollup.config.js +0 -122
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
UpdatesListParentOptionalParams,
|
|
18
18
|
UpdatesListParentResponse,
|
|
19
19
|
UpdatesListOptionalParams,
|
|
20
|
-
UpdatesListResponse
|
|
20
|
+
UpdatesListResponse,
|
|
21
21
|
} from "../models";
|
|
22
22
|
|
|
23
23
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -50,7 +50,7 @@ export class UpdatesImpl implements Updates {
|
|
|
50
50
|
resourceParentName: string,
|
|
51
51
|
resourceType: string,
|
|
52
52
|
resourceName: string,
|
|
53
|
-
options?: UpdatesListParentOptionalParams
|
|
53
|
+
options?: UpdatesListParentOptionalParams,
|
|
54
54
|
): PagedAsyncIterableIterator<Update> {
|
|
55
55
|
const iter = this.listParentPagingAll(
|
|
56
56
|
resourceGroupName,
|
|
@@ -59,7 +59,7 @@ export class UpdatesImpl implements Updates {
|
|
|
59
59
|
resourceParentName,
|
|
60
60
|
resourceType,
|
|
61
61
|
resourceName,
|
|
62
|
-
options
|
|
62
|
+
options,
|
|
63
63
|
);
|
|
64
64
|
return {
|
|
65
65
|
next() {
|
|
@@ -80,9 +80,9 @@ export class UpdatesImpl implements Updates {
|
|
|
80
80
|
resourceType,
|
|
81
81
|
resourceName,
|
|
82
82
|
options,
|
|
83
|
-
settings
|
|
83
|
+
settings,
|
|
84
84
|
);
|
|
85
|
-
}
|
|
85
|
+
},
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -94,7 +94,7 @@ export class UpdatesImpl implements Updates {
|
|
|
94
94
|
resourceType: string,
|
|
95
95
|
resourceName: string,
|
|
96
96
|
options?: UpdatesListParentOptionalParams,
|
|
97
|
-
_settings?: PageSettings
|
|
97
|
+
_settings?: PageSettings,
|
|
98
98
|
): AsyncIterableIterator<Update[]> {
|
|
99
99
|
let result: UpdatesListParentResponse;
|
|
100
100
|
result = await this._listParent(
|
|
@@ -104,7 +104,7 @@ export class UpdatesImpl implements Updates {
|
|
|
104
104
|
resourceParentName,
|
|
105
105
|
resourceType,
|
|
106
106
|
resourceName,
|
|
107
|
-
options
|
|
107
|
+
options,
|
|
108
108
|
);
|
|
109
109
|
yield result.value || [];
|
|
110
110
|
}
|
|
@@ -116,7 +116,7 @@ export class UpdatesImpl implements Updates {
|
|
|
116
116
|
resourceParentName: string,
|
|
117
117
|
resourceType: string,
|
|
118
118
|
resourceName: string,
|
|
119
|
-
options?: UpdatesListParentOptionalParams
|
|
119
|
+
options?: UpdatesListParentOptionalParams,
|
|
120
120
|
): AsyncIterableIterator<Update> {
|
|
121
121
|
for await (const page of this.listParentPagingPage(
|
|
122
122
|
resourceGroupName,
|
|
@@ -125,7 +125,7 @@ export class UpdatesImpl implements Updates {
|
|
|
125
125
|
resourceParentName,
|
|
126
126
|
resourceType,
|
|
127
127
|
resourceName,
|
|
128
|
-
options
|
|
128
|
+
options,
|
|
129
129
|
)) {
|
|
130
130
|
yield* page;
|
|
131
131
|
}
|
|
@@ -144,14 +144,14 @@ export class UpdatesImpl implements Updates {
|
|
|
144
144
|
providerName: string,
|
|
145
145
|
resourceType: string,
|
|
146
146
|
resourceName: string,
|
|
147
|
-
options?: UpdatesListOptionalParams
|
|
147
|
+
options?: UpdatesListOptionalParams,
|
|
148
148
|
): PagedAsyncIterableIterator<Update> {
|
|
149
149
|
const iter = this.listPagingAll(
|
|
150
150
|
resourceGroupName,
|
|
151
151
|
providerName,
|
|
152
152
|
resourceType,
|
|
153
153
|
resourceName,
|
|
154
|
-
options
|
|
154
|
+
options,
|
|
155
155
|
);
|
|
156
156
|
return {
|
|
157
157
|
next() {
|
|
@@ -170,9 +170,9 @@ export class UpdatesImpl implements Updates {
|
|
|
170
170
|
resourceType,
|
|
171
171
|
resourceName,
|
|
172
172
|
options,
|
|
173
|
-
settings
|
|
173
|
+
settings,
|
|
174
174
|
);
|
|
175
|
-
}
|
|
175
|
+
},
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
|
|
@@ -182,7 +182,7 @@ export class UpdatesImpl implements Updates {
|
|
|
182
182
|
resourceType: string,
|
|
183
183
|
resourceName: string,
|
|
184
184
|
options?: UpdatesListOptionalParams,
|
|
185
|
-
_settings?: PageSettings
|
|
185
|
+
_settings?: PageSettings,
|
|
186
186
|
): AsyncIterableIterator<Update[]> {
|
|
187
187
|
let result: UpdatesListResponse;
|
|
188
188
|
result = await this._list(
|
|
@@ -190,7 +190,7 @@ export class UpdatesImpl implements Updates {
|
|
|
190
190
|
providerName,
|
|
191
191
|
resourceType,
|
|
192
192
|
resourceName,
|
|
193
|
-
options
|
|
193
|
+
options,
|
|
194
194
|
);
|
|
195
195
|
yield result.value || [];
|
|
196
196
|
}
|
|
@@ -200,14 +200,14 @@ export class UpdatesImpl implements Updates {
|
|
|
200
200
|
providerName: string,
|
|
201
201
|
resourceType: string,
|
|
202
202
|
resourceName: string,
|
|
203
|
-
options?: UpdatesListOptionalParams
|
|
203
|
+
options?: UpdatesListOptionalParams,
|
|
204
204
|
): AsyncIterableIterator<Update> {
|
|
205
205
|
for await (const page of this.listPagingPage(
|
|
206
206
|
resourceGroupName,
|
|
207
207
|
providerName,
|
|
208
208
|
resourceType,
|
|
209
209
|
resourceName,
|
|
210
|
-
options
|
|
210
|
+
options,
|
|
211
211
|
)) {
|
|
212
212
|
yield* page;
|
|
213
213
|
}
|
|
@@ -230,7 +230,7 @@ export class UpdatesImpl implements Updates {
|
|
|
230
230
|
resourceParentName: string,
|
|
231
231
|
resourceType: string,
|
|
232
232
|
resourceName: string,
|
|
233
|
-
options?: UpdatesListParentOptionalParams
|
|
233
|
+
options?: UpdatesListParentOptionalParams,
|
|
234
234
|
): Promise<UpdatesListParentResponse> {
|
|
235
235
|
return this.client.sendOperationRequest(
|
|
236
236
|
{
|
|
@@ -240,9 +240,9 @@ export class UpdatesImpl implements Updates {
|
|
|
240
240
|
resourceParentName,
|
|
241
241
|
resourceType,
|
|
242
242
|
resourceName,
|
|
243
|
-
options
|
|
243
|
+
options,
|
|
244
244
|
},
|
|
245
|
-
listParentOperationSpec
|
|
245
|
+
listParentOperationSpec,
|
|
246
246
|
);
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -259,11 +259,11 @@ export class UpdatesImpl implements Updates {
|
|
|
259
259
|
providerName: string,
|
|
260
260
|
resourceType: string,
|
|
261
261
|
resourceName: string,
|
|
262
|
-
options?: UpdatesListOptionalParams
|
|
262
|
+
options?: UpdatesListOptionalParams,
|
|
263
263
|
): Promise<UpdatesListResponse> {
|
|
264
264
|
return this.client.sendOperationRequest(
|
|
265
265
|
{ resourceGroupName, providerName, resourceType, resourceName, options },
|
|
266
|
-
listOperationSpec
|
|
266
|
+
listOperationSpec,
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
269
|
}
|
|
@@ -271,52 +271,50 @@ export class UpdatesImpl implements Updates {
|
|
|
271
271
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
272
272
|
|
|
273
273
|
const listParentOperationSpec: coreClient.OperationSpec = {
|
|
274
|
-
path:
|
|
275
|
-
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates",
|
|
274
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates",
|
|
276
275
|
httpMethod: "GET",
|
|
277
276
|
responses: {
|
|
278
277
|
200: {
|
|
279
|
-
bodyMapper: Mappers.ListUpdatesResult
|
|
278
|
+
bodyMapper: Mappers.ListUpdatesResult,
|
|
280
279
|
},
|
|
281
280
|
default: {
|
|
282
|
-
bodyMapper: Mappers.MaintenanceError
|
|
283
|
-
}
|
|
281
|
+
bodyMapper: Mappers.MaintenanceError,
|
|
282
|
+
},
|
|
284
283
|
},
|
|
285
284
|
queryParameters: [Parameters.apiVersion],
|
|
286
285
|
urlParameters: [
|
|
287
286
|
Parameters.$host,
|
|
288
287
|
Parameters.subscriptionId,
|
|
288
|
+
Parameters.resourceType,
|
|
289
289
|
Parameters.resourceName,
|
|
290
|
-
Parameters.
|
|
290
|
+
Parameters.resourceGroupName1,
|
|
291
291
|
Parameters.providerName,
|
|
292
292
|
Parameters.resourceParentType,
|
|
293
293
|
Parameters.resourceParentName,
|
|
294
|
-
Parameters.resourceType
|
|
295
294
|
],
|
|
296
295
|
headerParameters: [Parameters.accept],
|
|
297
|
-
serializer
|
|
296
|
+
serializer,
|
|
298
297
|
};
|
|
299
298
|
const listOperationSpec: coreClient.OperationSpec = {
|
|
300
|
-
path:
|
|
301
|
-
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates",
|
|
299
|
+
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates",
|
|
302
300
|
httpMethod: "GET",
|
|
303
301
|
responses: {
|
|
304
302
|
200: {
|
|
305
|
-
bodyMapper: Mappers.ListUpdatesResult
|
|
303
|
+
bodyMapper: Mappers.ListUpdatesResult,
|
|
306
304
|
},
|
|
307
305
|
default: {
|
|
308
|
-
bodyMapper: Mappers.MaintenanceError
|
|
309
|
-
}
|
|
306
|
+
bodyMapper: Mappers.MaintenanceError,
|
|
307
|
+
},
|
|
310
308
|
},
|
|
311
309
|
queryParameters: [Parameters.apiVersion],
|
|
312
310
|
urlParameters: [
|
|
313
311
|
Parameters.$host,
|
|
314
312
|
Parameters.subscriptionId,
|
|
313
|
+
Parameters.resourceType,
|
|
315
314
|
Parameters.resourceName,
|
|
316
|
-
Parameters.
|
|
315
|
+
Parameters.resourceGroupName1,
|
|
317
316
|
Parameters.providerName,
|
|
318
|
-
Parameters.resourceType
|
|
319
317
|
],
|
|
320
318
|
headerParameters: [Parameters.accept],
|
|
321
|
-
serializer
|
|
319
|
+
serializer,
|
|
322
320
|
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
10
|
import {
|
|
11
11
|
ApplyUpdate,
|
|
12
|
-
ApplyUpdateForResourceGroupListOptionalParams
|
|
12
|
+
ApplyUpdateForResourceGroupListOptionalParams,
|
|
13
13
|
} from "../models";
|
|
14
14
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -22,6 +22,6 @@ export interface ApplyUpdateForResourceGroup {
|
|
|
22
22
|
*/
|
|
23
23
|
list(
|
|
24
24
|
resourceGroupName: string,
|
|
25
|
-
options?: ApplyUpdateForResourceGroupListOptionalParams
|
|
25
|
+
options?: ApplyUpdateForResourceGroupListOptionalParams,
|
|
26
26
|
): PagedAsyncIterableIterator<ApplyUpdate>;
|
|
27
27
|
}
|
|
@@ -14,10 +14,12 @@ import {
|
|
|
14
14
|
ApplyUpdatesGetParentResponse,
|
|
15
15
|
ApplyUpdatesGetOptionalParams,
|
|
16
16
|
ApplyUpdatesGetResponse,
|
|
17
|
+
ApplyUpdatesCreateOrUpdateOrCancelOptionalParams,
|
|
18
|
+
ApplyUpdatesCreateOrUpdateOrCancelResponse,
|
|
17
19
|
ApplyUpdatesCreateOrUpdateParentOptionalParams,
|
|
18
20
|
ApplyUpdatesCreateOrUpdateParentResponse,
|
|
19
21
|
ApplyUpdatesCreateOrUpdateOptionalParams,
|
|
20
|
-
ApplyUpdatesCreateOrUpdateResponse
|
|
22
|
+
ApplyUpdatesCreateOrUpdateResponse,
|
|
21
23
|
} from "../models";
|
|
22
24
|
|
|
23
25
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -28,7 +30,7 @@ export interface ApplyUpdates {
|
|
|
28
30
|
* @param options The options parameters.
|
|
29
31
|
*/
|
|
30
32
|
list(
|
|
31
|
-
options?: ApplyUpdatesListOptionalParams
|
|
33
|
+
options?: ApplyUpdatesListOptionalParams,
|
|
32
34
|
): PagedAsyncIterableIterator<ApplyUpdate>;
|
|
33
35
|
/**
|
|
34
36
|
* Track maintenance updates to resource with parent
|
|
@@ -49,7 +51,7 @@ export interface ApplyUpdates {
|
|
|
49
51
|
resourceType: string,
|
|
50
52
|
resourceName: string,
|
|
51
53
|
applyUpdateName: string,
|
|
52
|
-
options?: ApplyUpdatesGetParentOptionalParams
|
|
54
|
+
options?: ApplyUpdatesGetParentOptionalParams,
|
|
53
55
|
): Promise<ApplyUpdatesGetParentResponse>;
|
|
54
56
|
/**
|
|
55
57
|
* Track maintenance updates to resource
|
|
@@ -66,8 +68,27 @@ export interface ApplyUpdates {
|
|
|
66
68
|
resourceType: string,
|
|
67
69
|
resourceName: string,
|
|
68
70
|
applyUpdateName: string,
|
|
69
|
-
options?: ApplyUpdatesGetOptionalParams
|
|
71
|
+
options?: ApplyUpdatesGetOptionalParams,
|
|
70
72
|
): Promise<ApplyUpdatesGetResponse>;
|
|
73
|
+
/**
|
|
74
|
+
* Apply maintenance updates to resource
|
|
75
|
+
* @param resourceGroupName Resource group name
|
|
76
|
+
* @param providerName Resource provider name
|
|
77
|
+
* @param resourceType Resource type
|
|
78
|
+
* @param resourceName Resource identifier
|
|
79
|
+
* @param applyUpdateName ApplyUpdate name
|
|
80
|
+
* @param applyUpdate The ApplyUpdate
|
|
81
|
+
* @param options The options parameters.
|
|
82
|
+
*/
|
|
83
|
+
createOrUpdateOrCancel(
|
|
84
|
+
resourceGroupName: string,
|
|
85
|
+
providerName: string,
|
|
86
|
+
resourceType: string,
|
|
87
|
+
resourceName: string,
|
|
88
|
+
applyUpdateName: string,
|
|
89
|
+
applyUpdate: ApplyUpdate,
|
|
90
|
+
options?: ApplyUpdatesCreateOrUpdateOrCancelOptionalParams,
|
|
91
|
+
): Promise<ApplyUpdatesCreateOrUpdateOrCancelResponse>;
|
|
71
92
|
/**
|
|
72
93
|
* Apply maintenance updates to resource with parent
|
|
73
94
|
* @param resourceGroupName Resource group name
|
|
@@ -85,7 +106,7 @@ export interface ApplyUpdates {
|
|
|
85
106
|
resourceParentName: string,
|
|
86
107
|
resourceType: string,
|
|
87
108
|
resourceName: string,
|
|
88
|
-
options?: ApplyUpdatesCreateOrUpdateParentOptionalParams
|
|
109
|
+
options?: ApplyUpdatesCreateOrUpdateParentOptionalParams,
|
|
89
110
|
): Promise<ApplyUpdatesCreateOrUpdateParentResponse>;
|
|
90
111
|
/**
|
|
91
112
|
* Apply maintenance updates to resource
|
|
@@ -100,6 +121,6 @@ export interface ApplyUpdates {
|
|
|
100
121
|
providerName: string,
|
|
101
122
|
resourceType: string,
|
|
102
123
|
resourceName: string,
|
|
103
|
-
options?: ApplyUpdatesCreateOrUpdateOptionalParams
|
|
124
|
+
options?: ApplyUpdatesCreateOrUpdateOptionalParams,
|
|
104
125
|
): Promise<ApplyUpdatesCreateOrUpdateResponse>;
|
|
105
126
|
}
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ConfigurationAssignmentsCreateOrUpdateOptionalParams,
|
|
23
23
|
ConfigurationAssignmentsCreateOrUpdateResponse,
|
|
24
24
|
ConfigurationAssignmentsDeleteOptionalParams,
|
|
25
|
-
ConfigurationAssignmentsDeleteResponse
|
|
25
|
+
ConfigurationAssignmentsDeleteResponse,
|
|
26
26
|
} from "../models";
|
|
27
27
|
|
|
28
28
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -45,7 +45,7 @@ export interface ConfigurationAssignments {
|
|
|
45
45
|
resourceParentName: string,
|
|
46
46
|
resourceType: string,
|
|
47
47
|
resourceName: string,
|
|
48
|
-
options?: ConfigurationAssignmentsListParentOptionalParams
|
|
48
|
+
options?: ConfigurationAssignmentsListParentOptionalParams,
|
|
49
49
|
): PagedAsyncIterableIterator<ConfigurationAssignment>;
|
|
50
50
|
/**
|
|
51
51
|
* List configurationAssignments for resource.
|
|
@@ -60,7 +60,7 @@ export interface ConfigurationAssignments {
|
|
|
60
60
|
providerName: string,
|
|
61
61
|
resourceType: string,
|
|
62
62
|
resourceName: string,
|
|
63
|
-
options?: ConfigurationAssignmentsListOptionalParams
|
|
63
|
+
options?: ConfigurationAssignmentsListOptionalParams,
|
|
64
64
|
): PagedAsyncIterableIterator<ConfigurationAssignment>;
|
|
65
65
|
/**
|
|
66
66
|
* Get configuration assignment for resource..
|
|
@@ -81,7 +81,7 @@ export interface ConfigurationAssignments {
|
|
|
81
81
|
resourceType: string,
|
|
82
82
|
resourceName: string,
|
|
83
83
|
configurationAssignmentName: string,
|
|
84
|
-
options?: ConfigurationAssignmentsGetParentOptionalParams
|
|
84
|
+
options?: ConfigurationAssignmentsGetParentOptionalParams,
|
|
85
85
|
): Promise<ConfigurationAssignmentsGetParentResponse>;
|
|
86
86
|
/**
|
|
87
87
|
* Register configuration for resource.
|
|
@@ -104,7 +104,7 @@ export interface ConfigurationAssignments {
|
|
|
104
104
|
resourceName: string,
|
|
105
105
|
configurationAssignmentName: string,
|
|
106
106
|
configurationAssignment: ConfigurationAssignment,
|
|
107
|
-
options?: ConfigurationAssignmentsCreateOrUpdateParentOptionalParams
|
|
107
|
+
options?: ConfigurationAssignmentsCreateOrUpdateParentOptionalParams,
|
|
108
108
|
): Promise<ConfigurationAssignmentsCreateOrUpdateParentResponse>;
|
|
109
109
|
/**
|
|
110
110
|
* Unregister configuration for resource.
|
|
@@ -125,7 +125,7 @@ export interface ConfigurationAssignments {
|
|
|
125
125
|
resourceType: string,
|
|
126
126
|
resourceName: string,
|
|
127
127
|
configurationAssignmentName: string,
|
|
128
|
-
options?: ConfigurationAssignmentsDeleteParentOptionalParams
|
|
128
|
+
options?: ConfigurationAssignmentsDeleteParentOptionalParams,
|
|
129
129
|
): Promise<ConfigurationAssignmentsDeleteParentResponse>;
|
|
130
130
|
/**
|
|
131
131
|
* Get configuration assignment for resource..
|
|
@@ -142,7 +142,7 @@ export interface ConfigurationAssignments {
|
|
|
142
142
|
resourceType: string,
|
|
143
143
|
resourceName: string,
|
|
144
144
|
configurationAssignmentName: string,
|
|
145
|
-
options?: ConfigurationAssignmentsGetOptionalParams
|
|
145
|
+
options?: ConfigurationAssignmentsGetOptionalParams,
|
|
146
146
|
): Promise<ConfigurationAssignmentsGetResponse>;
|
|
147
147
|
/**
|
|
148
148
|
* Register configuration for resource.
|
|
@@ -161,7 +161,7 @@ export interface ConfigurationAssignments {
|
|
|
161
161
|
resourceName: string,
|
|
162
162
|
configurationAssignmentName: string,
|
|
163
163
|
configurationAssignment: ConfigurationAssignment,
|
|
164
|
-
options?: ConfigurationAssignmentsCreateOrUpdateOptionalParams
|
|
164
|
+
options?: ConfigurationAssignmentsCreateOrUpdateOptionalParams,
|
|
165
165
|
): Promise<ConfigurationAssignmentsCreateOrUpdateResponse>;
|
|
166
166
|
/**
|
|
167
167
|
* Unregister configuration for resource.
|
|
@@ -178,6 +178,6 @@ export interface ConfigurationAssignments {
|
|
|
178
178
|
resourceType: string,
|
|
179
179
|
resourceName: string,
|
|
180
180
|
configurationAssignmentName: string,
|
|
181
|
-
options?: ConfigurationAssignmentsDeleteOptionalParams
|
|
181
|
+
options?: ConfigurationAssignmentsDeleteOptionalParams,
|
|
182
182
|
): Promise<ConfigurationAssignmentsDeleteResponse>;
|
|
183
183
|
}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
ConfigurationAssignmentsForResourceGroupUpdateOptionalParams,
|
|
16
16
|
ConfigurationAssignmentsForResourceGroupUpdateResponse,
|
|
17
17
|
ConfigurationAssignmentsForResourceGroupDeleteOptionalParams,
|
|
18
|
-
ConfigurationAssignmentsForResourceGroupDeleteResponse
|
|
18
|
+
ConfigurationAssignmentsForResourceGroupDeleteResponse,
|
|
19
19
|
} from "../models";
|
|
20
20
|
|
|
21
21
|
/** Interface representing a ConfigurationAssignmentsForResourceGroup. */
|
|
@@ -29,7 +29,7 @@ export interface ConfigurationAssignmentsForResourceGroup {
|
|
|
29
29
|
get(
|
|
30
30
|
resourceGroupName: string,
|
|
31
31
|
configurationAssignmentName: string,
|
|
32
|
-
options?: ConfigurationAssignmentsForResourceGroupGetOptionalParams
|
|
32
|
+
options?: ConfigurationAssignmentsForResourceGroupGetOptionalParams,
|
|
33
33
|
): Promise<ConfigurationAssignmentsForResourceGroupGetResponse>;
|
|
34
34
|
/**
|
|
35
35
|
* Register configuration for resource.
|
|
@@ -42,7 +42,7 @@ export interface ConfigurationAssignmentsForResourceGroup {
|
|
|
42
42
|
resourceGroupName: string,
|
|
43
43
|
configurationAssignmentName: string,
|
|
44
44
|
configurationAssignment: ConfigurationAssignment,
|
|
45
|
-
options?: ConfigurationAssignmentsForResourceGroupCreateOrUpdateOptionalParams
|
|
45
|
+
options?: ConfigurationAssignmentsForResourceGroupCreateOrUpdateOptionalParams,
|
|
46
46
|
): Promise<ConfigurationAssignmentsForResourceGroupCreateOrUpdateResponse>;
|
|
47
47
|
/**
|
|
48
48
|
* Register configuration for resource.
|
|
@@ -55,7 +55,7 @@ export interface ConfigurationAssignmentsForResourceGroup {
|
|
|
55
55
|
resourceGroupName: string,
|
|
56
56
|
configurationAssignmentName: string,
|
|
57
57
|
configurationAssignment: ConfigurationAssignment,
|
|
58
|
-
options?: ConfigurationAssignmentsForResourceGroupUpdateOptionalParams
|
|
58
|
+
options?: ConfigurationAssignmentsForResourceGroupUpdateOptionalParams,
|
|
59
59
|
): Promise<ConfigurationAssignmentsForResourceGroupUpdateResponse>;
|
|
60
60
|
/**
|
|
61
61
|
* Unregister configuration for resource.
|
|
@@ -66,6 +66,6 @@ export interface ConfigurationAssignmentsForResourceGroup {
|
|
|
66
66
|
delete(
|
|
67
67
|
resourceGroupName: string,
|
|
68
68
|
configurationAssignmentName: string,
|
|
69
|
-
options?: ConfigurationAssignmentsForResourceGroupDeleteOptionalParams
|
|
69
|
+
options?: ConfigurationAssignmentsForResourceGroupDeleteOptionalParams,
|
|
70
70
|
): Promise<ConfigurationAssignmentsForResourceGroupDeleteResponse>;
|
|
71
71
|
}
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
ConfigurationAssignmentsForSubscriptionsUpdateOptionalParams,
|
|
16
16
|
ConfigurationAssignmentsForSubscriptionsUpdateResponse,
|
|
17
17
|
ConfigurationAssignmentsForSubscriptionsDeleteOptionalParams,
|
|
18
|
-
ConfigurationAssignmentsForSubscriptionsDeleteResponse
|
|
18
|
+
ConfigurationAssignmentsForSubscriptionsDeleteResponse,
|
|
19
19
|
} from "../models";
|
|
20
20
|
|
|
21
21
|
/** Interface representing a ConfigurationAssignmentsForSubscriptions. */
|
|
@@ -27,7 +27,7 @@ export interface ConfigurationAssignmentsForSubscriptions {
|
|
|
27
27
|
*/
|
|
28
28
|
get(
|
|
29
29
|
configurationAssignmentName: string,
|
|
30
|
-
options?: ConfigurationAssignmentsForSubscriptionsGetOptionalParams
|
|
30
|
+
options?: ConfigurationAssignmentsForSubscriptionsGetOptionalParams,
|
|
31
31
|
): Promise<ConfigurationAssignmentsForSubscriptionsGetResponse>;
|
|
32
32
|
/**
|
|
33
33
|
* Register configuration for resource.
|
|
@@ -38,7 +38,7 @@ export interface ConfigurationAssignmentsForSubscriptions {
|
|
|
38
38
|
createOrUpdate(
|
|
39
39
|
configurationAssignmentName: string,
|
|
40
40
|
configurationAssignment: ConfigurationAssignment,
|
|
41
|
-
options?: ConfigurationAssignmentsForSubscriptionsCreateOrUpdateOptionalParams
|
|
41
|
+
options?: ConfigurationAssignmentsForSubscriptionsCreateOrUpdateOptionalParams,
|
|
42
42
|
): Promise<ConfigurationAssignmentsForSubscriptionsCreateOrUpdateResponse>;
|
|
43
43
|
/**
|
|
44
44
|
* Register configuration for resource.
|
|
@@ -49,7 +49,7 @@ export interface ConfigurationAssignmentsForSubscriptions {
|
|
|
49
49
|
update(
|
|
50
50
|
configurationAssignmentName: string,
|
|
51
51
|
configurationAssignment: ConfigurationAssignment,
|
|
52
|
-
options?: ConfigurationAssignmentsForSubscriptionsUpdateOptionalParams
|
|
52
|
+
options?: ConfigurationAssignmentsForSubscriptionsUpdateOptionalParams,
|
|
53
53
|
): Promise<ConfigurationAssignmentsForSubscriptionsUpdateResponse>;
|
|
54
54
|
/**
|
|
55
55
|
* Unregister configuration for resource.
|
|
@@ -58,6 +58,6 @@ export interface ConfigurationAssignmentsForSubscriptions {
|
|
|
58
58
|
*/
|
|
59
59
|
delete(
|
|
60
60
|
configurationAssignmentName: string,
|
|
61
|
-
options?: ConfigurationAssignmentsForSubscriptionsDeleteOptionalParams
|
|
61
|
+
options?: ConfigurationAssignmentsForSubscriptionsDeleteOptionalParams,
|
|
62
62
|
): Promise<ConfigurationAssignmentsForSubscriptionsDeleteResponse>;
|
|
63
63
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
10
|
import {
|
|
11
11
|
ConfigurationAssignment,
|
|
12
|
-
ConfigurationAssignmentsWithinSubscriptionListOptionalParams
|
|
12
|
+
ConfigurationAssignmentsWithinSubscriptionListOptionalParams,
|
|
13
13
|
} from "../models";
|
|
14
14
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -20,6 +20,6 @@ export interface ConfigurationAssignmentsWithinSubscription {
|
|
|
20
20
|
* @param options The options parameters.
|
|
21
21
|
*/
|
|
22
22
|
list(
|
|
23
|
-
options?: ConfigurationAssignmentsWithinSubscriptionListOptionalParams
|
|
23
|
+
options?: ConfigurationAssignmentsWithinSubscriptionListOptionalParams,
|
|
24
24
|
): PagedAsyncIterableIterator<ConfigurationAssignment>;
|
|
25
25
|
}
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
MaintenanceConfigurationsDeleteOptionalParams,
|
|
18
18
|
MaintenanceConfigurationsDeleteResponse,
|
|
19
19
|
MaintenanceConfigurationsUpdateOptionalParams,
|
|
20
|
-
MaintenanceConfigurationsUpdateResponse
|
|
20
|
+
MaintenanceConfigurationsUpdateResponse,
|
|
21
21
|
} from "../models";
|
|
22
22
|
|
|
23
23
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -28,7 +28,7 @@ export interface MaintenanceConfigurations {
|
|
|
28
28
|
* @param options The options parameters.
|
|
29
29
|
*/
|
|
30
30
|
list(
|
|
31
|
-
options?: MaintenanceConfigurationsListOptionalParams
|
|
31
|
+
options?: MaintenanceConfigurationsListOptionalParams,
|
|
32
32
|
): PagedAsyncIterableIterator<MaintenanceConfiguration>;
|
|
33
33
|
/**
|
|
34
34
|
* Get Configuration record
|
|
@@ -39,7 +39,7 @@ export interface MaintenanceConfigurations {
|
|
|
39
39
|
get(
|
|
40
40
|
resourceGroupName: string,
|
|
41
41
|
resourceName: string,
|
|
42
|
-
options?: MaintenanceConfigurationsGetOptionalParams
|
|
42
|
+
options?: MaintenanceConfigurationsGetOptionalParams,
|
|
43
43
|
): Promise<MaintenanceConfigurationsGetResponse>;
|
|
44
44
|
/**
|
|
45
45
|
* Create or Update configuration record
|
|
@@ -52,7 +52,7 @@ export interface MaintenanceConfigurations {
|
|
|
52
52
|
resourceGroupName: string,
|
|
53
53
|
resourceName: string,
|
|
54
54
|
configuration: MaintenanceConfiguration,
|
|
55
|
-
options?: MaintenanceConfigurationsCreateOrUpdateOptionalParams
|
|
55
|
+
options?: MaintenanceConfigurationsCreateOrUpdateOptionalParams,
|
|
56
56
|
): Promise<MaintenanceConfigurationsCreateOrUpdateResponse>;
|
|
57
57
|
/**
|
|
58
58
|
* Delete Configuration record
|
|
@@ -63,7 +63,7 @@ export interface MaintenanceConfigurations {
|
|
|
63
63
|
delete(
|
|
64
64
|
resourceGroupName: string,
|
|
65
65
|
resourceName: string,
|
|
66
|
-
options?: MaintenanceConfigurationsDeleteOptionalParams
|
|
66
|
+
options?: MaintenanceConfigurationsDeleteOptionalParams,
|
|
67
67
|
): Promise<MaintenanceConfigurationsDeleteResponse>;
|
|
68
68
|
/**
|
|
69
69
|
* Patch configuration record
|
|
@@ -76,6 +76,6 @@ export interface MaintenanceConfigurations {
|
|
|
76
76
|
resourceGroupName: string,
|
|
77
77
|
resourceName: string,
|
|
78
78
|
configuration: MaintenanceConfiguration,
|
|
79
|
-
options?: MaintenanceConfigurationsUpdateOptionalParams
|
|
79
|
+
options?: MaintenanceConfigurationsUpdateOptionalParams,
|
|
80
80
|
): Promise<MaintenanceConfigurationsUpdateResponse>;
|
|
81
81
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
10
|
import {
|
|
11
11
|
MaintenanceConfiguration,
|
|
12
|
-
MaintenanceConfigurationsForResourceGroupListOptionalParams
|
|
12
|
+
MaintenanceConfigurationsForResourceGroupListOptionalParams,
|
|
13
13
|
} from "../models";
|
|
14
14
|
|
|
15
15
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -22,6 +22,6 @@ export interface MaintenanceConfigurationsForResourceGroup {
|
|
|
22
22
|
*/
|
|
23
23
|
list(
|
|
24
24
|
resourceGroupName: string,
|
|
25
|
-
options?: MaintenanceConfigurationsForResourceGroupListOptionalParams
|
|
25
|
+
options?: MaintenanceConfigurationsForResourceGroupListOptionalParams,
|
|
26
26
|
): PagedAsyncIterableIterator<MaintenanceConfiguration>;
|
|
27
27
|
}
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
MaintenanceConfiguration,
|
|
12
12
|
PublicMaintenanceConfigurationsListOptionalParams,
|
|
13
13
|
PublicMaintenanceConfigurationsGetOptionalParams,
|
|
14
|
-
PublicMaintenanceConfigurationsGetResponse
|
|
14
|
+
PublicMaintenanceConfigurationsGetResponse,
|
|
15
15
|
} from "../models";
|
|
16
16
|
|
|
17
17
|
/// <reference lib="esnext.asynciterable" />
|
|
@@ -22,7 +22,7 @@ export interface PublicMaintenanceConfigurations {
|
|
|
22
22
|
* @param options The options parameters.
|
|
23
23
|
*/
|
|
24
24
|
list(
|
|
25
|
-
options?: PublicMaintenanceConfigurationsListOptionalParams
|
|
25
|
+
options?: PublicMaintenanceConfigurationsListOptionalParams,
|
|
26
26
|
): PagedAsyncIterableIterator<MaintenanceConfiguration>;
|
|
27
27
|
/**
|
|
28
28
|
* Get Public Maintenance Configuration record
|
|
@@ -31,6 +31,6 @@ export interface PublicMaintenanceConfigurations {
|
|
|
31
31
|
*/
|
|
32
32
|
get(
|
|
33
33
|
resourceName: string,
|
|
34
|
-
options?: PublicMaintenanceConfigurationsGetOptionalParams
|
|
34
|
+
options?: PublicMaintenanceConfigurationsGetOptionalParams,
|
|
35
35
|
): Promise<PublicMaintenanceConfigurationsGetResponse>;
|
|
36
36
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import {
|
|
10
|
+
ScheduledEventAcknowledgeOptionalParams,
|
|
11
|
+
ScheduledEventAcknowledgeResponse,
|
|
12
|
+
} from "../models";
|
|
13
|
+
|
|
14
|
+
/** Interface representing a ScheduledEvent. */
|
|
15
|
+
export interface ScheduledEvent {
|
|
16
|
+
/**
|
|
17
|
+
* Post Scheduled Event Acknowledgement
|
|
18
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
19
|
+
* @param resourceType Resource type
|
|
20
|
+
* @param resourceName Resource Name
|
|
21
|
+
* @param scheduledEventId Scheduled Event Id. This is a GUID-formatted string (e.g.
|
|
22
|
+
* 00000000-0000-0000-0000-000000000000)
|
|
23
|
+
* @param options The options parameters.
|
|
24
|
+
*/
|
|
25
|
+
acknowledge(
|
|
26
|
+
resourceGroupName: string,
|
|
27
|
+
resourceType: string,
|
|
28
|
+
resourceName: string,
|
|
29
|
+
scheduledEventId: string,
|
|
30
|
+
options?: ScheduledEventAcknowledgeOptionalParams,
|
|
31
|
+
): Promise<ScheduledEventAcknowledgeResponse>;
|
|
32
|
+
}
|