Show / Hide Table of Contents

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.

Inheritance
System.Object
Resource
CustomResource
ProjectCluster
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.GitLab
Assembly: Pulumi.GitLab.dll
Syntax
public class ProjectCluster : CustomResource

Constructors

View Source

ProjectCluster(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 Source

ClusterType

Declaration
public Output<string> ClusterType { get; }
Property Value
Type Description
Output<System.String>
View Source

CreatedAt

Declaration
public Output<string> CreatedAt { get; }
Property Value
Type Description
Output<System.String>
View Source

Domain

The base domain of the cluster.

Declaration
public Output<string> Domain { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

EnvironmentScope

The associated environment to the cluster. Defaults to *.

Declaration
public Output<string> EnvironmentScope { get; }
Property Value
Type Description
Output<System.String>
View Source

KubernetesApiUrl

The URL to access the Kubernetes API.

Declaration
public Output<string> KubernetesApiUrl { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>
View Source

KubernetesNamespace

The unique namespace related to the project.

Declaration
public Output<string> KubernetesNamespace { get; }
Property Value
Type Description
Output<System.String>
View Source

KubernetesToken

The token to authenticate against Kubernetes.

Declaration
public Output<string> KubernetesToken { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

ManagementProjectId

Declaration
public Output<string> ManagementProjectId { get; }
Property Value
Type Description
Output<System.String>
View Source

Name

The name of cluster.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

PlatformType

Declaration
public Output<string> PlatformType { get; }
Property Value
Type Description
Output<System.String>
View Source

Project

The id of the project to add the cluster to.

Declaration
public Output<string> Project { get; }
Property Value
Type Description
Output<System.String>
View Source

ProviderType

Declaration
public Output<string> ProviderType { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.