Show / Hide Table of Contents

Class VirtualMachineStorageOsDiskGetArgs

Inheritance
System.Object
InputArgs
ResourceArgs
VirtualMachineStorageOsDiskGetArgs
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.Inputs
Assembly: Pulumi.Azure.dll
Syntax
public sealed class VirtualMachineStorageOsDiskGetArgs : ResourceArgs

Constructors

View Source

VirtualMachineStorageOsDiskGetArgs()

Declaration
public VirtualMachineStorageOsDiskGetArgs()

Properties

View Source

Caching

Specifies the caching requirements for the OS Disk. Possible values include None, ReadOnly and ReadWrite.

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

CreateOption

Specifies how the OS Disk should be created. Possible values are Attach (managed disks only) and FromImage.

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

DiskSizeGb

Specifies the size of the OS Disk in gigabytes.

Declaration
public Input<int> DiskSizeGb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

ImageUri

Specifies the Image URI in the format publisherName:offer:skus:version. This field can also specify the VHD uri of a custom VM image to clone. When cloning a Custom (Unmanaged) Disk Image the os_type field must be set.

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

ManagedDiskId

Specifies the ID of an existing Managed Disk which should be attached as the OS Disk of this Virtual Machine. If this is set then the create_option must be set to Attach.

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

ManagedDiskType

Specifies the type of Managed Disk which should be created. Possible values are Standard_LRS, StandardSSD_LRS or Premium_LRS.

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

Name

Specifies the name of the OS Disk.

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

OsType

Specifies the Operating System on the OS Disk. Possible values are Linux and Windows.

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

VhdUri

Specifies the URI of the VHD file backing this Unmanaged OS Disk. Changing this forces a new resource to be created.

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

WriteAcceleratorEnabled

Specifies if Write Accelerator is enabled on the disk. This can only be enabled on Premium_LRS managed disks with no caching and M-Series VMs. Defaults to false.

Declaration
public Input<bool> WriteAcceleratorEnabled { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.