UpdateZipUploadConfigSourceDetails

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

Bases: oci.resource_manager.models.update_config_source_details.UpdateConfigSourceDetails

Update details for a Terraform configuration zip file.

Methods

__init__(**kwargs) Initializes a new UpdateZipUploadConfigSourceDetails 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

config_source_type [Required] Gets the config_source_type of this UpdateConfigSourceDetails.
working_directory Gets the working_directory of this UpdateConfigSourceDetails.
zip_file_base64_encoded Gets the zip_file_base64_encoded of this UpdateZipUploadConfigSourceDetails.
__init__(**kwargs)

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

working_directory

Gets the working_directory of this UpdateConfigSourceDetails. 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 UpdateConfigSourceDetails.
Return type:str
zip_file_base64_encoded

Gets the zip_file_base64_encoded of this UpdateZipUploadConfigSourceDetails.

Returns:The zip_file_base64_encoded of this UpdateZipUploadConfigSourceDetails.
Return type:str