spectrocloud.ClusterGroup
Explore with Pulumi AI
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
Cluster
Group Config - Cluster
Group stringId - The ID of this resource.
- Cluster
Profiles List<ClusterGroup Cluster Profile> - Clusters
List<Cluster
Group Cluster> - A list of clusters to include in the cluster group.
- Context string
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Name string
- Name of the cluster group
- List<string>
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - Timeouts
Cluster
Group Timeouts
- Config
Cluster
Group Config Args - Cluster
Group stringId - The ID of this resource.
- Cluster
Profiles []ClusterGroup Cluster Profile Args - Clusters
[]Cluster
Group Cluster Args - A list of clusters to include in the cluster group.
- Context string
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Name string
- Name of the cluster group
- []string
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - Timeouts
Cluster
Group Timeouts Args
- config
Cluster
Group Config - cluster
Group StringId - The ID of this resource.
- cluster
Profiles List<ClusterGroup Cluster Profile> - clusters
List<Cluster
Group Cluster> - A list of clusters to include in the cluster group.
- context String
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- name String
- Name of the cluster group
- List<String>
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - timeouts
Cluster
Group Timeouts
- config
Cluster
Group Config - cluster
Group stringId - The ID of this resource.
- cluster
Profiles ClusterGroup Cluster Profile[] - clusters
Cluster
Group Cluster[] - A list of clusters to include in the cluster group.
- context string
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description string
- The description of the cluster. Default value is empty string.
- name string
- Name of the cluster group
- string[]
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - timeouts
Cluster
Group Timeouts
- config
Cluster
Group Config Args - cluster_
group_ strid - The ID of this resource.
- cluster_
profiles Sequence[ClusterGroup Cluster Profile Args] - clusters
Sequence[Cluster
Group Cluster Args] - A list of clusters to include in the cluster group.
- context str
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description str
- The description of the cluster. Default value is empty string.
- name str
- Name of the cluster group
- Sequence[str]
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - timeouts
Cluster
Group Timeouts Args
- config Property Map
- cluster
Group StringId - The ID of this resource.
- cluster
Profiles 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
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- name String
- Name of the cluster group
- 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.
- Cluster
Group stringId - The ID of this resource.
- Cluster
Profiles List<ClusterGroup Cluster Profile> - Clusters
List<Cluster
Group Cluster> - A list of clusters to include in the cluster group.
- Config
Cluster
Group Config - Context string
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Name string
- Name of the cluster group
- List<string>
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - Timeouts
Cluster
Group Timeouts
- Cluster
Group stringId - The ID of this resource.
- Cluster
Profiles []ClusterGroup Cluster Profile Args - Clusters
[]Cluster
Group Cluster Args - A list of clusters to include in the cluster group.
- Config
Cluster
Group Config Args - Context string
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Description string
- The description of the cluster. Default value is empty string.
- Name string
- Name of the cluster group
- []string
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - Timeouts
Cluster
Group Timeouts Args
- cluster
Group StringId - The ID of this resource.
- cluster
Profiles List<ClusterGroup Cluster Profile> - clusters
List<Cluster
Group Cluster> - A list of clusters to include in the cluster group.
- config
Cluster
Group Config - context String
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- name String
- Name of the cluster group
- List<String>
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - timeouts
Cluster
Group Timeouts
- cluster
Group stringId - The ID of this resource.
- cluster
Profiles ClusterGroup Cluster Profile[] - clusters
Cluster
Group Cluster[] - A list of clusters to include in the cluster group.
- config
Cluster
Group Config - context string
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description string
- The description of the cluster. Default value is empty string.
- name string
- Name of the cluster group
- string[]
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - timeouts
Cluster
Group Timeouts
- cluster_
group_ strid - The ID of this resource.
- cluster_
profiles Sequence[ClusterGroup Cluster Profile Args] - clusters
Sequence[Cluster
Group Cluster Args] - A list of clusters to include in the cluster group.
- config
Cluster
Group Config Args - context str
- The context of the Cluster group. Allowed values are
project
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description str
- The description of the cluster. Default value is empty string.
- name str
- Name of the cluster group
- Sequence[str]
- A list of tags to be applied to the cluster group. Tags must be in the form of
key:value
. - timeouts
Cluster
Group Timeouts Args
- cluster
Group StringId - The ID of this resource.
- cluster
Profiles 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
ortenant
. Defaults totenant
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - description String
- The description of the cluster. Default value is empty string.
- name String
- Name of the cluster group
- 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
- Cluster
Uid string - The UID of the host cluster.
- Host
Dns string - The host DNS wildcard for the cluster. i.e.
*.dev
or*test.com
- Cluster
Uid string - The UID of the host cluster.
- Host
Dns string - The host DNS wildcard for the cluster. i.e.
*.dev
or*test.com
- cluster
Uid String - The UID of the host cluster.
- host
Dns String - The host DNS wildcard for the cluster. i.e.
*.dev
or*test.com
- cluster
Uid string - The UID of the host cluster.
- host
Dns 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
- cluster
Uid String - The UID of the host cluster.
- host
Dns 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<Cluster
Group Cluster Profile Pack> - For packs of type
spectro
,helm
, andmanifest
, 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
[]Cluster
Group Cluster Profile Pack - For packs of type
spectro
,helm
, andmanifest
, 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<Cluster
Group Cluster Profile Pack> - For packs of type
spectro
,helm
, andmanifest
, 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
Cluster
Group Cluster Profile Pack[] - For packs of type
spectro
,helm
, andmanifest
, 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[Cluster
Group Cluster Profile Pack] - For packs of type
spectro
,helm
, andmanifest
, 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
, andmanifest
, 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<Cluster
Group Cluster Profile Pack Manifest> - Registry
Uid 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
orhelm
. - Type string
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - 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 isspectro
and forhelm
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
[]Cluster
Group Cluster Profile Pack Manifest - Registry
Uid 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
orhelm
. - Type string
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - 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 isspectro
and forhelm
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<Cluster
Group Cluster Profile Pack Manifest> - registry
Uid 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
orhelm
. - type String
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - 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 isspectro
and forhelm
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
Cluster
Group Cluster Profile Pack Manifest[] - registry
Uid 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
orhelm
. - type string
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - 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 isspectro
and forhelm
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[Cluster
Group Cluster Profile Pack Manifest] - 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
orhelm
. - type str
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - 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 isspectro
and forhelm
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>
- registry
Uid 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
orhelm
. - type String
- The type of the pack. Allowed values are
spectro
,manifest
,helm
, oroci
. The default value is spectro. If using an OCI registry for pack, set the type tooci
. - 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 isspectro
and forhelm
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
ClusterGroupConfig, ClusterGroupConfigArgs
- Cpu
Millicore double - The CPU limit in millicores.
- Host
Endpoint stringType - The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
- K8s
Distribution string - The Kubernetes distribution, allowed values are
k3s
andcncf_k8s
. - Memory
In doubleMb - The memory limit in megabytes (MB).
- Oversubscription
Percent double - The allowed oversubscription percentage.
- Storage
In doubleGb - The storage limit in gigabytes (GB).
- Values string
- Cpu
Millicore float64 - The CPU limit in millicores.
- Host
Endpoint stringType - The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
- K8s
Distribution string - The Kubernetes distribution, allowed values are
k3s
andcncf_k8s
. - Memory
In float64Mb - The memory limit in megabytes (MB).
- Oversubscription
Percent float64 - The allowed oversubscription percentage.
- Storage
In float64Gb - The storage limit in gigabytes (GB).
- Values string
- cpu
Millicore Double - The CPU limit in millicores.
- host
Endpoint StringType - The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
- k8s
Distribution String - The Kubernetes distribution, allowed values are
k3s
andcncf_k8s
. - memory
In DoubleMb - The memory limit in megabytes (MB).
- oversubscription
Percent Double - The allowed oversubscription percentage.
- storage
In DoubleGb - The storage limit in gigabytes (GB).
- values String
- cpu
Millicore number - The CPU limit in millicores.
- host
Endpoint stringType - The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
- k8s
Distribution string - The Kubernetes distribution, allowed values are
k3s
andcncf_k8s
. - memory
In numberMb - The memory limit in megabytes (MB).
- oversubscription
Percent number - The allowed oversubscription percentage.
- storage
In numberGb - The storage limit in gigabytes (GB).
- values string
- cpu_
millicore float - The CPU limit in millicores.
- host_
endpoint_ strtype - The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
- k8s_
distribution str - The Kubernetes distribution, allowed values are
k3s
andcncf_k8s
. - memory_
in_ floatmb - The memory limit in megabytes (MB).
- oversubscription_
percent float - The allowed oversubscription percentage.
- storage_
in_ floatgb - The storage limit in gigabytes (GB).
- values str
- cpu
Millicore Number - The CPU limit in millicores.
- host
Endpoint StringType - The host endpoint type. Allowed values are 'Ingress' or 'LoadBalancer'. Defaults to 'Ingress'.
- k8s
Distribution String - The Kubernetes distribution, allowed values are
k3s
andcncf_k8s
. - memory
In NumberMb - The memory limit in megabytes (MB).
- oversubscription
Percent Number - The allowed oversubscription percentage.
- storage
In NumberGb - The storage limit in gigabytes (GB).
- values String
ClusterGroupTimeouts, ClusterGroupTimeoutsArgs
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.