@azure/arm-maintenance 1.0.0-beta.2 → 1.0.0-beta.4
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/LICENSE +3 -3
- package/README.md +30 -24
- package/dist/browser/api/applyUpdateForResourceGroup/index.d.ts +3 -0
- package/dist/browser/api/applyUpdateForResourceGroup/index.js +4 -0
- package/dist/browser/api/applyUpdateForResourceGroup/index.js.map +1 -0
- package/dist/browser/api/applyUpdateForResourceGroup/operations.d.ts +10 -0
- package/dist/browser/api/applyUpdateForResourceGroup/operations.js +37 -0
- package/dist/browser/api/applyUpdateForResourceGroup/operations.js.map +1 -0
- package/dist/browser/api/applyUpdateForResourceGroup/options.d.ts +5 -0
- package/dist/browser/api/applyUpdateForResourceGroup/options.js +4 -0
- package/dist/browser/api/applyUpdateForResourceGroup/options.js.map +1 -0
- package/dist/browser/api/applyUpdates/index.d.ts +3 -0
- package/dist/browser/api/applyUpdates/index.js +4 -0
- package/dist/browser/api/applyUpdates/index.js.map +1 -0
- package/dist/browser/api/applyUpdates/operations.d.ts +30 -0
- package/dist/browser/api/applyUpdates/operations.js +195 -0
- package/dist/browser/api/applyUpdates/operations.js.map +1 -0
- package/dist/browser/api/applyUpdates/options.d.ts +20 -0
- package/dist/browser/api/applyUpdates/options.js +4 -0
- package/dist/browser/api/applyUpdates/options.js.map +1 -0
- package/dist/browser/api/configurationAssignments/index.d.ts +3 -0
- package/dist/browser/api/configurationAssignments/index.js +4 -0
- package/dist/browser/api/configurationAssignments/index.js.map +1 -0
- package/dist/browser/api/configurationAssignments/operations.d.ts +38 -0
- package/dist/browser/api/configurationAssignments/operations.js +271 -0
- package/dist/browser/api/configurationAssignments/operations.js.map +1 -0
- package/dist/browser/api/configurationAssignments/options.d.ts +26 -0
- package/dist/browser/api/configurationAssignments/options.js +4 -0
- package/dist/browser/api/configurationAssignments/options.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/index.d.ts +3 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/index.js +4 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/index.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/operations.d.ts +21 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/operations.js +126 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/operations.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/options.d.ts +14 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/options.js +4 -0
- package/dist/browser/api/configurationAssignmentsForResourceGroup/options.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/index.d.ts +3 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/index.js +4 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/index.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/operations.d.ts +21 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/operations.js +122 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/operations.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/options.d.ts +14 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/options.js +4 -0
- package/dist/browser/api/configurationAssignmentsForSubscriptions/options.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/index.d.ts +3 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/index.js +4 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/index.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/operations.d.ts +10 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/operations.js +36 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/operations.js.map +1 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/options.d.ts +5 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/options.js +4 -0
- package/dist/browser/api/configurationAssignmentsWithinSubscription/options.js.map +1 -0
- package/dist/browser/api/index.d.ts +3 -0
- package/dist/browser/api/index.js +4 -0
- package/dist/browser/api/index.js.map +1 -0
- package/dist/browser/api/maintenanceConfigurations/index.d.ts +3 -0
- package/dist/browser/api/maintenanceConfigurations/index.js +4 -0
- package/dist/browser/api/maintenanceConfigurations/index.js.map +1 -0
- package/dist/browser/api/maintenanceConfigurations/operations.d.ts +26 -0
- package/dist/browser/api/maintenanceConfigurations/operations.js +152 -0
- package/dist/browser/api/maintenanceConfigurations/operations.js.map +1 -0
- package/dist/browser/api/maintenanceConfigurations/options.d.ts +17 -0
- package/dist/browser/api/maintenanceConfigurations/options.js +4 -0
- package/dist/browser/api/maintenanceConfigurations/options.js.map +1 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/index.d.ts +3 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/index.js +4 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/index.js.map +1 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/operations.d.ts +10 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/operations.js +37 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/operations.js.map +1 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/options.d.ts +5 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/options.js +4 -0
- package/dist/browser/api/maintenanceConfigurationsForResourceGroup/options.js.map +1 -0
- package/dist/browser/api/maintenanceManagementContext.d.ts +22 -0
- package/dist/browser/api/maintenanceManagementContext.js +26 -0
- package/dist/browser/api/maintenanceManagementContext.js.map +1 -0
- package/dist/browser/api/operations/index.d.ts +3 -0
- package/dist/browser/api/operations/index.js +4 -0
- package/dist/browser/api/operations/index.js.map +1 -0
- package/dist/browser/api/operations/operations.d.ts +10 -0
- package/dist/browser/api/operations/operations.js +35 -0
- package/dist/browser/api/operations/operations.js.map +1 -0
- package/dist/browser/api/operations/options.d.ts +5 -0
- package/dist/browser/api/operations/options.js +4 -0
- package/dist/browser/api/operations/options.js.map +1 -0
- package/dist/browser/api/publicMaintenanceConfigurations/index.d.ts +3 -0
- package/dist/browser/api/publicMaintenanceConfigurations/index.js +4 -0
- package/dist/browser/api/publicMaintenanceConfigurations/index.js.map +1 -0
- package/dist/browser/api/publicMaintenanceConfigurations/operations.d.ts +14 -0
- package/dist/browser/api/publicMaintenanceConfigurations/operations.js +63 -0
- package/dist/browser/api/publicMaintenanceConfigurations/operations.js.map +1 -0
- package/dist/browser/api/publicMaintenanceConfigurations/options.d.ts +8 -0
- package/dist/browser/api/publicMaintenanceConfigurations/options.js +4 -0
- package/dist/browser/api/publicMaintenanceConfigurations/options.js.map +1 -0
- package/dist/browser/api/scheduledEvent/index.d.ts +3 -0
- package/dist/browser/api/scheduledEvent/index.js +4 -0
- package/dist/browser/api/scheduledEvent/index.js.map +1 -0
- package/dist/browser/api/scheduledEvent/operations.d.ts +9 -0
- package/dist/browser/api/scheduledEvent/operations.js +36 -0
- package/dist/browser/api/scheduledEvent/operations.js.map +1 -0
- package/dist/browser/api/scheduledEvent/options.d.ts +5 -0
- package/dist/browser/api/scheduledEvent/options.js +4 -0
- package/dist/browser/api/scheduledEvent/options.js.map +1 -0
- package/dist/browser/api/updates/index.d.ts +3 -0
- package/dist/browser/api/updates/index.js +4 -0
- package/dist/browser/api/updates/index.js.map +1 -0
- package/dist/browser/api/updates/operations.d.ts +14 -0
- package/dist/browser/api/updates/operations.js +75 -0
- package/dist/browser/api/updates/operations.js.map +1 -0
- package/dist/browser/api/updates/options.d.ts +8 -0
- package/dist/browser/api/updates/options.js +4 -0
- package/dist/browser/api/updates/options.js.map +1 -0
- package/dist/browser/classic/applyUpdateForResourceGroup/index.d.ts +11 -0
- package/dist/browser/classic/applyUpdateForResourceGroup/index.js +14 -0
- package/dist/browser/classic/applyUpdateForResourceGroup/index.js.map +1 -0
- package/dist/browser/classic/applyUpdates/index.d.ts +21 -0
- package/dist/browser/classic/applyUpdates/index.js +19 -0
- package/dist/browser/classic/applyUpdates/index.js.map +1 -0
- package/dist/browser/classic/configurationAssignments/index.d.ts +25 -0
- package/dist/browser/classic/configurationAssignments/index.js +21 -0
- package/dist/browser/classic/configurationAssignments/index.js.map +1 -0
- package/dist/browser/classic/configurationAssignmentsForResourceGroup/index.d.ts +16 -0
- package/dist/browser/classic/configurationAssignmentsForResourceGroup/index.js +17 -0
- package/dist/browser/classic/configurationAssignmentsForResourceGroup/index.js.map +1 -0
- package/dist/browser/classic/configurationAssignmentsForSubscriptions/index.d.ts +16 -0
- package/dist/browser/classic/configurationAssignmentsForSubscriptions/index.js +17 -0
- package/dist/browser/classic/configurationAssignmentsForSubscriptions/index.js.map +1 -0
- package/dist/browser/classic/configurationAssignmentsWithinSubscription/index.d.ts +11 -0
- package/dist/browser/classic/configurationAssignmentsWithinSubscription/index.js +14 -0
- package/dist/browser/classic/configurationAssignmentsWithinSubscription/index.js.map +1 -0
- package/dist/browser/classic/index.d.ts +13 -0
- package/dist/browser/classic/index.js +4 -0
- package/dist/browser/classic/index.js.map +1 -0
- package/dist/browser/classic/maintenanceConfigurations/index.d.ts +19 -0
- package/dist/browser/classic/maintenanceConfigurations/index.js +18 -0
- package/dist/browser/classic/maintenanceConfigurations/index.js.map +1 -0
- package/dist/browser/classic/maintenanceConfigurationsForResourceGroup/index.d.ts +11 -0
- package/dist/browser/classic/maintenanceConfigurationsForResourceGroup/index.js +14 -0
- package/dist/browser/classic/maintenanceConfigurationsForResourceGroup/index.js.map +1 -0
- package/dist/browser/classic/operations/index.d.ts +11 -0
- package/dist/browser/classic/operations/index.js +14 -0
- package/dist/browser/classic/operations/index.js.map +1 -0
- package/dist/browser/classic/publicMaintenanceConfigurations/index.d.ts +13 -0
- package/dist/browser/classic/publicMaintenanceConfigurations/index.js +15 -0
- package/dist/browser/classic/publicMaintenanceConfigurations/index.js.map +1 -0
- package/dist/browser/classic/scheduledEvent/index.d.ts +10 -0
- package/dist/browser/classic/scheduledEvent/index.js +14 -0
- package/dist/browser/classic/scheduledEvent/index.js.map +1 -0
- package/dist/browser/classic/updates/index.d.ts +13 -0
- package/dist/browser/classic/updates/index.js +15 -0
- package/dist/browser/classic/updates/index.js.map +1 -0
- package/dist/browser/index.d.ts +24 -0
- package/dist/browser/index.js +8 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/maintenanceManagementClient.d.ts +48 -0
- package/dist/browser/maintenanceManagementClient.js +81 -0
- package/dist/browser/maintenanceManagementClient.js.map +1 -0
- package/dist/browser/models/index.d.ts +3 -0
- package/dist/browser/models/index.js +4 -0
- package/dist/browser/models/index.js.map +1 -0
- package/dist/browser/models/models.d.ts +536 -0
- package/dist/browser/models/models.js +690 -0
- package/dist/browser/models/models.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/browser/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/browser/static-helpers/pagingHelpers.js +143 -0
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/browser/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/browser/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/browser/static-helpers/urlTemplate.js +200 -0
- package/dist/browser/static-helpers/urlTemplate.js.map +1 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/index.d.ts +3 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/index.js +28 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/index.js.map +7 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/operations.d.ts +10 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/operations.js +74 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/operations.js.map +7 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/options.d.ts +5 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/options.js +16 -0
- package/dist/commonjs/api/applyUpdateForResourceGroup/options.js.map +7 -0
- package/dist/commonjs/api/applyUpdates/index.d.ts +3 -0
- package/dist/commonjs/api/applyUpdates/index.js +38 -0
- package/dist/commonjs/api/applyUpdates/index.js.map +7 -0
- package/dist/commonjs/api/applyUpdates/operations.d.ts +30 -0
- package/dist/commonjs/api/applyUpdates/operations.js +320 -0
- package/dist/commonjs/api/applyUpdates/operations.js.map +7 -0
- package/dist/commonjs/api/applyUpdates/options.d.ts +20 -0
- package/dist/commonjs/api/applyUpdates/options.js +16 -0
- package/dist/commonjs/api/applyUpdates/options.js.map +7 -0
- package/dist/commonjs/api/configurationAssignments/index.d.ts +3 -0
- package/dist/commonjs/api/configurationAssignments/index.js +42 -0
- package/dist/commonjs/api/configurationAssignments/index.js.map +7 -0
- package/dist/commonjs/api/configurationAssignments/operations.d.ts +38 -0
- package/dist/commonjs/api/configurationAssignments/operations.js +442 -0
- package/dist/commonjs/api/configurationAssignments/operations.js.map +7 -0
- package/dist/commonjs/api/configurationAssignments/options.d.ts +26 -0
- package/dist/commonjs/api/configurationAssignments/options.js +16 -0
- package/dist/commonjs/api/configurationAssignments/options.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/index.d.ts +3 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/index.js +34 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/index.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/operations.d.ts +21 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/operations.js +201 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/operations.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/options.d.ts +14 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/options.js +16 -0
- package/dist/commonjs/api/configurationAssignmentsForResourceGroup/options.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/index.d.ts +3 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/index.js +34 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/index.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/operations.d.ts +21 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/operations.js +190 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/operations.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/options.d.ts +14 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/options.js +16 -0
- package/dist/commonjs/api/configurationAssignmentsForSubscriptions/options.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/index.d.ts +3 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/index.js +28 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/index.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/operations.d.ts +10 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/operations.js +73 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/operations.js.map +7 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/options.d.ts +5 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/options.js +16 -0
- package/dist/commonjs/api/configurationAssignmentsWithinSubscription/options.js.map +7 -0
- package/dist/commonjs/api/index.d.ts +3 -0
- package/dist/commonjs/api/index.js +28 -0
- package/dist/commonjs/api/index.js.map +7 -0
- package/dist/commonjs/api/maintenanceConfigurations/index.d.ts +3 -0
- package/dist/commonjs/api/maintenanceConfigurations/index.js +36 -0
- package/dist/commonjs/api/maintenanceConfigurations/index.js.map +7 -0
- package/dist/commonjs/api/maintenanceConfigurations/operations.d.ts +26 -0
- package/dist/commonjs/api/maintenanceConfigurations/operations.js +237 -0
- package/dist/commonjs/api/maintenanceConfigurations/operations.js.map +7 -0
- package/dist/commonjs/api/maintenanceConfigurations/options.d.ts +17 -0
- package/dist/commonjs/api/maintenanceConfigurations/options.js +16 -0
- package/dist/commonjs/api/maintenanceConfigurations/options.js.map +7 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/index.d.ts +3 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/index.js +28 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/index.js.map +7 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/operations.d.ts +10 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/operations.js +74 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/operations.js.map +7 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/options.d.ts +5 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/options.js +16 -0
- package/dist/commonjs/api/maintenanceConfigurationsForResourceGroup/options.js.map +7 -0
- package/dist/commonjs/api/maintenanceManagementContext.d.ts +22 -0
- package/dist/commonjs/api/maintenanceManagementContext.js +47 -0
- package/dist/commonjs/api/maintenanceManagementContext.js.map +7 -0
- package/dist/commonjs/api/operations/index.d.ts +3 -0
- package/dist/commonjs/api/operations/index.js +28 -0
- package/dist/commonjs/api/operations/index.js.map +7 -0
- package/dist/commonjs/api/operations/operations.d.ts +10 -0
- package/dist/commonjs/api/operations/operations.js +72 -0
- package/dist/commonjs/api/operations/operations.js.map +7 -0
- package/dist/commonjs/api/operations/options.d.ts +5 -0
- package/dist/commonjs/api/operations/options.js +16 -0
- package/dist/commonjs/api/operations/options.js.map +7 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/index.d.ts +3 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/index.js +30 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/index.js.map +7 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/operations.d.ts +14 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/operations.js +109 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/operations.js.map +7 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/options.d.ts +8 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/options.js +16 -0
- package/dist/commonjs/api/publicMaintenanceConfigurations/options.js.map +7 -0
- package/dist/commonjs/api/scheduledEvent/index.d.ts +3 -0
- package/dist/commonjs/api/scheduledEvent/index.js +28 -0
- package/dist/commonjs/api/scheduledEvent/index.js.map +7 -0
- package/dist/commonjs/api/scheduledEvent/operations.d.ts +9 -0
- package/dist/commonjs/api/scheduledEvent/operations.js +74 -0
- package/dist/commonjs/api/scheduledEvent/operations.js.map +7 -0
- package/dist/commonjs/api/scheduledEvent/options.d.ts +5 -0
- package/dist/commonjs/api/scheduledEvent/options.js +16 -0
- package/dist/commonjs/api/scheduledEvent/options.js.map +7 -0
- package/dist/commonjs/api/updates/index.d.ts +3 -0
- package/dist/commonjs/api/updates/index.js +30 -0
- package/dist/commonjs/api/updates/index.js.map +7 -0
- package/dist/commonjs/api/updates/operations.d.ts +14 -0
- package/dist/commonjs/api/updates/operations.js +136 -0
- package/dist/commonjs/api/updates/operations.js.map +7 -0
- package/dist/commonjs/api/updates/options.d.ts +8 -0
- package/dist/commonjs/api/updates/options.js +16 -0
- package/dist/commonjs/api/updates/options.js.map +7 -0
- package/dist/commonjs/classic/applyUpdateForResourceGroup/index.d.ts +11 -0
- package/dist/commonjs/classic/applyUpdateForResourceGroup/index.js +38 -0
- package/dist/commonjs/classic/applyUpdateForResourceGroup/index.js.map +7 -0
- package/dist/commonjs/classic/applyUpdates/index.d.ts +21 -0
- package/dist/commonjs/classic/applyUpdates/index.js +79 -0
- package/dist/commonjs/classic/applyUpdates/index.js.map +7 -0
- package/dist/commonjs/classic/configurationAssignments/index.d.ts +25 -0
- package/dist/commonjs/classic/configurationAssignments/index.js +110 -0
- package/dist/commonjs/classic/configurationAssignments/index.js.map +7 -0
- package/dist/commonjs/classic/configurationAssignmentsForResourceGroup/index.d.ts +16 -0
- package/dist/commonjs/classic/configurationAssignmentsForResourceGroup/index.js +53 -0
- package/dist/commonjs/classic/configurationAssignmentsForResourceGroup/index.js.map +7 -0
- package/dist/commonjs/classic/configurationAssignmentsForSubscriptions/index.d.ts +16 -0
- package/dist/commonjs/classic/configurationAssignmentsForSubscriptions/index.js +41 -0
- package/dist/commonjs/classic/configurationAssignmentsForSubscriptions/index.js.map +7 -0
- package/dist/commonjs/classic/configurationAssignmentsWithinSubscription/index.d.ts +11 -0
- package/dist/commonjs/classic/configurationAssignmentsWithinSubscription/index.js +38 -0
- package/dist/commonjs/classic/configurationAssignmentsWithinSubscription/index.js.map +7 -0
- package/dist/commonjs/classic/index.d.ts +13 -0
- package/dist/commonjs/classic/index.js +16 -0
- package/dist/commonjs/classic/index.js.map +7 -0
- package/dist/commonjs/classic/maintenanceConfigurations/index.d.ts +19 -0
- package/dist/commonjs/classic/maintenanceConfigurations/index.js +42 -0
- package/dist/commonjs/classic/maintenanceConfigurations/index.js.map +7 -0
- package/dist/commonjs/classic/maintenanceConfigurationsForResourceGroup/index.d.ts +11 -0
- package/dist/commonjs/classic/maintenanceConfigurationsForResourceGroup/index.js +38 -0
- package/dist/commonjs/classic/maintenanceConfigurationsForResourceGroup/index.js.map +7 -0
- package/dist/commonjs/classic/operations/index.d.ts +11 -0
- package/dist/commonjs/classic/operations/index.js +38 -0
- package/dist/commonjs/classic/operations/index.js.map +7 -0
- package/dist/commonjs/classic/publicMaintenanceConfigurations/index.d.ts +13 -0
- package/dist/commonjs/classic/publicMaintenanceConfigurations/index.js +39 -0
- package/dist/commonjs/classic/publicMaintenanceConfigurations/index.js.map +7 -0
- package/dist/commonjs/classic/scheduledEvent/index.d.ts +10 -0
- package/dist/commonjs/classic/scheduledEvent/index.js +45 -0
- package/dist/commonjs/classic/scheduledEvent/index.js.map +7 -0
- package/dist/commonjs/classic/updates/index.d.ts +13 -0
- package/dist/commonjs/classic/updates/index.js +48 -0
- package/dist/commonjs/classic/updates/index.js.map +7 -0
- package/dist/commonjs/index.d.ts +24 -0
- package/dist/commonjs/index.js +55 -0
- package/dist/commonjs/index.js.map +7 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.js +29 -0
- package/dist/commonjs/logger.js.map +7 -0
- package/dist/commonjs/maintenanceManagementClient.d.ts +48 -0
- package/dist/commonjs/maintenanceManagementClient.js +100 -0
- package/dist/commonjs/maintenanceManagementClient.js.map +7 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.js +44 -0
- package/dist/commonjs/models/index.js.map +7 -0
- package/dist/commonjs/models/models.d.ts +536 -0
- package/dist/commonjs/models/models.js +692 -0
- package/dist/commonjs/models/models.js.map +7 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js +52 -0
- package/dist/commonjs/static-helpers/cloudSettingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js +143 -0
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +7 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js +35 -0
- package/dist/commonjs/static-helpers/serialization/check-prop-undefined.js.map +7 -0
- package/dist/commonjs/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/commonjs/static-helpers/urlTemplate.js +197 -0
- package/dist/commonjs/static-helpers/urlTemplate.js.map +7 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/api/applyUpdateForResourceGroup/index.d.ts +3 -0
- package/dist/esm/api/applyUpdateForResourceGroup/index.js +4 -0
- package/dist/esm/api/applyUpdateForResourceGroup/index.js.map +1 -0
- package/dist/esm/api/applyUpdateForResourceGroup/operations.d.ts +10 -0
- package/dist/esm/api/applyUpdateForResourceGroup/operations.js +37 -0
- package/dist/esm/api/applyUpdateForResourceGroup/operations.js.map +1 -0
- package/dist/esm/api/applyUpdateForResourceGroup/options.d.ts +5 -0
- package/dist/esm/api/applyUpdateForResourceGroup/options.js +4 -0
- package/dist/esm/api/applyUpdateForResourceGroup/options.js.map +1 -0
- package/dist/esm/api/applyUpdates/index.d.ts +3 -0
- package/dist/esm/api/applyUpdates/index.js +4 -0
- package/dist/esm/api/applyUpdates/index.js.map +1 -0
- package/dist/esm/api/applyUpdates/operations.d.ts +30 -0
- package/dist/esm/api/applyUpdates/operations.js +195 -0
- package/dist/esm/api/applyUpdates/operations.js.map +1 -0
- package/dist/esm/api/applyUpdates/options.d.ts +20 -0
- package/dist/esm/api/applyUpdates/options.js +4 -0
- package/dist/esm/api/applyUpdates/options.js.map +1 -0
- package/dist/esm/api/configurationAssignments/index.d.ts +3 -0
- package/dist/esm/api/configurationAssignments/index.js +4 -0
- package/dist/esm/api/configurationAssignments/index.js.map +1 -0
- package/dist/esm/api/configurationAssignments/operations.d.ts +38 -0
- package/dist/esm/api/configurationAssignments/operations.js +271 -0
- package/dist/esm/api/configurationAssignments/operations.js.map +1 -0
- package/dist/esm/api/configurationAssignments/options.d.ts +26 -0
- package/dist/esm/api/configurationAssignments/options.js +4 -0
- package/dist/esm/api/configurationAssignments/options.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/index.d.ts +3 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/index.js +4 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/index.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/operations.d.ts +21 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/operations.js +126 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/operations.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/options.d.ts +14 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/options.js +4 -0
- package/dist/esm/api/configurationAssignmentsForResourceGroup/options.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/index.d.ts +3 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/index.js +4 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/index.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/operations.d.ts +21 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/operations.js +122 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/operations.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/options.d.ts +14 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/options.js +4 -0
- package/dist/esm/api/configurationAssignmentsForSubscriptions/options.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/index.d.ts +3 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/index.js +4 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/index.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/operations.d.ts +10 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/operations.js +36 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/operations.js.map +1 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/options.d.ts +5 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/options.js +4 -0
- package/dist/esm/api/configurationAssignmentsWithinSubscription/options.js.map +1 -0
- package/dist/esm/api/index.d.ts +3 -0
- package/dist/esm/api/index.js +4 -0
- package/dist/esm/api/index.js.map +1 -0
- package/dist/esm/api/maintenanceConfigurations/index.d.ts +3 -0
- package/dist/esm/api/maintenanceConfigurations/index.js +4 -0
- package/dist/esm/api/maintenanceConfigurations/index.js.map +1 -0
- package/dist/esm/api/maintenanceConfigurations/operations.d.ts +26 -0
- package/dist/esm/api/maintenanceConfigurations/operations.js +152 -0
- package/dist/esm/api/maintenanceConfigurations/operations.js.map +1 -0
- package/dist/esm/api/maintenanceConfigurations/options.d.ts +17 -0
- package/dist/esm/api/maintenanceConfigurations/options.js +4 -0
- package/dist/esm/api/maintenanceConfigurations/options.js.map +1 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/index.d.ts +3 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/index.js +4 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/index.js.map +1 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/operations.d.ts +10 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/operations.js +37 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/operations.js.map +1 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/options.d.ts +5 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/options.js +4 -0
- package/dist/esm/api/maintenanceConfigurationsForResourceGroup/options.js.map +1 -0
- package/dist/esm/api/maintenanceManagementContext.d.ts +22 -0
- package/dist/esm/api/maintenanceManagementContext.js +26 -0
- package/dist/esm/api/maintenanceManagementContext.js.map +1 -0
- package/dist/esm/api/operations/index.d.ts +3 -0
- package/dist/esm/api/operations/index.js +4 -0
- package/dist/esm/api/operations/index.js.map +1 -0
- package/dist/esm/api/operations/operations.d.ts +10 -0
- package/dist/esm/api/operations/operations.js +35 -0
- package/dist/esm/api/operations/operations.js.map +1 -0
- package/dist/esm/api/operations/options.d.ts +5 -0
- package/dist/esm/api/operations/options.js +4 -0
- package/dist/esm/api/operations/options.js.map +1 -0
- package/dist/esm/api/publicMaintenanceConfigurations/index.d.ts +3 -0
- package/dist/esm/api/publicMaintenanceConfigurations/index.js +4 -0
- package/dist/esm/api/publicMaintenanceConfigurations/index.js.map +1 -0
- package/dist/esm/api/publicMaintenanceConfigurations/operations.d.ts +14 -0
- package/dist/esm/api/publicMaintenanceConfigurations/operations.js +63 -0
- package/dist/esm/api/publicMaintenanceConfigurations/operations.js.map +1 -0
- package/dist/esm/api/publicMaintenanceConfigurations/options.d.ts +8 -0
- package/dist/esm/api/publicMaintenanceConfigurations/options.js +4 -0
- package/dist/esm/api/publicMaintenanceConfigurations/options.js.map +1 -0
- package/dist/esm/api/scheduledEvent/index.d.ts +3 -0
- package/dist/esm/api/scheduledEvent/index.js +4 -0
- package/dist/esm/api/scheduledEvent/index.js.map +1 -0
- package/dist/esm/api/scheduledEvent/operations.d.ts +9 -0
- package/dist/esm/api/scheduledEvent/operations.js +36 -0
- package/dist/esm/api/scheduledEvent/operations.js.map +1 -0
- package/dist/esm/api/scheduledEvent/options.d.ts +5 -0
- package/dist/esm/api/scheduledEvent/options.js +4 -0
- package/dist/esm/api/scheduledEvent/options.js.map +1 -0
- package/dist/esm/api/updates/index.d.ts +3 -0
- package/dist/esm/api/updates/index.js +4 -0
- package/dist/esm/api/updates/index.js.map +1 -0
- package/dist/esm/api/updates/operations.d.ts +14 -0
- package/dist/esm/api/updates/operations.js +75 -0
- package/dist/esm/api/updates/operations.js.map +1 -0
- package/dist/esm/api/updates/options.d.ts +8 -0
- package/dist/esm/api/updates/options.js +4 -0
- package/dist/esm/api/updates/options.js.map +1 -0
- package/dist/esm/classic/applyUpdateForResourceGroup/index.d.ts +11 -0
- package/dist/esm/classic/applyUpdateForResourceGroup/index.js +14 -0
- package/dist/esm/classic/applyUpdateForResourceGroup/index.js.map +1 -0
- package/dist/esm/classic/applyUpdates/index.d.ts +21 -0
- package/dist/esm/classic/applyUpdates/index.js +19 -0
- package/dist/esm/classic/applyUpdates/index.js.map +1 -0
- package/dist/esm/classic/configurationAssignments/index.d.ts +25 -0
- package/dist/esm/classic/configurationAssignments/index.js +21 -0
- package/dist/esm/classic/configurationAssignments/index.js.map +1 -0
- package/dist/esm/classic/configurationAssignmentsForResourceGroup/index.d.ts +16 -0
- package/dist/esm/classic/configurationAssignmentsForResourceGroup/index.js +17 -0
- package/dist/esm/classic/configurationAssignmentsForResourceGroup/index.js.map +1 -0
- package/dist/esm/classic/configurationAssignmentsForSubscriptions/index.d.ts +16 -0
- package/dist/esm/classic/configurationAssignmentsForSubscriptions/index.js +17 -0
- package/dist/esm/classic/configurationAssignmentsForSubscriptions/index.js.map +1 -0
- package/dist/esm/classic/configurationAssignmentsWithinSubscription/index.d.ts +11 -0
- package/dist/esm/classic/configurationAssignmentsWithinSubscription/index.js +14 -0
- package/dist/esm/classic/configurationAssignmentsWithinSubscription/index.js.map +1 -0
- package/dist/esm/classic/index.d.ts +13 -0
- package/dist/esm/classic/index.js +4 -0
- package/dist/esm/classic/index.js.map +1 -0
- package/dist/esm/classic/maintenanceConfigurations/index.d.ts +19 -0
- package/dist/esm/classic/maintenanceConfigurations/index.js +18 -0
- package/dist/esm/classic/maintenanceConfigurations/index.js.map +1 -0
- package/dist/esm/classic/maintenanceConfigurationsForResourceGroup/index.d.ts +11 -0
- package/dist/esm/classic/maintenanceConfigurationsForResourceGroup/index.js +14 -0
- package/dist/esm/classic/maintenanceConfigurationsForResourceGroup/index.js.map +1 -0
- package/dist/esm/classic/operations/index.d.ts +11 -0
- package/dist/esm/classic/operations/index.js +14 -0
- package/dist/esm/classic/operations/index.js.map +1 -0
- package/dist/esm/classic/publicMaintenanceConfigurations/index.d.ts +13 -0
- package/dist/esm/classic/publicMaintenanceConfigurations/index.js +15 -0
- package/dist/esm/classic/publicMaintenanceConfigurations/index.js.map +1 -0
- package/dist/esm/classic/scheduledEvent/index.d.ts +10 -0
- package/dist/esm/classic/scheduledEvent/index.js +14 -0
- package/dist/esm/classic/scheduledEvent/index.js.map +1 -0
- package/dist/esm/classic/updates/index.d.ts +13 -0
- package/dist/esm/classic/updates/index.js +15 -0
- package/dist/esm/classic/updates/index.js.map +1 -0
- package/dist/esm/index.d.ts +24 -0
- package/dist/esm/index.js +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/maintenanceManagementClient.d.ts +48 -0
- package/dist/esm/maintenanceManagementClient.js +81 -0
- package/dist/esm/maintenanceManagementClient.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/models.d.ts +536 -0
- package/dist/esm/models/models.js +690 -0
- package/dist/esm/models/models.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.d.ts +22 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js +38 -0
- package/dist/esm/static-helpers/cloudSettingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/pagingHelpers.d.ts +74 -0
- package/dist/esm/static-helpers/pagingHelpers.js +143 -0
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.d.ts +8 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js +17 -0
- package/dist/esm/static-helpers/serialization/check-prop-undefined.js.map +1 -0
- package/dist/esm/static-helpers/urlTemplate.d.ts +5 -0
- package/dist/esm/static-helpers/urlTemplate.js +200 -0
- package/dist/esm/static-helpers/urlTemplate.js.map +1 -0
- package/package.json +290 -84
- package/CHANGELOG.md +0 -21
- 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 +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/maintenanceManagementClient.d.ts +0 -31
- package/dist-esm/src/maintenanceManagementClient.d.ts.map +0 -1
- package/dist-esm/src/maintenanceManagementClient.js +0 -116
- package/dist-esm/src/maintenanceManagementClient.js.map +0 -1
- package/dist-esm/src/models/index.d.ts +0 -558
- package/dist-esm/src/models/index.d.ts.map +0 -1
- package/dist-esm/src/models/index.js +0 -88
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.d.ts +0 -23
- package/dist-esm/src/models/mappers.d.ts.map +0 -1
- package/dist-esm/src/models/mappers.js +0 -673
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.d.ts +0 -21
- package/dist-esm/src/models/parameters.d.ts.map +0 -1
- package/dist-esm/src/models/parameters.js +0 -192
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/applyUpdateForResourceGroup.d.ts +0 -28
- package/dist-esm/src/operations/applyUpdateForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operations/applyUpdateForResourceGroup.js +0 -102
- package/dist-esm/src/operations/applyUpdateForResourceGroup.js.map +0 -1
- package/dist-esm/src/operations/applyUpdates.d.ts +0 -79
- package/dist-esm/src/operations/applyUpdates.d.ts.map +0 -1
- package/dist-esm/src/operations/applyUpdates.js +0 -324
- package/dist-esm/src/operations/applyUpdates.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignments.d.ts +0 -126
- package/dist-esm/src/operations/configurationAssignments.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignments.js +0 -503
- package/dist-esm/src/operations/configurationAssignments.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.d.ts +0 -43
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.js +0 -163
- package/dist-esm/src/operations/configurationAssignmentsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.d.ts +0 -39
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.js +0 -145
- package/dist-esm/src/operations/configurationAssignmentsForSubscriptions.js.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.d.ts +0 -26
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.d.ts.map +0 -1
- package/dist-esm/src/operations/configurationAssignmentsWithinSubscription.js +0 -96
- 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 +0 -56
- package/dist-esm/src/operations/maintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/maintenanceConfigurations.js +0 -226
- package/dist-esm/src/operations/maintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.d.ts +0 -28
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js +0 -102
- package/dist-esm/src/operations/maintenanceConfigurationsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operations/operations.d.ts +0 -26
- package/dist-esm/src/operations/operations.d.ts.map +0 -1
- package/dist-esm/src/operations/operations.js +0 -96
- package/dist-esm/src/operations/operations.js.map +0 -1
- package/dist-esm/src/operations/publicMaintenanceConfigurations.d.ts +0 -32
- package/dist-esm/src/operations/publicMaintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js +0 -124
- package/dist-esm/src/operations/publicMaintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operations/scheduledEvent.d.ts +0 -23
- package/dist-esm/src/operations/scheduledEvent.d.ts.map +0 -1
- package/dist-esm/src/operations/scheduledEvent.js +0 -64
- package/dist-esm/src/operations/scheduledEvent.js.map +0 -1
- package/dist-esm/src/operations/updates.d.ts +0 -58
- package/dist-esm/src/operations/updates.d.ts.map +0 -1
- package/dist-esm/src/operations/updates.js +0 -211
- package/dist-esm/src/operations/updates.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.js +0 -9
- package/dist-esm/src/operationsInterfaces/applyUpdateForResourceGroup.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/applyUpdates.d.ts +0 -64
- package/dist-esm/src/operationsInterfaces/applyUpdates.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/applyUpdates.js +0 -9
- package/dist-esm/src/operationsInterfaces/applyUpdates.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignments.d.ts +0 -94
- package/dist-esm/src/operationsInterfaces/configurationAssignments.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignments.js +0 -9
- package/dist-esm/src/operationsInterfaces/configurationAssignments.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts +0 -35
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.js +0 -9
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts +0 -31
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.js +0 -9
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsForSubscriptions.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/configurationAssignmentsWithinSubscription.js +0 -9
- 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 +0 -41
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.js +0 -9
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts +0 -12
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js +0 -9
- package/dist-esm/src/operationsInterfaces/maintenanceConfigurationsForResourceGroup.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.d.ts +0 -11
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/operations.js +0 -9
- package/dist-esm/src/operationsInterfaces/operations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.d.ts +0 -17
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.js +0 -9
- package/dist-esm/src/operationsInterfaces/publicMaintenanceConfigurations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/scheduledEvent.d.ts +0 -15
- package/dist-esm/src/operationsInterfaces/scheduledEvent.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/scheduledEvent.js +0 -9
- package/dist-esm/src/operationsInterfaces/scheduledEvent.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/updates.d.ts +0 -26
- package/dist-esm/src/operationsInterfaces/updates.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/updates.js +0 -9
- package/dist-esm/src/operationsInterfaces/updates.js.map +0 -1
- package/dist-esm/src/pagingHelper.d.ts +0 -13
- package/dist-esm/src/pagingHelper.d.ts.map +0 -1
- package/dist-esm/src/pagingHelper.js +0 -32
- 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/review/arm-maintenance.api.md +0 -627
- package/src/index.ts +0 -13
- 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/types/tsdoc-metadata.json +0 -11
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/models/models.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { areAllPropsUndefined } from \"../static-helpers/serialization/check-prop-undefined.js\";\n\n/**\n * This file contains only generated model types and their (de)serializers.\n * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input.\n */\n/* eslint-disable @typescript-eslint/naming-convention */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/** Result of the List Operations operation */\nexport interface _OperationsListResult {\n /** The link used to get the next page of operations. */\n nextLink?: string;\n /** A collection of operations */\n value?: Operation[];\n}\n\nexport function _operationsListResultDeserializer(item: any): _OperationsListResult {\n return {\n nextLink: item[\"nextLink\"],\n value: !item[\"value\"] ? item[\"value\"] : operationArrayDeserializer(item[\"value\"]),\n };\n}\n\nexport function operationArrayDeserializer(result: Array<Operation>): any[] {\n return result.map((item) => {\n return operationDeserializer(item);\n });\n}\n\n/** Details of a REST API operation, returned from the Resource Provider Operations API */\nexport interface Operation {\n /** The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" */\n readonly name?: string;\n /** Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations. */\n readonly isDataAction?: boolean;\n /** Localized display information for this particular operation. */\n display?: OperationDisplay;\n /** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\n readonly origin?: Origin;\n /** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\n readonly actionType?: ActionType;\n}\n\nexport function operationDeserializer(item: any): Operation {\n return {\n name: item[\"name\"],\n isDataAction: item[\"isDataAction\"],\n display: !item[\"display\"] ? item[\"display\"] : operationDisplayDeserializer(item[\"display\"]),\n origin: item[\"origin\"],\n actionType: item[\"actionType\"],\n };\n}\n\n/** Localized display information for an operation. */\nexport interface OperationDisplay {\n /** The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". */\n readonly provider?: string;\n /** The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". */\n readonly resource?: string;\n /** The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". */\n readonly operation?: string;\n /** The short, localized friendly description of the operation; suitable for tool tips and detailed views. */\n readonly description?: string;\n}\n\nexport function operationDisplayDeserializer(item: any): OperationDisplay {\n return {\n provider: item[\"provider\"],\n resource: item[\"resource\"],\n operation: item[\"operation\"],\n description: item[\"description\"],\n };\n}\n\n/** The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" */\nexport enum KnownOrigin {\n /** Indicates the operation is initiated by a user. */\n User = \"user\",\n /** Indicates the operation is initiated by a system. */\n System = \"system\",\n /** Indicates the operation is initiated by a user or system. */\n UserSystem = \"user,system\",\n}\n\n/**\n * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" \\\n * {@link KnownOrigin} can be used interchangeably with Origin,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **user**: Indicates the operation is initiated by a user. \\\n * **system**: Indicates the operation is initiated by a system. \\\n * **user,system**: Indicates the operation is initiated by a user or system.\n */\nexport type Origin = string;\n\n/** Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. */\nexport enum KnownActionType {\n /** Actions are for internal-only APIs. */\n Internal = \"Internal\",\n}\n\n/**\n * Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. \\\n * {@link KnownActionType} can be used interchangeably with ActionType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **Internal**: Actions are for internal-only APIs.\n */\nexport type ActionType = string;\n\n/** An error response received from the Azure Maintenance service. */\nexport interface MaintenanceError {\n /** Details of the error */\n error?: ErrorDetails;\n}\n\nexport function maintenanceErrorDeserializer(item: any): MaintenanceError {\n return {\n error: !item[\"error\"] ? item[\"error\"] : errorDetailsDeserializer(item[\"error\"]),\n };\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\nexport function errorDetailsDeserializer(item: any): ErrorDetails {\n return {\n code: item[\"code\"],\n message: item[\"message\"],\n };\n}\n\n/** Maintenance configuration record type */\nexport interface MaintenanceConfiguration extends ProxyResource {\n /** Gets or sets location of the resource */\n location?: string;\n /** Gets or sets tags of the resource */\n tags?: Record<string, string>;\n /** Gets or sets namespace of the resource */\n namespace?: string;\n /** Gets or sets extensionProperties of the maintenanceConfiguration */\n extensionProperties?: Record<string, string>;\n /** Gets or sets maintenanceScope of the configuration */\n maintenanceScope?: MaintenanceScope;\n /** Definition of a MaintenanceWindow */\n maintenanceWindow?: MaintenanceWindow;\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}\n\nexport function maintenanceConfigurationSerializer(item: MaintenanceConfiguration): any {\n return {\n properties: areAllPropsUndefined(item, [\n \"namespace\",\n \"extensionProperties\",\n \"maintenanceScope\",\n \"maintenanceWindow\",\n \"visibility\",\n \"installPatches\",\n ])\n ? undefined\n : _maintenanceConfigurationPropertiesSerializer(item),\n location: item[\"location\"],\n tags: item[\"tags\"],\n };\n}\n\nexport function maintenanceConfigurationDeserializer(item: any): MaintenanceConfiguration {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _maintenanceConfigurationPropertiesDeserializer(item[\"properties\"])),\n location: item[\"location\"],\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [k, p])),\n };\n}\n\n/** Properties for maintenance configuration */\nexport interface MaintenanceConfigurationProperties {\n /** Gets or sets namespace of the resource */\n namespace?: string;\n /** Gets or sets extensionProperties of the maintenanceConfiguration */\n extensionProperties?: Record<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\nexport function maintenanceConfigurationPropertiesSerializer(\n item: MaintenanceConfigurationProperties,\n): any {\n return {\n namespace: item[\"namespace\"],\n extensionProperties: item[\"extensionProperties\"],\n maintenanceScope: item[\"maintenanceScope\"],\n maintenanceWindow: areAllPropsUndefined(item, [\n \"startDateTime\",\n \"expirationDateTime\",\n \"duration\",\n \"timeZone\",\n \"recurEvery\",\n ])\n ? undefined\n : _maintenanceConfigurationPropertiesMaintenanceWindowSerializer(item),\n visibility: item[\"visibility\"],\n installPatches: !item[\"installPatches\"]\n ? item[\"installPatches\"]\n : inputPatchConfigurationSerializer(item[\"installPatches\"]),\n };\n}\n\nexport function maintenanceConfigurationPropertiesDeserializer(\n item: any,\n): MaintenanceConfigurationProperties {\n return {\n namespace: item[\"namespace\"],\n extensionProperties: !item[\"extensionProperties\"]\n ? item[\"extensionProperties\"]\n : Object.fromEntries(\n Object.entries(item[\"extensionProperties\"]).map(([k, p]: [string, any]) => [k, p]),\n ),\n maintenanceScope: item[\"maintenanceScope\"],\n ...(!item[\"maintenanceWindow\"]\n ? item[\"maintenanceWindow\"]\n : _maintenanceConfigurationPropertiesMaintenanceWindowDeserializer(\n item[\"maintenanceWindow\"],\n )),\n visibility: item[\"visibility\"],\n installPatches: !item[\"installPatches\"]\n ? item[\"installPatches\"]\n : inputPatchConfigurationDeserializer(item[\"installPatches\"]),\n };\n}\n\n/** Gets or sets maintenanceScope of the configuration */\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 * Gets or sets maintenanceScope of the configuration \\\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/** Definition of a MaintenanceWindow */\nexport interface MaintenanceWindow {\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\nexport function maintenanceWindowSerializer(item: MaintenanceWindow): any {\n return {\n startDateTime: item[\"startDateTime\"],\n expirationDateTime: item[\"expirationDateTime\"],\n duration: item[\"duration\"],\n timeZone: item[\"timeZone\"],\n recurEvery: item[\"recurEvery\"],\n };\n}\n\nexport function maintenanceWindowDeserializer(item: any): MaintenanceWindow {\n return {\n startDateTime: item[\"startDateTime\"],\n expirationDateTime: item[\"expirationDateTime\"],\n duration: item[\"duration\"],\n timeZone: item[\"timeZone\"],\n recurEvery: item[\"recurEvery\"],\n };\n}\n\n/** Gets or sets the visibility of the configuration. The default value is 'Custom' */\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 * Gets or sets the visibility of the configuration. The default value is 'Custom' \\\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/** 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\nexport function inputPatchConfigurationSerializer(item: InputPatchConfiguration): any {\n return {\n rebootSetting: item[\"rebootSetting\"],\n windowsParameters: !item[\"windowsParameters\"]\n ? item[\"windowsParameters\"]\n : inputWindowsParametersSerializer(item[\"windowsParameters\"]),\n linuxParameters: !item[\"linuxParameters\"]\n ? item[\"linuxParameters\"]\n : inputLinuxParametersSerializer(item[\"linuxParameters\"]),\n };\n}\n\nexport function inputPatchConfigurationDeserializer(item: any): InputPatchConfiguration {\n return {\n rebootSetting: item[\"rebootSetting\"],\n windowsParameters: !item[\"windowsParameters\"]\n ? item[\"windowsParameters\"]\n : inputWindowsParametersDeserializer(item[\"windowsParameters\"]),\n linuxParameters: !item[\"linuxParameters\"]\n ? item[\"linuxParameters\"]\n : inputLinuxParametersDeserializer(item[\"linuxParameters\"]),\n };\n}\n\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. */\nexport enum KnownRebootOptions {\n /** IfRequired */\n IfRequired = \"IfRequired\",\n /** Never */\n Never = \"Never\",\n /** Always */\n Always = \"Always\",\n}\n\n/**\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 * {@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/** 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. Allowed values are 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', and 'Updates'. */\n classificationsToInclude?: string[];\n /** Exclude patches which need reboot */\n excludeKbsRequiringReboot?: boolean;\n}\n\nexport function inputWindowsParametersSerializer(item: InputWindowsParameters): any {\n return {\n kbNumbersToExclude: !item[\"kbNumbersToExclude\"]\n ? item[\"kbNumbersToExclude\"]\n : item[\"kbNumbersToExclude\"].map((p: any) => {\n return p;\n }),\n kbNumbersToInclude: !item[\"kbNumbersToInclude\"]\n ? item[\"kbNumbersToInclude\"]\n : item[\"kbNumbersToInclude\"].map((p: any) => {\n return p;\n }),\n classificationsToInclude: !item[\"classificationsToInclude\"]\n ? item[\"classificationsToInclude\"]\n : item[\"classificationsToInclude\"].map((p: any) => {\n return p;\n }),\n excludeKbsRequiringReboot: item[\"excludeKbsRequiringReboot\"],\n };\n}\n\nexport function inputWindowsParametersDeserializer(item: any): InputWindowsParameters {\n return {\n kbNumbersToExclude: !item[\"kbNumbersToExclude\"]\n ? item[\"kbNumbersToExclude\"]\n : item[\"kbNumbersToExclude\"].map((p: any) => {\n return p;\n }),\n kbNumbersToInclude: !item[\"kbNumbersToInclude\"]\n ? item[\"kbNumbersToInclude\"]\n : item[\"kbNumbersToInclude\"].map((p: any) => {\n return p;\n }),\n classificationsToInclude: !item[\"classificationsToInclude\"]\n ? item[\"classificationsToInclude\"]\n : item[\"classificationsToInclude\"].map((p: any) => {\n return p;\n }),\n excludeKbsRequiringReboot: item[\"excludeKbsRequiringReboot\"],\n };\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. Allowed values are 'Critical', 'Security', and 'Other'. */\n classificationsToInclude?: string[];\n}\n\nexport function inputLinuxParametersSerializer(item: InputLinuxParameters): any {\n return {\n packageNameMasksToExclude: !item[\"packageNameMasksToExclude\"]\n ? item[\"packageNameMasksToExclude\"]\n : item[\"packageNameMasksToExclude\"].map((p: any) => {\n return p;\n }),\n packageNameMasksToInclude: !item[\"packageNameMasksToInclude\"]\n ? item[\"packageNameMasksToInclude\"]\n : item[\"packageNameMasksToInclude\"].map((p: any) => {\n return p;\n }),\n classificationsToInclude: !item[\"classificationsToInclude\"]\n ? item[\"classificationsToInclude\"]\n : item[\"classificationsToInclude\"].map((p: any) => {\n return p;\n }),\n };\n}\n\nexport function inputLinuxParametersDeserializer(item: any): InputLinuxParameters {\n return {\n packageNameMasksToExclude: !item[\"packageNameMasksToExclude\"]\n ? item[\"packageNameMasksToExclude\"]\n : item[\"packageNameMasksToExclude\"].map((p: any) => {\n return p;\n }),\n packageNameMasksToInclude: !item[\"packageNameMasksToInclude\"]\n ? item[\"packageNameMasksToInclude\"]\n : item[\"packageNameMasksToInclude\"].map((p: any) => {\n return p;\n }),\n classificationsToInclude: !item[\"classificationsToInclude\"]\n ? item[\"classificationsToInclude\"]\n : item[\"classificationsToInclude\"].map((p: any) => {\n return p;\n }),\n };\n}\n\n/** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */\nexport interface ProxyResource extends Resource {}\n\nexport function proxyResourceSerializer(_item: ProxyResource): any {\n return {};\n}\n\nexport function proxyResourceDeserializer(item: any): ProxyResource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\n}\n\n/** Common fields that are returned in the response for all Azure Resource Manager resources */\nexport interface Resource {\n /** Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */\n readonly id?: string;\n /** The name of the resource */\n readonly name?: string;\n /** The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" */\n readonly type?: string;\n /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */\n readonly systemData?: SystemData;\n}\n\nexport function resourceSerializer(_item: Resource): any {\n return {};\n}\n\nexport function resourceDeserializer(item: any): Resource {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n };\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\nexport function systemDataDeserializer(item: any): SystemData {\n return {\n createdBy: item[\"createdBy\"],\n createdByType: item[\"createdByType\"],\n createdAt: !item[\"createdAt\"] ? item[\"createdAt\"] : new Date(item[\"createdAt\"]),\n lastModifiedBy: item[\"lastModifiedBy\"],\n lastModifiedByType: item[\"lastModifiedByType\"],\n lastModifiedAt: !item[\"lastModifiedAt\"]\n ? item[\"lastModifiedAt\"]\n : new Date(item[\"lastModifiedAt\"]),\n };\n}\n\n/** The kind of entity that created the resource. */\nexport enum KnownCreatedByType {\n /** The entity was created by a user. */\n User = \"User\",\n /** The entity was created by an application. */\n Application = \"Application\",\n /** The entity was created by a managed identity. */\n ManagedIdentity = \"ManagedIdentity\",\n /** The entity was created by a key. */\n Key = \"Key\",\n}\n\n/**\n * The kind of entity that created the resource. \\\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**: The entity was created by a user. \\\n * **Application**: The entity was created by an application. \\\n * **ManagedIdentity**: The entity was created by a managed identity. \\\n * **Key**: The entity was created by a key.\n */\nexport type CreatedByType = string;\n\n/** Response for MaintenanceConfigurations list */\nexport interface _ListMaintenanceConfigurationsResult {\n /** The list of maintenance Configurations */\n value?: MaintenanceConfiguration[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _listMaintenanceConfigurationsResultDeserializer(\n item: any,\n): _ListMaintenanceConfigurationsResult {\n return {\n value: !item[\"value\"]\n ? item[\"value\"]\n : maintenanceConfigurationArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function maintenanceConfigurationArraySerializer(\n result: Array<MaintenanceConfiguration>,\n): any[] {\n return result.map((item) => {\n return maintenanceConfigurationSerializer(item);\n });\n}\n\nexport function maintenanceConfigurationArrayDeserializer(\n result: Array<MaintenanceConfiguration>,\n): any[] {\n return result.map((item) => {\n return maintenanceConfigurationDeserializer(item);\n });\n}\n\n/** Apply Update request */\nexport interface ApplyUpdate extends ProxyResource {\n /** The status */\n status?: UpdateStatus;\n /** The resourceId */\n resourceId?: string;\n /** Last Update time */\n lastUpdateTime?: Date;\n}\n\nexport function applyUpdateSerializer(item: ApplyUpdate): any {\n return {\n properties: areAllPropsUndefined(item, [\"status\", \"resourceId\", \"lastUpdateTime\"])\n ? undefined\n : _applyUpdatePropertiesSerializer(item),\n };\n}\n\nexport function applyUpdateDeserializer(item: any): ApplyUpdate {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _applyUpdatePropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** Properties for apply update */\nexport interface ApplyUpdateProperties {\n /** The status */\n status?: UpdateStatus;\n /** The resourceId */\n resourceId?: string;\n /** Last Update time */\n lastUpdateTime?: Date;\n}\n\nexport function applyUpdatePropertiesSerializer(item: ApplyUpdateProperties): any {\n return {\n status: item[\"status\"],\n resourceId: item[\"resourceId\"],\n lastUpdateTime: !item[\"lastUpdateTime\"]\n ? item[\"lastUpdateTime\"]\n : item[\"lastUpdateTime\"].toISOString(),\n };\n}\n\nexport function applyUpdatePropertiesDeserializer(item: any): ApplyUpdateProperties {\n return {\n status: item[\"status\"],\n resourceId: item[\"resourceId\"],\n lastUpdateTime: !item[\"lastUpdateTime\"]\n ? item[\"lastUpdateTime\"]\n : new Date(item[\"lastUpdateTime\"]),\n };\n}\n\n/** The status */\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 * The status \\\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/** Response for ApplyUpdate list */\nexport interface _ListApplyUpdate {\n /** The list of apply updates */\n value?: ApplyUpdate[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _listApplyUpdateDeserializer(item: any): _ListApplyUpdate {\n return {\n value: !item[\"value\"] ? item[\"value\"] : applyUpdateArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function applyUpdateArraySerializer(result: Array<ApplyUpdate>): any[] {\n return result.map((item) => {\n return applyUpdateSerializer(item);\n });\n}\n\nexport function applyUpdateArrayDeserializer(result: Array<ApplyUpdate>): any[] {\n return result.map((item) => {\n return applyUpdateDeserializer(item);\n });\n}\n\n/** Configuration Assignment */\nexport interface ConfigurationAssignment extends ProxyResource {\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\nexport function configurationAssignmentSerializer(item: ConfigurationAssignment): any {\n return {\n properties: areAllPropsUndefined(item, [\"maintenanceConfigurationId\", \"resourceId\", \"filter\"])\n ? undefined\n : _configurationAssignmentPropertiesSerializer(item),\n location: item[\"location\"],\n };\n}\n\nexport function configurationAssignmentDeserializer(item: any): ConfigurationAssignment {\n return {\n id: item[\"id\"],\n name: item[\"name\"],\n type: item[\"type\"],\n systemData: !item[\"systemData\"]\n ? item[\"systemData\"]\n : systemDataDeserializer(item[\"systemData\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _configurationAssignmentPropertiesDeserializer(item[\"properties\"])),\n location: item[\"location\"],\n };\n}\n\n/** Properties for configuration assignment */\nexport interface ConfigurationAssignmentProperties {\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\nexport function configurationAssignmentPropertiesSerializer(\n item: ConfigurationAssignmentProperties,\n): any {\n return {\n maintenanceConfigurationId: item[\"maintenanceConfigurationId\"],\n resourceId: item[\"resourceId\"],\n filter: !item[\"filter\"]\n ? item[\"filter\"]\n : configurationAssignmentFilterPropertiesSerializer(item[\"filter\"]),\n };\n}\n\nexport function configurationAssignmentPropertiesDeserializer(\n item: any,\n): ConfigurationAssignmentProperties {\n return {\n maintenanceConfigurationId: item[\"maintenanceConfigurationId\"],\n resourceId: item[\"resourceId\"],\n filter: !item[\"filter\"]\n ? item[\"filter\"]\n : configurationAssignmentFilterPropertiesDeserializer(item[\"filter\"]),\n };\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\nexport function configurationAssignmentFilterPropertiesSerializer(\n item: ConfigurationAssignmentFilterProperties,\n): any {\n return {\n resourceTypes: !item[\"resourceTypes\"]\n ? item[\"resourceTypes\"]\n : item[\"resourceTypes\"].map((p: any) => {\n return p;\n }),\n resourceGroups: !item[\"resourceGroups\"]\n ? item[\"resourceGroups\"]\n : item[\"resourceGroups\"].map((p: any) => {\n return p;\n }),\n osTypes: !item[\"osTypes\"]\n ? item[\"osTypes\"]\n : item[\"osTypes\"].map((p: any) => {\n return p;\n }),\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : item[\"locations\"].map((p: any) => {\n return p;\n }),\n tagSettings: !item[\"tagSettings\"]\n ? item[\"tagSettings\"]\n : tagSettingsPropertiesSerializer(item[\"tagSettings\"]),\n };\n}\n\nexport function configurationAssignmentFilterPropertiesDeserializer(\n item: any,\n): ConfigurationAssignmentFilterProperties {\n return {\n resourceTypes: !item[\"resourceTypes\"]\n ? item[\"resourceTypes\"]\n : item[\"resourceTypes\"].map((p: any) => {\n return p;\n }),\n resourceGroups: !item[\"resourceGroups\"]\n ? item[\"resourceGroups\"]\n : item[\"resourceGroups\"].map((p: any) => {\n return p;\n }),\n osTypes: !item[\"osTypes\"]\n ? item[\"osTypes\"]\n : item[\"osTypes\"].map((p: any) => {\n return p;\n }),\n locations: !item[\"locations\"]\n ? item[\"locations\"]\n : item[\"locations\"].map((p: any) => {\n return p;\n }),\n tagSettings: !item[\"tagSettings\"]\n ? item[\"tagSettings\"]\n : tagSettingsPropertiesDeserializer(item[\"tagSettings\"]),\n };\n}\n\n/** Tag filter information for the VM. */\nexport interface TagSettingsProperties {\n /** Dictionary of tags with its list of values. */\n tags?: Record<string, string[]>;\n /** Filter VMs by Any or All specified tags. */\n filterOperator?: TagOperators;\n}\n\nexport function tagSettingsPropertiesSerializer(item: TagSettingsProperties): any {\n return { tags: item[\"tags\"], filterOperator: item[\"filterOperator\"] };\n}\n\nexport function tagSettingsPropertiesDeserializer(item: any): TagSettingsProperties {\n return {\n tags: !item[\"tags\"]\n ? item[\"tags\"]\n : Object.fromEntries(\n Object.entries(item[\"tags\"]).map(([k, p]: [string, any]) => [\n k,\n p.map((p1: any) => {\n return p1;\n }),\n ]),\n ),\n filterOperator: item[\"filterOperator\"],\n };\n}\n\n/** Filter VMs by Any or All specified tags. */\nexport type TagOperators = \"All\" | \"Any\";\n\n/** Response for ConfigurationAssignments list */\nexport interface _ListConfigurationAssignmentsResult {\n /** The list of configuration Assignments */\n value?: ConfigurationAssignment[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _listConfigurationAssignmentsResultDeserializer(\n item: any,\n): _ListConfigurationAssignmentsResult {\n return {\n value: !item[\"value\"] ? item[\"value\"] : configurationAssignmentArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function configurationAssignmentArraySerializer(\n result: Array<ConfigurationAssignment>,\n): any[] {\n return result.map((item) => {\n return configurationAssignmentSerializer(item);\n });\n}\n\nexport function configurationAssignmentArrayDeserializer(\n result: Array<ConfigurationAssignment>,\n): any[] {\n return result.map((item) => {\n return configurationAssignmentDeserializer(item);\n });\n}\n\n/** Response of scheduled event acknowledge */\nexport interface ScheduledEventApproveResponse {\n /** Successfully Approved */\n value?: string;\n}\n\nexport function scheduledEventApproveResponseDeserializer(\n item: any,\n): ScheduledEventApproveResponse {\n return {\n value: item[\"value\"],\n };\n}\n\n/** Response for Updates list */\nexport interface _ListUpdatesResult {\n /** The pending updates */\n value?: Update[];\n /** The link to the next page of items */\n nextLink?: string;\n}\n\nexport function _listUpdatesResultDeserializer(item: any): _ListUpdatesResult {\n return {\n value: !item[\"value\"] ? item[\"value\"] : updateArrayDeserializer(item[\"value\"]),\n nextLink: item[\"nextLink\"],\n };\n}\n\nexport function updateArrayDeserializer(result: Array<Update>): any[] {\n return result.map((item) => {\n return updateDeserializer(item);\n });\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\nexport function updateDeserializer(item: any): Update {\n return {\n maintenanceScope: item[\"maintenanceScope\"],\n impactType: item[\"impactType\"],\n status: item[\"status\"],\n impactDurationInSec: item[\"impactDurationInSec\"],\n notBefore: !item[\"notBefore\"] ? item[\"notBefore\"] : new Date(item[\"notBefore\"]),\n ...(!item[\"properties\"]\n ? item[\"properties\"]\n : _updatePropertiesDeserializer(item[\"properties\"])),\n };\n}\n\n/** The impact type */\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 * The impact type \\\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\n/** Properties for update */\nexport interface UpdateProperties {\n /** The resourceId */\n resourceId?: string;\n}\n\nexport function updatePropertiesDeserializer(item: any): UpdateProperties {\n return {\n resourceId: item[\"resourceId\"],\n };\n}\n\n/** The available API versions. */\nexport enum KnownVersions {\n /** The 2023-10-01-preview API version. */\n V20231001Preview = \"2023-10-01-preview\",\n}\n\nexport function _maintenanceConfigurationPropertiesMaintenanceWindowSerializer(\n item: MaintenanceConfigurationProperties,\n): any {\n return {\n startDateTime: item[\"startDateTime\"],\n expirationDateTime: item[\"expirationDateTime\"],\n duration: item[\"duration\"],\n timeZone: item[\"timeZone\"],\n recurEvery: item[\"recurEvery\"],\n };\n}\n\nexport function _maintenanceConfigurationPropertiesMaintenanceWindowDeserializer(item: any) {\n return {\n startDateTime: item[\"startDateTime\"],\n expirationDateTime: item[\"expirationDateTime\"],\n duration: item[\"duration\"],\n timeZone: item[\"timeZone\"],\n recurEvery: item[\"recurEvery\"],\n };\n}\n\nexport function _maintenanceConfigurationPropertiesSerializer(item: MaintenanceConfiguration): any {\n return {\n namespace: item[\"namespace\"],\n extensionProperties: item[\"extensionProperties\"],\n maintenanceScope: item[\"maintenanceScope\"],\n maintenanceWindow: !item[\"maintenanceWindow\"]\n ? item[\"maintenanceWindow\"]\n : maintenanceWindowSerializer(item[\"maintenanceWindow\"]),\n visibility: item[\"visibility\"],\n installPatches: !item[\"installPatches\"]\n ? item[\"installPatches\"]\n : inputPatchConfigurationSerializer(item[\"installPatches\"]),\n };\n}\n\nexport function _maintenanceConfigurationPropertiesDeserializer(item: any) {\n return {\n namespace: item[\"namespace\"],\n extensionProperties: !item[\"extensionProperties\"]\n ? item[\"extensionProperties\"]\n : Object.fromEntries(\n Object.entries(item[\"extensionProperties\"]).map(([k, p]: [string, any]) => [k, p]),\n ),\n maintenanceScope: item[\"maintenanceScope\"],\n maintenanceWindow: !item[\"maintenanceWindow\"]\n ? item[\"maintenanceWindow\"]\n : maintenanceWindowDeserializer(item[\"maintenanceWindow\"]),\n visibility: item[\"visibility\"],\n installPatches: !item[\"installPatches\"]\n ? item[\"installPatches\"]\n : inputPatchConfigurationDeserializer(item[\"installPatches\"]),\n };\n}\n\nexport function _applyUpdatePropertiesSerializer(item: ApplyUpdate): any {\n return {\n status: item[\"status\"],\n resourceId: item[\"resourceId\"],\n lastUpdateTime: !item[\"lastUpdateTime\"]\n ? item[\"lastUpdateTime\"]\n : item[\"lastUpdateTime\"].toISOString(),\n };\n}\n\nexport function _applyUpdatePropertiesDeserializer(item: any) {\n return {\n status: item[\"status\"],\n resourceId: item[\"resourceId\"],\n lastUpdateTime: !item[\"lastUpdateTime\"]\n ? item[\"lastUpdateTime\"]\n : new Date(item[\"lastUpdateTime\"]),\n };\n}\n\nexport function _configurationAssignmentPropertiesSerializer(item: ConfigurationAssignment): any {\n return {\n maintenanceConfigurationId: item[\"maintenanceConfigurationId\"],\n resourceId: item[\"resourceId\"],\n filter: !item[\"filter\"]\n ? item[\"filter\"]\n : configurationAssignmentFilterPropertiesSerializer(item[\"filter\"]),\n };\n}\n\nexport function _configurationAssignmentPropertiesDeserializer(item: any) {\n return {\n maintenanceConfigurationId: item[\"maintenanceConfigurationId\"],\n resourceId: item[\"resourceId\"],\n filter: !item[\"filter\"]\n ? item[\"filter\"]\n : configurationAssignmentFilterPropertiesDeserializer(item[\"filter\"]),\n };\n}\n\nexport function _updatePropertiesDeserializer(item: any) {\n return {\n resourceId: item[\"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C7B,QAAQ,CAAC,KAAK,QAAQ,IAClB,KAAK,QAAQ,IACb,kDAAkD,KAAK,QAAQ,CAAC;AAAA,EACtE;AACF;AAEO,SAAS,+CAA+C,MAAW;AACxE,SAAO;AAAA,IACL,4BAA4B,KAAK,4BAA4B;AAAA,IAC7D,YAAY,KAAK,YAAY;AAAA,IAC7B,QAAQ,CAAC,KAAK,QAAQ,IAClB,KAAK,QAAQ,IACb,oDAAoD,KAAK,QAAQ,CAAC;AAAA,EACxE;AACF;AAEO,SAAS,8BAA8B,MAAW;AACvD,SAAO;AAAA,IACL,YAAY,KAAK,YAAY;AAAA,EAC/B;AACF;",
|
|
6
|
+
"names": ["KnownOrigin", "KnownActionType", "KnownMaintenanceScope", "KnownVisibility", "KnownRebootOptions", "KnownCreatedByType", "KnownUpdateStatus", "KnownImpactType", "KnownVersions"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An enum to describe Azure Cloud environments.
|
|
3
|
+
* @enum {string}
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AzureClouds {
|
|
6
|
+
/** Azure public cloud, which is the default cloud for Azure SDKs. */
|
|
7
|
+
AZURE_PUBLIC_CLOUD = "AZURE_PUBLIC_CLOUD",
|
|
8
|
+
/** Azure China cloud */
|
|
9
|
+
AZURE_CHINA_CLOUD = "AZURE_CHINA_CLOUD",
|
|
10
|
+
/** Azure US government cloud */
|
|
11
|
+
AZURE_US_GOVERNMENT = "AZURE_US_GOVERNMENT"
|
|
12
|
+
}
|
|
13
|
+
/** The supported values for cloud setting as a string literal type */
|
|
14
|
+
export type AzureSupportedClouds = `${AzureClouds}`;
|
|
15
|
+
/**
|
|
16
|
+
* Gets the Azure Resource Manager endpoint URL for the specified cloud setting.
|
|
17
|
+
* @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.
|
|
18
|
+
* @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.
|
|
19
|
+
* @throws {Error} Throws an error if an unknown cloud setting is provided.
|
|
20
|
+
*/
|
|
21
|
+
export declare function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined;
|
|
22
|
+
//# sourceMappingURL=cloudSettingHelpers.d.ts.map
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var cloudSettingHelpers_exports = {};
|
|
19
|
+
__export(cloudSettingHelpers_exports, {
|
|
20
|
+
AzureClouds: () => AzureClouds,
|
|
21
|
+
getArmEndpoint: () => getArmEndpoint
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(cloudSettingHelpers_exports);
|
|
24
|
+
var AzureClouds = /* @__PURE__ */ ((AzureClouds2) => {
|
|
25
|
+
AzureClouds2["AZURE_PUBLIC_CLOUD"] = "AZURE_PUBLIC_CLOUD";
|
|
26
|
+
AzureClouds2["AZURE_CHINA_CLOUD"] = "AZURE_CHINA_CLOUD";
|
|
27
|
+
AzureClouds2["AZURE_US_GOVERNMENT"] = "AZURE_US_GOVERNMENT";
|
|
28
|
+
return AzureClouds2;
|
|
29
|
+
})(AzureClouds || {});
|
|
30
|
+
function getArmEndpoint(cloudSetting) {
|
|
31
|
+
if (cloudSetting === void 0) {
|
|
32
|
+
return void 0;
|
|
33
|
+
}
|
|
34
|
+
const cloudEndpoints = {
|
|
35
|
+
AZURE_CHINA_CLOUD: "https://management.chinacloudapi.cn/",
|
|
36
|
+
AZURE_US_GOVERNMENT: "https://management.usgovcloudapi.net/",
|
|
37
|
+
AZURE_PUBLIC_CLOUD: "https://management.azure.com/"
|
|
38
|
+
};
|
|
39
|
+
if (cloudSetting in cloudEndpoints) {
|
|
40
|
+
return cloudEndpoints[cloudSetting];
|
|
41
|
+
} else {
|
|
42
|
+
throw new Error(
|
|
43
|
+
`Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
48
|
+
0 && (module.exports = {
|
|
49
|
+
AzureClouds,
|
|
50
|
+
getArmEndpoint
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=cloudSettingHelpers.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/static-helpers/cloudSettingHelpers.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * An enum to describe Azure Cloud environments.\n * @enum {string}\n */\nexport enum AzureClouds {\n /** Azure public cloud, which is the default cloud for Azure SDKs. */\n AZURE_PUBLIC_CLOUD = \"AZURE_PUBLIC_CLOUD\",\n /** Azure China cloud */\n AZURE_CHINA_CLOUD = \"AZURE_CHINA_CLOUD\",\n /** Azure US government cloud */\n AZURE_US_GOVERNMENT = \"AZURE_US_GOVERNMENT\",\n}\n\n/** The supported values for cloud setting as a string literal type */\nexport type AzureSupportedClouds = `${AzureClouds}`;\n\n/**\n * Gets the Azure Resource Manager endpoint URL for the specified cloud setting.\n * @param cloudSetting - The Azure cloud environment setting. Use one of the AzureClouds enum values.\n * @returns The ARM endpoint URL for the specified cloud, or undefined if cloudSetting is undefined.\n * @throws {Error} Throws an error if an unknown cloud setting is provided.\n */\nexport function getArmEndpoint(cloudSetting?: AzureSupportedClouds): string | undefined {\n if (cloudSetting === undefined) {\n return undefined;\n }\n const cloudEndpoints: Record<keyof typeof AzureClouds, string> = {\n AZURE_CHINA_CLOUD: \"https://management.chinacloudapi.cn/\",\n AZURE_US_GOVERNMENT: \"https://management.usgovcloudapi.net/\",\n AZURE_PUBLIC_CLOUD: \"https://management.azure.com/\",\n };\n if (cloudSetting in cloudEndpoints) {\n return cloudEndpoints[cloudSetting];\n } else {\n throw new Error(\n `Unknown cloud setting: ${cloudSetting}. Please refer to the enum AzureClouds for possible values.`,\n );\n }\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAOO,IAAK,cAAL,kBAAKA,iBAAL;AAEL,EAAAA,aAAA,wBAAqB;AAErB,EAAAA,aAAA,uBAAoB;AAEpB,EAAAA,aAAA,yBAAsB;AANZ,SAAAA;AAAA,GAAA;AAkBL,SAAS,eAAe,cAAyD;AACtF,MAAI,iBAAiB,QAAW;AAC9B,WAAO;AAAA,EACT;AACA,QAAM,iBAA2D;AAAA,IAC/D,mBAAmB;AAAA,IACnB,qBAAqB;AAAA,IACrB,oBAAoB;AAAA,EACtB;AACA,MAAI,gBAAgB,gBAAgB;AAClC,WAAO,eAAe,YAAY;AAAA,EACpC,OAAO;AACL,UAAM,IAAI;AAAA,MACR,0BAA0B,YAAY;AAAA,IACxC;AAAA,EACF;AACF;",
|
|
6
|
+
"names": ["AzureClouds"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Client, PathUncheckedResponse } from "@azure-rest/core-client";
|
|
2
|
+
/**
|
|
3
|
+
* Options for the byPage method
|
|
4
|
+
*/
|
|
5
|
+
export interface PageSettings {
|
|
6
|
+
/**
|
|
7
|
+
* A reference to a specific page to start iterating from.
|
|
8
|
+
*/
|
|
9
|
+
continuationToken?: string;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* An interface that describes a page of results.
|
|
13
|
+
*/
|
|
14
|
+
export type ContinuablePage<TElement, TPage = TElement[]> = TPage & {
|
|
15
|
+
/**
|
|
16
|
+
* The token that keeps track of where to continue the iterator
|
|
17
|
+
*/
|
|
18
|
+
continuationToken?: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* An interface that allows async iterable iteration both to completion and by page.
|
|
22
|
+
*/
|
|
23
|
+
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
|
|
24
|
+
/**
|
|
25
|
+
* The next method, part of the iteration protocol
|
|
26
|
+
*/
|
|
27
|
+
next(): Promise<IteratorResult<TElement>>;
|
|
28
|
+
/**
|
|
29
|
+
* The connection to the async iterator, part of the iteration protocol
|
|
30
|
+
*/
|
|
31
|
+
[Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
32
|
+
/**
|
|
33
|
+
* Return an AsyncIterableIterator that works a page at a time
|
|
34
|
+
*/
|
|
35
|
+
byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* An interface that describes how to communicate with the service.
|
|
39
|
+
*/
|
|
40
|
+
export interface PagedResult<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings> {
|
|
41
|
+
/**
|
|
42
|
+
* Link to the first page of results.
|
|
43
|
+
*/
|
|
44
|
+
firstPageLink?: string;
|
|
45
|
+
/**
|
|
46
|
+
* A method that returns a page of results.
|
|
47
|
+
*/
|
|
48
|
+
getPage: (pageLink?: string) => Promise<{
|
|
49
|
+
page: TPage;
|
|
50
|
+
nextPageLink?: string;
|
|
51
|
+
} | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* a function to implement the `byPage` method on the paged async iterator.
|
|
54
|
+
*/
|
|
55
|
+
byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;
|
|
56
|
+
/**
|
|
57
|
+
* A function to extract elements from a page.
|
|
58
|
+
*/
|
|
59
|
+
toElements?: (page: TPage) => TElement[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Options for the paging helper
|
|
63
|
+
*/
|
|
64
|
+
export interface BuildPagedAsyncIteratorOptions {
|
|
65
|
+
itemName?: string;
|
|
66
|
+
nextLinkName?: string;
|
|
67
|
+
nextLinkMethod?: "GET" | "POST";
|
|
68
|
+
apiVersion?: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Helper to paginate results in a generic way and return a PagedAsyncIterableIterator
|
|
72
|
+
*/
|
|
73
|
+
export declare function buildPagedAsyncIterator<TElement, TPage = TElement[], TPageSettings extends PageSettings = PageSettings, TResponse extends PathUncheckedResponse = PathUncheckedResponse>(client: Client, getInitialResponse: () => PromiseLike<TResponse>, processResponseBody: (result: TResponse) => PromiseLike<unknown>, expectedStatuses: string[], options?: BuildPagedAsyncIteratorOptions): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
|
|
74
|
+
//# sourceMappingURL=pagingHelpers.d.ts.map
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var pagingHelpers_exports = {};
|
|
19
|
+
__export(pagingHelpers_exports, {
|
|
20
|
+
buildPagedAsyncIterator: () => buildPagedAsyncIterator
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(pagingHelpers_exports);
|
|
23
|
+
var import_core_client = require("@azure-rest/core-client");
|
|
24
|
+
var import_core_rest_pipeline = require("@azure/core-rest-pipeline");
|
|
25
|
+
function buildPagedAsyncIterator(client, getInitialResponse, processResponseBody, expectedStatuses, options = {}) {
|
|
26
|
+
const itemName = options.itemName ?? "value";
|
|
27
|
+
const nextLinkName = options.nextLinkName ?? "nextLink";
|
|
28
|
+
const nextLinkMethod = options.nextLinkMethod ?? "GET";
|
|
29
|
+
const apiVersion = options.apiVersion;
|
|
30
|
+
const pagedResult = {
|
|
31
|
+
getPage: async (pageLink) => {
|
|
32
|
+
let result;
|
|
33
|
+
if (pageLink === void 0) {
|
|
34
|
+
result = await getInitialResponse();
|
|
35
|
+
} else {
|
|
36
|
+
const resolvedPageLink = apiVersion ? addApiVersionToUrl(pageLink, apiVersion) : pageLink;
|
|
37
|
+
result = nextLinkMethod === "POST" ? await client.pathUnchecked(resolvedPageLink).post() : await client.pathUnchecked(resolvedPageLink).get();
|
|
38
|
+
}
|
|
39
|
+
checkPagingRequest(result, expectedStatuses);
|
|
40
|
+
const results = await processResponseBody(result);
|
|
41
|
+
const nextLink = getNextLink(results, nextLinkName);
|
|
42
|
+
const values = getElements(results, itemName);
|
|
43
|
+
return {
|
|
44
|
+
page: values,
|
|
45
|
+
nextPageLink: nextLink
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
byPage: (settings) => {
|
|
49
|
+
const { continuationToken } = settings ?? {};
|
|
50
|
+
return getPageAsyncIterator(pagedResult, {
|
|
51
|
+
pageLink: continuationToken
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
return getPagedAsyncIterator(pagedResult);
|
|
56
|
+
}
|
|
57
|
+
function getPagedAsyncIterator(pagedResult) {
|
|
58
|
+
const iter = getItemAsyncIterator(pagedResult);
|
|
59
|
+
return {
|
|
60
|
+
next() {
|
|
61
|
+
return iter.next();
|
|
62
|
+
},
|
|
63
|
+
[Symbol.asyncIterator]() {
|
|
64
|
+
return this;
|
|
65
|
+
},
|
|
66
|
+
byPage: pagedResult?.byPage ?? ((settings) => {
|
|
67
|
+
const { continuationToken } = settings ?? {};
|
|
68
|
+
return getPageAsyncIterator(pagedResult, {
|
|
69
|
+
pageLink: continuationToken
|
|
70
|
+
});
|
|
71
|
+
})
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
async function* getItemAsyncIterator(pagedResult) {
|
|
75
|
+
const pages = getPageAsyncIterator(pagedResult);
|
|
76
|
+
for await (const page of pages) {
|
|
77
|
+
yield* page;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
async function* getPageAsyncIterator(pagedResult, options = {}) {
|
|
81
|
+
const { pageLink } = options;
|
|
82
|
+
let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink);
|
|
83
|
+
if (!response) {
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
let result = response.page;
|
|
87
|
+
result.continuationToken = response.nextPageLink;
|
|
88
|
+
yield result;
|
|
89
|
+
while (response.nextPageLink) {
|
|
90
|
+
response = await pagedResult.getPage(response.nextPageLink);
|
|
91
|
+
if (!response) {
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
result = response.page;
|
|
95
|
+
result.continuationToken = response.nextPageLink;
|
|
96
|
+
yield result;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
function getNextLink(body, nextLinkName) {
|
|
100
|
+
if (!nextLinkName) {
|
|
101
|
+
return void 0;
|
|
102
|
+
}
|
|
103
|
+
const nextLink = body[nextLinkName];
|
|
104
|
+
if (typeof nextLink !== "string" && typeof nextLink !== "undefined" && nextLink !== null) {
|
|
105
|
+
throw new import_core_rest_pipeline.RestError(
|
|
106
|
+
`Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
if (nextLink === null) {
|
|
110
|
+
return void 0;
|
|
111
|
+
}
|
|
112
|
+
return nextLink;
|
|
113
|
+
}
|
|
114
|
+
function getElements(body, itemName) {
|
|
115
|
+
const value = body[itemName];
|
|
116
|
+
if (!Array.isArray(value)) {
|
|
117
|
+
throw new import_core_rest_pipeline.RestError(
|
|
118
|
+
`Couldn't paginate response
|
|
119
|
+
Body doesn't contain an array property with name: ${itemName}`
|
|
120
|
+
);
|
|
121
|
+
}
|
|
122
|
+
return value ?? [];
|
|
123
|
+
}
|
|
124
|
+
function checkPagingRequest(response, expectedStatuses) {
|
|
125
|
+
if (!expectedStatuses.includes(response.status)) {
|
|
126
|
+
throw (0, import_core_client.createRestError)(
|
|
127
|
+
`Pagination failed with unexpected statusCode ${response.status}`,
|
|
128
|
+
response
|
|
129
|
+
);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
function addApiVersionToUrl(url, apiVersion) {
|
|
133
|
+
const urlObj = new URL(url, "https://microsoft.com");
|
|
134
|
+
if (!urlObj.searchParams.get("api-version")) {
|
|
135
|
+
return `${url}${urlObj.search ? "&" : "?"}api-version=${apiVersion}`;
|
|
136
|
+
}
|
|
137
|
+
return url;
|
|
138
|
+
}
|
|
139
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
140
|
+
0 && (module.exports = {
|
|
141
|
+
buildPagedAsyncIterator
|
|
142
|
+
});
|
|
143
|
+
//# sourceMappingURL=pagingHelpers.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/static-helpers/pagingHelpers.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport { Client, createRestError, PathUncheckedResponse } from \"@azure-rest/core-client\";\nimport { RestError } from \"@azure/core-rest-pipeline\";\n\n/**\n * Options for the byPage method\n */\nexport interface PageSettings {\n /**\n * A reference to a specific page to start iterating from.\n */\n continuationToken?: string;\n}\n\n/**\n * An interface that describes a page of results.\n */\nexport type ContinuablePage<TElement, TPage = TElement[]> = TPage & {\n /**\n * The token that keeps track of where to continue the iterator\n */\n continuationToken?: string;\n};\n\n/**\n * An interface that allows async iterable iteration both to completion and by page.\n */\nexport interface PagedAsyncIterableIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n> {\n /**\n * The next method, part of the iteration protocol\n */\n next(): Promise<IteratorResult<TElement>>;\n /**\n * The connection to the async iterator, part of the iteration protocol\n */\n [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;\n /**\n * Return an AsyncIterableIterator that works a page at a time\n */\n byPage: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;\n}\n\n/**\n * An interface that describes how to communicate with the service.\n */\nexport interface PagedResult<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n> {\n /**\n * Link to the first page of results.\n */\n firstPageLink?: string;\n /**\n * A method that returns a page of results.\n */\n getPage: (pageLink?: string) => Promise<{ page: TPage; nextPageLink?: string } | undefined>;\n /**\n * a function to implement the `byPage` method on the paged async iterator.\n */\n byPage?: (settings?: TPageSettings) => AsyncIterableIterator<ContinuablePage<TElement, TPage>>;\n\n /**\n * A function to extract elements from a page.\n */\n toElements?: (page: TPage) => TElement[];\n}\n\n/**\n * Options for the paging helper\n */\nexport interface BuildPagedAsyncIteratorOptions {\n itemName?: string;\n nextLinkName?: string;\n nextLinkMethod?: \"GET\" | \"POST\";\n apiVersion?: string;\n}\n\n/**\n * Helper to paginate results in a generic way and return a PagedAsyncIterableIterator\n */\nexport function buildPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n TResponse extends PathUncheckedResponse = PathUncheckedResponse,\n>(\n client: Client,\n getInitialResponse: () => PromiseLike<TResponse>,\n processResponseBody: (result: TResponse) => PromiseLike<unknown>,\n expectedStatuses: string[],\n options: BuildPagedAsyncIteratorOptions = {},\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const itemName = options.itemName ?? \"value\";\n const nextLinkName = options.nextLinkName ?? \"nextLink\";\n const nextLinkMethod = options.nextLinkMethod ?? \"GET\";\n const apiVersion = options.apiVersion;\n const pagedResult: PagedResult<TElement, TPage, TPageSettings> = {\n getPage: async (pageLink?: string) => {\n let result;\n if (pageLink === undefined) {\n result = await getInitialResponse();\n } else {\n const resolvedPageLink = apiVersion ? addApiVersionToUrl(pageLink, apiVersion) : pageLink;\n result =\n nextLinkMethod === \"POST\"\n ? await client.pathUnchecked(resolvedPageLink).post()\n : await client.pathUnchecked(resolvedPageLink).get();\n }\n checkPagingRequest(result, expectedStatuses);\n const results = await processResponseBody(result as TResponse);\n const nextLink = getNextLink(results, nextLinkName);\n const values = getElements<TElement>(results, itemName) as TPage;\n return {\n page: values,\n nextPageLink: nextLink,\n };\n },\n byPage: (settings?: TPageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken,\n });\n },\n };\n return getPagedAsyncIterator(pagedResult);\n}\n\n/**\n * returns an async iterator that iterates over results. It also has a `byPage`\n * method that returns pages of items at once.\n *\n * @param pagedResult - an object that specifies how to get pages.\n * @returns a paged async iterator that iterates over results.\n */\n\nfunction getPagedAsyncIterator<\n TElement,\n TPage = TElement[],\n TPageSettings extends PageSettings = PageSettings,\n>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n): PagedAsyncIterableIterator<TElement, TPage, TPageSettings> {\n const iter = getItemAsyncIterator<TElement, TPage, TPageSettings>(pagedResult);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage:\n pagedResult?.byPage ??\n ((settings?: TPageSettings) => {\n const { continuationToken } = settings ?? {};\n return getPageAsyncIterator(pagedResult, {\n pageLink: continuationToken,\n });\n }),\n };\n}\n\nasync function* getItemAsyncIterator<TElement, TPage, TPageSettings extends PageSettings>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n): AsyncIterableIterator<TElement> {\n const pages = getPageAsyncIterator(pagedResult);\n for await (const page of pages) {\n yield* page as unknown as TElement[];\n }\n}\n\nasync function* getPageAsyncIterator<TElement, TPage, TPageSettings extends PageSettings>(\n pagedResult: PagedResult<TElement, TPage, TPageSettings>,\n options: {\n pageLink?: string;\n } = {},\n): AsyncIterableIterator<ContinuablePage<TElement, TPage>> {\n const { pageLink } = options;\n let response = await pagedResult.getPage(pageLink ?? pagedResult.firstPageLink);\n if (!response) {\n return;\n }\n let result = response.page as ContinuablePage<TElement, TPage>;\n result.continuationToken = response.nextPageLink;\n yield result;\n while (response.nextPageLink) {\n response = await pagedResult.getPage(response.nextPageLink);\n if (!response) {\n return;\n }\n result = response.page as ContinuablePage<TElement, TPage>;\n result.continuationToken = response.nextPageLink;\n yield result;\n }\n}\n\n/**\n * Gets for the value of nextLink in the body\n */\nfunction getNextLink(body: unknown, nextLinkName?: string): string | undefined {\n if (!nextLinkName) {\n return undefined;\n }\n\n const nextLink = (body as Record<string, unknown>)[nextLinkName];\n\n if (typeof nextLink !== \"string\" && typeof nextLink !== \"undefined\" && nextLink !== null) {\n throw new RestError(\n `Body Property ${nextLinkName} should be a string or undefined or null but got ${typeof nextLink}`,\n );\n }\n\n if (nextLink === null) {\n return undefined;\n }\n\n return nextLink;\n}\n\n/**\n * Gets the elements of the current request in the body.\n */\nfunction getElements<T = unknown>(body: unknown, itemName: string): T[] {\n const value = (body as Record<string, unknown>)[itemName] as T[];\n if (!Array.isArray(value)) {\n throw new RestError(\n `Couldn't paginate response\\n Body doesn't contain an array property with name: ${itemName}`,\n );\n }\n\n return value ?? [];\n}\n\n/**\n * Checks if a request failed\n */\nfunction checkPagingRequest(response: PathUncheckedResponse, expectedStatuses: string[]): void {\n if (!expectedStatuses.includes(response.status)) {\n throw createRestError(\n `Pagination failed with unexpected statusCode ${response.status}`,\n response,\n );\n }\n}\n\n/**\n * Adds the api-version query parameter on a URL if it's not present.\n * @param url - the URL to modify\n * @param apiVersion - the API version to set\n * @returns - the URL with the api-version query parameter set\n */\nfunction addApiVersionToUrl(url: string, apiVersion: string): string {\n // The base URL is only used for parsing and won't appear in the returned URL\n const urlObj = new URL(url, \"https://microsoft.com\");\n if (!urlObj.searchParams.get(\"api-version\")) {\n // Append one if there is no apiVersion\n return `${url}${urlObj.search ? \"&\" : \"?\"}api-version=${apiVersion}`;\n }\n return url;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,yBAA+D;AAC/D,gCAA0B;AAoFnB,SAAS,wBAMd,QACA,oBACA,qBACA,kBACA,UAA0C,CAAC,GACiB;AAC5D,QAAM,WAAW,QAAQ,YAAY;AACrC,QAAM,eAAe,QAAQ,gBAAgB;AAC7C,QAAM,iBAAiB,QAAQ,kBAAkB;AACjD,QAAM,aAAa,QAAQ;AAC3B,QAAM,cAA2D;AAAA,IAC/D,SAAS,OAAO,aAAsB;AACpC,UAAI;AACJ,UAAI,aAAa,QAAW;AAC1B,iBAAS,MAAM,mBAAmB;AAAA,MACpC,OAAO;AACL,cAAM,mBAAmB,aAAa,mBAAmB,UAAU,UAAU,IAAI;AACjF,iBACE,mBAAmB,SACf,MAAM,OAAO,cAAc,gBAAgB,EAAE,KAAK,IAClD,MAAM,OAAO,cAAc,gBA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,UAAU;AACb;AAAA,IACF;AACA,aAAS,SAAS;AAClB,WAAO,oBAAoB,SAAS;AACpC,UAAM;AAAA,EACR;AACF;AAKA,SAAS,YAAY,MAAe,cAA2C;AAC7E,MAAI,CAAC,cAAc;AACjB,WAAO;AAAA,EACT;AAEA,QAAM,WAAY,KAAiC,YAAY;AAE/D,MAAI,OAAO,aAAa,YAAY,OAAO,aAAa,eAAe,aAAa,MAAM;AACxF,UAAM,IAAI;AAAA,MACR,iBAAiB,YAAY,oDAAoD,OAAO,QAAQ;AAAA,IAClG;AAAA,EACF;AAEA,MAAI,aAAa,MAAM;AACrB,WAAO;AAAA,EACT;AAEA,SAAO;AACT;AAKA,SAAS,YAAyB,MAAe,UAAuB;AACtE,QAAM,QAAS,KAAiC,QAAQ;AACxD,MAAI,CAAC,MAAM,QAAQ,KAAK,GAAG;AACzB,UAAM,IAAI;AAAA,MACR;AAAA,qDAAkF,QAAQ;AAAA,IAC5F;AAAA,EACF;AAEA,SAAO,SAAS,CAAC;AACnB;AAKA,SAAS,mBAAmB,UAAiC,kBAAkC;AAC7F,MAAI,CAAC,iBAAiB,SAAS,SAAS,MAAM,GAAG;AAC/C,cAAM;AAAA,MACJ,gDAAgD,SAAS,MAAM;AAAA,MAC/D;AAAA,IACF;AAAA,EACF;AACF;AAQA,SAAS,mBAAmB,KAAa,YAA4B;AAEnE,QAAM,SAAS,IAAI,IAAI,KAAK,uBAAuB;AACnD,MAAI,CAAC,OAAO,aAAa,IAAI,aAAa,GAAG;AAE3C,WAAO,GAAG,GAAG,GAAG,OAAO,SAAS,MAAM,GAAG,eAAe,UAAU;AAAA,EACpE;AACA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns true if all specified properties of the item are undefined.
|
|
3
|
+
* @param item The object to check.
|
|
4
|
+
* @param properties The list of property names to check on the item.
|
|
5
|
+
* @returns True if all specified properties are undefined, otherwise false.
|
|
6
|
+
*/
|
|
7
|
+
export declare function areAllPropsUndefined(item: Record<string, any>, properties: string[]): boolean;
|
|
8
|
+
//# sourceMappingURL=check-prop-undefined.d.ts.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var check_prop_undefined_exports = {};
|
|
19
|
+
__export(check_prop_undefined_exports, {
|
|
20
|
+
areAllPropsUndefined: () => areAllPropsUndefined
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(check_prop_undefined_exports);
|
|
23
|
+
function areAllPropsUndefined(item, properties) {
|
|
24
|
+
for (const property of properties) {
|
|
25
|
+
if (item[property] !== void 0) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
32
|
+
0 && (module.exports = {
|
|
33
|
+
areAllPropsUndefined
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=check-prop-undefined.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/static-helpers/serialization/check-prop-undefined.ts"],
|
|
4
|
+
"sourcesContent": ["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n/**\n * Returns true if all specified properties of the item are undefined.\n * @param item The object to check.\n * @param properties The list of property names to check on the item.\n * @returns True if all specified properties are undefined, otherwise false.\n */\nexport function areAllPropsUndefined(item: Record<string, any>, properties: string[]): boolean {\n for (const property of properties) {\n if (item[property] !== undefined) {\n return false;\n }\n }\n return true;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AASO,SAAS,qBAAqB,MAA2B,YAA+B;AAC7F,aAAW,YAAY,YAAY;AACjC,QAAI,KAAK,QAAQ,MAAM,QAAW;AAChC,aAAO;AAAA,IACT;AAAA,EACF;AACA,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|