CreateImagePublicationPackage¶
- class oci.marketplace.models.CreateImagePublicationPackage(**kwargs)¶
Bases:
CreatePublicationPackageAn object for creating an image publication package.
Attributes:
A constant which can be used with the package_type property of a CreatePublicationPackage.
A constant which can be used with the package_type property of a CreatePublicationPackage.
A constant which can be used with the package_type property of a CreatePublicationPackage.
A constant which can be used with the package_type property of a CreatePublicationPackage.
[Required] Gets the eula of this CreatePublicationPackage.
Gets the image_id of this CreateImagePublicationPackage.
[Required] Gets the operating_system of this CreatePublicationPackage.
[Required] Gets the package_type of this CreatePublicationPackage.
[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'¶
A constant which can be used with the package_type property of a CreatePublicationPackage. This constant has a value of “CONTAINER”
- PACKAGE_TYPE_IMAGE = 'IMAGE'¶
A constant which can be used with the package_type property of a CreatePublicationPackage. This constant has a value of “IMAGE”
- PACKAGE_TYPE_KUBERNETES = 'KUBERNETES'¶
A constant which can be used with the package_type property of a CreatePublicationPackage. This constant has a value of “KUBERNETES”
- PACKAGE_TYPE_ORCHESTRATION = 'ORCHESTRATION'¶
A constant which can be used with the package_type property of a CreatePublicationPackage. This constant has a value of “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.
- property 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
- 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.
- property 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
- property operating_system¶
[Required] Gets the operating_system of this CreatePublicationPackage.
- Returns
The operating_system of this CreatePublicationPackage.
- Return type
- property 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
- property package_version¶
[Required] Gets the package_version of this CreatePublicationPackage. The package version.
- Returns
The package_version of this CreatePublicationPackage.
- Return type
str