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.getBitbucketServerConfig
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 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)
public static Output<GetBitbucketServerConfigResult> getBitbucketServerConfig(GetBitbucketServerConfigArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:cloudbuild/v1:getBitbucketServerConfig
  arguments:
    # arguments dictionaryThe following arguments are supported:
- BitbucketServer stringConfig Id 
- Location string
- Project string
- BitbucketServer stringConfig Id 
- Location string
- Project string
- bitbucketServer StringConfig Id 
- location String
- project String
- bitbucketServer stringConfig Id 
- location string
- project string
- bitbucket_server_ strconfig_ id 
- location str
- project str
- bitbucketServer StringConfig Id 
- location String
- project String
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.Google Native. Cloud Build. V1. Outputs. Bitbucket Server Repository Id Response> 
- 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.
- PeeredNetwork stringIp Range 
- Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.
- Secrets
Pulumi.Google Native. Cloud Build. V1. Outputs. Bitbucket Server Secrets Response 
- 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 []BitbucketServer Repository Id Response 
- 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.
- PeeredNetwork stringIp Range 
- Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.
- Secrets
BitbucketServer Secrets Response 
- 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<BitbucketServer Repository Id Response> 
- 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.
- peeredNetwork StringIp Range 
- Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.
- secrets
BitbucketServer Secrets Response 
- 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 BitbucketServer Repository Id Response[] 
- 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.
- peeredNetwork stringIp Range 
- Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.
- secrets
BitbucketServer Secrets Response 
- 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[BitbucketServer Repository Id Response] 
- 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.
- peered_network_ strip_ range 
- Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.
- secrets
BitbucketServer Secrets Response 
- 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.
- peeredNetwork StringIp Range 
- Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g. 192.168.0.0/29would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24will be used. The field only has an effect if peered_network is set.
- 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   
- AdminAccess stringToken Version Name 
- The resource name for the admin access token's secret version.
- ReadAccess stringToken Version Name 
- The resource name for the read access token's secret version.
- WebhookSecret stringVersion Name 
- 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.
- AdminAccess stringToken Version Name 
- The resource name for the admin access token's secret version.
- ReadAccess stringToken Version Name 
- The resource name for the read access token's secret version.
- WebhookSecret stringVersion Name 
- 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.
- adminAccess StringToken Version Name 
- The resource name for the admin access token's secret version.
- readAccess StringToken Version Name 
- The resource name for the read access token's secret version.
- webhookSecret StringVersion Name 
- 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.
- adminAccess stringToken Version Name 
- The resource name for the admin access token's secret version.
- readAccess stringToken Version Name 
- The resource name for the read access token's secret version.
- webhookSecret stringVersion Name 
- 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_ strtoken_ version_ name 
- The resource name for the admin access token's secret version.
- read_access_ strtoken_ version_ name 
- The resource name for the read access token's secret version.
- webhook_secret_ strversion_ name 
- 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.
- adminAccess StringToken Version Name 
- The resource name for the admin access token's secret version.
- readAccess StringToken Version Name 
- The resource name for the read access token's secret version.
- webhookSecret StringVersion Name 
- 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
- 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