DevOpsConfigSourceRecord¶
- 
class oci.resource_manager.models.DevOpsConfigSourceRecord(**kwargs)¶
- Bases: - oci.resource_manager.models.config_source_record.ConfigSourceRecord- Metadata about the DevOps 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- [Required] Gets the branch_name of this DevOpsConfigSourceRecord. - commit_id- Gets the commit_id of this DevOpsConfigSourceRecord. - config_source_record_type- [Required] Gets the config_source_record_type of this ConfigSourceRecord. - project_id- [Required] Gets the project_id of this DevOpsConfigSourceRecord. - repository_id- [Required] Gets the repository_id of this DevOpsConfigSourceRecord. - Methods - __init__(**kwargs)- Initializes a new DevOpsConfigSourceRecord 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 DevOpsConfigSourceRecord object with values from keyword arguments. The default value of the - config_source_record_typeattribute of this class is- DEVOPS_CONFIG_SOURCEand 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 DevOpsConfigSourceRecord. 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”
- project_id (str) – The value to assign to the project_id property of this DevOpsConfigSourceRecord.
- repository_id (str) – The value to assign to the repository_id property of this DevOpsConfigSourceRecord.
- branch_name (str) – The value to assign to the branch_name property of this DevOpsConfigSourceRecord.
- commit_id (str) – The value to assign to the commit_id property of this DevOpsConfigSourceRecord.
 
 - 
branch_name¶
- [Required] Gets the branch_name of this DevOpsConfigSourceRecord. The name of the branch that contains the Terraform configuration. - Returns: - The branch_name of this DevOpsConfigSourceRecord. - Return type: - str 
 - 
commit_id¶
- Gets the commit_id of this DevOpsConfigSourceRecord. The unique identifier (SHA-1 hash) of the individual change to the DevOps repository. - Returns: - The commit_id of this DevOpsConfigSourceRecord. - 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 
 - 
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. 
 
-