@azure/arm-maintenance 1.0.0-beta.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 +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +3145 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.d.ts +2 -0
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js +59 -0
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.d.ts +2 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.js +43 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.js.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.js +41 -0
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.d.ts +2 -0
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.js +44 -0
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.js.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/applyUpdatesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesGetSample.js +42 -0
- package/dist-esm/samples-dev/applyUpdatesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/applyUpdatesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/applyUpdatesListSample.js +58 -0
- package/dist-esm/samples-dev/applyUpdatesListSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.js +47 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.js +45 -0
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.js +44 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.js +42 -0
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.js +56 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.js +39 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.js +39 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.js +56 -0
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js +56 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.js +38 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.js +38 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.js +56 -0
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.js +44 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.js +42 -0
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js +64 -0
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsListSample.js +62 -0
- package/dist-esm/samples-dev/configurationAssignmentsListSample.js.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.d.ts +2 -0
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js +58 -0
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js +50 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.d.ts +2 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js +59 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js +77 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js +58 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.js +50 -0
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationsListSample.js +58 -0
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.js +38 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js +58 -0
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/updatesListParentSample.d.ts +2 -0
- package/dist-esm/samples-dev/updatesListParentSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/updatesListParentSample.js +64 -0
- package/dist-esm/samples-dev/updatesListParentSample.js.map +1 -0
- package/dist-esm/samples-dev/updatesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/updatesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/updatesListSample.js +62 -0
- package/dist-esm/samples-dev/updatesListSample.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/maintenanceManagementClient.d.ts +31 -0
- package/dist-esm/src/maintenanceManagementClient.d.ts.map +1 -0
- package/dist-esm/src/maintenanceManagementClient.js +111 -0
- package/dist-esm/src/maintenanceManagementClient.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +534 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +82 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +22 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +659 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +18 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +164 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/applyUpdateForResourceGroup.d.ts +28 -0
- package/dist-esm/src/operations/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist-esm/src/operations/applyUpdateForResourceGroup.js +107 -0
- package/dist-esm/src/operations/applyUpdateForResourceGroup.js.map +1 -0
- package/dist-esm/src/operations/applyUpdates.d.ts +68 -0
- package/dist-esm/src/operations/applyUpdates.d.ts.map +1 -0
- package/dist-esm/src/operations/applyUpdates.js +279 -0
- package/dist-esm/src/operations/applyUpdates.js.map +1 -0
- package/dist-esm/src/operations/configurationAssignments.d.ts +126 -0
- package/dist-esm/src/operations/configurationAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/configurationAssignments.js +513 -0
- package/dist-esm/src/operations/configurationAssignments.js.map +1 -0
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.d.ts +43 -0
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.js +163 -0
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.d.ts +39 -0
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.js +145 -0
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.d.ts +26 -0
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js +101 -0
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +12 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +19 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/maintenanceConfigurations.d.ts +56 -0
- package/dist-esm/src/operations/maintenanceConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/maintenanceConfigurations.js +231 -0
- package/dist-esm/src/operations/maintenanceConfigurations.js.map +1 -0
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.d.ts +28 -0
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js +107 -0
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +101 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/publicMaintenanceConfigurations.d.ts +32 -0
- package/dist-esm/src/operations/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js +129 -0
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js.map +1 -0
- package/dist-esm/src/operations/updates.d.ts +58 -0
- package/dist-esm/src/operations/updates.d.ts.map +1 -0
- package/dist-esm/src/operations/updates.js +221 -0
- package/dist-esm/src/operations/updates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.js +9 -0
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/applyUpdates.d.ts +53 -0
- package/dist-esm/src/operationsInterfaces/applyUpdates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/applyUpdates.js +9 -0
- package/dist-esm/src/operationsInterfaces/applyUpdates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignments.d.ts +94 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts +35 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.js +9 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts +31 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.js +9 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.js +9 -0
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +19 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js +9 -0
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.js +9 -0
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/updates.d.ts +26 -0
- package/dist-esm/src/operationsInterfaces/updates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/updates.js +9 -0
- package/dist-esm/src/operationsInterfaces/updates.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/maintenance_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/maintenance_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/maintenance_operations_test.spec.js +128 -0
- package/dist-esm/test/maintenance_operations_test.spec.js.map +1 -0
- package/package.json +121 -0
- package/review/arm-maintenance.api.md +597 -0
- package/rollup.config.js +122 -0
- package/src/index.ts +13 -0
- package/src/maintenanceManagementClient.ts +197 -0
- package/src/models/index.ts +637 -0
- package/src/models/mappers.ts +705 -0
- package/src/models/parameters.ts +188 -0
- package/src/operations/applyUpdateForResourceGroup.ts +118 -0
- package/src/operations/applyUpdates.ts +340 -0
- package/src/operations/configurationAssignments.ts +706 -0
- package/src/operations/configurationAssignmentsForResourceGroup.ts +219 -0
- package/src/operations/configurationAssignmentsForSubscriptions.ts +197 -0
- package/src/operations/configurationAssignmentsWithinSubscription.ts +105 -0
- package/src/operations/index.ts +19 -0
- package/src/operations/maintenanceConfigurations.ts +281 -0
- package/src/operations/maintenanceConfigurationsForResourceGroup.ts +118 -0
- package/src/operations/operations.ts +103 -0
- package/src/operations/publicMaintenanceConfigurations.ts +143 -0
- package/src/operations/updates.ts +322 -0
- package/src/operationsInterfaces/applyUpdateForResourceGroup.ts +27 -0
- package/src/operationsInterfaces/applyUpdates.ts +105 -0
- package/src/operationsInterfaces/configurationAssignments.ts +183 -0
- package/src/operationsInterfaces/configurationAssignmentsForResourceGroup.ts +71 -0
- package/src/operationsInterfaces/configurationAssignmentsForSubscriptions.ts +63 -0
- package/src/operationsInterfaces/configurationAssignmentsWithinSubscription.ts +25 -0
- package/src/operationsInterfaces/index.ts +19 -0
- package/src/operationsInterfaces/maintenanceConfigurations.ts +81 -0
- package/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.ts +27 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/publicMaintenanceConfigurations.ts +36 -0
- package/src/operationsInterfaces/updates.ts +53 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-maintenance.d.ts +998 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,998 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
|
|
5
|
+
/** Apply Update request */
|
|
6
|
+
export declare interface ApplyUpdate extends Resource {
|
|
7
|
+
/** The status */
|
|
8
|
+
status?: UpdateStatus;
|
|
9
|
+
/** The resourceId */
|
|
10
|
+
resourceId?: string;
|
|
11
|
+
/** Last Update time */
|
|
12
|
+
lastUpdateTime?: Date;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/** Interface representing a ApplyUpdateForResourceGroup. */
|
|
16
|
+
export declare interface ApplyUpdateForResourceGroup {
|
|
17
|
+
/**
|
|
18
|
+
* Get Configuration records within a subscription and resource group
|
|
19
|
+
* @param resourceGroupName Resource Group Name
|
|
20
|
+
* @param options The options parameters.
|
|
21
|
+
*/
|
|
22
|
+
list(resourceGroupName: string, options?: ApplyUpdateForResourceGroupListOptionalParams): PagedAsyncIterableIterator<ApplyUpdate>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** Optional parameters. */
|
|
26
|
+
export declare interface ApplyUpdateForResourceGroupListOptionalParams extends coreClient.OperationOptions {
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/** Contains response data for the list operation. */
|
|
30
|
+
export declare type ApplyUpdateForResourceGroupListResponse = ListApplyUpdate;
|
|
31
|
+
|
|
32
|
+
/** Interface representing a ApplyUpdates. */
|
|
33
|
+
export declare interface ApplyUpdates {
|
|
34
|
+
/**
|
|
35
|
+
* Get Configuration records within a subscription
|
|
36
|
+
* @param options The options parameters.
|
|
37
|
+
*/
|
|
38
|
+
list(options?: ApplyUpdatesListOptionalParams): PagedAsyncIterableIterator<ApplyUpdate>;
|
|
39
|
+
/**
|
|
40
|
+
* Track maintenance updates to resource with parent
|
|
41
|
+
* @param resourceGroupName Resource group name
|
|
42
|
+
* @param providerName Resource provider name
|
|
43
|
+
* @param resourceParentType Resource parent type
|
|
44
|
+
* @param resourceParentName Resource parent identifier
|
|
45
|
+
* @param resourceType Resource type
|
|
46
|
+
* @param resourceName Resource identifier
|
|
47
|
+
* @param applyUpdateName applyUpdate Id
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
getParent(resourceGroupName: string, providerName: string, resourceParentType: string, resourceParentName: string, resourceType: string, resourceName: string, applyUpdateName: string, options?: ApplyUpdatesGetParentOptionalParams): Promise<ApplyUpdatesGetParentResponse>;
|
|
51
|
+
/**
|
|
52
|
+
* Track maintenance updates to resource
|
|
53
|
+
* @param resourceGroupName Resource group name
|
|
54
|
+
* @param providerName Resource provider name
|
|
55
|
+
* @param resourceType Resource type
|
|
56
|
+
* @param resourceName Resource identifier
|
|
57
|
+
* @param applyUpdateName applyUpdate Id
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
get(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, applyUpdateName: string, options?: ApplyUpdatesGetOptionalParams): Promise<ApplyUpdatesGetResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Apply maintenance updates to resource with parent
|
|
63
|
+
* @param resourceGroupName Resource group name
|
|
64
|
+
* @param providerName Resource provider name
|
|
65
|
+
* @param resourceParentType Resource parent type
|
|
66
|
+
* @param resourceParentName Resource parent identifier
|
|
67
|
+
* @param resourceType Resource type
|
|
68
|
+
* @param resourceName Resource identifier
|
|
69
|
+
* @param options The options parameters.
|
|
70
|
+
*/
|
|
71
|
+
createOrUpdateParent(resourceGroupName: string, providerName: string, resourceParentType: string, resourceParentName: string, resourceType: string, resourceName: string, options?: ApplyUpdatesCreateOrUpdateParentOptionalParams): Promise<ApplyUpdatesCreateOrUpdateParentResponse>;
|
|
72
|
+
/**
|
|
73
|
+
* Apply maintenance updates to resource
|
|
74
|
+
* @param resourceGroupName Resource group name
|
|
75
|
+
* @param providerName Resource provider name
|
|
76
|
+
* @param resourceType Resource type
|
|
77
|
+
* @param resourceName Resource identifier
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
createOrUpdate(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, options?: ApplyUpdatesCreateOrUpdateOptionalParams): Promise<ApplyUpdatesCreateOrUpdateResponse>;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/** Optional parameters. */
|
|
84
|
+
export declare interface ApplyUpdatesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/** Optional parameters. */
|
|
88
|
+
export declare interface ApplyUpdatesCreateOrUpdateParentOptionalParams extends coreClient.OperationOptions {
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/** Contains response data for the createOrUpdateParent operation. */
|
|
92
|
+
export declare type ApplyUpdatesCreateOrUpdateParentResponse = ApplyUpdate;
|
|
93
|
+
|
|
94
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
95
|
+
export declare type ApplyUpdatesCreateOrUpdateResponse = ApplyUpdate;
|
|
96
|
+
|
|
97
|
+
/** Optional parameters. */
|
|
98
|
+
export declare interface ApplyUpdatesGetOptionalParams extends coreClient.OperationOptions {
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Optional parameters. */
|
|
102
|
+
export declare interface ApplyUpdatesGetParentOptionalParams extends coreClient.OperationOptions {
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** Contains response data for the getParent operation. */
|
|
106
|
+
export declare type ApplyUpdatesGetParentResponse = ApplyUpdate;
|
|
107
|
+
|
|
108
|
+
/** Contains response data for the get operation. */
|
|
109
|
+
export declare type ApplyUpdatesGetResponse = ApplyUpdate;
|
|
110
|
+
|
|
111
|
+
/** Optional parameters. */
|
|
112
|
+
export declare interface ApplyUpdatesListOptionalParams extends coreClient.OperationOptions {
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
/** Contains response data for the list operation. */
|
|
116
|
+
export declare type ApplyUpdatesListResponse = ListApplyUpdate;
|
|
117
|
+
|
|
118
|
+
/** Configuration Assignment */
|
|
119
|
+
export declare interface ConfigurationAssignment extends Resource {
|
|
120
|
+
/** Location of the resource */
|
|
121
|
+
location?: string;
|
|
122
|
+
/** The maintenance configuration Id */
|
|
123
|
+
maintenanceConfigurationId?: string;
|
|
124
|
+
/** The unique resourceId */
|
|
125
|
+
resourceId?: string;
|
|
126
|
+
/** Properties of the configuration assignment */
|
|
127
|
+
filter?: ConfigurationAssignmentFilterProperties;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/** Azure query for the update configuration. */
|
|
131
|
+
export declare interface ConfigurationAssignmentFilterProperties {
|
|
132
|
+
/** List of allowed resources. */
|
|
133
|
+
resourceTypes?: string[];
|
|
134
|
+
/** List of allowed resource groups. */
|
|
135
|
+
resourceGroups?: string[];
|
|
136
|
+
/** List of allowed operating systems. */
|
|
137
|
+
osTypes?: string[];
|
|
138
|
+
/** List of locations to scope the query to. */
|
|
139
|
+
locations?: string[];
|
|
140
|
+
/** Tag settings for the VM. */
|
|
141
|
+
tagSettings?: TagSettingsProperties;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/** Interface representing a ConfigurationAssignments. */
|
|
145
|
+
export declare interface ConfigurationAssignments {
|
|
146
|
+
/**
|
|
147
|
+
* List configurationAssignments for resource.
|
|
148
|
+
* @param resourceGroupName Resource group name
|
|
149
|
+
* @param providerName Resource provider name
|
|
150
|
+
* @param resourceParentType Resource parent type
|
|
151
|
+
* @param resourceParentName Resource parent identifier
|
|
152
|
+
* @param resourceType Resource type
|
|
153
|
+
* @param resourceName Resource identifier
|
|
154
|
+
* @param options The options parameters.
|
|
155
|
+
*/
|
|
156
|
+
listParent(resourceGroupName: string, providerName: string, resourceParentType: string, resourceParentName: string, resourceType: string, resourceName: string, options?: ConfigurationAssignmentsListParentOptionalParams): PagedAsyncIterableIterator<ConfigurationAssignment>;
|
|
157
|
+
/**
|
|
158
|
+
* List configurationAssignments for resource.
|
|
159
|
+
* @param resourceGroupName Resource group name
|
|
160
|
+
* @param providerName Resource provider name
|
|
161
|
+
* @param resourceType Resource type
|
|
162
|
+
* @param resourceName Resource identifier
|
|
163
|
+
* @param options The options parameters.
|
|
164
|
+
*/
|
|
165
|
+
list(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, options?: ConfigurationAssignmentsListOptionalParams): PagedAsyncIterableIterator<ConfigurationAssignment>;
|
|
166
|
+
/**
|
|
167
|
+
* Get configuration assignment for resource..
|
|
168
|
+
* @param resourceGroupName Resource group name
|
|
169
|
+
* @param providerName Resource provider name
|
|
170
|
+
* @param resourceParentType Resource parent type
|
|
171
|
+
* @param resourceParentName Resource parent identifier
|
|
172
|
+
* @param resourceType Resource type
|
|
173
|
+
* @param resourceName Resource identifier
|
|
174
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
getParent(resourceGroupName: string, providerName: string, resourceParentType: string, resourceParentName: string, resourceType: string, resourceName: string, configurationAssignmentName: string, options?: ConfigurationAssignmentsGetParentOptionalParams): Promise<ConfigurationAssignmentsGetParentResponse>;
|
|
178
|
+
/**
|
|
179
|
+
* Register configuration for resource.
|
|
180
|
+
* @param resourceGroupName Resource group name
|
|
181
|
+
* @param providerName Resource provider name
|
|
182
|
+
* @param resourceParentType Resource parent type
|
|
183
|
+
* @param resourceParentName Resource parent identifier
|
|
184
|
+
* @param resourceType Resource type
|
|
185
|
+
* @param resourceName Resource identifier
|
|
186
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
187
|
+
* @param configurationAssignment The configurationAssignment
|
|
188
|
+
* @param options The options parameters.
|
|
189
|
+
*/
|
|
190
|
+
createOrUpdateParent(resourceGroupName: string, providerName: string, resourceParentType: string, resourceParentName: string, resourceType: string, resourceName: string, configurationAssignmentName: string, configurationAssignment: ConfigurationAssignment, options?: ConfigurationAssignmentsCreateOrUpdateParentOptionalParams): Promise<ConfigurationAssignmentsCreateOrUpdateParentResponse>;
|
|
191
|
+
/**
|
|
192
|
+
* Unregister configuration for resource.
|
|
193
|
+
* @param resourceGroupName Resource group name
|
|
194
|
+
* @param providerName Resource provider name
|
|
195
|
+
* @param resourceParentType Resource parent type
|
|
196
|
+
* @param resourceParentName Resource parent identifier
|
|
197
|
+
* @param resourceType Resource type
|
|
198
|
+
* @param resourceName Resource identifier
|
|
199
|
+
* @param configurationAssignmentName Unique configuration assignment name
|
|
200
|
+
* @param options The options parameters.
|
|
201
|
+
*/
|
|
202
|
+
deleteParent(resourceGroupName: string, providerName: string, resourceParentType: string, resourceParentName: string, resourceType: string, resourceName: string, configurationAssignmentName: string, options?: ConfigurationAssignmentsDeleteParentOptionalParams): Promise<ConfigurationAssignmentsDeleteParentResponse>;
|
|
203
|
+
/**
|
|
204
|
+
* Get configuration assignment for resource..
|
|
205
|
+
* @param resourceGroupName Resource group name
|
|
206
|
+
* @param providerName Resource provider name
|
|
207
|
+
* @param resourceType Resource type
|
|
208
|
+
* @param resourceName Resource identifier
|
|
209
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
210
|
+
* @param options The options parameters.
|
|
211
|
+
*/
|
|
212
|
+
get(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, configurationAssignmentName: string, options?: ConfigurationAssignmentsGetOptionalParams): Promise<ConfigurationAssignmentsGetResponse>;
|
|
213
|
+
/**
|
|
214
|
+
* Register configuration for resource.
|
|
215
|
+
* @param resourceGroupName Resource group name
|
|
216
|
+
* @param providerName Resource provider name
|
|
217
|
+
* @param resourceType Resource type
|
|
218
|
+
* @param resourceName Resource identifier
|
|
219
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
220
|
+
* @param configurationAssignment The configurationAssignment
|
|
221
|
+
* @param options The options parameters.
|
|
222
|
+
*/
|
|
223
|
+
createOrUpdate(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, configurationAssignmentName: string, configurationAssignment: ConfigurationAssignment, options?: ConfigurationAssignmentsCreateOrUpdateOptionalParams): Promise<ConfigurationAssignmentsCreateOrUpdateResponse>;
|
|
224
|
+
/**
|
|
225
|
+
* Unregister configuration for resource.
|
|
226
|
+
* @param resourceGroupName Resource group name
|
|
227
|
+
* @param providerName Resource provider name
|
|
228
|
+
* @param resourceType Resource type
|
|
229
|
+
* @param resourceName Resource identifier
|
|
230
|
+
* @param configurationAssignmentName Unique configuration assignment name
|
|
231
|
+
* @param options The options parameters.
|
|
232
|
+
*/
|
|
233
|
+
delete(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, configurationAssignmentName: string, options?: ConfigurationAssignmentsDeleteOptionalParams): Promise<ConfigurationAssignmentsDeleteResponse>;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/** Optional parameters. */
|
|
237
|
+
export declare interface ConfigurationAssignmentsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Optional parameters. */
|
|
241
|
+
export declare interface ConfigurationAssignmentsCreateOrUpdateParentOptionalParams extends coreClient.OperationOptions {
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
/** Contains response data for the createOrUpdateParent operation. */
|
|
245
|
+
export declare type ConfigurationAssignmentsCreateOrUpdateParentResponse = ConfigurationAssignment;
|
|
246
|
+
|
|
247
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
248
|
+
export declare type ConfigurationAssignmentsCreateOrUpdateResponse = ConfigurationAssignment;
|
|
249
|
+
|
|
250
|
+
/** Optional parameters. */
|
|
251
|
+
export declare interface ConfigurationAssignmentsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/** Optional parameters. */
|
|
255
|
+
export declare interface ConfigurationAssignmentsDeleteParentOptionalParams extends coreClient.OperationOptions {
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/** Contains response data for the deleteParent operation. */
|
|
259
|
+
export declare type ConfigurationAssignmentsDeleteParentResponse = ConfigurationAssignment;
|
|
260
|
+
|
|
261
|
+
/** Contains response data for the delete operation. */
|
|
262
|
+
export declare type ConfigurationAssignmentsDeleteResponse = ConfigurationAssignment;
|
|
263
|
+
|
|
264
|
+
/** Interface representing a ConfigurationAssignmentsForResourceGroup. */
|
|
265
|
+
export declare interface ConfigurationAssignmentsForResourceGroup {
|
|
266
|
+
/**
|
|
267
|
+
* Get configuration assignment for resource..
|
|
268
|
+
* @param resourceGroupName Resource group name
|
|
269
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
270
|
+
* @param options The options parameters.
|
|
271
|
+
*/
|
|
272
|
+
get(resourceGroupName: string, configurationAssignmentName: string, options?: ConfigurationAssignmentsForResourceGroupGetOptionalParams): Promise<ConfigurationAssignmentsForResourceGroupGetResponse>;
|
|
273
|
+
/**
|
|
274
|
+
* Register configuration for resource.
|
|
275
|
+
* @param resourceGroupName Resource group name
|
|
276
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
277
|
+
* @param configurationAssignment The configurationAssignment
|
|
278
|
+
* @param options The options parameters.
|
|
279
|
+
*/
|
|
280
|
+
createOrUpdate(resourceGroupName: string, configurationAssignmentName: string, configurationAssignment: ConfigurationAssignment, options?: ConfigurationAssignmentsForResourceGroupCreateOrUpdateOptionalParams): Promise<ConfigurationAssignmentsForResourceGroupCreateOrUpdateResponse>;
|
|
281
|
+
/**
|
|
282
|
+
* Register configuration for resource.
|
|
283
|
+
* @param resourceGroupName Resource group name
|
|
284
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
285
|
+
* @param configurationAssignment The configurationAssignment
|
|
286
|
+
* @param options The options parameters.
|
|
287
|
+
*/
|
|
288
|
+
update(resourceGroupName: string, configurationAssignmentName: string, configurationAssignment: ConfigurationAssignment, options?: ConfigurationAssignmentsForResourceGroupUpdateOptionalParams): Promise<ConfigurationAssignmentsForResourceGroupUpdateResponse>;
|
|
289
|
+
/**
|
|
290
|
+
* Unregister configuration for resource.
|
|
291
|
+
* @param resourceGroupName Resource group name
|
|
292
|
+
* @param configurationAssignmentName Unique configuration assignment name
|
|
293
|
+
* @param options The options parameters.
|
|
294
|
+
*/
|
|
295
|
+
delete(resourceGroupName: string, configurationAssignmentName: string, options?: ConfigurationAssignmentsForResourceGroupDeleteOptionalParams): Promise<ConfigurationAssignmentsForResourceGroupDeleteResponse>;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/** Optional parameters. */
|
|
299
|
+
export declare interface ConfigurationAssignmentsForResourceGroupCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
303
|
+
export declare type ConfigurationAssignmentsForResourceGroupCreateOrUpdateResponse = ConfigurationAssignment;
|
|
304
|
+
|
|
305
|
+
/** Optional parameters. */
|
|
306
|
+
export declare interface ConfigurationAssignmentsForResourceGroupDeleteOptionalParams extends coreClient.OperationOptions {
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
/** Contains response data for the delete operation. */
|
|
310
|
+
export declare type ConfigurationAssignmentsForResourceGroupDeleteResponse = ConfigurationAssignment;
|
|
311
|
+
|
|
312
|
+
/** Optional parameters. */
|
|
313
|
+
export declare interface ConfigurationAssignmentsForResourceGroupGetOptionalParams extends coreClient.OperationOptions {
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/** Contains response data for the get operation. */
|
|
317
|
+
export declare type ConfigurationAssignmentsForResourceGroupGetResponse = ConfigurationAssignment;
|
|
318
|
+
|
|
319
|
+
/** Optional parameters. */
|
|
320
|
+
export declare interface ConfigurationAssignmentsForResourceGroupUpdateOptionalParams extends coreClient.OperationOptions {
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/** Contains response data for the update operation. */
|
|
324
|
+
export declare type ConfigurationAssignmentsForResourceGroupUpdateResponse = ConfigurationAssignment;
|
|
325
|
+
|
|
326
|
+
/** Interface representing a ConfigurationAssignmentsForSubscriptions. */
|
|
327
|
+
export declare interface ConfigurationAssignmentsForSubscriptions {
|
|
328
|
+
/**
|
|
329
|
+
* Get configuration assignment for resource..
|
|
330
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
331
|
+
* @param options The options parameters.
|
|
332
|
+
*/
|
|
333
|
+
get(configurationAssignmentName: string, options?: ConfigurationAssignmentsForSubscriptionsGetOptionalParams): Promise<ConfigurationAssignmentsForSubscriptionsGetResponse>;
|
|
334
|
+
/**
|
|
335
|
+
* Register configuration for resource.
|
|
336
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
337
|
+
* @param configurationAssignment The configurationAssignment
|
|
338
|
+
* @param options The options parameters.
|
|
339
|
+
*/
|
|
340
|
+
createOrUpdate(configurationAssignmentName: string, configurationAssignment: ConfigurationAssignment, options?: ConfigurationAssignmentsForSubscriptionsCreateOrUpdateOptionalParams): Promise<ConfigurationAssignmentsForSubscriptionsCreateOrUpdateResponse>;
|
|
341
|
+
/**
|
|
342
|
+
* Register configuration for resource.
|
|
343
|
+
* @param configurationAssignmentName Configuration assignment name
|
|
344
|
+
* @param configurationAssignment The configurationAssignment
|
|
345
|
+
* @param options The options parameters.
|
|
346
|
+
*/
|
|
347
|
+
update(configurationAssignmentName: string, configurationAssignment: ConfigurationAssignment, options?: ConfigurationAssignmentsForSubscriptionsUpdateOptionalParams): Promise<ConfigurationAssignmentsForSubscriptionsUpdateResponse>;
|
|
348
|
+
/**
|
|
349
|
+
* Unregister configuration for resource.
|
|
350
|
+
* @param configurationAssignmentName Unique configuration assignment name
|
|
351
|
+
* @param options The options parameters.
|
|
352
|
+
*/
|
|
353
|
+
delete(configurationAssignmentName: string, options?: ConfigurationAssignmentsForSubscriptionsDeleteOptionalParams): Promise<ConfigurationAssignmentsForSubscriptionsDeleteResponse>;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/** Optional parameters. */
|
|
357
|
+
export declare interface ConfigurationAssignmentsForSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
361
|
+
export declare type ConfigurationAssignmentsForSubscriptionsCreateOrUpdateResponse = ConfigurationAssignment;
|
|
362
|
+
|
|
363
|
+
/** Optional parameters. */
|
|
364
|
+
export declare interface ConfigurationAssignmentsForSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/** Contains response data for the delete operation. */
|
|
368
|
+
export declare type ConfigurationAssignmentsForSubscriptionsDeleteResponse = ConfigurationAssignment;
|
|
369
|
+
|
|
370
|
+
/** Optional parameters. */
|
|
371
|
+
export declare interface ConfigurationAssignmentsForSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
/** Contains response data for the get operation. */
|
|
375
|
+
export declare type ConfigurationAssignmentsForSubscriptionsGetResponse = ConfigurationAssignment;
|
|
376
|
+
|
|
377
|
+
/** Optional parameters. */
|
|
378
|
+
export declare interface ConfigurationAssignmentsForSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/** Contains response data for the update operation. */
|
|
382
|
+
export declare type ConfigurationAssignmentsForSubscriptionsUpdateResponse = ConfigurationAssignment;
|
|
383
|
+
|
|
384
|
+
/** Optional parameters. */
|
|
385
|
+
export declare interface ConfigurationAssignmentsGetOptionalParams extends coreClient.OperationOptions {
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/** Optional parameters. */
|
|
389
|
+
export declare interface ConfigurationAssignmentsGetParentOptionalParams extends coreClient.OperationOptions {
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
/** Contains response data for the getParent operation. */
|
|
393
|
+
export declare type ConfigurationAssignmentsGetParentResponse = ConfigurationAssignment;
|
|
394
|
+
|
|
395
|
+
/** Contains response data for the get operation. */
|
|
396
|
+
export declare type ConfigurationAssignmentsGetResponse = ConfigurationAssignment;
|
|
397
|
+
|
|
398
|
+
/** Optional parameters. */
|
|
399
|
+
export declare interface ConfigurationAssignmentsListOptionalParams extends coreClient.OperationOptions {
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/** Optional parameters. */
|
|
403
|
+
export declare interface ConfigurationAssignmentsListParentOptionalParams extends coreClient.OperationOptions {
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/** Contains response data for the listParent operation. */
|
|
407
|
+
export declare type ConfigurationAssignmentsListParentResponse = ListConfigurationAssignmentsResult;
|
|
408
|
+
|
|
409
|
+
/** Contains response data for the list operation. */
|
|
410
|
+
export declare type ConfigurationAssignmentsListResponse = ListConfigurationAssignmentsResult;
|
|
411
|
+
|
|
412
|
+
/** Interface representing a ConfigurationAssignmentsWithinSubscription. */
|
|
413
|
+
export declare interface ConfigurationAssignmentsWithinSubscription {
|
|
414
|
+
/**
|
|
415
|
+
* Get configuration assignment within a subscription
|
|
416
|
+
* @param options The options parameters.
|
|
417
|
+
*/
|
|
418
|
+
list(options?: ConfigurationAssignmentsWithinSubscriptionListOptionalParams): PagedAsyncIterableIterator<ConfigurationAssignment>;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/** Optional parameters. */
|
|
422
|
+
export declare interface ConfigurationAssignmentsWithinSubscriptionListOptionalParams extends coreClient.OperationOptions {
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/** Contains response data for the list operation. */
|
|
426
|
+
export declare type ConfigurationAssignmentsWithinSubscriptionListResponse = ListConfigurationAssignmentsResult;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Defines values for CreatedByType. \
|
|
430
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
431
|
+
* this enum contains the known values that the service supports.
|
|
432
|
+
* ### Known values supported by the service
|
|
433
|
+
* **User** \
|
|
434
|
+
* **Application** \
|
|
435
|
+
* **ManagedIdentity** \
|
|
436
|
+
* **Key**
|
|
437
|
+
*/
|
|
438
|
+
export declare type CreatedByType = string;
|
|
439
|
+
|
|
440
|
+
/** An error response details received from the Azure Maintenance service. */
|
|
441
|
+
export declare interface ErrorDetails {
|
|
442
|
+
/** Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. */
|
|
443
|
+
code?: string;
|
|
444
|
+
/** Human-readable representation of the error. */
|
|
445
|
+
message?: string;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
450
|
+
* returns a continuation token that can be used to begin paging from
|
|
451
|
+
* that point later.
|
|
452
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
453
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
454
|
+
*/
|
|
455
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Defines values for ImpactType. \
|
|
459
|
+
* {@link KnownImpactType} can be used interchangeably with ImpactType,
|
|
460
|
+
* this enum contains the known values that the service supports.
|
|
461
|
+
* ### Known values supported by the service
|
|
462
|
+
* **None**: Pending updates has no impact on resource. \
|
|
463
|
+
* **Freeze**: Pending updates can freeze network or disk io operation on resource. \
|
|
464
|
+
* **Restart**: Pending updates can cause resource to restart. \
|
|
465
|
+
* **Redeploy**: Pending updates can redeploy resource.
|
|
466
|
+
*/
|
|
467
|
+
export declare type ImpactType = string;
|
|
468
|
+
|
|
469
|
+
/** Input properties for patching a Linux machine. */
|
|
470
|
+
export declare interface InputLinuxParameters {
|
|
471
|
+
/** Package names to be excluded for patching. */
|
|
472
|
+
packageNameMasksToExclude?: string[];
|
|
473
|
+
/** Package names to be included for patching. */
|
|
474
|
+
packageNameMasksToInclude?: string[];
|
|
475
|
+
/** Classification category of patches to be patched */
|
|
476
|
+
classificationsToInclude?: string[];
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/** Input configuration for a patch run */
|
|
480
|
+
export declare interface InputPatchConfiguration {
|
|
481
|
+
/** Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed. */
|
|
482
|
+
rebootSetting?: RebootOptions;
|
|
483
|
+
/** Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property. */
|
|
484
|
+
windowsParameters?: InputWindowsParameters;
|
|
485
|
+
/** Input parameters specific to patching Linux machine. For Windows machines, do not pass this property. */
|
|
486
|
+
linuxParameters?: InputLinuxParameters;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
/** Input properties for patching a Windows machine. */
|
|
490
|
+
export declare interface InputWindowsParameters {
|
|
491
|
+
/** Windows KBID to be excluded for patching. */
|
|
492
|
+
kbNumbersToExclude?: string[];
|
|
493
|
+
/** Windows KBID to be included for patching. */
|
|
494
|
+
kbNumbersToInclude?: string[];
|
|
495
|
+
/** Classification category of patches to be patched */
|
|
496
|
+
classificationsToInclude?: string[];
|
|
497
|
+
/** Exclude patches which need reboot */
|
|
498
|
+
excludeKbsRequiringReboot?: boolean;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
502
|
+
export declare enum KnownCreatedByType {
|
|
503
|
+
/** User */
|
|
504
|
+
User = "User",
|
|
505
|
+
/** Application */
|
|
506
|
+
Application = "Application",
|
|
507
|
+
/** ManagedIdentity */
|
|
508
|
+
ManagedIdentity = "ManagedIdentity",
|
|
509
|
+
/** Key */
|
|
510
|
+
Key = "Key"
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
/** Known values of {@link ImpactType} that the service accepts. */
|
|
514
|
+
export declare enum KnownImpactType {
|
|
515
|
+
/** Pending updates has no impact on resource. */
|
|
516
|
+
None = "None",
|
|
517
|
+
/** Pending updates can freeze network or disk io operation on resource. */
|
|
518
|
+
Freeze = "Freeze",
|
|
519
|
+
/** Pending updates can cause resource to restart. */
|
|
520
|
+
Restart = "Restart",
|
|
521
|
+
/** Pending updates can redeploy resource. */
|
|
522
|
+
Redeploy = "Redeploy"
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/** Known values of {@link MaintenanceScope} that the service accepts. */
|
|
526
|
+
export declare enum KnownMaintenanceScope {
|
|
527
|
+
/** This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs. */
|
|
528
|
+
Host = "Host",
|
|
529
|
+
/** This maintenance scope controls the default update maintenance of the Azure Resource */
|
|
530
|
+
Resource = "Resource",
|
|
531
|
+
/** This maintenance scope controls os image installation on VM\/VMSS */
|
|
532
|
+
OSImage = "OSImage",
|
|
533
|
+
/** This maintenance scope controls extension installation on VM\/VMSS */
|
|
534
|
+
Extension = "Extension",
|
|
535
|
+
/** This maintenance scope controls installation of windows and linux packages on VM\/VMSS */
|
|
536
|
+
InGuestPatch = "InGuestPatch",
|
|
537
|
+
/** This maintenance scope controls installation of SQL server platform updates. */
|
|
538
|
+
Sqldb = "SQLDB",
|
|
539
|
+
/** This maintenance scope controls installation of SQL managed instance platform update. */
|
|
540
|
+
SQLManagedInstance = "SQLManagedInstance"
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/** Known values of {@link RebootOptions} that the service accepts. */
|
|
544
|
+
export declare enum KnownRebootOptions {
|
|
545
|
+
/** IfRequired */
|
|
546
|
+
IfRequired = "IfRequired",
|
|
547
|
+
/** Never */
|
|
548
|
+
Never = "Never",
|
|
549
|
+
/** Always */
|
|
550
|
+
Always = "Always"
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/** Known values of {@link UpdateStatus} that the service accepts. */
|
|
554
|
+
export declare enum KnownUpdateStatus {
|
|
555
|
+
/** There are pending updates to be installed. */
|
|
556
|
+
Pending = "Pending",
|
|
557
|
+
/** Updates installation are in progress. */
|
|
558
|
+
InProgress = "InProgress",
|
|
559
|
+
/** All updates are successfully applied. */
|
|
560
|
+
Completed = "Completed",
|
|
561
|
+
/** Updates installation failed but are ready to retry again. */
|
|
562
|
+
RetryNow = "RetryNow",
|
|
563
|
+
/** Updates installation failed and should be retried later. */
|
|
564
|
+
RetryLater = "RetryLater"
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
/** Known values of {@link Visibility} that the service accepts. */
|
|
568
|
+
export declare enum KnownVisibility {
|
|
569
|
+
/** Only visible to users with permissions. */
|
|
570
|
+
Custom = "Custom",
|
|
571
|
+
/** Visible to all users. */
|
|
572
|
+
Public = "Public"
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/** Response for ApplyUpdate list */
|
|
576
|
+
export declare interface ListApplyUpdate {
|
|
577
|
+
/** The list of apply updates */
|
|
578
|
+
value?: ApplyUpdate[];
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/** Response for ConfigurationAssignments list */
|
|
582
|
+
export declare interface ListConfigurationAssignmentsResult {
|
|
583
|
+
/** The list of configuration Assignments */
|
|
584
|
+
value?: ConfigurationAssignment[];
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
/** Response for MaintenanceConfigurations list */
|
|
588
|
+
export declare interface ListMaintenanceConfigurationsResult {
|
|
589
|
+
/** The list of maintenance Configurations */
|
|
590
|
+
value?: MaintenanceConfiguration[];
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/** Response for Updates list */
|
|
594
|
+
export declare interface ListUpdatesResult {
|
|
595
|
+
/** The pending updates */
|
|
596
|
+
value?: Update[];
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
/** Maintenance configuration record type */
|
|
600
|
+
export declare interface MaintenanceConfiguration extends Resource {
|
|
601
|
+
/** Gets or sets location of the resource */
|
|
602
|
+
location?: string;
|
|
603
|
+
/** Gets or sets tags of the resource */
|
|
604
|
+
tags?: {
|
|
605
|
+
[propertyName: string]: string;
|
|
606
|
+
};
|
|
607
|
+
/** Gets or sets namespace of the resource */
|
|
608
|
+
namespace?: string;
|
|
609
|
+
/** Gets or sets extensionProperties of the maintenanceConfiguration */
|
|
610
|
+
extensionProperties?: {
|
|
611
|
+
[propertyName: string]: string;
|
|
612
|
+
};
|
|
613
|
+
/** Gets or sets maintenanceScope of the configuration */
|
|
614
|
+
maintenanceScope?: MaintenanceScope;
|
|
615
|
+
/** Gets or sets the visibility of the configuration. The default value is 'Custom' */
|
|
616
|
+
visibility?: Visibility;
|
|
617
|
+
/** The input parameters to be passed to the patch run operation. */
|
|
618
|
+
installPatches?: InputPatchConfiguration;
|
|
619
|
+
/** Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. */
|
|
620
|
+
startDateTime?: string;
|
|
621
|
+
/** Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59. */
|
|
622
|
+
expirationDateTime?: string;
|
|
623
|
+
/** Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00. */
|
|
624
|
+
duration?: string;
|
|
625
|
+
/** Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time. */
|
|
626
|
+
timeZone?: string;
|
|
627
|
+
/** Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday] [Optional Offset(No. of days)]. Offset value must be between -6 to 6 inclusive. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday, recurEvery: Month Last Sunday Offset-3, recurEvery: Month Third Sunday Offset6. */
|
|
628
|
+
recurEvery?: string;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/** Interface representing a MaintenanceConfigurations. */
|
|
632
|
+
export declare interface MaintenanceConfigurations {
|
|
633
|
+
/**
|
|
634
|
+
* Get Configuration records within a subscription
|
|
635
|
+
* @param options The options parameters.
|
|
636
|
+
*/
|
|
637
|
+
list(options?: MaintenanceConfigurationsListOptionalParams): PagedAsyncIterableIterator<MaintenanceConfiguration>;
|
|
638
|
+
/**
|
|
639
|
+
* Get Configuration record
|
|
640
|
+
* @param resourceGroupName Resource Group Name
|
|
641
|
+
* @param resourceName Maintenance Configuration Name
|
|
642
|
+
* @param options The options parameters.
|
|
643
|
+
*/
|
|
644
|
+
get(resourceGroupName: string, resourceName: string, options?: MaintenanceConfigurationsGetOptionalParams): Promise<MaintenanceConfigurationsGetResponse>;
|
|
645
|
+
/**
|
|
646
|
+
* Create or Update configuration record
|
|
647
|
+
* @param resourceGroupName Resource Group Name
|
|
648
|
+
* @param resourceName Maintenance Configuration Name
|
|
649
|
+
* @param configuration The configuration
|
|
650
|
+
* @param options The options parameters.
|
|
651
|
+
*/
|
|
652
|
+
createOrUpdate(resourceGroupName: string, resourceName: string, configuration: MaintenanceConfiguration, options?: MaintenanceConfigurationsCreateOrUpdateOptionalParams): Promise<MaintenanceConfigurationsCreateOrUpdateResponse>;
|
|
653
|
+
/**
|
|
654
|
+
* Delete Configuration record
|
|
655
|
+
* @param resourceGroupName Resource Group Name
|
|
656
|
+
* @param resourceName Maintenance Configuration Name
|
|
657
|
+
* @param options The options parameters.
|
|
658
|
+
*/
|
|
659
|
+
delete(resourceGroupName: string, resourceName: string, options?: MaintenanceConfigurationsDeleteOptionalParams): Promise<MaintenanceConfigurationsDeleteResponse>;
|
|
660
|
+
/**
|
|
661
|
+
* Patch configuration record
|
|
662
|
+
* @param resourceGroupName Resource Group Name
|
|
663
|
+
* @param resourceName Maintenance Configuration Name
|
|
664
|
+
* @param configuration The configuration
|
|
665
|
+
* @param options The options parameters.
|
|
666
|
+
*/
|
|
667
|
+
update(resourceGroupName: string, resourceName: string, configuration: MaintenanceConfiguration, options?: MaintenanceConfigurationsUpdateOptionalParams): Promise<MaintenanceConfigurationsUpdateResponse>;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/** Optional parameters. */
|
|
671
|
+
export declare interface MaintenanceConfigurationsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
675
|
+
export declare type MaintenanceConfigurationsCreateOrUpdateResponse = MaintenanceConfiguration;
|
|
676
|
+
|
|
677
|
+
/** Optional parameters. */
|
|
678
|
+
export declare interface MaintenanceConfigurationsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/** Contains response data for the delete operation. */
|
|
682
|
+
export declare type MaintenanceConfigurationsDeleteResponse = MaintenanceConfiguration;
|
|
683
|
+
|
|
684
|
+
/** Interface representing a MaintenanceConfigurationsForResourceGroup. */
|
|
685
|
+
export declare interface MaintenanceConfigurationsForResourceGroup {
|
|
686
|
+
/**
|
|
687
|
+
* Get Configuration records within a subscription and resource group
|
|
688
|
+
* @param resourceGroupName Resource Group Name
|
|
689
|
+
* @param options The options parameters.
|
|
690
|
+
*/
|
|
691
|
+
list(resourceGroupName: string, options?: MaintenanceConfigurationsForResourceGroupListOptionalParams): PagedAsyncIterableIterator<MaintenanceConfiguration>;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
/** Optional parameters. */
|
|
695
|
+
export declare interface MaintenanceConfigurationsForResourceGroupListOptionalParams extends coreClient.OperationOptions {
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
/** Contains response data for the list operation. */
|
|
699
|
+
export declare type MaintenanceConfigurationsForResourceGroupListResponse = ListMaintenanceConfigurationsResult;
|
|
700
|
+
|
|
701
|
+
/** Optional parameters. */
|
|
702
|
+
export declare interface MaintenanceConfigurationsGetOptionalParams extends coreClient.OperationOptions {
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
/** Contains response data for the get operation. */
|
|
706
|
+
export declare type MaintenanceConfigurationsGetResponse = MaintenanceConfiguration;
|
|
707
|
+
|
|
708
|
+
/** Optional parameters. */
|
|
709
|
+
export declare interface MaintenanceConfigurationsListOptionalParams extends coreClient.OperationOptions {
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
/** Contains response data for the list operation. */
|
|
713
|
+
export declare type MaintenanceConfigurationsListResponse = ListMaintenanceConfigurationsResult;
|
|
714
|
+
|
|
715
|
+
/** Optional parameters. */
|
|
716
|
+
export declare interface MaintenanceConfigurationsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/** Contains response data for the update operation. */
|
|
720
|
+
export declare type MaintenanceConfigurationsUpdateResponse = MaintenanceConfiguration;
|
|
721
|
+
|
|
722
|
+
/** An error response received from the Azure Maintenance service. */
|
|
723
|
+
export declare interface MaintenanceError {
|
|
724
|
+
/** Details of the error */
|
|
725
|
+
error?: ErrorDetails;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export declare class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
729
|
+
$host: string;
|
|
730
|
+
subscriptionId: string;
|
|
731
|
+
apiVersion: string;
|
|
732
|
+
/**
|
|
733
|
+
* Initializes a new instance of the MaintenanceManagementClient class.
|
|
734
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
735
|
+
* @param subscriptionId Subscription credentials that uniquely identify a Microsoft Azure
|
|
736
|
+
* subscription. The subscription ID forms part of the URI for every service call.
|
|
737
|
+
* @param options The parameter options
|
|
738
|
+
*/
|
|
739
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: MaintenanceManagementClientOptionalParams);
|
|
740
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
741
|
+
private addCustomApiVersionPolicy;
|
|
742
|
+
publicMaintenanceConfigurations: PublicMaintenanceConfigurations;
|
|
743
|
+
applyUpdates: ApplyUpdates;
|
|
744
|
+
configurationAssignments: ConfigurationAssignments;
|
|
745
|
+
maintenanceConfigurations: MaintenanceConfigurations;
|
|
746
|
+
maintenanceConfigurationsForResourceGroup: MaintenanceConfigurationsForResourceGroup;
|
|
747
|
+
applyUpdateForResourceGroup: ApplyUpdateForResourceGroup;
|
|
748
|
+
configurationAssignmentsWithinSubscription: ConfigurationAssignmentsWithinSubscription;
|
|
749
|
+
configurationAssignmentsForSubscriptions: ConfigurationAssignmentsForSubscriptions;
|
|
750
|
+
configurationAssignmentsForResourceGroup: ConfigurationAssignmentsForResourceGroup;
|
|
751
|
+
operations: Operations;
|
|
752
|
+
updates: Updates;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/** Optional parameters. */
|
|
756
|
+
export declare interface MaintenanceManagementClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
757
|
+
/** server parameter */
|
|
758
|
+
$host?: string;
|
|
759
|
+
/** Api Version */
|
|
760
|
+
apiVersion?: string;
|
|
761
|
+
/** Overrides client endpoint. */
|
|
762
|
+
endpoint?: string;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Defines values for MaintenanceScope. \
|
|
767
|
+
* {@link KnownMaintenanceScope} can be used interchangeably with MaintenanceScope,
|
|
768
|
+
* this enum contains the known values that the service supports.
|
|
769
|
+
* ### Known values supported by the service
|
|
770
|
+
* **Host**: This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs. \
|
|
771
|
+
* **Resource**: This maintenance scope controls the default update maintenance of the Azure Resource \
|
|
772
|
+
* **OSImage**: This maintenance scope controls os image installation on VM\/VMSS \
|
|
773
|
+
* **Extension**: This maintenance scope controls extension installation on VM\/VMSS \
|
|
774
|
+
* **InGuestPatch**: This maintenance scope controls installation of windows and linux packages on VM\/VMSS \
|
|
775
|
+
* **SQLDB**: This maintenance scope controls installation of SQL server platform updates. \
|
|
776
|
+
* **SQLManagedInstance**: This maintenance scope controls installation of SQL managed instance platform update.
|
|
777
|
+
*/
|
|
778
|
+
export declare type MaintenanceScope = string;
|
|
779
|
+
|
|
780
|
+
/** Represents an operation returned by the GetOperations request */
|
|
781
|
+
export declare interface Operation {
|
|
782
|
+
/** Name of the operation */
|
|
783
|
+
name?: string;
|
|
784
|
+
/** Display name of the operation */
|
|
785
|
+
display?: OperationInfo;
|
|
786
|
+
/** Origin of the operation */
|
|
787
|
+
origin?: string;
|
|
788
|
+
/** Properties of the operation */
|
|
789
|
+
properties?: Record<string, unknown>;
|
|
790
|
+
/** Indicates whether the operation is a data action */
|
|
791
|
+
isDataAction?: boolean;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/** Information about an operation */
|
|
795
|
+
export declare interface OperationInfo {
|
|
796
|
+
/** Name of the provider */
|
|
797
|
+
provider?: string;
|
|
798
|
+
/** Name of the resource type */
|
|
799
|
+
resource?: string;
|
|
800
|
+
/** Name of the operation */
|
|
801
|
+
operation?: string;
|
|
802
|
+
/** Description of the operation */
|
|
803
|
+
description?: string;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/** Interface representing a Operations. */
|
|
807
|
+
export declare interface Operations {
|
|
808
|
+
/**
|
|
809
|
+
* List the available operations supported by the Microsoft.Maintenance resource provider
|
|
810
|
+
* @param options The options parameters.
|
|
811
|
+
*/
|
|
812
|
+
list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
/** Optional parameters. */
|
|
816
|
+
export declare interface OperationsListOptionalParams extends coreClient.OperationOptions {
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/** Contains response data for the list operation. */
|
|
820
|
+
export declare type OperationsListResponse = OperationsListResult;
|
|
821
|
+
|
|
822
|
+
/** Result of the List Operations operation */
|
|
823
|
+
export declare interface OperationsListResult {
|
|
824
|
+
/** A collection of operations */
|
|
825
|
+
value?: Operation[];
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
/** Interface representing a PublicMaintenanceConfigurations. */
|
|
829
|
+
export declare interface PublicMaintenanceConfigurations {
|
|
830
|
+
/**
|
|
831
|
+
* Get Public Maintenance Configuration records
|
|
832
|
+
* @param options The options parameters.
|
|
833
|
+
*/
|
|
834
|
+
list(options?: PublicMaintenanceConfigurationsListOptionalParams): PagedAsyncIterableIterator<MaintenanceConfiguration>;
|
|
835
|
+
/**
|
|
836
|
+
* Get Public Maintenance Configuration record
|
|
837
|
+
* @param resourceName Maintenance Configuration Name
|
|
838
|
+
* @param options The options parameters.
|
|
839
|
+
*/
|
|
840
|
+
get(resourceName: string, options?: PublicMaintenanceConfigurationsGetOptionalParams): Promise<PublicMaintenanceConfigurationsGetResponse>;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
/** Optional parameters. */
|
|
844
|
+
export declare interface PublicMaintenanceConfigurationsGetOptionalParams extends coreClient.OperationOptions {
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
/** Contains response data for the get operation. */
|
|
848
|
+
export declare type PublicMaintenanceConfigurationsGetResponse = MaintenanceConfiguration;
|
|
849
|
+
|
|
850
|
+
/** Optional parameters. */
|
|
851
|
+
export declare interface PublicMaintenanceConfigurationsListOptionalParams extends coreClient.OperationOptions {
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/** Contains response data for the list operation. */
|
|
855
|
+
export declare type PublicMaintenanceConfigurationsListResponse = ListMaintenanceConfigurationsResult;
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Defines values for RebootOptions. \
|
|
859
|
+
* {@link KnownRebootOptions} can be used interchangeably with RebootOptions,
|
|
860
|
+
* this enum contains the known values that the service supports.
|
|
861
|
+
* ### Known values supported by the service
|
|
862
|
+
* **IfRequired** \
|
|
863
|
+
* **Never** \
|
|
864
|
+
* **Always**
|
|
865
|
+
*/
|
|
866
|
+
export declare type RebootOptions = string;
|
|
867
|
+
|
|
868
|
+
/** Definition of a Resource */
|
|
869
|
+
export declare interface Resource {
|
|
870
|
+
/**
|
|
871
|
+
* Fully qualified identifier of the resource
|
|
872
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
873
|
+
*/
|
|
874
|
+
readonly id?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Name of the resource
|
|
877
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
878
|
+
*/
|
|
879
|
+
readonly name?: string;
|
|
880
|
+
/**
|
|
881
|
+
* Type of the resource
|
|
882
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
883
|
+
*/
|
|
884
|
+
readonly type?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
|
|
887
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
888
|
+
*/
|
|
889
|
+
readonly systemData?: SystemData;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
893
|
+
export declare interface SystemData {
|
|
894
|
+
/** The identity that created the resource. */
|
|
895
|
+
createdBy?: string;
|
|
896
|
+
/** The type of identity that created the resource. */
|
|
897
|
+
createdByType?: CreatedByType;
|
|
898
|
+
/** The timestamp of resource creation (UTC). */
|
|
899
|
+
createdAt?: Date;
|
|
900
|
+
/** The identity that last modified the resource. */
|
|
901
|
+
lastModifiedBy?: string;
|
|
902
|
+
/** The type of identity that last modified the resource. */
|
|
903
|
+
lastModifiedByType?: CreatedByType;
|
|
904
|
+
/** The timestamp of resource last modification (UTC) */
|
|
905
|
+
lastModifiedAt?: Date;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
/** Defines values for TagOperators. */
|
|
909
|
+
export declare type TagOperators = "All" | "Any";
|
|
910
|
+
|
|
911
|
+
/** Tag filter information for the VM. */
|
|
912
|
+
export declare interface TagSettingsProperties {
|
|
913
|
+
/** Dictionary of tags with its list of values. */
|
|
914
|
+
tags?: {
|
|
915
|
+
[propertyName: string]: string[];
|
|
916
|
+
};
|
|
917
|
+
/** Filter VMs by Any or All specified tags. */
|
|
918
|
+
filterOperator?: TagOperators;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/** Maintenance update on a resource */
|
|
922
|
+
export declare interface Update {
|
|
923
|
+
/** The impact area */
|
|
924
|
+
maintenanceScope?: MaintenanceScope;
|
|
925
|
+
/** The impact type */
|
|
926
|
+
impactType?: ImpactType;
|
|
927
|
+
/** The status */
|
|
928
|
+
status?: UpdateStatus;
|
|
929
|
+
/** Duration of impact in seconds */
|
|
930
|
+
impactDurationInSec?: number;
|
|
931
|
+
/** Time when Azure will start force updates if not self-updated by customer before this time */
|
|
932
|
+
notBefore?: Date;
|
|
933
|
+
/** The resourceId */
|
|
934
|
+
resourceId?: string;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
/** Interface representing a Updates. */
|
|
938
|
+
export declare interface Updates {
|
|
939
|
+
/**
|
|
940
|
+
* Get updates to resources.
|
|
941
|
+
* @param resourceGroupName Resource group name
|
|
942
|
+
* @param providerName Resource provider name
|
|
943
|
+
* @param resourceParentType Resource parent type
|
|
944
|
+
* @param resourceParentName Resource parent identifier
|
|
945
|
+
* @param resourceType Resource type
|
|
946
|
+
* @param resourceName Resource identifier
|
|
947
|
+
* @param options The options parameters.
|
|
948
|
+
*/
|
|
949
|
+
listParent(resourceGroupName: string, providerName: string, resourceParentType: string, resourceParentName: string, resourceType: string, resourceName: string, options?: UpdatesListParentOptionalParams): PagedAsyncIterableIterator<Update>;
|
|
950
|
+
/**
|
|
951
|
+
* Get updates to resources.
|
|
952
|
+
* @param resourceGroupName Resource group name
|
|
953
|
+
* @param providerName Resource provider name
|
|
954
|
+
* @param resourceType Resource type
|
|
955
|
+
* @param resourceName Resource identifier
|
|
956
|
+
* @param options The options parameters.
|
|
957
|
+
*/
|
|
958
|
+
list(resourceGroupName: string, providerName: string, resourceType: string, resourceName: string, options?: UpdatesListOptionalParams): PagedAsyncIterableIterator<Update>;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/** Optional parameters. */
|
|
962
|
+
export declare interface UpdatesListOptionalParams extends coreClient.OperationOptions {
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/** Optional parameters. */
|
|
966
|
+
export declare interface UpdatesListParentOptionalParams extends coreClient.OperationOptions {
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/** Contains response data for the listParent operation. */
|
|
970
|
+
export declare type UpdatesListParentResponse = ListUpdatesResult;
|
|
971
|
+
|
|
972
|
+
/** Contains response data for the list operation. */
|
|
973
|
+
export declare type UpdatesListResponse = ListUpdatesResult;
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Defines values for UpdateStatus. \
|
|
977
|
+
* {@link KnownUpdateStatus} can be used interchangeably with UpdateStatus,
|
|
978
|
+
* this enum contains the known values that the service supports.
|
|
979
|
+
* ### Known values supported by the service
|
|
980
|
+
* **Pending**: There are pending updates to be installed. \
|
|
981
|
+
* **InProgress**: Updates installation are in progress. \
|
|
982
|
+
* **Completed**: All updates are successfully applied. \
|
|
983
|
+
* **RetryNow**: Updates installation failed but are ready to retry again. \
|
|
984
|
+
* **RetryLater**: Updates installation failed and should be retried later.
|
|
985
|
+
*/
|
|
986
|
+
export declare type UpdateStatus = string;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Defines values for Visibility. \
|
|
990
|
+
* {@link KnownVisibility} can be used interchangeably with Visibility,
|
|
991
|
+
* this enum contains the known values that the service supports.
|
|
992
|
+
* ### Known values supported by the service
|
|
993
|
+
* **Custom**: Only visible to users with permissions. \
|
|
994
|
+
* **Public**: Visible to all users.
|
|
995
|
+
*/
|
|
996
|
+
export declare type Visibility = string;
|
|
997
|
+
|
|
998
|
+
export { }
|