PublicationSummary

class oci.marketplace.models.PublicationSummary(**kwargs)

Bases: object

The model for a summary of an Oracle Cloud Infrastructure publication.

Attributes

LISTING_TYPE_COMMUNITY A constant which can be used with the listing_type property of a PublicationSummary.
LISTING_TYPE_PARTNER A constant which can be used with the listing_type property of a PublicationSummary.
LISTING_TYPE_PRIVATE A constant which can be used with the listing_type property of a PublicationSummary.
PACKAGE_TYPE_CONTAINER A constant which can be used with the package_type property of a PublicationSummary.
PACKAGE_TYPE_IMAGE A constant which can be used with the package_type property of a PublicationSummary.
PACKAGE_TYPE_KUBERNETES A constant which can be used with the package_type property of a PublicationSummary.
PACKAGE_TYPE_ORCHESTRATION A constant which can be used with the package_type property of a PublicationSummary.
compartment_id [Required] Gets the compartment_id of this PublicationSummary.
defined_tags Gets the defined_tags of this PublicationSummary.
freeform_tags Gets the freeform_tags of this PublicationSummary.
icon Gets the icon of this PublicationSummary.
id [Required] Gets the id of this PublicationSummary.
lifecycle_state [Required] Gets the lifecycle_state of this PublicationSummary.
listing_type [Required] Gets the listing_type of this PublicationSummary.
name [Required] Gets the name of this PublicationSummary.
package_type Gets the package_type of this PublicationSummary.
short_description Gets the short_description of this PublicationSummary.
supported_operating_systems Gets the supported_operating_systems of this PublicationSummary.
system_tags Gets the system_tags of this PublicationSummary.
time_created Gets the time_created of this PublicationSummary.

Methods

__init__(**kwargs) Initializes a new PublicationSummary object with values from keyword arguments.
LISTING_TYPE_COMMUNITY = 'COMMUNITY'

A constant which can be used with the listing_type property of a PublicationSummary. This constant has a value of “COMMUNITY”

LISTING_TYPE_PARTNER = 'PARTNER'

A constant which can be used with the listing_type property of a PublicationSummary. This constant has a value of “PARTNER”

LISTING_TYPE_PRIVATE = 'PRIVATE'

A constant which can be used with the listing_type property of a PublicationSummary. This constant has a value of “PRIVATE”

PACKAGE_TYPE_CONTAINER = 'CONTAINER'

A constant which can be used with the package_type property of a PublicationSummary. This constant has a value of “CONTAINER”

PACKAGE_TYPE_IMAGE = 'IMAGE'

A constant which can be used with the package_type property of a PublicationSummary. This constant has a value of “IMAGE”

PACKAGE_TYPE_KUBERNETES = 'KUBERNETES'

A constant which can be used with the package_type property of a PublicationSummary. This constant has a value of “KUBERNETES”

PACKAGE_TYPE_ORCHESTRATION = 'ORCHESTRATION'

A constant which can be used with the package_type property of a PublicationSummary. This constant has a value of “ORCHESTRATION”

__init__(**kwargs)

Initializes a new PublicationSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this PublicationSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this PublicationSummary.
  • id (str) – The value to assign to the id property of this PublicationSummary.
  • name (str) – The value to assign to the name property of this PublicationSummary.
  • short_description (str) – The value to assign to the short_description property of this PublicationSummary.
  • icon (oci.marketplace.models.UploadData) – The value to assign to the icon property of this PublicationSummary.
  • package_type (str) – The value to assign to the package_type property of this PublicationSummary. 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’.
  • supported_operating_systems (list[oci.marketplace.models.OperatingSystem]) – The value to assign to the supported_operating_systems property of this PublicationSummary.
  • listing_type (str) – The value to assign to the listing_type property of this PublicationSummary. Allowed values for this property are: “COMMUNITY”, “PARTNER”, “PRIVATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • time_created (datetime) – The value to assign to the time_created property of this PublicationSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this PublicationSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this PublicationSummary.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this PublicationSummary.
compartment_id

[Required] Gets the compartment_id of this PublicationSummary. The OCID of the compartment where the publication exists.

Returns:The compartment_id of this PublicationSummary.
Return type:str
defined_tags

Gets the defined_tags of this PublicationSummary. The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this PublicationSummary.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this PublicationSummary. The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this PublicationSummary.
Return type:dict(str, str)
icon

Gets the icon of this PublicationSummary.

Returns:The icon of this PublicationSummary.
Return type:oci.marketplace.models.UploadData
id

[Required] Gets the id of this PublicationSummary. The unique identifier for the publication in Marketplace.

Returns:The id of this PublicationSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this PublicationSummary. The lifecycle state of the publication.

Returns:The lifecycle_state of this PublicationSummary.
Return type:str
listing_type

[Required] Gets the listing_type of this PublicationSummary. The publisher category to which the publication belongs. The publisher category informs where the listing appears for use.

Allowed values for this property are: “COMMUNITY”, “PARTNER”, “PRIVATE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The listing_type of this PublicationSummary.
Return type:str
name

[Required] Gets the name of this PublicationSummary. The name of the publication, which is also used in the listing.

Returns:The name of this PublicationSummary.
Return type:str
package_type

Gets the package_type of this PublicationSummary. The listing’s package 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 PublicationSummary.
Return type:str
short_description

Gets the short_description of this PublicationSummary. A short description of the publication to use in the listing.

Returns:The short_description of this PublicationSummary.
Return type:str
supported_operating_systems

Gets the supported_operating_systems of this PublicationSummary. The list of operating systems supported by the listing.

Returns:The supported_operating_systems of this PublicationSummary.
Return type:list[oci.marketplace.models.OperatingSystem]
system_tags

Gets the system_tags of this PublicationSummary. The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: true}}

Returns:The system_tags of this PublicationSummary.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this PublicationSummary. The date and time the publication was created, expressed in RFC 3339 timestamp format.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this PublicationSummary.
Return type:datetime