This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.compute.getSnapshot
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets information about a snapshot. Azure REST API version: 2022-07-02.
Other available API versions: 2023-01-02, 2023-04-02, 2023-10-02, 2024-03-02.
Using getSnapshot
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSnapshot(args: GetSnapshotArgs, opts?: InvokeOptions): Promise<GetSnapshotResult>
function getSnapshotOutput(args: GetSnapshotOutputArgs, opts?: InvokeOptions): Output<GetSnapshotResult>def get_snapshot(resource_group_name: Optional[str] = None,
                 snapshot_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetSnapshotResult
def get_snapshot_output(resource_group_name: Optional[pulumi.Input[str]] = None,
                 snapshot_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotResult]func LookupSnapshot(ctx *Context, args *LookupSnapshotArgs, opts ...InvokeOption) (*LookupSnapshotResult, error)
func LookupSnapshotOutput(ctx *Context, args *LookupSnapshotOutputArgs, opts ...InvokeOption) LookupSnapshotResultOutput> Note: This function is named LookupSnapshot in the Go SDK.
public static class GetSnapshot 
{
    public static Task<GetSnapshotResult> InvokeAsync(GetSnapshotArgs args, InvokeOptions? opts = null)
    public static Output<GetSnapshotResult> Invoke(GetSnapshotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
public static Output<GetSnapshotResult> getSnapshot(GetSnapshotArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:compute:getSnapshot
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResourceGroup stringName 
- The name of the resource group.
- SnapshotName string
- The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.
- ResourceGroup stringName 
- The name of the resource group.
- SnapshotName string
- The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.
- resourceGroup StringName 
- The name of the resource group.
- snapshotName String
- The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.
- resourceGroup stringName 
- The name of the resource group.
- snapshotName string
- The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.
- resource_group_ strname 
- The name of the resource group.
- snapshot_name str
- The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.
- resourceGroup StringName 
- The name of the resource group.
- snapshotName String
- The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The max name length is 80 characters.
getSnapshot Result
The following output properties are available:
- CreationData Pulumi.Azure Native. Compute. Outputs. Creation Data Response 
- Disk source information. CreationData information cannot be changed after the disk has been created.
- DiskSize doubleBytes 
- The size of the disk in bytes. This field is read only.
- DiskState string
- The state of the snapshot.
- Id string
- Resource Id
- IncrementalSnapshot stringFamily Id 
- Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- Location string
- Resource location
- ManagedBy string
- Unused. Always Null.
- Name string
- Resource name
- ProvisioningState string
- The disk provisioning state.
- TimeCreated string
- The time when the snapshot was created.
- Type string
- Resource type
- UniqueId string
- Unique Guid identifying the resource.
- CompletionPercent double
- Percentage complete for the background copy when a resource is created via the CopyStart operation.
- CopyCompletion Pulumi.Error Azure Native. Compute. Outputs. Copy Completion Error Response 
- Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- DataAccess stringAuth Mode 
- Additional authentication requirements when exporting or uploading to a disk or snapshot.
- DiskAccess stringId 
- ARM id of the DiskAccess resource for using private endpoints on disks.
- DiskSize intGB 
- If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- Encryption
Pulumi.Azure Native. Compute. Outputs. Encryption Response 
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- EncryptionSettings Pulumi.Collection Azure Native. Compute. Outputs. Encryption Settings Collection Response 
- Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- ExtendedLocation Pulumi.Azure Native. Compute. Outputs. Extended Location Response 
- The extended location where the snapshot will be created. Extended location cannot be changed.
- HyperVGeneration string
- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Incremental bool
- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
- NetworkAccess stringPolicy 
- Policy for accessing the disk via network.
- OsType string
- The Operating System type.
- PublicNetwork stringAccess 
- Policy for controlling export on the disk.
- PurchasePlan Pulumi.Azure Native. Compute. Outputs. Purchase Plan Response 
- Purchase plan information for the image from which the source disk for the snapshot was originally created.
- SecurityProfile Pulumi.Azure Native. Compute. Outputs. Disk Security Profile Response 
- Contains the security related information for the resource.
- Sku
Pulumi.Azure Native. Compute. Outputs. Snapshot Sku Response 
- The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
- SupportedCapabilities Pulumi.Azure Native. Compute. Outputs. Supported Capabilities Response 
- List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- SupportsHibernation bool
- Indicates the OS on a snapshot supports hibernation.
- Dictionary<string, string>
- Resource tags
- CreationData CreationData Response 
- Disk source information. CreationData information cannot be changed after the disk has been created.
- DiskSize float64Bytes 
- The size of the disk in bytes. This field is read only.
- DiskState string
- The state of the snapshot.
- Id string
- Resource Id
- IncrementalSnapshot stringFamily Id 
- Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- Location string
- Resource location
- ManagedBy string
- Unused. Always Null.
- Name string
- Resource name
- ProvisioningState string
- The disk provisioning state.
- TimeCreated string
- The time when the snapshot was created.
- Type string
- Resource type
- UniqueId string
- Unique Guid identifying the resource.
- CompletionPercent float64
- Percentage complete for the background copy when a resource is created via the CopyStart operation.
- CopyCompletion CopyError Completion Error Response 
- Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- DataAccess stringAuth Mode 
- Additional authentication requirements when exporting or uploading to a disk or snapshot.
- DiskAccess stringId 
- ARM id of the DiskAccess resource for using private endpoints on disks.
- DiskSize intGB 
- If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- Encryption
EncryptionResponse 
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- EncryptionSettings EncryptionCollection Settings Collection Response 
- Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- ExtendedLocation ExtendedLocation Response 
- The extended location where the snapshot will be created. Extended location cannot be changed.
- HyperVGeneration string
- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Incremental bool
- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
- NetworkAccess stringPolicy 
- Policy for accessing the disk via network.
- OsType string
- The Operating System type.
- PublicNetwork stringAccess 
- Policy for controlling export on the disk.
- PurchasePlan PurchasePlan Response 
- Purchase plan information for the image from which the source disk for the snapshot was originally created.
- SecurityProfile DiskSecurity Profile Response 
- Contains the security related information for the resource.
- Sku
SnapshotSku Response 
- The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
- SupportedCapabilities SupportedCapabilities Response 
- List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- SupportsHibernation bool
- Indicates the OS on a snapshot supports hibernation.
- map[string]string
- Resource tags
- creationData CreationData Response 
- Disk source information. CreationData information cannot be changed after the disk has been created.
- diskSize DoubleBytes 
- The size of the disk in bytes. This field is read only.
- diskState String
- The state of the snapshot.
- id String
- Resource Id
- incrementalSnapshot StringFamily Id 
- Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- location String
- Resource location
- managedBy String
- Unused. Always Null.
- name String
- Resource name
- provisioningState String
- The disk provisioning state.
- timeCreated String
- The time when the snapshot was created.
- type String
- Resource type
- uniqueId String
- Unique Guid identifying the resource.
- completionPercent Double
- Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copyCompletion CopyError Completion Error Response 
- Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- dataAccess StringAuth Mode 
- Additional authentication requirements when exporting or uploading to a disk or snapshot.
- diskAccess StringId 
- ARM id of the DiskAccess resource for using private endpoints on disks.
- diskSize IntegerGB 
- If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- encryption
EncryptionResponse 
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- encryptionSettings EncryptionCollection Settings Collection Response 
- Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extendedLocation ExtendedLocation Response 
- The extended location where the snapshot will be created. Extended location cannot be changed.
- hyperVGeneration String
- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- incremental Boolean
- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
- networkAccess StringPolicy 
- Policy for accessing the disk via network.
- osType String
- The Operating System type.
- publicNetwork StringAccess 
- Policy for controlling export on the disk.
- purchasePlan PurchasePlan Response 
- Purchase plan information for the image from which the source disk for the snapshot was originally created.
- securityProfile DiskSecurity Profile Response 
- Contains the security related information for the resource.
- sku
SnapshotSku Response 
- The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
- supportedCapabilities SupportedCapabilities Response 
- List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supportsHibernation Boolean
- Indicates the OS on a snapshot supports hibernation.
- Map<String,String>
- Resource tags
- creationData CreationData Response 
- Disk source information. CreationData information cannot be changed after the disk has been created.
- diskSize numberBytes 
- The size of the disk in bytes. This field is read only.
- diskState string
- The state of the snapshot.
- id string
- Resource Id
- incrementalSnapshot stringFamily Id 
- Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- location string
- Resource location
- managedBy string
- Unused. Always Null.
- name string
- Resource name
- provisioningState string
- The disk provisioning state.
- timeCreated string
- The time when the snapshot was created.
- type string
- Resource type
- uniqueId string
- Unique Guid identifying the resource.
- completionPercent number
- Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copyCompletion CopyError Completion Error Response 
- Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- dataAccess stringAuth Mode 
- Additional authentication requirements when exporting or uploading to a disk or snapshot.
- diskAccess stringId 
- ARM id of the DiskAccess resource for using private endpoints on disks.
- diskSize numberGB 
- If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- encryption
EncryptionResponse 
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- encryptionSettings EncryptionCollection Settings Collection Response 
- Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extendedLocation ExtendedLocation Response 
- The extended location where the snapshot will be created. Extended location cannot be changed.
- hyperVGeneration string
- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- incremental boolean
- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
- networkAccess stringPolicy 
- Policy for accessing the disk via network.
- osType string
- The Operating System type.
- publicNetwork stringAccess 
- Policy for controlling export on the disk.
- purchasePlan PurchasePlan Response 
- Purchase plan information for the image from which the source disk for the snapshot was originally created.
- securityProfile DiskSecurity Profile Response 
- Contains the security related information for the resource.
- sku
SnapshotSku Response 
- The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
- supportedCapabilities SupportedCapabilities Response 
- List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supportsHibernation boolean
- Indicates the OS on a snapshot supports hibernation.
- {[key: string]: string}
- Resource tags
- creation_data CreationData Response 
- Disk source information. CreationData information cannot be changed after the disk has been created.
- disk_size_ floatbytes 
- The size of the disk in bytes. This field is read only.
- disk_state str
- The state of the snapshot.
- id str
- Resource Id
- incremental_snapshot_ strfamily_ id 
- Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- location str
- Resource location
- managed_by str
- Unused. Always Null.
- name str
- Resource name
- provisioning_state str
- The disk provisioning state.
- time_created str
- The time when the snapshot was created.
- type str
- Resource type
- unique_id str
- Unique Guid identifying the resource.
- completion_percent float
- Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copy_completion_ Copyerror Completion Error Response 
- Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- data_access_ strauth_ mode 
- Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk_access_ strid 
- ARM id of the DiskAccess resource for using private endpoints on disks.
- disk_size_ intgb 
- If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- encryption
EncryptionResponse 
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- encryption_settings_ Encryptioncollection Settings Collection Response 
- Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended_location ExtendedLocation Response 
- The extended location where the snapshot will be created. Extended location cannot be changed.
- hyper_v_ strgeneration 
- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- incremental bool
- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
- network_access_ strpolicy 
- Policy for accessing the disk via network.
- os_type str
- The Operating System type.
- public_network_ straccess 
- Policy for controlling export on the disk.
- purchase_plan PurchasePlan Response 
- Purchase plan information for the image from which the source disk for the snapshot was originally created.
- security_profile DiskSecurity Profile Response 
- Contains the security related information for the resource.
- sku
SnapshotSku Response 
- The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
- supported_capabilities SupportedCapabilities Response 
- List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports_hibernation bool
- Indicates the OS on a snapshot supports hibernation.
- Mapping[str, str]
- Resource tags
- creationData Property Map
- Disk source information. CreationData information cannot be changed after the disk has been created.
- diskSize NumberBytes 
- The size of the disk in bytes. This field is read only.
- diskState String
- The state of the snapshot.
- id String
- Resource Id
- incrementalSnapshot StringFamily Id 
- Incremental snapshots for a disk share an incremental snapshot family id. The Get Page Range Diff API can only be called on incremental snapshots with the same family id.
- location String
- Resource location
- managedBy String
- Unused. Always Null.
- name String
- Resource name
- provisioningState String
- The disk provisioning state.
- timeCreated String
- The time when the snapshot was created.
- type String
- Resource type
- uniqueId String
- Unique Guid identifying the resource.
- completionPercent Number
- Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copyCompletion Property MapError 
- Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- dataAccess StringAuth Mode 
- Additional authentication requirements when exporting or uploading to a disk or snapshot.
- diskAccess StringId 
- ARM id of the DiskAccess resource for using private endpoints on disks.
- diskSize NumberGB 
- If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size.
- encryption Property Map
- Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.
- encryptionSettings Property MapCollection 
- Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extendedLocation Property Map
- The extended location where the snapshot will be created. Extended location cannot be changed.
- hyperVGeneration String
- The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- incremental Boolean
- Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed.
- networkAccess StringPolicy 
- Policy for accessing the disk via network.
- osType String
- The Operating System type.
- publicNetwork StringAccess 
- Policy for controlling export on the disk.
- purchasePlan Property Map
- Purchase plan information for the image from which the source disk for the snapshot was originally created.
- securityProfile Property Map
- Contains the security related information for the resource.
- sku Property Map
- The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot
- supportedCapabilities Property Map
- List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supportsHibernation Boolean
- Indicates the OS on a snapshot supports hibernation.
- Map<String>
- Resource tags
Supporting Types
CopyCompletionErrorResponse   
- ErrorCode string
- Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- ErrorMessage string
- Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- ErrorCode string
- Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- ErrorMessage string
- Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- errorCode String
- Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- errorMessage String
- Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- errorCode string
- Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- errorMessage string
- Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error_code str
- Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error_message str
- Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- errorCode String
- Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- errorMessage String
- Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
CreationDataResponse  
- CreateOption string
- This enumerates the possible sources of a disk's creation.
- SourceUnique stringId 
- If this field is set, this is the unique id identifying the source of this resource.
- GalleryImage Pulumi.Reference Azure Native. Compute. Inputs. Image Disk Reference Response 
- Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- ImageReference Pulumi.Azure Native. Compute. Inputs. Image Disk Reference Response 
- Disk source information for PIR or user images.
- LogicalSector intSize 
- Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- PerformancePlus bool
- Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- SecurityData stringUri 
- If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- SourceResource stringId 
- If createOption is Copy, this is the ARM id of the source snapshot or disk.
- SourceUri string
- If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- StorageAccount stringId 
- Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- UploadSize doubleBytes 
- If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
- CreateOption string
- This enumerates the possible sources of a disk's creation.
- SourceUnique stringId 
- If this field is set, this is the unique id identifying the source of this resource.
- GalleryImage ImageReference Disk Reference Response 
- Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- ImageReference ImageDisk Reference Response 
- Disk source information for PIR or user images.
- LogicalSector intSize 
- Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- PerformancePlus bool
- Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- SecurityData stringUri 
- If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- SourceResource stringId 
- If createOption is Copy, this is the ARM id of the source snapshot or disk.
- SourceUri string
- If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- StorageAccount stringId 
- Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- UploadSize float64Bytes 
- If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
- createOption String
- This enumerates the possible sources of a disk's creation.
- sourceUnique StringId 
- If this field is set, this is the unique id identifying the source of this resource.
- galleryImage ImageReference Disk Reference Response 
- Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- imageReference ImageDisk Reference Response 
- Disk source information for PIR or user images.
- logicalSector IntegerSize 
- Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performancePlus Boolean
- Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- securityData StringUri 
- If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- sourceResource StringId 
- If createOption is Copy, this is the ARM id of the source snapshot or disk.
- sourceUri String
- If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storageAccount StringId 
- Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- uploadSize DoubleBytes 
- If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
- createOption string
- This enumerates the possible sources of a disk's creation.
- sourceUnique stringId 
- If this field is set, this is the unique id identifying the source of this resource.
- galleryImage ImageReference Disk Reference Response 
- Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- imageReference ImageDisk Reference Response 
- Disk source information for PIR or user images.
- logicalSector numberSize 
- Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performancePlus boolean
- Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- securityData stringUri 
- If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- sourceResource stringId 
- If createOption is Copy, this is the ARM id of the source snapshot or disk.
- sourceUri string
- If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storageAccount stringId 
- Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- uploadSize numberBytes 
- If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
- create_option str
- This enumerates the possible sources of a disk's creation.
- source_unique_ strid 
- If this field is set, this is the unique id identifying the source of this resource.
- gallery_image_ Imagereference Disk Reference Response 
- Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- image_reference ImageDisk Reference Response 
- Disk source information for PIR or user images.
- logical_sector_ intsize 
- Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance_plus bool
- Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- security_data_ struri 
- If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source_resource_ strid 
- If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source_uri str
- If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage_account_ strid 
- Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload_size_ floatbytes 
- If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
- createOption String
- This enumerates the possible sources of a disk's creation.
- sourceUnique StringId 
- If this field is set, this is the unique id identifying the source of this resource.
- galleryImage Property MapReference 
- Required if creating from a Gallery Image. The id/sharedGalleryImageId/communityGalleryImageId of the ImageDiskReference will be the ARM id of the shared galley image version from which to create a disk.
- imageReference Property Map
- Disk source information for PIR or user images.
- logicalSector NumberSize 
- Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performancePlus Boolean
- Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled.
- securityData StringUri 
- If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- sourceResource StringId 
- If createOption is Copy, this is the ARM id of the source snapshot or disk.
- sourceUri String
- If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storageAccount StringId 
- Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- uploadSize NumberBytes 
- If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer).
DiskSecurityProfileResponse   
- SecureVMDisk stringEncryption Set Id 
- ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- SecurityType string
- Specifies the SecurityType of the VM. Applicable for OS disks only.
- SecureVMDisk stringEncryption Set Id 
- ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- SecurityType string
- Specifies the SecurityType of the VM. Applicable for OS disks only.
- secureVMDisk StringEncryption Set Id 
- ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- securityType String
- Specifies the SecurityType of the VM. Applicable for OS disks only.
- secureVMDisk stringEncryption Set Id 
- ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- securityType string
- Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure_vm_ strdisk_ encryption_ set_ id 
- ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security_type str
- Specifies the SecurityType of the VM. Applicable for OS disks only.
- secureVMDisk StringEncryption Set Id 
- ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- securityType String
- Specifies the SecurityType of the VM. Applicable for OS disks only.
EncryptionResponse 
- DiskEncryption stringSet Id 
- ResourceId of the disk encryption set to use for enabling encryption at rest.
- Type string
- The type of key used to encrypt the data of the disk.
- DiskEncryption stringSet Id 
- ResourceId of the disk encryption set to use for enabling encryption at rest.
- Type string
- The type of key used to encrypt the data of the disk.
- diskEncryption StringSet Id 
- ResourceId of the disk encryption set to use for enabling encryption at rest.
- type String
- The type of key used to encrypt the data of the disk.
- diskEncryption stringSet Id 
- ResourceId of the disk encryption set to use for enabling encryption at rest.
- type string
- The type of key used to encrypt the data of the disk.
- disk_encryption_ strset_ id 
- ResourceId of the disk encryption set to use for enabling encryption at rest.
- type str
- The type of key used to encrypt the data of the disk.
- diskEncryption StringSet Id 
- ResourceId of the disk encryption set to use for enabling encryption at rest.
- type String
- The type of key used to encrypt the data of the disk.
EncryptionSettingsCollectionResponse   
- Enabled bool
- Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
- EncryptionSettings List<Pulumi.Azure Native. Compute. Inputs. Encryption Settings Element Response> 
- A collection of encryption settings, one for each disk volume.
- EncryptionSettings stringVersion 
- Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
- Enabled bool
- Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
- EncryptionSettings []EncryptionSettings Element Response 
- A collection of encryption settings, one for each disk volume.
- EncryptionSettings stringVersion 
- Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
- enabled Boolean
- Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
- encryptionSettings List<EncryptionSettings Element Response> 
- A collection of encryption settings, one for each disk volume.
- encryptionSettings StringVersion 
- Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
- enabled boolean
- Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
- encryptionSettings EncryptionSettings Element Response[] 
- A collection of encryption settings, one for each disk volume.
- encryptionSettings stringVersion 
- Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
- enabled bool
- Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
- encryption_settings Sequence[EncryptionSettings Element Response] 
- A collection of encryption settings, one for each disk volume.
- encryption_settings_ strversion 
- Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
- enabled Boolean
- Set this flag to true and provide DiskEncryptionKey and optional KeyEncryptionKey to enable encryption. Set this flag to false and remove DiskEncryptionKey and KeyEncryptionKey to disable encryption. If EncryptionSettings is null in the request object, the existing settings remain unchanged.
- encryptionSettings List<Property Map>
- A collection of encryption settings, one for each disk volume.
- encryptionSettings StringVersion 
- Describes what type of encryption is used for the disks. Once this field is set, it cannot be overwritten. '1.0' corresponds to Azure Disk Encryption with AAD app.'1.1' corresponds to Azure Disk Encryption.
EncryptionSettingsElementResponse   
- DiskEncryption Pulumi.Key Azure Native. Compute. Inputs. Key Vault And Secret Reference Response 
- Key Vault Secret Url and vault id of the disk encryption key
- KeyEncryption Pulumi.Key Azure Native. Compute. Inputs. Key Vault And Key Reference Response 
- Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
- DiskEncryption KeyKey Vault And Secret Reference Response 
- Key Vault Secret Url and vault id of the disk encryption key
- KeyEncryption KeyKey Vault And Key Reference Response 
- Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
- diskEncryption KeyKey Vault And Secret Reference Response 
- Key Vault Secret Url and vault id of the disk encryption key
- keyEncryption KeyKey Vault And Key Reference Response 
- Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
- diskEncryption KeyKey Vault And Secret Reference Response 
- Key Vault Secret Url and vault id of the disk encryption key
- keyEncryption KeyKey Vault And Key Reference Response 
- Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
- disk_encryption_ Keykey Vault And Secret Reference Response 
- Key Vault Secret Url and vault id of the disk encryption key
- key_encryption_ Keykey Vault And Key Reference Response 
- Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
- diskEncryption Property MapKey 
- Key Vault Secret Url and vault id of the disk encryption key
- keyEncryption Property MapKey 
- Key Vault Key Url and vault id of the key encryption key. KeyEncryptionKey is optional and when provided is used to unwrap the disk encryption key.
ExtendedLocationResponse  
ImageDiskReferenceResponse   
- CommunityGallery stringImage Id 
- A relative uri containing a community Azure Compute Gallery image reference.
- Id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.
- Lun int
- If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- CommunityGallery stringImage Id 
- A relative uri containing a community Azure Compute Gallery image reference.
- Id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.
- Lun int
- If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- communityGallery StringImage Id 
- A relative uri containing a community Azure Compute Gallery image reference.
- id String
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.
- lun Integer
- If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
- String
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- communityGallery stringImage Id 
- A relative uri containing a community Azure Compute Gallery image reference.
- id string
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.
- lun number
- If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
- string
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- community_gallery_ strimage_ id 
- A relative uri containing a community Azure Compute Gallery image reference.
- id str
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.
- lun int
- If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
- str
- A relative uri containing a direct shared Azure Compute Gallery image reference.
- communityGallery StringImage Id 
- A relative uri containing a community Azure Compute Gallery image reference.
- id String
- A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference.
- lun Number
- If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.
- String
- A relative uri containing a direct shared Azure Compute Gallery image reference.
KeyVaultAndKeyReferenceResponse     
- KeyUrl string
- Url pointing to a key or secret in KeyVault
- SourceVault Pulumi.Azure Native. Compute. Inputs. Source Vault Response 
- Resource id of the KeyVault containing the key or secret
- KeyUrl string
- Url pointing to a key or secret in KeyVault
- SourceVault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- keyUrl String
- Url pointing to a key or secret in KeyVault
- sourceVault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- keyUrl string
- Url pointing to a key or secret in KeyVault
- sourceVault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- key_url str
- Url pointing to a key or secret in KeyVault
- source_vault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- keyUrl String
- Url pointing to a key or secret in KeyVault
- sourceVault Property Map
- Resource id of the KeyVault containing the key or secret
KeyVaultAndSecretReferenceResponse     
- SecretUrl string
- Url pointing to a key or secret in KeyVault
- SourceVault Pulumi.Azure Native. Compute. Inputs. Source Vault Response 
- Resource id of the KeyVault containing the key or secret
- SecretUrl string
- Url pointing to a key or secret in KeyVault
- SourceVault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- secretUrl String
- Url pointing to a key or secret in KeyVault
- sourceVault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- secretUrl string
- Url pointing to a key or secret in KeyVault
- sourceVault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- secret_url str
- Url pointing to a key or secret in KeyVault
- source_vault SourceVault Response 
- Resource id of the KeyVault containing the key or secret
- secretUrl String
- Url pointing to a key or secret in KeyVault
- sourceVault Property Map
- Resource id of the KeyVault containing the key or secret
PurchasePlanResponse  
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- Publisher string
- The publisher ID.
- PromotionCode string
- The Offer Promotion Code.
- Name string
- The plan ID.
- Product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- Publisher string
- The publisher ID.
- PromotionCode string
- The Offer Promotion Code.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- publisher String
- The publisher ID.
- promotionCode String
- The Offer Promotion Code.
- name string
- The plan ID.
- product string
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- publisher string
- The publisher ID.
- promotionCode string
- The Offer Promotion Code.
- name str
- The plan ID.
- product str
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- publisher str
- The publisher ID.
- promotion_code str
- The Offer Promotion Code.
- name String
- The plan ID.
- product String
- Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element.
- publisher String
- The publisher ID.
- promotionCode String
- The Offer Promotion Code.
SnapshotSkuResponse  
SourceVaultResponse  
- Id string
- Resource Id
- Id string
- Resource Id
- id String
- Resource Id
- id string
- Resource Id
- id str
- Resource Id
- id String
- Resource Id
SupportedCapabilitiesResponse  
- AcceleratedNetwork bool
- True if the image from which the OS disk is created supports accelerated networking.
- Architecture string
- CPU architecture supported by an OS disk.
- DiskController stringTypes 
- The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- AcceleratedNetwork bool
- True if the image from which the OS disk is created supports accelerated networking.
- Architecture string
- CPU architecture supported by an OS disk.
- DiskController stringTypes 
- The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- acceleratedNetwork Boolean
- True if the image from which the OS disk is created supports accelerated networking.
- architecture String
- CPU architecture supported by an OS disk.
- diskController StringTypes 
- The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- acceleratedNetwork boolean
- True if the image from which the OS disk is created supports accelerated networking.
- architecture string
- CPU architecture supported by an OS disk.
- diskController stringTypes 
- The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated_network bool
- True if the image from which the OS disk is created supports accelerated networking.
- architecture str
- CPU architecture supported by an OS disk.
- disk_controller_ strtypes 
- The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- acceleratedNetwork Boolean
- True if the image from which the OS disk is created supports accelerated networking.
- architecture String
- CPU architecture supported by an OS disk.
- diskController StringTypes 
- The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi