ConnectionArgs class

The set of arguments for Connection. The set of arguments for Connection.

Constructors

ConnectionArgs({Input<Map<String, String>?>? annotations, Input<ConnectionBitbucketCloudConfig?>? bitbucketCloudConfig, Input<ConnectionBitbucketDataCenterConfig?>? bitbucketDataCenterConfig, Input<String?>? deletionPolicy, Input<bool?>? disabled, Input<ConnectionGithubConfig?>? githubConfig, Input<ConnectionGithubEnterpriseConfig?>? githubEnterpriseConfig, Input<ConnectionGitlabConfig?>? gitlabConfig, required Input<String> location, Input<String?>? name, Input<String?>? project})
Creates a new ConnectionArgs. annotations Allows clients to store small amounts of arbitrary data. bitbucketCloudConfig Configuration for connections to Bitbucket Cloud. bitbucketDataCenterConfig Configuration for connections to Bitbucket Data Center. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. disabled If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled. githubConfig Configuration for connections to github.com. githubEnterpriseConfig Configuration for connections to an instance of GitHub Enterprise. gitlabConfig Configuration for connections to gitlab.com or an instance of GitLab Enterprise. location The location for the resource name Immutable. The resource name of the connection. project The ID of the project in which the resource belongs.
const
ConnectionArgs.fromMap(Map<String, dynamic> map)
factory

Properties

annotations → Input<Map<String, String>?>?
Allows clients to store small amounts of arbitrary data. Note: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field effectiveAnnotations for all of the annotations present on the resource.
final
bitbucketCloudConfig → Input<ConnectionBitbucketCloudConfig?>?
Configuration for connections to Bitbucket Cloud. Structure is documented below.
final
bitbucketDataCenterConfig → Input<ConnectionBitbucketDataCenterConfig?>?
Configuration for connections to Bitbucket Data Center. 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
disabled → Input<bool?>?
If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
final
githubConfig → Input<ConnectionGithubConfig?>?
Configuration for connections to github.com. Structure is documented below.
final
githubEnterpriseConfig → Input<ConnectionGithubEnterpriseConfig?>?
Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
final
gitlabConfig → Input<ConnectionGitlabConfig?>?
Configuration for connections to gitlab.com or an instance of GitLab Enterprise. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<String>
The location for the resource
final
name → Input<String?>?
Immutable. The resource name of the connection.
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

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