ObjectStorageConfigSourceRecord¶
-
class
oci.resource_manager.models.ObjectStorageConfigSourceRecord(**kwargs)¶ Bases:
oci.resource_manager.models.config_source_record.ConfigSourceRecordMetadata about the Object Storage configuration source.
Attributes
CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_CLOUD_CONFIG_SOURCEstr(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_BITBUCKET_SERVER_CONFIG_SOURCEstr(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_COMPARTMENT_CONFIG_SOURCEstr(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_DEVOPS_CONFIG_SOURCEstr(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_GIT_CONFIG_SOURCEstr(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_OBJECT_STORAGE_CONFIG_SOURCEstr(object=’’) -> str CONFIG_SOURCE_RECORD_TYPE_ZIP_UPLOADstr(object=’’) -> str bucket_name[Required] Gets the bucket_name of this ObjectStorageConfigSourceRecord. config_source_record_type[Required] Gets the config_source_record_type of this ConfigSourceRecord. namespace[Required] Gets the namespace of this ObjectStorageConfigSourceRecord. region[Required] Gets the region of this ObjectStorageConfigSourceRecord. Methods
__init__(**kwargs)Initializes a new ObjectStorageConfigSourceRecord 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 ObjectStorageConfigSourceRecord object with values from keyword arguments. The default value of the
config_source_record_typeattribute of this class isOBJECT_STORAGE_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 ObjectStorageConfigSourceRecord. 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”
- region (str) – The value to assign to the region property of this ObjectStorageConfigSourceRecord.
- namespace (str) – The value to assign to the namespace property of this ObjectStorageConfigSourceRecord.
- bucket_name (str) – The value to assign to the bucket_name property of this ObjectStorageConfigSourceRecord.
-
bucket_name¶ [Required] Gets the bucket_name of this ObjectStorageConfigSourceRecord. The name of the bucket that contains the Terraform configuration files.
Returns: The bucket_name of this ObjectStorageConfigSourceRecord. 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.
-
namespace¶ [Required] Gets the namespace of this ObjectStorageConfigSourceRecord. The Object Storage namespace that contains the bucket.
Returns: The namespace of this ObjectStorageConfigSourceRecord. Return type: str
-
region¶ [Required] Gets the region of this ObjectStorageConfigSourceRecord. The name of the bucket’s region. Example: us-phoenix-1
Returns: The region of this ObjectStorageConfigSourceRecord. Return type: str
-