Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudbuild/v1.getGitLabConfig
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
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)
public static Output<GetGitLabConfigResult> getGitLabConfig(GetGitLabConfigArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:cloudbuild/v1:getGitLabConfig
  arguments:
    # arguments dictionaryThe following arguments are supported:
- GitLab stringConfig Id 
- Location string
- Project string
- GitLab stringConfig Id 
- Location string
- Project string
- gitLab StringConfig Id 
- location String
- project String
- gitLab stringConfig Id 
- location string
- project string
- git_lab_ strconfig_ id 
- location str
- project str
- gitLab StringConfig Id 
- location String
- project String
getGitLabConfig Result
The following output properties are available:
- ConnectedRepositories List<Pulumi.Google Native. Cloud Build. V1. Outputs. Git Lab Repository Id Response> 
- Connected GitLab.com or GitLabEnterprise repositories for this config.
- CreateTime string
- Time when the config was created.
- EnterpriseConfig Pulumi.Google Native. Cloud Build. V1. Outputs. Git Lab Enterprise Config Response 
- Optional. GitLabEnterprise config.
- Name string
- The resource name for the config.
- Secrets
Pulumi.Google Native. Cloud Build. V1. Outputs. Git Lab Secrets Response 
- 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 []GitLab Repository Id Response 
- Connected GitLab.com or GitLabEnterprise repositories for this config.
- CreateTime string
- Time when the config was created.
- EnterpriseConfig GitLab Enterprise Config Response 
- Optional. GitLabEnterprise config.
- Name string
- The resource name for the config.
- Secrets
GitLab Secrets Response 
- 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<GitLab Repository Id Response> 
- Connected GitLab.com or GitLabEnterprise repositories for this config.
- createTime String
- Time when the config was created.
- enterpriseConfig GitLab Enterprise Config Response 
- Optional. GitLabEnterprise config.
- name String
- The resource name for the config.
- secrets
GitLab Secrets Response 
- 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 GitLab Repository Id Response[] 
- Connected GitLab.com or GitLabEnterprise repositories for this config.
- createTime string
- Time when the config was created.
- enterpriseConfig GitLab Enterprise Config Response 
- Optional. GitLabEnterprise config.
- name string
- The resource name for the config.
- secrets
GitLab Secrets Response 
- 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[GitLab Repository Id Response] 
- Connected GitLab.com or GitLabEnterprise repositories for this config.
- create_time str
- Time when the config was created.
- enterprise_config GitLab Enterprise Config Response 
- Optional. GitLabEnterprise config.
- name str
- The resource name for the config.
- secrets
GitLab Secrets Response 
- 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.
- ServiceDirectory Pulumi.Config Google Native. Cloud Build. V1. Inputs. Service Directory Config Response 
- 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.
- ServiceDirectory ServiceConfig Directory Config Response 
- 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.
- serviceDirectory ServiceConfig Directory Config Response 
- 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.
- serviceDirectory ServiceConfig Directory Config Response 
- 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_ Serviceconfig Directory Config Response 
- 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.
- serviceDirectory Property MapConfig 
- 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   
- ApiAccess stringToken Version 
- The resource name for the api access token’s secret version
- ApiKey stringVersion 
- Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- ReadAccess stringToken Version 
- The resource name for the read access token’s secret version
- WebhookSecret stringVersion 
- 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.
- ApiAccess stringToken Version 
- The resource name for the api access token’s secret version
- ApiKey stringVersion 
- Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- ReadAccess stringToken Version 
- The resource name for the read access token’s secret version
- WebhookSecret stringVersion 
- 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.
- apiAccess StringToken Version 
- The resource name for the api access token’s secret version
- apiKey StringVersion 
- Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- readAccess StringToken Version 
- The resource name for the read access token’s secret version
- webhookSecret StringVersion 
- 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.
- apiAccess stringToken Version 
- The resource name for the api access token’s secret version
- apiKey stringVersion 
- Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- readAccess stringToken Version 
- The resource name for the read access token’s secret version
- webhookSecret stringVersion 
- 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_ strtoken_ version 
- The resource name for the api access token’s secret version
- api_key_ strversion 
- Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read_access_ strtoken_ version 
- The resource name for the read access token’s secret version
- webhook_secret_ strversion 
- 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.
- apiAccess StringToken Version 
- The resource name for the api access token’s secret version
- apiKey StringVersion 
- Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- readAccess StringToken Version 
- The resource name for the read access token’s secret version
- webhookSecret StringVersion 
- 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
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi