ConnectionBitbucketDataCenterConfig constructor
- required Input<
ConnectionBitbucketDataCenterConfigAuthorizerCredential> authorizerCredential, - required Input<
String> hostUri, - required Input<
ConnectionBitbucketDataCenterConfigReadAuthorizerCredential> readAuthorizerCredential, - Input<
String?> ? serverVersion, - Input<
ConnectionBitbucketDataCenterConfigServiceDirectoryConfig?> ? serviceDirectoryConfig, - Input<
String?> ? sslCa, - required Input<
String> webhookSecretSecretVersion,
Creates a new ConnectionBitbucketDataCenterConfig.
authorizerCredential Required. A http access token with the REPO_ADMIN scope access.
hostUri The URI of the Bitbucket Data Center host this connection is for.
readAuthorizerCredential Required. A http access token with the REPO_READ access.
serverVersion (Output)
serviceDirectoryConfig Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.
sslCa SSL certificate to use for requests to the Bitbucket Data Center.
webhookSecretSecretVersion Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*.
Implementation
const ConnectionBitbucketDataCenterConfig({
required this.authorizerCredential,
required this.hostUri,
required this.readAuthorizerCredential,
this.serverVersion,
this.serviceDirectoryConfig,
this.sslCa,
required this.webhookSecretSecretVersion,
});