UpdateDirectArchiveSourceDetails¶
-
class
oci.functions.models.UpdateDirectArchiveSourceDetails(**kwargs)¶ Bases:
oci.functions.models.update_archive_source_details.UpdateArchiveSourceDetailsSource details required for updating an archive based function from Direct Archive.
Attributes
ARCHIVE_SOURCE_TYPE_DIRECT_ARCHIVEstr(object=’’) -> str ARCHIVE_SOURCE_TYPE_OBJECT_STORAGE_ARCHIVEstr(object=’’) -> str archive_file[Required] Gets the archive_file of this UpdateDirectArchiveSourceDetails. archive_source_type[Required] Gets the archive_source_type of this UpdateArchiveSourceDetails. Methods
__init__(**kwargs)Initializes a new UpdateDirectArchiveSourceDetails 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. -
ARCHIVE_SOURCE_TYPE_DIRECT_ARCHIVE= 'DIRECT_ARCHIVE'¶
-
ARCHIVE_SOURCE_TYPE_OBJECT_STORAGE_ARCHIVE= 'OBJECT_STORAGE_ARCHIVE'¶
-
__init__(**kwargs)¶ Initializes a new UpdateDirectArchiveSourceDetails object with values from keyword arguments. The default value of the
archive_source_typeattribute of this class isDIRECT_ARCHIVEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - archive_source_type (str) – The value to assign to the archive_source_type property of this UpdateDirectArchiveSourceDetails. Allowed values for this property are: “OBJECT_STORAGE_ARCHIVE”, “DIRECT_ARCHIVE”
- archive_file (str) – The value to assign to the archive_file property of this UpdateDirectArchiveSourceDetails.
-
archive_file¶ [Required] Gets the archive_file of this UpdateDirectArchiveSourceDetails. The base64-encoded archive file of the function code. The archive file must contain all the files for the function. Please refer to functions documentation for maximum allowed size and supported archive formats.
Returns: The archive_file of this UpdateDirectArchiveSourceDetails. Return type: str
-
archive_source_type¶ [Required] Gets the archive_source_type of this UpdateArchiveSourceDetails. Type of the Archive Source. Possible values: OBJECT_STORAGE_ARCHIVE and DIRECT_ARCHIVE.
Allowed values for this property are: “OBJECT_STORAGE_ARCHIVE”, “DIRECT_ARCHIVE”
Returns: The archive_source_type of this UpdateArchiveSourceDetails. 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.
-