VirtualMachineConfiguration.OSDisk Property


Gets or sets settings for the operating system disk of the Virtual Machine.

public Microsoft.Azure.Batch.OSDisk OSDisk { get; set; }
member this.OSDisk : Microsoft.Azure.Batch.OSDisk with get, set
Public Property OSDisk As OSDisk

Property Value



This property can be specified only if the Batch account was created with its poolAllocationMode property set to 'UserSubscription'. This property and ImageReference are mutually exclusive and one of the properties must be specified.

Applies to