Class ComputeResourcePolicyGroupPlacementPolicy.Jsii$Proxy

    • Method Detail

      • getAvailabilityDomainCount

        public final Number getAvailabilityDomainCount()
        Description copied from interface: ComputeResourcePolicyGroupPlacementPolicy
        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}

        Specified by:
        getAvailabilityDomainCount in interface ComputeResourcePolicyGroupPlacementPolicy
      • getCollocation

        public final String getCollocation()
        Description copied from interface: ComputeResourcePolicyGroupPlacementPolicy
        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}

        Specified by:
        getCollocation in interface ComputeResourcePolicyGroupPlacementPolicy
      • getVmCount

        public final Number getVmCount()
        Description copied from interface: ComputeResourcePolicyGroupPlacementPolicy
        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}

        Specified by:
        getVmCount in interface ComputeResourcePolicyGroupPlacementPolicy
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object