BitbucketServerConfigArgs class
The set of arguments for BitbucketServerConfig. The set of arguments for BitbucketServerConfig.
Constructors
-
BitbucketServerConfigArgs({required Input<
String> apiKey, required Input<String> configId, Input<List< ? connectedRepositories, Input<BitbucketServerConfigConnectedRepository> ?>String?> ? deletionPolicy, required Input<String> hostUri, required Input<String> location, Input<String?> ? peeredNetwork, Input<String?> ? project, required Input<BitbucketServerConfigSecrets> secrets, Input<String?> ? sslCa, required Input<String> username}) -
Creates a new BitbucketServerConfigArgs.
apiKeyImmutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed.configIdThe ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name.connectedRepositoriesConnected Bitbucket Server repositories for this config.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.hostUriImmutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed.locationThe location of this bitbucket server config.peeredNetworkThe network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection.projectThe ID of the project in which the resource belongs.secretsSecret Manager secrets needed by the config.sslCaSSL 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.usernameUsername of the account Cloud Build will use on Bitbucket Server.const -
BitbucketServerConfigArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apiKey
→ Input<
String> -
Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed.
Changing this field will result in deleting/ recreating the resource.
final
-
configId
→ Input<
String> -
The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name.
final
-
connectedRepositories
→ Input<
List< ?BitbucketServerConfigConnectedRepository> ?> -
Connected Bitbucket Server repositories for this config.
Structure is documented below.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostUri
→ Input<
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.
final
-
location
→ Input<
String> -
The location of this bitbucket server config.
final
-
peeredNetwork
→ Input<
String?> ? -
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.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secrets
→ Input<
BitbucketServerConfigSecrets> -
Secret Manager secrets needed by the config.
Structure is documented below.
final
-
sslCa
→ Input<
String?> ? -
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.
final
-
username
→ Input<
String> -
Username of the account Cloud Build will use on Bitbucket Server.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited