BitbucketCloudConfigSourceRecord¶
-
class
oci.resource_manager.models.
BitbucketCloudConfigSourceRecord
(**kwargs)¶ Bases:
oci.resource_manager.models.config_source_record.ConfigSourceRecord
Metadata about the Bitbucket Cloud configuration source.
Attributes
CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_CLOUD_CONFIG_SOURCE
str(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_SERVER_CONFIG_SOURCE
str(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_COMPARTMENT_CONFIG_SOURCE
str(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_DEVOPS_CONFIG_SOURCE
str(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_GIT_CONFIG_SOURCE
str(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_OBJECT_STORAGE_CONFIG_SOURCE
str(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_ZIP_UPLOAD
str(object=’’) -> str branch_name
Gets the branch_name of this BitbucketCloudConfigSourceRecord. commit_id
Gets the commit_id of this BitbucketCloudConfigSourceRecord. config_source_record_type
[Required] Gets the config_source_record_type of this ConfigSourceRecord. configuration_source_provider_id
[Required] Gets the configuration_source_provider_id of this BitbucketCloudConfigSourceRecord. repository_url
[Required] Gets the repository_url of this BitbucketCloudConfigSourceRecord. workspace_id
[Required] Gets the workspace_id of this BitbucketCloudConfigSourceRecord. Methods
__init__
(**kwargs)Initializes a new BitbucketCloudConfigSourceRecord 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. -
CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_CLOUD_CONFIG_SOURCE
= 'BITBUCKET_CLOUD_CONFIG_SOURCE'¶
-
CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_SERVER_CONFIG_SOURCE
= 'BITBUCKET_SERVER_CONFIG_SOURCE'¶
-
CONFIG_SOURCE_RECORD_TYPE_COMPARTMENT_CONFIG_SOURCE
= 'COMPARTMENT_CONFIG_SOURCE'¶
-
CONFIG_SOURCE_RECORD_TYPE_DEVOPS_CONFIG_SOURCE
= 'DEVOPS_CONFIG_SOURCE'¶
-
CONFIG_SOURCE_RECORD_TYPE_GIT_CONFIG_SOURCE
= 'GIT_CONFIG_SOURCE'¶
-
CONFIG_SOURCE_RECORD_TYPE_OBJECT_STORAGE_CONFIG_SOURCE
= 'OBJECT_STORAGE_CONFIG_SOURCE'¶
-
CONFIG_SOURCE_RECORD_TYPE_ZIP_UPLOAD
= 'ZIP_UPLOAD'¶
-
__init__
(**kwargs)¶ Initializes a new BitbucketCloudConfigSourceRecord object with values from keyword arguments. The default value of the
config_source_record_type
attribute of this class isBITBUCKET_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_record_type (str) – The value to assign to the config_source_record_type property of this BitbucketCloudConfigSourceRecord. Allowed values for this property are: “BITBUCKET_CLOUD_CONFIG_SOURCE”, “BITBUCKET_SERVER_CONFIG_SOURCE”, “COMPARTMENT_CONFIG_SOURCE”, “DEVOPS_CONFIG_SOURCE”, “GIT_CONFIG_SOURCE”, “OBJECT_STORAGE_CONFIG_SOURCE”, “ZIP_UPLOAD”
- configuration_source_provider_id (str) – The value to assign to the configuration_source_provider_id property of this BitbucketCloudConfigSourceRecord.
- repository_url (str) – The value to assign to the repository_url property of this BitbucketCloudConfigSourceRecord.
- branch_name (str) – The value to assign to the branch_name property of this BitbucketCloudConfigSourceRecord.
- workspace_id (str) – The value to assign to the workspace_id property of this BitbucketCloudConfigSourceRecord.
- commit_id (str) – The value to assign to the commit_id property of this BitbucketCloudConfigSourceRecord.
-
branch_name
¶ Gets the branch_name of this BitbucketCloudConfigSourceRecord. The name of the branch within the Bitbucket Cloud repository.
Returns: The branch_name of this BitbucketCloudConfigSourceRecord. Return type: str
-
commit_id
¶ Gets the commit_id of this BitbucketCloudConfigSourceRecord. The unique identifier (SHA-1 hash) of the individual change to the Bitbucket Cloud repository.
Returns: The commit_id of this BitbucketCloudConfigSourceRecord. Return type: str
-
config_source_record_type
¶ [Required] Gets the config_source_record_type of this ConfigSourceRecord. The type of configuration source to use for the Terraform configuration.
Allowed values for this property are: “BITBUCKET_CLOUD_CONFIG_SOURCE”, “BITBUCKET_SERVER_CONFIG_SOURCE”, “COMPARTMENT_CONFIG_SOURCE”, “DEVOPS_CONFIG_SOURCE”, “GIT_CONFIG_SOURCE”, “OBJECT_STORAGE_CONFIG_SOURCE”, “ZIP_UPLOAD”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The config_source_record_type of this ConfigSourceRecord. Return type: str
-
configuration_source_provider_id
¶ [Required] Gets the configuration_source_provider_id of this BitbucketCloudConfigSourceRecord. Unique identifier (OCID) for the Bitbucket Cloud configuration source.
Returns: The configuration_source_provider_id of this BitbucketCloudConfigSourceRecord. 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.
-
repository_url
¶ [Required] Gets the repository_url of this BitbucketCloudConfigSourceRecord. The URL of the Bitbucket Cloud repository.
Returns: The repository_url of this BitbucketCloudConfigSourceRecord. Return type: str
-
workspace_id
¶ [Required] Gets the workspace_id of this BitbucketCloudConfigSourceRecord. The id of the workspace in Bitbucket Cloud for the configuration source.
Returns: The workspace_id of this BitbucketCloudConfigSourceRecord. Return type: str
-