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)
// 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:
- Bitbucket
Server stringConfig Id - Location string
- Project string
- Bitbucket
Server stringConfig Id - Location string
- Project string
- bitbucket
Server StringConfig Id - location String
- project String
- bitbucket
Server stringConfig Id - location string
- project string
- bitbucket_
server_ strconfig_ id - location str
- project str
- bitbucket
Server StringConfig Id - location String
- project String
getBitbucketServerConfig Result
The following output properties are available:
- Api
Key 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.
- Connected
Repositories List<Pulumi.Google Native. Cloud Build. V1. Outputs. Bitbucket Server Repository Id Response> - Connected Bitbucket Server repositories for this config.
- Create
Time string - Time when the config was created.
- Host
Uri 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.
- Peered
Network 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. - Peered
Network 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/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will 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.
- Ssl
Ca 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.
- Webhook
Key string - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- Api
Key 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.
- Connected
Repositories []BitbucketServer Repository Id Response - Connected Bitbucket Server repositories for this config.
- Create
Time string - Time when the config was created.
- Host
Uri 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.
- Peered
Network 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. - Peered
Network 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/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - Secrets
Bitbucket
Server Secrets Response - Secret Manager secrets needed by the config.
- Ssl
Ca 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.
- Webhook
Key string - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- api
Key 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.
- connected
Repositories List<BitbucketServer Repository Id Response> - Connected Bitbucket Server repositories for this config.
- create
Time String - Time when the config was created.
- host
Uri 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.
- peered
Network 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. - peered
Network 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/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets
Bitbucket
Server Secrets Response - Secret Manager secrets needed by the config.
- ssl
Ca 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.
- webhook
Key String - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- api
Key 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.
- connected
Repositories BitbucketServer Repository Id Response[] - Connected Bitbucket Server repositories for this config.
- create
Time string - Time when the config was created.
- host
Uri 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.
- peered
Network 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. - peered
Network 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/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets
Bitbucket
Server Secrets Response - Secret Manager secrets needed by the config.
- ssl
Ca 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.
- webhook
Key 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/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets
Bitbucket
Server 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.
- api
Key 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.
- connected
Repositories List<Property Map> - Connected Bitbucket Server repositories for this config.
- create
Time String - Time when the config was created.
- host
Uri 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.
- peered
Network 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. - peered
Network 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/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets Property Map
- Secret Manager secrets needed by the config.
- ssl
Ca 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.
- webhook
Key String - UUID included in webhook requests. The UUID is used to look up the corresponding config.
Supporting Types
BitbucketServerRepositoryIdResponse
- Project
Key string - Identifier for the project storing the repository.
- Repo
Slug string - 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.
- Project
Key string - Identifier for the project storing the repository.
- Repo
Slug string - 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.
- project
Key String - Identifier for the project storing the repository.
- repo
Slug String - Identifier for the repository.
- 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.
- project
Key string - Identifier for the project storing the repository.
- repo
Slug string - Identifier for the repository.
- 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.
- 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.
- project
Key String - Identifier for the project storing the repository.
- repo
Slug String - Identifier for the repository.
- 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.
BitbucketServerSecretsResponse
- Admin
Access stringToken Version Name - The resource name for the admin access token's secret version.
- Read
Access stringToken Version Name - The resource name for the read access token's secret version.
- Webhook
Secret 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 stringToken Version Name - The resource name for the admin access token's secret version.
- Read
Access stringToken Version Name - The resource name for the read access token's secret version.
- Webhook
Secret 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 StringToken Version Name - The resource name for the admin access token's secret version.
- read
Access StringToken Version Name - The resource name for the read access token's secret version.
- webhook
Secret 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 stringToken Version Name - The resource name for the admin access token's secret version.
- read
Access stringToken Version Name - The resource name for the read access token's secret version.
- webhook
Secret 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.
- admin
Access StringToken Version Name - The resource name for the admin access token's secret version.
- read
Access StringToken Version Name - The resource name for the read access token's secret version.
- webhook
Secret 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