Sdílet prostřednictvím


ContainerServiceOSDiskType Struct

Definition

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.

public readonly struct ContainerServiceOSDiskType : IEquatable<Azure.ResourceManager.ContainerService.Models.ContainerServiceOSDiskType>
type ContainerServiceOSDiskType = struct
Public Structure ContainerServiceOSDiskType
Implements IEquatable(Of ContainerServiceOSDiskType)
Inheritance
ContainerServiceOSDiskType
Implements

Constructors

ContainerServiceOSDiskType(String)

Initializes a new instance of ContainerServiceOSDiskType.

Properties

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

Equals(ContainerServiceOSDiskType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(ContainerServiceOSDiskType, ContainerServiceOSDiskType)

Determines if two ContainerServiceOSDiskType values are the same.

Implicit(String to ContainerServiceOSDiskType)

Converts a string to a ContainerServiceOSDiskType.

Inequality(ContainerServiceOSDiskType, ContainerServiceOSDiskType)

Determines if two ContainerServiceOSDiskType values are not the same.

Applies to