Class ComputeNodeTemplateServerBinding.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • type

        @Stability(Stable)
        public ComputeNodeTemplateServerBinding.Builder type​(String type)
        Parameters:
        type - Type of server binding policy. If 'RESTART_NODE_ON_ANY_SERVER', nodes using this template will restart on any physical server following a maintenance event. This parameter is required. If 'RESTART_NODE_ON_MINIMAL_SERVER', nodes using this template will restart on the same physical server following a maintenance event, instead of being live migrated to or restarted on a new physical server. This option may be useful if you are using software licenses tied to the underlying server characteristics such as physical sockets or cores, to avoid the need for additional licenses when maintenance occurs. However, VMs on such nodes will experience outages while maintenance is applied. Possible values: ["RESTART_NODE_ON_ANY_SERVER", "RESTART_NODE_ON_MINIMAL_SERVERS"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_node_template#type ComputeNodeTemplate#type}
        Returns:
        this