These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.compute.getDisk
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets information about a disk. API Version: 2020-12-01.
Using getDisk
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 getDisk(args: GetDiskArgs, opts?: InvokeOptions): Promise<GetDiskResult>
function getDiskOutput(args: GetDiskOutputArgs, opts?: InvokeOptions): Output<GetDiskResult>
def get_disk(disk_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDiskResult
def get_disk_output(disk_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDiskResult]
func LookupDisk(ctx *Context, args *LookupDiskArgs, opts ...InvokeOption) (*LookupDiskResult, error)
func LookupDiskOutput(ctx *Context, args *LookupDiskOutputArgs, opts ...InvokeOption) LookupDiskResultOutput
> Note: This function is named LookupDisk
in the Go SDK.
public static class GetDisk
{
public static Task<GetDiskResult> InvokeAsync(GetDiskArgs args, InvokeOptions? opts = null)
public static Output<GetDiskResult> Invoke(GetDiskInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDiskResult> getDisk(GetDiskArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:compute:getDisk
arguments:
# arguments dictionary
The following arguments are supported:
- Disk
Name string - The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
- Resource
Group stringName - The name of the resource group.
- Disk
Name string - The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
- Resource
Group stringName - The name of the resource group.
- disk
Name String - The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
- resource
Group StringName - The name of the resource group.
- disk
Name string - The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
- resource
Group stringName - The name of the resource group.
- disk_
name str - The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
- resource_
group_ strname - The name of the resource group.
- disk
Name String - The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters.
- resource
Group StringName - The name of the resource group.
getDisk 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 disk.
- Id string
- Resource Id
- Location string
- Resource location
- Managed
By string - A relative URI containing the ID of the VM that has the disk attached.
- Managed
By List<string>Extended - List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- Name string
- Resource name
- Property
Updates Pulumi.In Progress Azure Native. Compute. Outputs. Property Updates In Progress Response - Properties of the disk for which update is pending.
- Provisioning
State string - The disk provisioning state.
- List<Pulumi.
Azure Native. Compute. Outputs. Share Info Element Response> - Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- Time
Created string - The time when the disk was created.
- Type string
- Resource type
- Unique
Id string - Unique Guid identifying the resource.
- Bursting
Enabled bool - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
- Disk
Access stringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- Disk
IOPSRead doubleOnly - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
- Disk
IOPSRead doubleWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- Disk
MBps doubleRead Only - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- Disk
MBps doubleRead Write - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- 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 for 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 disk will be created. Extended location cannot be changed.
- Hyper
VGeneration string - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- int
- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
- Network
Access stringPolicy - Policy for accessing the disk via network.
- Os
Type string - The Operating System type.
- Purchase
Plan Pulumi.Azure Native. Compute. Outputs. Purchase Plan Response - Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
- 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. Disk Sku Response - The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.
- Supports
Hibernation bool - Indicates the OS on a disk supports hibernation.
- Dictionary<string, string>
- Resource tags
- Tier string
- Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
- Zones List<string>
- The Logical zone list for Disk.
- 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 disk.
- Id string
- Resource Id
- Location string
- Resource location
- Managed
By string - A relative URI containing the ID of the VM that has the disk attached.
- Managed
By []stringExtended - List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- Name string
- Resource name
- Property
Updates PropertyIn Progress Updates In Progress Response - Properties of the disk for which update is pending.
- Provisioning
State string - The disk provisioning state.
- []Share
Info Element Response - Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- Time
Created string - The time when the disk was created.
- Type string
- Resource type
- Unique
Id string - Unique Guid identifying the resource.
- Bursting
Enabled bool - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
- Disk
Access stringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- Disk
IOPSRead float64Only - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
- Disk
IOPSRead float64Write - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- Disk
MBps float64Read Only - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- Disk
MBps float64Read Write - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- 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 for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- Extended
Location ExtendedLocation Response - The extended location where the disk will be created. Extended location cannot be changed.
- Hyper
VGeneration string - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- int
- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
- Network
Access stringPolicy - Policy for accessing the disk via network.
- Os
Type string - The Operating System type.
- Purchase
Plan PurchasePlan Response - Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
- Security
Profile DiskSecurity Profile Response - Contains the security related information for the resource.
- Sku
Disk
Sku Response - The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.
- Supports
Hibernation bool - Indicates the OS on a disk supports hibernation.
- map[string]string
- Resource tags
- Tier string
- Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
- Zones []string
- The Logical zone list for Disk.
- 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 disk.
- id String
- Resource Id
- location String
- Resource location
- managed
By String - A relative URI containing the ID of the VM that has the disk attached.
- managed
By List<String>Extended - List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- name String
- Resource name
- property
Updates PropertyIn Progress Updates In Progress Response - Properties of the disk for which update is pending.
- provisioning
State String - The disk provisioning state.
- List<Share
Info Element Response> - Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- time
Created String - The time when the disk was created.
- type String
- Resource type
- unique
Id String - Unique Guid identifying the resource.
- bursting
Enabled Boolean - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
- disk
Access StringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
IOPSRead DoubleOnly - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
- disk
IOPSRead DoubleWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk
MBps DoubleRead Only - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- disk
MBps DoubleRead Write - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- 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 for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended
Location ExtendedLocation Response - The extended location where the disk will be created. Extended location cannot be changed.
- hyper
VGeneration String - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Integer
- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
- network
Access StringPolicy - Policy for accessing the disk via network.
- os
Type String - The Operating System type.
- purchase
Plan PurchasePlan Response - Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
- security
Profile DiskSecurity Profile Response - Contains the security related information for the resource.
- sku
Disk
Sku Response - The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.
- supports
Hibernation Boolean - Indicates the OS on a disk supports hibernation.
- Map<String,String>
- Resource tags
- tier String
- Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
- zones List<String>
- The Logical zone list for Disk.
- 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 disk.
- id string
- Resource Id
- location string
- Resource location
- managed
By string - A relative URI containing the ID of the VM that has the disk attached.
- managed
By string[]Extended - List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- name string
- Resource name
- property
Updates PropertyIn Progress Updates In Progress Response - Properties of the disk for which update is pending.
- provisioning
State string - The disk provisioning state.
- Share
Info Element Response[] - Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- time
Created string - The time when the disk was created.
- type string
- Resource type
- unique
Id string - Unique Guid identifying the resource.
- bursting
Enabled boolean - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
- disk
Access stringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
IOPSRead numberOnly - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
- disk
IOPSRead numberWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk
MBps numberRead Only - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- disk
MBps numberRead Write - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- 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 for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended
Location ExtendedLocation Response - The extended location where the disk will be created. Extended location cannot be changed.
- hyper
VGeneration string - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- number
- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
- network
Access stringPolicy - Policy for accessing the disk via network.
- os
Type string - The Operating System type.
- purchase
Plan PurchasePlan Response - Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
- security
Profile DiskSecurity Profile Response - Contains the security related information for the resource.
- sku
Disk
Sku Response - The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.
- supports
Hibernation boolean - Indicates the OS on a disk supports hibernation.
- {[key: string]: string}
- Resource tags
- tier string
- Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
- zones string[]
- The Logical zone list for Disk.
- 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 disk.
- id str
- Resource Id
- location str
- Resource location
- managed_
by str - A relative URI containing the ID of the VM that has the disk attached.
- managed_
by_ Sequence[str]extended - List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- name str
- Resource name
- property_
updates_ Propertyin_ progress Updates In Progress Response - Properties of the disk for which update is pending.
- provisioning_
state str - The disk provisioning state.
- Sequence[Share
Info Element Response] - Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- time_
created str - The time when the disk was created.
- type str
- Resource type
- unique_
id str - Unique Guid identifying the resource.
- bursting_
enabled bool - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
- disk_
access_ strid - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk_
iops_ floatread_ only - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
- disk_
iops_ floatread_ write - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk_
m_ floatbps_ read_ only - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- disk_
m_ floatbps_ read_ write - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- 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 for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended_
location ExtendedLocation Response - The extended location where the disk will be created. Extended location cannot be changed.
- hyper_
v_ strgeneration - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- int
- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
- network_
access_ strpolicy - Policy for accessing the disk via network.
- os_
type str - The Operating System type.
- purchase_
plan PurchasePlan Response - Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
- security_
profile DiskSecurity Profile Response - Contains the security related information for the resource.
- sku
Disk
Sku Response - The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.
- supports_
hibernation bool - Indicates the OS on a disk supports hibernation.
- Mapping[str, str]
- Resource tags
- tier str
- Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
- zones Sequence[str]
- The Logical zone list for Disk.
- 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 disk.
- id String
- Resource Id
- location String
- Resource location
- managed
By String - A relative URI containing the ID of the VM that has the disk attached.
- managed
By List<String>Extended - List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- name String
- Resource name
- property
Updates Property MapIn Progress - Properties of the disk for which update is pending.
- provisioning
State String - The disk provisioning state.
- List<Property Map>
- Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs.
- time
Created String - The time when the disk was created.
- type String
- Resource type
- unique
Id String - Unique Guid identifying the resource.
- bursting
Enabled Boolean - Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks.
- disk
Access StringId - ARM id of the DiskAccess resource for using private endpoints on disks.
- disk
IOPSRead NumberOnly - The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes.
- disk
IOPSRead NumberWrite - The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
- disk
MBps NumberRead Only - The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- disk
MBps NumberRead Write - The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10.
- 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 for Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.
- extended
Location Property Map - The extended location where the disk will be created. Extended location cannot be changed.
- hyper
VGeneration String - The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
- Number
- The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time.
- network
Access StringPolicy - Policy for accessing the disk via network.
- os
Type String - The Operating System type.
- purchase
Plan Property Map - Purchase plan information for the the image from which the OS disk was created. E.g. - {name: 2019-Datacenter, publisher: MicrosoftWindowsServer, product: WindowsServer}
- security
Profile Property Map - Contains the security related information for the resource.
- sku Property Map
- The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, or StandardSSD_ZRS.
- supports
Hibernation Boolean - Indicates the OS on a disk supports hibernation.
- Map<String>
- Resource tags
- tier String
- Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks.
- zones List<String>
- The Logical zone list for Disk.
Supporting Types
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 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.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- Logical
Sector intSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector IntegerSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector numberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical_
sector_ intsize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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 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.
- logical
Sector NumberSize - Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default.
- 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
- Security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- Security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- security
Type String - Specifies the SecurityType of the VM. Applicable for OS disks only.
- security
Type string - Specifies the SecurityType of the VM. Applicable for OS disks only.
- security_
type str - Specifies the SecurityType of the VM. Applicable for OS disks only.
- security
Type String - Specifies the SecurityType of the VM. Applicable for OS disks only.
DiskSkuResponse
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
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
PropertyUpdatesInProgressResponse
- Target
Tier string - The target performance tier of the disk if a tier change operation is in progress.
- Target
Tier string - The target performance tier of the disk if a tier change operation is in progress.
- target
Tier String - The target performance tier of the disk if a tier change operation is in progress.
- target
Tier string - The target performance tier of the disk if a tier change operation is in progress.
- target_
tier str - The target performance tier of the disk if a tier change operation is in progress.
- target
Tier String - The target performance tier of the disk if a tier change operation is in progress.
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.
ShareInfoElementResponse
- Vm
Uri string - A relative URI containing the ID of the VM that has the disk attached.
- Vm
Uri string - A relative URI containing the ID of the VM that has the disk attached.
- vm
Uri String - A relative URI containing the ID of the VM that has the disk attached.
- vm
Uri string - A relative URI containing the ID of the VM that has the disk attached.
- vm_
uri str - A relative URI containing the ID of the VM that has the disk attached.
- vm
Uri String - A relative URI containing the ID of the VM that has the disk attached.
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
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi