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
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Compute.AvailabilitySet_annotations? | annotations | At most 256 KiB in all; never policy input. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
FaultDomainNote | string? | faultDomainNote | What the set can and cannot promise in this location, in words: for example that one host means one fault domain. |
FaultDomainsAvailable | int? | faultDomainsAvailable | How many hosts the location has that can take VMs now (the fault domains there are to spread over). |
FaultDomainsUsed | int? | faultDomainsUsed | How many different hosts those VMs are on (the fault domains in use). |
InstanceCount | int? | instanceCount | How many live VMs name the set. |
Labels | Models.Compute.AvailabilitySet_labels? | labels | At most 64. |
Mode | Models.Compute.AvailabilitySet_mode? | mode | STRICT 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. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
Spread | bool? | spread | True when no two VMs of the set share a host. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateDomainCount | int? | updateDomainCount | How many update domains the set has, 1 to 20; 5 when omitted. Fixed when the set is made. |
UpdateDomainsUsed | int? | updateDomainsUsed | How many update domains hold at least one VM. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |