1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. ClusterGcp
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

spectrocloud.ClusterGcp

Explore with Pulumi AI

spectrocloud logo
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

    Resource for managing GCP clusters in Spectro Cloud through Palette.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const account = spectrocloud.getCloudaccountGcp({
        name: _var.cluster_cloud_account_name,
    });
    const profile = spectrocloud.getClusterProfile({
        name: _var.cluster_cluster_profile_name,
    });
    const cluster = new spectrocloud.ClusterGcp("cluster", {
        tags: [
            "dev",
            "department:devops",
            "owner:bob",
        ],
        cloudAccountId: account.then(account => account.id),
        cloudConfig: {
            network: _var.gcp_network,
            project: _var.gcp_project,
            region: _var.gcp_region,
        },
        clusterProfiles: [{
            id: profile.then(profile => profile.id),
        }],
        machinePools: [
            {
                controlPlane: true,
                controlPlaneAsWorker: true,
                name: "cp-pool",
                count: 1,
                instanceType: "e2-standard-2",
                diskSizeGb: 62,
                azs: ["us-west3-a"],
            },
            {
                name: "worker-basic",
                count: 1,
                instanceType: "e2-standard-2",
                azs: ["us-west3-a"],
            },
        ],
    });
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    account = spectrocloud.get_cloudaccount_gcp(name=var["cluster_cloud_account_name"])
    profile = spectrocloud.get_cluster_profile(name=var["cluster_cluster_profile_name"])
    cluster = spectrocloud.ClusterGcp("cluster",
        tags=[
            "dev",
            "department:devops",
            "owner:bob",
        ],
        cloud_account_id=account.id,
        cloud_config={
            "network": var["gcp_network"],
            "project": var["gcp_project"],
            "region": var["gcp_region"],
        },
        cluster_profiles=[{
            "id": profile.id,
        }],
        machine_pools=[
            {
                "control_plane": True,
                "control_plane_as_worker": True,
                "name": "cp-pool",
                "count": 1,
                "instance_type": "e2-standard-2",
                "disk_size_gb": 62,
                "azs": ["us-west3-a"],
            },
            {
                "name": "worker-basic",
                "count": 1,
                "instance_type": "e2-standard-2",
                "azs": ["us-west3-a"],
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		account, err := spectrocloud.LookupCloudaccountGcp(ctx, &spectrocloud.LookupCloudaccountGcpArgs{
    			Name: pulumi.StringRef(_var.Cluster_cloud_account_name),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		profile, err := spectrocloud.LookupClusterProfile(ctx, &spectrocloud.LookupClusterProfileArgs{
    			Name: pulumi.StringRef(_var.Cluster_cluster_profile_name),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = spectrocloud.NewClusterGcp(ctx, "cluster", &spectrocloud.ClusterGcpArgs{
    			Tags: pulumi.StringArray{
    				pulumi.String("dev"),
    				pulumi.String("department:devops"),
    				pulumi.String("owner:bob"),
    			},
    			CloudAccountId: pulumi.String(account.Id),
    			CloudConfig: &spectrocloud.ClusterGcpCloudConfigArgs{
    				Network: pulumi.Any(_var.Gcp_network),
    				Project: pulumi.Any(_var.Gcp_project),
    				Region:  pulumi.Any(_var.Gcp_region),
    			},
    			ClusterProfiles: spectrocloud.ClusterGcpClusterProfileArray{
    				&spectrocloud.ClusterGcpClusterProfileArgs{
    					Id: pulumi.String(profile.Id),
    				},
    			},
    			MachinePools: spectrocloud.ClusterGcpMachinePoolArray{
    				&spectrocloud.ClusterGcpMachinePoolArgs{
    					ControlPlane:         pulumi.Bool(true),
    					ControlPlaneAsWorker: pulumi.Bool(true),
    					Name:                 pulumi.String("cp-pool"),
    					Count:                pulumi.Float64(1),
    					InstanceType:         pulumi.String("e2-standard-2"),
    					DiskSizeGb:           pulumi.Float64(62),
    					Azs: pulumi.StringArray{
    						pulumi.String("us-west3-a"),
    					},
    				},
    				&spectrocloud.ClusterGcpMachinePoolArgs{
    					Name:         pulumi.String("worker-basic"),
    					Count:        pulumi.Float64(1),
    					InstanceType: pulumi.String("e2-standard-2"),
    					Azs: pulumi.StringArray{
    						pulumi.String("us-west3-a"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Spectrocloud = Pulumi.Spectrocloud;
    
    return await Deployment.RunAsync(() => 
    {
        var account = Spectrocloud.GetCloudaccountGcp.Invoke(new()
        {
            Name = @var.Cluster_cloud_account_name,
        });
    
        var profile = Spectrocloud.GetClusterProfile.Invoke(new()
        {
            Name = @var.Cluster_cluster_profile_name,
        });
    
        var cluster = new Spectrocloud.ClusterGcp("cluster", new()
        {
            Tags = new[]
            {
                "dev",
                "department:devops",
                "owner:bob",
            },
            CloudAccountId = account.Apply(getCloudaccountGcpResult => getCloudaccountGcpResult.Id),
            CloudConfig = new Spectrocloud.Inputs.ClusterGcpCloudConfigArgs
            {
                Network = @var.Gcp_network,
                Project = @var.Gcp_project,
                Region = @var.Gcp_region,
            },
            ClusterProfiles = new[]
            {
                new Spectrocloud.Inputs.ClusterGcpClusterProfileArgs
                {
                    Id = profile.Apply(getClusterProfileResult => getClusterProfileResult.Id),
                },
            },
            MachinePools = new[]
            {
                new Spectrocloud.Inputs.ClusterGcpMachinePoolArgs
                {
                    ControlPlane = true,
                    ControlPlaneAsWorker = true,
                    Name = "cp-pool",
                    Count = 1,
                    InstanceType = "e2-standard-2",
                    DiskSizeGb = 62,
                    Azs = new[]
                    {
                        "us-west3-a",
                    },
                },
                new Spectrocloud.Inputs.ClusterGcpMachinePoolArgs
                {
                    Name = "worker-basic",
                    Count = 1,
                    InstanceType = "e2-standard-2",
                    Azs = new[]
                    {
                        "us-west3-a",
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.SpectrocloudFunctions;
    import com.pulumi.spectrocloud.inputs.GetCloudaccountGcpArgs;
    import com.pulumi.spectrocloud.inputs.GetClusterProfileArgs;
    import com.pulumi.spectrocloud.ClusterGcp;
    import com.pulumi.spectrocloud.ClusterGcpArgs;
    import com.pulumi.spectrocloud.inputs.ClusterGcpCloudConfigArgs;
    import com.pulumi.spectrocloud.inputs.ClusterGcpClusterProfileArgs;
    import com.pulumi.spectrocloud.inputs.ClusterGcpMachinePoolArgs;
    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) {
            final var account = SpectrocloudFunctions.getCloudaccountGcp(GetCloudaccountGcpArgs.builder()
                .name(var_.cluster_cloud_account_name())
                .build());
    
            final var profile = SpectrocloudFunctions.getClusterProfile(GetClusterProfileArgs.builder()
                .name(var_.cluster_cluster_profile_name())
                .build());
    
            var cluster = new ClusterGcp("cluster", ClusterGcpArgs.builder()
                .tags(            
                    "dev",
                    "department:devops",
                    "owner:bob")
                .cloudAccountId(account.applyValue(getCloudaccountGcpResult -> getCloudaccountGcpResult.id()))
                .cloudConfig(ClusterGcpCloudConfigArgs.builder()
                    .network(var_.gcp_network())
                    .project(var_.gcp_project())
                    .region(var_.gcp_region())
                    .build())
                .clusterProfiles(ClusterGcpClusterProfileArgs.builder()
                    .id(profile.applyValue(getClusterProfileResult -> getClusterProfileResult.id()))
                    .build())
                .machinePools(            
                    ClusterGcpMachinePoolArgs.builder()
                        .controlPlane(true)
                        .controlPlaneAsWorker(true)
                        .name("cp-pool")
                        .count(1)
                        .instanceType("e2-standard-2")
                        .diskSizeGb(62)
                        .azs("us-west3-a")
                        .build(),
                    ClusterGcpMachinePoolArgs.builder()
                        .name("worker-basic")
                        .count(1)
                        .instanceType("e2-standard-2")
                        .azs("us-west3-a")
                        .build())
                .build());
    
        }
    }
    
    resources:
      cluster:
        type: spectrocloud:ClusterGcp
        properties:
          tags:
            - dev
            - department:devops
            - owner:bob
          cloudAccountId: ${account.id}
          cloudConfig:
            network: ${var.gcp_network}
            project: ${var.gcp_project}
            region: ${var.gcp_region}
          clusterProfiles:
            - id: ${profile.id}
          machinePools:
            - controlPlane: true
              controlPlaneAsWorker: true
              name: cp-pool
              count: 1
              instanceType: e2-standard-2
              diskSizeGb: 62
              azs:
                - us-west3-a
            - name: worker-basic
              count: 1
              instanceType: e2-standard-2
              azs:
                - us-west3-a
    variables:
      account:
        fn::invoke:
          function: spectrocloud:getCloudaccountGcp
          arguments:
            name: ${var.cluster_cloud_account_name}
      profile:
        fn::invoke:
          function: spectrocloud:getClusterProfile
          arguments:
            name: ${var.cluster_cluster_profile_name}
    

    Create ClusterGcp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ClusterGcp(name: string, args: ClusterGcpArgs, opts?: CustomResourceOptions);
    @overload
    def ClusterGcp(resource_name: str,
                   args: ClusterGcpArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClusterGcp(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   cloud_config: Optional[ClusterGcpCloudConfigArgs] = None,
                   machine_pools: Optional[Sequence[ClusterGcpMachinePoolArgs]] = None,
                   cloud_account_id: Optional[str] = None,
                   host_configs: Optional[Sequence[ClusterGcpHostConfigArgs]] = None,
                   name: Optional[str] = None,
                   cluster_meta_attribute: Optional[str] = None,
                   cluster_profiles: Optional[Sequence[ClusterGcpClusterProfileArgs]] = None,
                   cluster_rbac_bindings: Optional[Sequence[ClusterGcpClusterRbacBindingArgs]] = None,
                   context: Optional[str] = None,
                   description: Optional[str] = None,
                   force_delete: Optional[bool] = None,
                   force_delete_delay: Optional[float] = None,
                   apply_setting: Optional[str] = None,
                   backup_policy: Optional[ClusterGcpBackupPolicyArgs] = None,
                   cluster_gcp_id: Optional[str] = None,
                   namespaces: Optional[Sequence[ClusterGcpNamespaceArgs]] = None,
                   os_patch_after: Optional[str] = None,
                   os_patch_on_boot: Optional[bool] = None,
                   os_patch_schedule: Optional[str] = None,
                   pause_agent_upgrades: Optional[str] = None,
                   review_repave_state: Optional[str] = None,
                   scan_policy: Optional[ClusterGcpScanPolicyArgs] = None,
                   skip_completion: Optional[bool] = None,
                   tags: Optional[Sequence[str]] = None,
                   timeouts: Optional[ClusterGcpTimeoutsArgs] = None)
    func NewClusterGcp(ctx *Context, name string, args ClusterGcpArgs, opts ...ResourceOption) (*ClusterGcp, error)
    public ClusterGcp(string name, ClusterGcpArgs args, CustomResourceOptions? opts = null)
    public ClusterGcp(String name, ClusterGcpArgs args)
    public ClusterGcp(String name, ClusterGcpArgs args, CustomResourceOptions options)
    
    type: spectrocloud:ClusterGcp
    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 ClusterGcpArgs
    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 ClusterGcpArgs
    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 ClusterGcpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterGcpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterGcpArgs
    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 clusterGcpResource = new Spectrocloud.ClusterGcp("clusterGcpResource", new()
    {
        CloudConfig = new Spectrocloud.Inputs.ClusterGcpCloudConfigArgs
        {
            Project = "string",
            Region = "string",
            Network = "string",
        },
        MachinePools = new[]
        {
            new Spectrocloud.Inputs.ClusterGcpMachinePoolArgs
            {
                Azs = new[]
                {
                    "string",
                },
                Count = 0,
                InstanceType = "string",
                Name = "string",
                AdditionalLabels = 
                {
                    { "string", "string" },
                },
                ControlPlane = false,
                ControlPlaneAsWorker = false,
                DiskSizeGb = 0,
                NodeRepaveInterval = 0,
                Nodes = new[]
                {
                    new Spectrocloud.Inputs.ClusterGcpMachinePoolNodeArgs
                    {
                        Action = "string",
                        NodeId = "string",
                    },
                },
                Taints = new[]
                {
                    new Spectrocloud.Inputs.ClusterGcpMachinePoolTaintArgs
                    {
                        Effect = "string",
                        Key = "string",
                        Value = "string",
                    },
                },
                UpdateStrategy = "string",
            },
        },
        CloudAccountId = "string",
        HostConfigs = new[]
        {
            new Spectrocloud.Inputs.ClusterGcpHostConfigArgs
            {
                ExternalTrafficPolicy = "string",
                HostEndpointType = "string",
                IngressHost = "string",
                LoadBalancerSourceRanges = "string",
            },
        },
        Name = "string",
        ClusterMetaAttribute = "string",
        ClusterProfiles = new[]
        {
            new Spectrocloud.Inputs.ClusterGcpClusterProfileArgs
            {
                Id = "string",
                Packs = new[]
                {
                    new Spectrocloud.Inputs.ClusterGcpClusterProfilePackArgs
                    {
                        Name = "string",
                        Manifests = new[]
                        {
                            new Spectrocloud.Inputs.ClusterGcpClusterProfilePackManifestArgs
                            {
                                Content = "string",
                                Name = "string",
                                Uid = "string",
                            },
                        },
                        RegistryUid = "string",
                        Tag = "string",
                        Type = "string",
                        Uid = "string",
                        Values = "string",
                    },
                },
                Variables = 
                {
                    { "string", "string" },
                },
            },
        },
        ClusterRbacBindings = new[]
        {
            new Spectrocloud.Inputs.ClusterGcpClusterRbacBindingArgs
            {
                Type = "string",
                Namespace = "string",
                Role = 
                {
                    { "string", "string" },
                },
                Subjects = new[]
                {
                    new Spectrocloud.Inputs.ClusterGcpClusterRbacBindingSubjectArgs
                    {
                        Name = "string",
                        Type = "string",
                        Namespace = "string",
                    },
                },
            },
        },
        Context = "string",
        Description = "string",
        ForceDelete = false,
        ForceDeleteDelay = 0,
        ApplySetting = "string",
        BackupPolicy = new Spectrocloud.Inputs.ClusterGcpBackupPolicyArgs
        {
            BackupLocationId = "string",
            ExpiryInHour = 0,
            Prefix = "string",
            Schedule = "string",
            ClusterUids = new[]
            {
                "string",
            },
            IncludeAllClusters = false,
            IncludeClusterResources = false,
            IncludeClusterResourcesMode = "string",
            IncludeDisks = false,
            Namespaces = new[]
            {
                "string",
            },
        },
        ClusterGcpId = "string",
        Namespaces = new[]
        {
            new Spectrocloud.Inputs.ClusterGcpNamespaceArgs
            {
                Name = "string",
                ResourceAllocation = 
                {
                    { "string", "string" },
                },
                ImagesBlacklists = new[]
                {
                    "string",
                },
            },
        },
        OsPatchAfter = "string",
        OsPatchOnBoot = false,
        OsPatchSchedule = "string",
        PauseAgentUpgrades = "string",
        ReviewRepaveState = "string",
        ScanPolicy = new Spectrocloud.Inputs.ClusterGcpScanPolicyArgs
        {
            ConfigurationScanSchedule = "string",
            ConformanceScanSchedule = "string",
            PenetrationScanSchedule = "string",
        },
        SkipCompletion = false,
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Spectrocloud.Inputs.ClusterGcpTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := spectrocloud.NewClusterGcp(ctx, "clusterGcpResource", &spectrocloud.ClusterGcpArgs{
    	CloudConfig: &spectrocloud.ClusterGcpCloudConfigArgs{
    		Project: pulumi.String("string"),
    		Region:  pulumi.String("string"),
    		Network: pulumi.String("string"),
    	},
    	MachinePools: spectrocloud.ClusterGcpMachinePoolArray{
    		&spectrocloud.ClusterGcpMachinePoolArgs{
    			Azs: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Count:        pulumi.Float64(0),
    			InstanceType: pulumi.String("string"),
    			Name:         pulumi.String("string"),
    			AdditionalLabels: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			ControlPlane:         pulumi.Bool(false),
    			ControlPlaneAsWorker: pulumi.Bool(false),
    			DiskSizeGb:           pulumi.Float64(0),
    			NodeRepaveInterval:   pulumi.Float64(0),
    			Nodes: spectrocloud.ClusterGcpMachinePoolNodeArray{
    				&spectrocloud.ClusterGcpMachinePoolNodeArgs{
    					Action: pulumi.String("string"),
    					NodeId: pulumi.String("string"),
    				},
    			},
    			Taints: spectrocloud.ClusterGcpMachinePoolTaintArray{
    				&spectrocloud.ClusterGcpMachinePoolTaintArgs{
    					Effect: pulumi.String("string"),
    					Key:    pulumi.String("string"),
    					Value:  pulumi.String("string"),
    				},
    			},
    			UpdateStrategy: pulumi.String("string"),
    		},
    	},
    	CloudAccountId: pulumi.String("string"),
    	HostConfigs: spectrocloud.ClusterGcpHostConfigArray{
    		&spectrocloud.ClusterGcpHostConfigArgs{
    			ExternalTrafficPolicy:    pulumi.String("string"),
    			HostEndpointType:         pulumi.String("string"),
    			IngressHost:              pulumi.String("string"),
    			LoadBalancerSourceRanges: pulumi.String("string"),
    		},
    	},
    	Name:                 pulumi.String("string"),
    	ClusterMetaAttribute: pulumi.String("string"),
    	ClusterProfiles: spectrocloud.ClusterGcpClusterProfileArray{
    		&spectrocloud.ClusterGcpClusterProfileArgs{
    			Id: pulumi.String("string"),
    			Packs: spectrocloud.ClusterGcpClusterProfilePackArray{
    				&spectrocloud.ClusterGcpClusterProfilePackArgs{
    					Name: pulumi.String("string"),
    					Manifests: spectrocloud.ClusterGcpClusterProfilePackManifestArray{
    						&spectrocloud.ClusterGcpClusterProfilePackManifestArgs{
    							Content: pulumi.String("string"),
    							Name:    pulumi.String("string"),
    							Uid:     pulumi.String("string"),
    						},
    					},
    					RegistryUid: pulumi.String("string"),
    					Tag:         pulumi.String("string"),
    					Type:        pulumi.String("string"),
    					Uid:         pulumi.String("string"),
    					Values:      pulumi.String("string"),
    				},
    			},
    			Variables: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    	ClusterRbacBindings: spectrocloud.ClusterGcpClusterRbacBindingArray{
    		&spectrocloud.ClusterGcpClusterRbacBindingArgs{
    			Type:      pulumi.String("string"),
    			Namespace: pulumi.String("string"),
    			Role: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Subjects: spectrocloud.ClusterGcpClusterRbacBindingSubjectArray{
    				&spectrocloud.ClusterGcpClusterRbacBindingSubjectArgs{
    					Name:      pulumi.String("string"),
    					Type:      pulumi.String("string"),
    					Namespace: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Context:          pulumi.String("string"),
    	Description:      pulumi.String("string"),
    	ForceDelete:      pulumi.Bool(false),
    	ForceDeleteDelay: pulumi.Float64(0),
    	ApplySetting:     pulumi.String("string"),
    	BackupPolicy: &spectrocloud.ClusterGcpBackupPolicyArgs{
    		BackupLocationId: pulumi.String("string"),
    		ExpiryInHour:     pulumi.Float64(0),
    		Prefix:           pulumi.String("string"),
    		Schedule:         pulumi.String("string"),
    		ClusterUids: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		IncludeAllClusters:          pulumi.Bool(false),
    		IncludeClusterResources:     pulumi.Bool(false),
    		IncludeClusterResourcesMode: pulumi.String("string"),
    		IncludeDisks:                pulumi.Bool(false),
    		Namespaces: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    	},
    	ClusterGcpId: pulumi.String("string"),
    	Namespaces: spectrocloud.ClusterGcpNamespaceArray{
    		&spectrocloud.ClusterGcpNamespaceArgs{
    			Name: pulumi.String("string"),
    			ResourceAllocation: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			ImagesBlacklists: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    		},
    	},
    	OsPatchAfter:       pulumi.String("string"),
    	OsPatchOnBoot:      pulumi.Bool(false),
    	OsPatchSchedule:    pulumi.String("string"),
    	PauseAgentUpgrades: pulumi.String("string"),
    	ReviewRepaveState:  pulumi.String("string"),
    	ScanPolicy: &spectrocloud.ClusterGcpScanPolicyArgs{
    		ConfigurationScanSchedule: pulumi.String("string"),
    		ConformanceScanSchedule:   pulumi.String("string"),
    		PenetrationScanSchedule:   pulumi.String("string"),
    	},
    	SkipCompletion: pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &spectrocloud.ClusterGcpTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var clusterGcpResource = new ClusterGcp("clusterGcpResource", ClusterGcpArgs.builder()
        .cloudConfig(ClusterGcpCloudConfigArgs.builder()
            .project("string")
            .region("string")
            .network("string")
            .build())
        .machinePools(ClusterGcpMachinePoolArgs.builder()
            .azs("string")
            .count(0)
            .instanceType("string")
            .name("string")
            .additionalLabels(Map.of("string", "string"))
            .controlPlane(false)
            .controlPlaneAsWorker(false)
            .diskSizeGb(0)
            .nodeRepaveInterval(0)
            .nodes(ClusterGcpMachinePoolNodeArgs.builder()
                .action("string")
                .nodeId("string")
                .build())
            .taints(ClusterGcpMachinePoolTaintArgs.builder()
                .effect("string")
                .key("string")
                .value("string")
                .build())
            .updateStrategy("string")
            .build())
        .cloudAccountId("string")
        .hostConfigs(ClusterGcpHostConfigArgs.builder()
            .externalTrafficPolicy("string")
            .hostEndpointType("string")
            .ingressHost("string")
            .loadBalancerSourceRanges("string")
            .build())
        .name("string")
        .clusterMetaAttribute("string")
        .clusterProfiles(ClusterGcpClusterProfileArgs.builder()
            .id("string")
            .packs(ClusterGcpClusterProfilePackArgs.builder()
                .name("string")
                .manifests(ClusterGcpClusterProfilePackManifestArgs.builder()
                    .content("string")
                    .name("string")
                    .uid("string")
                    .build())
                .registryUid("string")
                .tag("string")
                .type("string")
                .uid("string")
                .values("string")
                .build())
            .variables(Map.of("string", "string"))
            .build())
        .clusterRbacBindings(ClusterGcpClusterRbacBindingArgs.builder()
            .type("string")
            .namespace("string")
            .role(Map.of("string", "string"))
            .subjects(ClusterGcpClusterRbacBindingSubjectArgs.builder()
                .name("string")
                .type("string")
                .namespace("string")
                .build())
            .build())
        .context("string")
        .description("string")
        .forceDelete(false)
        .forceDeleteDelay(0)
        .applySetting("string")
        .backupPolicy(ClusterGcpBackupPolicyArgs.builder()
            .backupLocationId("string")
            .expiryInHour(0)
            .prefix("string")
            .schedule("string")
            .clusterUids("string")
            .includeAllClusters(false)
            .includeClusterResources(false)
            .includeClusterResourcesMode("string")
            .includeDisks(false)
            .namespaces("string")
            .build())
        .clusterGcpId("string")
        .namespaces(ClusterGcpNamespaceArgs.builder()
            .name("string")
            .resourceAllocation(Map.of("string", "string"))
            .imagesBlacklists("string")
            .build())
        .osPatchAfter("string")
        .osPatchOnBoot(false)
        .osPatchSchedule("string")
        .pauseAgentUpgrades("string")
        .reviewRepaveState("string")
        .scanPolicy(ClusterGcpScanPolicyArgs.builder()
            .configurationScanSchedule("string")
            .conformanceScanSchedule("string")
            .penetrationScanSchedule("string")
            .build())
        .skipCompletion(false)
        .tags("string")
        .timeouts(ClusterGcpTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    cluster_gcp_resource = spectrocloud.ClusterGcp("clusterGcpResource",
        cloud_config={
            "project": "string",
            "region": "string",
            "network": "string",
        },
        machine_pools=[{
            "azs": ["string"],
            "count": 0,
            "instance_type": "string",
            "name": "string",
            "additional_labels": {
                "string": "string",
            },
            "control_plane": False,
            "control_plane_as_worker": False,
            "disk_size_gb": 0,
            "node_repave_interval": 0,
            "nodes": [{
                "action": "string",
                "node_id": "string",
            }],
            "taints": [{
                "effect": "string",
                "key": "string",
                "value": "string",
            }],
            "update_strategy": "string",
        }],
        cloud_account_id="string",
        host_configs=[{
            "external_traffic_policy": "string",
            "host_endpoint_type": "string",
            "ingress_host": "string",
            "load_balancer_source_ranges": "string",
        }],
        name="string",
        cluster_meta_attribute="string",
        cluster_profiles=[{
            "id": "string",
            "packs": [{
                "name": "string",
                "manifests": [{
                    "content": "string",
                    "name": "string",
                    "uid": "string",
                }],
                "registry_uid": "string",
                "tag": "string",
                "type": "string",
                "uid": "string",
                "values": "string",
            }],
            "variables": {
                "string": "string",
            },
        }],
        cluster_rbac_bindings=[{
            "type": "string",
            "namespace": "string",
            "role": {
                "string": "string",
            },
            "subjects": [{
                "name": "string",
                "type": "string",
                "namespace": "string",
            }],
        }],
        context="string",
        description="string",
        force_delete=False,
        force_delete_delay=0,
        apply_setting="string",
        backup_policy={
            "backup_location_id": "string",
            "expiry_in_hour": 0,
            "prefix": "string",
            "schedule": "string",
            "cluster_uids": ["string"],
            "include_all_clusters": False,
            "include_cluster_resources": False,
            "include_cluster_resources_mode": "string",
            "include_disks": False,
            "namespaces": ["string"],
        },
        cluster_gcp_id="string",
        namespaces=[{
            "name": "string",
            "resource_allocation": {
                "string": "string",
            },
            "images_blacklists": ["string"],
        }],
        os_patch_after="string",
        os_patch_on_boot=False,
        os_patch_schedule="string",
        pause_agent_upgrades="string",
        review_repave_state="string",
        scan_policy={
            "configuration_scan_schedule": "string",
            "conformance_scan_schedule": "string",
            "penetration_scan_schedule": "string",
        },
        skip_completion=False,
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const clusterGcpResource = new spectrocloud.ClusterGcp("clusterGcpResource", {
        cloudConfig: {
            project: "string",
            region: "string",
            network: "string",
        },
        machinePools: [{
            azs: ["string"],
            count: 0,
            instanceType: "string",
            name: "string",
            additionalLabels: {
                string: "string",
            },
            controlPlane: false,
            controlPlaneAsWorker: false,
            diskSizeGb: 0,
            nodeRepaveInterval: 0,
            nodes: [{
                action: "string",
                nodeId: "string",
            }],
            taints: [{
                effect: "string",
                key: "string",
                value: "string",
            }],
            updateStrategy: "string",
        }],
        cloudAccountId: "string",
        hostConfigs: [{
            externalTrafficPolicy: "string",
            hostEndpointType: "string",
            ingressHost: "string",
            loadBalancerSourceRanges: "string",
        }],
        name: "string",
        clusterMetaAttribute: "string",
        clusterProfiles: [{
            id: "string",
            packs: [{
                name: "string",
                manifests: [{
                    content: "string",
                    name: "string",
                    uid: "string",
                }],
                registryUid: "string",
                tag: "string",
                type: "string",
                uid: "string",
                values: "string",
            }],
            variables: {
                string: "string",
            },
        }],
        clusterRbacBindings: [{
            type: "string",
            namespace: "string",
            role: {
                string: "string",
            },
            subjects: [{
                name: "string",
                type: "string",
                namespace: "string",
            }],
        }],
        context: "string",
        description: "string",
        forceDelete: false,
        forceDeleteDelay: 0,
        applySetting: "string",
        backupPolicy: {
            backupLocationId: "string",
            expiryInHour: 0,
            prefix: "string",
            schedule: "string",
            clusterUids: ["string"],
            includeAllClusters: false,
            includeClusterResources: false,
            includeClusterResourcesMode: "string",
            includeDisks: false,
            namespaces: ["string"],
        },
        clusterGcpId: "string",
        namespaces: [{
            name: "string",
            resourceAllocation: {
                string: "string",
            },
            imagesBlacklists: ["string"],
        }],
        osPatchAfter: "string",
        osPatchOnBoot: false,
        osPatchSchedule: "string",
        pauseAgentUpgrades: "string",
        reviewRepaveState: "string",
        scanPolicy: {
            configurationScanSchedule: "string",
            conformanceScanSchedule: "string",
            penetrationScanSchedule: "string",
        },
        skipCompletion: false,
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: spectrocloud:ClusterGcp
    properties:
        applySetting: string
        backupPolicy:
            backupLocationId: string
            clusterUids:
                - string
            expiryInHour: 0
            includeAllClusters: false
            includeClusterResources: false
            includeClusterResourcesMode: string
            includeDisks: false
            namespaces:
                - string
            prefix: string
            schedule: string
        cloudAccountId: string
        cloudConfig:
            network: string
            project: string
            region: string
        clusterGcpId: string
        clusterMetaAttribute: string
        clusterProfiles:
            - id: string
              packs:
                - manifests:
                    - content: string
                      name: string
                      uid: string
                  name: string
                  registryUid: string
                  tag: string
                  type: string
                  uid: string
                  values: string
              variables:
                string: string
        clusterRbacBindings:
            - namespace: string
              role:
                string: string
              subjects:
                - name: string
                  namespace: string
                  type: string
              type: string
        context: string
        description: string
        forceDelete: false
        forceDeleteDelay: 0
        hostConfigs:
            - externalTrafficPolicy: string
              hostEndpointType: string
              ingressHost: string
              loadBalancerSourceRanges: string
        machinePools:
            - additionalLabels:
                string: string
              azs:
                - string
              controlPlane: false
              controlPlaneAsWorker: false
              count: 0
              diskSizeGb: 0
              instanceType: string
              name: string
              nodeRepaveInterval: 0
              nodes:
                - action: string
                  nodeId: string
              taints:
                - effect: string
                  key: string
                  value: string
              updateStrategy: string
        name: string
        namespaces:
            - imagesBlacklists:
                - string
              name: string
              resourceAllocation:
                string: string
        osPatchAfter: string
        osPatchOnBoot: false
        osPatchSchedule: string
        pauseAgentUpgrades: string
        reviewRepaveState: string
        scanPolicy:
            configurationScanSchedule: string
            conformanceScanSchedule: string
            penetrationScanSchedule: string
        skipCompletion: false
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
    

    ClusterGcp 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 ClusterGcp resource accepts the following input properties:

    CloudAccountId string
    CloudConfig ClusterGcpCloudConfig
    MachinePools List<ClusterGcpMachinePool>
    ApplySetting string
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    BackupPolicy ClusterGcpBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    ClusterGcpId string
    The ID of this resource.
    ClusterMetaAttribute string
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    ClusterProfiles List<ClusterGcpClusterProfile>
    ClusterRbacBindings List<ClusterGcpClusterRbacBinding>
    The RBAC binding for the cluster.
    Context string
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    Description string
    The description of the cluster. Default value is empty string.
    ForceDelete bool
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    ForceDeleteDelay double
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    HostConfigs List<ClusterGcpHostConfig>
    The host configuration for the cluster.
    Name string
    Namespaces List<ClusterGcpNamespace>
    The namespaces for the cluster.
    OsPatchAfter string
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    OsPatchOnBoot bool
    Whether to apply OS patch on boot. Default is false.
    OsPatchSchedule string
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    PauseAgentUpgrades string
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    ReviewRepaveState string
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    ScanPolicy ClusterGcpScanPolicy
    The scan policy for the cluster.
    SkipCompletion bool
    If true, the cluster will be created asynchronously. Default value is false.
    Tags List<string>
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    Timeouts ClusterGcpTimeouts
    CloudAccountId string
    CloudConfig ClusterGcpCloudConfigArgs
    MachinePools []ClusterGcpMachinePoolArgs
    ApplySetting string
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    BackupPolicy ClusterGcpBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    ClusterGcpId string
    The ID of this resource.
    ClusterMetaAttribute string
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    ClusterProfiles []ClusterGcpClusterProfileArgs
    ClusterRbacBindings []ClusterGcpClusterRbacBindingArgs
    The RBAC binding for the cluster.
    Context string
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    Description string
    The description of the cluster. Default value is empty string.
    ForceDelete bool
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    ForceDeleteDelay float64
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    HostConfigs []ClusterGcpHostConfigArgs
    The host configuration for the cluster.
    Name string
    Namespaces []ClusterGcpNamespaceArgs
    The namespaces for the cluster.
    OsPatchAfter string
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    OsPatchOnBoot bool
    Whether to apply OS patch on boot. Default is false.
    OsPatchSchedule string
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    PauseAgentUpgrades string
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    ReviewRepaveState string
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    ScanPolicy ClusterGcpScanPolicyArgs
    The scan policy for the cluster.
    SkipCompletion bool
    If true, the cluster will be created asynchronously. Default value is false.
    Tags []string
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    Timeouts ClusterGcpTimeoutsArgs
    cloudAccountId String
    cloudConfig ClusterGcpCloudConfig
    machinePools List<ClusterGcpMachinePool>
    applySetting String
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backupPolicy ClusterGcpBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    clusterGcpId String
    The ID of this resource.
    clusterMetaAttribute String
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    clusterProfiles List<ClusterGcpClusterProfile>
    clusterRbacBindings List<ClusterGcpClusterRbacBinding>
    The RBAC binding for the cluster.
    context String
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description String
    The description of the cluster. Default value is empty string.
    forceDelete Boolean
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    forceDeleteDelay Double
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    hostConfigs List<ClusterGcpHostConfig>
    The host configuration for the cluster.
    name String
    namespaces List<ClusterGcpNamespace>
    The namespaces for the cluster.
    osPatchAfter String
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    osPatchOnBoot Boolean
    Whether to apply OS patch on boot. Default is false.
    osPatchSchedule String
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pauseAgentUpgrades String
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    reviewRepaveState String
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scanPolicy ClusterGcpScanPolicy
    The scan policy for the cluster.
    skipCompletion Boolean
    If true, the cluster will be created asynchronously. Default value is false.
    tags List<String>
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts ClusterGcpTimeouts
    cloudAccountId string
    cloudConfig ClusterGcpCloudConfig
    machinePools ClusterGcpMachinePool[]
    applySetting string
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backupPolicy ClusterGcpBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    clusterGcpId string
    The ID of this resource.
    clusterMetaAttribute string
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    clusterProfiles ClusterGcpClusterProfile[]
    clusterRbacBindings ClusterGcpClusterRbacBinding[]
    The RBAC binding for the cluster.
    context string
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description string
    The description of the cluster. Default value is empty string.
    forceDelete boolean
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    forceDeleteDelay number
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    hostConfigs ClusterGcpHostConfig[]
    The host configuration for the cluster.
    name string
    namespaces ClusterGcpNamespace[]
    The namespaces for the cluster.
    osPatchAfter string
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    osPatchOnBoot boolean
    Whether to apply OS patch on boot. Default is false.
    osPatchSchedule string
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pauseAgentUpgrades string
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    reviewRepaveState string
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scanPolicy ClusterGcpScanPolicy
    The scan policy for the cluster.
    skipCompletion boolean
    If true, the cluster will be created asynchronously. Default value is false.
    tags string[]
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts ClusterGcpTimeouts
    cloud_account_id str
    cloud_config ClusterGcpCloudConfigArgs
    machine_pools Sequence[ClusterGcpMachinePoolArgs]
    apply_setting str
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backup_policy ClusterGcpBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    cluster_gcp_id str
    The ID of this resource.
    cluster_meta_attribute str
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    cluster_profiles Sequence[ClusterGcpClusterProfileArgs]
    cluster_rbac_bindings Sequence[ClusterGcpClusterRbacBindingArgs]
    The RBAC binding for the cluster.
    context str
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description str
    The description of the cluster. Default value is empty string.
    force_delete bool
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    force_delete_delay float
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    host_configs Sequence[ClusterGcpHostConfigArgs]
    The host configuration for the cluster.
    name str
    namespaces Sequence[ClusterGcpNamespaceArgs]
    The namespaces for the cluster.
    os_patch_after str
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    os_patch_on_boot bool
    Whether to apply OS patch on boot. Default is false.
    os_patch_schedule str
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pause_agent_upgrades str
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    review_repave_state str
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scan_policy ClusterGcpScanPolicyArgs
    The scan policy for the cluster.
    skip_completion bool
    If true, the cluster will be created asynchronously. Default value is false.
    tags Sequence[str]
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts ClusterGcpTimeoutsArgs
    cloudAccountId String
    cloudConfig Property Map
    machinePools List<Property Map>
    applySetting String
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backupPolicy Property Map
    The backup policy for the cluster. If not specified, no backups will be taken.
    clusterGcpId String
    The ID of this resource.
    clusterMetaAttribute String
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    clusterProfiles List<Property Map>
    clusterRbacBindings List<Property Map>
    The RBAC binding for the cluster.
    context String
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description String
    The description of the cluster. Default value is empty string.
    forceDelete Boolean
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    forceDeleteDelay Number
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    hostConfigs List<Property Map>
    The host configuration for the cluster.
    name String
    namespaces List<Property Map>
    The namespaces for the cluster.
    osPatchAfter String
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    osPatchOnBoot Boolean
    Whether to apply OS patch on boot. Default is false.
    osPatchSchedule String
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pauseAgentUpgrades String
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    reviewRepaveState String
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scanPolicy Property Map
    The scan policy for the cluster.
    skipCompletion Boolean
    If true, the cluster will be created asynchronously. Default value is false.
    tags List<String>
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ClusterGcp resource produces the following output properties:

    AdminKubeConfig string
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    CloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    Id string
    The provider-assigned unique ID for this managed resource.
    Kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    LocationConfigs List<ClusterGcpLocationConfig>
    The location of the cluster.
    AdminKubeConfig string
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    CloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    Id string
    The provider-assigned unique ID for this managed resource.
    Kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    LocationConfigs []ClusterGcpLocationConfig
    The location of the cluster.
    adminKubeConfig String
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    cloudConfigId String
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    id String
    The provider-assigned unique ID for this managed resource.
    kubeconfig String
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs List<ClusterGcpLocationConfig>
    The location of the cluster.
    adminKubeConfig string
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    cloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    id string
    The provider-assigned unique ID for this managed resource.
    kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs ClusterGcpLocationConfig[]
    The location of the cluster.
    admin_kube_config str
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    cloud_config_id str
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    id str
    The provider-assigned unique ID for this managed resource.
    kubeconfig str
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    location_configs Sequence[ClusterGcpLocationConfig]
    The location of the cluster.
    adminKubeConfig String
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    cloudConfigId String
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    id String
    The provider-assigned unique ID for this managed resource.
    kubeconfig String
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs List<Property Map>
    The location of the cluster.

    Look up Existing ClusterGcp Resource

    Get an existing ClusterGcp 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?: ClusterGcpState, opts?: CustomResourceOptions): ClusterGcp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            admin_kube_config: Optional[str] = None,
            apply_setting: Optional[str] = None,
            backup_policy: Optional[ClusterGcpBackupPolicyArgs] = None,
            cloud_account_id: Optional[str] = None,
            cloud_config: Optional[ClusterGcpCloudConfigArgs] = None,
            cloud_config_id: Optional[str] = None,
            cluster_gcp_id: Optional[str] = None,
            cluster_meta_attribute: Optional[str] = None,
            cluster_profiles: Optional[Sequence[ClusterGcpClusterProfileArgs]] = None,
            cluster_rbac_bindings: Optional[Sequence[ClusterGcpClusterRbacBindingArgs]] = None,
            context: Optional[str] = None,
            description: Optional[str] = None,
            force_delete: Optional[bool] = None,
            force_delete_delay: Optional[float] = None,
            host_configs: Optional[Sequence[ClusterGcpHostConfigArgs]] = None,
            kubeconfig: Optional[str] = None,
            location_configs: Optional[Sequence[ClusterGcpLocationConfigArgs]] = None,
            machine_pools: Optional[Sequence[ClusterGcpMachinePoolArgs]] = None,
            name: Optional[str] = None,
            namespaces: Optional[Sequence[ClusterGcpNamespaceArgs]] = None,
            os_patch_after: Optional[str] = None,
            os_patch_on_boot: Optional[bool] = None,
            os_patch_schedule: Optional[str] = None,
            pause_agent_upgrades: Optional[str] = None,
            review_repave_state: Optional[str] = None,
            scan_policy: Optional[ClusterGcpScanPolicyArgs] = None,
            skip_completion: Optional[bool] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[ClusterGcpTimeoutsArgs] = None) -> ClusterGcp
    func GetClusterGcp(ctx *Context, name string, id IDInput, state *ClusterGcpState, opts ...ResourceOption) (*ClusterGcp, error)
    public static ClusterGcp Get(string name, Input<string> id, ClusterGcpState? state, CustomResourceOptions? opts = null)
    public static ClusterGcp get(String name, Output<String> id, ClusterGcpState state, CustomResourceOptions options)
    resources:  _:    type: spectrocloud:ClusterGcp    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.
    The following state arguments are supported:
    AdminKubeConfig string
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    ApplySetting string
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    BackupPolicy ClusterGcpBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    CloudAccountId string
    CloudConfig ClusterGcpCloudConfig
    CloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    ClusterGcpId string
    The ID of this resource.
    ClusterMetaAttribute string
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    ClusterProfiles List<ClusterGcpClusterProfile>
    ClusterRbacBindings List<ClusterGcpClusterRbacBinding>
    The RBAC binding for the cluster.
    Context string
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    Description string
    The description of the cluster. Default value is empty string.
    ForceDelete bool
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    ForceDeleteDelay double
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    HostConfigs List<ClusterGcpHostConfig>
    The host configuration for the cluster.
    Kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    LocationConfigs List<ClusterGcpLocationConfig>
    The location of the cluster.
    MachinePools List<ClusterGcpMachinePool>
    Name string
    Namespaces List<ClusterGcpNamespace>
    The namespaces for the cluster.
    OsPatchAfter string
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    OsPatchOnBoot bool
    Whether to apply OS patch on boot. Default is false.
    OsPatchSchedule string
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    PauseAgentUpgrades string
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    ReviewRepaveState string
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    ScanPolicy ClusterGcpScanPolicy
    The scan policy for the cluster.
    SkipCompletion bool
    If true, the cluster will be created asynchronously. Default value is false.
    Tags List<string>
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    Timeouts ClusterGcpTimeouts
    AdminKubeConfig string
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    ApplySetting string
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    BackupPolicy ClusterGcpBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    CloudAccountId string
    CloudConfig ClusterGcpCloudConfigArgs
    CloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    ClusterGcpId string
    The ID of this resource.
    ClusterMetaAttribute string
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    ClusterProfiles []ClusterGcpClusterProfileArgs
    ClusterRbacBindings []ClusterGcpClusterRbacBindingArgs
    The RBAC binding for the cluster.
    Context string
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    Description string
    The description of the cluster. Default value is empty string.
    ForceDelete bool
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    ForceDeleteDelay float64
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    HostConfigs []ClusterGcpHostConfigArgs
    The host configuration for the cluster.
    Kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    LocationConfigs []ClusterGcpLocationConfigArgs
    The location of the cluster.
    MachinePools []ClusterGcpMachinePoolArgs
    Name string
    Namespaces []ClusterGcpNamespaceArgs
    The namespaces for the cluster.
    OsPatchAfter string
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    OsPatchOnBoot bool
    Whether to apply OS patch on boot. Default is false.
    OsPatchSchedule string
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    PauseAgentUpgrades string
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    ReviewRepaveState string
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    ScanPolicy ClusterGcpScanPolicyArgs
    The scan policy for the cluster.
    SkipCompletion bool
    If true, the cluster will be created asynchronously. Default value is false.
    Tags []string
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    Timeouts ClusterGcpTimeoutsArgs
    adminKubeConfig String
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    applySetting String
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backupPolicy ClusterGcpBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloudAccountId String
    cloudConfig ClusterGcpCloudConfig
    cloudConfigId String
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    clusterGcpId String
    The ID of this resource.
    clusterMetaAttribute String
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    clusterProfiles List<ClusterGcpClusterProfile>
    clusterRbacBindings List<ClusterGcpClusterRbacBinding>
    The RBAC binding for the cluster.
    context String
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description String
    The description of the cluster. Default value is empty string.
    forceDelete Boolean
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    forceDeleteDelay Double
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    hostConfigs List<ClusterGcpHostConfig>
    The host configuration for the cluster.
    kubeconfig String
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs List<ClusterGcpLocationConfig>
    The location of the cluster.
    machinePools List<ClusterGcpMachinePool>
    name String
    namespaces List<ClusterGcpNamespace>
    The namespaces for the cluster.
    osPatchAfter String
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    osPatchOnBoot Boolean
    Whether to apply OS patch on boot. Default is false.
    osPatchSchedule String
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pauseAgentUpgrades String
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    reviewRepaveState String
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scanPolicy ClusterGcpScanPolicy
    The scan policy for the cluster.
    skipCompletion Boolean
    If true, the cluster will be created asynchronously. Default value is false.
    tags List<String>
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts ClusterGcpTimeouts
    adminKubeConfig string
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    applySetting string
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backupPolicy ClusterGcpBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloudAccountId string
    cloudConfig ClusterGcpCloudConfig
    cloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    clusterGcpId string
    The ID of this resource.
    clusterMetaAttribute string
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    clusterProfiles ClusterGcpClusterProfile[]
    clusterRbacBindings ClusterGcpClusterRbacBinding[]
    The RBAC binding for the cluster.
    context string
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description string
    The description of the cluster. Default value is empty string.
    forceDelete boolean
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    forceDeleteDelay number
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    hostConfigs ClusterGcpHostConfig[]
    The host configuration for the cluster.
    kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs ClusterGcpLocationConfig[]
    The location of the cluster.
    machinePools ClusterGcpMachinePool[]
    name string
    namespaces ClusterGcpNamespace[]
    The namespaces for the cluster.
    osPatchAfter string
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    osPatchOnBoot boolean
    Whether to apply OS patch on boot. Default is false.
    osPatchSchedule string
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pauseAgentUpgrades string
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    reviewRepaveState string
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scanPolicy ClusterGcpScanPolicy
    The scan policy for the cluster.
    skipCompletion boolean
    If true, the cluster will be created asynchronously. Default value is false.
    tags string[]
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts ClusterGcpTimeouts
    admin_kube_config str
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    apply_setting str
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backup_policy ClusterGcpBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloud_account_id str
    cloud_config ClusterGcpCloudConfigArgs
    cloud_config_id str
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    cluster_gcp_id str
    The ID of this resource.
    cluster_meta_attribute str
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    cluster_profiles Sequence[ClusterGcpClusterProfileArgs]
    cluster_rbac_bindings Sequence[ClusterGcpClusterRbacBindingArgs]
    The RBAC binding for the cluster.
    context str
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description str
    The description of the cluster. Default value is empty string.
    force_delete bool
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    force_delete_delay float
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    host_configs Sequence[ClusterGcpHostConfigArgs]
    The host configuration for the cluster.
    kubeconfig str
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    location_configs Sequence[ClusterGcpLocationConfigArgs]
    The location of the cluster.
    machine_pools Sequence[ClusterGcpMachinePoolArgs]
    name str
    namespaces Sequence[ClusterGcpNamespaceArgs]
    The namespaces for the cluster.
    os_patch_after str
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    os_patch_on_boot bool
    Whether to apply OS patch on boot. Default is false.
    os_patch_schedule str
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pause_agent_upgrades str
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    review_repave_state str
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scan_policy ClusterGcpScanPolicyArgs
    The scan policy for the cluster.
    skip_completion bool
    If true, the cluster will be created asynchronously. Default value is false.
    tags Sequence[str]
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts ClusterGcpTimeoutsArgs
    adminKubeConfig String
    Admin Kube-config for the cluster. This can be used to connect to the cluster using kubectl, With admin privilege.
    applySetting String
    The setting to apply the cluster profile. DownloadAndInstall will download and install packs in one action. DownloadAndInstallLater will only download artifact and postpone install for later. Default value is DownloadAndInstall.
    backupPolicy Property Map
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloudAccountId String
    cloudConfig Property Map
    cloudConfigId String
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    clusterGcpId String
    The ID of this resource.
    clusterMetaAttribute String
    cluster_meta_attribute can be used to set additional cluster metadata information, eg {'nic_name': 'test', 'env': 'stage'}
    clusterProfiles List<Property Map>
    clusterRbacBindings List<Property Map>
    The RBAC binding for the cluster.
    context String
    The context of the GCP cluster. Allowed values are project or tenant. Default is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    description String
    The description of the cluster. Default value is empty string.
    forceDelete Boolean
    If set to true, the cluster will be force deleted and user has to manually clean up the provisioned cloud resources.
    forceDeleteDelay Number
    Delay duration in minutes to before invoking cluster force delete. Default and minimum is 20.
    hostConfigs List<Property Map>
    The host configuration for the cluster.
    kubeconfig String
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs List<Property Map>
    The location of the cluster.
    machinePools List<Property Map>
    name String
    namespaces List<Property Map>
    The namespaces for the cluster.
    osPatchAfter String
    Date and time after which to patch cluster RFC3339: 2006-01-02T15:04:05Z07:00
    osPatchOnBoot Boolean
    Whether to apply OS patch on boot. Default is false.
    osPatchSchedule String
    Cron schedule for OS patching. This must be in the form of 0 0 * * *.
    pauseAgentUpgrades String
    The pause agent upgrades setting allows to control the automatic upgrade of the Palette component and agent for an individual cluster. The default value is unlock, meaning upgrades occur automatically. Setting it to lock pauses automatic agent upgrades for the cluster.
    reviewRepaveState String
    To authorize the cluster repave, set the value to Approved for approval and "" to decline. Default value is "".
    scanPolicy Property Map
    The scan policy for the cluster.
    skipCompletion Boolean
    If true, the cluster will be created asynchronously. Default value is false.
    tags List<String>
    A list of tags to be applied to the cluster. Tags must be in the form of key:value.
    timeouts Property Map

    Supporting Types

    ClusterGcpBackupPolicy, ClusterGcpBackupPolicyArgs

    BackupLocationId string
    The ID of the backup location to use for the backup.
    ExpiryInHour double
    The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
    Prefix string
    Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
    Schedule string
    The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
    ClusterUids List<string>
    The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
    IncludeAllClusters bool
    Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
    IncludeClusterResources bool
    Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
    IncludeClusterResourcesMode string
    Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
    IncludeDisks bool
    Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
    Namespaces List<string>
    The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
    BackupLocationId string
    The ID of the backup location to use for the backup.
    ExpiryInHour float64
    The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
    Prefix string
    Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
    Schedule string
    The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
    ClusterUids []string
    The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
    IncludeAllClusters bool
    Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
    IncludeClusterResources bool
    Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
    IncludeClusterResourcesMode string
    Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
    IncludeDisks bool
    Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
    Namespaces []string
    The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
    backupLocationId String
    The ID of the backup location to use for the backup.
    expiryInHour Double
    The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
    prefix String
    Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
    schedule String
    The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
    clusterUids List<String>
    The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
    includeAllClusters Boolean
    Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
    includeClusterResources Boolean
    Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
    includeClusterResourcesMode String
    Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
    includeDisks Boolean
    Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
    namespaces List<String>
    The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
    backupLocationId string
    The ID of the backup location to use for the backup.
    expiryInHour number
    The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
    prefix string
    Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
    schedule string
    The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
    clusterUids string[]
    The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
    includeAllClusters boolean
    Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
    includeClusterResources boolean
    Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
    includeClusterResourcesMode string
    Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
    includeDisks boolean
    Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
    namespaces string[]
    The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
    backup_location_id str
    The ID of the backup location to use for the backup.
    expiry_in_hour float
    The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
    prefix str
    Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
    schedule str
    The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
    cluster_uids Sequence[str]
    The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
    include_all_clusters bool
    Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
    include_cluster_resources bool
    Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
    include_cluster_resources_mode str
    Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
    include_disks bool
    Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
    namespaces Sequence[str]
    The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.
    backupLocationId String
    The ID of the backup location to use for the backup.
    expiryInHour Number
    The number of hours after which the backup will be deleted. For example, if the expiry is set to 24, the backup will be deleted after 24 hours.
    prefix String
    Prefix for the backup name. The backup name will be of the format \n\n-\n\n-\n\n.
    schedule String
    The schedule for the backup. The schedule is specified in cron format. For example, to run the backup every day at 1:00 AM, the schedule should be set to 0 1 * * *.
    clusterUids List<String>
    The list of cluster UIDs to include in the backup. If include_all_clusters is set to true, then all clusters will be included.
    includeAllClusters Boolean
    Whether to include all clusters in the backup. If set to false, only the clusters specified in cluster_uids will be included.
    includeClusterResources Boolean
    Indicates whether to include cluster resources in the backup. If set to false, only the cluster configuration and disks will be backed up. (Note: Starting with Palette version 4.6, the includeclusterresources attribute will be deprecated, and a new attribute, includeclusterresources_mode, will be introduced.)
    includeClusterResourcesMode String
    Specifies whether to include the cluster resources in the backup. Supported values are always, never, and auto.
    includeDisks Boolean
    Whether to include the disks in the backup. If set to false, only the cluster configuration will be backed up.
    namespaces List<String>
    The list of Kubernetes namespaces to include in the backup. If not specified, all namespaces will be included.

    ClusterGcpCloudConfig, ClusterGcpCloudConfigArgs

    Project string
    Region string
    Network string
    Project string
    Region string
    Network string
    project String
    region String
    network String
    project string
    region string
    network string
    project String
    region String
    network String

    ClusterGcpClusterProfile, ClusterGcpClusterProfileArgs

    Id string
    The ID of the cluster profile.
    Packs List<ClusterGcpClusterProfilePack>
    For packs of type spectro, helm, and manifest, at least one pack must be specified.
    Variables Dictionary<string, string>
    A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
    Id string
    The ID of the cluster profile.
    Packs []ClusterGcpClusterProfilePack
    For packs of type spectro, helm, and manifest, at least one pack must be specified.
    Variables map[string]string
    A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
    id String
    The ID of the cluster profile.
    packs List<ClusterGcpClusterProfilePack>
    For packs of type spectro, helm, and manifest, at least one pack must be specified.
    variables Map<String,String>
    A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
    id string
    The ID of the cluster profile.
    packs ClusterGcpClusterProfilePack[]
    For packs of type spectro, helm, and manifest, at least one pack must be specified.
    variables {[key: string]: string}
    A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
    id str
    The ID of the cluster profile.
    packs Sequence[ClusterGcpClusterProfilePack]
    For packs of type spectro, helm, and manifest, at least one pack must be specified.
    variables Mapping[str, str]
    A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".
    id String
    The ID of the cluster profile.
    packs List<Property Map>
    For packs of type spectro, helm, and manifest, at least one pack must be specified.
    variables Map<String>
    A map of cluster profile variables, specified as key-value pairs. For example: priority = "5".

    ClusterGcpClusterProfilePack, ClusterGcpClusterProfilePackArgs

    Name string
    The name of the pack. The name must be unique within the cluster profile.
    Manifests List<ClusterGcpClusterProfilePackManifest>
    RegistryUid string
    The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
    Tag string
    The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
    Type string
    The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
    Uid string
    The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
    Values string
    The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
    Name string
    The name of the pack. The name must be unique within the cluster profile.
    Manifests []ClusterGcpClusterProfilePackManifest
    RegistryUid string
    The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
    Tag string
    The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
    Type string
    The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
    Uid string
    The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
    Values string
    The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
    name String
    The name of the pack. The name must be unique within the cluster profile.
    manifests List<ClusterGcpClusterProfilePackManifest>
    registryUid String
    The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
    tag String
    The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
    type String
    The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
    uid String
    The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
    values String
    The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
    name string
    The name of the pack. The name must be unique within the cluster profile.
    manifests ClusterGcpClusterProfilePackManifest[]
    registryUid string
    The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
    tag string
    The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
    type string
    The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
    uid string
    The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
    values string
    The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
    name str
    The name of the pack. The name must be unique within the cluster profile.
    manifests Sequence[ClusterGcpClusterProfilePackManifest]
    registry_uid str
    The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
    tag str
    The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
    type str
    The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
    uid str
    The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
    values str
    The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.
    name String
    The name of the pack. The name must be unique within the cluster profile.
    manifests List<Property Map>
    registryUid String
    The registry UID of the pack. The registry UID is the unique identifier of the registry. This attribute is required if there is more than one registry that contains a pack with the same name.
    tag String
    The tag of the pack. The tag is the version of the pack. This attribute is required if the pack type is spectro or helm.
    type String
    The type of the pack. Allowed values are spectro, manifest, helm, or oci. The default value is spectro. If using an OCI registry for pack, set the type to oci.
    uid String
    The unique identifier of the pack. The value can be looked up using the spectrocloud.getPack data source. This value is required if the pack type is spectro and for helm if the chart is from a public helm registry.
    values String
    The values of the pack. The values are the configuration values of the pack. The values are specified in YAML format.

    ClusterGcpClusterProfilePackManifest, ClusterGcpClusterProfilePackManifestArgs

    Content string
    The content of the manifest. The content is the YAML content of the manifest.
    Name string
    The name of the manifest. The name must be unique within the pack.
    Uid string
    Content string
    The content of the manifest. The content is the YAML content of the manifest.
    Name string
    The name of the manifest. The name must be unique within the pack.
    Uid string
    content String
    The content of the manifest. The content is the YAML content of the manifest.
    name String
    The name of the manifest. The name must be unique within the pack.
    uid String
    content string
    The content of the manifest. The content is the YAML content of the manifest.
    name string
    The name of the manifest. The name must be unique within the pack.
    uid string
    content str
    The content of the manifest. The content is the YAML content of the manifest.
    name str
    The name of the manifest. The name must be unique within the pack.
    uid str
    content String
    The content of the manifest. The content is the YAML content of the manifest.
    name String
    The name of the manifest. The name must be unique within the pack.
    uid String

    ClusterGcpClusterRbacBinding, ClusterGcpClusterRbacBindingArgs

    Type string
    The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
    Namespace string
    The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    Role Dictionary<string, string>
    The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    Subjects List<ClusterGcpClusterRbacBindingSubject>
    Type string
    The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
    Namespace string
    The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    Role map[string]string
    The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    Subjects []ClusterGcpClusterRbacBindingSubject
    type String
    The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
    namespace String
    The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    role Map<String,String>
    The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    subjects List<ClusterGcpClusterRbacBindingSubject>
    type string
    The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
    namespace string
    The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    role {[key: string]: string}
    The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    subjects ClusterGcpClusterRbacBindingSubject[]
    type str
    The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
    namespace str
    The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    role Mapping[str, str]
    The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    subjects Sequence[ClusterGcpClusterRbacBindingSubject]
    type String
    The type of the RBAC binding. Can be one of the following values: RoleBinding, or ClusterRoleBinding.
    namespace String
    The Kubernetes namespace of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    role Map<String>
    The role of the RBAC binding. Required if 'type' is set to 'RoleBinding'.
    subjects List<Property Map>

    ClusterGcpClusterRbacBindingSubject, ClusterGcpClusterRbacBindingSubjectArgs

    Name string
    The name of the subject. Required if 'type' is set to 'User' or 'Group'.
    Type string
    The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
    Namespace string
    The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
    Name string
    The name of the subject. Required if 'type' is set to 'User' or 'Group'.
    Type string
    The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
    Namespace string
    The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
    name String
    The name of the subject. Required if 'type' is set to 'User' or 'Group'.
    type String
    The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
    namespace String
    The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
    name string
    The name of the subject. Required if 'type' is set to 'User' or 'Group'.
    type string
    The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
    namespace string
    The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
    name str
    The name of the subject. Required if 'type' is set to 'User' or 'Group'.
    type str
    The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
    namespace str
    The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.
    name String
    The name of the subject. Required if 'type' is set to 'User' or 'Group'.
    type String
    The type of the subject. Can be one of the following values: User, Group, or ServiceAccount.
    namespace String
    The Kubernetes namespace of the subject. Required if 'type' is set to 'ServiceAccount'.

    ClusterGcpHostConfig, ClusterGcpHostConfigArgs

    ExternalTrafficPolicy string
    The external traffic policy for the cluster.
    HostEndpointType string
    The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
    IngressHost string
    The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
    LoadBalancerSourceRanges string
    The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
    ExternalTrafficPolicy string
    The external traffic policy for the cluster.
    HostEndpointType string
    The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
    IngressHost string
    The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
    LoadBalancerSourceRanges string
    The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
    externalTrafficPolicy String
    The external traffic policy for the cluster.
    hostEndpointType String
    The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
    ingressHost String
    The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
    loadBalancerSourceRanges String
    The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
    externalTrafficPolicy string
    The external traffic policy for the cluster.
    hostEndpointType string
    The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
    ingressHost string
    The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
    loadBalancerSourceRanges string
    The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
    external_traffic_policy str
    The external traffic policy for the cluster.
    host_endpoint_type str
    The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
    ingress_host str
    The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
    load_balancer_source_ranges str
    The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.
    externalTrafficPolicy String
    The external traffic policy for the cluster.
    hostEndpointType String
    The type of endpoint for the cluster. Can be either 'Ingress' or 'LoadBalancer'. The default is 'Ingress'.
    ingressHost String
    The host for the Ingress endpoint. Required if 'hostendpointtype' is set to 'Ingress'.
    loadBalancerSourceRanges String
    The source ranges for the load balancer. Required if 'hostendpointtype' is set to 'LoadBalancer'.

    ClusterGcpLocationConfig, ClusterGcpLocationConfigArgs

    CountryCode string
    CountryName string
    Latitude double
    Longitude double
    RegionCode string
    RegionName string
    CountryCode string
    CountryName string
    Latitude float64
    Longitude float64
    RegionCode string
    RegionName string
    countryCode String
    countryName String
    latitude Double
    longitude Double
    regionCode String
    regionName String
    countryCode string
    countryName string
    latitude number
    longitude number
    regionCode string
    regionName string
    countryCode String
    countryName String
    latitude Number
    longitude Number
    regionCode String
    regionName String

    ClusterGcpMachinePool, ClusterGcpMachinePoolArgs

    Azs List<string>
    Count double
    Number of nodes in the machine pool.
    InstanceType string
    Name string
    AdditionalLabels Dictionary<string, string>
    ControlPlane bool
    Whether this machine pool is a control plane. Defaults to false.
    ControlPlaneAsWorker bool
    Whether this machine pool is a control plane and a worker. Defaults to false.
    DiskSizeGb double
    NodeRepaveInterval double
    Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is 0, Applicable only for worker pools.
    Nodes List<ClusterGcpMachinePoolNode>
    Taints List<ClusterGcpMachinePoolTaint>
    UpdateStrategy string
    Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
    Azs []string
    Count float64
    Number of nodes in the machine pool.
    InstanceType string
    Name string
    AdditionalLabels map[string]string
    ControlPlane bool
    Whether this machine pool is a control plane. Defaults to false.
    ControlPlaneAsWorker bool
    Whether this machine pool is a control plane and a worker. Defaults to false.
    DiskSizeGb float64
    NodeRepaveInterval float64
    Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is 0, Applicable only for worker pools.
    Nodes []ClusterGcpMachinePoolNode
    Taints []ClusterGcpMachinePoolTaint
    UpdateStrategy string
    Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
    azs List<String>
    count Double
    Number of nodes in the machine pool.
    instanceType String
    name String
    additionalLabels Map<String,String>
    controlPlane Boolean
    Whether this machine pool is a control plane. Defaults to false.
    controlPlaneAsWorker Boolean
    Whether this machine pool is a control plane and a worker. Defaults to false.
    diskSizeGb Double
    nodeRepaveInterval Double
    Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is 0, Applicable only for worker pools.
    nodes List<ClusterGcpMachinePoolNode>
    taints List<ClusterGcpMachinePoolTaint>
    updateStrategy String
    Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
    azs string[]
    count number
    Number of nodes in the machine pool.
    instanceType string
    name string
    additionalLabels {[key: string]: string}
    controlPlane boolean
    Whether this machine pool is a control plane. Defaults to false.
    controlPlaneAsWorker boolean
    Whether this machine pool is a control plane and a worker. Defaults to false.
    diskSizeGb number
    nodeRepaveInterval number
    Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is 0, Applicable only for worker pools.
    nodes ClusterGcpMachinePoolNode[]
    taints ClusterGcpMachinePoolTaint[]
    updateStrategy string
    Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
    azs Sequence[str]
    count float
    Number of nodes in the machine pool.
    instance_type str
    name str
    additional_labels Mapping[str, str]
    control_plane bool
    Whether this machine pool is a control plane. Defaults to false.
    control_plane_as_worker bool
    Whether this machine pool is a control plane and a worker. Defaults to false.
    disk_size_gb float
    node_repave_interval float
    Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is 0, Applicable only for worker pools.
    nodes Sequence[ClusterGcpMachinePoolNode]
    taints Sequence[ClusterGcpMachinePoolTaint]
    update_strategy str
    Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.
    azs List<String>
    count Number
    Number of nodes in the machine pool.
    instanceType String
    name String
    additionalLabels Map<String>
    controlPlane Boolean
    Whether this machine pool is a control plane. Defaults to false.
    controlPlaneAsWorker Boolean
    Whether this machine pool is a control plane and a worker. Defaults to false.
    diskSizeGb Number
    nodeRepaveInterval Number
    Minimum number of seconds node should be Ready, before the next node is selected for repave. Default value is 0, Applicable only for worker pools.
    nodes List<Property Map>
    taints List<Property Map>
    updateStrategy String
    Update strategy for the machine pool. Valid values are RollingUpdateScaleOut and RollingUpdateScaleIn.

    ClusterGcpMachinePoolNode, ClusterGcpMachinePoolNodeArgs

    Action string
    The action to perform on the node. Valid values are: cordon, uncordon.
    NodeId string
    The node_id of the node, For example i-07f899a33dee624f7
    Action string
    The action to perform on the node. Valid values are: cordon, uncordon.
    NodeId string
    The node_id of the node, For example i-07f899a33dee624f7
    action String
    The action to perform on the node. Valid values are: cordon, uncordon.
    nodeId String
    The node_id of the node, For example i-07f899a33dee624f7
    action string
    The action to perform on the node. Valid values are: cordon, uncordon.
    nodeId string
    The node_id of the node, For example i-07f899a33dee624f7
    action str
    The action to perform on the node. Valid values are: cordon, uncordon.
    node_id str
    The node_id of the node, For example i-07f899a33dee624f7
    action String
    The action to perform on the node. Valid values are: cordon, uncordon.
    nodeId String
    The node_id of the node, For example i-07f899a33dee624f7

    ClusterGcpMachinePoolTaint, ClusterGcpMachinePoolTaintArgs

    Effect string
    The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
    Key string
    The key of the taint.
    Value string
    The value of the taint.
    Effect string
    The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
    Key string
    The key of the taint.
    Value string
    The value of the taint.
    effect String
    The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
    key String
    The key of the taint.
    value String
    The value of the taint.
    effect string
    The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
    key string
    The key of the taint.
    value string
    The value of the taint.
    effect str
    The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
    key str
    The key of the taint.
    value str
    The value of the taint.
    effect String
    The effect of the taint. Allowed values are: NoSchedule, PreferNoSchedule or NoExecute.
    key String
    The key of the taint.
    value String
    The value of the taint.

    ClusterGcpNamespace, ClusterGcpNamespaceArgs

    Name string
    Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
    ResourceAllocation Dictionary<string, string>
    Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
    ImagesBlacklists List<string>
    List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
    Name string
    Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
    ResourceAllocation map[string]string
    Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
    ImagesBlacklists []string
    List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
    name String
    Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
    resourceAllocation Map<String,String>
    Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
    imagesBlacklists List<String>
    List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
    name string
    Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
    resourceAllocation {[key: string]: string}
    Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
    imagesBlacklists string[]
    List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
    name str
    Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
    resource_allocation Mapping[str, str]
    Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
    images_blacklists Sequence[str]
    List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']
    name String
    Name of the namespace. This is the name of the Kubernetes namespace in the cluster.
    resourceAllocation Map<String>
    Resource allocation for the namespace. This is a map containing the resource type and the resource value. For example, {cpu_cores: '2', memory_MiB: '2048'}
    imagesBlacklists List<String>
    List of images to disallow for the namespace. For example, ['nginx:latest', 'redis:latest']

    ClusterGcpScanPolicy, ClusterGcpScanPolicyArgs

    ConfigurationScanSchedule string
    The schedule for configuration scan.
    ConformanceScanSchedule string
    The schedule for conformance scan.
    PenetrationScanSchedule string
    The schedule for penetration scan.
    ConfigurationScanSchedule string
    The schedule for configuration scan.
    ConformanceScanSchedule string
    The schedule for conformance scan.
    PenetrationScanSchedule string
    The schedule for penetration scan.
    configurationScanSchedule String
    The schedule for configuration scan.
    conformanceScanSchedule String
    The schedule for conformance scan.
    penetrationScanSchedule String
    The schedule for penetration scan.
    configurationScanSchedule string
    The schedule for configuration scan.
    conformanceScanSchedule string
    The schedule for conformance scan.
    penetrationScanSchedule string
    The schedule for penetration scan.
    configuration_scan_schedule str
    The schedule for configuration scan.
    conformance_scan_schedule str
    The schedule for conformance scan.
    penetration_scan_schedule str
    The schedule for penetration scan.
    configurationScanSchedule String
    The schedule for configuration scan.
    conformanceScanSchedule String
    The schedule for conformance scan.
    penetrationScanSchedule String
    The schedule for penetration scan.

    ClusterGcpTimeouts, ClusterGcpTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    spectrocloud spectrocloud/terraform-provider-spectrocloud
    License
    Notes
    This Pulumi package is based on the spectrocloud Terraform Provider.
    spectrocloud logo
    spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud