1. Packages
  2. Google Cloud Native
  3. API Docs
  4. cloudbuild
  5. cloudbuild/v1
  6. getGithubEnterpriseConfig

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.getGithubEnterpriseConfig

Explore with Pulumi AI

google-native logo

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

    Retrieve a GitHubEnterpriseConfig.

    Using getGithubEnterpriseConfig

    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 getGithubEnterpriseConfig(args: GetGithubEnterpriseConfigArgs, opts?: InvokeOptions): Promise<GetGithubEnterpriseConfigResult>
    function getGithubEnterpriseConfigOutput(args: GetGithubEnterpriseConfigOutputArgs, opts?: InvokeOptions): Output<GetGithubEnterpriseConfigResult>
    def get_github_enterprise_config(config_id: Optional[str] = None,
                                     github_enterprise_config_id: Optional[str] = None,
                                     location: Optional[str] = None,
                                     project: Optional[str] = None,
                                     project_id: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetGithubEnterpriseConfigResult
    def get_github_enterprise_config_output(config_id: Optional[pulumi.Input[str]] = None,
                                     github_enterprise_config_id: Optional[pulumi.Input[str]] = None,
                                     location: Optional[pulumi.Input[str]] = None,
                                     project: Optional[pulumi.Input[str]] = None,
                                     project_id: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetGithubEnterpriseConfigResult]
    func LookupGithubEnterpriseConfig(ctx *Context, args *LookupGithubEnterpriseConfigArgs, opts ...InvokeOption) (*LookupGithubEnterpriseConfigResult, error)
    func LookupGithubEnterpriseConfigOutput(ctx *Context, args *LookupGithubEnterpriseConfigOutputArgs, opts ...InvokeOption) LookupGithubEnterpriseConfigResultOutput

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

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

    The following arguments are supported:

    getGithubEnterpriseConfig Result

    The following output properties are available:

    AppId string
    The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
    CreateTime string
    Time when the installation was associated with the project.
    DisplayName string
    Name to display for this config.
    HostUrl string
    The URL of the github enterprise host the configuration is for.
    Name string
    Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    PeeredNetwork string
    Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.
    Secrets Pulumi.GoogleNative.CloudBuild.V1.Outputs.GitHubEnterpriseSecretsResponse
    Names of secrets in Secret Manager.
    SslCa string
    Optional. SSL certificate to use for requests to GitHub Enterprise.
    WebhookKey string
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
    AppId string
    The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
    CreateTime string
    Time when the installation was associated with the project.
    DisplayName string
    Name to display for this config.
    HostUrl string
    The URL of the github enterprise host the configuration is for.
    Name string
    Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    PeeredNetwork string
    Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.
    Secrets GitHubEnterpriseSecretsResponse
    Names of secrets in Secret Manager.
    SslCa string
    Optional. SSL certificate to use for requests to GitHub Enterprise.
    WebhookKey string
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
    appId String
    The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
    createTime String
    Time when the installation was associated with the project.
    displayName String
    Name to display for this config.
    hostUrl String
    The URL of the github enterprise host the configuration is for.
    name String
    Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    peeredNetwork String
    Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.
    secrets GitHubEnterpriseSecretsResponse
    Names of secrets in Secret Manager.
    sslCa String
    Optional. SSL certificate to use for requests to GitHub Enterprise.
    webhookKey String
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
    appId string
    The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
    createTime string
    Time when the installation was associated with the project.
    displayName string
    Name to display for this config.
    hostUrl string
    The URL of the github enterprise host the configuration is for.
    name string
    Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    peeredNetwork string
    Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.
    secrets GitHubEnterpriseSecretsResponse
    Names of secrets in Secret Manager.
    sslCa string
    Optional. SSL certificate to use for requests to GitHub Enterprise.
    webhookKey string
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
    app_id str
    The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
    create_time str
    Time when the installation was associated with the project.
    display_name str
    Name to display for this config.
    host_url str
    The URL of the github enterprise host the configuration is for.
    name str
    Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    peered_network str
    Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.
    secrets GitHubEnterpriseSecretsResponse
    Names of secrets in Secret Manager.
    ssl_ca str
    Optional. SSL certificate to use for requests to GitHub Enterprise.
    webhook_key str
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
    appId String
    The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
    createTime String
    Time when the installation was associated with the project.
    displayName String
    Name to display for this config.
    hostUrl String
    The URL of the github enterprise host the configuration is for.
    name String
    Optional. The full resource name for the GitHubEnterpriseConfig For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
    peeredNetwork String
    Optional. The network to be used when reaching out to the GitHub Enterprise server. The VPC network must be enabled for private service connection. This should be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the GitHub Enterprise server will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.
    secrets Property Map
    Names of secrets in Secret Manager.
    sslCa String
    Optional. SSL certificate to use for requests to GitHub Enterprise.
    webhookKey String
    The key that should be attached to webhook calls to the ReceiveWebhook endpoint.

    Supporting Types

    GitHubEnterpriseSecretsResponse

    OauthClientIdName string
    The resource name for the OAuth client ID secret in Secret Manager.
    OauthClientIdVersionName string
    The resource name for the OAuth client ID secret version in Secret Manager.
    OauthSecretName string
    The resource name for the OAuth secret in Secret Manager.
    OauthSecretVersionName string
    The resource name for the OAuth secret secret version in Secret Manager.
    PrivateKeyName string
    The resource name for the private key secret.
    PrivateKeyVersionName string
    The resource name for the private key secret version.
    WebhookSecretName string
    The resource name for the webhook secret in Secret Manager.
    WebhookSecretVersionName string
    The resource name for the webhook secret secret version in Secret Manager.
    OauthClientIdName string
    The resource name for the OAuth client ID secret in Secret Manager.
    OauthClientIdVersionName string
    The resource name for the OAuth client ID secret version in Secret Manager.
    OauthSecretName string
    The resource name for the OAuth secret in Secret Manager.
    OauthSecretVersionName string
    The resource name for the OAuth secret secret version in Secret Manager.
    PrivateKeyName string
    The resource name for the private key secret.
    PrivateKeyVersionName string
    The resource name for the private key secret version.
    WebhookSecretName string
    The resource name for the webhook secret in Secret Manager.
    WebhookSecretVersionName string
    The resource name for the webhook secret secret version in Secret Manager.
    oauthClientIdName String
    The resource name for the OAuth client ID secret in Secret Manager.
    oauthClientIdVersionName String
    The resource name for the OAuth client ID secret version in Secret Manager.
    oauthSecretName String
    The resource name for the OAuth secret in Secret Manager.
    oauthSecretVersionName String
    The resource name for the OAuth secret secret version in Secret Manager.
    privateKeyName String
    The resource name for the private key secret.
    privateKeyVersionName String
    The resource name for the private key secret version.
    webhookSecretName String
    The resource name for the webhook secret in Secret Manager.
    webhookSecretVersionName String
    The resource name for the webhook secret secret version in Secret Manager.
    oauthClientIdName string
    The resource name for the OAuth client ID secret in Secret Manager.
    oauthClientIdVersionName string
    The resource name for the OAuth client ID secret version in Secret Manager.
    oauthSecretName string
    The resource name for the OAuth secret in Secret Manager.
    oauthSecretVersionName string
    The resource name for the OAuth secret secret version in Secret Manager.
    privateKeyName string
    The resource name for the private key secret.
    privateKeyVersionName string
    The resource name for the private key secret version.
    webhookSecretName string
    The resource name for the webhook secret in Secret Manager.
    webhookSecretVersionName string
    The resource name for the webhook secret secret version in Secret Manager.
    oauth_client_id_name str
    The resource name for the OAuth client ID secret in Secret Manager.
    oauth_client_id_version_name str
    The resource name for the OAuth client ID secret version in Secret Manager.
    oauth_secret_name str
    The resource name for the OAuth secret in Secret Manager.
    oauth_secret_version_name str
    The resource name for the OAuth secret secret version in Secret Manager.
    private_key_name str
    The resource name for the private key secret.
    private_key_version_name str
    The resource name for the private key secret version.
    webhook_secret_name str
    The resource name for the webhook secret in Secret Manager.
    webhook_secret_version_name str
    The resource name for the webhook secret secret version in Secret Manager.
    oauthClientIdName String
    The resource name for the OAuth client ID secret in Secret Manager.
    oauthClientIdVersionName String
    The resource name for the OAuth client ID secret version in Secret Manager.
    oauthSecretName String
    The resource name for the OAuth secret in Secret Manager.
    oauthSecretVersionName String
    The resource name for the OAuth secret secret version in Secret Manager.
    privateKeyName String
    The resource name for the private key secret.
    privateKeyVersionName String
    The resource name for the private key secret version.
    webhookSecretName String
    The resource name for the webhook secret in Secret Manager.
    webhookSecretVersionName String
    The resource name for the webhook secret secret version in Secret Manager.

    Package Details

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

    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