Microsoft.Compute (stable:2025-01-02)

2025/06/25 • 38 new methods

Disks_CreateOrUpdate (new)
Description Creates or updates a disk.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskName: string ,
api-version: string ,
disk:
{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}
,
}

⚐ Response (200)

{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}

⚐ Response (202)

{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}
Disks_Update (new)
Description Updates (patches) a disk.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskName: string ,
api-version: string ,
disk:
{
properties:
{
osType: enum ,
diskSizeGB: integer ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
maxShares: integer ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
tier: string ,
burstingEnabled: boolean ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
tags: object ,
sku:
{
name: enum ,
tier: string ,
}
,
}
,
}

⚐ Response (200)

{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}

⚐ Response (202)

{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}
Disks_Get (new)
Description Gets information about a disk.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskName: string ,
api-version: string ,
}

⚐ Response (200)

{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}
Disks_Delete (new)
Description Deletes a disk.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}
Disks_ListByResourceGroup (new)
Description Lists all the disks under a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}
Disks_List (new)
Description Lists all the disks under a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
managedBy: string ,
managedByExtended:
[
string ,
]
,
sku:
{
name: enum ,
tier: string ,
}
,
zones:
[
string ,
]
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
diskIOPSReadWrite: integer ,
diskMBpsReadWrite: integer ,
diskIOPSReadOnly: integer ,
diskMBpsReadOnly: integer ,
diskState: enum ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
maxShares: integer ,
shareInfo:
[
{
vmUri: string ,
}
,
]
,
networkAccessPolicy: enum ,
diskAccessId: string ,
burstingEnabledTime: string ,
tier: string ,
burstingEnabled: boolean ,
propertyUpdatesInProgress:
{
targetTier: string ,
}
,
supportsHibernation: boolean ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
completionPercent: number ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
optimizedForFrequentAttach: boolean ,
LastOwnershipUpdateTime: string ,
availabilityPolicy:
{
actionOnDiskDelay: enum ,
}
,
}
,
}
,
]
,
nextLink: string ,
}
Disks_GrantAccess (new)
Description Grants access to a disk.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/beginGetAccess
{
subscriptionId: string ,
resourceGroupName: string ,
diskName: string ,
api-version: string ,
grantAccessData:
{
access: enum ,
durationInSeconds: integer ,
getSecureVMGuestStateSAS: boolean ,
fileFormat: enum ,
}
,
}

⚐ Response (200)

{
accessSAS: string ,
securityDataAccessSAS: string ,
securityMetadataAccessSAS: string ,
}

⚐ Response (202)

{}
Disks_RevokeAccess (new)
Description Revokes access to a disk.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess
{
subscriptionId: string ,
resourceGroupName: string ,
diskName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}
DiskAccesses_CreateOrUpdate (new)
Description Creates or updates a disk access resource
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
api-version: string ,
diskAccess:
{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_Update (new)
Description Updates (patches) a disk access resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
api-version: string ,
diskAccess:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_Get (new)
Description Gets information about a disk access resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_Delete (new)
Description Deletes a disk access resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_ListByResourceGroup (new)
Description Lists all the disk access resources under a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_List (new)
Description Lists all the disk access resources under a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
provisioningState: string ,
timeCreated: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_GetPrivateLinkResources (new)
Description Gets the private link resources possible under disk access resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
}
DiskAccesses_UpdateAPrivateEndpointConnection (new)
Description Approve or reject a private endpoint connection under disk access resource, this can't be used to create a new private endpoint connection.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
privateEndpointConnection:
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (202)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_GetAPrivateEndpointConnection (new)
Description Gets information about a private endpoint connection under a disk access resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_DeleteAPrivateEndpointConnection (new)
Description Deletes a private endpoint connection under a disk access resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections/{privateEndpointConnectionName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
privateEndpointConnectionName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskAccesses_ListPrivateEndpointConnections (new)
Description List information about private endpoint connections under a disk access resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateEndpointConnections
{
subscriptionId: string ,
resourceGroupName: string ,
diskAccessName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
id: string ,
name: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskEncryptionSets_CreateOrUpdate (new)
Description Creates or updates a disk encryption set
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskEncryptionSetName: string ,
api-version: string ,
diskEncryptionSet:
{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}

⚐ Response (202)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskEncryptionSets_Update (new)
Description Updates (patches) a disk encryption set.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskEncryptionSetName: string ,
api-version: string ,
diskEncryptionSet:
{
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
rotationToLatestKeyVersionEnabled: boolean ,
federatedClientId: string ,
}
,
tags: object ,
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}

⚐ Response (202)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskEncryptionSets_Get (new)
Description Gets information about a disk encryption set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskEncryptionSetName: string ,
api-version: string ,
}

⚐ Response (200)

{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskEncryptionSets_Delete (new)
Description Deletes a disk encryption set.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
{
subscriptionId: string ,
resourceGroupName: string ,
diskEncryptionSetName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskEncryptionSets_ListByResourceGroup (new)
Description Lists all the disk encryption sets under a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskEncryptionSets_List (new)
Description Lists all the disk encryption sets under a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
type: enum ,
principalId: string ,
tenantId: string ,
userAssignedIdentities: object ,
}
,
properties:
{
encryptionType: enum ,
activeKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
previousKeys:
[
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
]
,
provisioningState: string ,
rotationToLatestKeyVersionEnabled: boolean ,
lastKeyRotationTimestamp: string ,
autoKeyRotationError:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
federatedClientId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskEncryptionSets_ListAssociatedResources (new)
Description Lists all resources that are encrypted with this disk encryption set.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}/associatedResources
{
subscriptionId: string ,
resourceGroupName: string ,
diskEncryptionSetName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
string ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskRestorePoint_Get (new)
Description Get disk restorePoint resource
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}
{
subscriptionId: string ,
resourceGroupName: string ,
restorePointCollectionName: string ,
vmRestorePointName: string ,
diskRestorePointName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
timeCreated: string ,
sourceResourceId: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
familyId: string ,
sourceUniqueId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
supportsHibernation: boolean ,
networkAccessPolicy: enum ,
publicNetworkAccess: enum ,
diskAccessId: string ,
completionPercent: number ,
replicationState: string ,
sourceResourceLocation: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
logicalSectorSize: integer ,
}
,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskRestorePoint_ListByRestorePoint (new)
Description Lists diskRestorePoints under a vmRestorePoint.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints
{
subscriptionId: string ,
resourceGroupName: string ,
restorePointCollectionName: string ,
vmRestorePointName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
timeCreated: string ,
sourceResourceId: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
familyId: string ,
sourceUniqueId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
supportsHibernation: boolean ,
networkAccessPolicy: enum ,
publicNetworkAccess: enum ,
diskAccessId: string ,
completionPercent: number ,
replicationState: string ,
sourceResourceLocation: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
logicalSectorSize: integer ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskRestorePoint_GrantAccess (new)
Description Grants access to a diskRestorePoint.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/beginGetAccess
{
subscriptionId: string ,
resourceGroupName: string ,
restorePointCollectionName: string ,
vmRestorePointName: string ,
diskRestorePointName: string ,
api-version: string ,
grantAccessData:
{
access: enum ,
durationInSeconds: integer ,
getSecureVMGuestStateSAS: boolean ,
fileFormat: enum ,
}
,
}

⚐ Response (200)

{
accessSAS: string ,
securityDataAccessSAS: string ,
securityMetadataAccessSAS: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
DiskRestorePoint_RevokeAccess (new)
Description Revokes access to a diskRestorePoint.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{vmRestorePointName}/diskRestorePoints/{diskRestorePointName}/endGetAccess
{
subscriptionId: string ,
resourceGroupName: string ,
restorePointCollectionName: string ,
vmRestorePointName: string ,
diskRestorePointName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
details:
[
{
code: string ,
target: string ,
message: string ,
}
,
]
,
innererror:
{
exceptiontype: string ,
errordetail: string ,
}
,
code: string ,
target: string ,
message: string ,
}
,
}
Snapshots_CreateOrUpdate (new)
Description Creates or updates a snapshot.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
{
subscriptionId: string ,
resourceGroupName: string ,
snapshotName: string ,
api-version: string ,
snapshot:
{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}
,
}

⚐ Response (200)

{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}

⚐ Response (202)

{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}
Snapshots_Update (new)
Description Updates (patches) a snapshot.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
{
subscriptionId: string ,
resourceGroupName: string ,
snapshotName: string ,
api-version: string ,
snapshot:
{
properties:
{
osType: enum ,
diskSizeGB: integer ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
dataAccessAuthMode: enum ,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
snapshotAccessState: enum ,
}
,
tags: object ,
sku:
{
name: enum ,
tier: string ,
}
,
}
,
}

⚐ Response (200)

{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}

⚐ Response (202)

{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}
Snapshots_Get (new)
Description Gets information about a snapshot.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
{
subscriptionId: string ,
resourceGroupName: string ,
snapshotName: string ,
api-version: string ,
}

⚐ Response (200)

{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}
Snapshots_Delete (new)
Description Deletes a snapshot.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
{
subscriptionId: string ,
resourceGroupName: string ,
snapshotName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}
Snapshots_ListByResourceGroup (new)
Description Lists snapshots under a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots
{
subscriptionId: string ,
resourceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}
,
]
,
nextLink: string ,
}
Snapshots_List (new)
Description Lists snapshots under a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
managedBy: string ,
sku:
{
name: enum ,
tier: string ,
}
,
extendedLocation:
{
name: string ,
type: enum ,
}
,
properties:
{
timeCreated: string ,
osType: enum ,
hyperVGeneration: enum ,
purchasePlan:
{
name: string ,
publisher: string ,
product: string ,
promotionCode: string ,
}
,
supportedCapabilities:
{
diskControllerTypes: string ,
acceleratedNetwork: boolean ,
architecture: enum ,
supportedSecurityOption: enum ,
}
,
creationData:
{
createOption: enum ,
storageAccountId: string ,
imageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
galleryImageReference:
{
id: string ,
sharedGalleryImageId: string ,
communityGalleryImageId: string ,
lun: integer ,
}
,
sourceUri: string ,
sourceResourceId: string ,
sourceUniqueId: string ,
uploadSizeBytes: integer ,
logicalSectorSize: integer ,
securityDataUri: string ,
performancePlus: boolean ,
elasticSanResourceId: string ,
provisionedBandwidthCopySpeed: enum ,
instantAccessDurationMinutes: integer ,
securityMetadataUri: string ,
}
,
diskSizeGB: integer ,
diskSizeBytes: integer ,
diskState: enum ,
uniqueId: string ,
encryptionSettingsCollection:
{
enabled: boolean ,
encryptionSettings:
[
{
diskEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
secretUrl: string ,
}
,
keyEncryptionKey:
{
sourceVault:
{
id: string ,
}
,
keyUrl: string ,
}
,
}
,
]
,
encryptionSettingsVersion: string ,
}
,
provisioningState: string ,
incremental: boolean ,
incrementalSnapshotFamilyId: string ,
encryption:
{
diskEncryptionSetId: string ,
type: enum ,
}
,
networkAccessPolicy: enum ,
diskAccessId: string ,
securityProfile:
{
securityType: enum ,
secureVMDiskEncryptionSetId: string ,
}
,
supportsHibernation: boolean ,
publicNetworkAccess: enum ,
completionPercent: number ,
copyCompletionError:
{
errorCode: enum ,
errorMessage: string ,
}
,
dataAccessAuthMode: enum ,
snapshotAccessState: enum ,
}
,
}
,
]
,
nextLink: string ,
}
Snapshots_GrantAccess (new)
Description Grants access to a snapshot.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess
{
subscriptionId: string ,
resourceGroupName: string ,
snapshotName: string ,
api-version: string ,
grantAccessData:
{
access: enum ,
durationInSeconds: integer ,
getSecureVMGuestStateSAS: boolean ,
fileFormat: enum ,
}
,
}

⚐ Response (200)

{
accessSAS: string ,
securityDataAccessSAS: string ,
securityMetadataAccessSAS: string ,
}

⚐ Response (202)

{}
Snapshots_RevokeAccess (new)
Description Revokes access to a snapshot.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess
{
subscriptionId: string ,
resourceGroupName: string ,
snapshotName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}