@azure/arm-maintenance 1.0.0-beta.2 → 1.0.0-beta.3
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 +12 -2
- package/LICENSE +4 -4
- package/README.md +25 -18
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/maintenanceManagementClient.d.ts +2 -2
- package/dist/browser/maintenanceManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/maintenanceManagementClient.js +41 -24
- package/dist/browser/maintenanceManagementClient.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +47 -22
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applyUpdateForResourceGroup.d.ts +3 -3
- package/dist/browser/operations/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applyUpdateForResourceGroup.js +12 -29
- package/dist/browser/operations/applyUpdateForResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applyUpdates.d.ts +3 -3
- package/dist/browser/operations/applyUpdates.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/applyUpdates.js +12 -29
- package/dist/browser/operations/applyUpdates.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignments.d.ts +3 -3
- package/dist/browser/operations/configurationAssignments.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignments.js +21 -55
- package/dist/browser/operations/configurationAssignments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignmentsForResourceGroup.d.ts +3 -3
- package/dist/browser/operations/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignmentsForResourceGroup.js +3 -2
- package/dist/browser/operations/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignmentsForSubscriptions.d.ts +3 -3
- package/dist/browser/operations/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignmentsForSubscriptions.js +3 -2
- package/dist/browser/operations/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignmentsWithinSubscription.d.ts +3 -3
- package/dist/browser/operations/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/configurationAssignmentsWithinSubscription.js +12 -29
- package/dist/browser/operations/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/browser/operations/index.d.ts +13 -0
- package/dist/browser/operations/index.d.ts.map +1 -0
- package/dist/browser/operations/index.js +20 -0
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/maintenanceConfigurations.d.ts +3 -3
- package/dist/browser/operations/maintenanceConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/maintenanceConfigurations.js +12 -29
- package/dist/browser/operations/maintenanceConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/maintenanceConfigurationsForResourceGroup.d.ts +3 -3
- package/dist/browser/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/maintenanceConfigurationsForResourceGroup.js +12 -29
- package/dist/browser/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.d.ts +3 -3
- package/dist/browser/operations/operations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operations.js +12 -29
- package/dist/browser/operations/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/publicMaintenanceConfigurations.d.ts +3 -3
- package/dist/browser/operations/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/publicMaintenanceConfigurations.js +12 -29
- package/dist/browser/operations/publicMaintenanceConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/scheduledEvent.d.ts +3 -3
- package/dist/browser/operations/scheduledEvent.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/scheduledEvent.js +3 -2
- package/dist/browser/operations/scheduledEvent.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/updates.d.ts +3 -3
- package/dist/browser/operations/updates.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/updates.js +21 -55
- package/dist/browser/operations/updates.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/applyUpdateForResourceGroup.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/applyUpdateForResourceGroup.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/applyUpdateForResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/applyUpdates.d.ts +1 -1
- package/dist/browser/operationsInterfaces/applyUpdates.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/applyUpdates.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignments.d.ts +1 -1
- package/dist/browser/operationsInterfaces/configurationAssignments.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/configurationAssignments.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts +1 -1
- package/dist/browser/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts +1 -1
- package/dist/browser/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +13 -0
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/index.js +20 -0
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/maintenanceConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/maintenanceConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/publicMaintenanceConfigurations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/publicMaintenanceConfigurations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/scheduledEvent.d.ts +1 -1
- package/dist/browser/operationsInterfaces/scheduledEvent.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/scheduledEvent.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/updates.d.ts +1 -1
- package/dist/browser/operationsInterfaces/updates.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/updates.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/maintenanceManagementClient.d.ts +31 -0
- package/dist/commonjs/maintenanceManagementClient.d.ts.map +1 -0
- package/dist/commonjs/maintenanceManagementClient.js +138 -0
- package/dist/commonjs/maintenanceManagementClient.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +558 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +91 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +23 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +701 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +21 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +195 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/applyUpdateForResourceGroup.d.ts +28 -0
- package/dist/commonjs/operations/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operations/applyUpdateForResourceGroup.js +90 -0
- package/dist/commonjs/operations/applyUpdateForResourceGroup.js.map +1 -0
- package/dist/commonjs/operations/applyUpdates.d.ts +79 -0
- package/dist/commonjs/operations/applyUpdates.d.ts.map +1 -0
- package/dist/commonjs/operations/applyUpdates.js +312 -0
- package/dist/commonjs/operations/applyUpdates.js.map +1 -0
- package/dist/commonjs/operations/configurationAssignments.d.ts +126 -0
- package/dist/commonjs/operations/configurationAssignments.d.ts.map +1 -0
- package/dist/commonjs/operations/configurationAssignments.js +474 -0
- package/dist/commonjs/operations/configurationAssignments.js.map +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.d.ts +43 -0
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.js +169 -0
- package/dist/commonjs/operations/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.d.ts +39 -0
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.js +151 -0
- package/dist/commonjs/operations/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.d.ts +26 -0
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.js +84 -0
- package/dist/commonjs/operations/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +13 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +23 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/maintenanceConfigurations.d.ts +56 -0
- package/dist/commonjs/operations/maintenanceConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/maintenanceConfigurations.js +214 -0
- package/dist/commonjs/operations/maintenanceConfigurations.js.map +1 -0
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.d.ts +28 -0
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.js +90 -0
- package/dist/commonjs/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist/commonjs/operations/operations.d.ts +26 -0
- package/dist/commonjs/operations/operations.d.ts.map +1 -0
- package/dist/commonjs/operations/operations.js +84 -0
- package/dist/commonjs/operations/operations.js.map +1 -0
- package/dist/commonjs/operations/publicMaintenanceConfigurations.d.ts +32 -0
- package/dist/commonjs/operations/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operations/publicMaintenanceConfigurations.js +112 -0
- package/dist/commonjs/operations/publicMaintenanceConfigurations.js.map +1 -0
- package/dist/commonjs/operations/scheduledEvent.d.ts +23 -0
- package/dist/commonjs/operations/scheduledEvent.d.ts.map +1 -0
- package/dist/commonjs/operations/scheduledEvent.js +70 -0
- package/dist/commonjs/operations/scheduledEvent.js.map +1 -0
- package/dist/commonjs/operations/updates.d.ts +58 -0
- package/dist/commonjs/operations/updates.d.ts.map +1 -0
- package/dist/commonjs/operations/updates.js +182 -0
- package/dist/commonjs/operations/updates.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/applyUpdateForResourceGroup.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/applyUpdateForResourceGroup.js +10 -0
- package/dist/commonjs/operationsInterfaces/applyUpdateForResourceGroup.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/applyUpdates.d.ts +64 -0
- package/dist/commonjs/operationsInterfaces/applyUpdates.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/applyUpdates.js +10 -0
- package/dist/commonjs/operationsInterfaces/applyUpdates.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignments.d.ts +94 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignments.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignments.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignments.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts +35 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForResourceGroup.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts +31 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForSubscriptions.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsWithinSubscription.js +10 -0
- package/dist/commonjs/operationsInterfaces/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +23 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.d.ts +41 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts +12 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js +10 -0
- package/dist/commonjs/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts +11 -0
- package/dist/commonjs/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/publicMaintenanceConfigurations.d.ts +17 -0
- package/dist/commonjs/operationsInterfaces/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/publicMaintenanceConfigurations.js +10 -0
- package/dist/commonjs/operationsInterfaces/publicMaintenanceConfigurations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/scheduledEvent.d.ts +15 -0
- package/dist/commonjs/operationsInterfaces/scheduledEvent.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/scheduledEvent.js +10 -0
- package/dist/commonjs/operationsInterfaces/scheduledEvent.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/updates.d.ts +26 -0
- package/dist/commonjs/operationsInterfaces/updates.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/updates.js +10 -0
- package/dist/commonjs/operationsInterfaces/updates.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/maintenanceManagementClient.d.ts +31 -0
- package/dist/esm/maintenanceManagementClient.d.ts.map +1 -0
- package/dist/esm/maintenanceManagementClient.js +133 -0
- package/dist/esm/maintenanceManagementClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +558 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +88 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +23 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +698 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +21 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +192 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/applyUpdateForResourceGroup.d.ts +28 -0
- package/dist/esm/operations/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist/esm/operations/applyUpdateForResourceGroup.js +85 -0
- package/dist/esm/operations/applyUpdateForResourceGroup.js.map +1 -0
- package/dist/esm/operations/applyUpdates.d.ts +79 -0
- package/dist/esm/operations/applyUpdates.d.ts.map +1 -0
- package/dist/esm/operations/applyUpdates.js +307 -0
- package/dist/esm/operations/applyUpdates.js.map +1 -0
- package/dist/esm/operations/configurationAssignments.d.ts +126 -0
- package/dist/esm/operations/configurationAssignments.d.ts.map +1 -0
- package/dist/esm/operations/configurationAssignments.js +469 -0
- package/dist/esm/operations/configurationAssignments.js.map +1 -0
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.d.ts +43 -0
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.js +164 -0
- package/dist/esm/operations/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.d.ts +39 -0
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.js +146 -0
- package/dist/esm/operations/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.d.ts +26 -0
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.js +79 -0
- package/dist/esm/operations/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/esm/operations/index.d.ts +13 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +20 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/maintenanceConfigurations.d.ts +56 -0
- package/dist/esm/operations/maintenanceConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/maintenanceConfigurations.js +209 -0
- package/dist/esm/operations/maintenanceConfigurations.js.map +1 -0
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.d.ts +28 -0
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.js +85 -0
- package/dist/esm/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist/esm/operations/operations.d.ts +26 -0
- package/dist/esm/operations/operations.d.ts.map +1 -0
- package/dist/esm/operations/operations.js +79 -0
- package/dist/esm/operations/operations.js.map +1 -0
- package/dist/esm/operations/publicMaintenanceConfigurations.d.ts +32 -0
- package/dist/esm/operations/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist/esm/operations/publicMaintenanceConfigurations.js +107 -0
- package/dist/esm/operations/publicMaintenanceConfigurations.js.map +1 -0
- package/dist/esm/operations/scheduledEvent.d.ts +23 -0
- package/dist/esm/operations/scheduledEvent.d.ts.map +1 -0
- package/dist/esm/operations/scheduledEvent.js +65 -0
- package/dist/esm/operations/scheduledEvent.js.map +1 -0
- package/dist/esm/operations/updates.d.ts +58 -0
- package/dist/esm/operations/updates.d.ts.map +1 -0
- package/dist/esm/operations/updates.js +177 -0
- package/dist/esm/operations/updates.js.map +1 -0
- package/dist/esm/operationsInterfaces/applyUpdateForResourceGroup.d.ts +12 -0
- package/dist/esm/operationsInterfaces/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/applyUpdateForResourceGroup.js +9 -0
- package/dist/esm/operationsInterfaces/applyUpdateForResourceGroup.js.map +1 -0
- package/dist/esm/operationsInterfaces/applyUpdates.d.ts +64 -0
- package/dist/esm/operationsInterfaces/applyUpdates.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/applyUpdates.js +9 -0
- package/dist/esm/operationsInterfaces/applyUpdates.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignments.d.ts +94 -0
- package/dist/esm/operationsInterfaces/configurationAssignments.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignments.js +9 -0
- package/dist/esm/operationsInterfaces/configurationAssignments.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts +35 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForResourceGroup.js +9 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts +31 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForSubscriptions.js +9 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts +11 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsWithinSubscription.js +9 -0
- package/dist/esm/operationsInterfaces/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +13 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +20 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.d.ts +41 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts +12 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js +9 -0
- package/dist/esm/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist/esm/operationsInterfaces/operations.d.ts +11 -0
- package/dist/esm/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operations.js +9 -0
- package/dist/esm/operationsInterfaces/operations.js.map +1 -0
- package/dist/esm/operationsInterfaces/publicMaintenanceConfigurations.d.ts +17 -0
- package/dist/esm/operationsInterfaces/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/publicMaintenanceConfigurations.js +9 -0
- package/dist/esm/operationsInterfaces/publicMaintenanceConfigurations.js.map +1 -0
- package/dist/esm/operationsInterfaces/scheduledEvent.d.ts +15 -0
- package/dist/esm/operationsInterfaces/scheduledEvent.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/scheduledEvent.js +9 -0
- package/dist/esm/operationsInterfaces/scheduledEvent.js.map +1 -0
- package/dist/esm/operationsInterfaces/updates.d.ts +26 -0
- package/dist/esm/operationsInterfaces/updates.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/updates.js +9 -0
- package/dist/esm/operationsInterfaces/updates.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/maintenanceManagementClient.d.ts +31 -0
- package/dist/react-native/maintenanceManagementClient.d.ts.map +1 -0
- package/dist/react-native/maintenanceManagementClient.js +133 -0
- package/dist/react-native/maintenanceManagementClient.js.map +1 -0
- package/dist/react-native/models/index.d.ts +558 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +88 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +23 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +698 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +21 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +192 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/applyUpdateForResourceGroup.d.ts +28 -0
- package/dist/react-native/operations/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operations/applyUpdateForResourceGroup.js +85 -0
- package/dist/react-native/operations/applyUpdateForResourceGroup.js.map +1 -0
- package/dist/react-native/operations/applyUpdates.d.ts +79 -0
- package/dist/react-native/operations/applyUpdates.d.ts.map +1 -0
- package/dist/react-native/operations/applyUpdates.js +307 -0
- package/dist/react-native/operations/applyUpdates.js.map +1 -0
- package/dist/react-native/operations/configurationAssignments.d.ts +126 -0
- package/dist/react-native/operations/configurationAssignments.d.ts.map +1 -0
- package/dist/react-native/operations/configurationAssignments.js +469 -0
- package/dist/react-native/operations/configurationAssignments.js.map +1 -0
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.d.ts +43 -0
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.js +164 -0
- package/dist/react-native/operations/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.d.ts +39 -0
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.js +146 -0
- package/dist/react-native/operations/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.d.ts +26 -0
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.js +79 -0
- package/dist/react-native/operations/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +13 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +20 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/maintenanceConfigurations.d.ts +56 -0
- package/dist/react-native/operations/maintenanceConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/maintenanceConfigurations.js +209 -0
- package/dist/react-native/operations/maintenanceConfigurations.js.map +1 -0
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.d.ts +28 -0
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.js +85 -0
- package/dist/react-native/operations/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist/react-native/operations/operations.d.ts +26 -0
- package/dist/react-native/operations/operations.d.ts.map +1 -0
- package/dist/react-native/operations/operations.js +79 -0
- package/dist/react-native/operations/operations.js.map +1 -0
- package/dist/react-native/operations/publicMaintenanceConfigurations.d.ts +32 -0
- package/dist/react-native/operations/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist/react-native/operations/publicMaintenanceConfigurations.js +107 -0
- package/dist/react-native/operations/publicMaintenanceConfigurations.js.map +1 -0
- package/dist/react-native/operations/scheduledEvent.d.ts +23 -0
- package/dist/react-native/operations/scheduledEvent.d.ts.map +1 -0
- package/dist/react-native/operations/scheduledEvent.js +65 -0
- package/dist/react-native/operations/scheduledEvent.js.map +1 -0
- package/dist/react-native/operations/updates.d.ts +58 -0
- package/dist/react-native/operations/updates.d.ts.map +1 -0
- package/dist/react-native/operations/updates.js +177 -0
- package/dist/react-native/operations/updates.js.map +1 -0
- package/dist/react-native/operationsInterfaces/applyUpdateForResourceGroup.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/applyUpdateForResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/applyUpdateForResourceGroup.js +9 -0
- package/dist/react-native/operationsInterfaces/applyUpdateForResourceGroup.js.map +1 -0
- package/dist/react-native/operationsInterfaces/applyUpdates.d.ts +64 -0
- package/dist/react-native/operationsInterfaces/applyUpdates.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/applyUpdates.js +9 -0
- package/dist/react-native/operationsInterfaces/applyUpdates.js.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignments.d.ts +94 -0
- package/dist/react-native/operationsInterfaces/configurationAssignments.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignments.js +9 -0
- package/dist/react-native/operationsInterfaces/configurationAssignments.js.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts +35 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForResourceGroup.js +9 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForResourceGroup.js.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts +31 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForSubscriptions.js +9 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsForSubscriptions.js.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsWithinSubscription.js +9 -0
- package/dist/react-native/operationsInterfaces/configurationAssignmentsWithinSubscription.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +20 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.d.ts +41 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts +12 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js +9 -0
- package/dist/react-native/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts +11 -0
- package/dist/react-native/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operations.js +9 -0
- package/dist/react-native/operationsInterfaces/operations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/publicMaintenanceConfigurations.d.ts +17 -0
- package/dist/react-native/operationsInterfaces/publicMaintenanceConfigurations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/publicMaintenanceConfigurations.js +9 -0
- package/dist/react-native/operationsInterfaces/publicMaintenanceConfigurations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/scheduledEvent.d.ts +15 -0
- package/dist/react-native/operationsInterfaces/scheduledEvent.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/scheduledEvent.js +9 -0
- package/dist/react-native/operationsInterfaces/scheduledEvent.js.map +1 -0
- package/dist/react-native/operationsInterfaces/updates.d.ts +26 -0
- package/dist/react-native/operationsInterfaces/updates.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/updates.js +9 -0
- package/dist/react-native/operationsInterfaces/updates.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +86 -72
- package/dist/index.js +0 -3254
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.d.ts +0 -2
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js +0 -54
- package/dist-esm/samples-dev/applyUpdateForResourceGroupListSample.js.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.d.ts +0 -2
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.js +0 -66
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateOrCancelSample.js.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.d.ts +0 -2
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.js +0 -43
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateParentSample.js.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.js +0 -41
- package/dist-esm/samples-dev/applyUpdatesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.d.ts +0 -2
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.js +0 -44
- package/dist-esm/samples-dev/applyUpdatesGetParentSample.js.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/applyUpdatesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesGetSample.js +0 -42
- package/dist-esm/samples-dev/applyUpdatesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/applyUpdatesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/applyUpdatesListSample.js +0 -53
- package/dist-esm/samples-dev/applyUpdatesListSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.js +0 -47
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateParentSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.js +0 -45
- package/dist-esm/samples-dev/configurationAssignmentsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.js +0 -44
- package/dist-esm/samples-dev/configurationAssignmentsDeleteParentSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.js +0 -42
- package/dist-esm/samples-dev/configurationAssignmentsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.js +0 -56
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.js +0 -39
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.js +0 -39
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupGetSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.js +0 -56
- package/dist-esm/samples-dev/configurationAssignmentsForResourceGroupUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js +0 -56
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.js +0 -38
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.js +0 -38
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.js +0 -56
- package/dist-esm/samples-dev/configurationAssignmentsForSubscriptionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.js +0 -44
- package/dist-esm/samples-dev/configurationAssignmentsGetParentSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.js +0 -42
- package/dist-esm/samples-dev/configurationAssignmentsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js +0 -59
- package/dist-esm/samples-dev/configurationAssignmentsListParentSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsListSample.js +0 -57
- package/dist-esm/samples-dev/configurationAssignmentsListSample.js.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.d.ts +0 -2
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js +0 -53
- package/dist-esm/samples-dev/configurationAssignmentsWithinSubscriptionListSample.js.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js +0 -50
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.d.ts +0 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js +0 -54
- package/dist-esm/samples-dev/maintenanceConfigurationsForResourceGroupListSample.js.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js +0 -77
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js +0 -53
- package/dist-esm/samples-dev/maintenanceConfigurationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.js +0 -50
- package/dist-esm/samples-dev/maintenanceConfigurationsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsListSample.js +0 -53
- package/dist-esm/samples-dev/operationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.js +0 -38
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.d.ts +0 -2
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js +0 -53
- package/dist-esm/samples-dev/publicMaintenanceConfigurationsListSample.js.map +0 -1
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.d.ts +0 -2
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.js +0 -41
- package/dist-esm/samples-dev/scheduledEventAcknowledgeSample.js.map +0 -1
- package/dist-esm/samples-dev/updatesListParentSample.d.ts +0 -2
- package/dist-esm/samples-dev/updatesListParentSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/updatesListParentSample.js +0 -59
- package/dist-esm/samples-dev/updatesListParentSample.js.map +0 -1
- package/dist-esm/samples-dev/updatesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/updatesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/updatesListSample.js +0 -57
- package/dist-esm/samples-dev/updatesListSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/maintenanceManagementClient.d.ts.map +0 -1
- package/dist-esm/src/maintenanceManagementClient.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/applyUpdateForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operations/applyUpdateForResourceGroup.js.map +0 -1
- package/dist-esm/src/operations/applyUpdates.d.ts.map +0 -1
- package/dist-esm/src/operations/applyUpdates.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignments.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignments.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -13
- package/dist-esm/src/operations/index.d.ts.map +0 -1
- package/dist-esm/src/operations/index.js +0 -20
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/maintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/maintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/publicMaintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operations/scheduledEvent.d.ts.map +0 -1
- package/dist-esm/src/operations/scheduledEvent.js.map +0 -1
- package/dist-esm/src/operations/updates.d.ts.map +0 -1
- package/dist-esm/src/operations/updates.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applyUpdates.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applyUpdates.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -13
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.js +0 -20
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/scheduledEvent.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/scheduledEvent.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/updates.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/updates.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/maintenance_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/maintenance_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/maintenance_operations_test.spec.js +0 -119
- package/dist-esm/test/maintenance_operations_test.spec.js.map +0 -1
- package/src/maintenanceManagementClient.ts +0 -196
- package/src/models/index.ts +0 -685
- package/src/models/mappers.ts +0 -721
- package/src/models/parameters.ts +0 -220
- package/src/operations/applyUpdateForResourceGroup.ts +0 -118
- package/src/operations/applyUpdates.ts +0 -399
- package/src/operations/configurationAssignments.ts +0 -698
- package/src/operations/configurationAssignmentsForResourceGroup.ts +0 -216
- package/src/operations/configurationAssignmentsForSubscriptions.ts +0 -194
- package/src/operations/configurationAssignmentsWithinSubscription.ts +0 -105
- package/src/operations/index.ts +0 -20
- package/src/operations/maintenanceConfigurations.ts +0 -277
- package/src/operations/maintenanceConfigurationsForResourceGroup.ts +0 -118
- package/src/operations/operations.ts +0 -103
- package/src/operations/publicMaintenanceConfigurations.ts +0 -142
- package/src/operations/scheduledEvent.ts +0 -84
- package/src/operations/updates.ts +0 -320
- package/src/operationsInterfaces/applyUpdateForResourceGroup.ts +0 -27
- package/src/operationsInterfaces/applyUpdates.ts +0 -126
- package/src/operationsInterfaces/configurationAssignments.ts +0 -183
- package/src/operationsInterfaces/configurationAssignmentsForResourceGroup.ts +0 -71
- package/src/operationsInterfaces/configurationAssignmentsForSubscriptions.ts +0 -63
- package/src/operationsInterfaces/configurationAssignmentsWithinSubscription.ts +0 -25
- package/src/operationsInterfaces/index.ts +0 -20
- package/src/operationsInterfaces/maintenanceConfigurations.ts +0 -81
- package/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.ts +0 -27
- package/src/operationsInterfaces/operations.ts +0 -22
- package/src/operationsInterfaces/publicMaintenanceConfigurations.ts +0 -36
- package/src/operationsInterfaces/scheduledEvent.ts +0 -32
- package/src/operationsInterfaces/updates.ts +0 -53
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- package/types/arm-maintenance.d.ts +0 -1052
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/applyUpdateForResourceGroup.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/applyUpdates.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignments.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignmentsForResourceGroup.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignmentsForSubscriptions.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/configurationAssignmentsWithinSubscription.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/maintenanceConfigurations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/publicMaintenanceConfigurations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/scheduledEvent.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/updates.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-maintenance.api.md → arm-maintenance-node.api.md} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
# Release History
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
## 1.0.0-beta.3 (Unreleased)
|
|
4
|
+
|
|
5
|
+
### Features Added
|
|
6
|
+
|
|
7
|
+
### Breaking Changes
|
|
8
|
+
|
|
9
|
+
### Bugs Fixed
|
|
10
|
+
|
|
11
|
+
### Other Changes
|
|
12
|
+
|
|
3
13
|
## 1.0.0-beta.2 (2024-05-10)
|
|
4
14
|
|
|
5
|
-
|
|
15
|
+
### Features Added
|
|
6
16
|
|
|
7
17
|
- Added operation group ScheduledEvent
|
|
8
18
|
- Added operation ApplyUpdates.createOrUpdateOrCancel
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) Microsoft Corporation.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MIT License
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -12,10 +12,10 @@ furnished to do so, subject to the following conditions:
|
|
|
12
12
|
The above copyright notice and this permission notice shall be included in all
|
|
13
13
|
copies or substantial portions of the Software.
|
|
14
14
|
|
|
15
|
-
THE SOFTWARE IS PROVIDED
|
|
15
|
+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Azure Maintenance Management Client
|
|
|
6
6
|
|
|
7
7
|
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/maintenance/arm-maintenance) |
|
|
8
8
|
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-maintenance) |
|
|
9
|
-
[API reference documentation](https://
|
|
9
|
+
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-maintenance?view=azure-node-preview) |
|
|
10
10
|
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
|
|
11
11
|
|
|
12
12
|
## Getting started
|
|
@@ -46,26 +46,34 @@ npm install @azure/identity
|
|
|
46
46
|
You will also need to **register a new AAD application and grant access to Azure MaintenanceManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
|
|
47
47
|
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
|
|
48
48
|
|
|
49
|
-
For more information about how to create an Azure AD Application check out [this guide](https://
|
|
49
|
+
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
|
|
52
|
+
|
|
53
|
+
```ts snippet:ReadmeSampleCreateClient_Node
|
|
54
|
+
import { MaintenanceManagementClient } from "@azure/arm-maintenance";
|
|
55
|
+
import { DefaultAzureCredential } from "@azure/identity";
|
|
55
56
|
|
|
56
57
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
57
58
|
const client = new MaintenanceManagementClient(new DefaultAzureCredential(), subscriptionId);
|
|
58
|
-
|
|
59
|
-
// For client-side applications running in the browser, use this code instead:
|
|
60
|
-
// const credential = new InteractiveBrowserCredential({
|
|
61
|
-
// tenantId: "<YOUR_TENANT_ID>",
|
|
62
|
-
// clientId: "<YOUR_CLIENT_ID>"
|
|
63
|
-
// });
|
|
64
|
-
// const client = new MaintenanceManagementClient(credential, subscriptionId);
|
|
65
59
|
```
|
|
66
60
|
|
|
61
|
+
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
|
|
62
|
+
|
|
63
|
+
```ts snippet:ReadmeSampleCreateClient_Browser
|
|
64
|
+
import { InteractiveBrowserCredential } from "@azure/identity";
|
|
65
|
+
import { MaintenanceManagementClient } from "@azure/arm-maintenance";
|
|
66
|
+
|
|
67
|
+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
|
68
|
+
const credential = new InteractiveBrowserCredential({
|
|
69
|
+
tenantId: "<YOUR_TENANT_ID>",
|
|
70
|
+
clientId: "<YOUR_CLIENT_ID>",
|
|
71
|
+
});
|
|
72
|
+
const client = new MaintenanceManagementClient(credential, subscriptionId);
|
|
73
|
+
```
|
|
67
74
|
|
|
68
75
|
### JavaScript Bundle
|
|
76
|
+
|
|
69
77
|
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
|
|
70
78
|
|
|
71
79
|
## Key concepts
|
|
@@ -80,8 +88,9 @@ To use this client library in the browser, first you need to use a bundler. For
|
|
|
80
88
|
|
|
81
89
|
Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
|
|
82
90
|
|
|
83
|
-
```
|
|
84
|
-
|
|
91
|
+
```ts snippet:SetLogLevel
|
|
92
|
+
import { setLogLevel } from "@azure/logger";
|
|
93
|
+
|
|
85
94
|
setLogLevel("info");
|
|
86
95
|
```
|
|
87
96
|
|
|
@@ -99,9 +108,7 @@ If you'd like to contribute to this library, please read the [contributing guide
|
|
|
99
108
|
|
|
100
109
|
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
|
|
101
110
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
[azure_cli]: https://docs.microsoft.com/cli/azure
|
|
111
|
+
[azure_cli]: https://learn.microsoft.com/cli/azure
|
|
105
112
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
106
113
|
[azure_sub]: https://azure.microsoft.com/free/
|
|
107
114
|
[azure_portal]: https://portal.azure.com
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
/// <reference lib="esnext.asynciterable" />
|
|
9
|
-
export { getContinuationToken } from "./pagingHelper";
|
|
10
|
-
export * from "./models";
|
|
11
|
-
export { MaintenanceManagementClient } from "./maintenanceManagementClient";
|
|
12
|
-
export * from "./operationsInterfaces";
|
|
9
|
+
export { getContinuationToken } from "./pagingHelper.js";
|
|
10
|
+
export * from "./models/index.js";
|
|
11
|
+
export { MaintenanceManagementClient } from "./maintenanceManagementClient.js";
|
|
12
|
+
export * from "./operationsInterfaces/index.js";
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,4CAA4C;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,cAAc,mBAAmB,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAC/E,cAAc,iCAAiC,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\n/// <reference lib=\"esnext.asynciterable\" />\nexport { getContinuationToken } from \"./pagingHelper.js\";\nexport * from \"./models/index.js\";\nexport { MaintenanceManagementClient } from \"./maintenanceManagementClient.js\";\nexport * from \"./operationsInterfaces/index.js\";\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as coreClient from "@azure/core-client";
|
|
2
2
|
import * as coreAuth from "@azure/core-auth";
|
|
3
|
-
import { ScheduledEvent, PublicMaintenanceConfigurations, ApplyUpdates, ConfigurationAssignments, MaintenanceConfigurations, MaintenanceConfigurationsForResourceGroup, ApplyUpdateForResourceGroup, ConfigurationAssignmentsWithinSubscription, ConfigurationAssignmentsForSubscriptions, ConfigurationAssignmentsForResourceGroup, Operations, Updates } from "./operationsInterfaces";
|
|
4
|
-
import { MaintenanceManagementClientOptionalParams } from "./models";
|
|
3
|
+
import { ScheduledEvent, PublicMaintenanceConfigurations, ApplyUpdates, ConfigurationAssignments, MaintenanceConfigurations, MaintenanceConfigurationsForResourceGroup, ApplyUpdateForResourceGroup, ConfigurationAssignmentsWithinSubscription, ConfigurationAssignmentsForSubscriptions, ConfigurationAssignmentsForResourceGroup, Operations, Updates } from "./operationsInterfaces/index.js";
|
|
4
|
+
import { MaintenanceManagementClientOptionalParams } from "./models/index.js";
|
|
5
5
|
export declare class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
6
6
|
$host: string;
|
|
7
7
|
subscriptionId: string;
|
|
@@ -0,0 +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;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,iCAAiC,CAAC;AACzC,OAAO,EAAE,yCAAyC,EAAE,MAAM,mBAAmB,CAAC;AAE9E,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"}
|
|
@@ -5,11 +5,13 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __awaiter } from "tslib";
|
|
9
8
|
import * as coreClient from "@azure/core-client";
|
|
10
9
|
import * as coreRestPipeline from "@azure/core-rest-pipeline";
|
|
11
|
-
import { ScheduledEventImpl, PublicMaintenanceConfigurationsImpl, ApplyUpdatesImpl, ConfigurationAssignmentsImpl, MaintenanceConfigurationsImpl, MaintenanceConfigurationsForResourceGroupImpl, ApplyUpdateForResourceGroupImpl, ConfigurationAssignmentsWithinSubscriptionImpl, ConfigurationAssignmentsForSubscriptionsImpl, ConfigurationAssignmentsForResourceGroupImpl, OperationsImpl, UpdatesImpl, } from "./operations";
|
|
10
|
+
import { ScheduledEventImpl, PublicMaintenanceConfigurationsImpl, ApplyUpdatesImpl, ConfigurationAssignmentsImpl, MaintenanceConfigurationsImpl, MaintenanceConfigurationsForResourceGroupImpl, ApplyUpdateForResourceGroupImpl, ConfigurationAssignmentsWithinSubscriptionImpl, ConfigurationAssignmentsForSubscriptionsImpl, ConfigurationAssignmentsForResourceGroupImpl, OperationsImpl, UpdatesImpl, } from "./operations/index.js";
|
|
12
11
|
export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
12
|
+
$host;
|
|
13
|
+
subscriptionId;
|
|
14
|
+
apiVersion;
|
|
13
15
|
/**
|
|
14
16
|
* Initializes a new instance of the MaintenanceManagementClient class.
|
|
15
17
|
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
@@ -17,7 +19,6 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
17
19
|
* @param options The parameter options
|
|
18
20
|
*/
|
|
19
21
|
constructor(credentials, subscriptionId, options) {
|
|
20
|
-
var _a, _b, _c;
|
|
21
22
|
if (credentials === undefined) {
|
|
22
23
|
throw new Error("'credentials' cannot be null");
|
|
23
24
|
}
|
|
@@ -32,16 +33,21 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
32
33
|
requestContentType: "application/json; charset=utf-8",
|
|
33
34
|
credential: credentials,
|
|
34
35
|
};
|
|
35
|
-
const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.
|
|
36
|
+
const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.3`;
|
|
36
37
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
37
38
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
38
39
|
: `${packageDetails}`;
|
|
39
|
-
const optionsWithDefaults =
|
|
40
|
+
const optionsWithDefaults = {
|
|
41
|
+
...defaults,
|
|
42
|
+
...options,
|
|
43
|
+
userAgentOptions: {
|
|
40
44
|
userAgentPrefix,
|
|
41
|
-
},
|
|
45
|
+
},
|
|
46
|
+
endpoint: options.endpoint ?? options.baseUri ?? "https://management.azure.com",
|
|
47
|
+
};
|
|
42
48
|
super(optionsWithDefaults);
|
|
43
49
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
44
|
-
if (
|
|
50
|
+
if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {
|
|
45
51
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
46
52
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
47
53
|
coreRestPipeline.bearerTokenAuthenticationPolicyName);
|
|
@@ -55,7 +61,8 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
55
61
|
});
|
|
56
62
|
this.pipeline.addPolicy(coreRestPipeline.bearerTokenAuthenticationPolicy({
|
|
57
63
|
credential: credentials,
|
|
58
|
-
scopes:
|
|
64
|
+
scopes: optionsWithDefaults.credentialScopes ??
|
|
65
|
+
`${optionsWithDefaults.endpoint}/.default`,
|
|
59
66
|
challengeCallbacks: {
|
|
60
67
|
authorizeRequestOnChallenge: coreClient.authorizeRequestOnClaimChallenge,
|
|
61
68
|
},
|
|
@@ -92,25 +99,35 @@ export class MaintenanceManagementClient extends coreClient.ServiceClient {
|
|
|
92
99
|
}
|
|
93
100
|
const apiVersionPolicy = {
|
|
94
101
|
name: "CustomApiVersionPolicy",
|
|
95
|
-
sendRequest(request, next) {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
return next(request);
|
|
110
|
-
});
|
|
102
|
+
async sendRequest(request, next) {
|
|
103
|
+
const param = request.url.split("?");
|
|
104
|
+
if (param.length > 1) {
|
|
105
|
+
const newParams = param[1].split("&").map((item) => {
|
|
106
|
+
if (item.indexOf("api-version") > -1) {
|
|
107
|
+
return "api-version=" + apiVersion;
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
return item;
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
request.url = param[0] + "?" + newParams.join("&");
|
|
114
|
+
}
|
|
115
|
+
return next(request);
|
|
111
116
|
},
|
|
112
117
|
};
|
|
113
118
|
this.pipeline.addPolicy(apiVersionPolicy);
|
|
114
119
|
}
|
|
120
|
+
scheduledEvent;
|
|
121
|
+
publicMaintenanceConfigurations;
|
|
122
|
+
applyUpdates;
|
|
123
|
+
configurationAssignments;
|
|
124
|
+
maintenanceConfigurations;
|
|
125
|
+
maintenanceConfigurationsForResourceGroup;
|
|
126
|
+
applyUpdateForResourceGroup;
|
|
127
|
+
configurationAssignmentsWithinSubscription;
|
|
128
|
+
configurationAssignmentsForSubscriptions;
|
|
129
|
+
configurationAssignmentsForResourceGroup;
|
|
130
|
+
operations;
|
|
131
|
+
updates;
|
|
115
132
|
}
|
|
116
133
|
//# sourceMappingURL=maintenanceManagementClient.js.map
|
|
@@ -0,0 +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,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,uBAAuB,CAAC;AAiB/B,MAAM,OAAO,2BAA4B,SAAQ,UAAU,CAAC,aAAa;IACvE,KAAK,CAAS;IACd,cAAc,CAAS;IACvB,UAAU,CAAS;IAEnB;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAmD;QAEnD,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;QAClD,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YACjC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE,CAAC;YACb,OAAO,GAAG,EAAE,CAAC;QACf,CAAC;QACD,MAAM,QAAQ,GAA8C;YAC1D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,uCAAuC,CAAC;QAC/D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;YAClE,CAAC,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;YACjE,CAAC,CAAC,GAAG,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AAC,WAAW,CACf,OAAwB,EACxB,IAAiB;gBAEjB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;gBACrC,IAAI,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;oBACrB,MAAM,SAAS,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;wBACjD,IAAI,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC;4BACrC,OAAO,cAAc,GAAG,UAAU,CAAC;wBACrC,CAAC;6BAAM,CAAC;4BACN,OAAO,IAAI,CAAC;wBACd,CAAC;oBACH,CAAC,CAAC,CAAC;oBACH,OAAO,CAAC,GAAG,GAAG,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;gBACrD,CAAC;gBACD,OAAO,IAAI,CAAC,OAAO,CAAC,CAAC;YACvB,CAAC;SACF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAC5C,CAAC;IAED,cAAc,CAAiB;IAC/B,+BAA+B,CAAkC;IACjE,YAAY,CAAe;IAC3B,wBAAwB,CAA2B;IACnD,yBAAyB,CAA4B;IACrD,yCAAyC,CAA4C;IACrF,2BAA2B,CAA8B;IACzD,0CAA0C,CAA6C;IACvF,wCAAwC,CAA2C;IACnF,wCAAwC,CAA2C;IACnF,UAAU,CAAa;IACvB,OAAO,CAAU;CAClB","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreRestPipeline from \"@azure/core-rest-pipeline\";\nimport {\n PipelineRequest,\n PipelineResponse,\n SendRequest,\n} from \"@azure/core-rest-pipeline\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport {\n ScheduledEventImpl,\n PublicMaintenanceConfigurationsImpl,\n ApplyUpdatesImpl,\n ConfigurationAssignmentsImpl,\n MaintenanceConfigurationsImpl,\n MaintenanceConfigurationsForResourceGroupImpl,\n ApplyUpdateForResourceGroupImpl,\n ConfigurationAssignmentsWithinSubscriptionImpl,\n ConfigurationAssignmentsForSubscriptionsImpl,\n ConfigurationAssignmentsForResourceGroupImpl,\n OperationsImpl,\n UpdatesImpl,\n} from \"./operations/index.js\";\nimport {\n ScheduledEvent,\n PublicMaintenanceConfigurations,\n ApplyUpdates,\n ConfigurationAssignments,\n MaintenanceConfigurations,\n MaintenanceConfigurationsForResourceGroup,\n ApplyUpdateForResourceGroup,\n ConfigurationAssignmentsWithinSubscription,\n ConfigurationAssignmentsForSubscriptions,\n ConfigurationAssignmentsForResourceGroup,\n Operations,\n Updates,\n} from \"./operationsInterfaces/index.js\";\nimport { MaintenanceManagementClientOptionalParams } from \"./models/index.js\";\n\nexport class MaintenanceManagementClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the MaintenanceManagementClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId The ID of the target subscription. The value must be an UUID.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: MaintenanceManagementClientOptionalParams,\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: MaintenanceManagementClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials,\n };\n\n const packageDetails = `azsdk-js-arm-maintenance/1.0.0-beta.3`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix,\n },\n endpoint:\n options.endpoint ?? options.baseUri ?? \"https://management.azure.com\",\n };\n super(optionsWithDefaults);\n\n let bearerTokenAuthenticationPolicyFound: boolean = false;\n if (options?.pipeline && options.pipeline.getOrderedPolicies().length > 0) {\n const pipelinePolicies: coreRestPipeline.PipelinePolicy[] =\n options.pipeline.getOrderedPolicies();\n bearerTokenAuthenticationPolicyFound = pipelinePolicies.some(\n (pipelinePolicy) =>\n pipelinePolicy.name ===\n coreRestPipeline.bearerTokenAuthenticationPolicyName,\n );\n }\n if (\n !options ||\n !options.pipeline ||\n options.pipeline.getOrderedPolicies().length == 0 ||\n !bearerTokenAuthenticationPolicyFound\n ) {\n this.pipeline.removePolicy({\n name: coreRestPipeline.bearerTokenAuthenticationPolicyName,\n });\n this.pipeline.addPolicy(\n coreRestPipeline.bearerTokenAuthenticationPolicy({\n credential: credentials,\n scopes:\n optionsWithDefaults.credentialScopes ??\n `${optionsWithDefaults.endpoint}/.default`,\n challengeCallbacks: {\n authorizeRequestOnChallenge:\n coreClient.authorizeRequestOnClaimChallenge,\n },\n }),\n );\n }\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2023-10-01-preview\";\n this.scheduledEvent = new ScheduledEventImpl(this);\n this.publicMaintenanceConfigurations =\n new PublicMaintenanceConfigurationsImpl(this);\n this.applyUpdates = new ApplyUpdatesImpl(this);\n this.configurationAssignments = new ConfigurationAssignmentsImpl(this);\n this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);\n this.maintenanceConfigurationsForResourceGroup =\n new MaintenanceConfigurationsForResourceGroupImpl(this);\n this.applyUpdateForResourceGroup = new ApplyUpdateForResourceGroupImpl(\n this,\n );\n this.configurationAssignmentsWithinSubscription =\n new ConfigurationAssignmentsWithinSubscriptionImpl(this);\n this.configurationAssignmentsForSubscriptions =\n new ConfigurationAssignmentsForSubscriptionsImpl(this);\n this.configurationAssignmentsForResourceGroup =\n new ConfigurationAssignmentsForResourceGroupImpl(this);\n this.operations = new OperationsImpl(this);\n this.updates = new UpdatesImpl(this);\n this.addCustomApiVersionPolicy(options.apiVersion);\n }\n\n /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */\n private addCustomApiVersionPolicy(apiVersion?: string) {\n if (!apiVersion) {\n return;\n }\n const apiVersionPolicy = {\n name: \"CustomApiVersionPolicy\",\n async sendRequest(\n request: PipelineRequest,\n next: SendRequest,\n ): Promise<PipelineResponse> {\n const param = request.url.split(\"?\");\n if (param.length > 1) {\n const newParams = param[1].split(\"&\").map((item) => {\n if (item.indexOf(\"api-version\") > -1) {\n return \"api-version=\" + apiVersion;\n } else {\n return item;\n }\n });\n request.url = param[0] + \"?\" + newParams.join(\"&\");\n }\n return next(request);\n },\n };\n this.pipeline.addPolicy(apiVersionPolicy);\n }\n\n scheduledEvent: ScheduledEvent;\n publicMaintenanceConfigurations: PublicMaintenanceConfigurations;\n applyUpdates: ApplyUpdates;\n configurationAssignments: ConfigurationAssignments;\n maintenanceConfigurations: MaintenanceConfigurations;\n maintenanceConfigurationsForResourceGroup: MaintenanceConfigurationsForResourceGroup;\n applyUpdateForResourceGroup: ApplyUpdateForResourceGroup;\n configurationAssignmentsWithinSubscription: ConfigurationAssignmentsWithinSubscription;\n configurationAssignmentsForSubscriptions: ConfigurationAssignmentsForSubscriptions;\n configurationAssignmentsForResourceGroup: ConfigurationAssignmentsForResourceGroup;\n operations: Operations;\n updates: Updates;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/models/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAgPH,yEAAyE;AACzE,MAAM,CAAN,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AqC,CAAA;IACrC,sIAAsI;IACtI,sCAAiB,CAAA;IACjB,kJAAkJ;IAClJ,4CAAuB,CAAA;AACzB,CAAC,EAjBW,iBAAiB,KAAjB,iBAAiB,QAiB5B;AAkBD,mEAAmE;AACnE,MAAM,CAAN,IAAY,eASX;AATD,WAAY,eAAe;IACzB,iDAAiD;IACjD,gCAAa,CAAA;IACb,2EAA2E;IAC3E,oCAAiB,CAAA;IACjB,qDAAqD;IACrD,sCAAmB,CAAA;IACnB,6CAA6C;IAC7C,wCAAqB,CAAA;AACvB,CAAC,EATW,eAAe,KAAf,eAAe,QAS1B","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Response of scheduled event acknowledge */\nexport interface ScheduledEventApproveResponse {\n /** Successfully Approved */\n value?: string;\n}\n\n/** An error response received from the Azure Maintenance service. */\nexport interface MaintenanceError {\n /** Details of the error */\n error?: ErrorDetails;\n}\n\n/** An error response details received from the Azure Maintenance service. */\nexport interface ErrorDetails {\n /** Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. */\n code?: string;\n /** Human-readable representation of the error. */\n message?: string;\n}\n\n/** Response for MaintenanceConfigurations list */\nexport interface ListMaintenanceConfigurationsResult {\n /** The list of maintenance Configurations */\n value?: MaintenanceConfiguration[];\n}\n\n/** Input configuration for a patch run */\nexport interface InputPatchConfiguration {\n /** 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. */\n rebootSetting?: RebootOptions;\n /** Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property. */\n windowsParameters?: InputWindowsParameters;\n /** Input parameters specific to patching Linux machine. For Windows machines, do not pass this property. */\n linuxParameters?: InputLinuxParameters;\n}\n\n/** Input properties for patching a Windows machine. */\nexport interface InputWindowsParameters {\n /** Windows KBID to be excluded for patching. */\n kbNumbersToExclude?: string[];\n /** Windows KBID to be included for patching. */\n kbNumbersToInclude?: string[];\n /** Classification category of patches to be patched */\n classificationsToInclude?: string[];\n /** Exclude patches which need reboot */\n excludeKbsRequiringReboot?: boolean;\n}\n\n/** Input properties for patching a Linux machine. */\nexport interface InputLinuxParameters {\n /** Package names to be excluded for patching. */\n packageNameMasksToExclude?: string[];\n /** Package names to be included for patching. */\n packageNameMasksToInclude?: string[];\n /** Classification category of patches to be patched */\n classificationsToInclude?: string[];\n}\n\n/** Definition of a Resource */\nexport interface Resource {\n /**\n * Fully qualified identifier of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Name of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Type of the resource\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Azure query for the update configuration. */\nexport interface ConfigurationAssignmentFilterProperties {\n /** List of allowed resources. */\n resourceTypes?: string[];\n /** List of allowed resource groups. */\n resourceGroups?: string[];\n /** List of allowed operating systems. */\n osTypes?: string[];\n /** List of locations to scope the query to. */\n locations?: string[];\n /** Tag settings for the VM. */\n tagSettings?: TagSettingsProperties;\n}\n\n/** Tag filter information for the VM. */\nexport interface TagSettingsProperties {\n /** Dictionary of tags with its list of values. */\n tags?: { [propertyName: string]: string[] };\n /** Filter VMs by Any or All specified tags. */\n filterOperator?: TagOperators;\n}\n\n/** Response for ConfigurationAssignments list */\nexport interface ListConfigurationAssignmentsResult {\n /** The list of configuration Assignments */\n value?: ConfigurationAssignment[];\n}\n\n/** Response for ApplyUpdate list */\nexport interface ListApplyUpdate {\n /** The list of apply updates */\n value?: ApplyUpdate[];\n}\n\n/** Result of the List Operations operation */\nexport interface OperationsListResult {\n /** A collection of operations */\n value?: Operation[];\n}\n\n/** Represents an operation returned by the GetOperations request */\nexport interface Operation {\n /** Name of the operation */\n name?: string;\n /** Display name of the operation */\n display?: OperationInfo;\n /** Origin of the operation */\n origin?: string;\n /** Properties of the operation */\n properties?: Record<string, unknown>;\n /** Indicates whether the operation is a data action */\n isDataAction?: boolean;\n}\n\n/** Information about an operation */\nexport interface OperationInfo {\n /** Name of the provider */\n provider?: string;\n /** Name of the resource type */\n resource?: string;\n /** Name of the operation */\n operation?: string;\n /** Description of the operation */\n description?: string;\n}\n\n/** Response for Updates list */\nexport interface ListUpdatesResult {\n /** The pending updates */\n value?: Update[];\n}\n\n/** Maintenance update on a resource */\nexport interface Update {\n /** The impact area */\n maintenanceScope?: MaintenanceScope;\n /** The impact type */\n impactType?: ImpactType;\n /** The status */\n status?: UpdateStatus;\n /** Duration of impact in seconds */\n impactDurationInSec?: number;\n /** Time when Azure will start force updates if not self-updated by customer before this time */\n notBefore?: Date;\n /** The resourceId */\n resourceId?: string;\n}\n\n/** Maintenance configuration record type */\nexport interface MaintenanceConfiguration extends Resource {\n /** Gets or sets location of the resource */\n location?: string;\n /** Gets or sets tags of the resource */\n tags?: { [propertyName: string]: string };\n /** Gets or sets namespace of the resource */\n namespace?: string;\n /** Gets or sets extensionProperties of the maintenanceConfiguration */\n extensionProperties?: { [propertyName: string]: string };\n /** Gets or sets maintenanceScope of the configuration */\n maintenanceScope?: MaintenanceScope;\n /** Gets or sets the visibility of the configuration. The default value is 'Custom' */\n visibility?: Visibility;\n /** The input parameters to be passed to the patch run operation. */\n installPatches?: InputPatchConfiguration;\n /** 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. */\n startDateTime?: string;\n /** 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. */\n expirationDateTime?: string;\n /** 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. */\n duration?: string;\n /** 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. */\n timeZone?: string;\n /** 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. */\n recurEvery?: string;\n}\n\n/** Apply Update request */\nexport interface ApplyUpdate extends Resource {\n /** The status */\n status?: UpdateStatus;\n /** The resourceId */\n resourceId?: string;\n /** Last Update time */\n lastUpdateTime?: Date;\n}\n\n/** Configuration Assignment */\nexport interface ConfigurationAssignment extends Resource {\n /** Location of the resource */\n location?: string;\n /** The maintenance configuration Id */\n maintenanceConfigurationId?: string;\n /** The unique resourceId */\n resourceId?: string;\n /** Properties of the configuration assignment */\n filter?: ConfigurationAssignmentFilterProperties;\n}\n\n/** Known values of {@link MaintenanceScope} that the service accepts. */\nexport enum KnownMaintenanceScope {\n /** This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs. */\n Host = \"Host\",\n /** This maintenance scope controls the default update maintenance of the Azure Resource */\n Resource = \"Resource\",\n /** This maintenance scope controls os image installation on VM\\/VMSS */\n OSImage = \"OSImage\",\n /** This maintenance scope controls extension installation on VM\\/VMSS */\n Extension = \"Extension\",\n /** This maintenance scope controls installation of windows and linux packages on VM\\/VMSS */\n InGuestPatch = \"InGuestPatch\",\n /** This maintenance scope controls installation of SQL server platform updates. */\n Sqldb = \"SQLDB\",\n /** This maintenance scope controls installation of SQL managed instance platform update. */\n SQLManagedInstance = \"SQLManagedInstance\",\n}\n\n/**\n * Defines values for MaintenanceScope. \\\n * {@link KnownMaintenanceScope} can be used interchangeably with MaintenanceScope,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Host**: This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs. \\\n * **Resource**: This maintenance scope controls the default update maintenance of the Azure Resource \\\n * **OSImage**: This maintenance scope controls os image installation on VM\\/VMSS \\\n * **Extension**: This maintenance scope controls extension installation on VM\\/VMSS \\\n * **InGuestPatch**: This maintenance scope controls installation of windows and linux packages on VM\\/VMSS \\\n * **SQLDB**: This maintenance scope controls installation of SQL server platform updates. \\\n * **SQLManagedInstance**: This maintenance scope controls installation of SQL managed instance platform update.\n */\nexport type MaintenanceScope = string;\n\n/** Known values of {@link Visibility} that the service accepts. */\nexport enum KnownVisibility {\n /** Only visible to users with permissions. */\n Custom = \"Custom\",\n /** Visible to all users. */\n Public = \"Public\",\n}\n\n/**\n * Defines values for Visibility. \\\n * {@link KnownVisibility} can be used interchangeably with Visibility,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Custom**: Only visible to users with permissions. \\\n * **Public**: Visible to all users.\n */\nexport type Visibility = string;\n\n/** Known values of {@link RebootOptions} that the service accepts. */\nexport enum KnownRebootOptions {\n /** IfRequired */\n IfRequired = \"IfRequired\",\n /** Never */\n Never = \"Never\",\n /** Always */\n Always = \"Always\",\n}\n\n/**\n * Defines values for RebootOptions. \\\n * {@link KnownRebootOptions} can be used interchangeably with RebootOptions,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **IfRequired** \\\n * **Never** \\\n * **Always**\n */\nexport type RebootOptions = string;\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n /** User */\n User = \"User\",\n /** Application */\n Application = \"Application\",\n /** ManagedIdentity */\n ManagedIdentity = \"ManagedIdentity\",\n /** Key */\n Key = \"Key\",\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link UpdateStatus} that the service accepts. */\nexport enum KnownUpdateStatus {\n /** There are pending updates to be installed. */\n Pending = \"Pending\",\n /** Updates installation are in progress. */\n InProgress = \"InProgress\",\n /** All updates are successfully applied. */\n Completed = \"Completed\",\n /** Updates installation failed but are ready to retry again. */\n RetryNow = \"RetryNow\",\n /** Updates installation failed and should be retried later. */\n RetryLater = \"RetryLater\",\n /** No updates are pending. */\n NoUpdatesPending = \"NoUpdatesPending\",\n /** Cancel the schedule and stop creating PMR for resources part of it. Applicable to Maintenance Configuration resource type only. */\n Cancel = \"Cancel\",\n /** Send the Cancelled response to the user if request came to cancel the schedule. Applicable to Maintenance Configuration resource type only. */\n Cancelled = \"Cancelled\",\n}\n\n/**\n * Defines values for UpdateStatus. \\\n * {@link KnownUpdateStatus} can be used interchangeably with UpdateStatus,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Pending**: There are pending updates to be installed. \\\n * **InProgress**: Updates installation are in progress. \\\n * **Completed**: All updates are successfully applied. \\\n * **RetryNow**: Updates installation failed but are ready to retry again. \\\n * **RetryLater**: Updates installation failed and should be retried later. \\\n * **NoUpdatesPending**: No updates are pending. \\\n * **Cancel**: Cancel the schedule and stop creating PMR for resources part of it. Applicable to Maintenance Configuration resource type only. \\\n * **Cancelled**: Send the Cancelled response to the user if request came to cancel the schedule. Applicable to Maintenance Configuration resource type only.\n */\nexport type UpdateStatus = string;\n\n/** Known values of {@link ImpactType} that the service accepts. */\nexport enum KnownImpactType {\n /** Pending updates has no impact on resource. */\n None = \"None\",\n /** Pending updates can freeze network or disk io operation on resource. */\n Freeze = \"Freeze\",\n /** Pending updates can cause resource to restart. */\n Restart = \"Restart\",\n /** Pending updates can redeploy resource. */\n Redeploy = \"Redeploy\",\n}\n\n/**\n * Defines values for ImpactType. \\\n * {@link KnownImpactType} can be used interchangeably with ImpactType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **None**: Pending updates has no impact on resource. \\\n * **Freeze**: Pending updates can freeze network or disk io operation on resource. \\\n * **Restart**: Pending updates can cause resource to restart. \\\n * **Redeploy**: Pending updates can redeploy resource.\n */\nexport type ImpactType = string;\n/** Defines values for TagOperators. */\nexport type TagOperators = \"All\" | \"Any\";\n\n/** Optional parameters. */\nexport interface ScheduledEventAcknowledgeOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the acknowledge operation. */\nexport type ScheduledEventAcknowledgeResponse = ScheduledEventApproveResponse;\n\n/** Optional parameters. */\nexport interface PublicMaintenanceConfigurationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type PublicMaintenanceConfigurationsListResponse =\n ListMaintenanceConfigurationsResult;\n\n/** Optional parameters. */\nexport interface PublicMaintenanceConfigurationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type PublicMaintenanceConfigurationsGetResponse =\n MaintenanceConfiguration;\n\n/** Optional parameters. */\nexport interface ApplyUpdatesGetParentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParent operation. */\nexport type ApplyUpdatesGetParentResponse = ApplyUpdate;\n\n/** Optional parameters. */\nexport interface ApplyUpdatesGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ApplyUpdatesGetResponse = ApplyUpdate;\n\n/** Optional parameters. */\nexport interface ApplyUpdatesCreateOrUpdateOrCancelOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateOrCancel operation. */\nexport type ApplyUpdatesCreateOrUpdateOrCancelResponse = ApplyUpdate;\n\n/** Optional parameters. */\nexport interface ApplyUpdatesCreateOrUpdateParentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateParent operation. */\nexport type ApplyUpdatesCreateOrUpdateParentResponse = ApplyUpdate;\n\n/** Optional parameters. */\nexport interface ApplyUpdatesCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ApplyUpdatesCreateOrUpdateResponse = ApplyUpdate;\n\n/** Optional parameters. */\nexport interface ApplyUpdatesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ApplyUpdatesListResponse = ListApplyUpdate;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsGetParentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the getParent operation. */\nexport type ConfigurationAssignmentsGetParentResponse = ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsCreateOrUpdateParentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdateParent operation. */\nexport type ConfigurationAssignmentsCreateOrUpdateParentResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsDeleteParentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the deleteParent operation. */\nexport type ConfigurationAssignmentsDeleteParentResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ConfigurationAssignmentsGetResponse = ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ConfigurationAssignmentsCreateOrUpdateResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type ConfigurationAssignmentsDeleteResponse = ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsListParentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listParent operation. */\nexport type ConfigurationAssignmentsListParentResponse =\n ListConfigurationAssignmentsResult;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ConfigurationAssignmentsListResponse =\n ListConfigurationAssignmentsResult;\n\n/** Optional parameters. */\nexport interface MaintenanceConfigurationsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type MaintenanceConfigurationsGetResponse = MaintenanceConfiguration;\n\n/** Optional parameters. */\nexport interface MaintenanceConfigurationsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type MaintenanceConfigurationsCreateOrUpdateResponse =\n MaintenanceConfiguration;\n\n/** Optional parameters. */\nexport interface MaintenanceConfigurationsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type MaintenanceConfigurationsDeleteResponse = MaintenanceConfiguration;\n\n/** Optional parameters. */\nexport interface MaintenanceConfigurationsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type MaintenanceConfigurationsUpdateResponse = MaintenanceConfiguration;\n\n/** Optional parameters. */\nexport interface MaintenanceConfigurationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type MaintenanceConfigurationsListResponse =\n ListMaintenanceConfigurationsResult;\n\n/** Optional parameters. */\nexport interface MaintenanceConfigurationsForResourceGroupListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type MaintenanceConfigurationsForResourceGroupListResponse =\n ListMaintenanceConfigurationsResult;\n\n/** Optional parameters. */\nexport interface ApplyUpdateForResourceGroupListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ApplyUpdateForResourceGroupListResponse = ListApplyUpdate;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsWithinSubscriptionListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type ConfigurationAssignmentsWithinSubscriptionListResponse =\n ListConfigurationAssignmentsResult;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForSubscriptionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ConfigurationAssignmentsForSubscriptionsGetResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForSubscriptionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ConfigurationAssignmentsForSubscriptionsCreateOrUpdateResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForSubscriptionsUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ConfigurationAssignmentsForSubscriptionsUpdateResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForSubscriptionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type ConfigurationAssignmentsForSubscriptionsDeleteResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForResourceGroupGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type ConfigurationAssignmentsForResourceGroupGetResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForResourceGroupCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type ConfigurationAssignmentsForResourceGroupCreateOrUpdateResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForResourceGroupUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the update operation. */\nexport type ConfigurationAssignmentsForResourceGroupUpdateResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface ConfigurationAssignmentsForResourceGroupDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the delete operation. */\nexport type ConfigurationAssignmentsForResourceGroupDeleteResponse =\n ConfigurationAssignment;\n\n/** Optional parameters. */\nexport interface OperationsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type OperationsListResponse = OperationsListResult;\n\n/** Optional parameters. */\nexport interface UpdatesListParentOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listParent operation. */\nexport type UpdatesListParentResponse = ListUpdatesResult;\n\n/** Optional parameters. */\nexport interface UpdatesListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type UpdatesListResponse = ListUpdatesResult;\n\n/** Optional parameters. */\nexport interface MaintenanceManagementClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n"]}
|
|
@@ -554,120 +554,145 @@ export const MaintenanceConfiguration = {
|
|
|
554
554
|
type: {
|
|
555
555
|
name: "Composite",
|
|
556
556
|
className: "MaintenanceConfiguration",
|
|
557
|
-
modelProperties:
|
|
557
|
+
modelProperties: {
|
|
558
|
+
...Resource.type.modelProperties,
|
|
559
|
+
location: {
|
|
558
560
|
serializedName: "location",
|
|
559
561
|
type: {
|
|
560
562
|
name: "String",
|
|
561
563
|
},
|
|
562
|
-
},
|
|
564
|
+
},
|
|
565
|
+
tags: {
|
|
563
566
|
serializedName: "tags",
|
|
564
567
|
type: {
|
|
565
568
|
name: "Dictionary",
|
|
566
569
|
value: { type: { name: "String" } },
|
|
567
570
|
},
|
|
568
|
-
},
|
|
571
|
+
},
|
|
572
|
+
namespace: {
|
|
569
573
|
serializedName: "properties.namespace",
|
|
570
574
|
type: {
|
|
571
575
|
name: "String",
|
|
572
576
|
},
|
|
573
|
-
},
|
|
577
|
+
},
|
|
578
|
+
extensionProperties: {
|
|
574
579
|
serializedName: "properties.extensionProperties",
|
|
575
580
|
type: {
|
|
576
581
|
name: "Dictionary",
|
|
577
582
|
value: { type: { name: "String" } },
|
|
578
583
|
},
|
|
579
|
-
},
|
|
584
|
+
},
|
|
585
|
+
maintenanceScope: {
|
|
580
586
|
serializedName: "properties.maintenanceScope",
|
|
581
587
|
type: {
|
|
582
588
|
name: "String",
|
|
583
589
|
},
|
|
584
|
-
},
|
|
590
|
+
},
|
|
591
|
+
visibility: {
|
|
585
592
|
serializedName: "properties.visibility",
|
|
586
593
|
type: {
|
|
587
594
|
name: "String",
|
|
588
595
|
},
|
|
589
|
-
},
|
|
596
|
+
},
|
|
597
|
+
installPatches: {
|
|
590
598
|
serializedName: "properties.installPatches",
|
|
591
599
|
type: {
|
|
592
600
|
name: "Composite",
|
|
593
601
|
className: "InputPatchConfiguration",
|
|
594
602
|
},
|
|
595
|
-
},
|
|
603
|
+
},
|
|
604
|
+
startDateTime: {
|
|
596
605
|
serializedName: "properties.maintenanceWindow.startDateTime",
|
|
597
606
|
type: {
|
|
598
607
|
name: "String",
|
|
599
608
|
},
|
|
600
|
-
},
|
|
609
|
+
},
|
|
610
|
+
expirationDateTime: {
|
|
601
611
|
serializedName: "properties.maintenanceWindow.expirationDateTime",
|
|
602
612
|
type: {
|
|
603
613
|
name: "String",
|
|
604
614
|
},
|
|
605
|
-
},
|
|
615
|
+
},
|
|
616
|
+
duration: {
|
|
606
617
|
serializedName: "properties.maintenanceWindow.duration",
|
|
607
618
|
type: {
|
|
608
619
|
name: "String",
|
|
609
620
|
},
|
|
610
|
-
},
|
|
621
|
+
},
|
|
622
|
+
timeZone: {
|
|
611
623
|
serializedName: "properties.maintenanceWindow.timeZone",
|
|
612
624
|
type: {
|
|
613
625
|
name: "String",
|
|
614
626
|
},
|
|
615
|
-
},
|
|
627
|
+
},
|
|
628
|
+
recurEvery: {
|
|
616
629
|
serializedName: "properties.maintenanceWindow.recurEvery",
|
|
617
630
|
type: {
|
|
618
631
|
name: "String",
|
|
619
632
|
},
|
|
620
|
-
}
|
|
633
|
+
},
|
|
634
|
+
},
|
|
621
635
|
},
|
|
622
636
|
};
|
|
623
637
|
export const ApplyUpdate = {
|
|
624
638
|
type: {
|
|
625
639
|
name: "Composite",
|
|
626
640
|
className: "ApplyUpdate",
|
|
627
|
-
modelProperties:
|
|
641
|
+
modelProperties: {
|
|
642
|
+
...Resource.type.modelProperties,
|
|
643
|
+
status: {
|
|
628
644
|
serializedName: "properties.status",
|
|
629
645
|
type: {
|
|
630
646
|
name: "String",
|
|
631
647
|
},
|
|
632
|
-
},
|
|
648
|
+
},
|
|
649
|
+
resourceId: {
|
|
633
650
|
serializedName: "properties.resourceId",
|
|
634
651
|
type: {
|
|
635
652
|
name: "String",
|
|
636
653
|
},
|
|
637
|
-
},
|
|
654
|
+
},
|
|
655
|
+
lastUpdateTime: {
|
|
638
656
|
serializedName: "properties.lastUpdateTime",
|
|
639
657
|
type: {
|
|
640
658
|
name: "DateTime",
|
|
641
659
|
},
|
|
642
|
-
}
|
|
660
|
+
},
|
|
661
|
+
},
|
|
643
662
|
},
|
|
644
663
|
};
|
|
645
664
|
export const ConfigurationAssignment = {
|
|
646
665
|
type: {
|
|
647
666
|
name: "Composite",
|
|
648
667
|
className: "ConfigurationAssignment",
|
|
649
|
-
modelProperties:
|
|
668
|
+
modelProperties: {
|
|
669
|
+
...Resource.type.modelProperties,
|
|
670
|
+
location: {
|
|
650
671
|
serializedName: "location",
|
|
651
672
|
type: {
|
|
652
673
|
name: "String",
|
|
653
674
|
},
|
|
654
|
-
},
|
|
675
|
+
},
|
|
676
|
+
maintenanceConfigurationId: {
|
|
655
677
|
serializedName: "properties.maintenanceConfigurationId",
|
|
656
678
|
type: {
|
|
657
679
|
name: "String",
|
|
658
680
|
},
|
|
659
|
-
},
|
|
681
|
+
},
|
|
682
|
+
resourceId: {
|
|
660
683
|
serializedName: "properties.resourceId",
|
|
661
684
|
type: {
|
|
662
685
|
name: "String",
|
|
663
686
|
},
|
|
664
|
-
},
|
|
687
|
+
},
|
|
688
|
+
filter: {
|
|
665
689
|
serializedName: "properties.filter",
|
|
666
690
|
type: {
|
|
667
691
|
name: "Composite",
|
|
668
692
|
className: "ConfigurationAssignmentFilterProperties",
|
|
669
693
|
},
|
|
670
|
-
}
|
|
694
|
+
},
|
|
695
|
+
},
|
|
671
696
|
},
|
|
672
697
|
};
|
|
673
698
|
//# sourceMappingURL=mappers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../src/models/mappers.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,6BAA6B,GAA+B;IACvE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,+BAA+B;QAC1C,eAAe,EAAE;YACf,KAAK,EAAE;gBACL,cAAc,EAAE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C,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,cAAc,EAAE;gBACd,cAAc,EAAE,2BAA2B;gBAC3C,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;SACF;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,GAAG,QAAQ,CAAC,IAAI,CAAC,eAAe;YAChC,QAAQ,EAAE;gBACR,cAAc,EAAE,UAAU;gBAC1B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,0BAA0B,EAAE;gBAC1B,cAAc,EAAE,uCAAuC;gBACvD,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,uBAAuB;gBACvC,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,MAAM,EAAE;gBACN,cAAc,EAAE,mBAAmB;gBACnC,IAAI,EAAE;oBACJ,IAAI,EAAE,WAAW;oBACjB,SAAS,EAAE,yCAAyC;iBACrD;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const ScheduledEventApproveResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ScheduledEventApproveResponse\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n },\n },\n },\n },\n};\n\nexport const ErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorDetails\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n type: {\n name: \"String\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListMaintenanceConfigurationsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListMaintenanceConfigurationsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const InputPatchConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n modelProperties: {\n rebootSetting: {\n defaultValue: \"IfRequired\",\n serializedName: \"rebootSetting\",\n type: {\n name: \"String\",\n },\n },\n windowsParameters: {\n serializedName: \"windowsParameters\",\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n },\n },\n linuxParameters: {\n serializedName: \"linuxParameters\",\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n },\n },\n },\n },\n};\n\nexport const InputWindowsParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputWindowsParameters\",\n modelProperties: {\n kbNumbersToExclude: {\n serializedName: \"kbNumbersToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n kbNumbersToInclude: {\n serializedName: \"kbNumbersToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n excludeKbsRequiringReboot: {\n serializedName: \"excludeKbsRequiringReboot\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const InputLinuxParameters: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"InputLinuxParameters\",\n modelProperties: {\n packageNameMasksToExclude: {\n serializedName: \"packageNameMasksToExclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n packageNameMasksToInclude: {\n serializedName: \"packageNameMasksToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n classificationsToInclude: {\n serializedName: \"classificationsToInclude\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Resource: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Resource\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\",\n },\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n },\n },\n },\n },\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\",\n },\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\",\n },\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\",\n },\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\",\n },\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignmentFilterProperties: coreClient.CompositeMapper =\n {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n modelProperties: {\n resourceTypes: {\n serializedName: \"resourceTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n resourceGroups: {\n serializedName: \"resourceGroups\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n osTypes: {\n serializedName: \"osTypes\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n locations: {\n serializedName: \"locations\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"String\",\n },\n },\n },\n },\n tagSettings: {\n serializedName: \"tagSettings\",\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n },\n },\n },\n },\n };\n\nexport const TagSettingsProperties: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TagSettingsProperties\",\n modelProperties: {\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Sequence\", element: { type: { name: \"String\" } } },\n },\n },\n },\n filterOperator: {\n serializedName: \"filterOperator\",\n type: {\n name: \"Enum\",\n allowedValues: [\"All\", \"Any\"],\n },\n },\n },\n },\n};\n\nexport const ListConfigurationAssignmentsResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListConfigurationAssignmentsResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const ListApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListApplyUpdate\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const OperationsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Operation: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Operation\",\n modelProperties: {\n name: {\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n display: {\n serializedName: \"display\",\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n },\n },\n origin: {\n serializedName: \"origin\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } },\n },\n },\n isDataAction: {\n serializedName: \"isDataAction\",\n type: {\n name: \"Boolean\",\n },\n },\n },\n },\n};\n\nexport const OperationInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"OperationInfo\",\n modelProperties: {\n provider: {\n serializedName: \"provider\",\n type: {\n name: \"String\",\n },\n },\n resource: {\n serializedName: \"resource\",\n type: {\n name: \"String\",\n },\n },\n operation: {\n serializedName: \"operation\",\n type: {\n name: \"String\",\n },\n },\n description: {\n serializedName: \"description\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ListUpdatesResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ListUpdatesResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"Update\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const Update: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"Update\",\n modelProperties: {\n maintenanceScope: {\n serializedName: \"maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n impactType: {\n serializedName: \"impactType\",\n type: {\n name: \"String\",\n },\n },\n status: {\n serializedName: \"status\",\n type: {\n name: \"String\",\n },\n },\n impactDurationInSec: {\n serializedName: \"impactDurationInSec\",\n type: {\n name: \"Number\",\n },\n },\n notBefore: {\n serializedName: \"notBefore\",\n type: {\n name: \"DateTime\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MaintenanceConfiguration: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MaintenanceConfiguration\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n namespace: {\n serializedName: \"properties.namespace\",\n type: {\n name: \"String\",\n },\n },\n extensionProperties: {\n serializedName: \"properties.extensionProperties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n maintenanceScope: {\n serializedName: \"properties.maintenanceScope\",\n type: {\n name: \"String\",\n },\n },\n visibility: {\n serializedName: \"properties.visibility\",\n type: {\n name: \"String\",\n },\n },\n installPatches: {\n serializedName: \"properties.installPatches\",\n type: {\n name: \"Composite\",\n className: \"InputPatchConfiguration\",\n },\n },\n startDateTime: {\n serializedName: \"properties.maintenanceWindow.startDateTime\",\n type: {\n name: \"String\",\n },\n },\n expirationDateTime: {\n serializedName: \"properties.maintenanceWindow.expirationDateTime\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"properties.maintenanceWindow.duration\",\n type: {\n name: \"String\",\n },\n },\n timeZone: {\n serializedName: \"properties.maintenanceWindow.timeZone\",\n type: {\n name: \"String\",\n },\n },\n recurEvery: {\n serializedName: \"properties.maintenanceWindow.recurEvery\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const ApplyUpdate: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ApplyUpdate\",\n modelProperties: {\n ...Resource.type.modelProperties,\n status: {\n serializedName: \"properties.status\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n lastUpdateTime: {\n serializedName: \"properties.lastUpdateTime\",\n type: {\n name: \"DateTime\",\n },\n },\n },\n },\n};\n\nexport const ConfigurationAssignment: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignment\",\n modelProperties: {\n ...Resource.type.modelProperties,\n location: {\n serializedName: \"location\",\n type: {\n name: \"String\",\n },\n },\n maintenanceConfigurationId: {\n serializedName: \"properties.maintenanceConfigurationId\",\n type: {\n name: \"String\",\n },\n },\n resourceId: {\n serializedName: \"properties.resourceId\",\n type: {\n name: \"String\",\n },\n },\n filter: {\n serializedName: \"properties.filter\",\n type: {\n name: \"Composite\",\n className: \"ConfigurationAssignmentFilterProperties\",\n },\n },\n },\n },\n};\n"]}
|