Publication

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

Bases: object

The model for an Oracle Cloud Infrastructure Marketplace publication.

Attributes:

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a Publication.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a Publication.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a Publication.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a Publication.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a Publication.

LISTING_TYPE_COMMUNITY

A constant which can be used with the listing_type property of a Publication.

LISTING_TYPE_PARTNER

A constant which can be used with the listing_type property of a Publication.

LISTING_TYPE_PRIVATE

A constant which can be used with the listing_type property of a Publication.

PACKAGE_TYPE_CONTAINER

A constant which can be used with the package_type property of a Publication.

PACKAGE_TYPE_IMAGE

A constant which can be used with the package_type property of a Publication.

PACKAGE_TYPE_KUBERNETES

A constant which can be used with the package_type property of a Publication.

PACKAGE_TYPE_ORCHESTRATION

A constant which can be used with the package_type property of a Publication.

compartment_id

[Required] Gets the compartment_id of this Publication.

defined_tags

Gets the defined_tags of this Publication.

freeform_tags

Gets the freeform_tags of this Publication.

icon

Gets the icon of this Publication.

id

[Required] Gets the id of this Publication.

lifecycle_state

Gets the lifecycle_state of this Publication.

listing_type

[Required] Gets the listing_type of this Publication.

long_description

Gets the long_description of this Publication.

name

[Required] Gets the name of this Publication.

package_type

Gets the package_type of this Publication.

short_description

Gets the short_description of this Publication.

support_contacts

Gets the support_contacts of this Publication.

supported_operating_systems

Gets the supported_operating_systems of this Publication.

system_tags

Gets the system_tags of this Publication.

time_created

Gets the time_created of this Publication.

Methods:

__init__(**kwargs)

Initializes a new Publication object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a Publication. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a Publication. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a Publication. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a Publication. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a Publication. This constant has a value of “FAILED”

LISTING_TYPE_COMMUNITY = 'COMMUNITY'

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

LISTING_TYPE_PARTNER = 'PARTNER'

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

LISTING_TYPE_PRIVATE = 'PRIVATE'

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

PACKAGE_TYPE_CONTAINER = 'CONTAINER'

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

PACKAGE_TYPE_IMAGE = 'IMAGE'

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

PACKAGE_TYPE_KUBERNETES = 'KUBERNETES'

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

PACKAGE_TYPE_ORCHESTRATION = 'ORCHESTRATION'

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

__init__(**kwargs)

Initializes a new Publication 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 Publication. Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • compartment_id (str) – The value to assign to the compartment_id property of this Publication.

  • id (str) – The value to assign to the id property of this Publication.

  • name (str) – The value to assign to the name property of this Publication.

  • short_description (str) – The value to assign to the short_description property of this Publication.

  • long_description (str) – The value to assign to the long_description property of this Publication.

  • support_contacts (list[oci.marketplace.models.SupportContact]) – The value to assign to the support_contacts property of this Publication.

  • icon (oci.marketplace.models.UploadData) – The value to assign to the icon property of this Publication.

  • package_type (str) – The value to assign to the package_type property of this Publication. 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’.

  • listing_type (str) – The value to assign to the listing_type property of this Publication. 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’.

  • supported_operating_systems (list[oci.marketplace.models.OperatingSystem]) – The value to assign to the supported_operating_systems property of this Publication.

  • time_created (datetime) – The value to assign to the time_created property of this Publication.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Publication.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Publication.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this Publication.

property compartment_id

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

Returns

The compartment_id of this Publication.

Return type

str

property defined_tags

Gets the defined_tags of this Publication. 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 Publication.

Return type

dict(str, dict(str, object))

property freeform_tags

Gets the freeform_tags of this Publication. 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 Publication.

Return type

dict(str, str)

property icon

Gets the icon of this Publication.

Returns

The icon of this Publication.

Return type

oci.marketplace.models.UploadData

property id

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

Returns

The id of this Publication.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this Publication. The lifecycle state of the publication.

Allowed values for this property are: “CREATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this Publication.

Return type

str

property listing_type

[Required] Gets the listing_type of this Publication. 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 Publication.

Return type

str

property long_description

Gets the long_description of this Publication. A long description of the publication to use in the listing.

Returns

The long_description of this Publication.

Return type

str

property name

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

Returns

The name of this Publication.

Return type

str

property package_type

Gets the package_type of this Publication. 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 Publication.

Return type

str

property short_description

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

Returns

The short_description of this Publication.

Return type

str

property support_contacts

Gets the support_contacts of this Publication. Contact information for getting support from the publisher for the listing.

Returns

The support_contacts of this Publication.

Return type

list[oci.marketplace.models.SupportContact]

property supported_operating_systems

Gets the supported_operating_systems of this Publication. The list of operating systems supprted by the listing.

Returns

The supported_operating_systems of this Publication.

Return type

list[oci.marketplace.models.OperatingSystem]

property system_tags

Gets the system_tags of this Publication. 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 Publication.

Return type

dict(str, dict(str, object))

property time_created

Gets the time_created of this Publication. 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 Publication.

Return type

datetime