SDK reference / Models / Compute
PlacementPolicy
Kind: class
Namespace: Egulu.Sdk.Models.Compute
A placement policy.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Compute.PlacementPolicy_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. |
InstanceCount | int? | instanceCount | How many instances name the policy. |
Labels | Models.Compute.PlacementPolicy_labels? | labels | At most 64. |
MemberCount | int? | memberCount | How many different members they run on. |
Mode | Models.Compute.PlacementPolicy_mode? | mode | STRICT refuses a placement that would break the policy; BEST_EFFORT places it and the policy shows as not satisfied. |
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. |
Satisfied | bool? | satisfied | True when every instance of the policy is on a member of its own. |
Strategy | Models.Compute.PlacementPolicy_strategy? | strategy | SPREAD: no two instances of the policy on one member. |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |