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 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:
- Github
Enterprise stringConfig Id - Location string
- Config
Id string - Project string
- Project
Id string
- Github
Enterprise stringConfig Id - Location string
- Config
Id string - Project string
- Project
Id string
- github
Enterprise StringConfig Id - location String
- config
Id String - project String
- project
Id String
- github
Enterprise stringConfig Id - location string
- config
Id string - project string
- project
Id string
- github_
enterprise_ strconfig_ id - location str
- config_
id str - project str
- project_
id str
- github
Enterprise StringConfig Id - location String
- config
Id String - project String
- project
Id String
getGithubEnterpriseConfig Result
The following output properties are available:
- App
Id string - The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
- Create
Time string - Time when the installation was associated with the project.
- Display
Name string - Name to display for this config.
- Host
Url 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}"
- Peered
Network 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.
Google Native. Cloud Build. V1. Outputs. Git Hub Enterprise Secrets Response - Names of secrets in Secret Manager.
- Ssl
Ca string - Optional. SSL certificate to use for requests to GitHub Enterprise.
- Webhook
Key string - The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
- App
Id string - The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
- Create
Time string - Time when the installation was associated with the project.
- Display
Name string - Name to display for this config.
- Host
Url 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}"
- Peered
Network 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
Git
Hub Enterprise Secrets Response - Names of secrets in Secret Manager.
- Ssl
Ca string - Optional. SSL certificate to use for requests to GitHub Enterprise.
- Webhook
Key string - The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
- app
Id String - The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
- create
Time String - Time when the installation was associated with the project.
- display
Name String - Name to display for this config.
- host
Url 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}"
- peered
Network 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
Git
Hub Enterprise Secrets Response - Names of secrets in Secret Manager.
- ssl
Ca String - Optional. SSL certificate to use for requests to GitHub Enterprise.
- webhook
Key String - The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
- app
Id string - The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
- create
Time string - Time when the installation was associated with the project.
- display
Name string - Name to display for this config.
- host
Url 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}"
- peered
Network 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
Git
Hub Enterprise Secrets Response - Names of secrets in Secret Manager.
- ssl
Ca string - Optional. SSL certificate to use for requests to GitHub Enterprise.
- webhook
Key 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
Git
Hub Enterprise Secrets Response - 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.
- app
Id String - The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
- create
Time String - Time when the installation was associated with the project.
- display
Name String - Name to display for this config.
- host
Url 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}"
- peered
Network 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.
- ssl
Ca String - Optional. SSL certificate to use for requests to GitHub Enterprise.
- webhook
Key String - The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
Supporting Types
GitHubEnterpriseSecretsResponse
- Oauth
Client stringId Name - The resource name for the OAuth client ID secret in Secret Manager.
- Oauth
Client stringId Version Name - The resource name for the OAuth client ID secret version in Secret Manager.
- Oauth
Secret stringName - The resource name for the OAuth secret in Secret Manager.
- Oauth
Secret stringVersion Name - The resource name for the OAuth secret secret version in Secret Manager.
- Private
Key stringName - The resource name for the private key secret.
- Private
Key stringVersion Name - The resource name for the private key secret version.
- Webhook
Secret stringName - The resource name for the webhook secret in Secret Manager.
- Webhook
Secret stringVersion Name - The resource name for the webhook secret secret version in Secret Manager.
- Oauth
Client stringId Name - The resource name for the OAuth client ID secret in Secret Manager.
- Oauth
Client stringId Version Name - The resource name for the OAuth client ID secret version in Secret Manager.
- Oauth
Secret stringName - The resource name for the OAuth secret in Secret Manager.
- Oauth
Secret stringVersion Name - The resource name for the OAuth secret secret version in Secret Manager.
- Private
Key stringName - The resource name for the private key secret.
- Private
Key stringVersion Name - The resource name for the private key secret version.
- Webhook
Secret stringName - The resource name for the webhook secret in Secret Manager.
- Webhook
Secret stringVersion Name - The resource name for the webhook secret secret version in Secret Manager.
- oauth
Client StringId Name - The resource name for the OAuth client ID secret in Secret Manager.
- oauth
Client StringId Version Name - The resource name for the OAuth client ID secret version in Secret Manager.
- oauth
Secret StringName - The resource name for the OAuth secret in Secret Manager.
- oauth
Secret StringVersion Name - The resource name for the OAuth secret secret version in Secret Manager.
- private
Key StringName - The resource name for the private key secret.
- private
Key StringVersion Name - The resource name for the private key secret version.
- webhook
Secret StringName - The resource name for the webhook secret in Secret Manager.
- webhook
Secret StringVersion Name - The resource name for the webhook secret secret version in Secret Manager.
- oauth
Client stringId Name - The resource name for the OAuth client ID secret in Secret Manager.
- oauth
Client stringId Version Name - The resource name for the OAuth client ID secret version in Secret Manager.
- oauth
Secret stringName - The resource name for the OAuth secret in Secret Manager.
- oauth
Secret stringVersion Name - The resource name for the OAuth secret secret version in Secret Manager.
- private
Key stringName - The resource name for the private key secret.
- private
Key stringVersion Name - The resource name for the private key secret version.
- webhook
Secret stringName - The resource name for the webhook secret in Secret Manager.
- webhook
Secret stringVersion Name - The resource name for the webhook secret secret version in Secret Manager.
- oauth_
client_ strid_ name - The resource name for the OAuth client ID secret in Secret Manager.
- oauth_
client_ strid_ version_ name - The resource name for the OAuth client ID secret version in Secret Manager.
- oauth_
secret_ strname - The resource name for the OAuth secret in Secret Manager.
- oauth_
secret_ strversion_ name - The resource name for the OAuth secret secret version in Secret Manager.
- private_
key_ strname - The resource name for the private key secret.
- private_
key_ strversion_ name - The resource name for the private key secret version.
- webhook_
secret_ strname - The resource name for the webhook secret in Secret Manager.
- webhook_
secret_ strversion_ name - The resource name for the webhook secret secret version in Secret Manager.
- oauth
Client StringId Name - The resource name for the OAuth client ID secret in Secret Manager.
- oauth
Client StringId Version Name - The resource name for the OAuth client ID secret version in Secret Manager.
- oauth
Secret StringName - The resource name for the OAuth secret in Secret Manager.
- oauth
Secret StringVersion Name - The resource name for the OAuth secret secret version in Secret Manager.
- private
Key StringName - The resource name for the private key secret.
- private
Key StringVersion Name - The resource name for the private key secret version.
- webhook
Secret StringName - The resource name for the webhook secret in Secret Manager.
- webhook
Secret StringVersion Name - 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 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