Class ComputeScheduling
Scheduling information for VM on maintenance/restart behaviour and node allocation in sole tenant nodes. Options for instance behavior when the host machine undergoes maintenance that may temporarily impact instance performance.
Implements
Inherited Members
Namespace: Google.Apis.VMMigrationService.v1.Data
Assembly: Google.Apis.VMMigrationService.v1.dll
Syntax
public class ComputeScheduling : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MinNodeCpus
The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. Ignored if no node_affinites are configured.
Declaration
[JsonProperty("minNodeCpus")]
public virtual int? MinNodeCpus { get; set; }
Property Value
Type | Description |
---|---|
int? |
NodeAffinities
A set of node affinity and anti-affinity configurations for sole tenant nodes.
Declaration
[JsonProperty("nodeAffinities")]
public virtual IList<SchedulingNodeAffinity> NodeAffinities { get; set; }
Property Value
Type | Description |
---|---|
IList<SchedulingNodeAffinity> |
OnHostMaintenance
How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.
Declaration
[JsonProperty("onHostMaintenance")]
public virtual string OnHostMaintenance { get; set; }
Property Value
Type | Description |
---|---|
string |
RestartType
Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not
terminated by user). This configuration is identical to automaticRestart
field in Compute Engine create
instance under scheduling. It was changed to an enum (instead of a boolean) to match the default value in
Compute Engine which is automatic restart.
Declaration
[JsonProperty("restartType")]
public virtual string RestartType { get; set; }
Property Value
Type | Description |
---|---|
string |