CreateObjectStorageConfigSourceDetails¶
-
class
oci.resource_manager.models.
CreateObjectStorageConfigSourceDetails
(**kwargs)¶ Bases:
oci.resource_manager.models.create_config_source_details.CreateConfigSourceDetails
Creation details for an Object Storage bucket that contains Terraform configuration files.
Methods
__init__
(**kwargs)Initializes a new CreateObjectStorageConfigSourceDetails 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
bucket_name
[Required] Gets the bucket_name of this CreateObjectStorageConfigSourceDetails. config_source_type
[Required] Gets the config_source_type of this CreateConfigSourceDetails. namespace
[Required] Gets the namespace of this CreateObjectStorageConfigSourceDetails. region
[Required] Gets the region of this CreateObjectStorageConfigSourceDetails. working_directory
Gets the working_directory of this CreateConfigSourceDetails. -
__init__
(**kwargs)¶ Initializes a new CreateObjectStorageConfigSourceDetails object with values from keyword arguments. The default value of the
config_source_type
attribute of this class isOBJECT_STORAGE_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 CreateObjectStorageConfigSourceDetails.
- working_directory (str) – The value to assign to the working_directory property of this CreateObjectStorageConfigSourceDetails.
- region (str) – The value to assign to the region property of this CreateObjectStorageConfigSourceDetails.
- namespace (str) – The value to assign to the namespace property of this CreateObjectStorageConfigSourceDetails.
- bucket_name (str) – The value to assign to the bucket_name property of this CreateObjectStorageConfigSourceDetails.
-
bucket_name
¶ [Required] Gets the bucket_name of this CreateObjectStorageConfigSourceDetails. The name of the bucket that contains the Terraform configuration files.
Returns: The bucket_name of this CreateObjectStorageConfigSourceDetails. Return type: str
-
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
-
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 CreateObjectStorageConfigSourceDetails. The Object Storage namespace that contains the bucket.
Returns: The namespace of this CreateObjectStorageConfigSourceDetails. Return type: str
-
region
¶ [Required] Gets the region of this CreateObjectStorageConfigSourceDetails. The name of the bucket’s region. Example: us-phoenix-1
Returns: The region of this CreateObjectStorageConfigSourceDetails. Return type: str
-
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
-