@azure/arm-compute 21.2.0 → 21.3.0
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 +96 -1
- package/dist/index.js +2139 -1282
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/availabilitySetsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/availabilitySetsGetSample.js +2 -2
- package/dist-esm/samples-dev/availabilitySetsListAvailableSizesSample.js +8 -18
- package/dist-esm/samples-dev/availabilitySetsListAvailableSizesSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/availabilitySetsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsListSample.js +8 -18
- package/dist-esm/samples-dev/availabilitySetsListSample.js.map +1 -1
- package/dist-esm/samples-dev/availabilitySetsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/capacityReservationGroupsCreateOrUpdateSample.js +9 -3
- package/dist-esm/samples-dev/capacityReservationGroupsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/capacityReservationGroupsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/capacityReservationGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/capacityReservationGroupsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/capacityReservationGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/capacityReservationGroupsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/capacityReservationGroupsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/capacityReservationGroupsUpdateSample.js +6 -6
- package/dist-esm/samples-dev/capacityReservationsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/capacityReservationsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/capacityReservationsGetSample.js +1 -1
- package/dist-esm/samples-dev/capacityReservationsListByCapacityReservationGroupSample.js +4 -9
- package/dist-esm/samples-dev/capacityReservationsListByCapacityReservationGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/capacityReservationsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.js +3 -8
- package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSFamiliesSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.js +3 -8
- package/dist-esm/samples-dev/cloudServiceOperatingSystemsListOSVersionsSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudServiceRoleInstancesListSample.js +3 -8
- package/dist-esm/samples-dev/cloudServiceRoleInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudServiceRolesListSample.js +3 -8
- package/dist-esm/samples-dev/cloudServiceRolesListSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudServicesListAllSample.js +3 -8
- package/dist-esm/samples-dev/cloudServicesListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudServicesListSample.js +3 -8
- package/dist-esm/samples-dev/cloudServicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.js +3 -8
- package/dist-esm/samples-dev/cloudServicesUpdateDomainListUpdateDomainsSample.js.map +1 -1
- package/dist-esm/samples-dev/communityGalleriesGetSample.js +1 -1
- package/dist-esm/samples-dev/communityGalleryImageVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/communityGalleryImageVersionsListSample.js +4 -9
- package/dist-esm/samples-dev/communityGalleryImageVersionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/communityGalleryImagesGetSample.js +1 -1
- package/dist-esm/samples-dev/communityGalleryImagesListSample.js +4 -9
- package/dist-esm/samples-dev/communityGalleryImagesListSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHostGroupsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/dedicatedHostGroupsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/dedicatedHostGroupsGetSample.js +2 -2
- package/dist-esm/samples-dev/dedicatedHostGroupsListByResourceGroupSample.js +8 -18
- package/dist-esm/samples-dev/dedicatedHostGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHostGroupsListBySubscriptionSample.js +8 -18
- package/dist-esm/samples-dev/dedicatedHostGroupsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHostGroupsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/dedicatedHostsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/dedicatedHostsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/dedicatedHostsGetSample.js +1 -1
- package/dist-esm/samples-dev/dedicatedHostsListAvailableSizesSample.js +4 -9
- package/dist-esm/samples-dev/dedicatedHostsListAvailableSizesSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHostsListByHostGroupSample.js +8 -18
- package/dist-esm/samples-dev/dedicatedHostsListByHostGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/dedicatedHostsRedeploySample.d.ts +2 -0
- package/dist-esm/samples-dev/dedicatedHostsRedeploySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dedicatedHostsRedeploySample.js +39 -0
- package/dist-esm/samples-dev/dedicatedHostsRedeploySample.js.map +1 -0
- package/dist-esm/samples-dev/dedicatedHostsRestartSample.js +1 -1
- package/dist-esm/samples-dev/dedicatedHostsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/diskAccessesListByResourceGroupSample.js +3 -8
- package/dist-esm/samples-dev/diskAccessesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.js +3 -8
- package/dist-esm/samples-dev/diskAccessesListPrivateEndpointConnectionsSample.js.map +1 -1
- package/dist-esm/samples-dev/diskAccessesListSample.js +3 -8
- package/dist-esm/samples-dev/diskAccessesListSample.js.map +1 -1
- package/dist-esm/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.js +3 -8
- package/dist-esm/samples-dev/diskEncryptionSetsListAssociatedResourcesSample.js.map +1 -1
- package/dist-esm/samples-dev/diskEncryptionSetsListByResourceGroupSample.js +3 -8
- package/dist-esm/samples-dev/diskEncryptionSetsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/diskEncryptionSetsListSample.js +3 -8
- package/dist-esm/samples-dev/diskEncryptionSetsListSample.js.map +1 -1
- package/dist-esm/samples-dev/diskRestorePointListByRestorePointSample.js +3 -8
- package/dist-esm/samples-dev/diskRestorePointListByRestorePointSample.js.map +1 -1
- package/dist-esm/samples-dev/disksCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/disksCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/disksListByResourceGroupSample.js +3 -8
- package/dist-esm/samples-dev/disksListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/disksListSample.js +3 -8
- package/dist-esm/samples-dev/disksListSample.js.map +1 -1
- package/dist-esm/samples-dev/galleriesCreateOrUpdateSample.js +4 -4
- package/dist-esm/samples-dev/galleriesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/galleriesGetSample.js +4 -4
- package/dist-esm/samples-dev/galleriesListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/galleriesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/galleriesListSample.js +4 -9
- package/dist-esm/samples-dev/galleriesListSample.js.map +1 -1
- package/dist-esm/samples-dev/galleriesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/galleryApplicationVersionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/galleryApplicationVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/galleryApplicationVersionsGetSample.js +2 -2
- package/dist-esm/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.js +4 -9
- package/dist-esm/samples-dev/galleryApplicationVersionsListByGalleryApplicationSample.js.map +1 -1
- package/dist-esm/samples-dev/galleryApplicationVersionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/galleryApplicationsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/galleryApplicationsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/galleryApplicationsGetSample.js +1 -1
- package/dist-esm/samples-dev/galleryApplicationsListByGallerySample.js +4 -9
- package/dist-esm/samples-dev/galleryApplicationsListByGallerySample.js.map +1 -1
- package/dist-esm/samples-dev/galleryApplicationsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/galleryImageVersionsCreateOrUpdateSample.js +90 -11
- package/dist-esm/samples-dev/galleryImageVersionsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/galleryImageVersionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/galleryImageVersionsGetSample.js +4 -4
- package/dist-esm/samples-dev/galleryImageVersionsListByGalleryImageSample.js +4 -9
- package/dist-esm/samples-dev/galleryImageVersionsListByGalleryImageSample.js.map +1 -1
- package/dist-esm/samples-dev/galleryImageVersionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/galleryImagesCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/galleryImagesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/galleryImagesGetSample.js +1 -1
- package/dist-esm/samples-dev/galleryImagesListByGallerySample.js +4 -9
- package/dist-esm/samples-dev/galleryImagesListByGallerySample.js.map +1 -1
- package/dist-esm/samples-dev/galleryImagesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/gallerySharingProfileUpdateSample.js +3 -3
- package/dist-esm/samples-dev/imagesCreateOrUpdateSample.js +10 -10
- package/dist-esm/samples-dev/imagesDeleteSample.js +2 -2
- package/dist-esm/samples-dev/imagesGetSample.js +1 -1
- package/dist-esm/samples-dev/imagesListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/imagesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/imagesListSample.js +4 -9
- package/dist-esm/samples-dev/imagesListSample.js.map +1 -1
- package/dist-esm/samples-dev/imagesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/logAnalyticsExportRequestRateByIntervalSample.js +1 -1
- package/dist-esm/samples-dev/logAnalyticsExportThrottledRequestsSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +8 -18
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/proximityPlacementGroupsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/proximityPlacementGroupsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/proximityPlacementGroupsGetSample.js +1 -1
- package/dist-esm/samples-dev/proximityPlacementGroupsListByResourceGroupSample.js +4 -9
- package/dist-esm/samples-dev/proximityPlacementGroupsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/proximityPlacementGroupsListBySubscriptionSample.js +4 -9
- package/dist-esm/samples-dev/proximityPlacementGroupsListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/proximityPlacementGroupsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/resourceSkusListSample.js +9 -24
- package/dist-esm/samples-dev/resourceSkusListSample.js.map +1 -1
- package/dist-esm/samples-dev/restorePointCollectionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/restorePointCollectionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/restorePointCollectionsGetSample.js +2 -2
- package/dist-esm/samples-dev/restorePointCollectionsListAllSample.js +4 -9
- package/dist-esm/samples-dev/restorePointCollectionsListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/restorePointCollectionsListSample.js +4 -9
- package/dist-esm/samples-dev/restorePointCollectionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/restorePointCollectionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/restorePointsCreateSample.js +2 -2
- package/dist-esm/samples-dev/restorePointsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/restorePointsGetSample.js +2 -2
- package/dist-esm/samples-dev/sharedGalleriesGetSample.js +1 -1
- package/dist-esm/samples-dev/sharedGalleriesListSample.js +4 -9
- package/dist-esm/samples-dev/sharedGalleriesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sharedGalleryImageVersionsGetSample.js +1 -1
- package/dist-esm/samples-dev/sharedGalleryImageVersionsListSample.js +4 -9
- package/dist-esm/samples-dev/sharedGalleryImageVersionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sharedGalleryImagesGetSample.js +1 -1
- package/dist-esm/samples-dev/sharedGalleryImagesListSample.js +4 -9
- package/dist-esm/samples-dev/sharedGalleryImagesListSample.js.map +1 -1
- package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js +3 -8
- package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/snapshotsListSample.js +3 -8
- package/dist-esm/samples-dev/snapshotsListSample.js.map +1 -1
- package/dist-esm/samples-dev/sshPublicKeysCreateSample.js +1 -1
- package/dist-esm/samples-dev/sshPublicKeysDeleteSample.js +2 -2
- package/dist-esm/samples-dev/sshPublicKeysGenerateKeyPairSample.js +45 -1
- package/dist-esm/samples-dev/sshPublicKeysGenerateKeyPairSample.js.map +1 -1
- package/dist-esm/samples-dev/sshPublicKeysGetSample.js +1 -1
- package/dist-esm/samples-dev/sshPublicKeysListByResourceGroupSample.js +8 -18
- package/dist-esm/samples-dev/sshPublicKeysListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sshPublicKeysListBySubscriptionSample.js +8 -18
- package/dist-esm/samples-dev/sshPublicKeysListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/sshPublicKeysUpdateSample.js +2 -2
- package/dist-esm/samples-dev/usageListSample.js +8 -18
- package/dist-esm/samples-dev/usageListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineExtensionImagesGetSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineExtensionImagesListTypesSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineExtensionImagesListVersionsSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineExtensionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineExtensionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineExtensionsGetSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineExtensionsListSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineExtensionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneGetSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListOffersSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListPublishersSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesEdgeZoneListSkusSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesGetSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesListByEdgeZoneSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesListOffersSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesListPublishersSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesListSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineImagesListSkusSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineRunCommandsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineRunCommandsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineRunCommandsGetByVirtualMachineSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineRunCommandsGetSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.js +4 -9
- package/dist-esm/samples-dev/virtualMachineRunCommandsListByVirtualMachineSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineRunCommandsListSample.js +4 -9
- package/dist-esm/samples-dev/virtualMachineRunCommandsListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineRunCommandsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsGetSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsListSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetExtensionsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesCancelSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesGetLatestSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartExtensionUpgradeSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetRollingUpgradesStartOSUpgradeSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsGetSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsListSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMExtensionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsGetSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.js +4 -9
- package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMRunCommandsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.js +39 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSApproveRollingUpgradeSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.js +92 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSAttachDetachDataDisksSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeallocateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetInstanceViewSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSGetSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSListSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSPerformMaintenanceSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSPowerOffSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSRedeploySample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageAllSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSReimageSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSRestartSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSRetrieveBootDiagnosticsDataSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSRunCommandSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSSimulateEvictionSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSStartSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetVMSUpdateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.js +44 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetsApproveRollingUpgradeSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachineScaleSetsConvertToSinglePlacementGroupSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.js +296 -40
- package/dist-esm/samples-dev/virtualMachineScaleSetsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetsDeallocateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteInstancesSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetsForceRecoveryServiceFabricPlatformUpdateDomainWalkSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsGetInstanceViewSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.js +8 -18
- package/dist-esm/samples-dev/virtualMachineScaleSetsGetOSUpgradeHistorySample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetsGetSample.js +4 -4
- package/dist-esm/samples-dev/virtualMachineScaleSetsListAllSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachineScaleSetsListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetsListByLocationSample.js +4 -9
- package/dist-esm/samples-dev/virtualMachineScaleSetsListByLocationSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetsListSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachineScaleSetsListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetsListSkusSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachineScaleSetsListSkusSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineScaleSetsPerformMaintenanceSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsPowerOffSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsReapplySample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsRedeploySample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsReimageAllSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsReimageSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsRestartSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsSetOrchestrationServiceStateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsStartSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateInstancesSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateSample.js +4 -3
- package/dist-esm/samples-dev/virtualMachineScaleSetsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachineSizesListSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachineSizesListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesAssessPatchesSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.d.ts +2 -0
- package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.js +90 -0
- package/dist-esm/samples-dev/virtualMachinesAttachDetachDataDisksSample.js.map +1 -0
- package/dist-esm/samples-dev/virtualMachinesCaptureSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesConvertToManagedDisksSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js +210 -44
- package/dist-esm/samples-dev/virtualMachinesCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesDeallocateSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesGeneralizeSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesGetSample.js +4 -4
- package/dist-esm/samples-dev/virtualMachinesInstallPatchesSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesInstanceViewSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesListAllSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachinesListAllSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesListAvailableSizesSample.js +4 -9
- package/dist-esm/samples-dev/virtualMachinesListAvailableSizesSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesListByLocationSample.js +4 -9
- package/dist-esm/samples-dev/virtualMachinesListByLocationSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesListSample.js +8 -18
- package/dist-esm/samples-dev/virtualMachinesListSample.js.map +1 -1
- package/dist-esm/samples-dev/virtualMachinesPerformMaintenanceSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesPowerOffSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesReapplySample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesRedeploySample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesReimageSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesRestartSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesRetrieveBootDiagnosticsDataSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesRunCommandSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesSimulateEvictionSample.js +1 -1
- package/dist-esm/samples-dev/virtualMachinesStartSample.js +2 -2
- package/dist-esm/samples-dev/virtualMachinesUpdateSample.js +2 -2
- package/dist-esm/src/computeManagementClient.js +1 -1
- package/dist-esm/src/models/index.d.ts +383 -21
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +40 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +20 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +610 -2
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +25 -21
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +58 -32
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/availabilitySets.js +11 -26
- package/dist-esm/src/operations/availabilitySets.js.map +1 -1
- package/dist-esm/src/operations/capacityReservationGroups.d.ts +3 -3
- package/dist-esm/src/operations/capacityReservationGroups.js +11 -21
- package/dist-esm/src/operations/capacityReservationGroups.js.map +1 -1
- package/dist-esm/src/operations/capacityReservations.js +5 -10
- package/dist-esm/src/operations/capacityReservations.js.map +1 -1
- package/dist-esm/src/operations/cloudServiceOperatingSystems.js +6 -16
- package/dist-esm/src/operations/cloudServiceOperatingSystems.js.map +1 -1
- package/dist-esm/src/operations/cloudServiceRoleInstances.js +3 -8
- package/dist-esm/src/operations/cloudServiceRoleInstances.js.map +1 -1
- package/dist-esm/src/operations/cloudServiceRoles.js +3 -8
- package/dist-esm/src/operations/cloudServiceRoles.js.map +1 -1
- package/dist-esm/src/operations/cloudServices.js +12 -22
- package/dist-esm/src/operations/cloudServices.js.map +1 -1
- package/dist-esm/src/operations/cloudServicesUpdateDomain.js +4 -9
- package/dist-esm/src/operations/cloudServicesUpdateDomain.js.map +1 -1
- package/dist-esm/src/operations/communityGalleryImageVersions.js +3 -8
- package/dist-esm/src/operations/communityGalleryImageVersions.js.map +1 -1
- package/dist-esm/src/operations/communityGalleryImages.js +3 -8
- package/dist-esm/src/operations/communityGalleryImages.js.map +1 -1
- package/dist-esm/src/operations/dedicatedHostGroups.js +8 -18
- package/dist-esm/src/operations/dedicatedHostGroups.js.map +1 -1
- package/dist-esm/src/operations/dedicatedHosts.d.ts +23 -1
- package/dist-esm/src/operations/dedicatedHosts.d.ts.map +1 -1
- package/dist-esm/src/operations/dedicatedHosts.js +102 -18
- package/dist-esm/src/operations/dedicatedHosts.js.map +1 -1
- package/dist-esm/src/operations/diskAccesses.js +9 -24
- package/dist-esm/src/operations/diskAccesses.js.map +1 -1
- package/dist-esm/src/operations/diskEncryptionSets.js +9 -24
- package/dist-esm/src/operations/diskEncryptionSets.js.map +1 -1
- package/dist-esm/src/operations/diskRestorePointOperations.js +3 -8
- package/dist-esm/src/operations/diskRestorePointOperations.js.map +1 -1
- package/dist-esm/src/operations/disks.js +6 -16
- package/dist-esm/src/operations/disks.js.map +1 -1
- package/dist-esm/src/operations/galleries.js +6 -16
- package/dist-esm/src/operations/galleries.js.map +1 -1
- package/dist-esm/src/operations/galleryApplicationVersions.js +3 -8
- package/dist-esm/src/operations/galleryApplicationVersions.js.map +1 -1
- package/dist-esm/src/operations/galleryApplications.js +3 -8
- package/dist-esm/src/operations/galleryApplications.js.map +1 -1
- package/dist-esm/src/operations/galleryImageVersions.js +3 -8
- package/dist-esm/src/operations/galleryImageVersions.js.map +1 -1
- package/dist-esm/src/operations/galleryImages.js +3 -8
- package/dist-esm/src/operations/galleryImages.js.map +1 -1
- package/dist-esm/src/operations/images.js +8 -18
- package/dist-esm/src/operations/images.js.map +1 -1
- package/dist-esm/src/operations/logAnalytics.js +2 -2
- package/dist-esm/src/operations/operations.js +3 -8
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/proximityPlacementGroups.js +8 -18
- package/dist-esm/src/operations/proximityPlacementGroups.js.map +1 -1
- package/dist-esm/src/operations/resourceSkus.js +3 -8
- package/dist-esm/src/operations/resourceSkus.js.map +1 -1
- package/dist-esm/src/operations/restorePointCollections.js +8 -18
- package/dist-esm/src/operations/restorePointCollections.js.map +1 -1
- package/dist-esm/src/operations/restorePoints.js +1 -1
- package/dist-esm/src/operations/sharedGalleries.js +3 -8
- package/dist-esm/src/operations/sharedGalleries.js.map +1 -1
- package/dist-esm/src/operations/sharedGalleryImageVersions.js +3 -8
- package/dist-esm/src/operations/sharedGalleryImageVersions.js.map +1 -1
- package/dist-esm/src/operations/sharedGalleryImages.js +3 -8
- package/dist-esm/src/operations/sharedGalleryImages.js.map +1 -1
- package/dist-esm/src/operations/snapshots.js +6 -16
- package/dist-esm/src/operations/snapshots.js.map +1 -1
- package/dist-esm/src/operations/sshPublicKeys.js +11 -19
- package/dist-esm/src/operations/sshPublicKeys.js.map +1 -1
- package/dist-esm/src/operations/usageOperations.js +3 -8
- package/dist-esm/src/operations/usageOperations.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineRunCommands.js +6 -16
- package/dist-esm/src/operations/virtualMachineRunCommands.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js +3 -8
- package/dist-esm/src/operations/virtualMachineScaleSetExtensions.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js +3 -8
- package/dist-esm/src/operations/virtualMachineScaleSetVMRunCommands.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts +37 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.js +199 -10
- package/dist-esm/src/operations/virtualMachineScaleSetVMs.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSets.d.ts +15 -1
- package/dist-esm/src/operations/virtualMachineScaleSets.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachineScaleSets.js +114 -42
- package/dist-esm/src/operations/virtualMachineScaleSets.js.map +1 -1
- package/dist-esm/src/operations/virtualMachineSizes.js +3 -8
- package/dist-esm/src/operations/virtualMachineSizes.js.map +1 -1
- package/dist-esm/src/operations/virtualMachines.d.ts +19 -1
- package/dist-esm/src/operations/virtualMachines.d.ts.map +1 -1
- package/dist-esm/src/operations/virtualMachines.js +121 -39
- package/dist-esm/src/operations/virtualMachines.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/capacityReservationGroups.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/dedicatedHosts.d.ts +23 -1
- package/dist-esm/src/operationsInterfaces/dedicatedHosts.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.d.ts +37 -1
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSetVMs.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.d.ts +15 -1
- package/dist-esm/src/operationsInterfaces/virtualMachineScaleSets.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts +19 -1
- package/dist-esm/src/operationsInterfaces/virtualMachines.d.ts.map +1 -1
- package/dist-esm/test/compute_examples.js +16 -36
- package/dist-esm/test/compute_examples.js.map +1 -1
- package/package.json +15 -20
- package/review/arm-compute.api.md +268 -2
- package/src/computeManagementClient.ts +1 -1
- package/src/models/index.ts +602 -206
- package/src/models/mappers.ts +680 -32
- package/src/models/parameters.ts +63 -31
- package/src/operations/availabilitySets.ts +2 -2
- package/src/operations/capacityReservationGroups.ts +5 -5
- package/src/operations/capacityReservations.ts +2 -2
- package/src/operations/cloudServices.ts +6 -6
- package/src/operations/cloudServicesUpdateDomain.ts +1 -1
- package/src/operations/dedicatedHostGroups.ts +2 -2
- package/src/operations/dedicatedHosts.ts +137 -2
- package/src/operations/images.ts +2 -2
- package/src/operations/logAnalytics.ts +2 -2
- package/src/operations/proximityPlacementGroups.ts +2 -2
- package/src/operations/restorePointCollections.ts +2 -2
- package/src/operations/restorePoints.ts +1 -1
- package/src/operations/sshPublicKeys.ts +5 -3
- package/src/operations/virtualMachineScaleSetVMs.ts +286 -2
- package/src/operations/virtualMachineScaleSets.ts +137 -2
- package/src/operations/virtualMachines.ts +151 -7
- package/src/operationsInterfaces/capacityReservationGroups.ts +3 -3
- package/src/operationsInterfaces/dedicatedHosts.ts +40 -1
- package/src/operationsInterfaces/virtualMachineScaleSetVMs.ts +73 -0
- package/src/operationsInterfaces/virtualMachineScaleSets.ts +29 -0
- package/src/operationsInterfaces/virtualMachines.ts +36 -0
- package/types/arm-compute.d.ts +514 -24
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
|
|
17
17
|
*
|
|
18
18
|
* @summary Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
|
|
19
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MaximumSet_Gen.json
|
|
20
20
|
*/
|
|
21
21
|
function virtualMachineConvertToManagedDisksMaximumSetGen() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -33,7 +33,7 @@ function virtualMachineConvertToManagedDisksMaximumSetGen() {
|
|
|
33
33
|
* This sample demonstrates how to Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
|
|
34
34
|
*
|
|
35
35
|
* @summary Converts virtual machine disks from blob-based to managed disks. Virtual machine must be stop-deallocated before invoking this operation.
|
|
36
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
36
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_ConvertToManagedDisks_MinimumSet_Gen.json
|
|
37
37
|
*/
|
|
38
38
|
function virtualMachineConvertToManagedDisksMinimumSetGen() {
|
|
39
39
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
|
16
16
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
17
17
|
*
|
|
18
18
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
19
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
19
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingAssessmentModeOfImageDefault.json
|
|
20
20
|
*/
|
|
21
21
|
function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() {
|
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -68,7 +68,7 @@ function createALinuxVMWithAPatchSettingAssessmentModeOfImageDefault() {
|
|
|
68
68
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
69
69
|
*
|
|
70
70
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
71
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
71
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithAutomaticByPlatformSettings.json
|
|
72
72
|
*/
|
|
73
73
|
function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings() {
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -127,7 +127,7 @@ function createALinuxVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomat
|
|
|
127
127
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
128
128
|
*
|
|
129
129
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
130
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
130
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModeOfImageDefault.json
|
|
131
131
|
*/
|
|
132
132
|
function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() {
|
|
133
133
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -179,7 +179,7 @@ function createALinuxVMWithAPatchSettingPatchModeOfImageDefault() {
|
|
|
179
179
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
180
180
|
*
|
|
181
181
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
182
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
182
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_LinuxVmWithPatchSettingModesOfAutomaticByPlatform.json
|
|
183
183
|
*/
|
|
184
184
|
function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform() {
|
|
185
185
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -234,7 +234,7 @@ function createALinuxVMWithAPatchSettingsPatchModeAndAssessmentModeSetToAutomati
|
|
|
234
234
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
235
235
|
*
|
|
236
236
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
237
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
237
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACommunityGalleryImage.json
|
|
238
238
|
*/
|
|
239
239
|
function createAVMFromACommunityGalleryImage() {
|
|
240
240
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -279,7 +279,7 @@ function createAVMFromACommunityGalleryImage() {
|
|
|
279
279
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
280
280
|
*
|
|
281
281
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
282
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
282
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASharedGalleryImage.json
|
|
283
283
|
*/
|
|
284
284
|
function createAVMFromASharedGalleryImage() {
|
|
285
285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -324,7 +324,7 @@ function createAVMFromASharedGalleryImage() {
|
|
|
324
324
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
325
325
|
*
|
|
326
326
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
327
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
327
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskControllerType.json
|
|
328
328
|
*/
|
|
329
329
|
function createAVMWithDiskControllerType() {
|
|
330
330
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -380,7 +380,7 @@ function createAVMWithDiskControllerType() {
|
|
|
380
380
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
381
381
|
*
|
|
382
382
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
383
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
383
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithHibernationEnabled.json
|
|
384
384
|
*/
|
|
385
385
|
function createAVMWithHibernationEnabled() {
|
|
386
386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -435,7 +435,56 @@ function createAVMWithHibernationEnabled() {
|
|
|
435
435
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
436
436
|
*
|
|
437
437
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
438
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
438
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithProxyAgentSettings.json
|
|
439
|
+
*/
|
|
440
|
+
function createAVMWithProxyAgentSettingsOfEnabledAndMode() {
|
|
441
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
442
|
+
const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
443
|
+
const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
|
|
444
|
+
const vmName = "myVM";
|
|
445
|
+
const parameters = {
|
|
446
|
+
hardwareProfile: { vmSize: "Standard_D2s_v3" },
|
|
447
|
+
location: "westus",
|
|
448
|
+
networkProfile: {
|
|
449
|
+
networkInterfaces: [
|
|
450
|
+
{
|
|
451
|
+
id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
|
|
452
|
+
primary: true
|
|
453
|
+
}
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
osProfile: {
|
|
457
|
+
adminPassword: "{your-password}",
|
|
458
|
+
adminUsername: "{your-username}",
|
|
459
|
+
computerName: "myVM"
|
|
460
|
+
},
|
|
461
|
+
securityProfile: { proxyAgentSettings: { enabled: true, mode: "Enforce" } },
|
|
462
|
+
storageProfile: {
|
|
463
|
+
imageReference: {
|
|
464
|
+
offer: "WindowsServer",
|
|
465
|
+
publisher: "MicrosoftWindowsServer",
|
|
466
|
+
sku: "2019-Datacenter",
|
|
467
|
+
version: "latest"
|
|
468
|
+
},
|
|
469
|
+
osDisk: {
|
|
470
|
+
name: "myVMosdisk",
|
|
471
|
+
caching: "ReadOnly",
|
|
472
|
+
createOption: "FromImage",
|
|
473
|
+
managedDisk: { storageAccountType: "StandardSSD_LRS" }
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
};
|
|
477
|
+
const credential = new DefaultAzureCredential();
|
|
478
|
+
const client = new ComputeManagementClient(credential, subscriptionId);
|
|
479
|
+
const result = yield client.virtualMachines.beginCreateOrUpdateAndWait(resourceGroupName, vmName, parameters);
|
|
480
|
+
console.log(result);
|
|
481
|
+
});
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
485
|
+
*
|
|
486
|
+
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
487
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUefiSettings.json
|
|
439
488
|
*/
|
|
440
489
|
function createAVMWithUefiSettingsOfSecureBootAndVTpm() {
|
|
441
490
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -487,7 +536,7 @@ function createAVMWithUefiSettingsOfSecureBootAndVTpm() {
|
|
|
487
536
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
488
537
|
*
|
|
489
538
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
490
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
539
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithUserData.json
|
|
491
540
|
*/
|
|
492
541
|
function createAVMWithUserData() {
|
|
493
542
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -542,7 +591,7 @@ function createAVMWithUserData() {
|
|
|
542
591
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
543
592
|
*
|
|
544
593
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
545
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
594
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithVMSizeProperties.json
|
|
546
595
|
*/
|
|
547
596
|
function createAVMWithVMSizeProperties() {
|
|
548
597
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -600,7 +649,66 @@ function createAVMWithVMSizeProperties() {
|
|
|
600
649
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
601
650
|
*
|
|
602
651
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
603
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
652
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionIdentity.json
|
|
653
|
+
*/
|
|
654
|
+
function createAVMWithEncryptionIdentity() {
|
|
655
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
656
|
+
const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
657
|
+
const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
|
|
658
|
+
const vmName = "myVM";
|
|
659
|
+
const parameters = {
|
|
660
|
+
hardwareProfile: { vmSize: "Standard_D2s_v3" },
|
|
661
|
+
identity: {
|
|
662
|
+
type: "UserAssigned",
|
|
663
|
+
userAssignedIdentities: {
|
|
664
|
+
"/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/MicrosoftManagedIdentity/userAssignedIdentities/myIdentity": {}
|
|
665
|
+
}
|
|
666
|
+
},
|
|
667
|
+
location: "westus",
|
|
668
|
+
networkProfile: {
|
|
669
|
+
networkInterfaces: [
|
|
670
|
+
{
|
|
671
|
+
id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
|
|
672
|
+
primary: true
|
|
673
|
+
}
|
|
674
|
+
]
|
|
675
|
+
},
|
|
676
|
+
osProfile: {
|
|
677
|
+
adminPassword: "{your-password}",
|
|
678
|
+
adminUsername: "{your-username}",
|
|
679
|
+
computerName: "myVM"
|
|
680
|
+
},
|
|
681
|
+
securityProfile: {
|
|
682
|
+
encryptionIdentity: {
|
|
683
|
+
userAssignedIdentityResourceId: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/myIdentity"
|
|
684
|
+
}
|
|
685
|
+
},
|
|
686
|
+
storageProfile: {
|
|
687
|
+
imageReference: {
|
|
688
|
+
offer: "WindowsServer",
|
|
689
|
+
publisher: "MicrosoftWindowsServer",
|
|
690
|
+
sku: "2019-Datacenter",
|
|
691
|
+
version: "latest"
|
|
692
|
+
},
|
|
693
|
+
osDisk: {
|
|
694
|
+
name: "myVMosdisk",
|
|
695
|
+
caching: "ReadOnly",
|
|
696
|
+
createOption: "FromImage",
|
|
697
|
+
managedDisk: { storageAccountType: "StandardSSD_LRS" }
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
};
|
|
701
|
+
const credential = new DefaultAzureCredential();
|
|
702
|
+
const client = new ComputeManagementClient(credential, subscriptionId);
|
|
703
|
+
const result = yield client.virtualMachines.beginCreateOrUpdateAndWait(resourceGroupName, vmName, parameters);
|
|
704
|
+
console.log(result);
|
|
705
|
+
});
|
|
706
|
+
}
|
|
707
|
+
/**
|
|
708
|
+
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
709
|
+
*
|
|
710
|
+
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
711
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfiguration.json
|
|
604
712
|
*/
|
|
605
713
|
function createAVMWithNetworkInterfaceConfiguration() {
|
|
606
714
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -662,7 +770,7 @@ function createAVMWithNetworkInterfaceConfiguration() {
|
|
|
662
770
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
663
771
|
*
|
|
664
772
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
665
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
773
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithNetworkInterfaceConfigurationDnsSettings.json
|
|
666
774
|
*/
|
|
667
775
|
function createAVMWithNetworkInterfaceConfigurationWithPublicIPAddressDnsSettings() {
|
|
668
776
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -728,7 +836,7 @@ function createAVMWithNetworkInterfaceConfigurationWithPublicIPAddressDnsSetting
|
|
|
728
836
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
729
837
|
*
|
|
730
838
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
731
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
839
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithCustomerManagedKeys.json
|
|
732
840
|
*/
|
|
733
841
|
function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() {
|
|
734
842
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -788,7 +896,62 @@ function createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys() {
|
|
|
788
896
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
789
897
|
*
|
|
790
898
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
791
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
899
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVMWithNonPersistedTPM.json
|
|
900
|
+
*/
|
|
901
|
+
function createAVMWithSecurityTypeConfidentialVMWithNonPersistedTpmSecurityEncryptionType() {
|
|
902
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
903
|
+
const subscriptionId = process.env["COMPUTE_SUBSCRIPTION_ID"] || "{subscription-id}";
|
|
904
|
+
const resourceGroupName = process.env["COMPUTE_RESOURCE_GROUP"] || "myResourceGroup";
|
|
905
|
+
const vmName = "myVM";
|
|
906
|
+
const parameters = {
|
|
907
|
+
hardwareProfile: { vmSize: "Standard_DC2es_v5" },
|
|
908
|
+
location: "westus",
|
|
909
|
+
networkProfile: {
|
|
910
|
+
networkInterfaces: [
|
|
911
|
+
{
|
|
912
|
+
id: "/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkInterfaces/{existing-nic-name}",
|
|
913
|
+
primary: true
|
|
914
|
+
}
|
|
915
|
+
]
|
|
916
|
+
},
|
|
917
|
+
osProfile: {
|
|
918
|
+
adminPassword: "{your-password}",
|
|
919
|
+
adminUsername: "{your-username}",
|
|
920
|
+
computerName: "myVM"
|
|
921
|
+
},
|
|
922
|
+
securityProfile: {
|
|
923
|
+
securityType: "ConfidentialVM",
|
|
924
|
+
uefiSettings: { secureBootEnabled: false, vTpmEnabled: true }
|
|
925
|
+
},
|
|
926
|
+
storageProfile: {
|
|
927
|
+
imageReference: {
|
|
928
|
+
offer: "2022-datacenter-cvm",
|
|
929
|
+
publisher: "UbuntuServer",
|
|
930
|
+
sku: "linux-cvm",
|
|
931
|
+
version: "17763.2183.2109130127"
|
|
932
|
+
},
|
|
933
|
+
osDisk: {
|
|
934
|
+
name: "myVMosdisk",
|
|
935
|
+
caching: "ReadOnly",
|
|
936
|
+
createOption: "FromImage",
|
|
937
|
+
managedDisk: {
|
|
938
|
+
securityProfile: { securityEncryptionType: "NonPersistedTPM" },
|
|
939
|
+
storageAccountType: "StandardSSD_LRS"
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
}
|
|
943
|
+
};
|
|
944
|
+
const credential = new DefaultAzureCredential();
|
|
945
|
+
const client = new ComputeManagementClient(credential, subscriptionId);
|
|
946
|
+
const result = yield client.virtualMachines.beginCreateOrUpdateAndWait(resourceGroupName, vmName, parameters);
|
|
947
|
+
console.log(result);
|
|
948
|
+
});
|
|
949
|
+
}
|
|
950
|
+
/**
|
|
951
|
+
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
952
|
+
*
|
|
953
|
+
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
954
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSecurityTypeConfidentialVM.json
|
|
792
955
|
*/
|
|
793
956
|
function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() {
|
|
794
957
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -843,7 +1006,7 @@ function createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys() {
|
|
|
843
1006
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
844
1007
|
*
|
|
845
1008
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
846
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1009
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingAssessmentModeOfImageDefault.json
|
|
847
1010
|
*/
|
|
848
1011
|
function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() {
|
|
849
1012
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -896,7 +1059,7 @@ function createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault() {
|
|
|
896
1059
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
897
1060
|
*
|
|
898
1061
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
899
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1062
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByOS.json
|
|
900
1063
|
*/
|
|
901
1064
|
function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() {
|
|
902
1065
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -949,7 +1112,7 @@ function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS() {
|
|
|
949
1112
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
950
1113
|
*
|
|
951
1114
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
952
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1115
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithAutomaticByPlatformSettings.json
|
|
953
1116
|
*/
|
|
954
1117
|
function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutomaticByPlatformSettings() {
|
|
955
1118
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1009,7 +1172,7 @@ function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndAutom
|
|
|
1009
1172
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1010
1173
|
*
|
|
1011
1174
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1012
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1175
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfAutomaticByPlatformAndEnableHotPatchingTrue.json
|
|
1013
1176
|
*/
|
|
1014
1177
|
function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnableHotpatchingSetToTrue() {
|
|
1015
1178
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1065,7 +1228,7 @@ function createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByPlatformAndEnabl
|
|
|
1065
1228
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1066
1229
|
*
|
|
1067
1230
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1068
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1231
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModeOfManual.json
|
|
1069
1232
|
*/
|
|
1070
1233
|
function createAWindowsVMWithAPatchSettingPatchModeOfManual() {
|
|
1071
1234
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1118,7 +1281,7 @@ function createAWindowsVMWithAPatchSettingPatchModeOfManual() {
|
|
|
1118
1281
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1119
1282
|
*
|
|
1120
1283
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1121
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1284
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WindowsVmWithPatchSettingModesOfAutomaticByPlatform.json
|
|
1122
1285
|
*/
|
|
1123
1286
|
function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomaticByPlatform() {
|
|
1124
1287
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1174,7 +1337,7 @@ function createAWindowsVMWithPatchSettingsPatchModeAndAssessmentModeSetToAutomat
|
|
|
1174
1337
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1175
1338
|
*
|
|
1176
1339
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1177
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1340
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_CustomImageVmFromAnUnmanagedGeneralizedOsImage.json
|
|
1178
1341
|
*/
|
|
1179
1342
|
function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() {
|
|
1180
1343
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1222,7 +1385,7 @@ function createACustomImageVMFromAnUnmanagedGeneralizedOSImage() {
|
|
|
1222
1385
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1223
1386
|
*
|
|
1224
1387
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1225
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1388
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_PlatformImageVmWithUnmanagedOsAndDataDisks.json
|
|
1226
1389
|
*/
|
|
1227
1390
|
function createAPlatformImageVMWithUnmanagedOSAndDataDisks() {
|
|
1228
1391
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1290,7 +1453,7 @@ function createAPlatformImageVMWithUnmanagedOSAndDataDisks() {
|
|
|
1290
1453
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1291
1454
|
*
|
|
1292
1455
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1293
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1456
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_FromACustomImage.json
|
|
1294
1457
|
*/
|
|
1295
1458
|
function createAVMFromACustomImage() {
|
|
1296
1459
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1335,7 +1498,7 @@ function createAVMFromACustomImage() {
|
|
|
1335
1498
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1336
1499
|
*
|
|
1337
1500
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1338
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1501
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_FromAGeneralizedSharedImage.json
|
|
1339
1502
|
*/
|
|
1340
1503
|
function createAVMFromAGeneralizedSharedImage() {
|
|
1341
1504
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1380,7 +1543,7 @@ function createAVMFromAGeneralizedSharedImage() {
|
|
|
1380
1543
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1381
1544
|
*
|
|
1382
1545
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1383
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1546
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_FromASpecializedSharedImage.json
|
|
1384
1547
|
*/
|
|
1385
1548
|
function createAVMFromASpecializedSharedImage() {
|
|
1386
1549
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1420,7 +1583,7 @@ function createAVMFromASpecializedSharedImage() {
|
|
|
1420
1583
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1421
1584
|
*
|
|
1422
1585
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1423
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1586
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_InAVmssWithCustomerAssignedPlatformFaultDomain.json
|
|
1424
1587
|
*/
|
|
1425
1588
|
function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDomain() {
|
|
1426
1589
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1472,7 +1635,7 @@ function createAVMInAVirtualMachineScaleSetWithCustomerAssignedPlatformFaultDoma
|
|
|
1472
1635
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1473
1636
|
*
|
|
1474
1637
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1475
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1638
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_InAnAvailabilitySet.json
|
|
1476
1639
|
*/
|
|
1477
1640
|
function createAVMInAnAvailabilitySet() {
|
|
1478
1641
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1523,7 +1686,7 @@ function createAVMInAnAvailabilitySet() {
|
|
|
1523
1686
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1524
1687
|
*
|
|
1525
1688
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1526
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1689
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithApplicationProfile.json
|
|
1527
1690
|
*/
|
|
1528
1691
|
function createAVMWithApplicationProfile() {
|
|
1529
1692
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1586,7 +1749,7 @@ function createAVMWithApplicationProfile() {
|
|
|
1586
1749
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1587
1750
|
*
|
|
1588
1751
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1589
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1752
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithDiskEncryptionSetResource.json
|
|
1590
1753
|
*/
|
|
1591
1754
|
function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() {
|
|
1592
1755
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1663,7 +1826,7 @@ function createAVMWithDiskEncryptionSetResourceIdInTheOSDiskAndDataDisk() {
|
|
|
1663
1826
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1664
1827
|
*
|
|
1665
1828
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1666
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1829
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEncryptionAtHost.json
|
|
1667
1830
|
*/
|
|
1668
1831
|
function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() {
|
|
1669
1832
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1717,7 +1880,7 @@ function createAVMWithHostEncryptionUsingEncryptionAtHostProperty() {
|
|
|
1717
1880
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1718
1881
|
*
|
|
1719
1882
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1720
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1883
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithScheduledEventsProfile.json
|
|
1721
1884
|
*/
|
|
1722
1885
|
function createAVMWithScheduledEventsProfile() {
|
|
1723
1886
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1775,7 +1938,7 @@ function createAVMWithScheduledEventsProfile() {
|
|
|
1775
1938
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1776
1939
|
*
|
|
1777
1940
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1778
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1941
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithAMarketplaceImagePlan.json
|
|
1779
1942
|
*/
|
|
1780
1943
|
function createAVMWithAMarketplaceImagePlan() {
|
|
1781
1944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1828,7 +1991,7 @@ function createAVMWithAMarketplaceImagePlan() {
|
|
|
1828
1991
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1829
1992
|
*
|
|
1830
1993
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1831
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
1994
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithExtensionsTimeBudget.json
|
|
1832
1995
|
*/
|
|
1833
1996
|
function createAVMWithAnExtensionsTimeBudget() {
|
|
1834
1997
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1883,7 +2046,7 @@ function createAVMWithAnExtensionsTimeBudget() {
|
|
|
1883
2046
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1884
2047
|
*
|
|
1885
2048
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1886
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2049
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithBootDiagnostics.json
|
|
1887
2050
|
*/
|
|
1888
2051
|
function createAVMWithBootDiagnostics() {
|
|
1889
2052
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1937,7 +2100,7 @@ function createAVMWithBootDiagnostics() {
|
|
|
1937
2100
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1938
2101
|
*
|
|
1939
2102
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1940
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2103
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithEmptyDataDisks.json
|
|
1941
2104
|
*/
|
|
1942
2105
|
function createAVMWithEmptyDataDisks() {
|
|
1943
2106
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1989,7 +2152,7 @@ function createAVMWithEmptyDataDisks() {
|
|
|
1989
2152
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1990
2153
|
*
|
|
1991
2154
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
1992
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2155
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsCacheDisk.json
|
|
1993
2156
|
*/
|
|
1994
2157
|
function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProperty() {
|
|
1995
2158
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2043,7 +2206,7 @@ function createAVMWithEphemeralOSDiskProvisioningInCacheDiskUsingPlacementProper
|
|
|
2043
2206
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2044
2207
|
*
|
|
2045
2208
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2046
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2209
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDiskUsingDiffDiskPlacementAsResourceDisk.json
|
|
2047
2210
|
*/
|
|
2048
2211
|
function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementProperty() {
|
|
2049
2212
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2097,7 +2260,7 @@ function createAVMWithEphemeralOSDiskProvisioningInResourceDiskUsingPlacementPro
|
|
|
2097
2260
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2098
2261
|
*
|
|
2099
2262
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2100
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2263
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithADiffOsDisk.json
|
|
2101
2264
|
*/
|
|
2102
2265
|
function createAVMWithEphemeralOSDisk() {
|
|
2103
2266
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2151,7 +2314,7 @@ function createAVMWithEphemeralOSDisk() {
|
|
|
2151
2314
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2152
2315
|
*
|
|
2153
2316
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2154
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2317
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithManagedBootDiagnostics.json
|
|
2155
2318
|
*/
|
|
2156
2319
|
function createAVMWithManagedBootDiagnostics() {
|
|
2157
2320
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2200,7 +2363,7 @@ function createAVMWithManagedBootDiagnostics() {
|
|
|
2200
2363
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2201
2364
|
*
|
|
2202
2365
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2203
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2366
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPasswordAuthentication.json
|
|
2204
2367
|
*/
|
|
2205
2368
|
function createAVMWithPasswordAuthentication() {
|
|
2206
2369
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2248,7 +2411,7 @@ function createAVMWithPasswordAuthentication() {
|
|
|
2248
2411
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2249
2412
|
*
|
|
2250
2413
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2251
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2414
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithPremiumStorage.json
|
|
2252
2415
|
*/
|
|
2253
2416
|
function createAVMWithPremiumStorage() {
|
|
2254
2417
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2296,7 +2459,7 @@ function createAVMWithPremiumStorage() {
|
|
|
2296
2459
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2297
2460
|
*
|
|
2298
2461
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2299
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2462
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithSshAuthentication.json
|
|
2300
2463
|
*/
|
|
2301
2464
|
function createAVMWithSshAuthentication() {
|
|
2302
2465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2354,7 +2517,7 @@ function createAVMWithSshAuthentication() {
|
|
|
2354
2517
|
* This sample demonstrates how to The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2355
2518
|
*
|
|
2356
2519
|
* @summary The operation to create or update a virtual machine. Please note some properties can be set only during virtual machine creation.
|
|
2357
|
-
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-
|
|
2520
|
+
* x-ms-original-file: specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-09-01/examples/virtualMachineExamples/VirtualMachine_Create_WithCapacityReservation.json
|
|
2358
2521
|
*/
|
|
2359
2522
|
function createOrUpdateAVMWithCapacityReservation() {
|
|
2360
2523
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -2418,12 +2581,15 @@ function main() {
|
|
|
2418
2581
|
createAVMFromASharedGalleryImage();
|
|
2419
2582
|
createAVMWithDiskControllerType();
|
|
2420
2583
|
createAVMWithHibernationEnabled();
|
|
2584
|
+
createAVMWithProxyAgentSettingsOfEnabledAndMode();
|
|
2421
2585
|
createAVMWithUefiSettingsOfSecureBootAndVTpm();
|
|
2422
2586
|
createAVMWithUserData();
|
|
2423
2587
|
createAVMWithVMSizeProperties();
|
|
2588
|
+
createAVMWithEncryptionIdentity();
|
|
2424
2589
|
createAVMWithNetworkInterfaceConfiguration();
|
|
2425
2590
|
createAVMWithNetworkInterfaceConfigurationWithPublicIPAddressDnsSettings();
|
|
2426
2591
|
createAVMWithSecurityTypeConfidentialVMWithCustomerManagedKeys();
|
|
2592
|
+
createAVMWithSecurityTypeConfidentialVMWithNonPersistedTpmSecurityEncryptionType();
|
|
2427
2593
|
createAVMWithSecurityTypeConfidentialVMWithPlatformManagedKeys();
|
|
2428
2594
|
createAWindowsVMWithAPatchSettingAssessmentModeOfImageDefault();
|
|
2429
2595
|
createAWindowsVMWithAPatchSettingPatchModeOfAutomaticByOS();
|