OSDiskType Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The default is 'Ephemeral' if the VM supports it and has a cache disk larger than the requested OSDiskSizeGB. Otherwise, defaults to 'Managed'. May not be changed after creation. For more information see Ephemeral OS.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSDiskTypeTypeConverter))]
public struct OSDiskType : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSDiskType>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Support.OSDiskTypeTypeConverter))>]
type OSDiskType = struct
interface IArgumentCompleter
Public Structure OSDiskType
Implements IArgumentCompleter, IEquatable(Of OSDiskType)
- Inheritance
-
OSDiskType
- Attributes
- Implements
Fields
Ephemeral |
Ephemeral OS disks are stored only on the host machine, just like a temporary disk. This provides lower read/write latency, along with faster node scaling and cluster upgrades. |
Managed |
Azure replicates the operating system disk for a virtual machine to Azure storage to avoid data loss should the VM need to be relocated to another host. Since containers aren't designed to have local state persisted, this behavior offers limited value while providing some drawbacks, including slower node provisioning and higher read/write latency. |
Methods
CompleteArgument(String, String, String, CommandAst, IDictionary) |
Implementations of this function are called by PowerShell to complete arguments. |
Equals(Object) |
Compares values of enum type OSDiskType (override for Object) |
Equals(OSDiskType) |
Compares values of enum type OSDiskType |
GetHashCode() |
Returns hashCode for enum OSDiskType |
ToString() |
Returns string representation for OSDiskType |
Operators
Equality(OSDiskType, OSDiskType) |
Overriding == operator for enum OSDiskType |
Implicit(OSDiskType to String) |
Implicit operator to convert OSDiskType to string |
Implicit(String to OSDiskType) |
Implicit operator to convert string to OSDiskType |
Inequality(OSDiskType, OSDiskType) |
Overriding != operator for enum OSDiskType |