Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.cloudbuild/v1.BitbucketServerConfig
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new BitbucketServerConfig
. This API is experimental.
Create BitbucketServerConfig Resource
new BitbucketServerConfig(name: string, args: BitbucketServerConfigArgs, opts?: CustomResourceOptions);
@overload
def BitbucketServerConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
bitbucket_server_config_id: Optional[str] = None,
create_time: Optional[str] = None,
host_uri: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
peered_network: Optional[str] = None,
project: Optional[str] = None,
secrets: Optional[BitbucketServerSecretsArgs] = None,
ssl_ca: Optional[str] = None,
username: Optional[str] = None)
@overload
def BitbucketServerConfig(resource_name: str,
args: BitbucketServerConfigArgs,
opts: Optional[ResourceOptions] = None)
func NewBitbucketServerConfig(ctx *Context, name string, args BitbucketServerConfigArgs, opts ...ResourceOption) (*BitbucketServerConfig, error)
public BitbucketServerConfig(string name, BitbucketServerConfigArgs args, CustomResourceOptions? opts = null)
public BitbucketServerConfig(String name, BitbucketServerConfigArgs args)
public BitbucketServerConfig(String name, BitbucketServerConfigArgs args, CustomResourceOptions options)
type: google-native:cloudbuild/v1:BitbucketServerConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BitbucketServerConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BitbucketServerConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BitbucketServerConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BitbucketServerConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BitbucketServerConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
BitbucketServerConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BitbucketServerConfig resource accepts the following input properties:
- 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.
- 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.
- Secrets
Pulumi.
Google Native. Cloud Build. V1. Inputs. Bitbucket Server Secrets Secret Manager secrets needed by the config.
- Bitbucket
Server stringConfig Id Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.
- Create
Time string Time when the config was created.
- Location string
- 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.- Project string
- 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.
- 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.
- 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.
- Secrets
Bitbucket
Server Secrets Args Secret Manager secrets needed by the config.
- Bitbucket
Server stringConfig Id Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.
- Create
Time string Time when the config was created.
- Location string
- 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.- Project string
- 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.
- 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.
- 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.
- secrets
Bitbucket
Server Secrets Secret Manager secrets needed by the config.
- bitbucket
Server StringConfig Id Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.
- create
Time String Time when the config was created.
- location String
- 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.- project String
- 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.
- 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.
- 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.
- secrets
Bitbucket
Server Secrets Secret Manager secrets needed by the config.
- bitbucket
Server stringConfig Id Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.
- create
Time string Time when the config was created.
- location string
- 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.- project string
- 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.
- 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.
- 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.
- secrets
Bitbucket
Server Secrets Args Secret Manager secrets needed by the config.
- bitbucket_
server_ strconfig_ id Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.
- create_
time str Time when the config was created.
- location str
- 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.- project str
- 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.
- 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.
- 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.
- secrets Property Map
Secret Manager secrets needed by the config.
- bitbucket
Server StringConfig Id Optional. The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name. bitbucket_server_config_id must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.
- create
Time String Time when the config was created.
- location String
- 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.- project String
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the BitbucketServerConfig resource produces the following output properties:
- Connected
Repositories List<Pulumi.Google Native. Cloud Build. V1. Outputs. Bitbucket Server Repository Id Response> Connected Bitbucket Server repositories for this config.
- Id string
The provider-assigned unique ID for this managed resource.
- Webhook
Key string UUID included in webhook requests. The UUID is used to look up the corresponding config.
- Connected
Repositories []BitbucketServer Repository Id Response Connected Bitbucket Server repositories for this config.
- Id string
The provider-assigned unique ID for this managed resource.
- Webhook
Key string UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected
Repositories List<BitbucketServer Repository Id Response> Connected Bitbucket Server repositories for this config.
- id String
The provider-assigned unique ID for this managed resource.
- webhook
Key String UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected
Repositories BitbucketServer Repository Id Response[] Connected Bitbucket Server repositories for this config.
- id string
The provider-assigned unique ID for this managed resource.
- webhook
Key string UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected_
repositories Sequence[BitbucketServer Repository Id Response] Connected Bitbucket Server repositories for this config.
- id str
The provider-assigned unique ID for this managed resource.
- webhook_
key str UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected
Repositories List<Property Map> Connected Bitbucket Server repositories for this config.
- id String
The provider-assigned unique ID for this managed resource.
- webhook
Key String UUID included in webhook requests. The UUID is used to look up the corresponding config.
Supporting Types
BitbucketServerRepositoryIdResponse, BitbucketServerRepositoryIdResponseArgs
- 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.
BitbucketServerSecrets, BitbucketServerSecretsArgs
- 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.
BitbucketServerSecretsResponse, BitbucketServerSecretsResponseArgs
- 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.