gcp.vmwareengine.Cluster
Explore with Pulumi AI
A cluster in a private cloud.
To get more information about Cluster, see:
Example Usage
Vmware Engine Cluster Basic
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const cluster_nw = new gcp.vmwareengine.Network("cluster-nw", {
    name: "pc-nw",
    type: "STANDARD",
    location: "global",
    description: "PC network description.",
});
const cluster_pc = new gcp.vmwareengine.PrivateCloud("cluster-pc", {
    location: "us-west1-a",
    name: "sample-pc",
    description: "Sample test PC.",
    networkConfig: {
        managementCidr: "192.168.30.0/24",
        vmwareEngineNetwork: cluster_nw.id,
    },
    managementCluster: {
        clusterId: "sample-mgmt-cluster",
        nodeTypeConfigs: [{
            nodeTypeId: "standard-72",
            nodeCount: 3,
        }],
    },
});
const vmw_engine_ext_cluster = new gcp.vmwareengine.Cluster("vmw-engine-ext-cluster", {
    name: "ext-cluster",
    parent: cluster_pc.id,
    nodeTypeConfigs: [{
        nodeTypeId: "standard-72",
        nodeCount: 3,
    }],
});
import pulumi
import pulumi_gcp as gcp
cluster_nw = gcp.vmwareengine.Network("cluster-nw",
    name="pc-nw",
    type="STANDARD",
    location="global",
    description="PC network description.")
cluster_pc = gcp.vmwareengine.PrivateCloud("cluster-pc",
    location="us-west1-a",
    name="sample-pc",
    description="Sample test PC.",
    network_config={
        "management_cidr": "192.168.30.0/24",
        "vmware_engine_network": cluster_nw.id,
    },
    management_cluster={
        "cluster_id": "sample-mgmt-cluster",
        "node_type_configs": [{
            "node_type_id": "standard-72",
            "node_count": 3,
        }],
    })
vmw_engine_ext_cluster = gcp.vmwareengine.Cluster("vmw-engine-ext-cluster",
    name="ext-cluster",
    parent=cluster_pc.id,
    node_type_configs=[{
        "node_type_id": "standard-72",
        "node_count": 3,
    }])
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/vmwareengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cluster_nw, err := vmwareengine.NewNetwork(ctx, "cluster-nw", &vmwareengine.NetworkArgs{
			Name:        pulumi.String("pc-nw"),
			Type:        pulumi.String("STANDARD"),
			Location:    pulumi.String("global"),
			Description: pulumi.String("PC network description."),
		})
		if err != nil {
			return err
		}
		cluster_pc, err := vmwareengine.NewPrivateCloud(ctx, "cluster-pc", &vmwareengine.PrivateCloudArgs{
			Location:    pulumi.String("us-west1-a"),
			Name:        pulumi.String("sample-pc"),
			Description: pulumi.String("Sample test PC."),
			NetworkConfig: &vmwareengine.PrivateCloudNetworkConfigArgs{
				ManagementCidr:      pulumi.String("192.168.30.0/24"),
				VmwareEngineNetwork: cluster_nw.ID(),
			},
			ManagementCluster: &vmwareengine.PrivateCloudManagementClusterArgs{
				ClusterId: pulumi.String("sample-mgmt-cluster"),
				NodeTypeConfigs: vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArray{
					&vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArgs{
						NodeTypeId: pulumi.String("standard-72"),
						NodeCount:  pulumi.Int(3),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = vmwareengine.NewCluster(ctx, "vmw-engine-ext-cluster", &vmwareengine.ClusterArgs{
			Name:   pulumi.String("ext-cluster"),
			Parent: cluster_pc.ID(),
			NodeTypeConfigs: vmwareengine.ClusterNodeTypeConfigArray{
				&vmwareengine.ClusterNodeTypeConfigArgs{
					NodeTypeId: pulumi.String("standard-72"),
					NodeCount:  pulumi.Int(3),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var cluster_nw = new Gcp.VMwareEngine.Network("cluster-nw", new()
    {
        Name = "pc-nw",
        Type = "STANDARD",
        Location = "global",
        Description = "PC network description.",
    });
    var cluster_pc = new Gcp.VMwareEngine.PrivateCloud("cluster-pc", new()
    {
        Location = "us-west1-a",
        Name = "sample-pc",
        Description = "Sample test PC.",
        NetworkConfig = new Gcp.VMwareEngine.Inputs.PrivateCloudNetworkConfigArgs
        {
            ManagementCidr = "192.168.30.0/24",
            VmwareEngineNetwork = cluster_nw.Id,
        },
        ManagementCluster = new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterArgs
        {
            ClusterId = "sample-mgmt-cluster",
            NodeTypeConfigs = new[]
            {
                new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterNodeTypeConfigArgs
                {
                    NodeTypeId = "standard-72",
                    NodeCount = 3,
                },
            },
        },
    });
    var vmw_engine_ext_cluster = new Gcp.VMwareEngine.Cluster("vmw-engine-ext-cluster", new()
    {
        Name = "ext-cluster",
        Parent = cluster_pc.Id,
        NodeTypeConfigs = new[]
        {
            new Gcp.VMwareEngine.Inputs.ClusterNodeTypeConfigArgs
            {
                NodeTypeId = "standard-72",
                NodeCount = 3,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vmwareengine.Network;
import com.pulumi.gcp.vmwareengine.NetworkArgs;
import com.pulumi.gcp.vmwareengine.PrivateCloud;
import com.pulumi.gcp.vmwareengine.PrivateCloudArgs;
import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudNetworkConfigArgs;
import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterArgs;
import com.pulumi.gcp.vmwareengine.Cluster;
import com.pulumi.gcp.vmwareengine.ClusterArgs;
import com.pulumi.gcp.vmwareengine.inputs.ClusterNodeTypeConfigArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var cluster_nw = new Network("cluster-nw", NetworkArgs.builder()
            .name("pc-nw")
            .type("STANDARD")
            .location("global")
            .description("PC network description.")
            .build());
        var cluster_pc = new PrivateCloud("cluster-pc", PrivateCloudArgs.builder()
            .location("us-west1-a")
            .name("sample-pc")
            .description("Sample test PC.")
            .networkConfig(PrivateCloudNetworkConfigArgs.builder()
                .managementCidr("192.168.30.0/24")
                .vmwareEngineNetwork(cluster_nw.id())
                .build())
            .managementCluster(PrivateCloudManagementClusterArgs.builder()
                .clusterId("sample-mgmt-cluster")
                .nodeTypeConfigs(PrivateCloudManagementClusterNodeTypeConfigArgs.builder()
                    .nodeTypeId("standard-72")
                    .nodeCount(3)
                    .build())
                .build())
            .build());
        var vmw_engine_ext_cluster = new Cluster("vmw-engine-ext-cluster", ClusterArgs.builder()
            .name("ext-cluster")
            .parent(cluster_pc.id())
            .nodeTypeConfigs(ClusterNodeTypeConfigArgs.builder()
                .nodeTypeId("standard-72")
                .nodeCount(3)
                .build())
            .build());
    }
}
resources:
  vmw-engine-ext-cluster:
    type: gcp:vmwareengine:Cluster
    properties:
      name: ext-cluster
      parent: ${["cluster-pc"].id}
      nodeTypeConfigs:
        - nodeTypeId: standard-72
          nodeCount: 3
  cluster-pc:
    type: gcp:vmwareengine:PrivateCloud
    properties:
      location: us-west1-a
      name: sample-pc
      description: Sample test PC.
      networkConfig:
        managementCidr: 192.168.30.0/24
        vmwareEngineNetwork: ${["cluster-nw"].id}
      managementCluster:
        clusterId: sample-mgmt-cluster
        nodeTypeConfigs:
          - nodeTypeId: standard-72
            nodeCount: 3
  cluster-nw:
    type: gcp:vmwareengine:Network
    properties:
      name: pc-nw
      type: STANDARD
      location: global
      description: PC network description.
Vmware Engine Cluster Full
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const cluster_nw = new gcp.vmwareengine.Network("cluster-nw", {
    name: "pc-nw",
    type: "STANDARD",
    location: "global",
    description: "PC network description.",
});
const cluster_pc = new gcp.vmwareengine.PrivateCloud("cluster-pc", {
    location: "us-west1-a",
    name: "sample-pc",
    description: "Sample test PC.",
    networkConfig: {
        managementCidr: "192.168.30.0/24",
        vmwareEngineNetwork: cluster_nw.id,
    },
    managementCluster: {
        clusterId: "sample-mgmt-cluster",
        nodeTypeConfigs: [{
            nodeTypeId: "standard-72",
            nodeCount: 3,
            customCoreCount: 32,
        }],
    },
});
const vmw_ext_cluster = new gcp.vmwareengine.Cluster("vmw-ext-cluster", {
    name: "ext-cluster",
    parent: cluster_pc.id,
    nodeTypeConfigs: [{
        nodeTypeId: "standard-72",
        nodeCount: 3,
        customCoreCount: 32,
    }],
    autoscalingSettings: {
        autoscalingPolicies: [{
            autoscalePolicyId: "autoscaling-policy",
            nodeTypeId: "standard-72",
            scaleOutSize: 1,
            cpuThresholds: {
                scaleOut: 80,
                scaleIn: 15,
            },
            consumedMemoryThresholds: {
                scaleOut: 75,
                scaleIn: 20,
            },
            storageThresholds: {
                scaleOut: 80,
                scaleIn: 20,
            },
        }],
        minClusterNodeCount: 3,
        maxClusterNodeCount: 8,
        coolDownPeriod: "1800s",
    },
});
import pulumi
import pulumi_gcp as gcp
cluster_nw = gcp.vmwareengine.Network("cluster-nw",
    name="pc-nw",
    type="STANDARD",
    location="global",
    description="PC network description.")
cluster_pc = gcp.vmwareengine.PrivateCloud("cluster-pc",
    location="us-west1-a",
    name="sample-pc",
    description="Sample test PC.",
    network_config={
        "management_cidr": "192.168.30.0/24",
        "vmware_engine_network": cluster_nw.id,
    },
    management_cluster={
        "cluster_id": "sample-mgmt-cluster",
        "node_type_configs": [{
            "node_type_id": "standard-72",
            "node_count": 3,
            "custom_core_count": 32,
        }],
    })
vmw_ext_cluster = gcp.vmwareengine.Cluster("vmw-ext-cluster",
    name="ext-cluster",
    parent=cluster_pc.id,
    node_type_configs=[{
        "node_type_id": "standard-72",
        "node_count": 3,
        "custom_core_count": 32,
    }],
    autoscaling_settings={
        "autoscaling_policies": [{
            "autoscale_policy_id": "autoscaling-policy",
            "node_type_id": "standard-72",
            "scale_out_size": 1,
            "cpu_thresholds": {
                "scale_out": 80,
                "scale_in": 15,
            },
            "consumed_memory_thresholds": {
                "scale_out": 75,
                "scale_in": 20,
            },
            "storage_thresholds": {
                "scale_out": 80,
                "scale_in": 20,
            },
        }],
        "min_cluster_node_count": 3,
        "max_cluster_node_count": 8,
        "cool_down_period": "1800s",
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/vmwareengine"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cluster_nw, err := vmwareengine.NewNetwork(ctx, "cluster-nw", &vmwareengine.NetworkArgs{
			Name:        pulumi.String("pc-nw"),
			Type:        pulumi.String("STANDARD"),
			Location:    pulumi.String("global"),
			Description: pulumi.String("PC network description."),
		})
		if err != nil {
			return err
		}
		cluster_pc, err := vmwareengine.NewPrivateCloud(ctx, "cluster-pc", &vmwareengine.PrivateCloudArgs{
			Location:    pulumi.String("us-west1-a"),
			Name:        pulumi.String("sample-pc"),
			Description: pulumi.String("Sample test PC."),
			NetworkConfig: &vmwareengine.PrivateCloudNetworkConfigArgs{
				ManagementCidr:      pulumi.String("192.168.30.0/24"),
				VmwareEngineNetwork: cluster_nw.ID(),
			},
			ManagementCluster: &vmwareengine.PrivateCloudManagementClusterArgs{
				ClusterId: pulumi.String("sample-mgmt-cluster"),
				NodeTypeConfigs: vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArray{
					&vmwareengine.PrivateCloudManagementClusterNodeTypeConfigArgs{
						NodeTypeId:      pulumi.String("standard-72"),
						NodeCount:       pulumi.Int(3),
						CustomCoreCount: pulumi.Int(32),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = vmwareengine.NewCluster(ctx, "vmw-ext-cluster", &vmwareengine.ClusterArgs{
			Name:   pulumi.String("ext-cluster"),
			Parent: cluster_pc.ID(),
			NodeTypeConfigs: vmwareengine.ClusterNodeTypeConfigArray{
				&vmwareengine.ClusterNodeTypeConfigArgs{
					NodeTypeId:      pulumi.String("standard-72"),
					NodeCount:       pulumi.Int(3),
					CustomCoreCount: pulumi.Int(32),
				},
			},
			AutoscalingSettings: &vmwareengine.ClusterAutoscalingSettingsArgs{
				AutoscalingPolicies: vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyArray{
					&vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyArgs{
						AutoscalePolicyId: pulumi.String("autoscaling-policy"),
						NodeTypeId:        pulumi.String("standard-72"),
						ScaleOutSize:      pulumi.Int(1),
						CpuThresholds: &vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholdsArgs{
							ScaleOut: pulumi.Int(80),
							ScaleIn:  pulumi.Int(15),
						},
						ConsumedMemoryThresholds: &vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholdsArgs{
							ScaleOut: pulumi.Int(75),
							ScaleIn:  pulumi.Int(20),
						},
						StorageThresholds: &vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholdsArgs{
							ScaleOut: pulumi.Int(80),
							ScaleIn:  pulumi.Int(20),
						},
					},
				},
				MinClusterNodeCount: pulumi.Int(3),
				MaxClusterNodeCount: pulumi.Int(8),
				CoolDownPeriod:      pulumi.String("1800s"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var cluster_nw = new Gcp.VMwareEngine.Network("cluster-nw", new()
    {
        Name = "pc-nw",
        Type = "STANDARD",
        Location = "global",
        Description = "PC network description.",
    });
    var cluster_pc = new Gcp.VMwareEngine.PrivateCloud("cluster-pc", new()
    {
        Location = "us-west1-a",
        Name = "sample-pc",
        Description = "Sample test PC.",
        NetworkConfig = new Gcp.VMwareEngine.Inputs.PrivateCloudNetworkConfigArgs
        {
            ManagementCidr = "192.168.30.0/24",
            VmwareEngineNetwork = cluster_nw.Id,
        },
        ManagementCluster = new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterArgs
        {
            ClusterId = "sample-mgmt-cluster",
            NodeTypeConfigs = new[]
            {
                new Gcp.VMwareEngine.Inputs.PrivateCloudManagementClusterNodeTypeConfigArgs
                {
                    NodeTypeId = "standard-72",
                    NodeCount = 3,
                    CustomCoreCount = 32,
                },
            },
        },
    });
    var vmw_ext_cluster = new Gcp.VMwareEngine.Cluster("vmw-ext-cluster", new()
    {
        Name = "ext-cluster",
        Parent = cluster_pc.Id,
        NodeTypeConfigs = new[]
        {
            new Gcp.VMwareEngine.Inputs.ClusterNodeTypeConfigArgs
            {
                NodeTypeId = "standard-72",
                NodeCount = 3,
                CustomCoreCount = 32,
            },
        },
        AutoscalingSettings = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsArgs
        {
            AutoscalingPolicies = new[]
            {
                new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyArgs
                {
                    AutoscalePolicyId = "autoscaling-policy",
                    NodeTypeId = "standard-72",
                    ScaleOutSize = 1,
                    CpuThresholds = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholdsArgs
                    {
                        ScaleOut = 80,
                        ScaleIn = 15,
                    },
                    ConsumedMemoryThresholds = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholdsArgs
                    {
                        ScaleOut = 75,
                        ScaleIn = 20,
                    },
                    StorageThresholds = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholdsArgs
                    {
                        ScaleOut = 80,
                        ScaleIn = 20,
                    },
                },
            },
            MinClusterNodeCount = 3,
            MaxClusterNodeCount = 8,
            CoolDownPeriod = "1800s",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.vmwareengine.Network;
import com.pulumi.gcp.vmwareengine.NetworkArgs;
import com.pulumi.gcp.vmwareengine.PrivateCloud;
import com.pulumi.gcp.vmwareengine.PrivateCloudArgs;
import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudNetworkConfigArgs;
import com.pulumi.gcp.vmwareengine.inputs.PrivateCloudManagementClusterArgs;
import com.pulumi.gcp.vmwareengine.Cluster;
import com.pulumi.gcp.vmwareengine.ClusterArgs;
import com.pulumi.gcp.vmwareengine.inputs.ClusterNodeTypeConfigArgs;
import com.pulumi.gcp.vmwareengine.inputs.ClusterAutoscalingSettingsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var cluster_nw = new Network("cluster-nw", NetworkArgs.builder()
            .name("pc-nw")
            .type("STANDARD")
            .location("global")
            .description("PC network description.")
            .build());
        var cluster_pc = new PrivateCloud("cluster-pc", PrivateCloudArgs.builder()
            .location("us-west1-a")
            .name("sample-pc")
            .description("Sample test PC.")
            .networkConfig(PrivateCloudNetworkConfigArgs.builder()
                .managementCidr("192.168.30.0/24")
                .vmwareEngineNetwork(cluster_nw.id())
                .build())
            .managementCluster(PrivateCloudManagementClusterArgs.builder()
                .clusterId("sample-mgmt-cluster")
                .nodeTypeConfigs(PrivateCloudManagementClusterNodeTypeConfigArgs.builder()
                    .nodeTypeId("standard-72")
                    .nodeCount(3)
                    .customCoreCount(32)
                    .build())
                .build())
            .build());
        var vmw_ext_cluster = new Cluster("vmw-ext-cluster", ClusterArgs.builder()
            .name("ext-cluster")
            .parent(cluster_pc.id())
            .nodeTypeConfigs(ClusterNodeTypeConfigArgs.builder()
                .nodeTypeId("standard-72")
                .nodeCount(3)
                .customCoreCount(32)
                .build())
            .autoscalingSettings(ClusterAutoscalingSettingsArgs.builder()
                .autoscalingPolicies(ClusterAutoscalingSettingsAutoscalingPolicyArgs.builder()
                    .autoscalePolicyId("autoscaling-policy")
                    .nodeTypeId("standard-72")
                    .scaleOutSize(1)
                    .cpuThresholds(ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholdsArgs.builder()
                        .scaleOut(80)
                        .scaleIn(15)
                        .build())
                    .consumedMemoryThresholds(ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholdsArgs.builder()
                        .scaleOut(75)
                        .scaleIn(20)
                        .build())
                    .storageThresholds(ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholdsArgs.builder()
                        .scaleOut(80)
                        .scaleIn(20)
                        .build())
                    .build())
                .minClusterNodeCount(3)
                .maxClusterNodeCount(8)
                .coolDownPeriod("1800s")
                .build())
            .build());
    }
}
resources:
  vmw-ext-cluster:
    type: gcp:vmwareengine:Cluster
    properties:
      name: ext-cluster
      parent: ${["cluster-pc"].id}
      nodeTypeConfigs:
        - nodeTypeId: standard-72
          nodeCount: 3
          customCoreCount: 32
      autoscalingSettings:
        autoscalingPolicies:
          - autoscalePolicyId: autoscaling-policy
            nodeTypeId: standard-72
            scaleOutSize: 1
            cpuThresholds:
              scaleOut: 80
              scaleIn: 15
            consumedMemoryThresholds:
              scaleOut: 75
              scaleIn: 20
            storageThresholds:
              scaleOut: 80
              scaleIn: 20
        minClusterNodeCount: 3
        maxClusterNodeCount: 8
        coolDownPeriod: 1800s
  cluster-pc:
    type: gcp:vmwareengine:PrivateCloud
    properties:
      location: us-west1-a
      name: sample-pc
      description: Sample test PC.
      networkConfig:
        managementCidr: 192.168.30.0/24
        vmwareEngineNetwork: ${["cluster-nw"].id}
      managementCluster:
        clusterId: sample-mgmt-cluster
        nodeTypeConfigs:
          - nodeTypeId: standard-72
            nodeCount: 3
            customCoreCount: 32
  cluster-nw:
    type: gcp:vmwareengine:Network
    properties:
      name: pc-nw
      type: STANDARD
      location: global
      description: PC network description.
Create Cluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Cluster(name: string, args: ClusterArgs, opts?: CustomResourceOptions);@overload
def Cluster(resource_name: str,
            args: ClusterArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Cluster(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            parent: Optional[str] = None,
            autoscaling_settings: Optional[ClusterAutoscalingSettingsArgs] = None,
            name: Optional[str] = None,
            node_type_configs: Optional[Sequence[ClusterNodeTypeConfigArgs]] = None)func NewCluster(ctx *Context, name string, args ClusterArgs, opts ...ResourceOption) (*Cluster, error)public Cluster(string name, ClusterArgs args, CustomResourceOptions? opts = null)
public Cluster(String name, ClusterArgs args)
public Cluster(String name, ClusterArgs args, CustomResourceOptions options)
type: gcp:vmwareengine:Cluster
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampleclusterResourceResourceFromVmwareenginecluster = new Gcp.VMwareEngine.Cluster("exampleclusterResourceResourceFromVmwareenginecluster", new()
{
    Parent = "string",
    AutoscalingSettings = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsArgs
    {
        AutoscalingPolicies = new[]
        {
            new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyArgs
            {
                AutoscalePolicyId = "string",
                NodeTypeId = "string",
                ScaleOutSize = 0,
                ConsumedMemoryThresholds = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholdsArgs
                {
                    ScaleIn = 0,
                    ScaleOut = 0,
                },
                CpuThresholds = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholdsArgs
                {
                    ScaleIn = 0,
                    ScaleOut = 0,
                },
                StorageThresholds = new Gcp.VMwareEngine.Inputs.ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholdsArgs
                {
                    ScaleIn = 0,
                    ScaleOut = 0,
                },
            },
        },
        CoolDownPeriod = "string",
        MaxClusterNodeCount = 0,
        MinClusterNodeCount = 0,
    },
    Name = "string",
    NodeTypeConfigs = new[]
    {
        new Gcp.VMwareEngine.Inputs.ClusterNodeTypeConfigArgs
        {
            NodeCount = 0,
            NodeTypeId = "string",
            CustomCoreCount = 0,
        },
    },
});
example, err := vmwareengine.NewCluster(ctx, "exampleclusterResourceResourceFromVmwareenginecluster", &vmwareengine.ClusterArgs{
	Parent: pulumi.String("string"),
	AutoscalingSettings: &vmwareengine.ClusterAutoscalingSettingsArgs{
		AutoscalingPolicies: vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyArray{
			&vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyArgs{
				AutoscalePolicyId: pulumi.String("string"),
				NodeTypeId:        pulumi.String("string"),
				ScaleOutSize:      pulumi.Int(0),
				ConsumedMemoryThresholds: &vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholdsArgs{
					ScaleIn:  pulumi.Int(0),
					ScaleOut: pulumi.Int(0),
				},
				CpuThresholds: &vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholdsArgs{
					ScaleIn:  pulumi.Int(0),
					ScaleOut: pulumi.Int(0),
				},
				StorageThresholds: &vmwareengine.ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholdsArgs{
					ScaleIn:  pulumi.Int(0),
					ScaleOut: pulumi.Int(0),
				},
			},
		},
		CoolDownPeriod:      pulumi.String("string"),
		MaxClusterNodeCount: pulumi.Int(0),
		MinClusterNodeCount: pulumi.Int(0),
	},
	Name: pulumi.String("string"),
	NodeTypeConfigs: vmwareengine.ClusterNodeTypeConfigArray{
		&vmwareengine.ClusterNodeTypeConfigArgs{
			NodeCount:       pulumi.Int(0),
			NodeTypeId:      pulumi.String("string"),
			CustomCoreCount: pulumi.Int(0),
		},
	},
})
var exampleclusterResourceResourceFromVmwareenginecluster = new Cluster("exampleclusterResourceResourceFromVmwareenginecluster", ClusterArgs.builder()
    .parent("string")
    .autoscalingSettings(ClusterAutoscalingSettingsArgs.builder()
        .autoscalingPolicies(ClusterAutoscalingSettingsAutoscalingPolicyArgs.builder()
            .autoscalePolicyId("string")
            .nodeTypeId("string")
            .scaleOutSize(0)
            .consumedMemoryThresholds(ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholdsArgs.builder()
                .scaleIn(0)
                .scaleOut(0)
                .build())
            .cpuThresholds(ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholdsArgs.builder()
                .scaleIn(0)
                .scaleOut(0)
                .build())
            .storageThresholds(ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholdsArgs.builder()
                .scaleIn(0)
                .scaleOut(0)
                .build())
            .build())
        .coolDownPeriod("string")
        .maxClusterNodeCount(0)
        .minClusterNodeCount(0)
        .build())
    .name("string")
    .nodeTypeConfigs(ClusterNodeTypeConfigArgs.builder()
        .nodeCount(0)
        .nodeTypeId("string")
        .customCoreCount(0)
        .build())
    .build());
examplecluster_resource_resource_from_vmwareenginecluster = gcp.vmwareengine.Cluster("exampleclusterResourceResourceFromVmwareenginecluster",
    parent="string",
    autoscaling_settings={
        "autoscaling_policies": [{
            "autoscale_policy_id": "string",
            "node_type_id": "string",
            "scale_out_size": 0,
            "consumed_memory_thresholds": {
                "scale_in": 0,
                "scale_out": 0,
            },
            "cpu_thresholds": {
                "scale_in": 0,
                "scale_out": 0,
            },
            "storage_thresholds": {
                "scale_in": 0,
                "scale_out": 0,
            },
        }],
        "cool_down_period": "string",
        "max_cluster_node_count": 0,
        "min_cluster_node_count": 0,
    },
    name="string",
    node_type_configs=[{
        "node_count": 0,
        "node_type_id": "string",
        "custom_core_count": 0,
    }])
const exampleclusterResourceResourceFromVmwareenginecluster = new gcp.vmwareengine.Cluster("exampleclusterResourceResourceFromVmwareenginecluster", {
    parent: "string",
    autoscalingSettings: {
        autoscalingPolicies: [{
            autoscalePolicyId: "string",
            nodeTypeId: "string",
            scaleOutSize: 0,
            consumedMemoryThresholds: {
                scaleIn: 0,
                scaleOut: 0,
            },
            cpuThresholds: {
                scaleIn: 0,
                scaleOut: 0,
            },
            storageThresholds: {
                scaleIn: 0,
                scaleOut: 0,
            },
        }],
        coolDownPeriod: "string",
        maxClusterNodeCount: 0,
        minClusterNodeCount: 0,
    },
    name: "string",
    nodeTypeConfigs: [{
        nodeCount: 0,
        nodeTypeId: "string",
        customCoreCount: 0,
    }],
});
type: gcp:vmwareengine:Cluster
properties:
    autoscalingSettings:
        autoscalingPolicies:
            - autoscalePolicyId: string
              consumedMemoryThresholds:
                scaleIn: 0
                scaleOut: 0
              cpuThresholds:
                scaleIn: 0
                scaleOut: 0
              nodeTypeId: string
              scaleOutSize: 0
              storageThresholds:
                scaleIn: 0
                scaleOut: 0
        coolDownPeriod: string
        maxClusterNodeCount: 0
        minClusterNodeCount: 0
    name: string
    nodeTypeConfigs:
        - customCoreCount: 0
          nodeCount: 0
          nodeTypeId: string
    parent: string
Cluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Cluster resource accepts the following input properties:
- Parent string
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- AutoscalingSettings ClusterAutoscaling Settings 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- Name string
- The ID of the Cluster.
- NodeType List<ClusterConfigs Node Type Config> 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- Parent string
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- AutoscalingSettings ClusterAutoscaling Settings Args 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- Name string
- The ID of the Cluster.
- NodeType []ClusterConfigs Node Type Config Args 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent String
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- autoscalingSettings ClusterAutoscaling Settings 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- name String
- The ID of the Cluster.
- nodeType List<ClusterConfigs Node Type Config> 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent string
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- autoscalingSettings ClusterAutoscaling Settings 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- name string
- The ID of the Cluster.
- nodeType ClusterConfigs Node Type Config[] 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent str
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- autoscaling_settings ClusterAutoscaling Settings Args 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- name str
- The ID of the Cluster.
- node_type_ Sequence[Clusterconfigs Node Type Config Args] 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent String
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- autoscalingSettings Property Map
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- name String
- The ID of the Cluster.
- nodeType List<Property Map>Configs 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the Cluster resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Management bool
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- State string
- State of the Cluster.
- Uid string
- System-generated unique identifier for the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Management bool
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- State string
- State of the Cluster.
- Uid string
- System-generated unique identifier for the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- management Boolean
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- state String
- State of the Cluster.
- uid String
- System-generated unique identifier for the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- management boolean
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- state string
- State of the Cluster.
- uid string
- System-generated unique identifier for the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- management bool
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- state str
- State of the Cluster.
- uid str
- System-generated unique identifier for the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- management Boolean
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- state String
- State of the Cluster.
- uid String
- System-generated unique identifier for the resource.
Look up Existing Cluster Resource
Get an existing Cluster resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ClusterState, opts?: CustomResourceOptions): Cluster@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        autoscaling_settings: Optional[ClusterAutoscalingSettingsArgs] = None,
        management: Optional[bool] = None,
        name: Optional[str] = None,
        node_type_configs: Optional[Sequence[ClusterNodeTypeConfigArgs]] = None,
        parent: Optional[str] = None,
        state: Optional[str] = None,
        uid: Optional[str] = None) -> Clusterfunc GetCluster(ctx *Context, name string, id IDInput, state *ClusterState, opts ...ResourceOption) (*Cluster, error)public static Cluster Get(string name, Input<string> id, ClusterState? state, CustomResourceOptions? opts = null)public static Cluster get(String name, Output<String> id, ClusterState state, CustomResourceOptions options)resources:  _:    type: gcp:vmwareengine:Cluster    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AutoscalingSettings ClusterAutoscaling Settings 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- Management bool
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- Name string
- The ID of the Cluster.
- NodeType List<ClusterConfigs Node Type Config> 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- Parent string
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- State string
- State of the Cluster.
- Uid string
- System-generated unique identifier for the resource.
- AutoscalingSettings ClusterAutoscaling Settings Args 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- Management bool
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- Name string
- The ID of the Cluster.
- NodeType []ClusterConfigs Node Type Config Args 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- Parent string
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- State string
- State of the Cluster.
- Uid string
- System-generated unique identifier for the resource.
- autoscalingSettings ClusterAutoscaling Settings 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- management Boolean
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- name String
- The ID of the Cluster.
- nodeType List<ClusterConfigs Node Type Config> 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent String
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- state String
- State of the Cluster.
- uid String
- System-generated unique identifier for the resource.
- autoscalingSettings ClusterAutoscaling Settings 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- management boolean
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- name string
- The ID of the Cluster.
- nodeType ClusterConfigs Node Type Config[] 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent string
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- state string
- State of the Cluster.
- uid string
- System-generated unique identifier for the resource.
- autoscaling_settings ClusterAutoscaling Settings Args 
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- management bool
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- name str
- The ID of the Cluster.
- node_type_ Sequence[Clusterconfigs Node Type Config Args] 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent str
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- state str
- State of the Cluster.
- uid str
- System-generated unique identifier for the resource.
- autoscalingSettings Property Map
- Configuration of the autoscaling applied to this cluster Structure is documented below.
- management Boolean
- True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
- name String
- The ID of the Cluster.
- nodeType List<Property Map>Configs 
- The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType). Structure is documented below.
- parent String
- The resource name of the private cloud to create a new cluster in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
- state String
- State of the Cluster.
- uid String
- System-generated unique identifier for the resource.
Supporting Types
ClusterAutoscalingSettings, ClusterAutoscalingSettingsArgs      
- AutoscalingPolicies List<ClusterAutoscaling Settings Autoscaling Policy> 
- The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5) Currently the map must contain only one element that describes the autoscaling policy for compute nodes. Structure is documented below.
 
- CoolDown stringPeriod 
- The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Minimum cool down period is 30m. Cool down period must be in whole minutes (for example, 30m, 31m, 50m). Mandatory for successful addition of autoscaling settings in cluster.
- MaxCluster intNode Count 
- Maximum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- MinCluster intNode Count 
- Minimum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- AutoscalingPolicies []ClusterAutoscaling Settings Autoscaling Policy 
- The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5) Currently the map must contain only one element that describes the autoscaling policy for compute nodes. Structure is documented below.
 
- CoolDown stringPeriod 
- The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Minimum cool down period is 30m. Cool down period must be in whole minutes (for example, 30m, 31m, 50m). Mandatory for successful addition of autoscaling settings in cluster.
- MaxCluster intNode Count 
- Maximum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- MinCluster intNode Count 
- Minimum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- autoscalingPolicies List<ClusterAutoscaling Settings Autoscaling Policy> 
- The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5) Currently the map must contain only one element that describes the autoscaling policy for compute nodes. Structure is documented below.
 
- coolDown StringPeriod 
- The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Minimum cool down period is 30m. Cool down period must be in whole minutes (for example, 30m, 31m, 50m). Mandatory for successful addition of autoscaling settings in cluster.
- maxCluster IntegerNode Count 
- Maximum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- minCluster IntegerNode Count 
- Minimum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- autoscalingPolicies ClusterAutoscaling Settings Autoscaling Policy[] 
- The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5) Currently the map must contain only one element that describes the autoscaling policy for compute nodes. Structure is documented below.
 
- coolDown stringPeriod 
- The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Minimum cool down period is 30m. Cool down period must be in whole minutes (for example, 30m, 31m, 50m). Mandatory for successful addition of autoscaling settings in cluster.
- maxCluster numberNode Count 
- Maximum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- minCluster numberNode Count 
- Minimum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- autoscaling_policies Sequence[ClusterAutoscaling Settings Autoscaling Policy] 
- The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5) Currently the map must contain only one element that describes the autoscaling policy for compute nodes. Structure is documented below.
 
- cool_down_ strperiod 
- The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Minimum cool down period is 30m. Cool down period must be in whole minutes (for example, 30m, 31m, 50m). Mandatory for successful addition of autoscaling settings in cluster.
- max_cluster_ intnode_ count 
- Maximum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- min_cluster_ intnode_ count 
- Minimum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- autoscalingPolicies List<Property Map>
- The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:- Only contains 1-63 alphanumeric characters and hyphens
- Begins with an alphabetical character
- Ends with a non-hyphen character
- Not formatted as a UUID
- Complies with RFC 1034 (section 3.5) Currently the map must contain only one element that describes the autoscaling policy for compute nodes. Structure is documented below.
 
- coolDown StringPeriod 
- The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Minimum cool down period is 30m. Cool down period must be in whole minutes (for example, 30m, 31m, 50m). Mandatory for successful addition of autoscaling settings in cluster.
- maxCluster NumberNode Count 
- Maximum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
- minCluster NumberNode Count 
- Minimum number of nodes of any type in a cluster. Mandatory for successful addition of autoscaling settings in cluster.
ClusterAutoscalingSettingsAutoscalingPolicy, ClusterAutoscalingSettingsAutoscalingPolicyArgs          
- AutoscalePolicy stringId 
- The identifier for this object. Format specified above.
- NodeType stringId 
- The canonical identifier of the node type to add or remove.
- ScaleOut intSize 
- Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters.
- ConsumedMemory ClusterThresholds Autoscaling Settings Autoscaling Policy Consumed Memory Thresholds 
- Utilization thresholds pertaining to amount of consumed memory. Structure is documented below.
- CpuThresholds ClusterAutoscaling Settings Autoscaling Policy Cpu Thresholds 
- Utilization thresholds pertaining to CPU utilization. Structure is documented below.
- StorageThresholds ClusterAutoscaling Settings Autoscaling Policy Storage Thresholds 
- Utilization thresholds pertaining to amount of consumed storage. Structure is documented below.
- AutoscalePolicy stringId 
- The identifier for this object. Format specified above.
- NodeType stringId 
- The canonical identifier of the node type to add or remove.
- ScaleOut intSize 
- Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters.
- ConsumedMemory ClusterThresholds Autoscaling Settings Autoscaling Policy Consumed Memory Thresholds 
- Utilization thresholds pertaining to amount of consumed memory. Structure is documented below.
- CpuThresholds ClusterAutoscaling Settings Autoscaling Policy Cpu Thresholds 
- Utilization thresholds pertaining to CPU utilization. Structure is documented below.
- StorageThresholds ClusterAutoscaling Settings Autoscaling Policy Storage Thresholds 
- Utilization thresholds pertaining to amount of consumed storage. Structure is documented below.
- autoscalePolicy StringId 
- The identifier for this object. Format specified above.
- nodeType StringId 
- The canonical identifier of the node type to add or remove.
- scaleOut IntegerSize 
- Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters.
- consumedMemory ClusterThresholds Autoscaling Settings Autoscaling Policy Consumed Memory Thresholds 
- Utilization thresholds pertaining to amount of consumed memory. Structure is documented below.
- cpuThresholds ClusterAutoscaling Settings Autoscaling Policy Cpu Thresholds 
- Utilization thresholds pertaining to CPU utilization. Structure is documented below.
- storageThresholds ClusterAutoscaling Settings Autoscaling Policy Storage Thresholds 
- Utilization thresholds pertaining to amount of consumed storage. Structure is documented below.
- autoscalePolicy stringId 
- The identifier for this object. Format specified above.
- nodeType stringId 
- The canonical identifier of the node type to add or remove.
- scaleOut numberSize 
- Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters.
- consumedMemory ClusterThresholds Autoscaling Settings Autoscaling Policy Consumed Memory Thresholds 
- Utilization thresholds pertaining to amount of consumed memory. Structure is documented below.
- cpuThresholds ClusterAutoscaling Settings Autoscaling Policy Cpu Thresholds 
- Utilization thresholds pertaining to CPU utilization. Structure is documented below.
- storageThresholds ClusterAutoscaling Settings Autoscaling Policy Storage Thresholds 
- Utilization thresholds pertaining to amount of consumed storage. Structure is documented below.
- autoscale_policy_ strid 
- The identifier for this object. Format specified above.
- node_type_ strid 
- The canonical identifier of the node type to add or remove.
- scale_out_ intsize 
- Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters.
- consumed_memory_ Clusterthresholds Autoscaling Settings Autoscaling Policy Consumed Memory Thresholds 
- Utilization thresholds pertaining to amount of consumed memory. Structure is documented below.
- cpu_thresholds ClusterAutoscaling Settings Autoscaling Policy Cpu Thresholds 
- Utilization thresholds pertaining to CPU utilization. Structure is documented below.
- storage_thresholds ClusterAutoscaling Settings Autoscaling Policy Storage Thresholds 
- Utilization thresholds pertaining to amount of consumed storage. Structure is documented below.
- autoscalePolicy StringId 
- The identifier for this object. Format specified above.
- nodeType StringId 
- The canonical identifier of the node type to add or remove.
- scaleOut NumberSize 
- Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters.
- consumedMemory Property MapThresholds 
- Utilization thresholds pertaining to amount of consumed memory. Structure is documented below.
- cpuThresholds Property Map
- Utilization thresholds pertaining to CPU utilization. Structure is documented below.
- storageThresholds Property Map
- Utilization thresholds pertaining to amount of consumed storage. Structure is documented below.
ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholds, ClusterAutoscalingSettingsAutoscalingPolicyConsumedMemoryThresholdsArgs                
ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholds, ClusterAutoscalingSettingsAutoscalingPolicyCpuThresholdsArgs              
ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholds, ClusterAutoscalingSettingsAutoscalingPolicyStorageThresholdsArgs              
ClusterNodeTypeConfig, ClusterNodeTypeConfigArgs        
- NodeCount int
- The number of nodes of this type in the cluster.
- NodeType stringId 
- The identifier for this object. Format specified above.
- CustomCore intCount 
- Customized number of cores available to each node of the type.
This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value fromnodeType.availableCustomCoreCountswill be used. Once the customer is created then corecount cannot be changed.
- NodeCount int
- The number of nodes of this type in the cluster.
- NodeType stringId 
- The identifier for this object. Format specified above.
- CustomCore intCount 
- Customized number of cores available to each node of the type.
This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value fromnodeType.availableCustomCoreCountswill be used. Once the customer is created then corecount cannot be changed.
- nodeCount Integer
- The number of nodes of this type in the cluster.
- nodeType StringId 
- The identifier for this object. Format specified above.
- customCore IntegerCount 
- Customized number of cores available to each node of the type.
This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value fromnodeType.availableCustomCoreCountswill be used. Once the customer is created then corecount cannot be changed.
- nodeCount number
- The number of nodes of this type in the cluster.
- nodeType stringId 
- The identifier for this object. Format specified above.
- customCore numberCount 
- Customized number of cores available to each node of the type.
This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value fromnodeType.availableCustomCoreCountswill be used. Once the customer is created then corecount cannot be changed.
- node_count int
- The number of nodes of this type in the cluster.
- node_type_ strid 
- The identifier for this object. Format specified above.
- custom_core_ intcount 
- Customized number of cores available to each node of the type.
This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value fromnodeType.availableCustomCoreCountswill be used. Once the customer is created then corecount cannot be changed.
- nodeCount Number
- The number of nodes of this type in the cluster.
- nodeType StringId 
- The identifier for this object. Format specified above.
- customCore NumberCount 
- Customized number of cores available to each node of the type.
This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value fromnodeType.availableCustomCoreCountswill be used. Once the customer is created then corecount cannot be changed.
Import
Cluster can be imported using any of these accepted formats:
- {{parent}}/clusters/{{name}}
When using the pulumi import command, Cluster can be imported using one of the formats above. For example:
$ pulumi import gcp:vmwareengine/cluster:Cluster default {{parent}}/clusters/{{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.