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

spectrocloud.ClusterGroup

Explore with Pulumi AI

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

    Example Usage

    Cluster Group

    An example of how to provision a Palette Cluster Group.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.ClusterGroup;
    import com.pulumi.spectrocloud.ClusterGroupArgs;
    import com.pulumi.spectrocloud.inputs.ClusterGroupClusterArgs;
    import com.pulumi.spectrocloud.inputs.ClusterGroupConfigArgs;
    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 cg = new ClusterGroup("cg", ClusterGroupArgs.builder()
                .clusters(            
                    ClusterGroupClusterArgs.builder()
                        .clusterUid(data.spectrocloud_cluster().host_cluster0().id())
                        .host("*.test.com")
                        .build(),
                    ClusterGroupClusterArgs.builder()
                        .clusterUid(data.spectrocloud_cluster().host_cluster1().id())
                        .host("*")
                        .build())
                .config(ClusterGroupConfigArgs.builder()
                    .hostEndpointType("LoadBalancer")
                    .cpuMillicore(6000)
                    .memoryInMb(8192)
                    .storageInGb(10)
                    .oversubscriptionPercent(120)
                    .build())
                .build());
    
        }
    }
    
    resources:
      cg:
        type: spectrocloud:ClusterGroup
        properties:
          clusters:
            - clusterUid: ${data.spectrocloud_cluster.host_cluster0.id}
              host: '*.test.com'
            - clusterUid: ${data.spectrocloud_cluster.host_cluster1.id}
              host: '*'
          config:
            hostEndpointType: LoadBalancer
            cpuMillicore: 6000
            memoryInMb: 8192
            storageInGb: 10
            oversubscriptionPercent: 120
    

    Create ClusterGroup Resource

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

    Constructor syntax

    new ClusterGroup(name: string, args: ClusterGroupArgs, opts?: CustomResourceOptions);
    @overload
    def ClusterGroup(resource_name: str,
                     args: ClusterGroupArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClusterGroup(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     config: Optional[ClusterGroupConfigArgs] = None,
                     cluster_group_id: Optional[str] = None,
                     cluster_profiles: Optional[Sequence[ClusterGroupClusterProfileArgs]] = None,
                     clusters: Optional[Sequence[ClusterGroupClusterArgs]] = None,
                     context: Optional[str] = None,
                     description: Optional[str] = None,
                     name: Optional[str] = None,
                     tags: Optional[Sequence[str]] = None,
                     timeouts: Optional[ClusterGroupTimeoutsArgs] = None)
    func NewClusterGroup(ctx *Context, name string, args ClusterGroupArgs, opts ...ResourceOption) (*ClusterGroup, error)
    public ClusterGroup(string name, ClusterGroupArgs args, CustomResourceOptions? opts = null)
    public ClusterGroup(String name, ClusterGroupArgs args)
    public ClusterGroup(String name, ClusterGroupArgs args, CustomResourceOptions options)
    
    type: spectrocloud:ClusterGroup
    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 ClusterGroupArgs
    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 ClusterGroupArgs
    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 ClusterGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterGroupArgs
    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 clusterGroupResource = new Spectrocloud.ClusterGroup("clusterGroupResource", new()
    {
        Config = new Spectrocloud.Inputs.ClusterGroupConfigArgs
        {
            CpuMillicore = 0,
            HostEndpointType = "string",
            K8sDistribution = "string",
            MemoryInMb = 0,
            OversubscriptionPercent = 0,
            StorageInGb = 0,
            Values = "string",
        },
        ClusterGroupId = "string",
        ClusterProfiles = new[]
        {
            new Spectrocloud.Inputs.ClusterGroupClusterProfileArgs
            {
                Id = "string",
                Packs = new[]
                {
                    new Spectrocloud.Inputs.ClusterGroupClusterProfilePackArgs
                    {
                        Name = "string",
                        Manifests = new[]
                        {
                            new Spectrocloud.Inputs.ClusterGroupClusterProfilePackManifestArgs
                            {
                                Content = "string",
                                Name = "string",
                                Uid = "string",
                            },
                        },
                        RegistryUid = "string",
                        Tag = "string",
                        Type = "string",
                        Uid = "string",
                        Values = "string",
                    },
                },
                Variables = 
                {
                    { "string", "string" },
                },
            },
        },
        Clusters = new[]
        {
            new Spectrocloud.Inputs.ClusterGroupClusterArgs
            {
                ClusterUid = "string",
                HostDns = "string",
            },
        },
        Context = "string",
        Description = "string",
        Name = "string",
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Spectrocloud.Inputs.ClusterGroupTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := spectrocloud.NewClusterGroup(ctx, "clusterGroupResource", &spectrocloud.ClusterGroupArgs{
    	Config: &spectrocloud.ClusterGroupConfigArgs{
    		CpuMillicore:            pulumi.Float64(0),
    		HostEndpointType:        pulumi.String("string"),
    		K8sDistribution:         pulumi.String("string"),
    		MemoryInMb:              pulumi.Float64(0),
    		OversubscriptionPercent: pulumi.Float64(0),
    		StorageInGb:             pulumi.Float64(0),
    		Values:                  pulumi.String("string"),
    	},
    	ClusterGroupId: pulumi.String("string"),
    	ClusterProfiles: spectrocloud.ClusterGroupClusterProfileArray{
    		&spectrocloud.ClusterGroupClusterProfileArgs{
    			Id: pulumi.String("string"),
    			Packs: spectrocloud.ClusterGroupClusterProfilePackArray{
    				&spectrocloud.ClusterGroupClusterProfilePackArgs{
    					Name: pulumi.String("string"),
    					Manifests: spectrocloud.ClusterGroupClusterProfilePackManifestArray{
    						&spectrocloud.ClusterGroupClusterProfilePackManifestArgs{
    							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"),
    			},
    		},
    	},
    	Clusters: spectrocloud.ClusterGroupClusterArray{
    		&spectrocloud.ClusterGroupClusterArgs{
    			ClusterUid: pulumi.String("string"),
    			HostDns:    pulumi.String("string"),
    		},
    	},
    	Context:     pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &spectrocloud.ClusterGroupTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var clusterGroupResource = new ClusterGroup("clusterGroupResource", ClusterGroupArgs.builder()
        .config(ClusterGroupConfigArgs.builder()
            .cpuMillicore(0)
            .hostEndpointType("string")
            .k8sDistribution("string")
            .memoryInMb(0)
            .oversubscriptionPercent(0)
            .storageInGb(0)
            .values("string")
            .build())
        .clusterGroupId("string")
        .clusterProfiles(ClusterGroupClusterProfileArgs.builder()
            .id("string")
            .packs(ClusterGroupClusterProfilePackArgs.builder()
                .name("string")
                .manifests(ClusterGroupClusterProfilePackManifestArgs.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())
        .clusters(ClusterGroupClusterArgs.builder()
            .clusterUid("string")
            .hostDns("string")
            .build())
        .context("string")
        .description("string")
        .name("string")
        .tags("string")
        .timeouts(ClusterGroupTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    cluster_group_resource = spectrocloud.ClusterGroup("clusterGroupResource",
        config={
            "cpu_millicore": 0,
            "host_endpoint_type": "string",
            "k8s_distribution": "string",
            "memory_in_mb": 0,
            "oversubscription_percent": 0,
            "storage_in_gb": 0,
            "values": "string",
        },
        cluster_group_id="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",
            },
        }],
        clusters=[{
            "cluster_uid": "string",
            "host_dns": "string",
        }],
        context="string",
        description="string",
        name="string",
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const clusterGroupResource = new spectrocloud.ClusterGroup("clusterGroupResource", {
        config: {
            cpuMillicore: 0,
            hostEndpointType: "string",
            k8sDistribution: "string",
            memoryInMb: 0,
            oversubscriptionPercent: 0,
            storageInGb: 0,
            values: "string",
        },
        clusterGroupId: "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",
            },
        }],
        clusters: [{
            clusterUid: "string",
            hostDns: "string",
        }],
        context: "string",
        description: "string",
        name: "string",
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: spectrocloud:ClusterGroup
    properties:
        clusterGroupId: 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
        clusters:
            - clusterUid: string
              hostDns: string
        config:
            cpuMillicore: 0
            hostEndpointType: string
            k8sDistribution: string
            memoryInMb: 0
            oversubscriptionPercent: 0
            storageInGb: 0
            values: string
        context: string
        description: string
        name: string
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    Config ClusterGroupConfig
    ClusterGroupId string
    The ID of this resource.
    ClusterProfiles List<ClusterGroupClusterProfile>
    Clusters List<ClusterGroupCluster>
    A list of clusters to include in the cluster group.
    Context string
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    Name string
    Name of the cluster group
    Tags List<string>
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    Timeouts ClusterGroupTimeouts
    Config ClusterGroupConfigArgs
    ClusterGroupId string
    The ID of this resource.
    ClusterProfiles []ClusterGroupClusterProfileArgs
    Clusters []ClusterGroupClusterArgs
    A list of clusters to include in the cluster group.
    Context string
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    Name string
    Name of the cluster group
    Tags []string
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    Timeouts ClusterGroupTimeoutsArgs
    config ClusterGroupConfig
    clusterGroupId String
    The ID of this resource.
    clusterProfiles List<ClusterGroupClusterProfile>
    clusters List<ClusterGroupCluster>
    A list of clusters to include in the cluster group.
    context String
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name String
    Name of the cluster group
    tags List<String>
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts ClusterGroupTimeouts
    config ClusterGroupConfig
    clusterGroupId string
    The ID of this resource.
    clusterProfiles ClusterGroupClusterProfile[]
    clusters ClusterGroupCluster[]
    A list of clusters to include in the cluster group.
    context string
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name string
    Name of the cluster group
    tags string[]
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts ClusterGroupTimeouts
    config ClusterGroupConfigArgs
    cluster_group_id str
    The ID of this resource.
    cluster_profiles Sequence[ClusterGroupClusterProfileArgs]
    clusters Sequence[ClusterGroupClusterArgs]
    A list of clusters to include in the cluster group.
    context str
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name str
    Name of the cluster group
    tags Sequence[str]
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts ClusterGroupTimeoutsArgs
    config Property Map
    clusterGroupId String
    The ID of this resource.
    clusterProfiles List<Property Map>
    clusters List<Property Map>
    A list of clusters to include in the cluster group.
    context String
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name String
    Name of the cluster group
    tags List<String>
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ClusterGroup Resource

    Get an existing ClusterGroup 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?: ClusterGroupState, opts?: CustomResourceOptions): ClusterGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_group_id: Optional[str] = None,
            cluster_profiles: Optional[Sequence[ClusterGroupClusterProfileArgs]] = None,
            clusters: Optional[Sequence[ClusterGroupClusterArgs]] = None,
            config: Optional[ClusterGroupConfigArgs] = None,
            context: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[ClusterGroupTimeoutsArgs] = None) -> ClusterGroup
    func GetClusterGroup(ctx *Context, name string, id IDInput, state *ClusterGroupState, opts ...ResourceOption) (*ClusterGroup, error)
    public static ClusterGroup Get(string name, Input<string> id, ClusterGroupState? state, CustomResourceOptions? opts = null)
    public static ClusterGroup get(String name, Output<String> id, ClusterGroupState state, CustomResourceOptions options)
    resources:  _:    type: spectrocloud:ClusterGroup    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:
    ClusterGroupId string
    The ID of this resource.
    ClusterProfiles List<ClusterGroupClusterProfile>
    Clusters List<ClusterGroupCluster>
    A list of clusters to include in the cluster group.
    Config ClusterGroupConfig
    Context string
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    Name string
    Name of the cluster group
    Tags List<string>
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    Timeouts ClusterGroupTimeouts
    ClusterGroupId string
    The ID of this resource.
    ClusterProfiles []ClusterGroupClusterProfileArgs
    Clusters []ClusterGroupClusterArgs
    A list of clusters to include in the cluster group.
    Config ClusterGroupConfigArgs
    Context string
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    Name string
    Name of the cluster group
    Tags []string
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    Timeouts ClusterGroupTimeoutsArgs
    clusterGroupId String
    The ID of this resource.
    clusterProfiles List<ClusterGroupClusterProfile>
    clusters List<ClusterGroupCluster>
    A list of clusters to include in the cluster group.
    config ClusterGroupConfig
    context String
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name String
    Name of the cluster group
    tags List<String>
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts ClusterGroupTimeouts
    clusterGroupId string
    The ID of this resource.
    clusterProfiles ClusterGroupClusterProfile[]
    clusters ClusterGroupCluster[]
    A list of clusters to include in the cluster group.
    config ClusterGroupConfig
    context string
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name string
    Name of the cluster group
    tags string[]
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts ClusterGroupTimeouts
    cluster_group_id str
    The ID of this resource.
    cluster_profiles Sequence[ClusterGroupClusterProfileArgs]
    clusters Sequence[ClusterGroupClusterArgs]
    A list of clusters to include in the cluster group.
    config ClusterGroupConfigArgs
    context str
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name str
    Name of the cluster group
    tags Sequence[str]
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts ClusterGroupTimeoutsArgs
    clusterGroupId String
    The ID of this resource.
    clusterProfiles List<Property Map>
    clusters List<Property Map>
    A list of clusters to include in the cluster group.
    config Property Map
    context String
    The context of the Cluster group. Allowed values are project or tenant. Defaults to tenant. 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.
    name String
    Name of the cluster group
    tags List<String>
    A list of tags to be applied to the cluster group. Tags must be in the form of key:value.
    timeouts Property Map

    Supporting Types

    ClusterGroupCluster, ClusterGroupClusterArgs

    ClusterUid string
    The UID of the host cluster.
    HostDns string
    The host DNS wildcard for the cluster. i.e. *.dev or *test.com
    ClusterUid string
    The UID of the host cluster.
    HostDns string
    The host DNS wildcard for the cluster. i.e. *.dev or *test.com
    clusterUid String
    The UID of the host cluster.
    hostDns String
    The host DNS wildcard for the cluster. i.e. *.dev or *test.com
    clusterUid string
    The UID of the host cluster.
    hostDns string
    The host DNS wildcard for the cluster. i.e. *.dev or *test.com
    cluster_uid str
    The UID of the host cluster.
    host_dns str
    The host DNS wildcard for the cluster. i.e. *.dev or *test.com
    clusterUid String
    The UID of the host cluster.
    hostDns String
    The host DNS wildcard for the cluster. i.e. *.dev or *test.com

    ClusterGroupClusterProfile, ClusterGroupClusterProfileArgs

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

    ClusterGroupClusterProfilePack, ClusterGroupClusterProfilePackArgs

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

    ClusterGroupClusterProfilePackManifest, ClusterGroupClusterProfilePackManifestArgs

    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

    ClusterGroupConfig, ClusterGroupConfigArgs

    CpuMillicore double
    The CPU limit in millicores.
    HostEndpointType string
    The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
    K8sDistribution string
    The Kubernetes distribution, allowed values are k3s and cncf_k8s.
    MemoryInMb double
    The memory limit in megabytes (MB).
    OversubscriptionPercent double
    The allowed oversubscription percentage.
    StorageInGb double
    The storage limit in gigabytes (GB).
    Values string
    CpuMillicore float64
    The CPU limit in millicores.
    HostEndpointType string
    The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
    K8sDistribution string
    The Kubernetes distribution, allowed values are k3s and cncf_k8s.
    MemoryInMb float64
    The memory limit in megabytes (MB).
    OversubscriptionPercent float64
    The allowed oversubscription percentage.
    StorageInGb float64
    The storage limit in gigabytes (GB).
    Values string
    cpuMillicore Double
    The CPU limit in millicores.
    hostEndpointType String
    The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
    k8sDistribution String
    The Kubernetes distribution, allowed values are k3s and cncf_k8s.
    memoryInMb Double
    The memory limit in megabytes (MB).
    oversubscriptionPercent Double
    The allowed oversubscription percentage.
    storageInGb Double
    The storage limit in gigabytes (GB).
    values String
    cpuMillicore number
    The CPU limit in millicores.
    hostEndpointType string
    The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
    k8sDistribution string
    The Kubernetes distribution, allowed values are k3s and cncf_k8s.
    memoryInMb number
    The memory limit in megabytes (MB).
    oversubscriptionPercent number
    The allowed oversubscription percentage.
    storageInGb number
    The storage limit in gigabytes (GB).
    values string
    cpu_millicore float
    The CPU limit in millicores.
    host_endpoint_type str
    The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
    k8s_distribution str
    The Kubernetes distribution, allowed values are k3s and cncf_k8s.
    memory_in_mb float
    The memory limit in megabytes (MB).
    oversubscription_percent float
    The allowed oversubscription percentage.
    storage_in_gb float
    The storage limit in gigabytes (GB).
    values str
    cpuMillicore Number
    The CPU limit in millicores.
    hostEndpointType String
    The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
    k8sDistribution String
    The Kubernetes distribution, allowed values are k3s and cncf_k8s.
    memoryInMb Number
    The memory limit in megabytes (MB).
    oversubscriptionPercent Number
    The allowed oversubscription percentage.
    storageInGb Number
    The storage limit in gigabytes (GB).
    values String

    ClusterGroupTimeouts, ClusterGroupTimeoutsArgs

    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