UpdateObjectStorageConfigSourceDetails

class oci.resource_manager.models.UpdateObjectStorageConfigSourceDetails(**kwargs)

Bases: oci.resource_manager.models.update_config_source_details.UpdateConfigSourceDetails

Updates property details for the Object Storage bucket that contains Terraform configuration files.

Methods

__init__(**kwargs) Initializes a new UpdateObjectStorageConfigSourceDetails 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 Gets the bucket_name of this UpdateObjectStorageConfigSourceDetails.
config_source_type [Required] Gets the config_source_type of this UpdateConfigSourceDetails.
namespace Gets the namespace of this UpdateObjectStorageConfigSourceDetails.
region Gets the region of this UpdateObjectStorageConfigSourceDetails.
working_directory Gets the working_directory of this UpdateConfigSourceDetails.
__init__(**kwargs)

Initializes a new UpdateObjectStorageConfigSourceDetails object with values from keyword arguments. The default value of the config_source_type attribute of this class is OBJECT_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 UpdateObjectStorageConfigSourceDetails.
  • working_directory (str) – The value to assign to the working_directory property of this UpdateObjectStorageConfigSourceDetails.
  • region (str) – The value to assign to the region property of this UpdateObjectStorageConfigSourceDetails.
  • namespace (str) – The value to assign to the namespace property of this UpdateObjectStorageConfigSourceDetails.
  • bucket_name (str) – The value to assign to the bucket_name property of this UpdateObjectStorageConfigSourceDetails.
bucket_name

Gets the bucket_name of this UpdateObjectStorageConfigSourceDetails. The name of the bucket that contains the Terraform configuration files.

Returns:The bucket_name of this UpdateObjectStorageConfigSourceDetails.
Return type:str
config_source_type

[Required] Gets the config_source_type of this UpdateConfigSourceDetails. Specifies the configSourceType for uploading the Terraform configuration.

Returns:The config_source_type of this UpdateConfigSourceDetails.
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

Gets the namespace of this UpdateObjectStorageConfigSourceDetails. The Object Storage namespace that contains the bucket.

Returns:The namespace of this UpdateObjectStorageConfigSourceDetails.
Return type:str
region

Gets the region of this UpdateObjectStorageConfigSourceDetails. The name of the bucket’s region. Example: PHX

Returns:The region of this UpdateObjectStorageConfigSourceDetails.
Return type:str
working_directory

Gets the working_directory of this UpdateConfigSourceDetails. The path of the directory from which to run terraform. If not specified, the the root will be used. This parameter is ignored for the configSourceType value of COMPARTMENT_CONFIG_SOURCE.

Returns:The working_directory of this UpdateConfigSourceDetails.
Return type:str