google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.cloudbuild/v1.GitLabConfig

Explore with Pulumi AI

Creates a new GitLabConfig. This API is experimental

Create GitLabConfig Resource

new GitLabConfig(name: string, args: GitLabConfigArgs, opts?: CustomResourceOptions);
@overload
def GitLabConfig(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 connected_repositories: Optional[Sequence[GitLabRepositoryIdArgs]] = None,
                 enterprise_config: Optional[GitLabEnterpriseConfigArgs] = None,
                 gitlab_config_id: Optional[str] = None,
                 location: Optional[str] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 secrets: Optional[GitLabSecretsArgs] = None,
                 username: Optional[str] = None)
@overload
def GitLabConfig(resource_name: str,
                 args: GitLabConfigArgs,
                 opts: Optional[ResourceOptions] = None)
func NewGitLabConfig(ctx *Context, name string, args GitLabConfigArgs, opts ...ResourceOption) (*GitLabConfig, error)
public GitLabConfig(string name, GitLabConfigArgs args, CustomResourceOptions? opts = null)
public GitLabConfig(String name, GitLabConfigArgs args)
public GitLabConfig(String name, GitLabConfigArgs args, CustomResourceOptions options)
type: google-native:cloudbuild/v1:GitLabConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args GitLabConfigArgs
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 GitLabConfigArgs
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 GitLabConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args GitLabConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args GitLabConfigArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

GitLabConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The GitLabConfig resource accepts the following input properties:

Secrets Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabSecretsArgs

Secret Manager secrets needed by the config.

ConnectedRepositories List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabRepositoryIdArgs>

Connected GitLab.com or GitLabEnterprise repositories for this config.

EnterpriseConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabEnterpriseConfigArgs

Optional. GitLabEnterprise config.

GitlabConfigId string

Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

Location string
Name string

The resource name for the config.

Project string
Username string

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

Secrets GitLabSecretsArgs

Secret Manager secrets needed by the config.

ConnectedRepositories []GitLabRepositoryIdArgs

Connected GitLab.com or GitLabEnterprise repositories for this config.

EnterpriseConfig GitLabEnterpriseConfigArgs

Optional. GitLabEnterprise config.

GitlabConfigId string

Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

Location string
Name string

The resource name for the config.

Project string
Username string

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

secrets GitLabSecretsArgs

Secret Manager secrets needed by the config.

connectedRepositories List<GitLabRepositoryIdArgs>

Connected GitLab.com or GitLabEnterprise repositories for this config.

enterpriseConfig GitLabEnterpriseConfigArgs

Optional. GitLabEnterprise config.

gitlabConfigId String

Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

location String
name String

The resource name for the config.

project String
username String

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

secrets GitLabSecretsArgs

Secret Manager secrets needed by the config.

connectedRepositories GitLabRepositoryIdArgs[]

Connected GitLab.com or GitLabEnterprise repositories for this config.

enterpriseConfig GitLabEnterpriseConfigArgs

Optional. GitLabEnterprise config.

gitlabConfigId string

Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

location string
name string

The resource name for the config.

project string
username string

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

secrets GitLabSecretsArgs

Secret Manager secrets needed by the config.

connected_repositories Sequence[GitLabRepositoryIdArgs]

Connected GitLab.com or GitLabEnterprise repositories for this config.

enterprise_config GitLabEnterpriseConfigArgs

Optional. GitLabEnterprise config.

gitlab_config_id str

Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

location str
name str

The resource name for the config.

project str
username str

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

secrets Property Map

Secret Manager secrets needed by the config.

connectedRepositories List<Property Map>

Connected GitLab.com or GitLabEnterprise repositories for this config.

enterpriseConfig Property Map

Optional. GitLabEnterprise config.

gitlabConfigId String

Optional. The ID to use for the GitLabConfig, which will become the final component of the GitLabConfig’s resource name. gitlab_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character

location String
name String

The resource name for the config.

project String
username String

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

Outputs

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

CreateTime string

Time when the config was created.

Id string

The provider-assigned unique ID for this managed resource.

WebhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

CreateTime string

Time when the config was created.

Id string

The provider-assigned unique ID for this managed resource.

WebhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

createTime String

Time when the config was created.

id String

The provider-assigned unique ID for this managed resource.

webhookKey String

UUID included in webhook requests. The UUID is used to look up the corresponding config.

createTime string

Time when the config was created.

id string

The provider-assigned unique ID for this managed resource.

webhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

create_time str

Time when the config was created.

id str

The provider-assigned unique ID for this managed resource.

webhook_key str

UUID included in webhook requests. The UUID is used to look up the corresponding config.

createTime String

Time when the config was created.

id String

The provider-assigned unique ID for this managed resource.

webhookKey String

UUID included in webhook requests. The UUID is used to look up the corresponding config.

Supporting Types

GitLabEnterpriseConfig

HostUri string

Immutable. The URI of the GitlabEnterprise host.

ServiceDirectoryConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.ServiceDirectoryConfig

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

SslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

HostUri string

Immutable. The URI of the GitlabEnterprise host.

ServiceDirectoryConfig ServiceDirectoryConfig

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

SslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri String

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig ServiceDirectoryConfig

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa String

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri string

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig ServiceDirectoryConfig

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

host_uri str

Immutable. The URI of the GitlabEnterprise host.

service_directory_config ServiceDirectoryConfig

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

ssl_ca str

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri String

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig Property Map

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa String

The SSL certificate to use in requests to GitLab Enterprise instances.

GitLabEnterpriseConfigResponse

HostUri string

Immutable. The URI of the GitlabEnterprise host.

ServiceDirectoryConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

SslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

HostUri string

Immutable. The URI of the GitlabEnterprise host.

ServiceDirectoryConfig ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

SslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri String

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa String

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri string

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

host_uri str

Immutable. The URI of the GitlabEnterprise host.

service_directory_config ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

ssl_ca str

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri String

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig Property Map

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa String

The SSL certificate to use in requests to GitLab Enterprise instances.

GitLabRepositoryId

Id string

Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID

Id string

Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID

id String

Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID

id string

Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID

id str

Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID

id String

Identifier for the repository. example: "namespace/project-slug", namespace is usually the username or group ID

GitLabRepositoryIdResponse

WebhookId int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

WebhookId int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhookId Integer

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhookId number

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhook_id int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhookId Number

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

GitLabSecrets

ApiAccessTokenVersion string

The resource name for the api access token’s secret version

ApiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

ReadAccessTokenVersion string

The resource name for the read access token’s secret version

WebhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

ApiAccessTokenVersion string

The resource name for the api access token’s secret version

ApiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

ReadAccessTokenVersion string

The resource name for the read access token’s secret version

WebhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion String

The resource name for the api access token’s secret version

apiKeyVersion String

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion String

The resource name for the read access token’s secret version

webhookSecretVersion String

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion string

The resource name for the api access token’s secret version

apiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion string

The resource name for the read access token’s secret version

webhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

api_access_token_version str

The resource name for the api access token’s secret version

api_key_version str

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

read_access_token_version str

The resource name for the read access token’s secret version

webhook_secret_version str

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion String

The resource name for the api access token’s secret version

apiKeyVersion String

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion String

The resource name for the read access token’s secret version

webhookSecretVersion String

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

GitLabSecretsResponse

ApiAccessTokenVersion string

The resource name for the api access token’s secret version

ApiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

ReadAccessTokenVersion string

The resource name for the read access token’s secret version

WebhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

ApiAccessTokenVersion string

The resource name for the api access token’s secret version

ApiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

ReadAccessTokenVersion string

The resource name for the read access token’s secret version

WebhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion String

The resource name for the api access token’s secret version

apiKeyVersion String

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion String

The resource name for the read access token’s secret version

webhookSecretVersion String

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion string

The resource name for the api access token’s secret version

apiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion string

The resource name for the read access token’s secret version

webhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

api_access_token_version str

The resource name for the api access token’s secret version

api_key_version str

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

read_access_token_version str

The resource name for the read access token’s secret version

webhook_secret_version str

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion String

The resource name for the api access token’s secret version

apiKeyVersion String

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion String

The resource name for the read access token’s secret version

webhookSecretVersion String

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

ServiceDirectoryConfig

Service string

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

Service string

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service String

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service string

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service str

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service String

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

ServiceDirectoryConfigResponse

Service string

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

Service string

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service String

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service string

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service str

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

service String

The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0