ZipUploadConfigSourceRecord

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

Bases: oci.resource_manager.models.config_source_record.ConfigSourceRecord

Information about the user-provided file used for the Terraform configuration.

Attributes

CONFIG_SOURCE_RECORD_TYPE_GIT_CONFIG_SOURCE str(object=’‘) -> str
CONFIG_SOURCE_RECORD_TYPE_ZIP_UPLOAD str(object=’‘) -> str
config_source_record_type [Required] Gets the config_source_record_type of this ConfigSourceRecord.

Methods

__init__(**kwargs) Initializes a new ZipUploadConfigSourceRecord 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_GIT_CONFIG_SOURCE = 'GIT_CONFIG_SOURCE'
CONFIG_SOURCE_RECORD_TYPE_ZIP_UPLOAD = 'ZIP_UPLOAD'
__init__(**kwargs)

Initializes a new ZipUploadConfigSourceRecord object with values from keyword arguments. The default value of the config_source_record_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_record_type (str) – The value to assign to the config_source_record_type property of this ZipUploadConfigSourceRecord. Allowed values for this property are: “ZIP_UPLOAD”, “GIT_CONFIG_SOURCE”
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: “ZIP_UPLOAD”, “GIT_CONFIG_SOURCE”, ‘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.