SDK reference / Models / Compute

PlacementPolicy

Kind: class

Namespace: Egulu.Sdk.Models.Compute

A placement policy.

Properties

NameTypeJSON nameDescription
AnnotationsModels.Compute.PlacementPolicy_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.
InstanceCountint?instanceCountHow many instances name the policy.
LabelsModels.Compute.PlacementPolicy_labels?labelsAt most 64.
MemberCountint?memberCountHow many different members they run on.
ModeModels.Compute.PlacementPolicy_mode?modeSTRICT refuses a placement that would break the policy; BEST_EFFORT places it and the policy shows as not satisfied.
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.
Satisfiedbool?satisfiedTrue when every instance of the policy is on a member of its own.
StrategyModels.Compute.PlacementPolicy_strategy?strategySPREAD: no two instances of the policy on one member.
Uidstring?uidUUIDv7, never reused.
UpdateTimeDateTimeOffset?updateTimeThe updateTime property