Google Native

Pulumi Official
Package maintained by Pulumi
v0.23.0 published on Thursday, Aug 11, 2022 by Pulumi

getBitbucketServerConfig

Retrieve a BitbucketServerConfig. This API is experimental.

Using getBitbucketServerConfig

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 getBitbucketServerConfig(args: GetBitbucketServerConfigArgs, opts?: InvokeOptions): Promise<GetBitbucketServerConfigResult>
function getBitbucketServerConfigOutput(args: GetBitbucketServerConfigOutputArgs, opts?: InvokeOptions): Output<GetBitbucketServerConfigResult>
def get_bitbucket_server_config(bitbucket_server_config_id: Optional[str] = None,
                                location: Optional[str] = None,
                                project: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetBitbucketServerConfigResult
def get_bitbucket_server_config_output(bitbucket_server_config_id: Optional[pulumi.Input[str]] = None,
                                location: Optional[pulumi.Input[str]] = None,
                                project: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetBitbucketServerConfigResult]
func LookupBitbucketServerConfig(ctx *Context, args *LookupBitbucketServerConfigArgs, opts ...InvokeOption) (*LookupBitbucketServerConfigResult, error)
func LookupBitbucketServerConfigOutput(ctx *Context, args *LookupBitbucketServerConfigOutputArgs, opts ...InvokeOption) LookupBitbucketServerConfigResultOutput

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

public static class GetBitbucketServerConfig 
{
    public static Task<GetBitbucketServerConfigResult> InvokeAsync(GetBitbucketServerConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetBitbucketServerConfigResult> Invoke(GetBitbucketServerConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBitbucketServerConfigResult> getBitbucketServerConfig(GetBitbucketServerConfigArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: google-native:cloudbuild/v1:getBitbucketServerConfig
  Arguments:
    # Arguments dictionary

The following arguments are supported:

getBitbucketServerConfig Result

The following output properties are available:

ApiKey string

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

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

Connected Bitbucket Server repositories for this config.

CreateTime string

Time when the config was created.

HostUri string

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Name string

The resource name for the config.

PeeredNetwork string

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance 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 Bitbucket Server instance 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.BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

SslCa string

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

Username string

Username of the account Cloud Build will use on Bitbucket Server.

WebhookKey string

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

ApiKey string

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

ConnectedRepositories []BitbucketServerRepositoryIdResponse

Connected Bitbucket Server repositories for this config.

CreateTime string

Time when the config was created.

HostUri string

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Name string

The resource name for the config.

PeeredNetwork string

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance 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 Bitbucket Server instance 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 BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

SslCa string

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

Username string

Username of the account Cloud Build will use on Bitbucket Server.

WebhookKey string

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

apiKey String

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connectedRepositories List<BitbucketServerRepositoryIdResponse>

Connected Bitbucket Server repositories for this config.

createTime String

Time when the config was created.

hostUri String

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name String

The resource name for the config.

peeredNetwork String

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance 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 Bitbucket Server instance 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 BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

sslCa String

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username String

Username of the account Cloud Build will use on Bitbucket Server.

webhookKey String

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

apiKey string

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connectedRepositories BitbucketServerRepositoryIdResponse[]

Connected Bitbucket Server repositories for this config.

createTime string

Time when the config was created.

hostUri string

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name string

The resource name for the config.

peeredNetwork string

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance 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 Bitbucket Server instance 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 BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

sslCa string

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username string

Username of the account Cloud Build will use on Bitbucket Server.

webhookKey string

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

api_key str

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connected_repositories Sequence[BitbucketServerRepositoryIdResponse]

Connected Bitbucket Server repositories for this config.

create_time str

Time when the config was created.

host_uri str

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name str

The resource name for the config.

peered_network str

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance 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 Bitbucket Server instance 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 BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

ssl_ca str

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username str

Username of the account Cloud Build will use on Bitbucket Server.

webhook_key str

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

apiKey String

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connectedRepositories List<Property Map>

Connected Bitbucket Server repositories for this config.

createTime String

Time when the config was created.

hostUri String

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name String

The resource name for the config.

peeredNetwork String

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance 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 Bitbucket Server instance 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

Secret Manager secrets needed by the config.

sslCa String

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username String

Username of the account Cloud Build will use on Bitbucket Server.

webhookKey String

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

Supporting Types

BitbucketServerRepositoryIdResponse

ProjectKey string

Identifier for the project storing the repository.

RepoSlug string

Identifier for the repository.

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.

ProjectKey string

Identifier for the project storing the repository.

RepoSlug string

Identifier for the repository.

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.

projectKey String

Identifier for the project storing the repository.

repoSlug String

Identifier for the repository.

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.

projectKey string

Identifier for the project storing the repository.

repoSlug string

Identifier for the repository.

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.

project_key str

Identifier for the project storing the repository.

repo_slug str

Identifier for the repository.

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.

projectKey String

Identifier for the project storing the repository.

repoSlug String

Identifier for the repository.

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.

BitbucketServerSecretsResponse

AdminAccessTokenVersionName string

The resource name for the admin access token's secret version.

ReadAccessTokenVersionName string

The resource name for the read access token's secret version.

WebhookSecretVersionName 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 BitbucketServerConfig.

AdminAccessTokenVersionName string

The resource name for the admin access token's secret version.

ReadAccessTokenVersionName string

The resource name for the read access token's secret version.

WebhookSecretVersionName 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 BitbucketServerConfig.

adminAccessTokenVersionName String

The resource name for the admin access token's secret version.

readAccessTokenVersionName String

The resource name for the read access token's secret version.

webhookSecretVersionName 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 BitbucketServerConfig.

adminAccessTokenVersionName string

The resource name for the admin access token's secret version.

readAccessTokenVersionName string

The resource name for the read access token's secret version.

webhookSecretVersionName 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 BitbucketServerConfig.

admin_access_token_version_name str

The resource name for the admin access token's secret version.

read_access_token_version_name str

The resource name for the read access token's secret version.

webhook_secret_version_name 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 BitbucketServerConfig.

adminAccessTokenVersionName String

The resource name for the admin access token's secret version.

readAccessTokenVersionName String

The resource name for the read access token's secret version.

webhookSecretVersionName 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 BitbucketServerConfig.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0