PublicationPackageSummary¶
-
class
oci.marketplace.models.
PublicationPackageSummary
(**kwargs)¶ Bases:
object
The model for a summary of a publication package.
Attributes
PACKAGE_TYPE_CONTAINER
A constant which can be used with the package_type property of a PublicationPackageSummary. PACKAGE_TYPE_IMAGE
A constant which can be used with the package_type property of a PublicationPackageSummary. PACKAGE_TYPE_KUBERNETES
A constant which can be used with the package_type property of a PublicationPackageSummary. PACKAGE_TYPE_ORCHESTRATION
A constant which can be used with the package_type property of a PublicationPackageSummary. listing_id
[Required] Gets the listing_id of this PublicationPackageSummary. package_type
[Required] Gets the package_type of this PublicationPackageSummary. package_version
[Required] Gets the package_version of this PublicationPackageSummary. resource_id
[Required] Gets the resource_id of this PublicationPackageSummary. time_created
Gets the time_created of this PublicationPackageSummary. Methods
__init__
(**kwargs)Initializes a new PublicationPackageSummary object with values from keyword arguments. -
PACKAGE_TYPE_CONTAINER
= 'CONTAINER'¶ A constant which can be used with the package_type property of a PublicationPackageSummary. This constant has a value of “CONTAINER”
-
PACKAGE_TYPE_IMAGE
= 'IMAGE'¶ A constant which can be used with the package_type property of a PublicationPackageSummary. This constant has a value of “IMAGE”
-
PACKAGE_TYPE_KUBERNETES
= 'KUBERNETES'¶ A constant which can be used with the package_type property of a PublicationPackageSummary. This constant has a value of “KUBERNETES”
-
PACKAGE_TYPE_ORCHESTRATION
= 'ORCHESTRATION'¶ A constant which can be used with the package_type property of a PublicationPackageSummary. This constant has a value of “ORCHESTRATION”
-
__init__
(**kwargs)¶ Initializes a new PublicationPackageSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - listing_id (str) – The value to assign to the listing_id property of this PublicationPackageSummary.
- package_version (str) – The value to assign to the package_version property of this PublicationPackageSummary.
- package_type (str) – The value to assign to the package_type property of this PublicationPackageSummary. 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’.
- resource_id (str) – The value to assign to the resource_id property of this PublicationPackageSummary.
- time_created (datetime) – The value to assign to the time_created property of this PublicationPackageSummary.
-
listing_id
¶ [Required] Gets the listing_id of this PublicationPackageSummary. The ID of the listing that the specified package belongs to.
Returns: The listing_id of this PublicationPackageSummary. Return type: str
-
package_type
¶ [Required] Gets the package_type of this PublicationPackageSummary. 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 PublicationPackageSummary. Return type: str
-
package_version
¶ [Required] Gets the package_version of this PublicationPackageSummary. The version of the specified package.
Returns: The package_version of this PublicationPackageSummary. Return type: str
-
resource_id
¶ [Required] Gets the resource_id of this PublicationPackageSummary. The unique identifier for the package resource.
Returns: The resource_id of this PublicationPackageSummary. Return type: str
-