BitbucketServerConfigArgs constructor
- required Input<
String> apiKey, - required Input<
String> configId, - Input<
List< ? connectedRepositories,BitbucketServerConfigConnectedRepository> ?> - Input<
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.
apiKey Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed.
configId The ID to use for the BitbucketServerConfig, which will become the final component of the BitbucketServerConfig's resource name.
connectedRepositories Connected Bitbucket Server repositories for this config.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
hostUri Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed.
location The location of this bitbucket server config.
peeredNetwork The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection.
project The ID of the project in which the resource belongs.
secrets Secret Manager secrets needed by the config.
sslCa 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 Username of the account Cloud Build will use on Bitbucket Server.
Implementation
const BitbucketServerConfigArgs({
required this.apiKey,
required this.configId,
this.connectedRepositories,
this.deletionPolicy,
required this.hostUri,
required this.location,
this.peeredNetwork,
this.project,
required this.secrets,
this.sslCa,
required this.username,
});