Show / Hide Table of Contents

Class ManagedDiskState

Inheritance
System.Object
InputArgs
ResourceArgs
ManagedDiskState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public sealed class ManagedDiskState : ResourceArgs

Constructors

View Source

ManagedDiskState()

Declaration
public ManagedDiskState()

Properties

View Source

CreateOption

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

EncryptionSettings

A encryption_settings block as defined below.

Declaration
public Input<ManagedDiskEncryptionSettingsGetArgs> EncryptionSettings { get; set; }
Property Value
Type Description
Input<ManagedDiskEncryptionSettingsGetArgs>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

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>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public InputMap<string> Tags { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

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>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.