@azure/arm-compute 16.5.0 → 17.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +85 -0
- package/LICENSE +21 -0
- package/README.md +66 -78
- package/dist/index.js +36152 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/computeManagementClient.d.ts +64 -0
- package/dist-esm/src/computeManagementClient.d.ts.map +1 -0
- package/dist-esm/src/computeManagementClient.js +71 -0
- package/dist-esm/src/computeManagementClient.js.map +1 -0
- package/dist-esm/src/computeManagementClientContext.d.ts +16 -0
- package/dist-esm/src/computeManagementClientContext.d.ts.map +1 -0
- package/dist-esm/src/computeManagementClientContext.js +49 -0
- package/dist-esm/src/computeManagementClientContext.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +9259 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +744 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +391 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +13960 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +150 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +1068 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/availabilitySets.d.ts +101 -0
- package/dist-esm/src/operations/availabilitySets.d.ts.map +1 -0
- package/dist-esm/src/operations/availabilitySets.js +401 -0
- package/dist-esm/src/operations/availabilitySets.js.map +1 -0
- package/dist-esm/src/operations/capacityReservationGroups.d.ts +93 -0
- package/dist-esm/src/operations/capacityReservationGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/capacityReservationGroups.js +369 -0
- package/dist-esm/src/operations/capacityReservationGroups.js.map +1 -0
- package/dist-esm/src/operations/capacityReservations.d.ts +110 -0
- package/dist-esm/src/operations/capacityReservations.d.ts.map +1 -0
- package/dist-esm/src/operations/capacityReservations.js +450 -0
- package/dist-esm/src/operations/capacityReservations.js.map +1 -0
- package/dist-esm/src/operations/cloudServiceOperatingSystems.d.ts +80 -0
- package/dist-esm/src/operations/cloudServiceOperatingSystems.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudServiceOperatingSystems.js +309 -0
- package/dist-esm/src/operations/cloudServiceOperatingSystems.js.map +1 -0
- package/dist-esm/src/operations/cloudServiceRoleInstances.d.ts +137 -0
- package/dist-esm/src/operations/cloudServiceRoleInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudServiceRoleInstances.js +539 -0
- package/dist-esm/src/operations/cloudServiceRoleInstances.js.map +1 -0
- package/dist-esm/src/operations/cloudServiceRoles.d.ts +48 -0
- package/dist-esm/src/operations/cloudServiceRoles.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudServiceRoles.js +171 -0
- package/dist-esm/src/operations/cloudServiceRoles.js.map +1 -0
- package/dist-esm/src/operations/cloudServices.d.ts +210 -0
- package/dist-esm/src/operations/cloudServices.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudServices.js +976 -0
- package/dist-esm/src/operations/cloudServices.js.map +1 -0
- package/dist-esm/src/operations/cloudServicesUpdateDomain.d.ts +70 -0
- package/dist-esm/src/operations/cloudServicesUpdateDomain.d.ts.map +1 -0
- package/dist-esm/src/operations/cloudServicesUpdateDomain.js +254 -0
- package/dist-esm/src/operations/cloudServicesUpdateDomain.js.map +1 -0
- package/dist-esm/src/operations/communityGalleries.d.ts +20 -0
- package/dist-esm/src/operations/communityGalleries.d.ts.map +1 -0
- package/dist-esm/src/operations/communityGalleries.js +53 -0
- package/dist-esm/src/operations/communityGalleries.js.map +1 -0
- package/dist-esm/src/operations/communityGalleryImageVersions.d.ts +24 -0
- package/dist-esm/src/operations/communityGalleryImageVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/communityGalleryImageVersions.js +65 -0
- package/dist-esm/src/operations/communityGalleryImageVersions.js.map +1 -0
- package/dist-esm/src/operations/communityGalleryImages.d.ts +21 -0
- package/dist-esm/src/operations/communityGalleryImages.d.ts.map +1 -0
- package/dist-esm/src/operations/communityGalleryImages.js +55 -0
- package/dist-esm/src/operations/communityGalleryImages.js.map +1 -0
- package/dist-esm/src/operations/dedicatedHostGroups.d.ts +88 -0
- package/dist-esm/src/operations/dedicatedHostGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/dedicatedHostGroups.js +336 -0
- package/dist-esm/src/operations/dedicatedHostGroups.js.map +1 -0
- package/dist-esm/src/operations/dedicatedHosts.d.ts +101 -0
- package/dist-esm/src/operations/dedicatedHosts.d.ts.map +1 -0
- package/dist-esm/src/operations/dedicatedHosts.js +395 -0
- package/dist-esm/src/operations/dedicatedHosts.js.map +1 -0
- package/dist-esm/src/operations/diskAccesses.d.ts +217 -0
- package/dist-esm/src/operations/diskAccesses.d.ts.map +1 -0
- package/dist-esm/src/operations/diskAccesses.js +884 -0
- package/dist-esm/src/operations/diskAccesses.js.map +1 -0
- package/dist-esm/src/operations/diskEncryptionSets.d.ts +156 -0
- package/dist-esm/src/operations/diskEncryptionSets.d.ts.map +1 -0
- package/dist-esm/src/operations/diskEncryptionSets.js +637 -0
- package/dist-esm/src/operations/diskEncryptionSets.js.map +1 -0
- package/dist-esm/src/operations/diskRestorePointOperations.d.ts +97 -0
- package/dist-esm/src/operations/diskRestorePointOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/diskRestorePointOperations.js +384 -0
- package/dist-esm/src/operations/diskRestorePointOperations.js.map +1 -0
- package/dist-esm/src/operations/disks.d.ts +159 -0
- package/dist-esm/src/operations/disks.d.ts.map +1 -0
- package/dist-esm/src/operations/disks.js +636 -0
- package/dist-esm/src/operations/disks.js.map +1 -0
- package/dist-esm/src/operations/galleries.d.ts +111 -0
- package/dist-esm/src/operations/galleries.d.ts.map +1 -0
- package/dist-esm/src/operations/galleries.js +504 -0
- package/dist-esm/src/operations/galleries.js.map +1 -0
- package/dist-esm/src/operations/galleryApplicationVersions.d.ts +142 -0
- package/dist-esm/src/operations/galleryApplicationVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/galleryApplicationVersions.js +498 -0
- package/dist-esm/src/operations/galleryApplicationVersions.js.map +1 -0
- package/dist-esm/src/operations/galleryApplications.d.ts +117 -0
- package/dist-esm/src/operations/galleryApplications.d.ts.map +1 -0
- package/dist-esm/src/operations/galleryApplications.js +447 -0
- package/dist-esm/src/operations/galleryApplications.js.map +1 -0
- package/dist-esm/src/operations/galleryImageVersions.d.ts +126 -0
- package/dist-esm/src/operations/galleryImageVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/galleryImageVersions.js +476 -0
- package/dist-esm/src/operations/galleryImageVersions.js.map +1 -0
- package/dist-esm/src/operations/galleryImages.d.ts +117 -0
- package/dist-esm/src/operations/galleryImages.d.ts.map +1 -0
- package/dist-esm/src/operations/galleryImages.js +447 -0
- package/dist-esm/src/operations/galleryImages.js.map +1 -0
- package/dist-esm/src/operations/gallerySharingProfile.d.ts +30 -0
- package/dist-esm/src/operations/gallerySharingProfile.d.ts.map +1 -0
- package/dist-esm/src/operations/gallerySharingProfile.js +109 -0
- package/dist-esm/src/operations/gallerySharingProfile.js.map +1 -0
- package/dist-esm/src/operations/images.d.ts +109 -0
- package/dist-esm/src/operations/images.d.ts.map +1 -0
- package/dist-esm/src/operations/images.js +472 -0
- package/dist-esm/src/operations/images.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +57 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/logAnalytics.d.ts +44 -0
- package/dist-esm/src/operations/logAnalytics.d.ts.map +1 -0
- package/dist-esm/src/operations/logAnalytics.js +184 -0
- package/dist-esm/src/operations/logAnalytics.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +26 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +87 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/proximityPlacementGroups.d.ts +83 -0
- package/dist-esm/src/operations/proximityPlacementGroups.d.ts.map +1 -0
- package/dist-esm/src/operations/proximityPlacementGroups.js +331 -0
- package/dist-esm/src/operations/proximityPlacementGroups.js.map +1 -0
- package/dist-esm/src/operations/resourceSkus.d.ts +32 -0
- package/dist-esm/src/operations/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceSkus.js +126 -0
- package/dist-esm/src/operations/resourceSkus.js.map +1 -0
- package/dist-esm/src/operations/restorePointCollections.d.ts +99 -0
- package/dist-esm/src/operations/restorePointCollections.d.ts.map +1 -0
- package/dist-esm/src/operations/restorePointCollections.js +411 -0
- package/dist-esm/src/operations/restorePointCollections.js.map +1 -0
- package/dist-esm/src/operations/restorePoints.d.ts +58 -0
- package/dist-esm/src/operations/restorePoints.d.ts.map +1 -0
- package/dist-esm/src/operations/restorePoints.js +236 -0
- package/dist-esm/src/operations/restorePoints.js.map +1 -0
- package/dist-esm/src/operations/sharedGalleries.d.ts +42 -0
- package/dist-esm/src/operations/sharedGalleries.d.ts.map +1 -0
- package/dist-esm/src/operations/sharedGalleries.js +162 -0
- package/dist-esm/src/operations/sharedGalleries.js.map +1 -0
- package/dist-esm/src/operations/sharedGalleryImageVersions.d.ts +56 -0
- package/dist-esm/src/operations/sharedGalleryImageVersions.d.ts.map +1 -0
- package/dist-esm/src/operations/sharedGalleryImageVersions.js +188 -0
- package/dist-esm/src/operations/sharedGalleryImageVersions.js.map +1 -0
- package/dist-esm/src/operations/sharedGalleryImages.d.ts +47 -0
- package/dist-esm/src/operations/sharedGalleryImages.d.ts.map +1 -0
- package/dist-esm/src/operations/sharedGalleryImages.js +170 -0
- package/dist-esm/src/operations/sharedGalleryImages.js.map +1 -0
- package/dist-esm/src/operations/snapshots.d.ts +159 -0
- package/dist-esm/src/operations/snapshots.d.ts.map +1 -0
- package/dist-esm/src/operations/snapshots.js +636 -0
- package/dist-esm/src/operations/snapshots.js.map +1 -0
- package/dist-esm/src/operations/sshPublicKeys.d.ts +96 -0
- package/dist-esm/src/operations/sshPublicKeys.d.ts.map +1 -0
- package/dist-esm/src/operations/sshPublicKeys.js +364 -0
- package/dist-esm/src/operations/sshPublicKeys.js.map +1 -0
- package/dist-esm/src/operations/usageOperations.d.ts +37 -0
- package/dist-esm/src/operations/usageOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/usageOperations.js +128 -0
- package/dist-esm/src/operations/usageOperations.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineExtensionImages.d.ts +37 -0
- package/dist-esm/src/operations/virtualMachineExtensionImages.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineExtensionImages.js +135 -0
- package/dist-esm/src/operations/virtualMachineExtensionImages.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineExtensions.d.ts +81 -0
- package/dist-esm/src/operations/virtualMachineExtensions.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineExtensions.js +325 -0
- package/dist-esm/src/operations/virtualMachineExtensions.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineImages.d.ts +54 -0
- package/dist-esm/src/operations/virtualMachineImages.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineImages.js +214 -0
- package/dist-esm/src/operations/virtualMachineImages.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineImagesEdgeZone.d.ts +60 -0
- package/dist-esm/src/operations/virtualMachineImagesEdgeZone.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineImagesEdgeZone.js +240 -0
- package/dist-esm/src/operations/virtualMachineImagesEdgeZone.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineRunCommands.d.ts +127 -0
- package/dist-esm/src/operations/virtualMachineRunCommands.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineRunCommands.js +545 -0
- package/dist-esm/src/operations/virtualMachineRunCommands.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.d.ts +99 -0
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js +405 -0
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetRollingUpgrades.d.ts +71 -0
- package/dist-esm/src/operations/virtualMachineScaleSetRollingUpgrades.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetRollingUpgrades.js +247 -0
- package/dist-esm/src/operations/virtualMachineScaleSetRollingUpgrades.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMExtensions.d.ts +89 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMExtensions.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMExtensions.js +373 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMExtensions.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.d.ts +109 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js +459 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts +263 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.js +1027 -0
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSets.d.ts +388 -0
- package/dist-esm/src/operations/virtualMachineScaleSets.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineScaleSets.js +1620 -0
- package/dist-esm/src/operations/virtualMachineScaleSets.js.map +1 -0
- package/dist-esm/src/operations/virtualMachineSizes.d.ts +30 -0
- package/dist-esm/src/operations/virtualMachineSizes.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachineSizes.js +95 -0
- package/dist-esm/src/operations/virtualMachineSizes.js.map +1 -0
- package/dist-esm/src/operations/virtualMachines.d.ts +379 -0
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operations/virtualMachines.js +1661 -0
- package/dist-esm/src/operations/virtualMachines.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/availabilitySets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/availabilitySets.js +9 -0
- package/dist-esm/src/operationsInterfaces/availabilitySets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/capacityReservationGroups.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/capacityReservationGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/capacityReservationGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/capacityReservationGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/capacityReservations.d.ts +83 -0
- package/dist-esm/src/operationsInterfaces/capacityReservations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/capacityReservations.js +9 -0
- package/dist-esm/src/operationsInterfaces/capacityReservations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceOperatingSystems.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceOperatingSystems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceOperatingSystems.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceOperatingSystems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoleInstances.d.ts +111 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoleInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoleInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoleInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoles.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoles.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudServiceRoles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServices.d.ts +171 -0
- package/dist-esm/src/operationsInterfaces/cloudServices.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServices.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudServices.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServicesUpdateDomain.d.ts +45 -0
- package/dist-esm/src/operationsInterfaces/cloudServicesUpdateDomain.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/cloudServicesUpdateDomain.js +9 -0
- package/dist-esm/src/operationsInterfaces/cloudServicesUpdateDomain.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/communityGalleries.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/communityGalleries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/communityGalleries.js +9 -0
- package/dist-esm/src/operationsInterfaces/communityGalleries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImageVersions.d.ts +16 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImageVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImageVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImageVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImages.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImages.js +9 -0
- package/dist-esm/src/operationsInterfaces/communityGalleryImages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHostGroups.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHostGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHostGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHostGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHosts.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHosts.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHosts.js +9 -0
- package/dist-esm/src/operationsInterfaces/dedicatedHosts.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/diskAccesses.d.ts +159 -0
- package/dist-esm/src/operationsInterfaces/diskAccesses.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/diskAccesses.js +9 -0
- package/dist-esm/src/operationsInterfaces/diskAccesses.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/diskEncryptionSets.d.ts +98 -0
- package/dist-esm/src/operationsInterfaces/diskEncryptionSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/diskEncryptionSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/diskEncryptionSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/diskRestorePointOperations.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/diskRestorePointOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/diskRestorePointOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/diskRestorePointOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/disks.d.ts +123 -0
- package/dist-esm/src/operationsInterfaces/disks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/disks.js +9 -0
- package/dist-esm/src/operationsInterfaces/disks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleries.d.ts +75 -0
- package/dist-esm/src/operationsInterfaces/galleries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleries.js +9 -0
- package/dist-esm/src/operationsInterfaces/galleries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryApplicationVersions.d.ts +110 -0
- package/dist-esm/src/operationsInterfaces/galleryApplicationVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryApplicationVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/galleryApplicationVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryApplications.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/galleryApplications.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryApplications.js +9 -0
- package/dist-esm/src/operationsInterfaces/galleryApplications.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryImageVersions.d.ts +97 -0
- package/dist-esm/src/operationsInterfaces/galleryImageVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryImageVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/galleryImageVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryImages.d.ts +90 -0
- package/dist-esm/src/operationsInterfaces/galleryImages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/galleryImages.js +9 -0
- package/dist-esm/src/operationsInterfaces/galleryImages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/gallerySharingProfile.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/gallerySharingProfile.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/gallerySharingProfile.js +9 -0
- package/dist-esm/src/operationsInterfaces/gallerySharingProfile.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.js +9 -0
- package/dist-esm/src/operationsInterfaces/images.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +57 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/logAnalytics.d.ts +36 -0
- package/dist-esm/src/operationsInterfaces/logAnalytics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/logAnalytics.js +9 -0
- package/dist-esm/src/operationsInterfaces/logAnalytics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/proximityPlacementGroups.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/proximityPlacementGroups.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/proximityPlacementGroups.js +9 -0
- package/dist-esm/src/operationsInterfaces/proximityPlacementGroups.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceSkus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/restorePointCollections.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/restorePointCollections.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/restorePointCollections.js +9 -0
- package/dist-esm/src/operationsInterfaces/restorePointCollections.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/restorePoints.d.ts +50 -0
- package/dist-esm/src/operationsInterfaces/restorePoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/restorePoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/restorePoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleries.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleries.js +9 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImageVersions.d.ts +27 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImageVersions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImageVersions.js +9 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImageVersions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImages.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImages.js +9 -0
- package/dist-esm/src/operationsInterfaces/sharedGalleryImages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts +123 -0
- package/dist-esm/src/operationsInterfaces/snapshots.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/snapshots.js +9 -0
- package/dist-esm/src/operationsInterfaces/snapshots.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sshPublicKeys.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/sshPublicKeys.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sshPublicKeys.js +9 -0
- package/dist-esm/src/operationsInterfaces/sshPublicKeys.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageOperations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/usageOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/usageOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/usageOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensionImages.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensionImages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensionImages.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensionImages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensions.d.ts +73 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineExtensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImages.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImages.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImages.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImages.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImagesEdgeZone.d.ts +52 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImagesEdgeZone.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImagesEdgeZone.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineImagesEdgeZone.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineRunCommands.d.ts +87 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineRunCommands.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineRunCommands.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineRunCommands.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetExtensions.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetExtensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetExtensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetExtensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetRollingUpgrades.d.ts +63 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetRollingUpgrades.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetRollingUpgrades.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetRollingUpgrades.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMExtensions.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMExtensions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMExtensions.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMExtensions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMRunCommands.d.ts +82 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMRunCommands.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMRunCommands.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMRunCommands.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.d.ts +238 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.d.ts +300 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineSizes.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineSizes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineSizes.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachineSizes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +317 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js +9 -0
- package/dist-esm/src/operationsInterfaces/virtualMachines.js.map +1 -0
- package/dist-esm/test/compute_examples.d.ts +2 -0
- package/dist-esm/test/compute_examples.d.ts.map +1 -0
- package/dist-esm/test/compute_examples.js +298 -0
- package/dist-esm/test/compute_examples.js.map +1 -0
- package/package.json +65 -31
- package/review/arm-compute.api.md +7647 -0
- package/rollup.config.js +181 -30
- package/src/computeManagementClient.ts +230 -129
- package/src/computeManagementClientContext.ts +45 -42
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +8701 -15893
- package/src/models/mappers.ts +8539 -9152
- package/src/models/parameters.ts +869 -312
- package/src/operations/availabilitySets.ts +349 -373
- package/src/operations/capacityReservationGroups.ts +289 -327
- package/src/operations/capacityReservations.ts +479 -251
- package/src/operations/cloudServiceOperatingSystems.ts +255 -232
- package/src/operations/cloudServiceRoleInstances.ts +569 -379
- package/src/operations/cloudServiceRoles.ts +153 -124
- package/src/operations/cloudServices.ts +1036 -589
- package/src/operations/cloudServicesUpdateDomain.ts +259 -182
- package/src/operations/communityGalleries.ts +34 -48
- package/src/operations/communityGalleryImageVersions.ts +40 -55
- package/src/operations/communityGalleryImages.ts +36 -52
- package/src/operations/dedicatedHostGroups.ts +282 -345
- package/src/operations/dedicatedHosts.ts +459 -277
- package/src/operations/diskAccesses.ts +916 -601
- package/src/operations/diskEncryptionSets.ts +650 -417
- package/src/operations/diskRestorePointOperations.ts +391 -210
- package/src/operations/disks.ts +696 -450
- package/src/operations/galleries.ts +513 -325
- package/src/operations/galleryApplicationVersions.ts +535 -295
- package/src/operations/galleryApplications.ts +490 -278
- package/src/operations/galleryImageVersions.ts +514 -276
- package/src/operations/galleryImages.ts +486 -272
- package/src/operations/gallerySharingProfile.ts +110 -49
- package/src/operations/images.ts +498 -343
- package/src/operations/index.ts +1 -2
- package/src/operations/logAnalytics.ts +212 -99
- package/src/operations/operations.ts +61 -39
- package/src/operations/proximityPlacementGroups.ts +277 -339
- package/src/operations/resourceSkus.ts +93 -82
- package/src/operations/restorePointCollections.ts +350 -327
- package/src/operations/restorePoints.ts +244 -129
- package/src/operations/sharedGalleries.ts +124 -117
- package/src/operations/sharedGalleryImageVersions.ts +174 -134
- package/src/operations/sharedGalleryImages.ts +143 -126
- package/src/operations/snapshots.ts +706 -453
- package/src/operations/sshPublicKeys.ts +306 -387
- package/src/operations/usageOperations.ts +102 -83
- package/src/operations/virtualMachineExtensionImages.ts +92 -152
- package/src/operations/virtualMachineExtensions.ts +371 -243
- package/src/operations/virtualMachineImages.ts +138 -243
- package/src/operations/virtualMachineImagesEdgeZone.ts +148 -247
- package/src/operations/virtualMachineRunCommands.ts +582 -383
- package/src/operations/virtualMachineScaleSetExtensions.ts +454 -274
- package/src/operations/virtualMachineScaleSetRollingUpgrades.ts +280 -172
- package/src/operations/virtualMachineScaleSetVMExtensions.ts +394 -226
- package/src/operations/virtualMachineScaleSetVMRunCommands.ts +497 -250
- package/src/operations/virtualMachineScaleSetVMs.ts +1212 -752
- package/src/operations/virtualMachineScaleSets.ts +1922 -1316
- package/src/operations/virtualMachineSizes.ts +73 -44
- package/src/operations/virtualMachines.ts +1936 -1215
- package/src/operationsInterfaces/availabilitySets.ts +105 -0
- package/src/operationsInterfaces/capacityReservationGroups.ts +99 -0
- package/src/operationsInterfaces/capacityReservations.ts +156 -0
- package/src/operationsInterfaces/cloudServiceOperatingSystems.ts +70 -0
- package/src/operationsInterfaces/cloudServiceRoleInstances.ts +192 -0
- package/src/operationsInterfaces/cloudServiceRoles.ts +45 -0
- package/src/operationsInterfaces/cloudServices.ts +294 -0
- package/src/operationsInterfaces/cloudServicesUpdateDomain.ts +79 -0
- package/src/operationsInterfaces/communityGalleries.ts +27 -0
- package/src/operationsInterfaces/communityGalleryImageVersions.ts +33 -0
- package/src/operationsInterfaces/communityGalleryImages.ts +29 -0
- package/src/operationsInterfaces/dedicatedHostGroups.ts +94 -0
- package/src/operationsInterfaces/dedicatedHosts.ts +148 -0
- package/src/operationsInterfaces/diskAccesses.ts +276 -0
- package/src/operationsInterfaces/diskEncryptionSets.ts +171 -0
- package/src/operationsInterfaces/diskRestorePointOperations.ts +128 -0
- package/src/operationsInterfaces/disks.ts +213 -0
- package/src/operationsInterfaces/galleries.ts +143 -0
- package/src/operationsInterfaces/galleryApplicationVersions.ts +191 -0
- package/src/operationsInterfaces/galleryApplications.ts +163 -0
- package/src/operationsInterfaces/galleryImageVersions.ts +178 -0
- package/src/operationsInterfaces/galleryImages.ts +163 -0
- package/src/operationsInterfaces/gallerySharingProfile.ts +49 -0
- package/src/operationsInterfaces/images.ts +135 -0
- package/src/operationsInterfaces/index.ts +57 -0
- package/src/operationsInterfaces/logAnalytics.ts +77 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/proximityPlacementGroups.ts +91 -0
- package/src/operationsInterfaces/resourceSkus.ts +22 -0
- package/src/operationsInterfaces/restorePointCollections.ts +109 -0
- package/src/operationsInterfaces/restorePoints.ts +97 -0
- package/src/operationsInterfaces/sharedGalleries.ts +40 -0
- package/src/operationsInterfaces/sharedGalleryImageVersions.ts +52 -0
- package/src/operationsInterfaces/sharedGalleryImages.ts +45 -0
- package/src/operationsInterfaces/snapshots.ts +218 -0
- package/src/operationsInterfaces/sshPublicKeys.ts +108 -0
- package/src/operationsInterfaces/usageOperations.ts +25 -0
- package/src/operationsInterfaces/virtualMachineExtensionImages.ts +59 -0
- package/src/operationsInterfaces/virtualMachineExtensions.ts +146 -0
- package/src/operationsInterfaces/virtualMachineImages.ts +90 -0
- package/src/operationsInterfaces/virtualMachineImagesEdgeZone.ts +101 -0
- package/src/operationsInterfaces/virtualMachineRunCommands.ts +171 -0
- package/src/operationsInterfaces/virtualMachineScaleSetExtensions.ts +149 -0
- package/src/operationsInterfaces/virtualMachineScaleSetRollingUpgrades.ts +105 -0
- package/src/operationsInterfaces/virtualMachineScaleSetVMExtensions.ts +164 -0
- package/src/operationsInterfaces/virtualMachineScaleSetVMRunCommands.ts +165 -0
- package/src/operationsInterfaces/virtualMachineScaleSetVMs.ts +419 -0
- package/src/operationsInterfaces/virtualMachineScaleSets.ts +513 -0
- package/src/operationsInterfaces/virtualMachineSizes.ts +28 -0
- package/src/operationsInterfaces/virtualMachines.ts +567 -0
- package/tsconfig.json +3 -3
- package/types/arm-compute.d.ts +14060 -0
- package/types/tsdoc-metadata.json +11 -0
- package/LICENSE.txt +0 -21
- package/dist/arm-compute.js +0 -39882
- package/dist/arm-compute.js.map +0 -1
- package/dist/arm-compute.min.js +0 -1
- package/dist/arm-compute.min.js.map +0 -1
- package/esm/computeManagementClient.d.ts +0 -73
- package/esm/computeManagementClient.d.ts.map +0 -1
- package/esm/computeManagementClient.js +0 -86
- package/esm/computeManagementClient.js.map +0 -1
- package/esm/computeManagementClientContext.d.ts +0 -22
- package/esm/computeManagementClientContext.d.ts.map +0 -1
- package/esm/computeManagementClientContext.js +0 -60
- package/esm/computeManagementClientContext.js.map +0 -1
- package/esm/models/availabilitySetsMappers.d.ts +0 -2
- package/esm/models/availabilitySetsMappers.d.ts.map +0 -1
- package/esm/models/availabilitySetsMappers.js +0 -9
- package/esm/models/availabilitySetsMappers.js.map +0 -1
- package/esm/models/capacityReservationGroupsMappers.d.ts +0 -2
- package/esm/models/capacityReservationGroupsMappers.d.ts.map +0 -1
- package/esm/models/capacityReservationGroupsMappers.js +0 -9
- package/esm/models/capacityReservationGroupsMappers.js.map +0 -1
- package/esm/models/capacityReservationsMappers.d.ts +0 -2
- package/esm/models/capacityReservationsMappers.d.ts.map +0 -1
- package/esm/models/capacityReservationsMappers.js +0 -9
- package/esm/models/capacityReservationsMappers.js.map +0 -1
- package/esm/models/cloudServiceOperatingSystemsMappers.d.ts +0 -2
- package/esm/models/cloudServiceOperatingSystemsMappers.d.ts.map +0 -1
- package/esm/models/cloudServiceOperatingSystemsMappers.js +0 -9
- package/esm/models/cloudServiceOperatingSystemsMappers.js.map +0 -1
- package/esm/models/cloudServiceRoleInstancesMappers.d.ts +0 -2
- package/esm/models/cloudServiceRoleInstancesMappers.d.ts.map +0 -1
- package/esm/models/cloudServiceRoleInstancesMappers.js +0 -9
- package/esm/models/cloudServiceRoleInstancesMappers.js.map +0 -1
- package/esm/models/cloudServiceRolesMappers.d.ts +0 -2
- package/esm/models/cloudServiceRolesMappers.d.ts.map +0 -1
- package/esm/models/cloudServiceRolesMappers.js +0 -9
- package/esm/models/cloudServiceRolesMappers.js.map +0 -1
- package/esm/models/cloudServicesMappers.d.ts +0 -2
- package/esm/models/cloudServicesMappers.d.ts.map +0 -1
- package/esm/models/cloudServicesMappers.js +0 -9
- package/esm/models/cloudServicesMappers.js.map +0 -1
- package/esm/models/cloudServicesUpdateDomainMappers.d.ts +0 -2
- package/esm/models/cloudServicesUpdateDomainMappers.d.ts.map +0 -1
- package/esm/models/cloudServicesUpdateDomainMappers.js +0 -9
- package/esm/models/cloudServicesUpdateDomainMappers.js.map +0 -1
- package/esm/models/communityGalleriesMappers.d.ts +0 -2
- package/esm/models/communityGalleriesMappers.d.ts.map +0 -1
- package/esm/models/communityGalleriesMappers.js +0 -9
- package/esm/models/communityGalleriesMappers.js.map +0 -1
- package/esm/models/communityGalleryImageVersionsMappers.d.ts +0 -2
- package/esm/models/communityGalleryImageVersionsMappers.d.ts.map +0 -1
- package/esm/models/communityGalleryImageVersionsMappers.js +0 -9
- package/esm/models/communityGalleryImageVersionsMappers.js.map +0 -1
- package/esm/models/communityGalleryImagesMappers.d.ts +0 -2
- package/esm/models/communityGalleryImagesMappers.d.ts.map +0 -1
- package/esm/models/communityGalleryImagesMappers.js +0 -9
- package/esm/models/communityGalleryImagesMappers.js.map +0 -1
- package/esm/models/dedicatedHostGroupsMappers.d.ts +0 -2
- package/esm/models/dedicatedHostGroupsMappers.d.ts.map +0 -1
- package/esm/models/dedicatedHostGroupsMappers.js +0 -9
- package/esm/models/dedicatedHostGroupsMappers.js.map +0 -1
- package/esm/models/dedicatedHostsMappers.d.ts +0 -2
- package/esm/models/dedicatedHostsMappers.d.ts.map +0 -1
- package/esm/models/dedicatedHostsMappers.js +0 -9
- package/esm/models/dedicatedHostsMappers.js.map +0 -1
- package/esm/models/diskAccessesMappers.d.ts +0 -2
- package/esm/models/diskAccessesMappers.d.ts.map +0 -1
- package/esm/models/diskAccessesMappers.js +0 -9
- package/esm/models/diskAccessesMappers.js.map +0 -1
- package/esm/models/diskEncryptionSetsMappers.d.ts +0 -2
- package/esm/models/diskEncryptionSetsMappers.d.ts.map +0 -1
- package/esm/models/diskEncryptionSetsMappers.js +0 -9
- package/esm/models/diskEncryptionSetsMappers.js.map +0 -1
- package/esm/models/diskRestorePointOperationsMappers.d.ts +0 -2
- package/esm/models/diskRestorePointOperationsMappers.d.ts.map +0 -1
- package/esm/models/diskRestorePointOperationsMappers.js +0 -9
- package/esm/models/diskRestorePointOperationsMappers.js.map +0 -1
- package/esm/models/disksMappers.d.ts +0 -2
- package/esm/models/disksMappers.d.ts.map +0 -1
- package/esm/models/disksMappers.js +0 -9
- package/esm/models/disksMappers.js.map +0 -1
- package/esm/models/galleriesMappers.d.ts +0 -2
- package/esm/models/galleriesMappers.d.ts.map +0 -1
- package/esm/models/galleriesMappers.js +0 -9
- package/esm/models/galleriesMappers.js.map +0 -1
- package/esm/models/galleryApplicationVersionsMappers.d.ts +0 -2
- package/esm/models/galleryApplicationVersionsMappers.d.ts.map +0 -1
- package/esm/models/galleryApplicationVersionsMappers.js +0 -9
- package/esm/models/galleryApplicationVersionsMappers.js.map +0 -1
- package/esm/models/galleryApplicationsMappers.d.ts +0 -2
- package/esm/models/galleryApplicationsMappers.d.ts.map +0 -1
- package/esm/models/galleryApplicationsMappers.js +0 -9
- package/esm/models/galleryApplicationsMappers.js.map +0 -1
- package/esm/models/galleryImageVersionsMappers.d.ts +0 -2
- package/esm/models/galleryImageVersionsMappers.d.ts.map +0 -1
- package/esm/models/galleryImageVersionsMappers.js +0 -9
- package/esm/models/galleryImageVersionsMappers.js.map +0 -1
- package/esm/models/galleryImagesMappers.d.ts +0 -2
- package/esm/models/galleryImagesMappers.d.ts.map +0 -1
- package/esm/models/galleryImagesMappers.js +0 -9
- package/esm/models/galleryImagesMappers.js.map +0 -1
- package/esm/models/gallerySharingProfileMappers.d.ts +0 -2
- package/esm/models/gallerySharingProfileMappers.d.ts.map +0 -1
- package/esm/models/gallerySharingProfileMappers.js +0 -9
- package/esm/models/gallerySharingProfileMappers.js.map +0 -1
- package/esm/models/imagesMappers.d.ts +0 -2
- package/esm/models/imagesMappers.d.ts.map +0 -1
- package/esm/models/imagesMappers.js +0 -9
- package/esm/models/imagesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -16576
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -8
- package/esm/models/index.js.map +0 -1
- package/esm/models/logAnalyticsMappers.d.ts +0 -2
- package/esm/models/logAnalyticsMappers.d.ts.map +0 -1
- package/esm/models/logAnalyticsMappers.js +0 -9
- package/esm/models/logAnalyticsMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -391
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -14578
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -9
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -70
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -732
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/proximityPlacementGroupsMappers.d.ts +0 -2
- package/esm/models/proximityPlacementGroupsMappers.d.ts.map +0 -1
- package/esm/models/proximityPlacementGroupsMappers.js +0 -9
- package/esm/models/proximityPlacementGroupsMappers.js.map +0 -1
- package/esm/models/resourceSkusMappers.d.ts +0 -2
- package/esm/models/resourceSkusMappers.d.ts.map +0 -1
- package/esm/models/resourceSkusMappers.js +0 -9
- package/esm/models/resourceSkusMappers.js.map +0 -1
- package/esm/models/restorePointCollectionsMappers.d.ts +0 -2
- package/esm/models/restorePointCollectionsMappers.d.ts.map +0 -1
- package/esm/models/restorePointCollectionsMappers.js +0 -9
- package/esm/models/restorePointCollectionsMappers.js.map +0 -1
- package/esm/models/restorePointsMappers.d.ts +0 -2
- package/esm/models/restorePointsMappers.d.ts.map +0 -1
- package/esm/models/restorePointsMappers.js +0 -9
- package/esm/models/restorePointsMappers.js.map +0 -1
- package/esm/models/sharedGalleriesMappers.d.ts +0 -2
- package/esm/models/sharedGalleriesMappers.d.ts.map +0 -1
- package/esm/models/sharedGalleriesMappers.js +0 -9
- package/esm/models/sharedGalleriesMappers.js.map +0 -1
- package/esm/models/sharedGalleryImageVersionsMappers.d.ts +0 -2
- package/esm/models/sharedGalleryImageVersionsMappers.d.ts.map +0 -1
- package/esm/models/sharedGalleryImageVersionsMappers.js +0 -9
- package/esm/models/sharedGalleryImageVersionsMappers.js.map +0 -1
- package/esm/models/sharedGalleryImagesMappers.d.ts +0 -2
- package/esm/models/sharedGalleryImagesMappers.d.ts.map +0 -1
- package/esm/models/sharedGalleryImagesMappers.js +0 -9
- package/esm/models/sharedGalleryImagesMappers.js.map +0 -1
- package/esm/models/snapshotsMappers.d.ts +0 -2
- package/esm/models/snapshotsMappers.d.ts.map +0 -1
- package/esm/models/snapshotsMappers.js +0 -9
- package/esm/models/snapshotsMappers.js.map +0 -1
- package/esm/models/sshPublicKeysMappers.d.ts +0 -2
- package/esm/models/sshPublicKeysMappers.d.ts.map +0 -1
- package/esm/models/sshPublicKeysMappers.js +0 -9
- package/esm/models/sshPublicKeysMappers.js.map +0 -1
- package/esm/models/usageOperationsMappers.d.ts +0 -2
- package/esm/models/usageOperationsMappers.d.ts.map +0 -1
- package/esm/models/usageOperationsMappers.js +0 -9
- package/esm/models/usageOperationsMappers.js.map +0 -1
- package/esm/models/virtualMachineExtensionImagesMappers.d.ts +0 -2
- package/esm/models/virtualMachineExtensionImagesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineExtensionImagesMappers.js +0 -9
- package/esm/models/virtualMachineExtensionImagesMappers.js.map +0 -1
- package/esm/models/virtualMachineExtensionsMappers.d.ts +0 -2
- package/esm/models/virtualMachineExtensionsMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineExtensionsMappers.js +0 -9
- package/esm/models/virtualMachineExtensionsMappers.js.map +0 -1
- package/esm/models/virtualMachineImagesEdgeZoneMappers.d.ts +0 -2
- package/esm/models/virtualMachineImagesEdgeZoneMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineImagesEdgeZoneMappers.js +0 -9
- package/esm/models/virtualMachineImagesEdgeZoneMappers.js.map +0 -1
- package/esm/models/virtualMachineImagesMappers.d.ts +0 -2
- package/esm/models/virtualMachineImagesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineImagesMappers.js +0 -9
- package/esm/models/virtualMachineImagesMappers.js.map +0 -1
- package/esm/models/virtualMachineRunCommandsMappers.d.ts +0 -2
- package/esm/models/virtualMachineRunCommandsMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineRunCommandsMappers.js +0 -9
- package/esm/models/virtualMachineRunCommandsMappers.js.map +0 -1
- package/esm/models/virtualMachineScaleSetExtensionsMappers.d.ts +0 -2
- package/esm/models/virtualMachineScaleSetExtensionsMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineScaleSetExtensionsMappers.js +0 -9
- package/esm/models/virtualMachineScaleSetExtensionsMappers.js.map +0 -1
- package/esm/models/virtualMachineScaleSetRollingUpgradesMappers.d.ts +0 -2
- package/esm/models/virtualMachineScaleSetRollingUpgradesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineScaleSetRollingUpgradesMappers.js +0 -9
- package/esm/models/virtualMachineScaleSetRollingUpgradesMappers.js.map +0 -1
- package/esm/models/virtualMachineScaleSetVMExtensionsMappers.d.ts +0 -2
- package/esm/models/virtualMachineScaleSetVMExtensionsMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineScaleSetVMExtensionsMappers.js +0 -9
- package/esm/models/virtualMachineScaleSetVMExtensionsMappers.js.map +0 -1
- package/esm/models/virtualMachineScaleSetVMRunCommandsMappers.d.ts +0 -2
- package/esm/models/virtualMachineScaleSetVMRunCommandsMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineScaleSetVMRunCommandsMappers.js +0 -9
- package/esm/models/virtualMachineScaleSetVMRunCommandsMappers.js.map +0 -1
- package/esm/models/virtualMachineScaleSetVMsMappers.d.ts +0 -2
- package/esm/models/virtualMachineScaleSetVMsMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineScaleSetVMsMappers.js +0 -9
- package/esm/models/virtualMachineScaleSetVMsMappers.js.map +0 -1
- package/esm/models/virtualMachineScaleSetsMappers.d.ts +0 -2
- package/esm/models/virtualMachineScaleSetsMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineScaleSetsMappers.js +0 -9
- package/esm/models/virtualMachineScaleSetsMappers.js.map +0 -1
- package/esm/models/virtualMachineSizesMappers.d.ts +0 -2
- package/esm/models/virtualMachineSizesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachineSizesMappers.js +0 -9
- package/esm/models/virtualMachineSizesMappers.js.map +0 -1
- package/esm/models/virtualMachinesMappers.d.ts +0 -2
- package/esm/models/virtualMachinesMappers.d.ts.map +0 -1
- package/esm/models/virtualMachinesMappers.js +0 -9
- package/esm/models/virtualMachinesMappers.js.map +0 -1
- package/esm/operations/availabilitySets.d.ts +0 -194
- package/esm/operations/availabilitySets.d.ts.map +0 -1
- package/esm/operations/availabilitySets.js +0 -307
- package/esm/operations/availabilitySets.js.map +0 -1
- package/esm/operations/capacityReservationGroups.d.ts +0 -182
- package/esm/operations/capacityReservationGroups.d.ts.map +0 -1
- package/esm/operations/capacityReservationGroups.js +0 -282
- package/esm/operations/capacityReservationGroups.js.map +0 -1
- package/esm/operations/capacityReservations.d.ts +0 -145
- package/esm/operations/capacityReservations.d.ts.map +0 -1
- package/esm/operations/capacityReservations.js +0 -306
- package/esm/operations/capacityReservations.js.map +0 -1
- package/esm/operations/cloudServiceOperatingSystems.d.ts +0 -137
- package/esm/operations/cloudServiceOperatingSystems.d.ts.map +0 -1
- package/esm/operations/cloudServiceOperatingSystems.js +0 -204
- package/esm/operations/cloudServiceOperatingSystems.js.map +0 -1
- package/esm/operations/cloudServiceRoleInstances.d.ts +0 -209
- package/esm/operations/cloudServiceRoleInstances.d.ts.map +0 -1
- package/esm/operations/cloudServiceRoleInstances.js +0 -410
- package/esm/operations/cloudServiceRoleInstances.js.map +0 -1
- package/esm/operations/cloudServiceRoles.d.ts +0 -78
- package/esm/operations/cloudServiceRoles.d.ts.map +0 -1
- package/esm/operations/cloudServiceRoles.js +0 -119
- package/esm/operations/cloudServiceRoles.js.map +0 -1
- package/esm/operations/cloudServices.d.ts +0 -287
- package/esm/operations/cloudServices.d.ts.map +0 -1
- package/esm/operations/cloudServices.js +0 -692
- package/esm/operations/cloudServices.js.map +0 -1
- package/esm/operations/cloudServicesUpdateDomain.d.ts +0 -107
- package/esm/operations/cloudServicesUpdateDomain.d.ts.map +0 -1
- package/esm/operations/cloudServicesUpdateDomain.js +0 -182
- package/esm/operations/cloudServicesUpdateDomain.js.map +0 -1
- package/esm/operations/communityGalleries.d.ts +0 -34
- package/esm/operations/communityGalleries.d.ts.map +0 -1
- package/esm/operations/communityGalleries.js +0 -57
- package/esm/operations/communityGalleries.js.map +0 -1
- package/esm/operations/communityGalleryImageVersions.d.ts +0 -46
- package/esm/operations/communityGalleryImageVersions.d.ts.map +0 -1
- package/esm/operations/communityGalleryImageVersions.js +0 -61
- package/esm/operations/communityGalleryImageVersions.js.map +0 -1
- package/esm/operations/communityGalleryImages.d.ts +0 -37
- package/esm/operations/communityGalleryImages.d.ts.map +0 -1
- package/esm/operations/communityGalleryImages.js +0 -59
- package/esm/operations/communityGalleryImages.js.map +0 -1
- package/esm/operations/dedicatedHostGroups.d.ts +0 -177
- package/esm/operations/dedicatedHostGroups.d.ts.map +0 -1
- package/esm/operations/dedicatedHostGroups.js +0 -278
- package/esm/operations/dedicatedHostGroups.js.map +0 -1
- package/esm/operations/dedicatedHosts.d.ts +0 -137
- package/esm/operations/dedicatedHosts.d.ts.map +0 -1
- package/esm/operations/dedicatedHosts.js +0 -297
- package/esm/operations/dedicatedHosts.js.map +0 -1
- package/esm/operations/diskAccesses.d.ts +0 -326
- package/esm/operations/diskAccesses.d.ts.map +0 -1
- package/esm/operations/diskAccesses.js +0 -603
- package/esm/operations/diskAccesses.js.map +0 -1
- package/esm/operations/diskEncryptionSets.d.ts +0 -223
- package/esm/operations/diskEncryptionSets.d.ts.map +0 -1
- package/esm/operations/diskEncryptionSets.js +0 -415
- package/esm/operations/diskEncryptionSets.js.map +0 -1
- package/esm/operations/diskRestorePointOperations.d.ts +0 -145
- package/esm/operations/diskRestorePointOperations.d.ts.map +0 -1
- package/esm/operations/diskRestorePointOperations.js +0 -253
- package/esm/operations/diskRestorePointOperations.js.map +0 -1
- package/esm/operations/disks.d.ts +0 -216
- package/esm/operations/disks.d.ts.map +0 -1
- package/esm/operations/disks.js +0 -464
- package/esm/operations/disks.js.map +0 -1
- package/esm/operations/galleries.d.ts +0 -160
- package/esm/operations/galleries.d.ts.map +0 -1
- package/esm/operations/galleries.js +0 -344
- package/esm/operations/galleries.js.map +0 -1
- package/esm/operations/galleryApplicationVersions.d.ts +0 -190
- package/esm/operations/galleryApplicationVersions.d.ts.map +0 -1
- package/esm/operations/galleryApplicationVersions.js +0 -344
- package/esm/operations/galleryApplicationVersions.js.map +0 -1
- package/esm/operations/galleryApplications.d.ts +0 -157
- package/esm/operations/galleryApplications.d.ts.map +0 -1
- package/esm/operations/galleryApplications.js +0 -315
- package/esm/operations/galleryApplications.js.map +0 -1
- package/esm/operations/galleryImageVersions.d.ts +0 -169
- package/esm/operations/galleryImageVersions.d.ts.map +0 -1
- package/esm/operations/galleryImageVersions.js +0 -332
- package/esm/operations/galleryImageVersions.js.map +0 -1
- package/esm/operations/galleryImages.d.ts +0 -155
- package/esm/operations/galleryImages.d.ts.map +0 -1
- package/esm/operations/galleryImages.js +0 -313
- package/esm/operations/galleryImages.js.map +0 -1
- package/esm/operations/gallerySharingProfile.d.ts +0 -32
- package/esm/operations/gallerySharingProfile.d.ts.map +0 -1
- package/esm/operations/gallerySharingProfile.js +0 -86
- package/esm/operations/gallerySharingProfile.js.map +0 -1
- package/esm/operations/images.d.ts +0 -158
- package/esm/operations/images.d.ts.map +0 -1
- package/esm/operations/images.js +0 -340
- package/esm/operations/images.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js +0 -58
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/logAnalytics.d.ts +0 -50
- package/esm/operations/logAnalytics.d.ts.map +0 -1
- package/esm/operations/logAnalytics.js +0 -137
- package/esm/operations/logAnalytics.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -28
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -50
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/proximityPlacementGroups.d.ts +0 -172
- package/esm/operations/proximityPlacementGroups.d.ts.map +0 -1
- package/esm/operations/proximityPlacementGroups.js +0 -277
- package/esm/operations/proximityPlacementGroups.js.map +0 -1
- package/esm/operations/resourceSkus.d.ts +0 -46
- package/esm/operations/resourceSkus.d.ts.map +0 -1
- package/esm/operations/resourceSkus.js +0 -86
- package/esm/operations/resourceSkus.js.map +0 -1
- package/esm/operations/restorePointCollections.d.ts +0 -179
- package/esm/operations/restorePointCollections.d.ts.map +0 -1
- package/esm/operations/restorePointCollections.js +0 -299
- package/esm/operations/restorePointCollections.js.map +0 -1
- package/esm/operations/restorePoints.d.ts +0 -78
- package/esm/operations/restorePoints.d.ts.map +0 -1
- package/esm/operations/restorePoints.js +0 -175
- package/esm/operations/restorePoints.js.map +0 -1
- package/esm/operations/sharedGalleries.d.ts +0 -70
- package/esm/operations/sharedGalleries.d.ts.map +0 -1
- package/esm/operations/sharedGalleries.js +0 -117
- package/esm/operations/sharedGalleries.js.map +0 -1
- package/esm/operations/sharedGalleryImageVersions.d.ts +0 -94
- package/esm/operations/sharedGalleryImageVersions.d.ts.map +0 -1
- package/esm/operations/sharedGalleryImageVersions.js +0 -125
- package/esm/operations/sharedGalleryImageVersions.js.map +0 -1
- package/esm/operations/sharedGalleryImages.d.ts +0 -79
- package/esm/operations/sharedGalleryImages.d.ts.map +0 -1
- package/esm/operations/sharedGalleryImages.js +0 -121
- package/esm/operations/sharedGalleryImages.js.map +0 -1
- package/esm/operations/snapshots.d.ts +0 -218
- package/esm/operations/snapshots.d.ts.map +0 -1
- package/esm/operations/snapshots.js +0 -466
- package/esm/operations/snapshots.js.map +0 -1
- package/esm/operations/sshPublicKeys.d.ts +0 -199
- package/esm/operations/sshPublicKeys.d.ts.map +0 -1
- package/esm/operations/sshPublicKeys.js +0 -308
- package/esm/operations/sshPublicKeys.js.map +0 -1
- package/esm/operations/usageOperations.d.ts +0 -51
- package/esm/operations/usageOperations.d.ts.map +0 -1
- package/esm/operations/usageOperations.js +0 -84
- package/esm/operations/usageOperations.js.map +0 -1
- package/esm/operations/virtualMachineExtensionImages.d.ts +0 -85
- package/esm/operations/virtualMachineExtensionImages.d.ts.map +0 -1
- package/esm/operations/virtualMachineExtensionImages.js +0 -150
- package/esm/operations/virtualMachineExtensionImages.js.map +0 -1
- package/esm/operations/virtualMachineExtensions.d.ts +0 -121
- package/esm/operations/virtualMachineExtensions.d.ts.map +0 -1
- package/esm/operations/virtualMachineExtensions.js +0 -273
- package/esm/operations/virtualMachineExtensions.js.map +0 -1
- package/esm/operations/virtualMachineImages.d.ts +0 -134
- package/esm/operations/virtualMachineImages.d.ts.map +0 -1
- package/esm/operations/virtualMachineImages.js +0 -238
- package/esm/operations/virtualMachineImages.js.map +0 -1
- package/esm/operations/virtualMachineImagesEdgeZone.d.ts +0 -150
- package/esm/operations/virtualMachineImagesEdgeZone.d.ts.map +0 -1
- package/esm/operations/virtualMachineImagesEdgeZone.js +0 -248
- package/esm/operations/virtualMachineImagesEdgeZone.js.map +0 -1
- package/esm/operations/virtualMachineRunCommands.d.ts +0 -194
- package/esm/operations/virtualMachineRunCommands.d.ts.map +0 -1
- package/esm/operations/virtualMachineRunCommands.js +0 -390
- package/esm/operations/virtualMachineRunCommands.js.map +0 -1
- package/esm/operations/virtualMachineScaleSetExtensions.d.ts +0 -137
- package/esm/operations/virtualMachineScaleSetExtensions.d.ts.map +0 -1
- package/esm/operations/virtualMachineScaleSetExtensions.js +0 -302
- package/esm/operations/virtualMachineScaleSetExtensions.js.map +0 -1
- package/esm/operations/virtualMachineScaleSetRollingUpgrades.d.ts +0 -91
- package/esm/operations/virtualMachineScaleSetRollingUpgrades.d.ts.map +0 -1
- package/esm/operations/virtualMachineScaleSetRollingUpgrades.js +0 -209
- package/esm/operations/virtualMachineScaleSetRollingUpgrades.js.map +0 -1
- package/esm/operations/virtualMachineScaleSetVMExtensions.d.ts +0 -133
- package/esm/operations/virtualMachineScaleSetVMExtensions.d.ts.map +0 -1
- package/esm/operations/virtualMachineScaleSetVMExtensions.js +0 -289
- package/esm/operations/virtualMachineScaleSetVMExtensions.js.map +0 -1
- package/esm/operations/virtualMachineScaleSetVMRunCommands.d.ts +0 -147
- package/esm/operations/virtualMachineScaleSetVMRunCommands.d.ts.map +0 -1
- package/esm/operations/virtualMachineScaleSetVMRunCommands.js +0 -315
- package/esm/operations/virtualMachineScaleSetVMRunCommands.js.map +0 -1
- package/esm/operations/virtualMachineScaleSetVMs.d.ts +0 -366
- package/esm/operations/virtualMachineScaleSetVMs.d.ts.map +0 -1
- package/esm/operations/virtualMachineScaleSetVMs.js +0 -841
- package/esm/operations/virtualMachineScaleSetVMs.js.map +0 -1
- package/esm/operations/virtualMachineScaleSets.d.ts +0 -554
- package/esm/operations/virtualMachineScaleSets.d.ts.map +0 -1
- package/esm/operations/virtualMachineScaleSets.js +0 -1243
- package/esm/operations/virtualMachineScaleSets.js.map +0 -1
- package/esm/operations/virtualMachineSizes.d.ts +0 -32
- package/esm/operations/virtualMachineSizes.d.ts.map +0 -1
- package/esm/operations/virtualMachineSizes.js +0 -55
- package/esm/operations/virtualMachineSizes.js.map +0 -1
- package/esm/operations/virtualMachines.d.ts +0 -530
- package/esm/operations/virtualMachines.d.ts.map +0 -1
- package/esm/operations/virtualMachines.js +0 -1222
- package/esm/operations/virtualMachines.js.map +0 -1
- package/src/models/availabilitySetsMappers.ts +0 -266
- package/src/models/capacityReservationGroupsMappers.ts +0 -264
- package/src/models/capacityReservationsMappers.ts +0 -264
- package/src/models/cloudServiceOperatingSystemsMappers.ts +0 -21
- package/src/models/cloudServiceRoleInstancesMappers.ts +0 -251
- package/src/models/cloudServiceRolesMappers.ts +0 -18
- package/src/models/cloudServicesMappers.ts +0 -251
- package/src/models/cloudServicesUpdateDomainMappers.ts +0 -16
- package/src/models/communityGalleriesMappers.ts +0 -24
- package/src/models/communityGalleryImageVersionsMappers.ts +0 -24
- package/src/models/communityGalleryImagesMappers.ts +0 -24
- package/src/models/dedicatedHostGroupsMappers.ts +0 -264
- package/src/models/dedicatedHostsMappers.ts +0 -264
- package/src/models/diskAccessesMappers.ts +0 -249
- package/src/models/diskEncryptionSetsMappers.ts +0 -247
- package/src/models/diskRestorePointOperationsMappers.ts +0 -22
- package/src/models/disksMappers.ts +0 -248
- package/src/models/galleriesMappers.ts +0 -245
- package/src/models/galleryApplicationVersionsMappers.ts +0 -245
- package/src/models/galleryApplicationsMappers.ts +0 -245
- package/src/models/galleryImageVersionsMappers.ts +0 -245
- package/src/models/galleryImagesMappers.ts +0 -245
- package/src/models/gallerySharingProfileMappers.ts +0 -244
- package/src/models/imagesMappers.ts +0 -264
- package/src/models/logAnalyticsMappers.ts +0 -16
- package/src/models/operationsMappers.ts +0 -13
- package/src/models/proximityPlacementGroupsMappers.ts +0 -264
- package/src/models/resourceSkusMappers.ts +0 -20
- package/src/models/restorePointCollectionsMappers.ts +0 -264
- package/src/models/restorePointsMappers.ts +0 -244
- package/src/models/sharedGalleriesMappers.ts +0 -26
- package/src/models/sharedGalleryImageVersionsMappers.ts +0 -26
- package/src/models/sharedGalleryImagesMappers.ts +0 -26
- package/src/models/snapshotsMappers.ts +0 -248
- package/src/models/sshPublicKeysMappers.ts +0 -265
- package/src/models/usageOperationsMappers.ts +0 -14
- package/src/models/virtualMachineExtensionImagesMappers.ts +0 -244
- package/src/models/virtualMachineExtensionsMappers.ts +0 -264
- package/src/models/virtualMachineImagesEdgeZoneMappers.ts +0 -244
- package/src/models/virtualMachineImagesMappers.ts +0 -244
- package/src/models/virtualMachineRunCommandsMappers.ts +0 -268
- package/src/models/virtualMachineScaleSetExtensionsMappers.ts +0 -245
- package/src/models/virtualMachineScaleSetRollingUpgradesMappers.ts +0 -244
- package/src/models/virtualMachineScaleSetVMExtensionsMappers.ts +0 -245
- package/src/models/virtualMachineScaleSetVMRunCommandsMappers.ts +0 -264
- package/src/models/virtualMachineScaleSetVMsMappers.ts +0 -251
- package/src/models/virtualMachineScaleSetsMappers.ts +0 -286
- package/src/models/virtualMachineSizesMappers.ts +0 -13
- package/src/models/virtualMachinesMappers.ts +0 -280
|
@@ -3,24 +3,78 @@
|
|
|
3
3
|
* Licensed under the MIT License.
|
|
4
4
|
*
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
7
|
-
* regenerated.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
8
7
|
*/
|
|
9
8
|
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import * as
|
|
13
|
-
import * as Mappers from "../models/
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { VirtualMachineScaleSets } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
14
13
|
import * as Parameters from "../models/parameters";
|
|
15
14
|
import { ComputeManagementClientContext } from "../computeManagementClientContext";
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
import { PollerLike, PollOperationState, LroEngine } from "@azure/core-lro";
|
|
16
|
+
import { LroImpl } from "../lroImpl";
|
|
17
|
+
import {
|
|
18
|
+
VirtualMachineScaleSet,
|
|
19
|
+
VirtualMachineScaleSetsListByLocationNextOptionalParams,
|
|
20
|
+
VirtualMachineScaleSetsListByLocationOptionalParams,
|
|
21
|
+
VirtualMachineScaleSetsListNextOptionalParams,
|
|
22
|
+
VirtualMachineScaleSetsListOptionalParams,
|
|
23
|
+
VirtualMachineScaleSetsListAllNextOptionalParams,
|
|
24
|
+
VirtualMachineScaleSetsListAllOptionalParams,
|
|
25
|
+
VirtualMachineScaleSetSku,
|
|
26
|
+
VirtualMachineScaleSetsListSkusNextOptionalParams,
|
|
27
|
+
VirtualMachineScaleSetsListSkusOptionalParams,
|
|
28
|
+
UpgradeOperationHistoricalStatusInfo,
|
|
29
|
+
VirtualMachineScaleSetsGetOSUpgradeHistoryNextOptionalParams,
|
|
30
|
+
VirtualMachineScaleSetsGetOSUpgradeHistoryOptionalParams,
|
|
31
|
+
VirtualMachineScaleSetsListByLocationResponse,
|
|
32
|
+
VirtualMachineScaleSetsCreateOrUpdateOptionalParams,
|
|
33
|
+
VirtualMachineScaleSetsCreateOrUpdateResponse,
|
|
34
|
+
VirtualMachineScaleSetUpdate,
|
|
35
|
+
VirtualMachineScaleSetsUpdateOptionalParams,
|
|
36
|
+
VirtualMachineScaleSetsUpdateResponse,
|
|
37
|
+
VirtualMachineScaleSetsDeleteOptionalParams,
|
|
38
|
+
VirtualMachineScaleSetsGetOptionalParams,
|
|
39
|
+
VirtualMachineScaleSetsGetResponse,
|
|
40
|
+
VirtualMachineScaleSetsDeallocateOptionalParams,
|
|
41
|
+
VirtualMachineScaleSetVMInstanceRequiredIDs,
|
|
42
|
+
VirtualMachineScaleSetsDeleteInstancesOptionalParams,
|
|
43
|
+
VirtualMachineScaleSetsGetInstanceViewOptionalParams,
|
|
44
|
+
VirtualMachineScaleSetsGetInstanceViewResponse,
|
|
45
|
+
VirtualMachineScaleSetsListResponse,
|
|
46
|
+
VirtualMachineScaleSetsListAllResponse,
|
|
47
|
+
VirtualMachineScaleSetsListSkusResponse,
|
|
48
|
+
VirtualMachineScaleSetsGetOSUpgradeHistoryResponse,
|
|
49
|
+
VirtualMachineScaleSetsPowerOffOptionalParams,
|
|
50
|
+
VirtualMachineScaleSetsRestartOptionalParams,
|
|
51
|
+
VirtualMachineScaleSetsStartOptionalParams,
|
|
52
|
+
VirtualMachineScaleSetsRedeployOptionalParams,
|
|
53
|
+
VirtualMachineScaleSetsPerformMaintenanceOptionalParams,
|
|
54
|
+
VirtualMachineScaleSetsUpdateInstancesOptionalParams,
|
|
55
|
+
VirtualMachineScaleSetsReimageOptionalParams,
|
|
56
|
+
VirtualMachineScaleSetsReimageAllOptionalParams,
|
|
57
|
+
VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkOptionalParams,
|
|
58
|
+
VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkResponse,
|
|
59
|
+
VMScaleSetConvertToSinglePlacementGroupInput,
|
|
60
|
+
VirtualMachineScaleSetsConvertToSinglePlacementGroupOptionalParams,
|
|
61
|
+
OrchestrationServiceStateInput,
|
|
62
|
+
VirtualMachineScaleSetsSetOrchestrationServiceStateOptionalParams,
|
|
63
|
+
VirtualMachineScaleSetsListByLocationNextResponse,
|
|
64
|
+
VirtualMachineScaleSetsListNextResponse,
|
|
65
|
+
VirtualMachineScaleSetsListAllNextResponse,
|
|
66
|
+
VirtualMachineScaleSetsListSkusNextResponse,
|
|
67
|
+
VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse
|
|
68
|
+
} from "../models";
|
|
69
|
+
|
|
70
|
+
/// <reference lib="esnext.asynciterable" />
|
|
71
|
+
/** Class containing VirtualMachineScaleSets operations. */
|
|
72
|
+
export class VirtualMachineScaleSetsImpl implements VirtualMachineScaleSets {
|
|
19
73
|
private readonly client: ComputeManagementClientContext;
|
|
20
74
|
|
|
21
75
|
/**
|
|
22
|
-
*
|
|
23
|
-
* @param
|
|
76
|
+
* Initialize a new instance of the class VirtualMachineScaleSets class.
|
|
77
|
+
* @param client Reference to the service client
|
|
24
78
|
*/
|
|
25
79
|
constructor(client: ComputeManagementClientContext) {
|
|
26
80
|
this.client = client;
|
|
@@ -29,29 +83,303 @@ export class VirtualMachineScaleSets {
|
|
|
29
83
|
/**
|
|
30
84
|
* Gets all the VM scale sets under the specified subscription for the specified location.
|
|
31
85
|
* @param location The location for which VM scale sets under the subscription are queried.
|
|
32
|
-
* @param
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
public listByLocation(
|
|
89
|
+
location: string,
|
|
90
|
+
options?: VirtualMachineScaleSetsListByLocationOptionalParams
|
|
91
|
+
): PagedAsyncIterableIterator<VirtualMachineScaleSet> {
|
|
92
|
+
const iter = this.listByLocationPagingAll(location, options);
|
|
93
|
+
return {
|
|
94
|
+
next() {
|
|
95
|
+
return iter.next();
|
|
96
|
+
},
|
|
97
|
+
[Symbol.asyncIterator]() {
|
|
98
|
+
return this;
|
|
99
|
+
},
|
|
100
|
+
byPage: () => {
|
|
101
|
+
return this.listByLocationPagingPage(location, options);
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
private async *listByLocationPagingPage(
|
|
107
|
+
location: string,
|
|
108
|
+
options?: VirtualMachineScaleSetsListByLocationOptionalParams
|
|
109
|
+
): AsyncIterableIterator<VirtualMachineScaleSet[]> {
|
|
110
|
+
let result = await this._listByLocation(location, options);
|
|
111
|
+
yield result.value || [];
|
|
112
|
+
let continuationToken = result.nextLink;
|
|
113
|
+
while (continuationToken) {
|
|
114
|
+
result = await this._listByLocationNext(
|
|
115
|
+
location,
|
|
116
|
+
continuationToken,
|
|
117
|
+
options
|
|
118
|
+
);
|
|
119
|
+
continuationToken = result.nextLink;
|
|
120
|
+
yield result.value || [];
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
private async *listByLocationPagingAll(
|
|
125
|
+
location: string,
|
|
126
|
+
options?: VirtualMachineScaleSetsListByLocationOptionalParams
|
|
127
|
+
): AsyncIterableIterator<VirtualMachineScaleSet> {
|
|
128
|
+
for await (const page of this.listByLocationPagingPage(location, options)) {
|
|
129
|
+
yield* page;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
36
133
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @param
|
|
134
|
+
* Gets a list of all VM scale sets under a resource group.
|
|
135
|
+
* @param resourceGroupName The name of the resource group.
|
|
136
|
+
* @param options The options parameters.
|
|
137
|
+
*/
|
|
138
|
+
public list(
|
|
139
|
+
resourceGroupName: string,
|
|
140
|
+
options?: VirtualMachineScaleSetsListOptionalParams
|
|
141
|
+
): PagedAsyncIterableIterator<VirtualMachineScaleSet> {
|
|
142
|
+
const iter = this.listPagingAll(resourceGroupName, options);
|
|
143
|
+
return {
|
|
144
|
+
next() {
|
|
145
|
+
return iter.next();
|
|
146
|
+
},
|
|
147
|
+
[Symbol.asyncIterator]() {
|
|
148
|
+
return this;
|
|
149
|
+
},
|
|
150
|
+
byPage: () => {
|
|
151
|
+
return this.listPagingPage(resourceGroupName, options);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
private async *listPagingPage(
|
|
157
|
+
resourceGroupName: string,
|
|
158
|
+
options?: VirtualMachineScaleSetsListOptionalParams
|
|
159
|
+
): AsyncIterableIterator<VirtualMachineScaleSet[]> {
|
|
160
|
+
let result = await this._list(resourceGroupName, options);
|
|
161
|
+
yield result.value || [];
|
|
162
|
+
let continuationToken = result.nextLink;
|
|
163
|
+
while (continuationToken) {
|
|
164
|
+
result = await this._listNext(
|
|
165
|
+
resourceGroupName,
|
|
166
|
+
continuationToken,
|
|
167
|
+
options
|
|
168
|
+
);
|
|
169
|
+
continuationToken = result.nextLink;
|
|
170
|
+
yield result.value || [];
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
private async *listPagingAll(
|
|
175
|
+
resourceGroupName: string,
|
|
176
|
+
options?: VirtualMachineScaleSetsListOptionalParams
|
|
177
|
+
): AsyncIterableIterator<VirtualMachineScaleSet> {
|
|
178
|
+
for await (const page of this.listPagingPage(resourceGroupName, options)) {
|
|
179
|
+
yield* page;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.
|
|
185
|
+
* Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink
|
|
186
|
+
* is null to fetch all the VM Scale Sets.
|
|
187
|
+
* @param options The options parameters.
|
|
39
188
|
*/
|
|
40
|
-
|
|
189
|
+
public listAll(
|
|
190
|
+
options?: VirtualMachineScaleSetsListAllOptionalParams
|
|
191
|
+
): PagedAsyncIterableIterator<VirtualMachineScaleSet> {
|
|
192
|
+
const iter = this.listAllPagingAll(options);
|
|
193
|
+
return {
|
|
194
|
+
next() {
|
|
195
|
+
return iter.next();
|
|
196
|
+
},
|
|
197
|
+
[Symbol.asyncIterator]() {
|
|
198
|
+
return this;
|
|
199
|
+
},
|
|
200
|
+
byPage: () => {
|
|
201
|
+
return this.listAllPagingPage(options);
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
private async *listAllPagingPage(
|
|
207
|
+
options?: VirtualMachineScaleSetsListAllOptionalParams
|
|
208
|
+
): AsyncIterableIterator<VirtualMachineScaleSet[]> {
|
|
209
|
+
let result = await this._listAll(options);
|
|
210
|
+
yield result.value || [];
|
|
211
|
+
let continuationToken = result.nextLink;
|
|
212
|
+
while (continuationToken) {
|
|
213
|
+
result = await this._listAllNext(continuationToken, options);
|
|
214
|
+
continuationToken = result.nextLink;
|
|
215
|
+
yield result.value || [];
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
private async *listAllPagingAll(
|
|
220
|
+
options?: VirtualMachineScaleSetsListAllOptionalParams
|
|
221
|
+
): AsyncIterableIterator<VirtualMachineScaleSet> {
|
|
222
|
+
for await (const page of this.listAllPagingPage(options)) {
|
|
223
|
+
yield* page;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances
|
|
229
|
+
* allowed for each SKU.
|
|
230
|
+
* @param resourceGroupName The name of the resource group.
|
|
231
|
+
* @param vmScaleSetName The name of the VM scale set.
|
|
232
|
+
* @param options The options parameters.
|
|
233
|
+
*/
|
|
234
|
+
public listSkus(
|
|
235
|
+
resourceGroupName: string,
|
|
236
|
+
vmScaleSetName: string,
|
|
237
|
+
options?: VirtualMachineScaleSetsListSkusOptionalParams
|
|
238
|
+
): PagedAsyncIterableIterator<VirtualMachineScaleSetSku> {
|
|
239
|
+
const iter = this.listSkusPagingAll(
|
|
240
|
+
resourceGroupName,
|
|
241
|
+
vmScaleSetName,
|
|
242
|
+
options
|
|
243
|
+
);
|
|
244
|
+
return {
|
|
245
|
+
next() {
|
|
246
|
+
return iter.next();
|
|
247
|
+
},
|
|
248
|
+
[Symbol.asyncIterator]() {
|
|
249
|
+
return this;
|
|
250
|
+
},
|
|
251
|
+
byPage: () => {
|
|
252
|
+
return this.listSkusPagingPage(
|
|
253
|
+
resourceGroupName,
|
|
254
|
+
vmScaleSetName,
|
|
255
|
+
options
|
|
256
|
+
);
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
private async *listSkusPagingPage(
|
|
262
|
+
resourceGroupName: string,
|
|
263
|
+
vmScaleSetName: string,
|
|
264
|
+
options?: VirtualMachineScaleSetsListSkusOptionalParams
|
|
265
|
+
): AsyncIterableIterator<VirtualMachineScaleSetSku[]> {
|
|
266
|
+
let result = await this._listSkus(
|
|
267
|
+
resourceGroupName,
|
|
268
|
+
vmScaleSetName,
|
|
269
|
+
options
|
|
270
|
+
);
|
|
271
|
+
yield result.value || [];
|
|
272
|
+
let continuationToken = result.nextLink;
|
|
273
|
+
while (continuationToken) {
|
|
274
|
+
result = await this._listSkusNext(
|
|
275
|
+
resourceGroupName,
|
|
276
|
+
vmScaleSetName,
|
|
277
|
+
continuationToken,
|
|
278
|
+
options
|
|
279
|
+
);
|
|
280
|
+
continuationToken = result.nextLink;
|
|
281
|
+
yield result.value || [];
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
private async *listSkusPagingAll(
|
|
286
|
+
resourceGroupName: string,
|
|
287
|
+
vmScaleSetName: string,
|
|
288
|
+
options?: VirtualMachineScaleSetsListSkusOptionalParams
|
|
289
|
+
): AsyncIterableIterator<VirtualMachineScaleSetSku> {
|
|
290
|
+
for await (const page of this.listSkusPagingPage(
|
|
291
|
+
resourceGroupName,
|
|
292
|
+
vmScaleSetName,
|
|
293
|
+
options
|
|
294
|
+
)) {
|
|
295
|
+
yield* page;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Gets list of OS upgrades on a VM scale set instance.
|
|
301
|
+
* @param resourceGroupName The name of the resource group.
|
|
302
|
+
* @param vmScaleSetName The name of the VM scale set.
|
|
303
|
+
* @param options The options parameters.
|
|
304
|
+
*/
|
|
305
|
+
public listOSUpgradeHistory(
|
|
306
|
+
resourceGroupName: string,
|
|
307
|
+
vmScaleSetName: string,
|
|
308
|
+
options?: VirtualMachineScaleSetsGetOSUpgradeHistoryOptionalParams
|
|
309
|
+
): PagedAsyncIterableIterator<UpgradeOperationHistoricalStatusInfo> {
|
|
310
|
+
const iter = this.getOSUpgradeHistoryPagingAll(
|
|
311
|
+
resourceGroupName,
|
|
312
|
+
vmScaleSetName,
|
|
313
|
+
options
|
|
314
|
+
);
|
|
315
|
+
return {
|
|
316
|
+
next() {
|
|
317
|
+
return iter.next();
|
|
318
|
+
},
|
|
319
|
+
[Symbol.asyncIterator]() {
|
|
320
|
+
return this;
|
|
321
|
+
},
|
|
322
|
+
byPage: () => {
|
|
323
|
+
return this.getOSUpgradeHistoryPagingPage(
|
|
324
|
+
resourceGroupName,
|
|
325
|
+
vmScaleSetName,
|
|
326
|
+
options
|
|
327
|
+
);
|
|
328
|
+
}
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
private async *getOSUpgradeHistoryPagingPage(
|
|
333
|
+
resourceGroupName: string,
|
|
334
|
+
vmScaleSetName: string,
|
|
335
|
+
options?: VirtualMachineScaleSetsGetOSUpgradeHistoryOptionalParams
|
|
336
|
+
): AsyncIterableIterator<UpgradeOperationHistoricalStatusInfo[]> {
|
|
337
|
+
let result = await this._getOSUpgradeHistory(
|
|
338
|
+
resourceGroupName,
|
|
339
|
+
vmScaleSetName,
|
|
340
|
+
options
|
|
341
|
+
);
|
|
342
|
+
yield result.value || [];
|
|
343
|
+
let continuationToken = result.nextLink;
|
|
344
|
+
while (continuationToken) {
|
|
345
|
+
result = await this._getOSUpgradeHistoryNext(
|
|
346
|
+
resourceGroupName,
|
|
347
|
+
vmScaleSetName,
|
|
348
|
+
continuationToken,
|
|
349
|
+
options
|
|
350
|
+
);
|
|
351
|
+
continuationToken = result.nextLink;
|
|
352
|
+
yield result.value || [];
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
private async *getOSUpgradeHistoryPagingAll(
|
|
357
|
+
resourceGroupName: string,
|
|
358
|
+
vmScaleSetName: string,
|
|
359
|
+
options?: VirtualMachineScaleSetsGetOSUpgradeHistoryOptionalParams
|
|
360
|
+
): AsyncIterableIterator<UpgradeOperationHistoricalStatusInfo> {
|
|
361
|
+
for await (const page of this.getOSUpgradeHistoryPagingPage(
|
|
362
|
+
resourceGroupName,
|
|
363
|
+
vmScaleSetName,
|
|
364
|
+
options
|
|
365
|
+
)) {
|
|
366
|
+
yield* page;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
41
370
|
/**
|
|
371
|
+
* Gets all the VM scale sets under the specified subscription for the specified location.
|
|
42
372
|
* @param location The location for which VM scale sets under the subscription are queried.
|
|
43
|
-
* @param options The
|
|
44
|
-
* @param callback The callback
|
|
373
|
+
* @param options The options parameters.
|
|
45
374
|
*/
|
|
46
|
-
|
|
47
|
-
|
|
375
|
+
private _listByLocation(
|
|
376
|
+
location: string,
|
|
377
|
+
options?: VirtualMachineScaleSetsListByLocationOptionalParams
|
|
378
|
+
): Promise<VirtualMachineScaleSetsListByLocationResponse> {
|
|
48
379
|
return this.client.sendOperationRequest(
|
|
49
|
-
{
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
listByLocationOperationSpec,
|
|
54
|
-
callback) as Promise<Models.VirtualMachineScaleSetsListByLocationResponse>;
|
|
380
|
+
{ location, options },
|
|
381
|
+
listByLocationOperationSpec
|
|
382
|
+
);
|
|
55
383
|
}
|
|
56
384
|
|
|
57
385
|
/**
|
|
@@ -59,12 +387,89 @@ export class VirtualMachineScaleSets {
|
|
|
59
387
|
* @param resourceGroupName The name of the resource group.
|
|
60
388
|
* @param vmScaleSetName The name of the VM scale set to create or update.
|
|
61
389
|
* @param parameters The scale set object.
|
|
62
|
-
* @param
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
390
|
+
* @param options The options parameters.
|
|
391
|
+
*/
|
|
392
|
+
async beginCreateOrUpdate(
|
|
393
|
+
resourceGroupName: string,
|
|
394
|
+
vmScaleSetName: string,
|
|
395
|
+
parameters: VirtualMachineScaleSet,
|
|
396
|
+
options?: VirtualMachineScaleSetsCreateOrUpdateOptionalParams
|
|
397
|
+
): Promise<
|
|
398
|
+
PollerLike<
|
|
399
|
+
PollOperationState<VirtualMachineScaleSetsCreateOrUpdateResponse>,
|
|
400
|
+
VirtualMachineScaleSetsCreateOrUpdateResponse
|
|
401
|
+
>
|
|
402
|
+
> {
|
|
403
|
+
const directSendOperation = async (
|
|
404
|
+
args: coreClient.OperationArguments,
|
|
405
|
+
spec: coreClient.OperationSpec
|
|
406
|
+
): Promise<VirtualMachineScaleSetsCreateOrUpdateResponse> => {
|
|
407
|
+
return this.client.sendOperationRequest(args, spec);
|
|
408
|
+
};
|
|
409
|
+
const sendOperation = async (
|
|
410
|
+
args: coreClient.OperationArguments,
|
|
411
|
+
spec: coreClient.OperationSpec
|
|
412
|
+
) => {
|
|
413
|
+
let currentRawResponse:
|
|
414
|
+
| coreClient.FullOperationResponse
|
|
415
|
+
| undefined = undefined;
|
|
416
|
+
const providedCallback = args.options?.onResponse;
|
|
417
|
+
const callback: coreClient.RawResponseCallback = (
|
|
418
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
419
|
+
flatResponse: unknown
|
|
420
|
+
) => {
|
|
421
|
+
currentRawResponse = rawResponse;
|
|
422
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
423
|
+
};
|
|
424
|
+
const updatedArgs = {
|
|
425
|
+
...args,
|
|
426
|
+
options: {
|
|
427
|
+
...args.options,
|
|
428
|
+
onResponse: callback
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
432
|
+
return {
|
|
433
|
+
flatResponse,
|
|
434
|
+
rawResponse: {
|
|
435
|
+
statusCode: currentRawResponse!.status,
|
|
436
|
+
body: currentRawResponse!.parsedBody,
|
|
437
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
const lro = new LroImpl(
|
|
443
|
+
sendOperation,
|
|
444
|
+
{ resourceGroupName, vmScaleSetName, parameters, options },
|
|
445
|
+
createOrUpdateOperationSpec
|
|
446
|
+
);
|
|
447
|
+
return new LroEngine(lro, {
|
|
448
|
+
resumeFrom: options?.resumeFrom,
|
|
449
|
+
intervalInMs: options?.updateIntervalInMs
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Create or update a VM scale set.
|
|
455
|
+
* @param resourceGroupName The name of the resource group.
|
|
456
|
+
* @param vmScaleSetName The name of the VM scale set to create or update.
|
|
457
|
+
* @param parameters The scale set object.
|
|
458
|
+
* @param options The options parameters.
|
|
459
|
+
*/
|
|
460
|
+
async beginCreateOrUpdateAndWait(
|
|
461
|
+
resourceGroupName: string,
|
|
462
|
+
vmScaleSetName: string,
|
|
463
|
+
parameters: VirtualMachineScaleSet,
|
|
464
|
+
options?: VirtualMachineScaleSetsCreateOrUpdateOptionalParams
|
|
465
|
+
): Promise<VirtualMachineScaleSetsCreateOrUpdateResponse> {
|
|
466
|
+
const poller = await this.beginCreateOrUpdate(
|
|
467
|
+
resourceGroupName,
|
|
468
|
+
vmScaleSetName,
|
|
469
|
+
parameters,
|
|
470
|
+
options
|
|
471
|
+
);
|
|
472
|
+
return poller.pollUntilDone();
|
|
68
473
|
}
|
|
69
474
|
|
|
70
475
|
/**
|
|
@@ -72,56 +477,186 @@ export class VirtualMachineScaleSets {
|
|
|
72
477
|
* @param resourceGroupName The name of the resource group.
|
|
73
478
|
* @param vmScaleSetName The name of the VM scale set to create or update.
|
|
74
479
|
* @param parameters The scale set object.
|
|
75
|
-
* @param
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
480
|
+
* @param options The options parameters.
|
|
481
|
+
*/
|
|
482
|
+
async beginUpdate(
|
|
483
|
+
resourceGroupName: string,
|
|
484
|
+
vmScaleSetName: string,
|
|
485
|
+
parameters: VirtualMachineScaleSetUpdate,
|
|
486
|
+
options?: VirtualMachineScaleSetsUpdateOptionalParams
|
|
487
|
+
): Promise<
|
|
488
|
+
PollerLike<
|
|
489
|
+
PollOperationState<VirtualMachineScaleSetsUpdateResponse>,
|
|
490
|
+
VirtualMachineScaleSetsUpdateResponse
|
|
491
|
+
>
|
|
492
|
+
> {
|
|
493
|
+
const directSendOperation = async (
|
|
494
|
+
args: coreClient.OperationArguments,
|
|
495
|
+
spec: coreClient.OperationSpec
|
|
496
|
+
): Promise<VirtualMachineScaleSetsUpdateResponse> => {
|
|
497
|
+
return this.client.sendOperationRequest(args, spec);
|
|
498
|
+
};
|
|
499
|
+
const sendOperation = async (
|
|
500
|
+
args: coreClient.OperationArguments,
|
|
501
|
+
spec: coreClient.OperationSpec
|
|
502
|
+
) => {
|
|
503
|
+
let currentRawResponse:
|
|
504
|
+
| coreClient.FullOperationResponse
|
|
505
|
+
| undefined = undefined;
|
|
506
|
+
const providedCallback = args.options?.onResponse;
|
|
507
|
+
const callback: coreClient.RawResponseCallback = (
|
|
508
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
509
|
+
flatResponse: unknown
|
|
510
|
+
) => {
|
|
511
|
+
currentRawResponse = rawResponse;
|
|
512
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
513
|
+
};
|
|
514
|
+
const updatedArgs = {
|
|
515
|
+
...args,
|
|
516
|
+
options: {
|
|
517
|
+
...args.options,
|
|
518
|
+
onResponse: callback
|
|
519
|
+
}
|
|
520
|
+
};
|
|
521
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
522
|
+
return {
|
|
523
|
+
flatResponse,
|
|
524
|
+
rawResponse: {
|
|
525
|
+
statusCode: currentRawResponse!.status,
|
|
526
|
+
body: currentRawResponse!.parsedBody,
|
|
527
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
528
|
+
}
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
const lro = new LroImpl(
|
|
533
|
+
sendOperation,
|
|
534
|
+
{ resourceGroupName, vmScaleSetName, parameters, options },
|
|
535
|
+
updateOperationSpec
|
|
536
|
+
);
|
|
537
|
+
return new LroEngine(lro, {
|
|
538
|
+
resumeFrom: options?.resumeFrom,
|
|
539
|
+
intervalInMs: options?.updateIntervalInMs
|
|
540
|
+
});
|
|
81
541
|
}
|
|
82
542
|
|
|
83
543
|
/**
|
|
84
|
-
*
|
|
544
|
+
* Update a VM scale set.
|
|
85
545
|
* @param resourceGroupName The name of the resource group.
|
|
86
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
87
|
-
* @param
|
|
88
|
-
* @
|
|
89
|
-
*/
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
546
|
+
* @param vmScaleSetName The name of the VM scale set to create or update.
|
|
547
|
+
* @param parameters The scale set object.
|
|
548
|
+
* @param options The options parameters.
|
|
549
|
+
*/
|
|
550
|
+
async beginUpdateAndWait(
|
|
551
|
+
resourceGroupName: string,
|
|
552
|
+
vmScaleSetName: string,
|
|
553
|
+
parameters: VirtualMachineScaleSetUpdate,
|
|
554
|
+
options?: VirtualMachineScaleSetsUpdateOptionalParams
|
|
555
|
+
): Promise<VirtualMachineScaleSetsUpdateResponse> {
|
|
556
|
+
const poller = await this.beginUpdate(
|
|
557
|
+
resourceGroupName,
|
|
558
|
+
vmScaleSetName,
|
|
559
|
+
parameters,
|
|
560
|
+
options
|
|
561
|
+
);
|
|
562
|
+
return poller.pollUntilDone();
|
|
93
563
|
}
|
|
94
564
|
|
|
95
565
|
/**
|
|
96
|
-
*
|
|
566
|
+
* Deletes a VM scale set.
|
|
97
567
|
* @param resourceGroupName The name of the resource group.
|
|
98
568
|
* @param vmScaleSetName The name of the VM scale set.
|
|
99
|
-
* @param
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
569
|
+
* @param options The options parameters.
|
|
570
|
+
*/
|
|
571
|
+
async beginDelete(
|
|
572
|
+
resourceGroupName: string,
|
|
573
|
+
vmScaleSetName: string,
|
|
574
|
+
options?: VirtualMachineScaleSetsDeleteOptionalParams
|
|
575
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
576
|
+
const directSendOperation = async (
|
|
577
|
+
args: coreClient.OperationArguments,
|
|
578
|
+
spec: coreClient.OperationSpec
|
|
579
|
+
): Promise<void> => {
|
|
580
|
+
return this.client.sendOperationRequest(args, spec);
|
|
581
|
+
};
|
|
582
|
+
const sendOperation = async (
|
|
583
|
+
args: coreClient.OperationArguments,
|
|
584
|
+
spec: coreClient.OperationSpec
|
|
585
|
+
) => {
|
|
586
|
+
let currentRawResponse:
|
|
587
|
+
| coreClient.FullOperationResponse
|
|
588
|
+
| undefined = undefined;
|
|
589
|
+
const providedCallback = args.options?.onResponse;
|
|
590
|
+
const callback: coreClient.RawResponseCallback = (
|
|
591
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
592
|
+
flatResponse: unknown
|
|
593
|
+
) => {
|
|
594
|
+
currentRawResponse = rawResponse;
|
|
595
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
596
|
+
};
|
|
597
|
+
const updatedArgs = {
|
|
598
|
+
...args,
|
|
599
|
+
options: {
|
|
600
|
+
...args.options,
|
|
601
|
+
onResponse: callback
|
|
602
|
+
}
|
|
603
|
+
};
|
|
604
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
605
|
+
return {
|
|
606
|
+
flatResponse,
|
|
607
|
+
rawResponse: {
|
|
608
|
+
statusCode: currentRawResponse!.status,
|
|
609
|
+
body: currentRawResponse!.parsedBody,
|
|
610
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
611
|
+
}
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
const lro = new LroImpl(
|
|
616
|
+
sendOperation,
|
|
617
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
618
|
+
deleteOperationSpec
|
|
619
|
+
);
|
|
620
|
+
return new LroEngine(lro, {
|
|
621
|
+
resumeFrom: options?.resumeFrom,
|
|
622
|
+
intervalInMs: options?.updateIntervalInMs
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
|
|
103
626
|
/**
|
|
627
|
+
* Deletes a VM scale set.
|
|
104
628
|
* @param resourceGroupName The name of the resource group.
|
|
105
629
|
* @param vmScaleSetName The name of the VM scale set.
|
|
106
|
-
* @param
|
|
107
|
-
*/
|
|
108
|
-
|
|
630
|
+
* @param options The options parameters.
|
|
631
|
+
*/
|
|
632
|
+
async beginDeleteAndWait(
|
|
633
|
+
resourceGroupName: string,
|
|
634
|
+
vmScaleSetName: string,
|
|
635
|
+
options?: VirtualMachineScaleSetsDeleteOptionalParams
|
|
636
|
+
): Promise<void> {
|
|
637
|
+
const poller = await this.beginDelete(
|
|
638
|
+
resourceGroupName,
|
|
639
|
+
vmScaleSetName,
|
|
640
|
+
options
|
|
641
|
+
);
|
|
642
|
+
return poller.pollUntilDone();
|
|
643
|
+
}
|
|
644
|
+
|
|
109
645
|
/**
|
|
646
|
+
* Display information about a virtual machine scale set.
|
|
110
647
|
* @param resourceGroupName The name of the resource group.
|
|
111
648
|
* @param vmScaleSetName The name of the VM scale set.
|
|
112
|
-
* @param options The
|
|
113
|
-
* @param callback The callback
|
|
649
|
+
* @param options The options parameters.
|
|
114
650
|
*/
|
|
115
|
-
get(
|
|
116
|
-
|
|
651
|
+
get(
|
|
652
|
+
resourceGroupName: string,
|
|
653
|
+
vmScaleSetName: string,
|
|
654
|
+
options?: VirtualMachineScaleSetsGetOptionalParams
|
|
655
|
+
): Promise<VirtualMachineScaleSetsGetResponse> {
|
|
117
656
|
return this.client.sendOperationRequest(
|
|
118
|
-
{
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
options
|
|
122
|
-
},
|
|
123
|
-
getOperationSpec,
|
|
124
|
-
callback) as Promise<Models.VirtualMachineScaleSetsGetResponse>;
|
|
657
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
658
|
+
getOperationSpec
|
|
659
|
+
);
|
|
125
660
|
}
|
|
126
661
|
|
|
127
662
|
/**
|
|
@@ -130,242 +665,721 @@ export class VirtualMachineScaleSets {
|
|
|
130
665
|
* machine scale set deallocates.
|
|
131
666
|
* @param resourceGroupName The name of the resource group.
|
|
132
667
|
* @param vmScaleSetName The name of the VM scale set.
|
|
133
|
-
* @param
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
668
|
+
* @param options The options parameters.
|
|
669
|
+
*/
|
|
670
|
+
async beginDeallocate(
|
|
671
|
+
resourceGroupName: string,
|
|
672
|
+
vmScaleSetName: string,
|
|
673
|
+
options?: VirtualMachineScaleSetsDeallocateOptionalParams
|
|
674
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
675
|
+
const directSendOperation = async (
|
|
676
|
+
args: coreClient.OperationArguments,
|
|
677
|
+
spec: coreClient.OperationSpec
|
|
678
|
+
): Promise<void> => {
|
|
679
|
+
return this.client.sendOperationRequest(args, spec);
|
|
680
|
+
};
|
|
681
|
+
const sendOperation = async (
|
|
682
|
+
args: coreClient.OperationArguments,
|
|
683
|
+
spec: coreClient.OperationSpec
|
|
684
|
+
) => {
|
|
685
|
+
let currentRawResponse:
|
|
686
|
+
| coreClient.FullOperationResponse
|
|
687
|
+
| undefined = undefined;
|
|
688
|
+
const providedCallback = args.options?.onResponse;
|
|
689
|
+
const callback: coreClient.RawResponseCallback = (
|
|
690
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
691
|
+
flatResponse: unknown
|
|
692
|
+
) => {
|
|
693
|
+
currentRawResponse = rawResponse;
|
|
694
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
695
|
+
};
|
|
696
|
+
const updatedArgs = {
|
|
697
|
+
...args,
|
|
698
|
+
options: {
|
|
699
|
+
...args.options,
|
|
700
|
+
onResponse: callback
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
704
|
+
return {
|
|
705
|
+
flatResponse,
|
|
706
|
+
rawResponse: {
|
|
707
|
+
statusCode: currentRawResponse!.status,
|
|
708
|
+
body: currentRawResponse!.parsedBody,
|
|
709
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
710
|
+
}
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
|
|
714
|
+
const lro = new LroImpl(
|
|
715
|
+
sendOperation,
|
|
716
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
717
|
+
deallocateOperationSpec
|
|
718
|
+
);
|
|
719
|
+
return new LroEngine(lro, {
|
|
720
|
+
resumeFrom: options?.resumeFrom,
|
|
721
|
+
intervalInMs: options?.updateIntervalInMs
|
|
722
|
+
});
|
|
139
723
|
}
|
|
140
724
|
|
|
141
725
|
/**
|
|
142
|
-
*
|
|
726
|
+
* Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and
|
|
727
|
+
* releases the compute resources. You are not billed for the compute resources that this virtual
|
|
728
|
+
* machine scale set deallocates.
|
|
143
729
|
* @param resourceGroupName The name of the resource group.
|
|
144
730
|
* @param vmScaleSetName The name of the VM scale set.
|
|
145
|
-
* @param
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
731
|
+
* @param options The options parameters.
|
|
732
|
+
*/
|
|
733
|
+
async beginDeallocateAndWait(
|
|
734
|
+
resourceGroupName: string,
|
|
735
|
+
vmScaleSetName: string,
|
|
736
|
+
options?: VirtualMachineScaleSetsDeallocateOptionalParams
|
|
737
|
+
): Promise<void> {
|
|
738
|
+
const poller = await this.beginDeallocate(
|
|
739
|
+
resourceGroupName,
|
|
740
|
+
vmScaleSetName,
|
|
741
|
+
options
|
|
742
|
+
);
|
|
743
|
+
return poller.pollUntilDone();
|
|
152
744
|
}
|
|
153
745
|
|
|
154
746
|
/**
|
|
155
|
-
*
|
|
747
|
+
* Deletes virtual machines in a VM scale set.
|
|
156
748
|
* @param resourceGroupName The name of the resource group.
|
|
157
749
|
* @param vmScaleSetName The name of the VM scale set.
|
|
158
|
-
* @param
|
|
159
|
-
* @
|
|
160
|
-
*/
|
|
161
|
-
|
|
750
|
+
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
|
|
751
|
+
* @param options The options parameters.
|
|
752
|
+
*/
|
|
753
|
+
async beginDeleteInstances(
|
|
754
|
+
resourceGroupName: string,
|
|
755
|
+
vmScaleSetName: string,
|
|
756
|
+
vmInstanceIDs: VirtualMachineScaleSetVMInstanceRequiredIDs,
|
|
757
|
+
options?: VirtualMachineScaleSetsDeleteInstancesOptionalParams
|
|
758
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
759
|
+
const directSendOperation = async (
|
|
760
|
+
args: coreClient.OperationArguments,
|
|
761
|
+
spec: coreClient.OperationSpec
|
|
762
|
+
): Promise<void> => {
|
|
763
|
+
return this.client.sendOperationRequest(args, spec);
|
|
764
|
+
};
|
|
765
|
+
const sendOperation = async (
|
|
766
|
+
args: coreClient.OperationArguments,
|
|
767
|
+
spec: coreClient.OperationSpec
|
|
768
|
+
) => {
|
|
769
|
+
let currentRawResponse:
|
|
770
|
+
| coreClient.FullOperationResponse
|
|
771
|
+
| undefined = undefined;
|
|
772
|
+
const providedCallback = args.options?.onResponse;
|
|
773
|
+
const callback: coreClient.RawResponseCallback = (
|
|
774
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
775
|
+
flatResponse: unknown
|
|
776
|
+
) => {
|
|
777
|
+
currentRawResponse = rawResponse;
|
|
778
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
779
|
+
};
|
|
780
|
+
const updatedArgs = {
|
|
781
|
+
...args,
|
|
782
|
+
options: {
|
|
783
|
+
...args.options,
|
|
784
|
+
onResponse: callback
|
|
785
|
+
}
|
|
786
|
+
};
|
|
787
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
788
|
+
return {
|
|
789
|
+
flatResponse,
|
|
790
|
+
rawResponse: {
|
|
791
|
+
statusCode: currentRawResponse!.status,
|
|
792
|
+
body: currentRawResponse!.parsedBody,
|
|
793
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
794
|
+
}
|
|
795
|
+
};
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
const lro = new LroImpl(
|
|
799
|
+
sendOperation,
|
|
800
|
+
{ resourceGroupName, vmScaleSetName, vmInstanceIDs, options },
|
|
801
|
+
deleteInstancesOperationSpec
|
|
802
|
+
);
|
|
803
|
+
return new LroEngine(lro, {
|
|
804
|
+
resumeFrom: options?.resumeFrom,
|
|
805
|
+
intervalInMs: options?.updateIntervalInMs
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
|
|
162
809
|
/**
|
|
810
|
+
* Deletes virtual machines in a VM scale set.
|
|
163
811
|
* @param resourceGroupName The name of the resource group.
|
|
164
812
|
* @param vmScaleSetName The name of the VM scale set.
|
|
165
|
-
* @param
|
|
166
|
-
|
|
167
|
-
|
|
813
|
+
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
|
|
814
|
+
* @param options The options parameters.
|
|
815
|
+
*/
|
|
816
|
+
async beginDeleteInstancesAndWait(
|
|
817
|
+
resourceGroupName: string,
|
|
818
|
+
vmScaleSetName: string,
|
|
819
|
+
vmInstanceIDs: VirtualMachineScaleSetVMInstanceRequiredIDs,
|
|
820
|
+
options?: VirtualMachineScaleSetsDeleteInstancesOptionalParams
|
|
821
|
+
): Promise<void> {
|
|
822
|
+
const poller = await this.beginDeleteInstances(
|
|
823
|
+
resourceGroupName,
|
|
824
|
+
vmScaleSetName,
|
|
825
|
+
vmInstanceIDs,
|
|
826
|
+
options
|
|
827
|
+
);
|
|
828
|
+
return poller.pollUntilDone();
|
|
829
|
+
}
|
|
830
|
+
|
|
168
831
|
/**
|
|
832
|
+
* Gets the status of a VM scale set instance.
|
|
169
833
|
* @param resourceGroupName The name of the resource group.
|
|
170
834
|
* @param vmScaleSetName The name of the VM scale set.
|
|
171
|
-
* @param options The
|
|
172
|
-
* @param callback The callback
|
|
835
|
+
* @param options The options parameters.
|
|
173
836
|
*/
|
|
174
|
-
getInstanceView(
|
|
175
|
-
|
|
837
|
+
getInstanceView(
|
|
838
|
+
resourceGroupName: string,
|
|
839
|
+
vmScaleSetName: string,
|
|
840
|
+
options?: VirtualMachineScaleSetsGetInstanceViewOptionalParams
|
|
841
|
+
): Promise<VirtualMachineScaleSetsGetInstanceViewResponse> {
|
|
176
842
|
return this.client.sendOperationRequest(
|
|
177
|
-
{
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
options
|
|
181
|
-
},
|
|
182
|
-
getInstanceViewOperationSpec,
|
|
183
|
-
callback) as Promise<Models.VirtualMachineScaleSetsGetInstanceViewResponse>;
|
|
843
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
844
|
+
getInstanceViewOperationSpec
|
|
845
|
+
);
|
|
184
846
|
}
|
|
185
847
|
|
|
186
848
|
/**
|
|
187
849
|
* Gets a list of all VM scale sets under a resource group.
|
|
188
850
|
* @param resourceGroupName The name of the resource group.
|
|
189
|
-
* @param
|
|
190
|
-
* @returns Promise<Models.VirtualMachineScaleSetsListResponse>
|
|
851
|
+
* @param options The options parameters.
|
|
191
852
|
*/
|
|
192
|
-
|
|
853
|
+
private _list(
|
|
854
|
+
resourceGroupName: string,
|
|
855
|
+
options?: VirtualMachineScaleSetsListOptionalParams
|
|
856
|
+
): Promise<VirtualMachineScaleSetsListResponse> {
|
|
857
|
+
return this.client.sendOperationRequest(
|
|
858
|
+
{ resourceGroupName, options },
|
|
859
|
+
listOperationSpec
|
|
860
|
+
);
|
|
861
|
+
}
|
|
862
|
+
|
|
193
863
|
/**
|
|
194
|
-
*
|
|
195
|
-
*
|
|
864
|
+
* Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource group.
|
|
865
|
+
* Use nextLink property in the response to get the next page of VM Scale Sets. Do this till nextLink
|
|
866
|
+
* is null to fetch all the VM Scale Sets.
|
|
867
|
+
* @param options The options parameters.
|
|
196
868
|
*/
|
|
197
|
-
|
|
869
|
+
private _listAll(
|
|
870
|
+
options?: VirtualMachineScaleSetsListAllOptionalParams
|
|
871
|
+
): Promise<VirtualMachineScaleSetsListAllResponse> {
|
|
872
|
+
return this.client.sendOperationRequest({ options }, listAllOperationSpec);
|
|
873
|
+
}
|
|
874
|
+
|
|
198
875
|
/**
|
|
876
|
+
* Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM instances
|
|
877
|
+
* allowed for each SKU.
|
|
199
878
|
* @param resourceGroupName The name of the resource group.
|
|
200
|
-
* @param
|
|
201
|
-
* @param
|
|
879
|
+
* @param vmScaleSetName The name of the VM scale set.
|
|
880
|
+
* @param options The options parameters.
|
|
202
881
|
*/
|
|
203
|
-
|
|
204
|
-
|
|
882
|
+
private _listSkus(
|
|
883
|
+
resourceGroupName: string,
|
|
884
|
+
vmScaleSetName: string,
|
|
885
|
+
options?: VirtualMachineScaleSetsListSkusOptionalParams
|
|
886
|
+
): Promise<VirtualMachineScaleSetsListSkusResponse> {
|
|
205
887
|
return this.client.sendOperationRequest(
|
|
206
|
-
{
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
},
|
|
210
|
-
listOperationSpec,
|
|
211
|
-
callback) as Promise<Models.VirtualMachineScaleSetsListResponse>;
|
|
888
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
889
|
+
listSkusOperationSpec
|
|
890
|
+
);
|
|
212
891
|
}
|
|
213
892
|
|
|
214
893
|
/**
|
|
215
|
-
* Gets
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* @param
|
|
219
|
-
* @returns Promise<Models.VirtualMachineScaleSetsListAllResponse>
|
|
220
|
-
*/
|
|
221
|
-
listAll(options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineScaleSetsListAllResponse>;
|
|
222
|
-
/**
|
|
223
|
-
* @param callback The callback
|
|
224
|
-
*/
|
|
225
|
-
listAll(callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListWithLinkResult>): void;
|
|
226
|
-
/**
|
|
227
|
-
* @param options The optional parameters
|
|
228
|
-
* @param callback The callback
|
|
894
|
+
* Gets list of OS upgrades on a VM scale set instance.
|
|
895
|
+
* @param resourceGroupName The name of the resource group.
|
|
896
|
+
* @param vmScaleSetName The name of the VM scale set.
|
|
897
|
+
* @param options The options parameters.
|
|
229
898
|
*/
|
|
230
|
-
|
|
231
|
-
|
|
899
|
+
private _getOSUpgradeHistory(
|
|
900
|
+
resourceGroupName: string,
|
|
901
|
+
vmScaleSetName: string,
|
|
902
|
+
options?: VirtualMachineScaleSetsGetOSUpgradeHistoryOptionalParams
|
|
903
|
+
): Promise<VirtualMachineScaleSetsGetOSUpgradeHistoryResponse> {
|
|
232
904
|
return this.client.sendOperationRequest(
|
|
233
|
-
{
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
listAllOperationSpec,
|
|
237
|
-
callback) as Promise<Models.VirtualMachineScaleSetsListAllResponse>;
|
|
905
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
906
|
+
getOSUpgradeHistoryOperationSpec
|
|
907
|
+
);
|
|
238
908
|
}
|
|
239
909
|
|
|
240
910
|
/**
|
|
241
|
-
*
|
|
242
|
-
*
|
|
911
|
+
* Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still
|
|
912
|
+
* attached and you are getting charged for the resources. Instead, use deallocate to release resources
|
|
913
|
+
* and avoid charges.
|
|
243
914
|
* @param resourceGroupName The name of the resource group.
|
|
244
915
|
* @param vmScaleSetName The name of the VM scale set.
|
|
245
|
-
* @param
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
916
|
+
* @param options The options parameters.
|
|
917
|
+
*/
|
|
918
|
+
async beginPowerOff(
|
|
919
|
+
resourceGroupName: string,
|
|
920
|
+
vmScaleSetName: string,
|
|
921
|
+
options?: VirtualMachineScaleSetsPowerOffOptionalParams
|
|
922
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
923
|
+
const directSendOperation = async (
|
|
924
|
+
args: coreClient.OperationArguments,
|
|
925
|
+
spec: coreClient.OperationSpec
|
|
926
|
+
): Promise<void> => {
|
|
927
|
+
return this.client.sendOperationRequest(args, spec);
|
|
928
|
+
};
|
|
929
|
+
const sendOperation = async (
|
|
930
|
+
args: coreClient.OperationArguments,
|
|
931
|
+
spec: coreClient.OperationSpec
|
|
932
|
+
) => {
|
|
933
|
+
let currentRawResponse:
|
|
934
|
+
| coreClient.FullOperationResponse
|
|
935
|
+
| undefined = undefined;
|
|
936
|
+
const providedCallback = args.options?.onResponse;
|
|
937
|
+
const callback: coreClient.RawResponseCallback = (
|
|
938
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
939
|
+
flatResponse: unknown
|
|
940
|
+
) => {
|
|
941
|
+
currentRawResponse = rawResponse;
|
|
942
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
943
|
+
};
|
|
944
|
+
const updatedArgs = {
|
|
945
|
+
...args,
|
|
946
|
+
options: {
|
|
947
|
+
...args.options,
|
|
948
|
+
onResponse: callback
|
|
949
|
+
}
|
|
950
|
+
};
|
|
951
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
952
|
+
return {
|
|
953
|
+
flatResponse,
|
|
954
|
+
rawResponse: {
|
|
955
|
+
statusCode: currentRawResponse!.status,
|
|
956
|
+
body: currentRawResponse!.parsedBody,
|
|
957
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
958
|
+
}
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
|
|
962
|
+
const lro = new LroImpl(
|
|
963
|
+
sendOperation,
|
|
964
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
965
|
+
powerOffOperationSpec
|
|
966
|
+
);
|
|
967
|
+
return new LroEngine(lro, {
|
|
968
|
+
resumeFrom: options?.resumeFrom,
|
|
969
|
+
intervalInMs: options?.updateIntervalInMs
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
|
|
249
973
|
/**
|
|
974
|
+
* Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still
|
|
975
|
+
* attached and you are getting charged for the resources. Instead, use deallocate to release resources
|
|
976
|
+
* and avoid charges.
|
|
250
977
|
* @param resourceGroupName The name of the resource group.
|
|
251
978
|
* @param vmScaleSetName The name of the VM scale set.
|
|
252
|
-
* @param
|
|
253
|
-
*/
|
|
254
|
-
|
|
979
|
+
* @param options The options parameters.
|
|
980
|
+
*/
|
|
981
|
+
async beginPowerOffAndWait(
|
|
982
|
+
resourceGroupName: string,
|
|
983
|
+
vmScaleSetName: string,
|
|
984
|
+
options?: VirtualMachineScaleSetsPowerOffOptionalParams
|
|
985
|
+
): Promise<void> {
|
|
986
|
+
const poller = await this.beginPowerOff(
|
|
987
|
+
resourceGroupName,
|
|
988
|
+
vmScaleSetName,
|
|
989
|
+
options
|
|
990
|
+
);
|
|
991
|
+
return poller.pollUntilDone();
|
|
992
|
+
}
|
|
993
|
+
|
|
255
994
|
/**
|
|
995
|
+
* Restarts one or more virtual machines in a VM scale set.
|
|
256
996
|
* @param resourceGroupName The name of the resource group.
|
|
257
997
|
* @param vmScaleSetName The name of the VM scale set.
|
|
258
|
-
* @param options The
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
998
|
+
* @param options The options parameters.
|
|
999
|
+
*/
|
|
1000
|
+
async beginRestart(
|
|
1001
|
+
resourceGroupName: string,
|
|
1002
|
+
vmScaleSetName: string,
|
|
1003
|
+
options?: VirtualMachineScaleSetsRestartOptionalParams
|
|
1004
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1005
|
+
const directSendOperation = async (
|
|
1006
|
+
args: coreClient.OperationArguments,
|
|
1007
|
+
spec: coreClient.OperationSpec
|
|
1008
|
+
): Promise<void> => {
|
|
1009
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1010
|
+
};
|
|
1011
|
+
const sendOperation = async (
|
|
1012
|
+
args: coreClient.OperationArguments,
|
|
1013
|
+
spec: coreClient.OperationSpec
|
|
1014
|
+
) => {
|
|
1015
|
+
let currentRawResponse:
|
|
1016
|
+
| coreClient.FullOperationResponse
|
|
1017
|
+
| undefined = undefined;
|
|
1018
|
+
const providedCallback = args.options?.onResponse;
|
|
1019
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1020
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1021
|
+
flatResponse: unknown
|
|
1022
|
+
) => {
|
|
1023
|
+
currentRawResponse = rawResponse;
|
|
1024
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1025
|
+
};
|
|
1026
|
+
const updatedArgs = {
|
|
1027
|
+
...args,
|
|
1028
|
+
options: {
|
|
1029
|
+
...args.options,
|
|
1030
|
+
onResponse: callback
|
|
1031
|
+
}
|
|
1032
|
+
};
|
|
1033
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1034
|
+
return {
|
|
1035
|
+
flatResponse,
|
|
1036
|
+
rawResponse: {
|
|
1037
|
+
statusCode: currentRawResponse!.status,
|
|
1038
|
+
body: currentRawResponse!.parsedBody,
|
|
1039
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1040
|
+
}
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
|
|
1044
|
+
const lro = new LroImpl(
|
|
1045
|
+
sendOperation,
|
|
1046
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
1047
|
+
restartOperationSpec
|
|
1048
|
+
);
|
|
1049
|
+
return new LroEngine(lro, {
|
|
1050
|
+
resumeFrom: options?.resumeFrom,
|
|
1051
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1052
|
+
});
|
|
271
1053
|
}
|
|
272
1054
|
|
|
273
1055
|
/**
|
|
274
|
-
*
|
|
1056
|
+
* Restarts one or more virtual machines in a VM scale set.
|
|
275
1057
|
* @param resourceGroupName The name of the resource group.
|
|
276
1058
|
* @param vmScaleSetName The name of the VM scale set.
|
|
277
|
-
* @param
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
1059
|
+
* @param options The options parameters.
|
|
1060
|
+
*/
|
|
1061
|
+
async beginRestartAndWait(
|
|
1062
|
+
resourceGroupName: string,
|
|
1063
|
+
vmScaleSetName: string,
|
|
1064
|
+
options?: VirtualMachineScaleSetsRestartOptionalParams
|
|
1065
|
+
): Promise<void> {
|
|
1066
|
+
const poller = await this.beginRestart(
|
|
1067
|
+
resourceGroupName,
|
|
1068
|
+
vmScaleSetName,
|
|
1069
|
+
options
|
|
1070
|
+
);
|
|
1071
|
+
return poller.pollUntilDone();
|
|
1072
|
+
}
|
|
1073
|
+
|
|
281
1074
|
/**
|
|
1075
|
+
* Starts one or more virtual machines in a VM scale set.
|
|
282
1076
|
* @param resourceGroupName The name of the resource group.
|
|
283
1077
|
* @param vmScaleSetName The name of the VM scale set.
|
|
284
|
-
* @param
|
|
285
|
-
*/
|
|
286
|
-
|
|
1078
|
+
* @param options The options parameters.
|
|
1079
|
+
*/
|
|
1080
|
+
async beginStart(
|
|
1081
|
+
resourceGroupName: string,
|
|
1082
|
+
vmScaleSetName: string,
|
|
1083
|
+
options?: VirtualMachineScaleSetsStartOptionalParams
|
|
1084
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1085
|
+
const directSendOperation = async (
|
|
1086
|
+
args: coreClient.OperationArguments,
|
|
1087
|
+
spec: coreClient.OperationSpec
|
|
1088
|
+
): Promise<void> => {
|
|
1089
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1090
|
+
};
|
|
1091
|
+
const sendOperation = async (
|
|
1092
|
+
args: coreClient.OperationArguments,
|
|
1093
|
+
spec: coreClient.OperationSpec
|
|
1094
|
+
) => {
|
|
1095
|
+
let currentRawResponse:
|
|
1096
|
+
| coreClient.FullOperationResponse
|
|
1097
|
+
| undefined = undefined;
|
|
1098
|
+
const providedCallback = args.options?.onResponse;
|
|
1099
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1100
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1101
|
+
flatResponse: unknown
|
|
1102
|
+
) => {
|
|
1103
|
+
currentRawResponse = rawResponse;
|
|
1104
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1105
|
+
};
|
|
1106
|
+
const updatedArgs = {
|
|
1107
|
+
...args,
|
|
1108
|
+
options: {
|
|
1109
|
+
...args.options,
|
|
1110
|
+
onResponse: callback
|
|
1111
|
+
}
|
|
1112
|
+
};
|
|
1113
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1114
|
+
return {
|
|
1115
|
+
flatResponse,
|
|
1116
|
+
rawResponse: {
|
|
1117
|
+
statusCode: currentRawResponse!.status,
|
|
1118
|
+
body: currentRawResponse!.parsedBody,
|
|
1119
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1120
|
+
}
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
const lro = new LroImpl(
|
|
1125
|
+
sendOperation,
|
|
1126
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
1127
|
+
startOperationSpec
|
|
1128
|
+
);
|
|
1129
|
+
return new LroEngine(lro, {
|
|
1130
|
+
resumeFrom: options?.resumeFrom,
|
|
1131
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
|
|
287
1135
|
/**
|
|
1136
|
+
* Starts one or more virtual machines in a VM scale set.
|
|
288
1137
|
* @param resourceGroupName The name of the resource group.
|
|
289
1138
|
* @param vmScaleSetName The name of the VM scale set.
|
|
290
|
-
* @param options The
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
1139
|
+
* @param options The options parameters.
|
|
1140
|
+
*/
|
|
1141
|
+
async beginStartAndWait(
|
|
1142
|
+
resourceGroupName: string,
|
|
1143
|
+
vmScaleSetName: string,
|
|
1144
|
+
options?: VirtualMachineScaleSetsStartOptionalParams
|
|
1145
|
+
): Promise<void> {
|
|
1146
|
+
const poller = await this.beginStart(
|
|
1147
|
+
resourceGroupName,
|
|
1148
|
+
vmScaleSetName,
|
|
1149
|
+
options
|
|
1150
|
+
);
|
|
1151
|
+
return poller.pollUntilDone();
|
|
303
1152
|
}
|
|
304
1153
|
|
|
305
1154
|
/**
|
|
306
|
-
*
|
|
307
|
-
*
|
|
308
|
-
* resources and avoid charges.
|
|
1155
|
+
* Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and
|
|
1156
|
+
* powers them back on.
|
|
309
1157
|
* @param resourceGroupName The name of the resource group.
|
|
310
1158
|
* @param vmScaleSetName The name of the VM scale set.
|
|
311
|
-
* @param
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
1159
|
+
* @param options The options parameters.
|
|
1160
|
+
*/
|
|
1161
|
+
async beginRedeploy(
|
|
1162
|
+
resourceGroupName: string,
|
|
1163
|
+
vmScaleSetName: string,
|
|
1164
|
+
options?: VirtualMachineScaleSetsRedeployOptionalParams
|
|
1165
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1166
|
+
const directSendOperation = async (
|
|
1167
|
+
args: coreClient.OperationArguments,
|
|
1168
|
+
spec: coreClient.OperationSpec
|
|
1169
|
+
): Promise<void> => {
|
|
1170
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1171
|
+
};
|
|
1172
|
+
const sendOperation = async (
|
|
1173
|
+
args: coreClient.OperationArguments,
|
|
1174
|
+
spec: coreClient.OperationSpec
|
|
1175
|
+
) => {
|
|
1176
|
+
let currentRawResponse:
|
|
1177
|
+
| coreClient.FullOperationResponse
|
|
1178
|
+
| undefined = undefined;
|
|
1179
|
+
const providedCallback = args.options?.onResponse;
|
|
1180
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1181
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1182
|
+
flatResponse: unknown
|
|
1183
|
+
) => {
|
|
1184
|
+
currentRawResponse = rawResponse;
|
|
1185
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1186
|
+
};
|
|
1187
|
+
const updatedArgs = {
|
|
1188
|
+
...args,
|
|
1189
|
+
options: {
|
|
1190
|
+
...args.options,
|
|
1191
|
+
onResponse: callback
|
|
1192
|
+
}
|
|
1193
|
+
};
|
|
1194
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1195
|
+
return {
|
|
1196
|
+
flatResponse,
|
|
1197
|
+
rawResponse: {
|
|
1198
|
+
statusCode: currentRawResponse!.status,
|
|
1199
|
+
body: currentRawResponse!.parsedBody,
|
|
1200
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1201
|
+
}
|
|
1202
|
+
};
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
const lro = new LroImpl(
|
|
1206
|
+
sendOperation,
|
|
1207
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
1208
|
+
redeployOperationSpec
|
|
1209
|
+
);
|
|
1210
|
+
return new LroEngine(lro, {
|
|
1211
|
+
resumeFrom: options?.resumeFrom,
|
|
1212
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1213
|
+
});
|
|
317
1214
|
}
|
|
318
1215
|
|
|
319
1216
|
/**
|
|
320
|
-
*
|
|
1217
|
+
* Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node, and
|
|
1218
|
+
* powers them back on.
|
|
321
1219
|
* @param resourceGroupName The name of the resource group.
|
|
322
1220
|
* @param vmScaleSetName The name of the VM scale set.
|
|
323
|
-
* @param
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
1221
|
+
* @param options The options parameters.
|
|
1222
|
+
*/
|
|
1223
|
+
async beginRedeployAndWait(
|
|
1224
|
+
resourceGroupName: string,
|
|
1225
|
+
vmScaleSetName: string,
|
|
1226
|
+
options?: VirtualMachineScaleSetsRedeployOptionalParams
|
|
1227
|
+
): Promise<void> {
|
|
1228
|
+
const poller = await this.beginRedeploy(
|
|
1229
|
+
resourceGroupName,
|
|
1230
|
+
vmScaleSetName,
|
|
1231
|
+
options
|
|
1232
|
+
);
|
|
1233
|
+
return poller.pollUntilDone();
|
|
329
1234
|
}
|
|
330
1235
|
|
|
331
1236
|
/**
|
|
332
|
-
*
|
|
1237
|
+
* Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which
|
|
1238
|
+
* are not eligible for perform maintenance will be failed. Please refer to best practices for more
|
|
1239
|
+
* details:
|
|
1240
|
+
* https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
|
|
333
1241
|
* @param resourceGroupName The name of the resource group.
|
|
334
1242
|
* @param vmScaleSetName The name of the VM scale set.
|
|
335
|
-
* @param
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
1243
|
+
* @param options The options parameters.
|
|
1244
|
+
*/
|
|
1245
|
+
async beginPerformMaintenance(
|
|
1246
|
+
resourceGroupName: string,
|
|
1247
|
+
vmScaleSetName: string,
|
|
1248
|
+
options?: VirtualMachineScaleSetsPerformMaintenanceOptionalParams
|
|
1249
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1250
|
+
const directSendOperation = async (
|
|
1251
|
+
args: coreClient.OperationArguments,
|
|
1252
|
+
spec: coreClient.OperationSpec
|
|
1253
|
+
): Promise<void> => {
|
|
1254
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1255
|
+
};
|
|
1256
|
+
const sendOperation = async (
|
|
1257
|
+
args: coreClient.OperationArguments,
|
|
1258
|
+
spec: coreClient.OperationSpec
|
|
1259
|
+
) => {
|
|
1260
|
+
let currentRawResponse:
|
|
1261
|
+
| coreClient.FullOperationResponse
|
|
1262
|
+
| undefined = undefined;
|
|
1263
|
+
const providedCallback = args.options?.onResponse;
|
|
1264
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1265
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1266
|
+
flatResponse: unknown
|
|
1267
|
+
) => {
|
|
1268
|
+
currentRawResponse = rawResponse;
|
|
1269
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1270
|
+
};
|
|
1271
|
+
const updatedArgs = {
|
|
1272
|
+
...args,
|
|
1273
|
+
options: {
|
|
1274
|
+
...args.options,
|
|
1275
|
+
onResponse: callback
|
|
1276
|
+
}
|
|
1277
|
+
};
|
|
1278
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1279
|
+
return {
|
|
1280
|
+
flatResponse,
|
|
1281
|
+
rawResponse: {
|
|
1282
|
+
statusCode: currentRawResponse!.status,
|
|
1283
|
+
body: currentRawResponse!.parsedBody,
|
|
1284
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1285
|
+
}
|
|
1286
|
+
};
|
|
1287
|
+
};
|
|
1288
|
+
|
|
1289
|
+
const lro = new LroImpl(
|
|
1290
|
+
sendOperation,
|
|
1291
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
1292
|
+
performMaintenanceOperationSpec
|
|
1293
|
+
);
|
|
1294
|
+
return new LroEngine(lro, {
|
|
1295
|
+
resumeFrom: options?.resumeFrom,
|
|
1296
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1297
|
+
});
|
|
341
1298
|
}
|
|
342
1299
|
|
|
343
1300
|
/**
|
|
344
|
-
*
|
|
345
|
-
*
|
|
1301
|
+
* Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which
|
|
1302
|
+
* are not eligible for perform maintenance will be failed. Please refer to best practices for more
|
|
1303
|
+
* details:
|
|
1304
|
+
* https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
|
|
346
1305
|
* @param resourceGroupName The name of the resource group.
|
|
347
1306
|
* @param vmScaleSetName The name of the VM scale set.
|
|
348
|
-
* @param
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
1307
|
+
* @param options The options parameters.
|
|
1308
|
+
*/
|
|
1309
|
+
async beginPerformMaintenanceAndWait(
|
|
1310
|
+
resourceGroupName: string,
|
|
1311
|
+
vmScaleSetName: string,
|
|
1312
|
+
options?: VirtualMachineScaleSetsPerformMaintenanceOptionalParams
|
|
1313
|
+
): Promise<void> {
|
|
1314
|
+
const poller = await this.beginPerformMaintenance(
|
|
1315
|
+
resourceGroupName,
|
|
1316
|
+
vmScaleSetName,
|
|
1317
|
+
options
|
|
1318
|
+
);
|
|
1319
|
+
return poller.pollUntilDone();
|
|
354
1320
|
}
|
|
355
1321
|
|
|
356
1322
|
/**
|
|
357
|
-
*
|
|
358
|
-
* which are not eligible for perform maintenance will be failed. Please refer to best practices
|
|
359
|
-
* for more details:
|
|
360
|
-
* https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
|
|
1323
|
+
* Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
|
361
1324
|
* @param resourceGroupName The name of the resource group.
|
|
362
1325
|
* @param vmScaleSetName The name of the VM scale set.
|
|
363
|
-
* @param
|
|
364
|
-
* @
|
|
365
|
-
*/
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
1326
|
+
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
|
|
1327
|
+
* @param options The options parameters.
|
|
1328
|
+
*/
|
|
1329
|
+
async beginUpdateInstances(
|
|
1330
|
+
resourceGroupName: string,
|
|
1331
|
+
vmScaleSetName: string,
|
|
1332
|
+
vmInstanceIDs: VirtualMachineScaleSetVMInstanceRequiredIDs,
|
|
1333
|
+
options?: VirtualMachineScaleSetsUpdateInstancesOptionalParams
|
|
1334
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1335
|
+
const directSendOperation = async (
|
|
1336
|
+
args: coreClient.OperationArguments,
|
|
1337
|
+
spec: coreClient.OperationSpec
|
|
1338
|
+
): Promise<void> => {
|
|
1339
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1340
|
+
};
|
|
1341
|
+
const sendOperation = async (
|
|
1342
|
+
args: coreClient.OperationArguments,
|
|
1343
|
+
spec: coreClient.OperationSpec
|
|
1344
|
+
) => {
|
|
1345
|
+
let currentRawResponse:
|
|
1346
|
+
| coreClient.FullOperationResponse
|
|
1347
|
+
| undefined = undefined;
|
|
1348
|
+
const providedCallback = args.options?.onResponse;
|
|
1349
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1350
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1351
|
+
flatResponse: unknown
|
|
1352
|
+
) => {
|
|
1353
|
+
currentRawResponse = rawResponse;
|
|
1354
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1355
|
+
};
|
|
1356
|
+
const updatedArgs = {
|
|
1357
|
+
...args,
|
|
1358
|
+
options: {
|
|
1359
|
+
...args.options,
|
|
1360
|
+
onResponse: callback
|
|
1361
|
+
}
|
|
1362
|
+
};
|
|
1363
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1364
|
+
return {
|
|
1365
|
+
flatResponse,
|
|
1366
|
+
rawResponse: {
|
|
1367
|
+
statusCode: currentRawResponse!.status,
|
|
1368
|
+
body: currentRawResponse!.parsedBody,
|
|
1369
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1370
|
+
}
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
|
|
1374
|
+
const lro = new LroImpl(
|
|
1375
|
+
sendOperation,
|
|
1376
|
+
{ resourceGroupName, vmScaleSetName, vmInstanceIDs, options },
|
|
1377
|
+
updateInstancesOperationSpec
|
|
1378
|
+
);
|
|
1379
|
+
return new LroEngine(lro, {
|
|
1380
|
+
resumeFrom: options?.resumeFrom,
|
|
1381
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1382
|
+
});
|
|
369
1383
|
}
|
|
370
1384
|
|
|
371
1385
|
/**
|
|
@@ -373,80 +1387,209 @@ export class VirtualMachineScaleSets {
|
|
|
373
1387
|
* @param resourceGroupName The name of the resource group.
|
|
374
1388
|
* @param vmScaleSetName The name of the VM scale set.
|
|
375
1389
|
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
|
|
376
|
-
* @param
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
1390
|
+
* @param options The options parameters.
|
|
1391
|
+
*/
|
|
1392
|
+
async beginUpdateInstancesAndWait(
|
|
1393
|
+
resourceGroupName: string,
|
|
1394
|
+
vmScaleSetName: string,
|
|
1395
|
+
vmInstanceIDs: VirtualMachineScaleSetVMInstanceRequiredIDs,
|
|
1396
|
+
options?: VirtualMachineScaleSetsUpdateInstancesOptionalParams
|
|
1397
|
+
): Promise<void> {
|
|
1398
|
+
const poller = await this.beginUpdateInstances(
|
|
1399
|
+
resourceGroupName,
|
|
1400
|
+
vmScaleSetName,
|
|
1401
|
+
vmInstanceIDs,
|
|
1402
|
+
options
|
|
1403
|
+
);
|
|
1404
|
+
return poller.pollUntilDone();
|
|
382
1405
|
}
|
|
383
1406
|
|
|
384
1407
|
/**
|
|
385
|
-
* Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which
|
|
386
|
-
*
|
|
387
|
-
*
|
|
1408
|
+
* Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't
|
|
1409
|
+
* have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is
|
|
1410
|
+
* reset to initial state.
|
|
388
1411
|
* @param resourceGroupName The name of the resource group.
|
|
389
1412
|
* @param vmScaleSetName The name of the VM scale set.
|
|
390
|
-
* @param
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
1413
|
+
* @param options The options parameters.
|
|
1414
|
+
*/
|
|
1415
|
+
async beginReimage(
|
|
1416
|
+
resourceGroupName: string,
|
|
1417
|
+
vmScaleSetName: string,
|
|
1418
|
+
options?: VirtualMachineScaleSetsReimageOptionalParams
|
|
1419
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1420
|
+
const directSendOperation = async (
|
|
1421
|
+
args: coreClient.OperationArguments,
|
|
1422
|
+
spec: coreClient.OperationSpec
|
|
1423
|
+
): Promise<void> => {
|
|
1424
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1425
|
+
};
|
|
1426
|
+
const sendOperation = async (
|
|
1427
|
+
args: coreClient.OperationArguments,
|
|
1428
|
+
spec: coreClient.OperationSpec
|
|
1429
|
+
) => {
|
|
1430
|
+
let currentRawResponse:
|
|
1431
|
+
| coreClient.FullOperationResponse
|
|
1432
|
+
| undefined = undefined;
|
|
1433
|
+
const providedCallback = args.options?.onResponse;
|
|
1434
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1435
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1436
|
+
flatResponse: unknown
|
|
1437
|
+
) => {
|
|
1438
|
+
currentRawResponse = rawResponse;
|
|
1439
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1440
|
+
};
|
|
1441
|
+
const updatedArgs = {
|
|
1442
|
+
...args,
|
|
1443
|
+
options: {
|
|
1444
|
+
...args.options,
|
|
1445
|
+
onResponse: callback
|
|
1446
|
+
}
|
|
1447
|
+
};
|
|
1448
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1449
|
+
return {
|
|
1450
|
+
flatResponse,
|
|
1451
|
+
rawResponse: {
|
|
1452
|
+
statusCode: currentRawResponse!.status,
|
|
1453
|
+
body: currentRawResponse!.parsedBody,
|
|
1454
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1455
|
+
}
|
|
1456
|
+
};
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1459
|
+
const lro = new LroImpl(
|
|
1460
|
+
sendOperation,
|
|
1461
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
1462
|
+
reimageOperationSpec
|
|
1463
|
+
);
|
|
1464
|
+
return new LroEngine(lro, {
|
|
1465
|
+
resumeFrom: options?.resumeFrom,
|
|
1466
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1467
|
+
});
|
|
396
1468
|
}
|
|
397
1469
|
|
|
398
1470
|
/**
|
|
399
|
-
* Reimages
|
|
400
|
-
*
|
|
1471
|
+
* Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which don't
|
|
1472
|
+
* have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual machine is
|
|
1473
|
+
* reset to initial state.
|
|
401
1474
|
* @param resourceGroupName The name of the resource group.
|
|
402
1475
|
* @param vmScaleSetName The name of the VM scale set.
|
|
403
|
-
* @param
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
1476
|
+
* @param options The options parameters.
|
|
1477
|
+
*/
|
|
1478
|
+
async beginReimageAndWait(
|
|
1479
|
+
resourceGroupName: string,
|
|
1480
|
+
vmScaleSetName: string,
|
|
1481
|
+
options?: VirtualMachineScaleSetsReimageOptionalParams
|
|
1482
|
+
): Promise<void> {
|
|
1483
|
+
const poller = await this.beginReimage(
|
|
1484
|
+
resourceGroupName,
|
|
1485
|
+
vmScaleSetName,
|
|
1486
|
+
options
|
|
1487
|
+
);
|
|
1488
|
+
return poller.pollUntilDone();
|
|
409
1489
|
}
|
|
410
1490
|
|
|
411
1491
|
/**
|
|
412
|
-
*
|
|
413
|
-
*
|
|
1492
|
+
* Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This
|
|
1493
|
+
* operation is only supported for managed disks.
|
|
414
1494
|
* @param resourceGroupName The name of the resource group.
|
|
415
1495
|
* @param vmScaleSetName The name of the VM scale set.
|
|
416
|
-
* @param
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
1496
|
+
* @param options The options parameters.
|
|
1497
|
+
*/
|
|
1498
|
+
async beginReimageAll(
|
|
1499
|
+
resourceGroupName: string,
|
|
1500
|
+
vmScaleSetName: string,
|
|
1501
|
+
options?: VirtualMachineScaleSetsReimageAllOptionalParams
|
|
1502
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1503
|
+
const directSendOperation = async (
|
|
1504
|
+
args: coreClient.OperationArguments,
|
|
1505
|
+
spec: coreClient.OperationSpec
|
|
1506
|
+
): Promise<void> => {
|
|
1507
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1508
|
+
};
|
|
1509
|
+
const sendOperation = async (
|
|
1510
|
+
args: coreClient.OperationArguments,
|
|
1511
|
+
spec: coreClient.OperationSpec
|
|
1512
|
+
) => {
|
|
1513
|
+
let currentRawResponse:
|
|
1514
|
+
| coreClient.FullOperationResponse
|
|
1515
|
+
| undefined = undefined;
|
|
1516
|
+
const providedCallback = args.options?.onResponse;
|
|
1517
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1518
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1519
|
+
flatResponse: unknown
|
|
1520
|
+
) => {
|
|
1521
|
+
currentRawResponse = rawResponse;
|
|
1522
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1523
|
+
};
|
|
1524
|
+
const updatedArgs = {
|
|
1525
|
+
...args,
|
|
1526
|
+
options: {
|
|
1527
|
+
...args.options,
|
|
1528
|
+
onResponse: callback
|
|
1529
|
+
}
|
|
1530
|
+
};
|
|
1531
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1532
|
+
return {
|
|
1533
|
+
flatResponse,
|
|
1534
|
+
rawResponse: {
|
|
1535
|
+
statusCode: currentRawResponse!.status,
|
|
1536
|
+
body: currentRawResponse!.parsedBody,
|
|
1537
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1538
|
+
}
|
|
1539
|
+
};
|
|
1540
|
+
};
|
|
1541
|
+
|
|
1542
|
+
const lro = new LroImpl(
|
|
1543
|
+
sendOperation,
|
|
1544
|
+
{ resourceGroupName, vmScaleSetName, options },
|
|
1545
|
+
reimageAllOperationSpec
|
|
1546
|
+
);
|
|
1547
|
+
return new LroEngine(lro, {
|
|
1548
|
+
resumeFrom: options?.resumeFrom,
|
|
1549
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1550
|
+
});
|
|
1551
|
+
}
|
|
1552
|
+
|
|
423
1553
|
/**
|
|
1554
|
+
* Reimages all the disks ( including data disks ) in the virtual machines in a VM scale set. This
|
|
1555
|
+
* operation is only supported for managed disks.
|
|
424
1556
|
* @param resourceGroupName The name of the resource group.
|
|
425
1557
|
* @param vmScaleSetName The name of the VM scale set.
|
|
426
|
-
* @param
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
1558
|
+
* @param options The options parameters.
|
|
1559
|
+
*/
|
|
1560
|
+
async beginReimageAllAndWait(
|
|
1561
|
+
resourceGroupName: string,
|
|
1562
|
+
vmScaleSetName: string,
|
|
1563
|
+
options?: VirtualMachineScaleSetsReimageAllOptionalParams
|
|
1564
|
+
): Promise<void> {
|
|
1565
|
+
const poller = await this.beginReimageAll(
|
|
1566
|
+
resourceGroupName,
|
|
1567
|
+
vmScaleSetName,
|
|
1568
|
+
options
|
|
1569
|
+
);
|
|
1570
|
+
return poller.pollUntilDone();
|
|
1571
|
+
}
|
|
1572
|
+
|
|
431
1573
|
/**
|
|
1574
|
+
* Manual platform update domain walk to update virtual machines in a service fabric virtual machine
|
|
1575
|
+
* scale set.
|
|
432
1576
|
* @param resourceGroupName The name of the resource group.
|
|
433
1577
|
* @param vmScaleSetName The name of the VM scale set.
|
|
434
|
-
* @param platformUpdateDomain The platform update domain for which a manual recovery walk is
|
|
435
|
-
*
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
1578
|
+
* @param platformUpdateDomain The platform update domain for which a manual recovery walk is requested
|
|
1579
|
+
* @param options The options parameters.
|
|
1580
|
+
*/
|
|
1581
|
+
forceRecoveryServiceFabricPlatformUpdateDomainWalk(
|
|
1582
|
+
resourceGroupName: string,
|
|
1583
|
+
vmScaleSetName: string,
|
|
1584
|
+
platformUpdateDomain: number,
|
|
1585
|
+
options?: VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkOptionalParams
|
|
1586
|
+
): Promise<
|
|
1587
|
+
VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkResponse
|
|
1588
|
+
> {
|
|
441
1589
|
return this.client.sendOperationRequest(
|
|
442
|
-
{
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
platformUpdateDomain,
|
|
446
|
-
options
|
|
447
|
-
},
|
|
448
|
-
forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec,
|
|
449
|
-
callback) as Promise<Models.VirtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkResponse>;
|
|
1590
|
+
{ resourceGroupName, vmScaleSetName, platformUpdateDomain, options },
|
|
1591
|
+
forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec
|
|
1592
|
+
);
|
|
450
1593
|
}
|
|
451
1594
|
|
|
452
1595
|
/**
|
|
@@ -454,35 +1597,81 @@ export class VirtualMachineScaleSets {
|
|
|
454
1597
|
* @param resourceGroupName The name of the resource group.
|
|
455
1598
|
* @param vmScaleSetName The name of the virtual machine scale set to create or update.
|
|
456
1599
|
* @param parameters The input object for ConvertToSinglePlacementGroup API.
|
|
457
|
-
* @param
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
1600
|
+
* @param options The options parameters.
|
|
1601
|
+
*/
|
|
1602
|
+
convertToSinglePlacementGroup(
|
|
1603
|
+
resourceGroupName: string,
|
|
1604
|
+
vmScaleSetName: string,
|
|
1605
|
+
parameters: VMScaleSetConvertToSinglePlacementGroupInput,
|
|
1606
|
+
options?: VirtualMachineScaleSetsConvertToSinglePlacementGroupOptionalParams
|
|
1607
|
+
): Promise<void> {
|
|
1608
|
+
return this.client.sendOperationRequest(
|
|
1609
|
+
{ resourceGroupName, vmScaleSetName, parameters, options },
|
|
1610
|
+
convertToSinglePlacementGroupOperationSpec
|
|
1611
|
+
);
|
|
1612
|
+
}
|
|
1613
|
+
|
|
468
1614
|
/**
|
|
1615
|
+
* Changes ServiceState property for a given service
|
|
469
1616
|
* @param resourceGroupName The name of the resource group.
|
|
470
1617
|
* @param vmScaleSetName The name of the virtual machine scale set to create or update.
|
|
471
|
-
* @param parameters The input object for
|
|
472
|
-
* @param options The
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
1618
|
+
* @param parameters The input object for SetOrchestrationServiceState API.
|
|
1619
|
+
* @param options The options parameters.
|
|
1620
|
+
*/
|
|
1621
|
+
async beginSetOrchestrationServiceState(
|
|
1622
|
+
resourceGroupName: string,
|
|
1623
|
+
vmScaleSetName: string,
|
|
1624
|
+
parameters: OrchestrationServiceStateInput,
|
|
1625
|
+
options?: VirtualMachineScaleSetsSetOrchestrationServiceStateOptionalParams
|
|
1626
|
+
): Promise<PollerLike<PollOperationState<void>, void>> {
|
|
1627
|
+
const directSendOperation = async (
|
|
1628
|
+
args: coreClient.OperationArguments,
|
|
1629
|
+
spec: coreClient.OperationSpec
|
|
1630
|
+
): Promise<void> => {
|
|
1631
|
+
return this.client.sendOperationRequest(args, spec);
|
|
1632
|
+
};
|
|
1633
|
+
const sendOperation = async (
|
|
1634
|
+
args: coreClient.OperationArguments,
|
|
1635
|
+
spec: coreClient.OperationSpec
|
|
1636
|
+
) => {
|
|
1637
|
+
let currentRawResponse:
|
|
1638
|
+
| coreClient.FullOperationResponse
|
|
1639
|
+
| undefined = undefined;
|
|
1640
|
+
const providedCallback = args.options?.onResponse;
|
|
1641
|
+
const callback: coreClient.RawResponseCallback = (
|
|
1642
|
+
rawResponse: coreClient.FullOperationResponse,
|
|
1643
|
+
flatResponse: unknown
|
|
1644
|
+
) => {
|
|
1645
|
+
currentRawResponse = rawResponse;
|
|
1646
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
1647
|
+
};
|
|
1648
|
+
const updatedArgs = {
|
|
1649
|
+
...args,
|
|
1650
|
+
options: {
|
|
1651
|
+
...args.options,
|
|
1652
|
+
onResponse: callback
|
|
1653
|
+
}
|
|
1654
|
+
};
|
|
1655
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1656
|
+
return {
|
|
1657
|
+
flatResponse,
|
|
1658
|
+
rawResponse: {
|
|
1659
|
+
statusCode: currentRawResponse!.status,
|
|
1660
|
+
body: currentRawResponse!.parsedBody,
|
|
1661
|
+
headers: currentRawResponse!.headers.toJSON()
|
|
1662
|
+
}
|
|
1663
|
+
};
|
|
1664
|
+
};
|
|
1665
|
+
|
|
1666
|
+
const lro = new LroImpl(
|
|
1667
|
+
sendOperation,
|
|
1668
|
+
{ resourceGroupName, vmScaleSetName, parameters, options },
|
|
1669
|
+
setOrchestrationServiceStateOperationSpec
|
|
1670
|
+
);
|
|
1671
|
+
return new LroEngine(lro, {
|
|
1672
|
+
resumeFrom: options?.resumeFrom,
|
|
1673
|
+
intervalInMs: options?.updateIntervalInMs
|
|
1674
|
+
});
|
|
486
1675
|
}
|
|
487
1676
|
|
|
488
1677
|
/**
|
|
@@ -490,521 +1679,117 @@ export class VirtualMachineScaleSets {
|
|
|
490
1679
|
* @param resourceGroupName The name of the resource group.
|
|
491
1680
|
* @param vmScaleSetName The name of the virtual machine scale set to create or update.
|
|
492
1681
|
* @param parameters The input object for SetOrchestrationServiceState API.
|
|
493
|
-
* @param
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
1682
|
+
* @param options The options parameters.
|
|
1683
|
+
*/
|
|
1684
|
+
async beginSetOrchestrationServiceStateAndWait(
|
|
1685
|
+
resourceGroupName: string,
|
|
1686
|
+
vmScaleSetName: string,
|
|
1687
|
+
parameters: OrchestrationServiceStateInput,
|
|
1688
|
+
options?: VirtualMachineScaleSetsSetOrchestrationServiceStateOptionalParams
|
|
1689
|
+
): Promise<void> {
|
|
1690
|
+
const poller = await this.beginSetOrchestrationServiceState(
|
|
1691
|
+
resourceGroupName,
|
|
1692
|
+
vmScaleSetName,
|
|
1693
|
+
parameters,
|
|
1694
|
+
options
|
|
1695
|
+
);
|
|
1696
|
+
return poller.pollUntilDone();
|
|
499
1697
|
}
|
|
500
1698
|
|
|
501
1699
|
/**
|
|
502
|
-
*
|
|
503
|
-
* @param
|
|
504
|
-
* @param
|
|
505
|
-
* @param
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
},
|
|
517
|
-
beginCreateOrUpdateOperationSpec,
|
|
518
|
-
options);
|
|
1700
|
+
* ListByLocationNext
|
|
1701
|
+
* @param location The location for which VM scale sets under the subscription are queried.
|
|
1702
|
+
* @param nextLink The nextLink from the previous successful call to the ListByLocation method.
|
|
1703
|
+
* @param options The options parameters.
|
|
1704
|
+
*/
|
|
1705
|
+
private _listByLocationNext(
|
|
1706
|
+
location: string,
|
|
1707
|
+
nextLink: string,
|
|
1708
|
+
options?: VirtualMachineScaleSetsListByLocationNextOptionalParams
|
|
1709
|
+
): Promise<VirtualMachineScaleSetsListByLocationNextResponse> {
|
|
1710
|
+
return this.client.sendOperationRequest(
|
|
1711
|
+
{ location, nextLink, options },
|
|
1712
|
+
listByLocationNextOperationSpec
|
|
1713
|
+
);
|
|
519
1714
|
}
|
|
520
1715
|
|
|
521
1716
|
/**
|
|
522
|
-
*
|
|
1717
|
+
* ListNext
|
|
523
1718
|
* @param resourceGroupName The name of the resource group.
|
|
524
|
-
* @param
|
|
525
|
-
* @param
|
|
526
|
-
|
|
527
|
-
|
|
1719
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
1720
|
+
* @param options The options parameters.
|
|
1721
|
+
*/
|
|
1722
|
+
private _listNext(
|
|
1723
|
+
resourceGroupName: string,
|
|
1724
|
+
nextLink: string,
|
|
1725
|
+
options?: VirtualMachineScaleSetsListNextOptionalParams
|
|
1726
|
+
): Promise<VirtualMachineScaleSetsListNextResponse> {
|
|
1727
|
+
return this.client.sendOperationRequest(
|
|
1728
|
+
{ resourceGroupName, nextLink, options },
|
|
1729
|
+
listNextOperationSpec
|
|
1730
|
+
);
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* ListAllNext
|
|
1735
|
+
* @param nextLink The nextLink from the previous successful call to the ListAll method.
|
|
1736
|
+
* @param options The options parameters.
|
|
528
1737
|
*/
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
beginUpdateOperationSpec,
|
|
538
|
-
options);
|
|
1738
|
+
private _listAllNext(
|
|
1739
|
+
nextLink: string,
|
|
1740
|
+
options?: VirtualMachineScaleSetsListAllNextOptionalParams
|
|
1741
|
+
): Promise<VirtualMachineScaleSetsListAllNextResponse> {
|
|
1742
|
+
return this.client.sendOperationRequest(
|
|
1743
|
+
{ nextLink, options },
|
|
1744
|
+
listAllNextOperationSpec
|
|
1745
|
+
);
|
|
539
1746
|
}
|
|
540
1747
|
|
|
541
1748
|
/**
|
|
542
|
-
*
|
|
1749
|
+
* ListSkusNext
|
|
543
1750
|
* @param resourceGroupName The name of the resource group.
|
|
544
1751
|
* @param vmScaleSetName The name of the VM scale set.
|
|
545
|
-
* @param
|
|
546
|
-
* @
|
|
547
|
-
*/
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
/**
|
|
560
|
-
* Deallocates specific virtual machines in a VM scale set. Shuts down the virtual machines and
|
|
561
|
-
* releases the compute resources. You are not billed for the compute resources that this virtual
|
|
562
|
-
* machine scale set deallocates.
|
|
563
|
-
* @param resourceGroupName The name of the resource group.
|
|
564
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
565
|
-
* @param [options] The optional parameters
|
|
566
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
567
|
-
*/
|
|
568
|
-
beginDeallocate(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginDeallocateOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
569
|
-
return this.client.sendLRORequest(
|
|
570
|
-
{
|
|
571
|
-
resourceGroupName,
|
|
572
|
-
vmScaleSetName,
|
|
573
|
-
options
|
|
574
|
-
},
|
|
575
|
-
beginDeallocateOperationSpec,
|
|
576
|
-
options);
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
/**
|
|
580
|
-
* Deletes virtual machines in a VM scale set.
|
|
581
|
-
* @param resourceGroupName The name of the resource group.
|
|
582
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
583
|
-
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
|
|
584
|
-
* @param [options] The optional parameters
|
|
585
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
586
|
-
*/
|
|
587
|
-
beginDeleteInstances(resourceGroupName: string, vmScaleSetName: string, vmInstanceIDs: Models.VirtualMachineScaleSetVMInstanceRequiredIDs, options?: Models.VirtualMachineScaleSetsBeginDeleteInstancesOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
588
|
-
return this.client.sendLRORequest(
|
|
589
|
-
{
|
|
590
|
-
resourceGroupName,
|
|
591
|
-
vmScaleSetName,
|
|
592
|
-
vmInstanceIDs,
|
|
593
|
-
options
|
|
594
|
-
},
|
|
595
|
-
beginDeleteInstancesOperationSpec,
|
|
596
|
-
options);
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
/**
|
|
600
|
-
* Power off (stop) one or more virtual machines in a VM scale set. Note that resources are still
|
|
601
|
-
* attached and you are getting charged for the resources. Instead, use deallocate to release
|
|
602
|
-
* resources and avoid charges.
|
|
603
|
-
* @param resourceGroupName The name of the resource group.
|
|
604
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
605
|
-
* @param [options] The optional parameters
|
|
606
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
607
|
-
*/
|
|
608
|
-
beginPowerOff(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginPowerOffOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
609
|
-
return this.client.sendLRORequest(
|
|
610
|
-
{
|
|
611
|
-
resourceGroupName,
|
|
612
|
-
vmScaleSetName,
|
|
613
|
-
options
|
|
614
|
-
},
|
|
615
|
-
beginPowerOffOperationSpec,
|
|
616
|
-
options);
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
/**
|
|
620
|
-
* Restarts one or more virtual machines in a VM scale set.
|
|
621
|
-
* @param resourceGroupName The name of the resource group.
|
|
622
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
623
|
-
* @param [options] The optional parameters
|
|
624
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
625
|
-
*/
|
|
626
|
-
beginRestart(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginRestartOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
627
|
-
return this.client.sendLRORequest(
|
|
628
|
-
{
|
|
629
|
-
resourceGroupName,
|
|
630
|
-
vmScaleSetName,
|
|
631
|
-
options
|
|
632
|
-
},
|
|
633
|
-
beginRestartOperationSpec,
|
|
634
|
-
options);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* Starts one or more virtual machines in a VM scale set.
|
|
639
|
-
* @param resourceGroupName The name of the resource group.
|
|
640
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
641
|
-
* @param [options] The optional parameters
|
|
642
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
643
|
-
*/
|
|
644
|
-
beginStart(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginStartOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
645
|
-
return this.client.sendLRORequest(
|
|
646
|
-
{
|
|
647
|
-
resourceGroupName,
|
|
648
|
-
vmScaleSetName,
|
|
649
|
-
options
|
|
650
|
-
},
|
|
651
|
-
beginStartOperationSpec,
|
|
652
|
-
options);
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
/**
|
|
656
|
-
* Shuts down all the virtual machines in the virtual machine scale set, moves them to a new node,
|
|
657
|
-
* and powers them back on.
|
|
658
|
-
* @param resourceGroupName The name of the resource group.
|
|
659
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
660
|
-
* @param [options] The optional parameters
|
|
661
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
662
|
-
*/
|
|
663
|
-
beginRedeploy(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginRedeployOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
664
|
-
return this.client.sendLRORequest(
|
|
665
|
-
{
|
|
666
|
-
resourceGroupName,
|
|
667
|
-
vmScaleSetName,
|
|
668
|
-
options
|
|
669
|
-
},
|
|
670
|
-
beginRedeployOperationSpec,
|
|
671
|
-
options);
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances
|
|
676
|
-
* which are not eligible for perform maintenance will be failed. Please refer to best practices
|
|
677
|
-
* for more details:
|
|
678
|
-
* https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications
|
|
679
|
-
* @param resourceGroupName The name of the resource group.
|
|
680
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
681
|
-
* @param [options] The optional parameters
|
|
682
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
683
|
-
*/
|
|
684
|
-
beginPerformMaintenance(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginPerformMaintenanceOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
685
|
-
return this.client.sendLRORequest(
|
|
686
|
-
{
|
|
687
|
-
resourceGroupName,
|
|
688
|
-
vmScaleSetName,
|
|
689
|
-
options
|
|
690
|
-
},
|
|
691
|
-
beginPerformMaintenanceOperationSpec,
|
|
692
|
-
options);
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
/**
|
|
696
|
-
* Upgrades one or more virtual machines to the latest SKU set in the VM scale set model.
|
|
697
|
-
* @param resourceGroupName The name of the resource group.
|
|
698
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
699
|
-
* @param vmInstanceIDs A list of virtual machine instance IDs from the VM scale set.
|
|
700
|
-
* @param [options] The optional parameters
|
|
701
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
702
|
-
*/
|
|
703
|
-
beginUpdateInstances(resourceGroupName: string, vmScaleSetName: string, vmInstanceIDs: Models.VirtualMachineScaleSetVMInstanceRequiredIDs, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
704
|
-
return this.client.sendLRORequest(
|
|
705
|
-
{
|
|
706
|
-
resourceGroupName,
|
|
707
|
-
vmScaleSetName,
|
|
708
|
-
vmInstanceIDs,
|
|
709
|
-
options
|
|
710
|
-
},
|
|
711
|
-
beginUpdateInstancesOperationSpec,
|
|
712
|
-
options);
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
/**
|
|
716
|
-
* Reimages (upgrade the operating system) one or more virtual machines in a VM scale set which
|
|
717
|
-
* don't have a ephemeral OS disk, for virtual machines who have a ephemeral OS disk the virtual
|
|
718
|
-
* machine is reset to initial state.
|
|
719
|
-
* @param resourceGroupName The name of the resource group.
|
|
720
|
-
* @param vmScaleSetName The name of the VM scale set.
|
|
721
|
-
* @param [options] The optional parameters
|
|
722
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
723
|
-
*/
|
|
724
|
-
beginReimage(resourceGroupName: string, vmScaleSetName: string, options?: Models.VirtualMachineScaleSetsBeginReimageOptionalParams): Promise<msRestAzure.LROPoller> {
|
|
725
|
-
return this.client.sendLRORequest(
|
|
726
|
-
{
|
|
727
|
-
resourceGroupName,
|
|
728
|
-
vmScaleSetName,
|
|
729
|
-
options
|
|
730
|
-
},
|
|
731
|
-
beginReimageOperationSpec,
|
|
732
|
-
options);
|
|
1752
|
+
* @param nextLink The nextLink from the previous successful call to the ListSkus method.
|
|
1753
|
+
* @param options The options parameters.
|
|
1754
|
+
*/
|
|
1755
|
+
private _listSkusNext(
|
|
1756
|
+
resourceGroupName: string,
|
|
1757
|
+
vmScaleSetName: string,
|
|
1758
|
+
nextLink: string,
|
|
1759
|
+
options?: VirtualMachineScaleSetsListSkusNextOptionalParams
|
|
1760
|
+
): Promise<VirtualMachineScaleSetsListSkusNextResponse> {
|
|
1761
|
+
return this.client.sendOperationRequest(
|
|
1762
|
+
{ resourceGroupName, vmScaleSetName, nextLink, options },
|
|
1763
|
+
listSkusNextOperationSpec
|
|
1764
|
+
);
|
|
733
1765
|
}
|
|
734
1766
|
|
|
735
1767
|
/**
|
|
736
|
-
*
|
|
737
|
-
* operation is only supported for managed disks.
|
|
1768
|
+
* GetOSUpgradeHistoryNext
|
|
738
1769
|
* @param resourceGroupName The name of the resource group.
|
|
739
1770
|
* @param vmScaleSetName The name of the VM scale set.
|
|
740
|
-
* @param
|
|
741
|
-
* @
|
|
742
|
-
*/
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
},
|
|
750
|
-
beginReimageAllOperationSpec,
|
|
751
|
-
options);
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* Changes ServiceState property for a given service
|
|
756
|
-
* @param resourceGroupName The name of the resource group.
|
|
757
|
-
* @param vmScaleSetName The name of the virtual machine scale set to create or update.
|
|
758
|
-
* @param parameters The input object for SetOrchestrationServiceState API.
|
|
759
|
-
* @param [options] The optional parameters
|
|
760
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
761
|
-
*/
|
|
762
|
-
beginSetOrchestrationServiceState(resourceGroupName: string, vmScaleSetName: string, parameters: Models.OrchestrationServiceStateInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
763
|
-
return this.client.sendLRORequest(
|
|
764
|
-
{
|
|
765
|
-
resourceGroupName,
|
|
766
|
-
vmScaleSetName,
|
|
767
|
-
parameters,
|
|
768
|
-
options
|
|
769
|
-
},
|
|
770
|
-
beginSetOrchestrationServiceStateOperationSpec,
|
|
771
|
-
options);
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
/**
|
|
775
|
-
* Gets all the VM scale sets under the specified subscription for the specified location.
|
|
776
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
777
|
-
* @param [options] The optional parameters
|
|
778
|
-
* @returns Promise<Models.VirtualMachineScaleSetsListByLocationNextResponse>
|
|
779
|
-
*/
|
|
780
|
-
listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineScaleSetsListByLocationNextResponse>;
|
|
781
|
-
/**
|
|
782
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
783
|
-
* @param callback The callback
|
|
784
|
-
*/
|
|
785
|
-
listByLocationNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>): void;
|
|
786
|
-
/**
|
|
787
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
788
|
-
* @param options The optional parameters
|
|
789
|
-
* @param callback The callback
|
|
790
|
-
*/
|
|
791
|
-
listByLocationNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>): void;
|
|
792
|
-
listByLocationNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>, callback?: msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>): Promise<Models.VirtualMachineScaleSetsListByLocationNextResponse> {
|
|
1771
|
+
* @param nextLink The nextLink from the previous successful call to the GetOSUpgradeHistory method.
|
|
1772
|
+
* @param options The options parameters.
|
|
1773
|
+
*/
|
|
1774
|
+
private _getOSUpgradeHistoryNext(
|
|
1775
|
+
resourceGroupName: string,
|
|
1776
|
+
vmScaleSetName: string,
|
|
1777
|
+
nextLink: string,
|
|
1778
|
+
options?: VirtualMachineScaleSetsGetOSUpgradeHistoryNextOptionalParams
|
|
1779
|
+
): Promise<VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse> {
|
|
793
1780
|
return this.client.sendOperationRequest(
|
|
794
|
-
{
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
},
|
|
798
|
-
listByLocationNextOperationSpec,
|
|
799
|
-
callback) as Promise<Models.VirtualMachineScaleSetsListByLocationNextResponse>;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* Gets a list of all VM scale sets under a resource group.
|
|
804
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
805
|
-
* @param [options] The optional parameters
|
|
806
|
-
* @returns Promise<Models.VirtualMachineScaleSetsListNextResponse>
|
|
807
|
-
*/
|
|
808
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineScaleSetsListNextResponse>;
|
|
809
|
-
/**
|
|
810
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
811
|
-
* @param callback The callback
|
|
812
|
-
*/
|
|
813
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>): void;
|
|
814
|
-
/**
|
|
815
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
816
|
-
* @param options The optional parameters
|
|
817
|
-
* @param callback The callback
|
|
818
|
-
*/
|
|
819
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>): void;
|
|
820
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>, callback?: msRest.ServiceCallback<Models.VirtualMachineScaleSetListResult>): Promise<Models.VirtualMachineScaleSetsListNextResponse> {
|
|
821
|
-
return this.client.sendOperationRequest(
|
|
822
|
-
{
|
|
823
|
-
nextPageLink,
|
|
824
|
-
options
|
|
825
|
-
},
|
|
826
|
-
listNextOperationSpec,
|
|
827
|
-
callback) as Promise<Models.VirtualMachineScaleSetsListNextResponse>;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* Gets a list of all VM Scale Sets in the subscription, regardless of the associated resource
|
|
832
|
-
* group. Use nextLink property in the response to get the next page of VM Scale Sets. Do this till
|
|
833
|
-
* nextLink is null to fetch all the VM Scale Sets.
|
|
834
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
835
|
-
* @param [options] The optional parameters
|
|
836
|
-
* @returns Promise<Models.VirtualMachineScaleSetsListAllNextResponse>
|
|
837
|
-
*/
|
|
838
|
-
listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineScaleSetsListAllNextResponse>;
|
|
839
|
-
/**
|
|
840
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
841
|
-
* @param callback The callback
|
|
842
|
-
*/
|
|
843
|
-
listAllNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListWithLinkResult>): void;
|
|
844
|
-
/**
|
|
845
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
846
|
-
* @param options The optional parameters
|
|
847
|
-
* @param callback The callback
|
|
848
|
-
*/
|
|
849
|
-
listAllNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListWithLinkResult>): void;
|
|
850
|
-
listAllNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VirtualMachineScaleSetListWithLinkResult>, callback?: msRest.ServiceCallback<Models.VirtualMachineScaleSetListWithLinkResult>): Promise<Models.VirtualMachineScaleSetsListAllNextResponse> {
|
|
851
|
-
return this.client.sendOperationRequest(
|
|
852
|
-
{
|
|
853
|
-
nextPageLink,
|
|
854
|
-
options
|
|
855
|
-
},
|
|
856
|
-
listAllNextOperationSpec,
|
|
857
|
-
callback) as Promise<Models.VirtualMachineScaleSetsListAllNextResponse>;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
/**
|
|
861
|
-
* Gets a list of SKUs available for your VM scale set, including the minimum and maximum VM
|
|
862
|
-
* instances allowed for each SKU.
|
|
863
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
864
|
-
* @param [options] The optional parameters
|
|
865
|
-
* @returns Promise<Models.VirtualMachineScaleSetsListSkusNextResponse>
|
|
866
|
-
*/
|
|
867
|
-
listSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineScaleSetsListSkusNextResponse>;
|
|
868
|
-
/**
|
|
869
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
870
|
-
* @param callback The callback
|
|
871
|
-
*/
|
|
872
|
-
listSkusNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListSkusResult>): void;
|
|
873
|
-
/**
|
|
874
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
875
|
-
* @param options The optional parameters
|
|
876
|
-
* @param callback The callback
|
|
877
|
-
*/
|
|
878
|
-
listSkusNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListSkusResult>): void;
|
|
879
|
-
listSkusNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VirtualMachineScaleSetListSkusResult>, callback?: msRest.ServiceCallback<Models.VirtualMachineScaleSetListSkusResult>): Promise<Models.VirtualMachineScaleSetsListSkusNextResponse> {
|
|
880
|
-
return this.client.sendOperationRequest(
|
|
881
|
-
{
|
|
882
|
-
nextPageLink,
|
|
883
|
-
options
|
|
884
|
-
},
|
|
885
|
-
listSkusNextOperationSpec,
|
|
886
|
-
callback) as Promise<Models.VirtualMachineScaleSetsListSkusNextResponse>;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
/**
|
|
890
|
-
* Gets list of OS upgrades on a VM scale set instance.
|
|
891
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
892
|
-
* @param [options] The optional parameters
|
|
893
|
-
* @returns Promise<Models.VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse>
|
|
894
|
-
*/
|
|
895
|
-
getOSUpgradeHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse>;
|
|
896
|
-
/**
|
|
897
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
898
|
-
* @param callback The callback
|
|
899
|
-
*/
|
|
900
|
-
getOSUpgradeHistoryNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListOSUpgradeHistory>): void;
|
|
901
|
-
/**
|
|
902
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
903
|
-
* @param options The optional parameters
|
|
904
|
-
* @param callback The callback
|
|
905
|
-
*/
|
|
906
|
-
getOSUpgradeHistoryNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.VirtualMachineScaleSetListOSUpgradeHistory>): void;
|
|
907
|
-
getOSUpgradeHistoryNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.VirtualMachineScaleSetListOSUpgradeHistory>, callback?: msRest.ServiceCallback<Models.VirtualMachineScaleSetListOSUpgradeHistory>): Promise<Models.VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse> {
|
|
908
|
-
return this.client.sendOperationRequest(
|
|
909
|
-
{
|
|
910
|
-
nextPageLink,
|
|
911
|
-
options
|
|
912
|
-
},
|
|
913
|
-
getOSUpgradeHistoryNextOperationSpec,
|
|
914
|
-
callback) as Promise<Models.VirtualMachineScaleSetsGetOSUpgradeHistoryNextResponse>;
|
|
1781
|
+
{ resourceGroupName, vmScaleSetName, nextLink, options },
|
|
1782
|
+
getOSUpgradeHistoryNextOperationSpec
|
|
1783
|
+
);
|
|
915
1784
|
}
|
|
916
1785
|
}
|
|
917
|
-
|
|
918
1786
|
// Operation Specifications
|
|
919
|
-
const serializer =
|
|
920
|
-
const listByLocationOperationSpec: msRest.OperationSpec = {
|
|
921
|
-
httpMethod: "GET",
|
|
922
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets",
|
|
923
|
-
urlParameters: [
|
|
924
|
-
Parameters.location1,
|
|
925
|
-
Parameters.subscriptionId
|
|
926
|
-
],
|
|
927
|
-
queryParameters: [
|
|
928
|
-
Parameters.apiVersion0
|
|
929
|
-
],
|
|
930
|
-
headerParameters: [
|
|
931
|
-
Parameters.acceptLanguage
|
|
932
|
-
],
|
|
933
|
-
responses: {
|
|
934
|
-
200: {
|
|
935
|
-
bodyMapper: Mappers.VirtualMachineScaleSetListResult
|
|
936
|
-
},
|
|
937
|
-
default: {
|
|
938
|
-
bodyMapper: Mappers.CloudError
|
|
939
|
-
}
|
|
940
|
-
},
|
|
941
|
-
serializer
|
|
942
|
-
};
|
|
943
|
-
|
|
944
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
945
|
-
httpMethod: "GET",
|
|
946
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}",
|
|
947
|
-
urlParameters: [
|
|
948
|
-
Parameters.resourceGroupName,
|
|
949
|
-
Parameters.vmScaleSetName,
|
|
950
|
-
Parameters.subscriptionId
|
|
951
|
-
],
|
|
952
|
-
queryParameters: [
|
|
953
|
-
Parameters.apiVersion0,
|
|
954
|
-
Parameters.expand0
|
|
955
|
-
],
|
|
956
|
-
headerParameters: [
|
|
957
|
-
Parameters.acceptLanguage
|
|
958
|
-
],
|
|
959
|
-
responses: {
|
|
960
|
-
200: {
|
|
961
|
-
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
962
|
-
},
|
|
963
|
-
default: {
|
|
964
|
-
bodyMapper: Mappers.CloudError
|
|
965
|
-
}
|
|
966
|
-
},
|
|
967
|
-
serializer
|
|
968
|
-
};
|
|
1787
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
969
1788
|
|
|
970
|
-
const
|
|
1789
|
+
const listByLocationOperationSpec: coreClient.OperationSpec = {
|
|
1790
|
+
path:
|
|
1791
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets",
|
|
971
1792
|
httpMethod: "GET",
|
|
972
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView",
|
|
973
|
-
urlParameters: [
|
|
974
|
-
Parameters.resourceGroupName,
|
|
975
|
-
Parameters.vmScaleSetName,
|
|
976
|
-
Parameters.subscriptionId
|
|
977
|
-
],
|
|
978
|
-
queryParameters: [
|
|
979
|
-
Parameters.apiVersion0
|
|
980
|
-
],
|
|
981
|
-
headerParameters: [
|
|
982
|
-
Parameters.acceptLanguage
|
|
983
|
-
],
|
|
984
|
-
responses: {
|
|
985
|
-
200: {
|
|
986
|
-
bodyMapper: Mappers.VirtualMachineScaleSetInstanceView
|
|
987
|
-
},
|
|
988
|
-
default: {
|
|
989
|
-
bodyMapper: Mappers.CloudError
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
serializer
|
|
993
|
-
};
|
|
994
|
-
|
|
995
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
996
|
-
httpMethod: "GET",
|
|
997
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets",
|
|
998
|
-
urlParameters: [
|
|
999
|
-
Parameters.resourceGroupName,
|
|
1000
|
-
Parameters.subscriptionId
|
|
1001
|
-
],
|
|
1002
|
-
queryParameters: [
|
|
1003
|
-
Parameters.apiVersion0
|
|
1004
|
-
],
|
|
1005
|
-
headerParameters: [
|
|
1006
|
-
Parameters.acceptLanguage
|
|
1007
|
-
],
|
|
1008
1793
|
responses: {
|
|
1009
1794
|
200: {
|
|
1010
1795
|
bodyMapper: Mappers.VirtualMachineScaleSetListResult
|
|
@@ -1013,159 +1798,49 @@ const listOperationSpec: msRest.OperationSpec = {
|
|
|
1013
1798
|
bodyMapper: Mappers.CloudError
|
|
1014
1799
|
}
|
|
1015
1800
|
},
|
|
1016
|
-
|
|
1017
|
-
};
|
|
1018
|
-
|
|
1019
|
-
const listAllOperationSpec: msRest.OperationSpec = {
|
|
1020
|
-
httpMethod: "GET",
|
|
1021
|
-
path: "subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets",
|
|
1801
|
+
queryParameters: [Parameters.apiVersion],
|
|
1022
1802
|
urlParameters: [
|
|
1023
|
-
Parameters
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
Parameters.apiVersion0
|
|
1803
|
+
Parameters.$host,
|
|
1804
|
+
Parameters.subscriptionId,
|
|
1805
|
+
Parameters.location1
|
|
1027
1806
|
],
|
|
1028
|
-
headerParameters: [
|
|
1029
|
-
Parameters.acceptLanguage
|
|
1030
|
-
],
|
|
1031
|
-
responses: {
|
|
1032
|
-
200: {
|
|
1033
|
-
bodyMapper: Mappers.VirtualMachineScaleSetListWithLinkResult
|
|
1034
|
-
},
|
|
1035
|
-
default: {
|
|
1036
|
-
bodyMapper: Mappers.CloudError
|
|
1037
|
-
}
|
|
1038
|
-
},
|
|
1807
|
+
headerParameters: [Parameters.accept],
|
|
1039
1808
|
serializer
|
|
1040
1809
|
};
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
urlParameters: [
|
|
1046
|
-
Parameters.resourceGroupName,
|
|
1047
|
-
Parameters.vmScaleSetName,
|
|
1048
|
-
Parameters.subscriptionId
|
|
1049
|
-
],
|
|
1050
|
-
queryParameters: [
|
|
1051
|
-
Parameters.apiVersion0
|
|
1052
|
-
],
|
|
1053
|
-
headerParameters: [
|
|
1054
|
-
Parameters.acceptLanguage
|
|
1055
|
-
],
|
|
1810
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
1811
|
+
path:
|
|
1812
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}",
|
|
1813
|
+
httpMethod: "PUT",
|
|
1056
1814
|
responses: {
|
|
1057
1815
|
200: {
|
|
1058
|
-
bodyMapper: Mappers.
|
|
1816
|
+
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1059
1817
|
},
|
|
1060
|
-
|
|
1061
|
-
bodyMapper: Mappers.
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
serializer
|
|
1065
|
-
};
|
|
1066
|
-
|
|
1067
|
-
const getOSUpgradeHistoryOperationSpec: msRest.OperationSpec = {
|
|
1068
|
-
httpMethod: "GET",
|
|
1069
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory",
|
|
1070
|
-
urlParameters: [
|
|
1071
|
-
Parameters.resourceGroupName,
|
|
1072
|
-
Parameters.vmScaleSetName,
|
|
1073
|
-
Parameters.subscriptionId
|
|
1074
|
-
],
|
|
1075
|
-
queryParameters: [
|
|
1076
|
-
Parameters.apiVersion0
|
|
1077
|
-
],
|
|
1078
|
-
headerParameters: [
|
|
1079
|
-
Parameters.acceptLanguage
|
|
1080
|
-
],
|
|
1081
|
-
responses: {
|
|
1082
|
-
200: {
|
|
1083
|
-
bodyMapper: Mappers.VirtualMachineScaleSetListOSUpgradeHistory
|
|
1818
|
+
201: {
|
|
1819
|
+
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1084
1820
|
},
|
|
1085
|
-
|
|
1086
|
-
bodyMapper: Mappers.
|
|
1087
|
-
}
|
|
1088
|
-
},
|
|
1089
|
-
serializer
|
|
1090
|
-
};
|
|
1091
|
-
|
|
1092
|
-
const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: msRest.OperationSpec = {
|
|
1093
|
-
httpMethod: "POST",
|
|
1094
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk",
|
|
1095
|
-
urlParameters: [
|
|
1096
|
-
Parameters.resourceGroupName,
|
|
1097
|
-
Parameters.vmScaleSetName,
|
|
1098
|
-
Parameters.subscriptionId
|
|
1099
|
-
],
|
|
1100
|
-
queryParameters: [
|
|
1101
|
-
Parameters.apiVersion0,
|
|
1102
|
-
Parameters.platformUpdateDomain
|
|
1103
|
-
],
|
|
1104
|
-
headerParameters: [
|
|
1105
|
-
Parameters.acceptLanguage
|
|
1106
|
-
],
|
|
1107
|
-
responses: {
|
|
1108
|
-
200: {
|
|
1109
|
-
bodyMapper: Mappers.RecoveryWalkResponse
|
|
1821
|
+
202: {
|
|
1822
|
+
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1110
1823
|
},
|
|
1111
|
-
|
|
1112
|
-
bodyMapper: Mappers.
|
|
1113
|
-
}
|
|
1114
|
-
},
|
|
1115
|
-
serializer
|
|
1116
|
-
};
|
|
1117
|
-
|
|
1118
|
-
const convertToSinglePlacementGroupOperationSpec: msRest.OperationSpec = {
|
|
1119
|
-
httpMethod: "POST",
|
|
1120
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup",
|
|
1121
|
-
urlParameters: [
|
|
1122
|
-
Parameters.resourceGroupName,
|
|
1123
|
-
Parameters.vmScaleSetName,
|
|
1124
|
-
Parameters.subscriptionId
|
|
1125
|
-
],
|
|
1126
|
-
queryParameters: [
|
|
1127
|
-
Parameters.apiVersion0
|
|
1128
|
-
],
|
|
1129
|
-
headerParameters: [
|
|
1130
|
-
Parameters.acceptLanguage
|
|
1131
|
-
],
|
|
1132
|
-
requestBody: {
|
|
1133
|
-
parameterPath: "parameters",
|
|
1134
|
-
mapper: {
|
|
1135
|
-
...Mappers.VMScaleSetConvertToSinglePlacementGroupInput,
|
|
1136
|
-
required: true
|
|
1137
|
-
}
|
|
1138
|
-
},
|
|
1139
|
-
responses: {
|
|
1140
|
-
200: {},
|
|
1141
|
-
default: {
|
|
1142
|
-
bodyMapper: Mappers.CloudError
|
|
1824
|
+
204: {
|
|
1825
|
+
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1143
1826
|
}
|
|
1144
|
-
},
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
1149
|
-
httpMethod: "PUT",
|
|
1150
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}",
|
|
1827
|
+
},
|
|
1828
|
+
requestBody: Parameters.parameters15,
|
|
1829
|
+
queryParameters: [Parameters.apiVersion],
|
|
1151
1830
|
urlParameters: [
|
|
1831
|
+
Parameters.$host,
|
|
1152
1832
|
Parameters.resourceGroupName,
|
|
1153
|
-
Parameters.
|
|
1154
|
-
Parameters.
|
|
1155
|
-
],
|
|
1156
|
-
queryParameters: [
|
|
1157
|
-
Parameters.apiVersion0
|
|
1158
|
-
],
|
|
1159
|
-
headerParameters: [
|
|
1160
|
-
Parameters.acceptLanguage
|
|
1833
|
+
Parameters.subscriptionId,
|
|
1834
|
+
Parameters.vmScaleSetName
|
|
1161
1835
|
],
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1836
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1837
|
+
mediaType: "json",
|
|
1838
|
+
serializer
|
|
1839
|
+
};
|
|
1840
|
+
const updateOperationSpec: coreClient.OperationSpec = {
|
|
1841
|
+
path:
|
|
1842
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}",
|
|
1843
|
+
httpMethod: "PATCH",
|
|
1169
1844
|
responses: {
|
|
1170
1845
|
200: {
|
|
1171
1846
|
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
@@ -1173,427 +1848,373 @@ const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
|
1173
1848
|
201: {
|
|
1174
1849
|
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1175
1850
|
},
|
|
1176
|
-
|
|
1177
|
-
bodyMapper: Mappers.
|
|
1851
|
+
202: {
|
|
1852
|
+
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1853
|
+
},
|
|
1854
|
+
204: {
|
|
1855
|
+
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1178
1856
|
}
|
|
1179
1857
|
},
|
|
1858
|
+
requestBody: Parameters.parameters16,
|
|
1859
|
+
queryParameters: [Parameters.apiVersion],
|
|
1860
|
+
urlParameters: [
|
|
1861
|
+
Parameters.$host,
|
|
1862
|
+
Parameters.resourceGroupName,
|
|
1863
|
+
Parameters.subscriptionId,
|
|
1864
|
+
Parameters.vmScaleSetName
|
|
1865
|
+
],
|
|
1866
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1867
|
+
mediaType: "json",
|
|
1180
1868
|
serializer
|
|
1181
1869
|
};
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1870
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
1871
|
+
path:
|
|
1872
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}",
|
|
1873
|
+
httpMethod: "DELETE",
|
|
1874
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
1875
|
+
queryParameters: [Parameters.apiVersion, Parameters.forceDeletion],
|
|
1186
1876
|
urlParameters: [
|
|
1877
|
+
Parameters.$host,
|
|
1187
1878
|
Parameters.resourceGroupName,
|
|
1188
|
-
Parameters.
|
|
1189
|
-
Parameters.
|
|
1190
|
-
],
|
|
1191
|
-
queryParameters: [
|
|
1192
|
-
Parameters.apiVersion0
|
|
1879
|
+
Parameters.subscriptionId,
|
|
1880
|
+
Parameters.vmScaleSetName
|
|
1193
1881
|
],
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
...Mappers.VirtualMachineScaleSetUpdate,
|
|
1201
|
-
required: true
|
|
1202
|
-
}
|
|
1203
|
-
},
|
|
1882
|
+
serializer
|
|
1883
|
+
};
|
|
1884
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
1885
|
+
path:
|
|
1886
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}",
|
|
1887
|
+
httpMethod: "GET",
|
|
1204
1888
|
responses: {
|
|
1205
1889
|
200: {
|
|
1206
1890
|
bodyMapper: Mappers.VirtualMachineScaleSet
|
|
1207
|
-
},
|
|
1208
|
-
default: {
|
|
1209
|
-
bodyMapper: Mappers.CloudError
|
|
1210
1891
|
}
|
|
1211
1892
|
},
|
|
1893
|
+
queryParameters: [Parameters.apiVersion, Parameters.expand2],
|
|
1894
|
+
urlParameters: [
|
|
1895
|
+
Parameters.$host,
|
|
1896
|
+
Parameters.resourceGroupName,
|
|
1897
|
+
Parameters.subscriptionId,
|
|
1898
|
+
Parameters.vmScaleSetName
|
|
1899
|
+
],
|
|
1900
|
+
headerParameters: [Parameters.accept],
|
|
1212
1901
|
serializer
|
|
1213
1902
|
};
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1903
|
+
const deallocateOperationSpec: coreClient.OperationSpec = {
|
|
1904
|
+
path:
|
|
1905
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate",
|
|
1906
|
+
httpMethod: "POST",
|
|
1907
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
1908
|
+
requestBody: Parameters.vmInstanceIDs,
|
|
1909
|
+
queryParameters: [Parameters.apiVersion],
|
|
1218
1910
|
urlParameters: [
|
|
1911
|
+
Parameters.$host,
|
|
1219
1912
|
Parameters.resourceGroupName,
|
|
1220
|
-
Parameters.
|
|
1221
|
-
Parameters.
|
|
1222
|
-
],
|
|
1223
|
-
queryParameters: [
|
|
1224
|
-
Parameters.forceDeletion,
|
|
1225
|
-
Parameters.apiVersion0
|
|
1226
|
-
],
|
|
1227
|
-
headerParameters: [
|
|
1228
|
-
Parameters.acceptLanguage
|
|
1913
|
+
Parameters.subscriptionId,
|
|
1914
|
+
Parameters.vmScaleSetName
|
|
1229
1915
|
],
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
202: {},
|
|
1233
|
-
204: {},
|
|
1234
|
-
default: {
|
|
1235
|
-
bodyMapper: Mappers.CloudError
|
|
1236
|
-
}
|
|
1237
|
-
},
|
|
1916
|
+
headerParameters: [Parameters.contentType],
|
|
1917
|
+
mediaType: "json",
|
|
1238
1918
|
serializer
|
|
1239
1919
|
};
|
|
1240
|
-
|
|
1241
|
-
|
|
1920
|
+
const deleteInstancesOperationSpec: coreClient.OperationSpec = {
|
|
1921
|
+
path:
|
|
1922
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete",
|
|
1242
1923
|
httpMethod: "POST",
|
|
1243
|
-
|
|
1924
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
1925
|
+
requestBody: Parameters.vmInstanceIDs1,
|
|
1926
|
+
queryParameters: [Parameters.apiVersion, Parameters.forceDeletion],
|
|
1244
1927
|
urlParameters: [
|
|
1928
|
+
Parameters.$host,
|
|
1245
1929
|
Parameters.resourceGroupName,
|
|
1246
|
-
Parameters.
|
|
1247
|
-
Parameters.
|
|
1248
|
-
],
|
|
1249
|
-
queryParameters: [
|
|
1250
|
-
Parameters.apiVersion0
|
|
1930
|
+
Parameters.subscriptionId,
|
|
1931
|
+
Parameters.vmScaleSetName
|
|
1251
1932
|
],
|
|
1252
|
-
headerParameters: [
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
mapper: Mappers.VirtualMachineScaleSetVMInstanceIDs
|
|
1261
|
-
},
|
|
1933
|
+
headerParameters: [Parameters.contentType],
|
|
1934
|
+
mediaType: "json",
|
|
1935
|
+
serializer
|
|
1936
|
+
};
|
|
1937
|
+
const getInstanceViewOperationSpec: coreClient.OperationSpec = {
|
|
1938
|
+
path:
|
|
1939
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView",
|
|
1940
|
+
httpMethod: "GET",
|
|
1262
1941
|
responses: {
|
|
1263
|
-
200: {
|
|
1264
|
-
|
|
1265
|
-
default: {
|
|
1266
|
-
bodyMapper: Mappers.CloudError
|
|
1942
|
+
200: {
|
|
1943
|
+
bodyMapper: Mappers.VirtualMachineScaleSetInstanceView
|
|
1267
1944
|
}
|
|
1268
1945
|
},
|
|
1946
|
+
queryParameters: [Parameters.apiVersion],
|
|
1947
|
+
urlParameters: [
|
|
1948
|
+
Parameters.$host,
|
|
1949
|
+
Parameters.resourceGroupName,
|
|
1950
|
+
Parameters.subscriptionId,
|
|
1951
|
+
Parameters.vmScaleSetName
|
|
1952
|
+
],
|
|
1953
|
+
headerParameters: [Parameters.accept],
|
|
1269
1954
|
serializer
|
|
1270
1955
|
};
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1956
|
+
const listOperationSpec: coreClient.OperationSpec = {
|
|
1957
|
+
path:
|
|
1958
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets",
|
|
1959
|
+
httpMethod: "GET",
|
|
1960
|
+
responses: {
|
|
1961
|
+
200: {
|
|
1962
|
+
bodyMapper: Mappers.VirtualMachineScaleSetListResult
|
|
1963
|
+
}
|
|
1964
|
+
},
|
|
1965
|
+
queryParameters: [Parameters.apiVersion],
|
|
1275
1966
|
urlParameters: [
|
|
1967
|
+
Parameters.$host,
|
|
1276
1968
|
Parameters.resourceGroupName,
|
|
1277
|
-
Parameters.vmScaleSetName,
|
|
1278
1969
|
Parameters.subscriptionId
|
|
1279
1970
|
],
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
requestBody: {
|
|
1288
|
-
parameterPath: "vmInstanceIDs",
|
|
1289
|
-
mapper: {
|
|
1290
|
-
...Mappers.VirtualMachineScaleSetVMInstanceRequiredIDs,
|
|
1291
|
-
required: true
|
|
1292
|
-
}
|
|
1293
|
-
},
|
|
1971
|
+
headerParameters: [Parameters.accept],
|
|
1972
|
+
serializer
|
|
1973
|
+
};
|
|
1974
|
+
const listAllOperationSpec: coreClient.OperationSpec = {
|
|
1975
|
+
path:
|
|
1976
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets",
|
|
1977
|
+
httpMethod: "GET",
|
|
1294
1978
|
responses: {
|
|
1295
|
-
200: {
|
|
1296
|
-
|
|
1297
|
-
default: {
|
|
1298
|
-
bodyMapper: Mappers.CloudError
|
|
1979
|
+
200: {
|
|
1980
|
+
bodyMapper: Mappers.VirtualMachineScaleSetListWithLinkResult
|
|
1299
1981
|
}
|
|
1300
1982
|
},
|
|
1983
|
+
queryParameters: [Parameters.apiVersion],
|
|
1984
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
1985
|
+
headerParameters: [Parameters.accept],
|
|
1301
1986
|
serializer
|
|
1302
1987
|
};
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1988
|
+
const listSkusOperationSpec: coreClient.OperationSpec = {
|
|
1989
|
+
path:
|
|
1990
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus",
|
|
1991
|
+
httpMethod: "GET",
|
|
1992
|
+
responses: {
|
|
1993
|
+
200: {
|
|
1994
|
+
bodyMapper: Mappers.VirtualMachineScaleSetListSkusResult
|
|
1995
|
+
}
|
|
1996
|
+
},
|
|
1997
|
+
queryParameters: [Parameters.apiVersion],
|
|
1307
1998
|
urlParameters: [
|
|
1999
|
+
Parameters.$host,
|
|
1308
2000
|
Parameters.resourceGroupName,
|
|
1309
|
-
Parameters.
|
|
1310
|
-
Parameters.
|
|
2001
|
+
Parameters.subscriptionId,
|
|
2002
|
+
Parameters.vmScaleSetName
|
|
1311
2003
|
],
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
requestBody: {
|
|
1320
|
-
parameterPath: [
|
|
1321
|
-
"options",
|
|
1322
|
-
"vmInstanceIDs"
|
|
1323
|
-
],
|
|
1324
|
-
mapper: Mappers.VirtualMachineScaleSetVMInstanceIDs
|
|
1325
|
-
},
|
|
2004
|
+
headerParameters: [Parameters.accept],
|
|
2005
|
+
serializer
|
|
2006
|
+
};
|
|
2007
|
+
const getOSUpgradeHistoryOperationSpec: coreClient.OperationSpec = {
|
|
2008
|
+
path:
|
|
2009
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory",
|
|
2010
|
+
httpMethod: "GET",
|
|
1326
2011
|
responses: {
|
|
1327
|
-
200: {
|
|
1328
|
-
|
|
1329
|
-
default: {
|
|
1330
|
-
bodyMapper: Mappers.CloudError
|
|
2012
|
+
200: {
|
|
2013
|
+
bodyMapper: Mappers.VirtualMachineScaleSetListOSUpgradeHistory
|
|
1331
2014
|
}
|
|
1332
2015
|
},
|
|
2016
|
+
queryParameters: [Parameters.apiVersion],
|
|
2017
|
+
urlParameters: [
|
|
2018
|
+
Parameters.$host,
|
|
2019
|
+
Parameters.resourceGroupName,
|
|
2020
|
+
Parameters.subscriptionId,
|
|
2021
|
+
Parameters.vmScaleSetName
|
|
2022
|
+
],
|
|
2023
|
+
headerParameters: [Parameters.accept],
|
|
1333
2024
|
serializer
|
|
1334
2025
|
};
|
|
1335
|
-
|
|
1336
|
-
|
|
2026
|
+
const powerOffOperationSpec: coreClient.OperationSpec = {
|
|
2027
|
+
path:
|
|
2028
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff",
|
|
1337
2029
|
httpMethod: "POST",
|
|
1338
|
-
|
|
2030
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2031
|
+
requestBody: Parameters.vmInstanceIDs,
|
|
2032
|
+
queryParameters: [Parameters.apiVersion, Parameters.skipShutdown],
|
|
1339
2033
|
urlParameters: [
|
|
2034
|
+
Parameters.$host,
|
|
1340
2035
|
Parameters.resourceGroupName,
|
|
1341
|
-
Parameters.
|
|
1342
|
-
Parameters.
|
|
1343
|
-
],
|
|
1344
|
-
queryParameters: [
|
|
1345
|
-
Parameters.apiVersion0
|
|
2036
|
+
Parameters.subscriptionId,
|
|
2037
|
+
Parameters.vmScaleSetName
|
|
1346
2038
|
],
|
|
1347
|
-
headerParameters: [
|
|
1348
|
-
|
|
1349
|
-
],
|
|
1350
|
-
requestBody: {
|
|
1351
|
-
parameterPath: [
|
|
1352
|
-
"options",
|
|
1353
|
-
"vmInstanceIDs"
|
|
1354
|
-
],
|
|
1355
|
-
mapper: Mappers.VirtualMachineScaleSetVMInstanceIDs
|
|
1356
|
-
},
|
|
1357
|
-
responses: {
|
|
1358
|
-
200: {},
|
|
1359
|
-
202: {},
|
|
1360
|
-
default: {
|
|
1361
|
-
bodyMapper: Mappers.CloudError
|
|
1362
|
-
}
|
|
1363
|
-
},
|
|
2039
|
+
headerParameters: [Parameters.contentType],
|
|
2040
|
+
mediaType: "json",
|
|
1364
2041
|
serializer
|
|
1365
2042
|
};
|
|
1366
|
-
|
|
1367
|
-
|
|
2043
|
+
const restartOperationSpec: coreClient.OperationSpec = {
|
|
2044
|
+
path:
|
|
2045
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart",
|
|
1368
2046
|
httpMethod: "POST",
|
|
1369
|
-
|
|
2047
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2048
|
+
requestBody: Parameters.vmInstanceIDs,
|
|
2049
|
+
queryParameters: [Parameters.apiVersion],
|
|
1370
2050
|
urlParameters: [
|
|
2051
|
+
Parameters.$host,
|
|
1371
2052
|
Parameters.resourceGroupName,
|
|
1372
|
-
Parameters.
|
|
1373
|
-
Parameters.
|
|
1374
|
-
],
|
|
1375
|
-
queryParameters: [
|
|
1376
|
-
Parameters.apiVersion0
|
|
2053
|
+
Parameters.subscriptionId,
|
|
2054
|
+
Parameters.vmScaleSetName
|
|
1377
2055
|
],
|
|
1378
|
-
headerParameters: [
|
|
1379
|
-
|
|
1380
|
-
],
|
|
1381
|
-
requestBody: {
|
|
1382
|
-
parameterPath: [
|
|
1383
|
-
"options",
|
|
1384
|
-
"vmInstanceIDs"
|
|
1385
|
-
],
|
|
1386
|
-
mapper: Mappers.VirtualMachineScaleSetVMInstanceIDs
|
|
1387
|
-
},
|
|
1388
|
-
responses: {
|
|
1389
|
-
200: {},
|
|
1390
|
-
202: {},
|
|
1391
|
-
default: {
|
|
1392
|
-
bodyMapper: Mappers.CloudError
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
2056
|
+
headerParameters: [Parameters.contentType],
|
|
2057
|
+
mediaType: "json",
|
|
1395
2058
|
serializer
|
|
1396
2059
|
};
|
|
1397
|
-
|
|
1398
|
-
|
|
2060
|
+
const startOperationSpec: coreClient.OperationSpec = {
|
|
2061
|
+
path:
|
|
2062
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start",
|
|
1399
2063
|
httpMethod: "POST",
|
|
1400
|
-
|
|
2064
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2065
|
+
requestBody: Parameters.vmInstanceIDs,
|
|
2066
|
+
queryParameters: [Parameters.apiVersion],
|
|
1401
2067
|
urlParameters: [
|
|
2068
|
+
Parameters.$host,
|
|
1402
2069
|
Parameters.resourceGroupName,
|
|
1403
|
-
Parameters.
|
|
1404
|
-
Parameters.
|
|
1405
|
-
],
|
|
1406
|
-
queryParameters: [
|
|
1407
|
-
Parameters.apiVersion0
|
|
2070
|
+
Parameters.subscriptionId,
|
|
2071
|
+
Parameters.vmScaleSetName
|
|
1408
2072
|
],
|
|
1409
|
-
headerParameters: [
|
|
1410
|
-
|
|
1411
|
-
],
|
|
1412
|
-
requestBody: {
|
|
1413
|
-
parameterPath: [
|
|
1414
|
-
"options",
|
|
1415
|
-
"vmInstanceIDs"
|
|
1416
|
-
],
|
|
1417
|
-
mapper: Mappers.VirtualMachineScaleSetVMInstanceIDs
|
|
1418
|
-
},
|
|
1419
|
-
responses: {
|
|
1420
|
-
200: {},
|
|
1421
|
-
202: {},
|
|
1422
|
-
default: {
|
|
1423
|
-
bodyMapper: Mappers.CloudError
|
|
1424
|
-
}
|
|
1425
|
-
},
|
|
2073
|
+
headerParameters: [Parameters.contentType],
|
|
2074
|
+
mediaType: "json",
|
|
1426
2075
|
serializer
|
|
1427
2076
|
};
|
|
1428
|
-
|
|
1429
|
-
|
|
2077
|
+
const redeployOperationSpec: coreClient.OperationSpec = {
|
|
2078
|
+
path:
|
|
2079
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/redeploy",
|
|
1430
2080
|
httpMethod: "POST",
|
|
1431
|
-
|
|
2081
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2082
|
+
requestBody: Parameters.vmInstanceIDs,
|
|
2083
|
+
queryParameters: [Parameters.apiVersion],
|
|
1432
2084
|
urlParameters: [
|
|
2085
|
+
Parameters.$host,
|
|
1433
2086
|
Parameters.resourceGroupName,
|
|
1434
|
-
Parameters.
|
|
1435
|
-
Parameters.
|
|
1436
|
-
],
|
|
1437
|
-
queryParameters: [
|
|
1438
|
-
Parameters.apiVersion0
|
|
2087
|
+
Parameters.subscriptionId,
|
|
2088
|
+
Parameters.vmScaleSetName
|
|
1439
2089
|
],
|
|
1440
|
-
headerParameters: [
|
|
1441
|
-
|
|
1442
|
-
],
|
|
1443
|
-
requestBody: {
|
|
1444
|
-
parameterPath: [
|
|
1445
|
-
"options",
|
|
1446
|
-
"vmInstanceIDs"
|
|
1447
|
-
],
|
|
1448
|
-
mapper: Mappers.VirtualMachineScaleSetVMInstanceIDs
|
|
1449
|
-
},
|
|
1450
|
-
responses: {
|
|
1451
|
-
200: {},
|
|
1452
|
-
202: {},
|
|
1453
|
-
default: {
|
|
1454
|
-
bodyMapper: Mappers.CloudError
|
|
1455
|
-
}
|
|
1456
|
-
},
|
|
2090
|
+
headerParameters: [Parameters.contentType],
|
|
2091
|
+
mediaType: "json",
|
|
1457
2092
|
serializer
|
|
1458
2093
|
};
|
|
1459
|
-
|
|
1460
|
-
|
|
2094
|
+
const performMaintenanceOperationSpec: coreClient.OperationSpec = {
|
|
2095
|
+
path:
|
|
2096
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance",
|
|
1461
2097
|
httpMethod: "POST",
|
|
1462
|
-
|
|
2098
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2099
|
+
requestBody: Parameters.vmInstanceIDs,
|
|
2100
|
+
queryParameters: [Parameters.apiVersion],
|
|
1463
2101
|
urlParameters: [
|
|
2102
|
+
Parameters.$host,
|
|
1464
2103
|
Parameters.resourceGroupName,
|
|
1465
|
-
Parameters.
|
|
1466
|
-
Parameters.
|
|
1467
|
-
],
|
|
1468
|
-
queryParameters: [
|
|
1469
|
-
Parameters.apiVersion0
|
|
2104
|
+
Parameters.subscriptionId,
|
|
2105
|
+
Parameters.vmScaleSetName
|
|
1470
2106
|
],
|
|
1471
|
-
headerParameters: [
|
|
1472
|
-
|
|
1473
|
-
],
|
|
1474
|
-
requestBody: {
|
|
1475
|
-
parameterPath: "vmInstanceIDs",
|
|
1476
|
-
mapper: {
|
|
1477
|
-
...Mappers.VirtualMachineScaleSetVMInstanceRequiredIDs,
|
|
1478
|
-
required: true
|
|
1479
|
-
}
|
|
1480
|
-
},
|
|
1481
|
-
responses: {
|
|
1482
|
-
200: {},
|
|
1483
|
-
202: {},
|
|
1484
|
-
default: {
|
|
1485
|
-
bodyMapper: Mappers.CloudError
|
|
1486
|
-
}
|
|
1487
|
-
},
|
|
2107
|
+
headerParameters: [Parameters.contentType],
|
|
2108
|
+
mediaType: "json",
|
|
1488
2109
|
serializer
|
|
1489
2110
|
};
|
|
1490
|
-
|
|
1491
|
-
|
|
2111
|
+
const updateInstancesOperationSpec: coreClient.OperationSpec = {
|
|
2112
|
+
path:
|
|
2113
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade",
|
|
1492
2114
|
httpMethod: "POST",
|
|
1493
|
-
|
|
2115
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2116
|
+
requestBody: Parameters.vmInstanceIDs1,
|
|
2117
|
+
queryParameters: [Parameters.apiVersion],
|
|
1494
2118
|
urlParameters: [
|
|
2119
|
+
Parameters.$host,
|
|
1495
2120
|
Parameters.resourceGroupName,
|
|
1496
|
-
Parameters.
|
|
1497
|
-
Parameters.
|
|
1498
|
-
],
|
|
1499
|
-
queryParameters: [
|
|
1500
|
-
Parameters.apiVersion0
|
|
1501
|
-
],
|
|
1502
|
-
headerParameters: [
|
|
1503
|
-
Parameters.acceptLanguage
|
|
2121
|
+
Parameters.subscriptionId,
|
|
2122
|
+
Parameters.vmScaleSetName
|
|
1504
2123
|
],
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
"options",
|
|
1508
|
-
"vmScaleSetReimageInput"
|
|
1509
|
-
],
|
|
1510
|
-
mapper: Mappers.VirtualMachineScaleSetReimageParameters
|
|
1511
|
-
},
|
|
1512
|
-
responses: {
|
|
1513
|
-
200: {},
|
|
1514
|
-
202: {},
|
|
1515
|
-
default: {
|
|
1516
|
-
bodyMapper: Mappers.CloudError
|
|
1517
|
-
}
|
|
1518
|
-
},
|
|
2124
|
+
headerParameters: [Parameters.contentType],
|
|
2125
|
+
mediaType: "json",
|
|
1519
2126
|
serializer
|
|
1520
2127
|
};
|
|
1521
|
-
|
|
1522
|
-
|
|
2128
|
+
const reimageOperationSpec: coreClient.OperationSpec = {
|
|
2129
|
+
path:
|
|
2130
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimage",
|
|
1523
2131
|
httpMethod: "POST",
|
|
1524
|
-
|
|
2132
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2133
|
+
requestBody: Parameters.vmScaleSetReimageInput,
|
|
2134
|
+
queryParameters: [Parameters.apiVersion],
|
|
1525
2135
|
urlParameters: [
|
|
2136
|
+
Parameters.$host,
|
|
1526
2137
|
Parameters.resourceGroupName,
|
|
1527
|
-
Parameters.
|
|
1528
|
-
Parameters.
|
|
2138
|
+
Parameters.subscriptionId,
|
|
2139
|
+
Parameters.vmScaleSetName
|
|
1529
2140
|
],
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
],
|
|
1533
|
-
headerParameters: [
|
|
1534
|
-
Parameters.acceptLanguage
|
|
1535
|
-
],
|
|
1536
|
-
requestBody: {
|
|
1537
|
-
parameterPath: [
|
|
1538
|
-
"options",
|
|
1539
|
-
"vmInstanceIDs"
|
|
1540
|
-
],
|
|
1541
|
-
mapper: Mappers.VirtualMachineScaleSetVMInstanceIDs
|
|
1542
|
-
},
|
|
1543
|
-
responses: {
|
|
1544
|
-
200: {},
|
|
1545
|
-
202: {},
|
|
1546
|
-
default: {
|
|
1547
|
-
bodyMapper: Mappers.CloudError
|
|
1548
|
-
}
|
|
1549
|
-
},
|
|
2141
|
+
headerParameters: [Parameters.contentType],
|
|
2142
|
+
mediaType: "json",
|
|
1550
2143
|
serializer
|
|
1551
2144
|
};
|
|
1552
|
-
|
|
1553
|
-
|
|
2145
|
+
const reimageAllOperationSpec: coreClient.OperationSpec = {
|
|
2146
|
+
path:
|
|
2147
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/reimageall",
|
|
1554
2148
|
httpMethod: "POST",
|
|
1555
|
-
|
|
2149
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2150
|
+
requestBody: Parameters.vmInstanceIDs,
|
|
2151
|
+
queryParameters: [Parameters.apiVersion],
|
|
1556
2152
|
urlParameters: [
|
|
2153
|
+
Parameters.$host,
|
|
1557
2154
|
Parameters.resourceGroupName,
|
|
1558
|
-
Parameters.
|
|
1559
|
-
Parameters.
|
|
1560
|
-
],
|
|
1561
|
-
queryParameters: [
|
|
1562
|
-
Parameters.apiVersion0
|
|
1563
|
-
],
|
|
1564
|
-
headerParameters: [
|
|
1565
|
-
Parameters.acceptLanguage
|
|
2155
|
+
Parameters.subscriptionId,
|
|
2156
|
+
Parameters.vmScaleSetName
|
|
1566
2157
|
],
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
2158
|
+
headerParameters: [Parameters.contentType],
|
|
2159
|
+
mediaType: "json",
|
|
2160
|
+
serializer
|
|
2161
|
+
};
|
|
2162
|
+
const forceRecoveryServiceFabricPlatformUpdateDomainWalkOperationSpec: coreClient.OperationSpec = {
|
|
2163
|
+
path:
|
|
2164
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk",
|
|
2165
|
+
httpMethod: "POST",
|
|
1574
2166
|
responses: {
|
|
1575
|
-
200: {
|
|
1576
|
-
|
|
1577
|
-
default: {
|
|
1578
|
-
bodyMapper: Mappers.CloudError
|
|
2167
|
+
200: {
|
|
2168
|
+
bodyMapper: Mappers.RecoveryWalkResponse
|
|
1579
2169
|
}
|
|
1580
2170
|
},
|
|
2171
|
+
queryParameters: [Parameters.apiVersion, Parameters.platformUpdateDomain],
|
|
2172
|
+
urlParameters: [
|
|
2173
|
+
Parameters.$host,
|
|
2174
|
+
Parameters.resourceGroupName,
|
|
2175
|
+
Parameters.subscriptionId,
|
|
2176
|
+
Parameters.vmScaleSetName
|
|
2177
|
+
],
|
|
2178
|
+
headerParameters: [Parameters.accept],
|
|
1581
2179
|
serializer
|
|
1582
2180
|
};
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
2181
|
+
const convertToSinglePlacementGroupOperationSpec: coreClient.OperationSpec = {
|
|
2182
|
+
path:
|
|
2183
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup",
|
|
2184
|
+
httpMethod: "POST",
|
|
2185
|
+
responses: { 200: {} },
|
|
2186
|
+
requestBody: Parameters.parameters17,
|
|
2187
|
+
queryParameters: [Parameters.apiVersion],
|
|
1588
2188
|
urlParameters: [
|
|
1589
|
-
Parameters
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
Parameters.
|
|
2189
|
+
Parameters.$host,
|
|
2190
|
+
Parameters.resourceGroupName,
|
|
2191
|
+
Parameters.subscriptionId,
|
|
2192
|
+
Parameters.vmScaleSetName
|
|
1593
2193
|
],
|
|
1594
|
-
headerParameters: [
|
|
1595
|
-
|
|
2194
|
+
headerParameters: [Parameters.contentType],
|
|
2195
|
+
mediaType: "json",
|
|
2196
|
+
serializer
|
|
2197
|
+
};
|
|
2198
|
+
const setOrchestrationServiceStateOperationSpec: coreClient.OperationSpec = {
|
|
2199
|
+
path:
|
|
2200
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/setOrchestrationServiceState",
|
|
2201
|
+
httpMethod: "POST",
|
|
2202
|
+
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
2203
|
+
requestBody: Parameters.parameters18,
|
|
2204
|
+
queryParameters: [Parameters.apiVersion],
|
|
2205
|
+
urlParameters: [
|
|
2206
|
+
Parameters.$host,
|
|
2207
|
+
Parameters.resourceGroupName,
|
|
2208
|
+
Parameters.subscriptionId,
|
|
2209
|
+
Parameters.vmScaleSetName
|
|
1596
2210
|
],
|
|
2211
|
+
headerParameters: [Parameters.contentType],
|
|
2212
|
+
mediaType: "json",
|
|
2213
|
+
serializer
|
|
2214
|
+
};
|
|
2215
|
+
const listByLocationNextOperationSpec: coreClient.OperationSpec = {
|
|
2216
|
+
path: "{nextLink}",
|
|
2217
|
+
httpMethod: "GET",
|
|
1597
2218
|
responses: {
|
|
1598
2219
|
200: {
|
|
1599
2220
|
bodyMapper: Mappers.VirtualMachineScaleSetListResult
|
|
@@ -1602,101 +2223,86 @@ const listByLocationNextOperationSpec: msRest.OperationSpec = {
|
|
|
1602
2223
|
bodyMapper: Mappers.CloudError
|
|
1603
2224
|
}
|
|
1604
2225
|
},
|
|
2226
|
+
queryParameters: [Parameters.apiVersion],
|
|
2227
|
+
urlParameters: [
|
|
2228
|
+
Parameters.$host,
|
|
2229
|
+
Parameters.subscriptionId,
|
|
2230
|
+
Parameters.nextLink,
|
|
2231
|
+
Parameters.location1
|
|
2232
|
+
],
|
|
2233
|
+
headerParameters: [Parameters.accept],
|
|
1605
2234
|
serializer
|
|
1606
2235
|
};
|
|
1607
|
-
|
|
1608
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
1609
|
-
httpMethod: "GET",
|
|
1610
|
-
baseUrl: "https://management.azure.com",
|
|
2236
|
+
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
1611
2237
|
path: "{nextLink}",
|
|
1612
|
-
|
|
1613
|
-
Parameters.nextPageLink
|
|
1614
|
-
],
|
|
1615
|
-
queryParameters: [
|
|
1616
|
-
Parameters.apiVersion0
|
|
1617
|
-
],
|
|
1618
|
-
headerParameters: [
|
|
1619
|
-
Parameters.acceptLanguage
|
|
1620
|
-
],
|
|
2238
|
+
httpMethod: "GET",
|
|
1621
2239
|
responses: {
|
|
1622
2240
|
200: {
|
|
1623
2241
|
bodyMapper: Mappers.VirtualMachineScaleSetListResult
|
|
1624
|
-
},
|
|
1625
|
-
default: {
|
|
1626
|
-
bodyMapper: Mappers.CloudError
|
|
1627
2242
|
}
|
|
1628
2243
|
},
|
|
2244
|
+
queryParameters: [Parameters.apiVersion],
|
|
2245
|
+
urlParameters: [
|
|
2246
|
+
Parameters.$host,
|
|
2247
|
+
Parameters.resourceGroupName,
|
|
2248
|
+
Parameters.subscriptionId,
|
|
2249
|
+
Parameters.nextLink
|
|
2250
|
+
],
|
|
2251
|
+
headerParameters: [Parameters.accept],
|
|
1629
2252
|
serializer
|
|
1630
2253
|
};
|
|
1631
|
-
|
|
1632
|
-
const listAllNextOperationSpec: msRest.OperationSpec = {
|
|
1633
|
-
httpMethod: "GET",
|
|
1634
|
-
baseUrl: "https://management.azure.com",
|
|
2254
|
+
const listAllNextOperationSpec: coreClient.OperationSpec = {
|
|
1635
2255
|
path: "{nextLink}",
|
|
1636
|
-
|
|
1637
|
-
Parameters.nextPageLink
|
|
1638
|
-
],
|
|
1639
|
-
queryParameters: [
|
|
1640
|
-
Parameters.apiVersion0
|
|
1641
|
-
],
|
|
1642
|
-
headerParameters: [
|
|
1643
|
-
Parameters.acceptLanguage
|
|
1644
|
-
],
|
|
2256
|
+
httpMethod: "GET",
|
|
1645
2257
|
responses: {
|
|
1646
2258
|
200: {
|
|
1647
2259
|
bodyMapper: Mappers.VirtualMachineScaleSetListWithLinkResult
|
|
1648
|
-
},
|
|
1649
|
-
default: {
|
|
1650
|
-
bodyMapper: Mappers.CloudError
|
|
1651
2260
|
}
|
|
1652
2261
|
},
|
|
2262
|
+
queryParameters: [Parameters.apiVersion],
|
|
2263
|
+
urlParameters: [
|
|
2264
|
+
Parameters.$host,
|
|
2265
|
+
Parameters.subscriptionId,
|
|
2266
|
+
Parameters.nextLink
|
|
2267
|
+
],
|
|
2268
|
+
headerParameters: [Parameters.accept],
|
|
1653
2269
|
serializer
|
|
1654
2270
|
};
|
|
1655
|
-
|
|
1656
|
-
const listSkusNextOperationSpec: msRest.OperationSpec = {
|
|
1657
|
-
httpMethod: "GET",
|
|
1658
|
-
baseUrl: "https://management.azure.com",
|
|
2271
|
+
const listSkusNextOperationSpec: coreClient.OperationSpec = {
|
|
1659
2272
|
path: "{nextLink}",
|
|
1660
|
-
|
|
1661
|
-
Parameters.nextPageLink
|
|
1662
|
-
],
|
|
1663
|
-
queryParameters: [
|
|
1664
|
-
Parameters.apiVersion0
|
|
1665
|
-
],
|
|
1666
|
-
headerParameters: [
|
|
1667
|
-
Parameters.acceptLanguage
|
|
1668
|
-
],
|
|
2273
|
+
httpMethod: "GET",
|
|
1669
2274
|
responses: {
|
|
1670
2275
|
200: {
|
|
1671
2276
|
bodyMapper: Mappers.VirtualMachineScaleSetListSkusResult
|
|
1672
|
-
},
|
|
1673
|
-
default: {
|
|
1674
|
-
bodyMapper: Mappers.CloudError
|
|
1675
2277
|
}
|
|
1676
2278
|
},
|
|
2279
|
+
queryParameters: [Parameters.apiVersion],
|
|
2280
|
+
urlParameters: [
|
|
2281
|
+
Parameters.$host,
|
|
2282
|
+
Parameters.resourceGroupName,
|
|
2283
|
+
Parameters.subscriptionId,
|
|
2284
|
+
Parameters.nextLink,
|
|
2285
|
+
Parameters.vmScaleSetName
|
|
2286
|
+
],
|
|
2287
|
+
headerParameters: [Parameters.accept],
|
|
1677
2288
|
serializer
|
|
1678
2289
|
};
|
|
1679
|
-
|
|
1680
|
-
const getOSUpgradeHistoryNextOperationSpec: msRest.OperationSpec = {
|
|
1681
|
-
httpMethod: "GET",
|
|
1682
|
-
baseUrl: "https://management.azure.com",
|
|
2290
|
+
const getOSUpgradeHistoryNextOperationSpec: coreClient.OperationSpec = {
|
|
1683
2291
|
path: "{nextLink}",
|
|
1684
|
-
|
|
1685
|
-
Parameters.nextPageLink
|
|
1686
|
-
],
|
|
1687
|
-
queryParameters: [
|
|
1688
|
-
Parameters.apiVersion0
|
|
1689
|
-
],
|
|
1690
|
-
headerParameters: [
|
|
1691
|
-
Parameters.acceptLanguage
|
|
1692
|
-
],
|
|
2292
|
+
httpMethod: "GET",
|
|
1693
2293
|
responses: {
|
|
1694
2294
|
200: {
|
|
1695
2295
|
bodyMapper: Mappers.VirtualMachineScaleSetListOSUpgradeHistory
|
|
1696
|
-
},
|
|
1697
|
-
default: {
|
|
1698
|
-
bodyMapper: Mappers.CloudError
|
|
1699
2296
|
}
|
|
1700
2297
|
},
|
|
2298
|
+
queryParameters: [Parameters.apiVersion],
|
|
2299
|
+
urlParameters: [
|
|
2300
|
+
Parameters.$host,
|
|
2301
|
+
Parameters.resourceGroupName,
|
|
2302
|
+
Parameters.subscriptionId,
|
|
2303
|
+
Parameters.nextLink,
|
|
2304
|
+
Parameters.vmScaleSetName
|
|
2305
|
+
],
|
|
2306
|
+
headerParameters: [Parameters.accept],
|
|
1701
2307
|
serializer
|
|
1702
2308
|
};
|