CreateBitbucketCloudConfigSourceDetails

class oci.resource_manager.models.CreateBitbucketCloudConfigSourceDetails(**kwargs)

Bases: CreateConfigSourceDetails

Creation details for a Bitbucket Cloud configuration source.

Methods:

__init__(**kwargs)

Initializes a new CreateBitbucketCloudConfigSourceDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

Attributes:

branch_name

Gets the branch_name of this CreateBitbucketCloudConfigSourceDetails.

config_source_type

[Required] Gets the config_source_type of this CreateConfigSourceDetails.

configuration_source_provider_id

[Required] Gets the configuration_source_provider_id of this CreateBitbucketCloudConfigSourceDetails.

repository_url

[Required] Gets the repository_url of this CreateBitbucketCloudConfigSourceDetails.

working_directory

Gets the working_directory of this CreateConfigSourceDetails.

workspace_id

[Required] Gets the workspace_id of this CreateBitbucketCloudConfigSourceDetails.

__init__(**kwargs)

Initializes a new CreateBitbucketCloudConfigSourceDetails object with values from keyword arguments. The default value of the config_source_type attribute of this class is BITBUCKET_CLOUD_CONFIG_SOURCE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • config_source_type (str) – The value to assign to the config_source_type property of this CreateBitbucketCloudConfigSourceDetails.

  • working_directory (str) – The value to assign to the working_directory property of this CreateBitbucketCloudConfigSourceDetails.

  • configuration_source_provider_id (str) – The value to assign to the configuration_source_provider_id property of this CreateBitbucketCloudConfigSourceDetails.

  • repository_url (str) – The value to assign to the repository_url property of this CreateBitbucketCloudConfigSourceDetails.

  • branch_name (str) – The value to assign to the branch_name property of this CreateBitbucketCloudConfigSourceDetails.

  • workspace_id (str) – The value to assign to the workspace_id property of this CreateBitbucketCloudConfigSourceDetails.

property branch_name

Gets the branch_name of this CreateBitbucketCloudConfigSourceDetails. The name of the branch in the Bitbucket Cloud repository for the configuration source.

Returns

The branch_name of this CreateBitbucketCloudConfigSourceDetails.

Return type

str

property config_source_type

[Required] Gets the config_source_type of this CreateConfigSourceDetails. Specifies the configSourceType for uploading the Terraform configuration.

Returns

The config_source_type of this CreateConfigSourceDetails.

Return type

str

property configuration_source_provider_id

[Required] Gets the configuration_source_provider_id of this CreateBitbucketCloudConfigSourceDetails. The OCID of the Bitbucket Cloud configuration source.

Returns

The configuration_source_provider_id of this CreateBitbucketCloudConfigSourceDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property repository_url

[Required] Gets the repository_url of this CreateBitbucketCloudConfigSourceDetails. The URL of the Bitbucket Cloud repository for the configuration source.

Returns

The repository_url of this CreateBitbucketCloudConfigSourceDetails.

Return type

str

property working_directory

Gets the working_directory of this CreateConfigSourceDetails. File path to the directory to use for running Terraform. If not specified, the root directory is used. Required when using a zip Terraform configuration (configSourceType value of ZIP_UPLOAD) that contains folders. Ignored for the configSourceType value of COMPARTMENT_CONFIG_SOURCE. For more information about required and recommended file structure, see File Structure (Terraform Configurations for Resource Manager).

Returns

The working_directory of this CreateConfigSourceDetails.

Return type

str

property workspace_id

[Required] Gets the workspace_id of this CreateBitbucketCloudConfigSourceDetails. The id of the workspace in Bitbucket Cloud for the configuration source

Returns

The workspace_id of this CreateBitbucketCloudConfigSourceDetails.

Return type

str