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.73.0 published on Wednesday, Nov 20, 2024 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi
Gets information about a snapshot. Azure REST API version: 2022-07-02.
Other available API versions: 2016-04-30-preview, 2017-03-30, 2018-06-01, 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:compute:getSnapshot
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group.
- Snapshot
Name 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 stringName - The name of the resource group.
- Snapshot
Name 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 StringName - The name of the resource group.
- snapshot
Name 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 stringName - The name of the resource group.
- snapshot
Name 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.
- resource
Group StringName - The name of the resource group.
- snapshot
Name 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:
- Creation
Data Pulumi.Azure Native. Compute. Outputs. Creation Data Response - Disk source information. CreationData information cannot be changed after the disk has been created.
- Disk
Size doubleBytes - The size of the disk in bytes. This field is read only.
- Disk
State string - The state of the snapshot.
- Id string
- Resource Id
- Incremental
Snapshot 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
- Managed
By string - Unused. Always Null.
- Name string
- Resource name
- Provisioning
State string - The disk provisioning state.
- Time
Created string - The time when the snapshot was created.
- Type string
- Resource type
- Unique
Id string - Unique Guid identifying the resource.
- Completion
Percent double - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- Copy
Completion 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.
- Data
Access stringAuth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- Disk
Access stringId - 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
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.
- Encryption
Settings 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.
- Extended
Location Pulumi.Azure Native. Compute. Outputs. Extended Location Response - The extended location where the snapshot will be created. Extended location cannot be changed.
- Hyper
VGeneration 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.
- Network
Access stringPolicy - Policy for accessing the disk via network.
- Os
Type string - The Operating System type.
- Public
Network stringAccess - Policy for controlling export on the disk.
- Purchase
Plan 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.
- Security
Profile 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
- Supported
Capabilities 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.
- Supports
Hibernation bool - Indicates the OS on a snapshot supports hibernation.
- Dictionary<string, string>
- Resource tags
- Creation
Data CreationData Response - Disk source information. CreationData information cannot be changed after the disk has been created.
- Disk
Size float64Bytes - The size of the disk in bytes. This field is read only.
- Disk
State string - The state of the snapshot.
- Id string
- Resource Id
- Incremental
Snapshot 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
- Managed
By string - Unused. Always Null.
- Name string
- Resource name
- Provisioning
State string - The disk provisioning state.
- Time
Created string - The time when the snapshot was created.
- Type string
- Resource type
- Unique
Id string - Unique Guid identifying the resource.
- Completion
Percent float64 - 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 stringAuth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- Disk
Access stringId - 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
Encryption
Response - 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
VGeneration 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.
- Network
Access stringPolicy - Policy for accessing the disk via network.
- Os
Type string - The Operating System type.
- Public
Network stringAccess - 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
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
- 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.
- map[string]string
- Resource tags
- creation
Data CreationData Response - Disk source information. CreationData information cannot be changed after the disk has been created.
- disk
Size DoubleBytes - The size of the disk in bytes. This field is read only.
- disk
State String - The state of the snapshot.
- id String
- Resource Id
- incremental
Snapshot 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
- managed
By String - Unused. Always Null.
- name String
- Resource name
- provisioning
State String - The disk provisioning state.
- time
Created String - The time when the snapshot was created.
- type String
- Resource type
- unique
Id String - Unique Guid identifying the resource.
- completion
Percent Double - 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 StringAuth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk
Access StringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
Size 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
Encryption
Response - 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
VGeneration 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.
- network
Access StringPolicy - Policy for accessing the disk via network.
- os
Type String - The Operating System type.
- public
Network StringAccess - 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
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
- supported
Capabilities SupportedCapabilities Response - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports
Hibernation Boolean - Indicates the OS on a snapshot supports hibernation.
- Map<String,String>
- Resource tags
- creation
Data CreationData Response - Disk source information. CreationData information cannot be changed after the disk has been created.
- disk
Size numberBytes - The size of the disk in bytes. This field is read only.
- disk
State string - The state of the snapshot.
- id string
- Resource Id
- incremental
Snapshot 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
- managed
By string - Unused. Always Null.
- name string
- Resource name
- provisioning
State string - The disk provisioning state.
- time
Created string - The time when the snapshot was created.
- type string
- Resource type
- unique
Id string - Unique Guid identifying the resource.
- completion
Percent number - 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 stringAuth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk
Access stringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
Size 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
Encryption
Response - 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
VGeneration 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.
- network
Access stringPolicy - Policy for accessing the disk via network.
- os
Type string - The Operating System type.
- public
Network stringAccess - 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
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
- supported
Capabilities SupportedCapabilities Response - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports
Hibernation 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
Encryption
Response - 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
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
- 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
- creation
Data Property Map - Disk source information. CreationData information cannot be changed after the disk has been created.
- disk
Size NumberBytes - The size of the disk in bytes. This field is read only.
- disk
State String - The state of the snapshot.
- id String
- Resource Id
- incremental
Snapshot 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
- managed
By String - Unused. Always Null.
- name String
- Resource name
- provisioning
State String - The disk provisioning state.
- time
Created String - The time when the snapshot was created.
- type String
- Resource type
- unique
Id String - Unique Guid identifying the resource.
- completion
Percent Number - Percentage complete for the background copy when a resource is created via the CopyStart operation.
- copy
Completion Property MapError - Indicates the error details if the background copy of a resource created via the CopyStart operation fails.
- data
Access StringAuth Mode - Additional authentication requirements when exporting or uploading to a disk or snapshot.
- disk
Access StringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
Size 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.
- encryption
Settings Property MapCollection - Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended
Location Property Map - The extended location where the snapshot will be created. Extended location cannot be changed.
- hyper
VGeneration 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.
- network
Access StringPolicy - Policy for accessing the disk via network.
- os
Type String - The Operating System type.
- public
Network StringAccess - Policy for controlling export on the disk.
- purchase
Plan Property Map - Purchase plan information for the image from which the source disk for the snapshot was originally created.
- security
Profile 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
- supported
Capabilities Property Map - List of supported capabilities for the image from which the source disk from the snapshot was originally created.
- supports
Hibernation Boolean - Indicates the OS on a snapshot supports hibernation.
- Map<String>
- Resource tags
Supporting Types
CopyCompletionErrorResponse
- Error
Code string - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- Error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- Error
Code string - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- Error
Message string - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code String - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message String - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
- error
Code string - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message 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.
- error
Code String - Indicates the error code if the background copy of a resource created via the CopyStart operation fails.
- error
Message String - Indicates the error message if the background copy of a resource created via the CopyStart operation fails.
CreationDataResponse
- Create
Option string - This enumerates the possible sources of a disk's creation.
- Source
Unique stringId - If this field is set, this is the unique id identifying the source of this resource.
- Gallery
Image 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.
- Image
Reference Pulumi.Azure Native. Compute. Inputs. Image Disk 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 stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- Source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- Source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- Storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- Upload
Size 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).
- Create
Option string - This enumerates the possible sources of a disk's creation.
- Source
Unique stringId - 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 stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- Source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- Source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- Storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- Upload
Size 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).
- create
Option String - This enumerates the possible sources of a disk's creation.
- source
Unique StringId - 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 IntegerSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus 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.
- security
Data StringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource StringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri String - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account StringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size 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).
- create
Option string - This enumerates the possible sources of a disk's creation.
- source
Unique stringId - 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 numberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus 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.
- security
Data stringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource stringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri string - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account stringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size 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).
- create
Option String - This enumerates the possible sources of a disk's creation.
- source
Unique StringId - If this field is set, this is the unique id identifying the source of this resource.
- gallery
Image 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.
- image
Reference Property Map - Disk source information for PIR or user images.
- logical
Sector NumberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- performance
Plus 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.
- security
Data StringUri - If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state.
- source
Resource StringId - If createOption is Copy, this is the ARM id of the source snapshot or disk.
- source
Uri String - If createOption is Import, this is the URI of a blob to be imported into a managed disk.
- storage
Account StringId - Required if createOption is Import. The Azure Resource Manager identifier of the storage account containing the blob to import as a disk.
- upload
Size 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
- Secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- Security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- Secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- Security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk StringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type String - Specifies the SecurityType of the VM. Applicable for OS disks only.
- secure
VMDisk stringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type 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.
- secure
VMDisk StringEncryption Set Id - ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key
- security
Type String - Specifies the SecurityType of the VM. Applicable for OS disks only.
EncryptionResponse
- Disk
Encryption 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 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 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 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.
- disk
Encryption 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.
- Encryption
Settings List<Pulumi.Azure Native. Compute. Inputs. Encryption Settings Element Response> - A collection of encryption settings, one for each disk volume.
- Encryption
Settings 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 []EncryptionSettings Element Response - A collection of encryption settings, one for each disk volume.
- Encryption
Settings 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.
- encryption
Settings List<EncryptionSettings Element Response> - A collection of encryption settings, one for each disk volume.
- encryption
Settings 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.
- encryption
Settings EncryptionSettings Element Response[] - A collection of encryption settings, one for each disk volume.
- encryption
Settings 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.
- encryption
Settings List<Property Map> - A collection of encryption settings, one for each disk volume.
- encryption
Settings 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
- Disk
Encryption Pulumi.Key Azure Native. Compute. Inputs. Key Vault And Secret Reference Response - Key Vault Secret Url and vault id of the disk encryption key
- Key
Encryption 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.
- 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.
- 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.
- 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.
- 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.
- disk
Encryption Property MapKey - Key Vault Secret Url and vault id of the disk encryption key
- key
Encryption 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
- Community
Gallery 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.
- Community
Gallery 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.
- community
Gallery 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.
- community
Gallery 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.
- community
Gallery 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
- Key
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Source Vault Response - Resource id of the KeyVault containing the key or secret
- Key
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- key
Url String - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- key
Url string - Url pointing to a key or secret in KeyVault
- source
Vault 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
- key
Url String - Url pointing to a key or secret in KeyVault
- source
Vault Property Map - Resource id of the KeyVault containing the key or secret
KeyVaultAndSecretReferenceResponse
- Secret
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault Pulumi.Azure Native. Compute. Inputs. Source Vault Response - Resource id of the KeyVault containing the key or secret
- Secret
Url string - Url pointing to a key or secret in KeyVault
- Source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- secret
Url String - Url pointing to a key or secret in KeyVault
- source
Vault SourceVault Response - Resource id of the KeyVault containing the key or secret
- secret
Url string - Url pointing to a key or secret in KeyVault
- source
Vault 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
- secret
Url String - Url pointing to a key or secret in KeyVault
- source
Vault 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.
- Promotion
Code 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.
- Promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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
- Accelerated
Network bool - True if the image from which the OS disk is created supports accelerated networking.
- Architecture string
- CPU architecture supported by an OS disk.
- Disk
Controller 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 string
- CPU architecture supported by an OS disk.
- Disk
Controller stringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network Boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture String
- CPU architecture supported by an OS disk.
- disk
Controller StringTypes - The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI.
- accelerated
Network boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture string
- CPU architecture supported by an OS disk.
- disk
Controller 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.
- accelerated
Network Boolean - True if the image from which the OS disk is created supports accelerated networking.
- architecture String
- CPU architecture supported by an OS disk.
- disk
Controller 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi