CreateZipUploadConfigSourceDetails

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

Bases: oci.resource_manager.models.create_config_source_details.CreateConfigSourceDetails

Property details for uploading the configuration zip file.

Methods

__init__(**kwargs) Initializes a new CreateZipUploadConfigSourceDetails 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 CreateConfigSourceDetails.
working_directory Gets the working_directory of this CreateConfigSourceDetails.
zip_file_base64_encoded [Required] Gets the zip_file_base64_encoded of this CreateZipUploadConfigSourceDetails.
__init__(**kwargs)

Initializes a new CreateZipUploadConfigSourceDetails 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 CreateZipUploadConfigSourceDetails.
  • working_directory (str) – The value to assign to the working_directory property of this CreateZipUploadConfigSourceDetails.
  • zip_file_base64_encoded (str) – The value to assign to the zip_file_base64_encoded property of this CreateZipUploadConfigSourceDetails.
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.

working_directory

Gets the working_directory of this CreateConfigSourceDetails. File path to the directory from which Terraform runs. If not specified, the root directory is used. This parameter is ignored for the configSourceType value of COMPARTMENT_CONFIG_SOURCE.

Returns:The working_directory of this CreateConfigSourceDetails.
Return type:str
zip_file_base64_encoded

[Required] Gets the zip_file_base64_encoded of this CreateZipUploadConfigSourceDetails.

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