google-native.cloudbuild/v1.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:
- Git
Lab stringConfig Id - Location string
- Project string
- Git
Lab stringConfig Id - Location string
- Project string
- git
Lab StringConfig Id - location String
- project String
- git
Lab stringConfig Id - location string
- project string
- git_
lab_ strconfig_ id - location str
- project str
- git
Lab StringConfig Id - location String
- project String
getGitLabConfig Result
The following output properties are available:
- Connected
Repositories List<Pulumi.Google Native. Cloud Build. V1. Outputs. Git Lab Repository Id Response> Connected GitLab.com or GitLabEnterprise repositories for this config.
- Create
Time string Time when the config was created.
- Enterprise
Config 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.
- Webhook
Key string UUID included in webhook requests. The UUID is used to look up the corresponding config.
- Connected
Repositories []GitLab Repository Id Response Connected GitLab.com or GitLabEnterprise repositories for this config.
- Create
Time string Time when the config was created.
- Enterprise
Config GitLab Enterprise Config Response Optional. GitLabEnterprise config.
- Name string
The resource name for the config.
- Secrets
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.
- Webhook
Key string UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected
Repositories List<GitLab Repository Id Response> Connected GitLab.com or GitLabEnterprise repositories for this config.
- create
Time String Time when the config was created.
- enterprise
Config GitLab Enterprise Config Response Optional. GitLabEnterprise config.
- name String
The resource name for the config.
- secrets
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.
- webhook
Key String UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected
Repositories GitLab Repository Id Response[] Connected GitLab.com or GitLabEnterprise repositories for this config.
- create
Time string Time when the config was created.
- enterprise
Config GitLab Enterprise Config Response Optional. GitLabEnterprise config.
- name string
The resource name for the config.
- secrets
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.
- webhook
Key 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
Git
Lab 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.
- connected
Repositories List<Property Map> Connected GitLab.com or GitLabEnterprise repositories for this config.
- create
Time String Time when the config was created.
- enterprise
Config 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.
- webhook
Key String UUID included in webhook requests. The UUID is used to look up the corresponding config.
Supporting Types
GitLabEnterpriseConfigResponse
- Host
Uri string Immutable. The URI of the GitlabEnterprise host.
- Service
Directory 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.
- Ssl
Ca string The SSL certificate to use in requests to GitLab Enterprise instances.
- Host
Uri string 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 string The SSL certificate to use in requests to GitLab Enterprise instances.
- host
Uri String 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 String The SSL certificate to use in requests to GitLab Enterprise instances.
- host
Uri string 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 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.
- host
Uri String Immutable. The URI of the GitlabEnterprise host.
- service
Directory Property MapConfig The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
- ssl
Ca String The SSL certificate to use in requests to GitLab Enterprise instances.
GitLabRepositoryIdResponse
- 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.
- 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.
- webhook
Id 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.
- webhook
Id 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.
- webhook
Id 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
- Api
Access stringToken Version The resource name for the api access token’s secret version
- Api
Key stringVersion Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- Read
Access stringToken Version The resource name for the read access token’s secret version
- Webhook
Secret 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 stringToken Version The resource name for the api access token’s secret version
- Api
Key stringVersion Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- Read
Access stringToken Version The resource name for the read access token’s secret version
- Webhook
Secret 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 StringToken Version The resource name for the api access token’s secret version
- api
Key StringVersion Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read
Access StringToken Version The resource name for the read access token’s secret version
- webhook
Secret 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 stringToken Version The resource name for the api access token’s secret version
- api
Key stringVersion Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read
Access stringToken Version The resource name for the read access token’s secret version
- webhook
Secret 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.
- api
Access StringToken Version The resource name for the api access token’s secret version
- api
Key StringVersion Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read
Access StringToken Version The resource name for the read access token’s secret version
- webhook
Secret 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