Class ProjectCluster
This resource allows you to create and manage project clusters for your GitLab projects. For further information on clusters, consult the gitlab documentation.
Inherited Members
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class ProjectCluster : CustomResource
Constructors
View SourceProjectCluster(String, ProjectClusterArgs, CustomResourceOptions)
Create a ProjectCluster resource with the given unique name, arguments, and options.
Declaration
public ProjectCluster(string name, ProjectClusterArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ProjectClusterArgs | 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> |
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> |
KubernetesNamespace
The unique namespace related to the project.
Declaration
public Output<string> KubernetesNamespace { 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> |
Project
The id of the project to add the cluster to.
Declaration
public Output<string> Project { 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>, ProjectClusterState, CustomResourceOptions)
Get an existing ProjectCluster resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ProjectCluster Get(string name, Input<string> id, ProjectClusterState 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. |
| ProjectClusterState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ProjectCluster |