@azure/arm-maintenance 1.0.0-alpha.20240513.1 → 1.0.0-alpha.20240523.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { MaintenanceManagementClient } from "@azure/arm-maintenance";
|
|
11
|
+
import { MaintenanceManagementClient, } from "@azure/arm-maintenance";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Register configuration for resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Register configuration for resource.
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_CreateOrUpdate.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsForSubscriptionsCreateOrUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -29,17 +29,17 @@ function configurationAssignmentsForSubscriptionsCreateOrUpdate() {
|
|
|
29
29
|
resourceGroups: ["RG1", "RG2"],
|
|
30
30
|
resourceTypes: [
|
|
31
31
|
"Microsoft.HybridCompute/machines",
|
|
32
|
-
"Microsoft.Compute/virtualMachines"
|
|
32
|
+
"Microsoft.Compute/virtualMachines",
|
|
33
33
|
],
|
|
34
34
|
tagSettings: {
|
|
35
35
|
filterOperator: "Any",
|
|
36
36
|
tags: {
|
|
37
37
|
tag1: ["tag1Value1", "tag1Value2", "tag1Value3"],
|
|
38
|
-
tag2: ["tag2Value1", "tag2Value2", "tag2Value3"]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
38
|
+
tag2: ["tag2Value1", "tag2Value2", "tag2Value3"],
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
41
|
},
|
|
42
|
-
maintenanceConfigurationId: "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1"
|
|
42
|
+
maintenanceConfigurationId: "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
|
43
43
|
};
|
|
44
44
|
const credential = new DefaultAzureCredential();
|
|
45
45
|
const client = new MaintenanceManagementClient(credential, subscriptionId);
|
package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,
|
|
1
|
+
{"version":3,"file":"configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.ts"],"names":[],"mappings":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K,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Unregister configuration for resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Unregister configuration for resource.
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Delete.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsForSubscriptionsDelete() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get configuration assignment for resource..
|
|
17
17
|
*
|
|
18
18
|
* @summary Get configuration assignment for resource..
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsGetParent() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { MaintenanceManagementClient } from "@azure/arm-maintenance";
|
|
11
|
+
import { MaintenanceManagementClient, } from "@azure/arm-maintenance";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Register configuration for resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary Register configuration for resource.
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsForSubscriptions_UpdateForResource.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsForSubscriptionsCreateOrUpdate() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -29,17 +29,17 @@ function configurationAssignmentsForSubscriptionsCreateOrUpdate() {
|
|
|
29
29
|
resourceGroups: ["RG1", "RG2"],
|
|
30
30
|
resourceTypes: [
|
|
31
31
|
"Microsoft.HybridCompute/machines",
|
|
32
|
-
"Microsoft.Compute/virtualMachines"
|
|
32
|
+
"Microsoft.Compute/virtualMachines",
|
|
33
33
|
],
|
|
34
34
|
tagSettings: {
|
|
35
35
|
filterOperator: "Any",
|
|
36
36
|
tags: {
|
|
37
37
|
tag1: ["tag1Value1", "tag1Value2", "tag1Value3"],
|
|
38
|
-
tag2: ["tag2Value1", "tag2Value2", "tag2Value3"]
|
|
39
|
-
}
|
|
40
|
-
}
|
|
38
|
+
tag2: ["tag2Value1", "tag2Value2", "tag2Value3"],
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
41
|
},
|
|
42
|
-
maintenanceConfigurationId: "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1"
|
|
42
|
+
maintenanceConfigurationId: "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourcegroups/examplerg/providers/Microsoft.Maintenance/maintenanceConfigurations/configuration1",
|
|
43
43
|
};
|
|
44
44
|
const credential = new DefaultAzureCredential();
|
|
45
45
|
const client = new MaintenanceManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationAssignmentsForSubscriptionsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,
|
|
1
|
+
{"version":3,"file":"configurationAssignmentsForSubscriptionsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,sDAAsD;;QACnE,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,2BAA2B,GAAG,uBAAuB,CAAC;QAC5D,MAAM,uBAAuB,GAA4B;YACvD,MAAM,EAAE;gBACN,SAAS,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;gBACrC,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;gBAC9B,aAAa,EAAE;oBACb,kCAAkC;oBAClC,mCAAmC;iBACpC;gBACD,WAAW,EAAE;oBACX,cAAc,EAAE,KAAK;oBACrB,IAAI,EAAE;wBACJ,IAAI,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC;wBAChD,IAAI,EAAE,CAAC,YAAY,EAAE,YAAY,EAAE,YAAY,CAAC;qBACjD;iBACF;aACF;YACD,0BAA0B,EACxB,uJAAuJ;SAC1J,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,wCAAwC,CAAC,MAAM,CACzE,2BAA2B,EAC3B,uBAAuB,CACxB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,sDAAsD,EAAE,CAAC;IAC3D,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get configuration assignment for resource..
|
|
17
17
|
*
|
|
18
18
|
* @summary Get configuration assignment for resource..
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_GetParent.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsGetParent() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get configuration assignment for resource..
|
|
17
17
|
*
|
|
18
18
|
* @summary Get configuration assignment for resource..
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_Get.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsGet() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List configurationAssignments for resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary List configurationAssignments for resource.
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_ListParent.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsListParent() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List configurationAssignments for resource.
|
|
17
17
|
*
|
|
18
18
|
* @summary List configurationAssignments for resource.
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignments_List.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get configuration assignment within a subscription
|
|
17
17
|
*
|
|
18
18
|
* @summary Get configuration assignment within a subscription
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ConfigurationAssignmentsResultWithinSubscription_List.json
|
|
20
20
|
*/
|
|
21
21
|
function configurationAssignmentsResultWithinSubscriptionList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { MaintenanceManagementClient } from "@azure/arm-maintenance";
|
|
11
|
+
import { MaintenanceManagementClient, } from "@azure/arm-maintenance";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Create or Update configuration record
|
|
17
17
|
*
|
|
18
18
|
* @summary Create or Update configuration record
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_CreateOrUpdateForResource.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceConfigurationsCreateOrUpdateForResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,7 +33,7 @@ function maintenanceConfigurationsCreateOrUpdateForResource() {
|
|
|
33
33
|
recurEvery: "Day",
|
|
34
34
|
startDateTime: "2020-04-30 08:00",
|
|
35
35
|
timeZone: "Pacific Standard Time",
|
|
36
|
-
visibility: "Custom"
|
|
36
|
+
visibility: "Custom",
|
|
37
37
|
};
|
|
38
38
|
const credential = new DefaultAzureCredential();
|
|
39
39
|
const client = new MaintenanceManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceConfigurationsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,
|
|
1
|
+
{"version":3,"file":"maintenanceConfigurationsCreateOrUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/maintenanceConfigurationsCreateOrUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,kDAAkD;;QAC/D,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,WAAW,CAAC;QAC3D,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,aAAa,GAA6B;YAC9C,QAAQ,EAAE,OAAO;YACjB,kBAAkB,EAAE,kBAAkB;YACtC,QAAQ,EAAE,SAAS;YACnB,gBAAgB,EAAE,SAAS;YAC3B,SAAS,EAAE,uBAAuB;YAClC,UAAU,EAAE,KAAK;YACjB,aAAa,EAAE,kBAAkB;YACjC,QAAQ,EAAE,uBAAuB;YACjC,UAAU,EAAE,QAAQ;SACrB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,cAAc,CAClE,iBAAiB,EACjB,YAAY,EACZ,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,kDAAkD,EAAE,CAAC;IACvD,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Delete Configuration record
|
|
17
17
|
*
|
|
18
18
|
* @summary Delete Configuration record
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_DeleteForResource.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceConfigurationsDeleteForResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get Configuration records within a subscription and resource group
|
|
17
17
|
*
|
|
18
18
|
* @summary Get Configuration records within a subscription and resource group
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurationsResourceGroup_List.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceConfigurationsResourceGroupList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get Configuration record
|
|
17
17
|
*
|
|
18
18
|
* @summary Get Configuration record
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceConfigurationsGetForResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -34,7 +34,7 @@ function maintenanceConfigurationsGetForResource() {
|
|
|
34
34
|
* This sample demonstrates how to Get Configuration record
|
|
35
35
|
*
|
|
36
36
|
* @summary Get Configuration record
|
|
37
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
37
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchLinux.json
|
|
38
38
|
*/
|
|
39
39
|
function maintenanceConfigurationsGetForResourceGuestOSPatchLinux() {
|
|
40
40
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52,7 +52,7 @@ function maintenanceConfigurationsGetForResourceGuestOSPatchLinux() {
|
|
|
52
52
|
* This sample demonstrates how to Get Configuration record
|
|
53
53
|
*
|
|
54
54
|
* @summary Get Configuration record
|
|
55
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
55
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_GetForResource_GuestOSPatchWindows.json
|
|
56
56
|
*/
|
|
57
57
|
function maintenanceConfigurationsGetForResourceGuestOSPatchWindows() {
|
|
58
58
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get Configuration records within a subscription
|
|
17
17
|
*
|
|
18
18
|
* @summary Get Configuration records within a subscription
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_List.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceConfigurationsList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
// Copyright (c) Microsoft Corporation.
|
|
10
10
|
// Licensed under the MIT License.
|
|
11
|
-
import { MaintenanceManagementClient } from "@azure/arm-maintenance";
|
|
11
|
+
import { MaintenanceManagementClient, } from "@azure/arm-maintenance";
|
|
12
12
|
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
13
|
import * as dotenv from "dotenv";
|
|
14
14
|
dotenv.config();
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Patch configuration record
|
|
17
17
|
*
|
|
18
18
|
* @summary Patch configuration record
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/MaintenanceConfigurations_UpdateForResource.json
|
|
20
20
|
*/
|
|
21
21
|
function maintenanceConfigurationsUpdateForResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,7 +33,7 @@ function maintenanceConfigurationsUpdateForResource() {
|
|
|
33
33
|
recurEvery: "Month Third Sunday",
|
|
34
34
|
startDateTime: "2020-04-30 08:00",
|
|
35
35
|
timeZone: "Pacific Standard Time",
|
|
36
|
-
visibility: "Custom"
|
|
36
|
+
visibility: "Custom",
|
|
37
37
|
};
|
|
38
38
|
const credential = new DefaultAzureCredential();
|
|
39
39
|
const client = new MaintenanceManagementClient(credential, subscriptionId);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceConfigurationsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/maintenanceConfigurationsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,
|
|
1
|
+
{"version":3,"file":"maintenanceConfigurationsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/maintenanceConfigurationsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,2BAA2B,GAC5B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0CAA0C;;QACvD,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,WAAW,CAAC;QAC3D,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,aAAa,GAA6B;YAC9C,QAAQ,EAAE,OAAO;YACjB,kBAAkB,EAAE,kBAAkB;YACtC,QAAQ,EAAE,SAAS;YACnB,gBAAgB,EAAE,SAAS;YAC3B,SAAS,EAAE,uBAAuB;YAClC,UAAU,EAAE,oBAAoB;YAChC,aAAa,EAAE,kBAAkB;YACjC,QAAQ,EAAE,uBAAuB;YACjC,UAAU,EAAE,QAAQ;SACrB,CAAC;QACF,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,yBAAyB,CAAC,MAAM,CAC1D,iBAAiB,EACjB,YAAY,EACZ,aAAa,CACd,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0CAA0C,EAAE,CAAC;IAC/C,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to List the available operations supported by the Microsoft.Maintenance resource provider
|
|
17
17
|
*
|
|
18
18
|
* @summary List the available operations supported by the Microsoft.Maintenance resource provider
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/Operations_List.json
|
|
20
20
|
*/
|
|
21
21
|
function operationsList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get Public Maintenance Configuration record
|
|
17
17
|
*
|
|
18
18
|
* @summary Get Public Maintenance Configuration record
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/PublicMaintenanceConfigurations_GetForResource.json
|
|
20
20
|
*/
|
|
21
21
|
function publicMaintenanceConfigurationsGetForResource() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get Public Maintenance Configuration records
|
|
17
17
|
*
|
|
18
18
|
* @summary Get Public Maintenance Configuration records
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/PublicMaintenanceConfigurations_List.json
|
|
20
20
|
*/
|
|
21
21
|
function publicMaintenanceConfigurationsList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledEventAcknowledgeSample.d.ts","sourceRoot":"","sources":["../../samples-dev/scheduledEventAcknowledgeSample.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
import { __awaiter } from "tslib";
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT License.
|
|
11
|
+
import { MaintenanceManagementClient } from "@azure/arm-maintenance";
|
|
12
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
13
|
+
import * as dotenv from "dotenv";
|
|
14
|
+
dotenv.config();
|
|
15
|
+
/**
|
|
16
|
+
* This sample demonstrates how to Post Scheduled Event Acknowledgement
|
|
17
|
+
*
|
|
18
|
+
* @summary Post Scheduled Event Acknowledgement
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/ScheduledEvents_Acknowledge.json
|
|
20
|
+
*/
|
|
21
|
+
function scheduledEventsAcknowledge() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
const subscriptionId = process.env["MAINTENANCE_SUBSCRIPTION_ID"] ||
|
|
24
|
+
"5b4b650e-28b9-4790-b3ab-ddbd88d727c4";
|
|
25
|
+
const resourceGroupName = process.env["MAINTENANCE_RESOURCE_GROUP"] || "examplerg";
|
|
26
|
+
const resourceType = "virtualMachines";
|
|
27
|
+
const resourceName = "configuration1";
|
|
28
|
+
const scheduledEventId = "ad6d85cf-2c9e-4eec-9a1e-af3213cc0486";
|
|
29
|
+
const credential = new DefaultAzureCredential();
|
|
30
|
+
const client = new MaintenanceManagementClient(credential, subscriptionId);
|
|
31
|
+
const result = yield client.scheduledEvent.acknowledge(resourceGroupName, resourceType, resourceName, scheduledEventId);
|
|
32
|
+
console.log(result);
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
function main() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
scheduledEventsAcknowledge();
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
main().catch(console.error);
|
|
41
|
+
//# sourceMappingURL=scheduledEventAcknowledgeSample.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledEventAcknowledgeSample.js","sourceRoot":"","sources":["../../samples-dev/scheduledEventAcknowledgeSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEhB;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAClB,OAAO,CAAC,GAAG,CAAC,6BAA6B,CAAC;YAC1C,sCAAsC,CAAC;QACzC,MAAM,iBAAiB,GACrB,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC,IAAI,WAAW,CAAC;QAC3D,MAAM,YAAY,GAAG,iBAAiB,CAAC;QACvC,MAAM,YAAY,GAAG,gBAAgB,CAAC;QACtC,MAAM,gBAAgB,GAAG,sCAAsC,CAAC;QAChE,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,2BAA2B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC3E,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,WAAW,CACpD,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,gBAAgB,CACjB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,SAAe,IAAI;;QACjB,0BAA0B,EAAE,CAAC;IAC/B,CAAC;CAAA;AAED,IAAI,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get updates to resources.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get updates to resources.
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/Updates_ListParent.json
|
|
20
20
|
*/
|
|
21
21
|
function updatesListParent() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Get updates to resources.
|
|
17
17
|
*
|
|
18
18
|
* @summary Get updates to resources.
|
|
19
|
-
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/
|
|
19
|
+
* x-ms-original-file: specification/maintenance/resource-manager/Microsoft.Maintenance/preview/2023-10-01-preview/examples/Updates_List.json
|
|
20
20
|
*/
|
|
21
21
|
function updatesList() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { PublicMaintenanceConfigurations, ApplyUpdates, ConfigurationAssignments, MaintenanceConfigurations, MaintenanceConfigurationsForResourceGroup, ApplyUpdateForResourceGroup, ConfigurationAssignmentsWithinSubscription, ConfigurationAssignmentsForSubscriptions, ConfigurationAssignmentsForResourceGroup, Operations, Updates } from "./operationsInterfaces";
|
|
3
|
+
import { ScheduledEvent, PublicMaintenanceConfigurations, ApplyUpdates, ConfigurationAssignments, MaintenanceConfigurations, MaintenanceConfigurationsForResourceGroup, ApplyUpdateForResourceGroup, ConfigurationAssignmentsWithinSubscription, ConfigurationAssignmentsForSubscriptions, ConfigurationAssignmentsForResourceGroup, Operations, Updates } from "./operationsInterfaces";
|
|
4
4
|
import { MaintenanceManagementClientOptionalParams } from "./models";
|
|
5
5
|
export declare class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
@@ -9,13 +9,13 @@ export declare class MaintenanceManagementClient extends coreClient.ServiceClien
|
|
|
9
9
|
/**
|
|
10
10
|
* Initializes a new instance of the MaintenanceManagementClient class.
|
|
11
11
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
12
|
-
* @param subscriptionId
|
|
13
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
12
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
14
13
|
* @param options The parameter options
|
|
15
14
|
*/
|
|
16
15
|
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MaintenanceManagementClientOptionalParams);
|
|
17
16
|
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
18
17
|
private addCustomApiVersionPolicy;
|
|
18
|
+
scheduledEvent: ScheduledEvent;
|
|
19
19
|
publicMaintenanceConfigurations: PublicMaintenanceConfigurations;
|
|
20
20
|
applyUpdates: ApplyUpdates;
|
|
21
21
|
configurationAssignments: ConfigurationAssignments;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceManagementClient.d.ts","sourceRoot":"","sources":["../../src/maintenanceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"maintenanceManagementClient.d.ts","sourceRoot":"","sources":["../../src/maintenanceManagementClient.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AAOjD,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAC;AAe7C,OAAO,EACL,cAAc,EACd,+BAA+B,EAC/B,YAAY,EACZ,wBAAwB,EACxB,yBAAyB,EACzB,yCAAyC,EACzC,2BAA2B,EAC3B,0CAA0C,EAC1C,wCAAwC,EACxC,wCAAwC,EACxC,UAAU,EACV,OAAO,EACR,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,yCAAyC,EAAE,MAAM,UAAU,CAAC;AAErE,qBAAa,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;gBAED,WAAW,EAAE,QAAQ,CAAC,eAAe,EACrC,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,yCAAyC;IA+FrD,8GAA8G;IAC9G,OAAO,CAAC,yBAAyB;IA2BjC,cAAc,EAAE,cAAc,CAAC;IAC/B,+BAA+B,EAAE,+BAA+B,CAAC;IACjE,YAAY,EAAE,YAAY,CAAC;IAC3B,wBAAwB,EAAE,wBAAwB,CAAC;IACnD,yBAAyB,EAAE,yBAAyB,CAAC;IACrD,yCAAyC,EAAE,yCAAyC,CAAC;IACrF,2BAA2B,EAAE,2BAA2B,CAAC;IACzD,0CAA0C,EAAE,0CAA0C,CAAC;IACvF,wCAAwC,EAAE,wCAAwC,CAAC;IACnF,wCAAwC,EAAE,wCAAwC,CAAC;IACnF,UAAU,EAAE,UAAU,CAAC;IACvB,OAAO,EAAE,OAAO,CAAC;CAClB"}
|
|
@@ -8,13 +8,12 @@
|
|
|
8
8
|
import { __awaiter } from "tslib";
|
|
9
9
|
import * as coreClient from "@azure/core-client";
|
|
10
10
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { PublicMaintenanceConfigurationsImpl, ApplyUpdatesImpl, ConfigurationAssignmentsImpl, MaintenanceConfigurationsImpl, MaintenanceConfigurationsForResourceGroupImpl, ApplyUpdateForResourceGroupImpl, ConfigurationAssignmentsWithinSubscriptionImpl, ConfigurationAssignmentsForSubscriptionsImpl, ConfigurationAssignmentsForResourceGroupImpl, OperationsImpl, UpdatesImpl } from "./operations";
|
|
11
|
+
import { ScheduledEventImpl, PublicMaintenanceConfigurationsImpl, ApplyUpdatesImpl, ConfigurationAssignmentsImpl, MaintenanceConfigurationsImpl, MaintenanceConfigurationsForResourceGroupImpl, ApplyUpdateForResourceGroupImpl, ConfigurationAssignmentsWithinSubscriptionImpl, ConfigurationAssignmentsForSubscriptionsImpl, ConfigurationAssignmentsForResourceGroupImpl, OperationsImpl, UpdatesImpl, } from "./operations";
|
|
12
12
|
export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
13
13
|
/**
|
|
14
14
|
* Initializes a new instance of the MaintenanceManagementClient class.
|
|
15
15
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
16
|
-
* @param subscriptionId
|
|
17
|
-
* subscription. The subscription ID forms part of the URI for every service call.
|
|
16
|
+
* @param subscriptionId The ID of the target subscription. The value must be an UUID.
|
|
18
17
|
* @param options The parameter options
|
|
19
18
|
*/
|
|
20
19
|
constructor(credentials, subscriptionId, options) {
|
|
@@ -31,14 +30,14 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
31
30
|
}
|
|
32
31
|
const defaults = {
|
|
33
32
|
requestContentType: "application/json; charset=utf-8",
|
|
34
|
-
credential: credentials
|
|
33
|
+
credential: credentials,
|
|
35
34
|
};
|
|
36
|
-
const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.
|
|
35
|
+
const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.2`;
|
|
37
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
38
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
39
38
|
: `${packageDetails}`;
|
|
40
39
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
41
|
-
userAgentPrefix
|
|
40
|
+
userAgentPrefix,
|
|
42
41
|
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
43
42
|
super(optionsWithDefaults);
|
|
44
43
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
@@ -52,30 +51,36 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
52
51
|
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
53
52
|
!bearerTokenAuthenticationPolicyFound) {
|
|
54
53
|
this.pipeline.removePolicy({
|
|
55
|
-
name: coreRestPipeline.bearerTokenAuthenticationPolicyName
|
|
54
|
+
name: coreRestPipeline.bearerTokenAuthenticationPolicyName,
|
|
56
55
|
});
|
|
57
56
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
58
57
|
credential: credentials,
|
|
59
58
|
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
60
59
|
challengeCallbacks: {
|
|
61
|
-
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge
|
|
62
|
-
}
|
|
60
|
+
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
61
|
+
},
|
|
63
62
|
}));
|
|
64
63
|
}
|
|
65
64
|
// Parameter assignments
|
|
66
65
|
this.subscriptionId = subscriptionId;
|
|
67
66
|
// Assigning values to Constant parameters
|
|
68
67
|
this.$host = options.$host || "https://management.azure.com";
|
|
69
|
-
this.apiVersion = options.apiVersion || "2023-
|
|
70
|
-
this.
|
|
68
|
+
this.apiVersion = options.apiVersion || "2023-10-01-preview";
|
|
69
|
+
this.scheduledEvent = new ScheduledEventImpl(this);
|
|
70
|
+
this.publicMaintenanceConfigurations =
|
|
71
|
+
new PublicMaintenanceConfigurationsImpl(this);
|
|
71
72
|
this.applyUpdates = new ApplyUpdatesImpl(this);
|
|
72
73
|
this.configurationAssignments = new ConfigurationAssignmentsImpl(this);
|
|
73
74
|
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
|
|
74
|
-
this.maintenanceConfigurationsForResourceGroup =
|
|
75
|
+
this.maintenanceConfigurationsForResourceGroup =
|
|
76
|
+
new MaintenanceConfigurationsForResourceGroupImpl(this);
|
|
75
77
|
this.applyUpdateForResourceGroup = new ApplyUpdateForResourceGroupImpl(this);
|
|
76
|
-
this.configurationAssignmentsWithinSubscription =
|
|
77
|
-
|
|
78
|
-
this.
|
|
78
|
+
this.configurationAssignmentsWithinSubscription =
|
|
79
|
+
new ConfigurationAssignmentsWithinSubscriptionImpl(this);
|
|
80
|
+
this.configurationAssignmentsForSubscriptions =
|
|
81
|
+
new ConfigurationAssignmentsForSubscriptionsImpl(this);
|
|
82
|
+
this.configurationAssignmentsForResourceGroup =
|
|
83
|
+
new ConfigurationAssignmentsForResourceGroupImpl(this);
|
|
79
84
|
this.operations = new OperationsImpl(this);
|
|
80
85
|
this.updates = new UpdatesImpl(this);
|
|
81
86
|
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
@@ -103,7 +108,7 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
103
108
|
}
|
|
104
109
|
return next(request);
|
|
105
110
|
});
|
|
106
|
-
}
|
|
111
|
+
},
|
|
107
112
|
};
|
|
108
113
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
109
114
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"maintenanceManagementClient.js","sourceRoot":"","sources":["../../src/maintenanceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,mCAAmC,EACnC,gBAAgB,EAChB,4BAA4B,EAC5B,6BAA6B,EAC7B,6CAA6C,EAC7C,+BAA+B,EAC/B,8CAA8C,EAC9C,4CAA4C,EAC5C,4CAA4C,EAC5C,cAAc,EACd,WAAW,
|
|
1
|
+
{"version":3,"file":"maintenanceManagementClient.js","sourceRoot":"","sources":["../../src/maintenanceManagementClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,kBAAkB,EAClB,mCAAmC,EACnC,gBAAgB,EAChB,4BAA4B,EAC5B,6BAA6B,EAC7B,6CAA6C,EAC7C,+BAA+B,EAC/B,8CAA8C,EAC9C,4CAA4C,EAC5C,4CAA4C,EAC5C,cAAc,EACd,WAAW,GACZ,MAAM,cAAc,CAAC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