ImagePublicationPackage¶
-
class
oci.marketplace.models.
ImagePublicationPackage
(**kwargs)¶ Bases:
oci.marketplace.models.publication_package.PublicationPackage
A publication package for image publications.
Attributes
PACKAGE_TYPE_CONTAINER
str(object=’’) -> str PACKAGE_TYPE_IMAGE
str(object=’’) -> str PACKAGE_TYPE_KUBERNETES
str(object=’’) -> str PACKAGE_TYPE_ORCHESTRATION
str(object=’’) -> str app_catalog_listing_id
Gets the app_catalog_listing_id of this ImagePublicationPackage. app_catalog_listing_resource_version
Gets the app_catalog_listing_resource_version of this ImagePublicationPackage. description
Gets the description of this PublicationPackage. image_id
Gets the image_id of this ImagePublicationPackage. listing_id
[Required] Gets the listing_id of this PublicationPackage. operating_system
Gets the operating_system of this PublicationPackage. package_type
[Required] Gets the package_type of this PublicationPackage. resource_id
Gets the resource_id of this PublicationPackage. time_created
Gets the time_created of this PublicationPackage. version
[Required] Gets the version of this PublicationPackage. Methods
__init__
(**kwargs)Initializes a new ImagePublicationPackage 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 ImagePublicationPackage object with values from keyword arguments. The default value of the
package_type
attribute of this class isIMAGE
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - description (str) – The value to assign to the description property of this ImagePublicationPackage.
- listing_id (str) – The value to assign to the listing_id property of this ImagePublicationPackage.
- version (str) – The value to assign to the version property of this ImagePublicationPackage.
- package_type (str) – The value to assign to the package_type property of this ImagePublicationPackage. Allowed values for this property are: “ORCHESTRATION”, “IMAGE”, “CONTAINER”, “KUBERNETES”
- resource_id (str) – The value to assign to the resource_id property of this ImagePublicationPackage.
- time_created (datetime) – The value to assign to the time_created property of this ImagePublicationPackage.
- operating_system (oci.marketplace.models.OperatingSystem) – The value to assign to the operating_system property of this ImagePublicationPackage.
- app_catalog_listing_id (str) – The value to assign to the app_catalog_listing_id property of this ImagePublicationPackage.
- app_catalog_listing_resource_version (str) – The value to assign to the app_catalog_listing_resource_version property of this ImagePublicationPackage.
- image_id (str) – The value to assign to the image_id property of this ImagePublicationPackage.
-
app_catalog_listing_id
¶ Gets the app_catalog_listing_id of this ImagePublicationPackage. The ID of the listing resource associated with this publication package. For more information, see AppCatalogListing in the Core Services API.
Returns: The app_catalog_listing_id of this ImagePublicationPackage. Return type: str
-
app_catalog_listing_resource_version
¶ Gets the app_catalog_listing_resource_version of this ImagePublicationPackage. The resource version of the listing resource associated with this publication package.
Returns: The app_catalog_listing_resource_version of this ImagePublicationPackage. Return type: str
-
description
¶ Gets the description of this PublicationPackage. A description of the package.
Returns: The description of this PublicationPackage. 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.
-
image_id
¶ Gets the image_id of this ImagePublicationPackage. The ID of the image that corresponds to the package.
Returns: The image_id of this ImagePublicationPackage. Return type: str
-
listing_id
¶ [Required] Gets the listing_id of this PublicationPackage. The ID of the listing that the specified package belongs to.
Returns: The listing_id of this PublicationPackage. Return type: str
-
operating_system
¶ Gets the operating_system of this PublicationPackage.
Returns: The operating_system of this PublicationPackage. Return type: oci.marketplace.models.OperatingSystem
-
package_type
¶ [Required] Gets the package_type of this PublicationPackage. The specified package’s type.
Allowed values for this property are: “ORCHESTRATION”, “IMAGE”, “CONTAINER”, “KUBERNETES”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The package_type of this PublicationPackage. Return type: str
-
resource_id
¶ Gets the resource_id of this PublicationPackage. The unique identifier for the package resource.
Returns: The resource_id of this PublicationPackage. Return type: str
-
time_created
¶ Gets the time_created of this PublicationPackage. The date and time the publication package was created, expressed in RFC 3339 timestamp format.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this PublicationPackage. Return type: datetime
-
version
¶ [Required] Gets the version of this PublicationPackage. The package version.
Returns: The version of this PublicationPackage. Return type: str
-