Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

getGitLabConfig

Retrieves a GitLabConfig. This API is experimental

Using getGitLabConfig

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getGitLabConfig(args: GetGitLabConfigArgs, opts?: InvokeOptions): Promise<GetGitLabConfigResult>
function getGitLabConfigOutput(args: GetGitLabConfigOutputArgs, opts?: InvokeOptions): Output<GetGitLabConfigResult>
def get_git_lab_config(git_lab_config_id: Optional[str] = None,
                       location: Optional[str] = None,
                       project: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetGitLabConfigResult
def get_git_lab_config_output(git_lab_config_id: Optional[pulumi.Input[str]] = None,
                       location: Optional[pulumi.Input[str]] = None,
                       project: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetGitLabConfigResult]
func LookupGitLabConfig(ctx *Context, args *LookupGitLabConfigArgs, opts ...InvokeOption) (*LookupGitLabConfigResult, error)
func LookupGitLabConfigOutput(ctx *Context, args *LookupGitLabConfigOutputArgs, opts ...InvokeOption) LookupGitLabConfigResultOutput

> Note: This function is named LookupGitLabConfig in the Go SDK.

public static class GetGitLabConfig 
{
    public static Task<GetGitLabConfigResult> InvokeAsync(GetGitLabConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetGitLabConfigResult> Invoke(GetGitLabConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetGitLabConfigResult> getGitLabConfig(GetGitLabConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:cloudbuild/v1:getGitLabConfig
  arguments:
    # arguments dictionary

The following arguments are supported:

GitLabConfigId string
Location string
Project string
GitLabConfigId string
Location string
Project string
gitLabConfigId String
location String
project String
gitLabConfigId string
location string
project string
gitLabConfigId String
location String
project String

getGitLabConfig Result

The following output properties are available:

ConnectedRepositories List<Pulumi.GoogleNative.CloudBuild.V1.Outputs.GitLabRepositoryIdResponse>

Connected GitLab.com or GitLabEnterprise repositories for this config.

CreateTime string

Time when the config was created.

EnterpriseConfig Pulumi.GoogleNative.CloudBuild.V1.Outputs.GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

Name string

The resource name for the config.

Secrets Pulumi.GoogleNative.CloudBuild.V1.Outputs.GitLabSecretsResponse

Secret Manager secrets needed by the config.

Username string

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

WebhookKey string

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

ConnectedRepositories []GitLabRepositoryIdResponse

Connected GitLab.com or GitLabEnterprise repositories for this config.

CreateTime string

Time when the config was created.

EnterpriseConfig GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

Name string

The resource name for the config.

Secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

Username string

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

WebhookKey string

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

connectedRepositories List<GitLabRepositoryIdResponse>

Connected GitLab.com or GitLabEnterprise repositories for this config.

createTime String

Time when the config was created.

enterpriseConfig GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

name String

The resource name for the config.

secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

username String

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

webhookKey String

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

connectedRepositories GitLabRepositoryIdResponse[]

Connected GitLab.com or GitLabEnterprise repositories for this config.

createTime string

Time when the config was created.

enterpriseConfig GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

name string

The resource name for the config.

secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

username string

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

webhookKey string

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

connected_repositories Sequence[GitLabRepositoryIdResponse]

Connected GitLab.com or GitLabEnterprise repositories for this config.

create_time str

Time when the config was created.

enterprise_config GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

name str

The resource name for the config.

secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

username str

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

webhook_key str

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

connectedRepositories List<Property Map>

Connected GitLab.com or GitLabEnterprise repositories for this config.

createTime String

Time when the config was created.

enterpriseConfig Property Map

Optional. GitLabEnterprise config.

name String

The resource name for the config.

secrets Property Map

Secret Manager secrets needed by the config.

username String

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

webhookKey String

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

Supporting Types

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.

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.

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.

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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0