Class ManagedDiskArgs
Inherited Members
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public sealed class ManagedDiskArgs : ResourceArgs
Constructors
View SourceManagedDiskArgs()
Declaration
public ManagedDiskArgs()
Properties
View SourceCreateOption
The method to use when creating the managed disk. Changing this forces a new resource to be created. Possible values include:
Declaration
public Input<string> CreateOption { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DiskEncryptionSetId
The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk.
Declaration
public Input<string> DiskEncryptionSetId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
DiskIopsReadWrite
The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
Declaration
public Input<int> DiskIopsReadWrite { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
DiskMbpsReadWrite
The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
Declaration
public Input<int> DiskMbpsReadWrite { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
DiskSizeGb
Specifies the size of the managed disk to create in gigabytes. If create_option is Copy or FromImage, then the value must be equal to or greater than the source's size. The size can only be increased.
Declaration
public Input<int> DiskSizeGb { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
EncryptionSettings
A encryption_settings block as defined below.
Declaration
public Input<ManagedDiskEncryptionSettingsArgs> EncryptionSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<ManagedDiskEncryptionSettingsArgs> |
ImageReferenceId
ID of an existing platform/marketplace disk image to copy when create_option is FromImage.
Declaration
public Input<string> ImageReferenceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Location
Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.
Declaration
public Input<string> Location { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Name
Specifies the name of the Managed Disk. Changing this forces a new resource to be created.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
OsType
Specify a value when the source of an Import or Copy operation targets a source that contains an operating system. Valid values are Linux or Windows.
Declaration
public Input<string> OsType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ResourceGroupName
The name of the Resource Group where the Managed Disk should exist.
Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceResourceId
The ID of an existing Managed Disk to copy create_option is Copy or the recovery point to restore when create_option is Restore
Declaration
public Input<string> SourceResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
SourceUri
URI to a valid VHD file to be used when create_option is Import.
Declaration
public Input<string> SourceUri { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageAccountId
The ID of the Storage Account where the source_uri is located. Required when create_option is set to Import. Changing this forces a new resource to be created.
Declaration
public Input<string> StorageAccountId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
StorageAccountType
The type of storage to use for the managed disk. Possible values are Standard_LRS, Premium_LRS, StandardSSD_LRS or UltraSSD_LRS.
Declaration
public Input<string> StorageAccountType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public InputMap<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
Zones
A collection containing the availability zone to allocate the Managed Disk in.
Declaration
public Input<string> Zones { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |