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

spectrocloud.VirtualCluster

Explore with Pulumi AI

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

    A resource to manage a Palette Virtual Cluster.

    Example Usage

    Virtual Cluster Deployment

    An example of a Palette Virtual Cluster with a host and optional cluster group.

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const cluster = new spectrocloud.VirtualCluster("cluster", {
        hostClusterUid: _var.host_cluster_uid,
        resources: [{
            maxCpu: 6,
            maxMemInMb: 6000,
            minCpu: 0,
            minMemInMb: 0,
        }],
    });
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    cluster = spectrocloud.VirtualCluster("cluster",
        host_cluster_uid=var["host_cluster_uid"],
        resources=[{
            "max_cpu": 6,
            "max_mem_in_mb": 6000,
            "min_cpu": 0,
            "min_mem_in_mb": 0,
        }])
    
    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 {
    		_, err := spectrocloud.NewVirtualCluster(ctx, "cluster", &spectrocloud.VirtualClusterArgs{
    			HostClusterUid: pulumi.Any(_var.Host_cluster_uid),
    			Resources: spectrocloud.VirtualClusterResourceArray{
    				&spectrocloud.VirtualClusterResourceArgs{
    					MaxCpu:     pulumi.Float64(6),
    					MaxMemInMb: pulumi.Float64(6000),
    					MinCpu:     pulumi.Float64(0),
    					MinMemInMb: pulumi.Float64(0),
    				},
    			},
    		})
    		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 cluster = new Spectrocloud.VirtualCluster("cluster", new()
        {
            HostClusterUid = @var.Host_cluster_uid,
            Resources = new[]
            {
                new Spectrocloud.Inputs.VirtualClusterResourceArgs
                {
                    MaxCpu = 6,
                    MaxMemInMb = 6000,
                    MinCpu = 0,
                    MinMemInMb = 0,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.VirtualCluster;
    import com.pulumi.spectrocloud.VirtualClusterArgs;
    import com.pulumi.spectrocloud.inputs.VirtualClusterResourceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var cluster = new VirtualCluster("cluster", VirtualClusterArgs.builder()
                .hostClusterUid(var_.host_cluster_uid())
                .resources(VirtualClusterResourceArgs.builder()
                    .maxCpu(6)
                    .maxMemInMb(6000)
                    .minCpu(0)
                    .minMemInMb(0)
                    .build())
                .build());
    
        }
    }
    
    resources:
      cluster:
        type: spectrocloud:VirtualCluster
        properties:
          hostClusterUid: ${var.host_cluster_uid} # cluster_group_uid = var.cluster_group_uid
          resources: # optional virtual cluster config
          #   # cloud_config {
          #   #   chart_name = var.chart_name
          #   #   chart_repo = var.chart_repo
          #   #   chart_version = var.chart_version
          #   #   chart_values = var.chart_values
          #   #   k8s_version = var.k8s_version
          #   # }
            - maxCpu: 6
              maxMemInMb: 6000
              minCpu: 0
              minMemInMb: 0
    

    Create VirtualCluster Resource

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

    Constructor syntax

    new VirtualCluster(name: string, args?: VirtualClusterArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualCluster(resource_name: str,
                       args: Optional[VirtualClusterArgs] = None,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualCluster(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       apply_setting: Optional[str] = None,
                       backup_policy: Optional[VirtualClusterBackupPolicyArgs] = None,
                       cloud_config: Optional[VirtualClusterCloudConfigArgs] = None,
                       cluster_group_uid: Optional[str] = None,
                       cluster_profiles: Optional[Sequence[VirtualClusterClusterProfileArgs]] = None,
                       cluster_rbac_bindings: Optional[Sequence[VirtualClusterClusterRbacBindingArgs]] = None,
                       context: Optional[str] = None,
                       description: Optional[str] = None,
                       force_delete: Optional[bool] = None,
                       force_delete_delay: Optional[float] = None,
                       host_cluster_uid: Optional[str] = None,
                       name: Optional[str] = None,
                       namespaces: Optional[Sequence[VirtualClusterNamespaceArgs]] = None,
                       os_patch_after: Optional[str] = None,
                       os_patch_on_boot: Optional[bool] = None,
                       os_patch_schedule: Optional[str] = None,
                       pause_cluster: Optional[bool] = None,
                       resources: Optional[Sequence[VirtualClusterResourceArgs]] = None,
                       scan_policy: Optional[VirtualClusterScanPolicyArgs] = None,
                       skip_completion: Optional[bool] = None,
                       tags: Optional[Sequence[str]] = None,
                       timeouts: Optional[VirtualClusterTimeoutsArgs] = None,
                       virtual_cluster_id: Optional[str] = None)
    func NewVirtualCluster(ctx *Context, name string, args *VirtualClusterArgs, opts ...ResourceOption) (*VirtualCluster, error)
    public VirtualCluster(string name, VirtualClusterArgs? args = null, CustomResourceOptions? opts = null)
    public VirtualCluster(String name, VirtualClusterArgs args)
    public VirtualCluster(String name, VirtualClusterArgs args, CustomResourceOptions options)
    
    type: spectrocloud:VirtualCluster
    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 VirtualClusterArgs
    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 VirtualClusterArgs
    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 VirtualClusterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualClusterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualClusterArgs
    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 virtualClusterResource = new Spectrocloud.VirtualCluster("virtualClusterResource", new()
    {
        ApplySetting = "string",
        BackupPolicy = new Spectrocloud.Inputs.VirtualClusterBackupPolicyArgs
        {
            BackupLocationId = "string",
            ExpiryInHour = 0,
            Prefix = "string",
            Schedule = "string",
            ClusterUids = new[]
            {
                "string",
            },
            IncludeAllClusters = false,
            IncludeClusterResources = false,
            IncludeClusterResourcesMode = "string",
            IncludeDisks = false,
            Namespaces = new[]
            {
                "string",
            },
        },
        CloudConfig = new Spectrocloud.Inputs.VirtualClusterCloudConfigArgs
        {
            ChartName = "string",
            ChartRepo = "string",
            ChartValues = "string",
            ChartVersion = "string",
            K8sVersion = "string",
        },
        ClusterGroupUid = "string",
        ClusterProfiles = new[]
        {
            new Spectrocloud.Inputs.VirtualClusterClusterProfileArgs
            {
                Id = "string",
                Packs = new[]
                {
                    new Spectrocloud.Inputs.VirtualClusterClusterProfilePackArgs
                    {
                        Name = "string",
                        Manifests = new[]
                        {
                            new Spectrocloud.Inputs.VirtualClusterClusterProfilePackManifestArgs
                            {
                                Content = "string",
                                Name = "string",
                                Uid = "string",
                            },
                        },
                        RegistryUid = "string",
                        Tag = "string",
                        Type = "string",
                        Uid = "string",
                        Values = "string",
                    },
                },
                Variables = 
                {
                    { "string", "string" },
                },
            },
        },
        ClusterRbacBindings = new[]
        {
            new Spectrocloud.Inputs.VirtualClusterClusterRbacBindingArgs
            {
                Type = "string",
                Namespace = "string",
                Role = 
                {
                    { "string", "string" },
                },
                Subjects = new[]
                {
                    new Spectrocloud.Inputs.VirtualClusterClusterRbacBindingSubjectArgs
                    {
                        Name = "string",
                        Type = "string",
                        Namespace = "string",
                    },
                },
            },
        },
        Context = "string",
        Description = "string",
        ForceDelete = false,
        ForceDeleteDelay = 0,
        HostClusterUid = "string",
        Name = "string",
        Namespaces = new[]
        {
            new Spectrocloud.Inputs.VirtualClusterNamespaceArgs
            {
                Name = "string",
                ResourceAllocation = 
                {
                    { "string", "string" },
                },
                ImagesBlacklists = new[]
                {
                    "string",
                },
            },
        },
        OsPatchAfter = "string",
        OsPatchOnBoot = false,
        OsPatchSchedule = "string",
        PauseCluster = false,
        Resources = new[]
        {
            new Spectrocloud.Inputs.VirtualClusterResourceArgs
            {
                MaxCpu = 0,
                MaxMemInMb = 0,
                MaxStorageInGb = 0,
                MinCpu = 0,
                MinMemInMb = 0,
                MinStorageInGb = 0,
            },
        },
        ScanPolicy = new Spectrocloud.Inputs.VirtualClusterScanPolicyArgs
        {
            ConfigurationScanSchedule = "string",
            ConformanceScanSchedule = "string",
            PenetrationScanSchedule = "string",
        },
        SkipCompletion = false,
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Spectrocloud.Inputs.VirtualClusterTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        VirtualClusterId = "string",
    });
    
    example, err := spectrocloud.NewVirtualCluster(ctx, "virtualClusterResource", &spectrocloud.VirtualClusterArgs{
    	ApplySetting: pulumi.String("string"),
    	BackupPolicy: &spectrocloud.VirtualClusterBackupPolicyArgs{
    		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"),
    		},
    	},
    	CloudConfig: &spectrocloud.VirtualClusterCloudConfigArgs{
    		ChartName:    pulumi.String("string"),
    		ChartRepo:    pulumi.String("string"),
    		ChartValues:  pulumi.String("string"),
    		ChartVersion: pulumi.String("string"),
    		K8sVersion:   pulumi.String("string"),
    	},
    	ClusterGroupUid: pulumi.String("string"),
    	ClusterProfiles: spectrocloud.VirtualClusterClusterProfileArray{
    		&spectrocloud.VirtualClusterClusterProfileArgs{
    			Id: pulumi.String("string"),
    			Packs: spectrocloud.VirtualClusterClusterProfilePackArray{
    				&spectrocloud.VirtualClusterClusterProfilePackArgs{
    					Name: pulumi.String("string"),
    					Manifests: spectrocloud.VirtualClusterClusterProfilePackManifestArray{
    						&spectrocloud.VirtualClusterClusterProfilePackManifestArgs{
    							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.VirtualClusterClusterRbacBindingArray{
    		&spectrocloud.VirtualClusterClusterRbacBindingArgs{
    			Type:      pulumi.String("string"),
    			Namespace: pulumi.String("string"),
    			Role: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    			Subjects: spectrocloud.VirtualClusterClusterRbacBindingSubjectArray{
    				&spectrocloud.VirtualClusterClusterRbacBindingSubjectArgs{
    					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),
    	HostClusterUid:   pulumi.String("string"),
    	Name:             pulumi.String("string"),
    	Namespaces: spectrocloud.VirtualClusterNamespaceArray{
    		&spectrocloud.VirtualClusterNamespaceArgs{
    			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"),
    	PauseCluster:    pulumi.Bool(false),
    	Resources: spectrocloud.VirtualClusterResourceArray{
    		&spectrocloud.VirtualClusterResourceArgs{
    			MaxCpu:         pulumi.Float64(0),
    			MaxMemInMb:     pulumi.Float64(0),
    			MaxStorageInGb: pulumi.Float64(0),
    			MinCpu:         pulumi.Float64(0),
    			MinMemInMb:     pulumi.Float64(0),
    			MinStorageInGb: pulumi.Float64(0),
    		},
    	},
    	ScanPolicy: &spectrocloud.VirtualClusterScanPolicyArgs{
    		ConfigurationScanSchedule: pulumi.String("string"),
    		ConformanceScanSchedule:   pulumi.String("string"),
    		PenetrationScanSchedule:   pulumi.String("string"),
    	},
    	SkipCompletion: pulumi.Bool(false),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &spectrocloud.VirtualClusterTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	VirtualClusterId: pulumi.String("string"),
    })
    
    var virtualClusterResource = new VirtualCluster("virtualClusterResource", VirtualClusterArgs.builder()
        .applySetting("string")
        .backupPolicy(VirtualClusterBackupPolicyArgs.builder()
            .backupLocationId("string")
            .expiryInHour(0)
            .prefix("string")
            .schedule("string")
            .clusterUids("string")
            .includeAllClusters(false)
            .includeClusterResources(false)
            .includeClusterResourcesMode("string")
            .includeDisks(false)
            .namespaces("string")
            .build())
        .cloudConfig(VirtualClusterCloudConfigArgs.builder()
            .chartName("string")
            .chartRepo("string")
            .chartValues("string")
            .chartVersion("string")
            .k8sVersion("string")
            .build())
        .clusterGroupUid("string")
        .clusterProfiles(VirtualClusterClusterProfileArgs.builder()
            .id("string")
            .packs(VirtualClusterClusterProfilePackArgs.builder()
                .name("string")
                .manifests(VirtualClusterClusterProfilePackManifestArgs.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(VirtualClusterClusterRbacBindingArgs.builder()
            .type("string")
            .namespace("string")
            .role(Map.of("string", "string"))
            .subjects(VirtualClusterClusterRbacBindingSubjectArgs.builder()
                .name("string")
                .type("string")
                .namespace("string")
                .build())
            .build())
        .context("string")
        .description("string")
        .forceDelete(false)
        .forceDeleteDelay(0)
        .hostClusterUid("string")
        .name("string")
        .namespaces(VirtualClusterNamespaceArgs.builder()
            .name("string")
            .resourceAllocation(Map.of("string", "string"))
            .imagesBlacklists("string")
            .build())
        .osPatchAfter("string")
        .osPatchOnBoot(false)
        .osPatchSchedule("string")
        .pauseCluster(false)
        .resources(VirtualClusterResourceArgs.builder()
            .maxCpu(0)
            .maxMemInMb(0)
            .maxStorageInGb(0)
            .minCpu(0)
            .minMemInMb(0)
            .minStorageInGb(0)
            .build())
        .scanPolicy(VirtualClusterScanPolicyArgs.builder()
            .configurationScanSchedule("string")
            .conformanceScanSchedule("string")
            .penetrationScanSchedule("string")
            .build())
        .skipCompletion(false)
        .tags("string")
        .timeouts(VirtualClusterTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .virtualClusterId("string")
        .build());
    
    virtual_cluster_resource = spectrocloud.VirtualCluster("virtualClusterResource",
        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"],
        },
        cloud_config={
            "chart_name": "string",
            "chart_repo": "string",
            "chart_values": "string",
            "chart_version": "string",
            "k8s_version": "string",
        },
        cluster_group_uid="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,
        host_cluster_uid="string",
        name="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_cluster=False,
        resources=[{
            "max_cpu": 0,
            "max_mem_in_mb": 0,
            "max_storage_in_gb": 0,
            "min_cpu": 0,
            "min_mem_in_mb": 0,
            "min_storage_in_gb": 0,
        }],
        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",
        },
        virtual_cluster_id="string")
    
    const virtualClusterResource = new spectrocloud.VirtualCluster("virtualClusterResource", {
        applySetting: "string",
        backupPolicy: {
            backupLocationId: "string",
            expiryInHour: 0,
            prefix: "string",
            schedule: "string",
            clusterUids: ["string"],
            includeAllClusters: false,
            includeClusterResources: false,
            includeClusterResourcesMode: "string",
            includeDisks: false,
            namespaces: ["string"],
        },
        cloudConfig: {
            chartName: "string",
            chartRepo: "string",
            chartValues: "string",
            chartVersion: "string",
            k8sVersion: "string",
        },
        clusterGroupUid: "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,
        hostClusterUid: "string",
        name: "string",
        namespaces: [{
            name: "string",
            resourceAllocation: {
                string: "string",
            },
            imagesBlacklists: ["string"],
        }],
        osPatchAfter: "string",
        osPatchOnBoot: false,
        osPatchSchedule: "string",
        pauseCluster: false,
        resources: [{
            maxCpu: 0,
            maxMemInMb: 0,
            maxStorageInGb: 0,
            minCpu: 0,
            minMemInMb: 0,
            minStorageInGb: 0,
        }],
        scanPolicy: {
            configurationScanSchedule: "string",
            conformanceScanSchedule: "string",
            penetrationScanSchedule: "string",
        },
        skipCompletion: false,
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        virtualClusterId: "string",
    });
    
    type: spectrocloud:VirtualCluster
    properties:
        applySetting: string
        backupPolicy:
            backupLocationId: string
            clusterUids:
                - string
            expiryInHour: 0
            includeAllClusters: false
            includeClusterResources: false
            includeClusterResourcesMode: string
            includeDisks: false
            namespaces:
                - string
            prefix: string
            schedule: string
        cloudConfig:
            chartName: string
            chartRepo: string
            chartValues: string
            chartVersion: string
            k8sVersion: string
        clusterGroupUid: 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
        hostClusterUid: string
        name: string
        namespaces:
            - imagesBlacklists:
                - string
              name: string
              resourceAllocation:
                string: string
        osPatchAfter: string
        osPatchOnBoot: false
        osPatchSchedule: string
        pauseCluster: false
        resources:
            - maxCpu: 0
              maxMemInMb: 0
              maxStorageInGb: 0
              minCpu: 0
              minMemInMb: 0
              minStorageInGb: 0
        scanPolicy:
            configurationScanSchedule: string
            conformanceScanSchedule: string
            penetrationScanSchedule: string
        skipCompletion: false
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
        virtualClusterId: string
    

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

    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 VirtualClusterBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    CloudConfig VirtualClusterCloudConfig
    ClusterGroupUid string
    ClusterProfiles List<VirtualClusterClusterProfile>
    ClusterRbacBindings List<VirtualClusterClusterRbacBinding>
    The RBAC binding for the cluster.
    Context string
    The context of the virtual 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.
    HostClusterUid string
    Name string
    Namespaces List<VirtualClusterNamespace>
    The namespaces for the cluster.
    OsPatchAfter string
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    PauseCluster bool
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    Resources List<VirtualClusterResource>
    ScanPolicy VirtualClusterScanPolicy
    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 VirtualClusterTimeouts
    VirtualClusterId string
    The ID of this resource.
    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 VirtualClusterBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    CloudConfig VirtualClusterCloudConfigArgs
    ClusterGroupUid string
    ClusterProfiles []VirtualClusterClusterProfileArgs
    ClusterRbacBindings []VirtualClusterClusterRbacBindingArgs
    The RBAC binding for the cluster.
    Context string
    The context of the virtual 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.
    HostClusterUid string
    Name string
    Namespaces []VirtualClusterNamespaceArgs
    The namespaces for the cluster.
    OsPatchAfter string
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    PauseCluster bool
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    Resources []VirtualClusterResourceArgs
    ScanPolicy VirtualClusterScanPolicyArgs
    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 VirtualClusterTimeoutsArgs
    VirtualClusterId string
    The ID of this resource.
    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 VirtualClusterBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloudConfig VirtualClusterCloudConfig
    clusterGroupUid String
    clusterProfiles List<VirtualClusterClusterProfile>
    clusterRbacBindings List<VirtualClusterClusterRbacBinding>
    The RBAC binding for the cluster.
    context String
    The context of the virtual 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.
    hostClusterUid String
    name String
    namespaces List<VirtualClusterNamespace>
    The namespaces for the cluster.
    osPatchAfter String
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    pauseCluster Boolean
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources List<VirtualClusterResource>
    scanPolicy VirtualClusterScanPolicy
    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 VirtualClusterTimeouts
    virtualClusterId String
    The ID of this resource.
    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 VirtualClusterBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloudConfig VirtualClusterCloudConfig
    clusterGroupUid string
    clusterProfiles VirtualClusterClusterProfile[]
    clusterRbacBindings VirtualClusterClusterRbacBinding[]
    The RBAC binding for the cluster.
    context string
    The context of the virtual 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.
    hostClusterUid string
    name string
    namespaces VirtualClusterNamespace[]
    The namespaces for the cluster.
    osPatchAfter string
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    pauseCluster boolean
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources VirtualClusterResource[]
    scanPolicy VirtualClusterScanPolicy
    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 VirtualClusterTimeouts
    virtualClusterId string
    The ID of this resource.
    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 VirtualClusterBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloud_config VirtualClusterCloudConfigArgs
    cluster_group_uid str
    cluster_profiles Sequence[VirtualClusterClusterProfileArgs]
    cluster_rbac_bindings Sequence[VirtualClusterClusterRbacBindingArgs]
    The RBAC binding for the cluster.
    context str
    The context of the virtual 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_cluster_uid str
    name str
    namespaces Sequence[VirtualClusterNamespaceArgs]
    The namespaces for the cluster.
    os_patch_after str
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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_cluster bool
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources Sequence[VirtualClusterResourceArgs]
    scan_policy VirtualClusterScanPolicyArgs
    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 VirtualClusterTimeoutsArgs
    virtual_cluster_id str
    The ID of this resource.
    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.
    cloudConfig Property Map
    clusterGroupUid String
    clusterProfiles List<Property Map>
    clusterRbacBindings List<Property Map>
    The RBAC binding for the cluster.
    context String
    The context of the virtual 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.
    hostClusterUid String
    name String
    namespaces List<Property Map>
    The namespaces for the cluster.
    osPatchAfter String
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    pauseCluster Boolean
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources List<Property Map>
    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
    virtualClusterId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualCluster 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<VirtualClusterLocationConfig>
    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 []VirtualClusterLocationConfig
    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<VirtualClusterLocationConfig>
    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 VirtualClusterLocationConfig[]
    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[VirtualClusterLocationConfig]
    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 VirtualCluster Resource

    Get an existing VirtualCluster 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?: VirtualClusterState, opts?: CustomResourceOptions): VirtualCluster
    @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[VirtualClusterBackupPolicyArgs] = None,
            cloud_config: Optional[VirtualClusterCloudConfigArgs] = None,
            cloud_config_id: Optional[str] = None,
            cluster_group_uid: Optional[str] = None,
            cluster_profiles: Optional[Sequence[VirtualClusterClusterProfileArgs]] = None,
            cluster_rbac_bindings: Optional[Sequence[VirtualClusterClusterRbacBindingArgs]] = None,
            context: Optional[str] = None,
            description: Optional[str] = None,
            force_delete: Optional[bool] = None,
            force_delete_delay: Optional[float] = None,
            host_cluster_uid: Optional[str] = None,
            kubeconfig: Optional[str] = None,
            location_configs: Optional[Sequence[VirtualClusterLocationConfigArgs]] = None,
            name: Optional[str] = None,
            namespaces: Optional[Sequence[VirtualClusterNamespaceArgs]] = None,
            os_patch_after: Optional[str] = None,
            os_patch_on_boot: Optional[bool] = None,
            os_patch_schedule: Optional[str] = None,
            pause_cluster: Optional[bool] = None,
            resources: Optional[Sequence[VirtualClusterResourceArgs]] = None,
            scan_policy: Optional[VirtualClusterScanPolicyArgs] = None,
            skip_completion: Optional[bool] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[VirtualClusterTimeoutsArgs] = None,
            virtual_cluster_id: Optional[str] = None) -> VirtualCluster
    func GetVirtualCluster(ctx *Context, name string, id IDInput, state *VirtualClusterState, opts ...ResourceOption) (*VirtualCluster, error)
    public static VirtualCluster Get(string name, Input<string> id, VirtualClusterState? state, CustomResourceOptions? opts = null)
    public static VirtualCluster get(String name, Output<String> id, VirtualClusterState state, CustomResourceOptions options)
    resources:  _:    type: spectrocloud:VirtualCluster    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 VirtualClusterBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    CloudConfig VirtualClusterCloudConfig
    CloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    ClusterGroupUid string
    ClusterProfiles List<VirtualClusterClusterProfile>
    ClusterRbacBindings List<VirtualClusterClusterRbacBinding>
    The RBAC binding for the cluster.
    Context string
    The context of the virtual 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.
    HostClusterUid string
    Kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    LocationConfigs List<VirtualClusterLocationConfig>
    The location of the cluster.
    Name string
    Namespaces List<VirtualClusterNamespace>
    The namespaces for the cluster.
    OsPatchAfter string
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    PauseCluster bool
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    Resources List<VirtualClusterResource>
    ScanPolicy VirtualClusterScanPolicy
    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 VirtualClusterTimeouts
    VirtualClusterId string
    The ID of this resource.
    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 VirtualClusterBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    CloudConfig VirtualClusterCloudConfigArgs
    CloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    ClusterGroupUid string
    ClusterProfiles []VirtualClusterClusterProfileArgs
    ClusterRbacBindings []VirtualClusterClusterRbacBindingArgs
    The RBAC binding for the cluster.
    Context string
    The context of the virtual 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.
    HostClusterUid string
    Kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    LocationConfigs []VirtualClusterLocationConfigArgs
    The location of the cluster.
    Name string
    Namespaces []VirtualClusterNamespaceArgs
    The namespaces for the cluster.
    OsPatchAfter string
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    PauseCluster bool
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    Resources []VirtualClusterResourceArgs
    ScanPolicy VirtualClusterScanPolicyArgs
    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 VirtualClusterTimeoutsArgs
    VirtualClusterId string
    The ID of this resource.
    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 VirtualClusterBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloudConfig VirtualClusterCloudConfig
    cloudConfigId String
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    clusterGroupUid String
    clusterProfiles List<VirtualClusterClusterProfile>
    clusterRbacBindings List<VirtualClusterClusterRbacBinding>
    The RBAC binding for the cluster.
    context String
    The context of the virtual 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.
    hostClusterUid String
    kubeconfig String
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs List<VirtualClusterLocationConfig>
    The location of the cluster.
    name String
    namespaces List<VirtualClusterNamespace>
    The namespaces for the cluster.
    osPatchAfter String
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    pauseCluster Boolean
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources List<VirtualClusterResource>
    scanPolicy VirtualClusterScanPolicy
    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 VirtualClusterTimeouts
    virtualClusterId String
    The ID of this resource.
    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 VirtualClusterBackupPolicy
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloudConfig VirtualClusterCloudConfig
    cloudConfigId string
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    clusterGroupUid string
    clusterProfiles VirtualClusterClusterProfile[]
    clusterRbacBindings VirtualClusterClusterRbacBinding[]
    The RBAC binding for the cluster.
    context string
    The context of the virtual 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.
    hostClusterUid string
    kubeconfig string
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    locationConfigs VirtualClusterLocationConfig[]
    The location of the cluster.
    name string
    namespaces VirtualClusterNamespace[]
    The namespaces for the cluster.
    osPatchAfter string
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    pauseCluster boolean
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources VirtualClusterResource[]
    scanPolicy VirtualClusterScanPolicy
    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 VirtualClusterTimeouts
    virtualClusterId string
    The ID of this resource.
    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 VirtualClusterBackupPolicyArgs
    The backup policy for the cluster. If not specified, no backups will be taken.
    cloud_config VirtualClusterCloudConfigArgs
    cloud_config_id str
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    cluster_group_uid str
    cluster_profiles Sequence[VirtualClusterClusterProfileArgs]
    cluster_rbac_bindings Sequence[VirtualClusterClusterRbacBindingArgs]
    The RBAC binding for the cluster.
    context str
    The context of the virtual 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_cluster_uid str
    kubeconfig str
    Kubeconfig for the cluster. This can be used to connect to the cluster using kubectl.
    location_configs Sequence[VirtualClusterLocationConfigArgs]
    The location of the cluster.
    name str
    namespaces Sequence[VirtualClusterNamespaceArgs]
    The namespaces for the cluster.
    os_patch_after str
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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_cluster bool
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources Sequence[VirtualClusterResourceArgs]
    scan_policy VirtualClusterScanPolicyArgs
    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 VirtualClusterTimeoutsArgs
    virtual_cluster_id str
    The ID of this resource.
    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.
    cloudConfig Property Map
    cloudConfigId String
    ID of the cloud config used for the cluster. This cloud config must be of type azure.

    Deprecated: Deprecated

    clusterGroupUid String
    clusterProfiles List<Property Map>
    clusterRbacBindings List<Property Map>
    The RBAC binding for the cluster.
    context String
    The context of the virtual 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.
    hostClusterUid String
    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.
    name String
    namespaces List<Property Map>
    The namespaces for the cluster.
    osPatchAfter String
    The date and time after which to patch the cluster. Prefix the time value with the respective RFC. Ex: 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 * * *.
    pauseCluster Boolean
    To pause and resume cluster state. Set to true to pause running cluster & false to resume it.
    resources List<Property Map>
    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
    virtualClusterId String
    The ID of this resource.

    Supporting Types

    VirtualClusterBackupPolicy, VirtualClusterBackupPolicyArgs

    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.

    VirtualClusterCloudConfig, VirtualClusterCloudConfigArgs

    ChartName string
    ChartRepo string
    ChartValues string
    ChartVersion string
    K8sVersion string
    ChartName string
    ChartRepo string
    ChartValues string
    ChartVersion string
    K8sVersion string
    chartName String
    chartRepo String
    chartValues String
    chartVersion String
    k8sVersion String
    chartName string
    chartRepo string
    chartValues string
    chartVersion string
    k8sVersion string
    chartName String
    chartRepo String
    chartValues String
    chartVersion String
    k8sVersion String

    VirtualClusterClusterProfile, VirtualClusterClusterProfileArgs

    Id string
    The ID of the cluster profile.
    Packs List<VirtualClusterClusterProfilePack>
    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 []VirtualClusterClusterProfilePack
    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<VirtualClusterClusterProfilePack>
    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 VirtualClusterClusterProfilePack[]
    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[VirtualClusterClusterProfilePack]
    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".

    VirtualClusterClusterProfilePack, VirtualClusterClusterProfilePackArgs

    Name string
    The name of the pack. The name must be unique within the cluster profile.
    Manifests List<VirtualClusterClusterProfilePackManifest>
    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 []VirtualClusterClusterProfilePackManifest
    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<VirtualClusterClusterProfilePackManifest>
    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 VirtualClusterClusterProfilePackManifest[]
    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[VirtualClusterClusterProfilePackManifest]
    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.

    VirtualClusterClusterProfilePackManifest, VirtualClusterClusterProfilePackManifestArgs

    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

    VirtualClusterClusterRbacBinding, VirtualClusterClusterRbacBindingArgs

    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<VirtualClusterClusterRbacBindingSubject>
    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 []VirtualClusterClusterRbacBindingSubject
    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<VirtualClusterClusterRbacBindingSubject>
    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 VirtualClusterClusterRbacBindingSubject[]
    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[VirtualClusterClusterRbacBindingSubject]
    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>

    VirtualClusterClusterRbacBindingSubject, VirtualClusterClusterRbacBindingSubjectArgs

    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'.

    VirtualClusterLocationConfig, VirtualClusterLocationConfigArgs

    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

    VirtualClusterNamespace, VirtualClusterNamespaceArgs

    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']

    VirtualClusterResource, VirtualClusterResourceArgs

    MaxCpu double
    MaxMemInMb double
    MaxStorageInGb double
    MinCpu double
    MinMemInMb double
    MinStorageInGb double
    MaxCpu float64
    MaxMemInMb float64
    MaxStorageInGb float64
    MinCpu float64
    MinMemInMb float64
    MinStorageInGb float64
    maxCpu Double
    maxMemInMb Double
    maxStorageInGb Double
    minCpu Double
    minMemInMb Double
    minStorageInGb Double
    maxCpu number
    maxMemInMb number
    maxStorageInGb number
    minCpu number
    minMemInMb number
    minStorageInGb number
    maxCpu Number
    maxMemInMb Number
    maxStorageInGb Number
    minCpu Number
    minMemInMb Number
    minStorageInGb Number

    VirtualClusterScanPolicy, VirtualClusterScanPolicyArgs

    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.

    VirtualClusterTimeouts, VirtualClusterTimeoutsArgs

    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