Interface ComputeResourcePolicyGroupPlacementPolicy
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeResourcePolicyGroupPlacementPolicy.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.915Z") @Stability(Stable) public interface ComputeResourcePolicyGroupPlacementPolicy extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeResourcePolicyGroupPlacementPolicy.BuilderA builder forComputeResourcePolicyGroupPlacementPolicystatic classComputeResourcePolicyGroupPlacementPolicy.Jsii$ProxyAn implementation forComputeResourcePolicyGroupPlacementPolicy
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeResourcePolicyGroupPlacementPolicy.Builderbuilder()default NumbergetAvailabilityDomainCount()The number of availability domains instances will be spread across.default StringgetCollocation()Collocation specifies whether to place VMs inside the same availability domain on the same low-latency network.default NumbergetVmCount()Number of VMs in this placement group.
-
-
-
Method Detail
-
getAvailabilityDomainCount
@Stability(Stable) @Nullable default Number getAvailabilityDomainCount()
The number of availability domains instances will be spread across.If two instances are in different availability domain, they will not be put in the same low latency network Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#availability_domain_count ComputeResourcePolicy#availability_domain_count}
-
getCollocation
@Stability(Stable) @Nullable default String getCollocation()
Collocation specifies whether to place VMs inside the same availability domain on the same low-latency network.Specify 'COLLOCATED' to enable collocation. Can only be specified with 'vm_count'. If compute instances are created with a COLLOCATED policy, then exactly 'vm_count' instances must be created at the same time with the resource policy attached. Possible values: ["COLLOCATED"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#collocation ComputeResourcePolicy#collocation}
-
getVmCount
@Stability(Stable) @Nullable default Number getVmCount()
Number of VMs in this placement group.Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_resource_policy#vm_count ComputeResourcePolicy#vm_count}
-
builder
@Stability(Stable) static ComputeResourcePolicyGroupPlacementPolicy.Builder builder()
-
-