Class GroupCluster
This resource allows you to create and manage group clusters for your GitLab groups. For further information on clusters, consult the gitlab documentation.
Inherited Members
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class GroupCluster : CustomResource
Constructors
View SourceGroupCluster(String, GroupClusterArgs, CustomResourceOptions)
Create a GroupCluster resource with the given unique name, arguments, and options.
Declaration
public GroupCluster(string name, GroupClusterArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| GroupClusterArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceClusterType
Declaration
public Output<string> ClusterType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CreatedAt
Declaration
public Output<string> CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Domain
The base domain of the cluster.
Declaration
public Output<string> Domain { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Enabled
Determines if cluster is active or not. Defaults to true. This attribute cannot be read.
Declaration
public Output<bool?> Enabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
EnvironmentScope
The associated environment to the cluster. Defaults to *.
Declaration
public Output<string> EnvironmentScope { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Group
The id of the group to add the cluster to.
Declaration
public Output<string> Group { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KubernetesApiUrl
The URL to access the Kubernetes API.
Declaration
public Output<string> KubernetesApiUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KubernetesAuthorizationType
The cluster authorization type. Valid values are rbac, abac, unknown_authorization. Defaults to rbac.
Declaration
public Output<string> KubernetesAuthorizationType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KubernetesCaCert
TLS certificate (needed if API is using a self-signed TLS certificate).
Declaration
public Output<string> KubernetesCaCert { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
KubernetesToken
The token to authenticate against Kubernetes.
Declaration
public Output<string> KubernetesToken { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Managed
Determines if cluster is managed by gitlab or not. Defaults to true. This attribute cannot be read.
Declaration
public Output<bool?> Managed { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
ManagementProjectId
Declaration
public Output<string> ManagementProjectId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of cluster.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PlatformType
Declaration
public Output<string> PlatformType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ProviderType
Declaration
public Output<string> ProviderType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, GroupClusterState, CustomResourceOptions)
Get an existing GroupCluster resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static GroupCluster Get(string name, Input<string> id, GroupClusterState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| GroupClusterState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| GroupCluster |