BitbucketServerConfigSourceRecord¶
-
class
oci.resource_manager.models.
BitbucketServerConfigSourceRecord
(**kwargs)¶ Bases:
oci.resource_manager.models.config_source_record.ConfigSourceRecord
Metadata about the Bitbucket Server 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 BitbucketServerConfigSourceRecord. commit_id
Gets the commit_id of this BitbucketServerConfigSourceRecord. 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 BitbucketServerConfigSourceRecord. repository_url
[Required] Gets the repository_url of this BitbucketServerConfigSourceRecord. Methods
__init__
(**kwargs)Initializes a new BitbucketServerConfigSourceRecord 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 BitbucketServerConfigSourceRecord object with values from keyword arguments. The default value of the
config_source_record_type
attribute of this class isBITBUCKET_SERVER_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 BitbucketServerConfigSourceRecord. 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 BitbucketServerConfigSourceRecord.
- repository_url (str) – The value to assign to the repository_url property of this BitbucketServerConfigSourceRecord.
- branch_name (str) – The value to assign to the branch_name property of this BitbucketServerConfigSourceRecord.
- commit_id (str) – The value to assign to the commit_id property of this BitbucketServerConfigSourceRecord.
-
branch_name
¶ Gets the branch_name of this BitbucketServerConfigSourceRecord. The name of the branch within the Bitbucket Server repository.
Returns: The branch_name of this BitbucketServerConfigSourceRecord. Return type: str
-
commit_id
¶ Gets the commit_id of this BitbucketServerConfigSourceRecord. The unique identifier (SHA-1 hash) of the individual change to the Bitbucket Server repository.
Returns: The commit_id of this BitbucketServerConfigSourceRecord. 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 BitbucketServerConfigSourceRecord. Unique identifier (OCID) for the Bitbucket Server configuration source.
Returns: The configuration_source_provider_id of this BitbucketServerConfigSourceRecord. 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 BitbucketServerConfigSourceRecord. The URL of the Bitbucket Server repository.
Returns: The repository_url of this BitbucketServerConfigSourceRecord. Return type: str
-