CreateImagePublicationPackage¶
-
class
oci.marketplace.models.CreateImagePublicationPackage(**kwargs)¶ Bases:
oci.marketplace.models.create_publication_package.CreatePublicationPackageAn object for creating an image publication package.
Attributes
PACKAGE_TYPE_CONTAINERstr(object=’’) -> str PACKAGE_TYPE_IMAGEstr(object=’’) -> str PACKAGE_TYPE_KUBERNETESstr(object=’’) -> str PACKAGE_TYPE_ORCHESTRATIONstr(object=’’) -> str eula[Required] Gets the eula of this CreatePublicationPackage. image_idGets the image_id of this CreateImagePublicationPackage. operating_system[Required] Gets the operating_system of this CreatePublicationPackage. package_type[Required] Gets the package_type of this CreatePublicationPackage. package_version[Required] Gets the package_version of this CreatePublicationPackage. Methods
__init__(**kwargs)Initializes a new CreateImagePublicationPackage 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. -
PACKAGE_TYPE_CONTAINER= 'CONTAINER'¶
-
PACKAGE_TYPE_IMAGE= 'IMAGE'¶
-
PACKAGE_TYPE_KUBERNETES= 'KUBERNETES'¶
-
PACKAGE_TYPE_ORCHESTRATION= 'ORCHESTRATION'¶
-
__init__(**kwargs)¶ Initializes a new CreateImagePublicationPackage object with values from keyword arguments. The default value of the
package_typeattribute of this class isIMAGEand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - package_version (str) – The value to assign to the package_version property of this CreateImagePublicationPackage.
- package_type (str) – The value to assign to the package_type property of this CreateImagePublicationPackage. Allowed values for this property are: “ORCHESTRATION”, “IMAGE”, “CONTAINER”, “KUBERNETES”
- operating_system (oci.marketplace.models.OperatingSystem) – The value to assign to the operating_system property of this CreateImagePublicationPackage.
- eula (list[oci.marketplace.models.Eula]) – The value to assign to the eula property of this CreateImagePublicationPackage.
- image_id (str) – The value to assign to the image_id property of this CreateImagePublicationPackage.
-
eula¶ [Required] Gets the eula of this CreatePublicationPackage. The end user license agreeement (EULA) that consumers of this listing must accept.
Returns: The eula of this CreatePublicationPackage. Return type: list[oci.marketplace.models.Eula]
-
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.
-
image_id¶ Gets the image_id of this CreateImagePublicationPackage. The unique identifier for the base image of the publication.
Returns: The image_id of this CreateImagePublicationPackage. Return type: str
-
operating_system¶ [Required] Gets the operating_system of this CreatePublicationPackage.
Returns: The operating_system of this CreatePublicationPackage. Return type: oci.marketplace.models.OperatingSystem
-
package_type¶ [Required] Gets the package_type of this CreatePublicationPackage. The package’s type.
Allowed values for this property are: “ORCHESTRATION”, “IMAGE”, “CONTAINER”, “KUBERNETES”
Returns: The package_type of this CreatePublicationPackage. Return type: str
-
package_version¶ [Required] Gets the package_version of this CreatePublicationPackage. The package version.
Returns: The package_version of this CreatePublicationPackage. Return type: str
-