BitbucketServerConfig

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:

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.

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.

Secrets Pulumi.GoogleNative.CloudBuild.V1.Inputs.BitbucketServerSecretsArgs

Secret Manager secrets needed by the config.

BitbucketServerConfigId string

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.

CreateTime string

Time when the config was created.

Location string
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.

Project string
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.

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.

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.

Secrets BitbucketServerSecretsArgs

Secret Manager secrets needed by the config.

BitbucketServerConfigId string

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.

CreateTime string

Time when the config was created.

Location string
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.

Project string
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.

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.

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.

secrets BitbucketServerSecretsArgs

Secret Manager secrets needed by the config.

bitbucketServerConfigId String

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.

createTime String

Time when the config was created.

location String
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.

project String
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.

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.

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.

secrets BitbucketServerSecretsArgs

Secret Manager secrets needed by the config.

bitbucketServerConfigId string

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.

createTime string

Time when the config was created.

location string
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.

project string
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.

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 BitbucketServerSecretsArgs

Secret Manager secrets needed by the config.

bitbucket_server_config_id str

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.

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.

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.

secrets Property Map

Secret Manager secrets needed by the config.

bitbucketServerConfigId String

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.

createTime String

Time when the config was created.

location String
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.

project String
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.

Outputs

All input properties are implicitly available as output properties. Additionally, the BitbucketServerConfig resource produces the following output properties:

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

Connected Bitbucket Server repositories for this config.

Id string

The provider-assigned unique ID for this managed resource.

WebhookKey string

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

ConnectedRepositories []BitbucketServerRepositoryIdResponse

Connected Bitbucket Server repositories for this config.

Id string

The provider-assigned unique ID for this managed resource.

WebhookKey string

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

connectedRepositories List<BitbucketServerRepositoryIdResponse>

Connected Bitbucket Server repositories for this config.

id String

The provider-assigned unique ID for this managed resource.

webhookKey String

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

connectedRepositories BitbucketServerRepositoryIdResponse[]

Connected Bitbucket Server repositories for this config.

id string

The provider-assigned unique ID for this managed resource.

webhookKey string

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

connected_repositories Sequence[BitbucketServerRepositoryIdResponse]

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.

connectedRepositories List<Property Map>

Connected Bitbucket Server repositories for this config.

id String

The provider-assigned unique ID for this managed resource.

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.

BitbucketServerSecrets

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.

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