SDK reference / Models / Compute

AvailabilitySet

Kind: class

Namespace: Egulu.Sdk.Models.Compute

An availability set (ADR-0494). A fault domain is a host (a cluster member of the cell): a set places each VM that names it on a host that holdsnone of the set's other VMs, as far as the location has hosts. An update domain is a number from 0 to updateDomainCount - 1 the platform giveseach VM when it is placed (the least used first). When a host is emptied for maintenance, the VMs of a set on it are restarted one update domainat a time, 30 minutes apart, and a VM of the set is never offered a maintenance start before the update domain before it. A location with asingle host has a single fault domain: every VM of the set shares it, and faultDomainNote says so.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Compute.AvailabilitySet_annotations?annotationsAt most 256 KiB in all; never policy input.
CreateTimeDateTimeOffset?createTimeThe createTime property
DeleteTimeDateTimeOffset?deleteTimeThe deleteTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
FaultDomainNotestring?faultDomainNoteWhat the set can and cannot promise in this location, in words: for example that one host means one fault domain.
FaultDomainsAvailableint?faultDomainsAvailableHow many hosts the location has that can take VMs now (the fault domains there are to spread over).
FaultDomainsUsedint?faultDomainsUsedHow many different hosts those VMs are on (the fault domains in use).
InstanceCountint?instanceCountHow many live VMs name the set.
LabelsModels.Compute.AvailabilitySet_labels?labelsAt most 64.
ModeModels.Compute.AvailabilitySet_mode?modeSTRICT refuses a VM that cannot be placed on a host of its own (capacity-exhausted); BEST_EFFORT places it on a shared host and the set shows as not spread. BEST_EFFORT when omitted.
Namestring?nameThe resource name, for example projects/p/locations/l/instances/i.
PurgeTimeDateTimeOffset?purgeTimeThe purgeTime property
Reconcilingbool?reconcilingTrue while the platform works toward the spec.
Spreadbool?spreadTrue when no two VMs of the set share a host.
Uidstring?uidUUIDv7, never reused.
UpdateDomainCountint?updateDomainCountHow many update domains the set has, 1 to 20; 5 when omitted. Fixed when the set is made.
UpdateDomainsUsedint?updateDomainsUsedHow many update domains hold at least one VM.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property