OciListingRevision

class oci.marketplace_publisher.models.OciListingRevision(**kwargs)

Bases: oci.marketplace_publisher.models.listing_revision.ListingRevision

Listing revision details for listings

Attributes

LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_CREATING str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_DELETING str(object=’’) -> str
LIFECYCLE_STATE_FAILED str(object=’’) -> str
LIFECYCLE_STATE_UPDATING str(object=’’) -> str
LISTING_TYPE_LEAD_GENERATION str(object=’’) -> str
LISTING_TYPE_OCI_APPLICATION str(object=’’) -> str
LISTING_TYPE_SERVICE str(object=’’) -> str
PACKAGE_TYPE_CONTAINER_IMAGE str(object=’’) -> str
PACKAGE_TYPE_HELM_CHART str(object=’’) -> str
PACKAGE_TYPE_MACHINE_IMAGE str(object=’’) -> str
PACKAGE_TYPE_NONE str(object=’’) -> str
PACKAGE_TYPE_STACK str(object=’’) -> str
PRICING_TYPE_BYOL A constant which can be used with the pricing_type property of a OciListingRevision.
PRICING_TYPE_FREE A constant which can be used with the pricing_type property of a OciListingRevision.
PRICING_TYPE_PAYGO A constant which can be used with the pricing_type property of a OciListingRevision.
STATUS_APPROVED str(object=’’) -> str
STATUS_NEW str(object=’’) -> str
STATUS_PENDING_REVIEW str(object=’’) -> str
STATUS_PUBLISHED str(object=’’) -> str
STATUS_PUBLISHED_AS_PRIVATE str(object=’’) -> str
STATUS_PUBLISH_AS_PRIVATE_FAILED str(object=’’) -> str
STATUS_PUBLISH_AS_PRIVATE_IN_PROGRESS str(object=’’) -> str
STATUS_PUBLISH_FAILED str(object=’’) -> str
STATUS_PUBLISH_IN_PROGRESS str(object=’’) -> str
STATUS_REJECTED str(object=’’) -> str
STATUS_REVIEW_IN_PROGRESS str(object=’’) -> str
STATUS_UNPUBLISHED str(object=’’) -> str
STATUS_UNPUBLISH_IN_PROGRESS str(object=’’) -> str
allowed_tenancies Gets the allowed_tenancies of this OciListingRevision.
are_internal_tenancy_launch_allowed Gets the are_internal_tenancy_launch_allowed of this OciListingRevision.
availability_and_pricing_policy Gets the availability_and_pricing_policy of this OciListingRevision.
compartment_id Gets the compartment_id of this ListingRevision.
content_language Gets the content_language of this ListingRevision.
defined_tags Gets the defined_tags of this ListingRevision.
display_name [Required] Gets the display_name of this ListingRevision.
extended_metadata Gets the extended_metadata of this ListingRevision.
freeform_tags Gets the freeform_tags of this ListingRevision.
headline [Required] Gets the headline of this ListingRevision.
icon Gets the icon of this ListingRevision.
id [Required] Gets the id of this ListingRevision.
is_rover_exportable Gets the is_rover_exportable of this OciListingRevision.
keywords Gets the keywords of this ListingRevision.
lifecycle_state [Required] Gets the lifecycle_state of this ListingRevision.
listing_id [Required] Gets the listing_id of this ListingRevision.
listing_type [Required] Gets the listing_type of this ListingRevision.
long_description Gets the long_description of this ListingRevision.
package_type Gets the package_type of this ListingRevision.
pricing_plans Gets the pricing_plans of this OciListingRevision.
pricing_type [Required] Gets the pricing_type of this OciListingRevision.
products [Required] Gets the products of this OciListingRevision.
recommended_service_provider_listing_ids Gets the recommended_service_provider_listing_ids of this OciListingRevision.
revision_number Gets the revision_number of this ListingRevision.
short_description Gets the short_description of this ListingRevision.
status [Required] Gets the status of this ListingRevision.
status_notes Gets the status_notes of this ListingRevision.
support_contacts Gets the support_contacts of this ListingRevision.
support_links Gets the support_links of this ListingRevision.
supportedlanguages Gets the supportedlanguages of this ListingRevision.
system_requirements Gets the system_requirements of this OciListingRevision.
system_tags Gets the system_tags of this ListingRevision.
tagline Gets the tagline of this ListingRevision.
time_created [Required] Gets the time_created of this ListingRevision.
time_updated [Required] Gets the time_updated of this ListingRevision.
usage_information Gets the usage_information of this ListingRevision.
vanity_url Gets the vanity_url of this OciListingRevision.
version_details Gets the version_details of this OciListingRevision.

Methods

__init__(**kwargs) Initializes a new OciListingRevision 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.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_CREATING = 'CREATING'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_DELETING = 'DELETING'
LIFECYCLE_STATE_FAILED = 'FAILED'
LIFECYCLE_STATE_UPDATING = 'UPDATING'
LISTING_TYPE_LEAD_GENERATION = 'LEAD_GENERATION'
LISTING_TYPE_OCI_APPLICATION = 'OCI_APPLICATION'
LISTING_TYPE_SERVICE = 'SERVICE'
PACKAGE_TYPE_CONTAINER_IMAGE = 'CONTAINER_IMAGE'
PACKAGE_TYPE_HELM_CHART = 'HELM_CHART'
PACKAGE_TYPE_MACHINE_IMAGE = 'MACHINE_IMAGE'
PACKAGE_TYPE_NONE = 'NONE'
PACKAGE_TYPE_STACK = 'STACK'
PRICING_TYPE_BYOL = 'BYOL'

A constant which can be used with the pricing_type property of a OciListingRevision. This constant has a value of “BYOL”

PRICING_TYPE_FREE = 'FREE'

A constant which can be used with the pricing_type property of a OciListingRevision. This constant has a value of “FREE”

PRICING_TYPE_PAYGO = 'PAYGO'

A constant which can be used with the pricing_type property of a OciListingRevision. This constant has a value of “PAYGO”

STATUS_APPROVED = 'APPROVED'
STATUS_NEW = 'NEW'
STATUS_PENDING_REVIEW = 'PENDING_REVIEW'
STATUS_PUBLISHED = 'PUBLISHED'
STATUS_PUBLISHED_AS_PRIVATE = 'PUBLISHED_AS_PRIVATE'
STATUS_PUBLISH_AS_PRIVATE_FAILED = 'PUBLISH_AS_PRIVATE_FAILED'
STATUS_PUBLISH_AS_PRIVATE_IN_PROGRESS = 'PUBLISH_AS_PRIVATE_IN_PROGRESS'
STATUS_PUBLISH_FAILED = 'PUBLISH_FAILED'
STATUS_PUBLISH_IN_PROGRESS = 'PUBLISH_IN_PROGRESS'
STATUS_REJECTED = 'REJECTED'
STATUS_REVIEW_IN_PROGRESS = 'REVIEW_IN_PROGRESS'
STATUS_UNPUBLISHED = 'UNPUBLISHED'
STATUS_UNPUBLISH_IN_PROGRESS = 'UNPUBLISH_IN_PROGRESS'
__init__(**kwargs)

Initializes a new OciListingRevision object with values from keyword arguments. The default value of the listing_type attribute of this class is OCI_APPLICATION and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this OciListingRevision.
  • listing_id (str) – The value to assign to the listing_id property of this OciListingRevision.
  • compartment_id (str) – The value to assign to the compartment_id property of this OciListingRevision.
  • display_name (str) – The value to assign to the display_name property of this OciListingRevision.
  • revision_number (str) – The value to assign to the revision_number property of this OciListingRevision.
  • headline (str) – The value to assign to the headline property of this OciListingRevision.
  • tagline (str) – The value to assign to the tagline property of this OciListingRevision.
  • keywords (str) – The value to assign to the keywords property of this OciListingRevision.
  • short_description (str) – The value to assign to the short_description property of this OciListingRevision.
  • usage_information (str) – The value to assign to the usage_information property of this OciListingRevision.
  • long_description (str) – The value to assign to the long_description property of this OciListingRevision.
  • time_created (datetime) – The value to assign to the time_created property of this OciListingRevision.
  • time_updated (datetime) – The value to assign to the time_updated property of this OciListingRevision.
  • content_language (oci.marketplace_publisher.models.LanguageItem) – The value to assign to the content_language property of this OciListingRevision.
  • supportedlanguages (list[oci.marketplace_publisher.models.LanguageItem]) – The value to assign to the supportedlanguages property of this OciListingRevision.
  • support_contacts (list[oci.marketplace_publisher.models.SupportContact]) – The value to assign to the support_contacts property of this OciListingRevision.
  • support_links (list[oci.marketplace_publisher.models.NamedLink]) – The value to assign to the support_links property of this OciListingRevision.
  • icon (oci.marketplace_publisher.models.ListingRevisionIconAttachment) – The value to assign to the icon property of this OciListingRevision.
  • status (str) – The value to assign to the status property of this OciListingRevision. Allowed values for this property are: “NEW”, “PENDING_REVIEW”, “REVIEW_IN_PROGRESS”, “REJECTED”, “APPROVED”, “PUBLISH_IN_PROGRESS”, “PUBLISH_FAILED”, “PUBLISHED”, “PUBLISH_AS_PRIVATE_FAILED”, “PUBLISHED_AS_PRIVATE”, “PUBLISH_AS_PRIVATE_IN_PROGRESS”, “UNPUBLISH_IN_PROGRESS”, “UNPUBLISHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • status_notes (str) – The value to assign to the status_notes property of this OciListingRevision.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this OciListingRevision. Allowed values for this property are: “CREATING”, “UPDATING”, “ACTIVE”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • package_type (str) – The value to assign to the package_type property of this OciListingRevision. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, “NONE”, ‘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 OciListingRevision. Allowed values for this property are: “OCI_APPLICATION”, “LEAD_GENERATION”, “SERVICE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this OciListingRevision.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this OciListingRevision.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this OciListingRevision.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this OciListingRevision.
  • version_details (oci.marketplace_publisher.models.VersionDetails) – The value to assign to the version_details property of this OciListingRevision.
  • system_requirements (str) – The value to assign to the system_requirements property of this OciListingRevision.
  • pricing_type (str) – The value to assign to the pricing_type property of this OciListingRevision. Allowed values for this property are: “FREE”, “BYOL”, “PAYGO”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • products (list[oci.marketplace_publisher.models.ListingProduct]) – The value to assign to the products property of this OciListingRevision.
  • pricing_plans (list[oci.marketplace_publisher.models.PricingPlan]) – The value to assign to the pricing_plans property of this OciListingRevision.
  • availability_and_pricing_policy (str) – The value to assign to the availability_and_pricing_policy property of this OciListingRevision.
  • allowed_tenancies (list[str]) – The value to assign to the allowed_tenancies property of this OciListingRevision.
  • vanity_url (str) – The value to assign to the vanity_url property of this OciListingRevision.
  • recommended_service_provider_listing_ids (list[str]) – The value to assign to the recommended_service_provider_listing_ids property of this OciListingRevision.
  • are_internal_tenancy_launch_allowed (bool) – The value to assign to the are_internal_tenancy_launch_allowed property of this OciListingRevision.
  • is_rover_exportable (bool) – The value to assign to the is_rover_exportable property of this OciListingRevision.
allowed_tenancies

Gets the allowed_tenancies of this OciListingRevision. Allowed tenancies provided when a listing revision is published as private.

Returns:The allowed_tenancies of this OciListingRevision.
Return type:list[str]
are_internal_tenancy_launch_allowed

Gets the are_internal_tenancy_launch_allowed of this OciListingRevision. Identifies whether publisher allows internal tenancy launches for the listing revision.

Returns:The are_internal_tenancy_launch_allowed of this OciListingRevision.
Return type:bool
availability_and_pricing_policy

Gets the availability_and_pricing_policy of this OciListingRevision. Listing availability and Pricing Policy statement.

Returns:The availability_and_pricing_policy of this OciListingRevision.
Return type:str
compartment_id

Gets the compartment_id of this ListingRevision. The unique identifier for the compartment.

Returns:The compartment_id of this ListingRevision.
Return type:str
content_language

Gets the content_language of this ListingRevision.

Returns:The content_language of this ListingRevision.
Return type:oci.marketplace_publisher.models.LanguageItem
defined_tags

Gets the defined_tags of this ListingRevision. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this ListingRevision.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this ListingRevision. The name for the listing revision.

Returns:The display_name of this ListingRevision.
Return type:str
extended_metadata

Gets the extended_metadata of this ListingRevision. Additional metadata key/value pairs for the listing revision summary.

Returns:The extended_metadata of this ListingRevision.
Return type:dict(str, str)
freeform_tags

Gets the freeform_tags of this ListingRevision. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this ListingRevision.
Return type:dict(str, 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.

headline

[Required] Gets the headline of this ListingRevision. Single line introduction for the listing revision.

Returns:The headline of this ListingRevision.
Return type:str
icon

Gets the icon of this ListingRevision.

Returns:The icon of this ListingRevision.
Return type:oci.marketplace_publisher.models.ListingRevisionIconAttachment
id

[Required] Gets the id of this ListingRevision. Unique OCID identifier for the listing revision in Marketplace Publisher.

Returns:The id of this ListingRevision.
Return type:str
is_rover_exportable

Gets the is_rover_exportable of this OciListingRevision. Is this listing rover exportable

Returns:The is_rover_exportable of this OciListingRevision.
Return type:bool
keywords

Gets the keywords of this ListingRevision. Keywords associated with the listing revision.

Returns:The keywords of this ListingRevision.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ListingRevision. The current state of the listing revision.

Allowed values for this property are: “CREATING”, “UPDATING”, “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 ListingRevision.
Return type:str
listing_id

[Required] Gets the listing_id of this ListingRevision. The unique identifier for the listing this revision belongs to.

Returns:The listing_id of this ListingRevision.
Return type:str
listing_type

[Required] Gets the listing_type of this ListingRevision. The listing’s type. Populated from the listing.

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

Returns:The listing_type of this ListingRevision.
Return type:str
long_description

Gets the long_description of this ListingRevision. A long description for the listing revision.

Returns:The long_description of this ListingRevision.
Return type:str
package_type

Gets the package_type of this ListingRevision. The listing’s package type. Populated from the listing.

Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, “NONE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The package_type of this ListingRevision.
Return type:str
pricing_plans

Gets the pricing_plans of this OciListingRevision. List of Pricing Plans provided by publisher.

Returns:The pricing_plans of this OciListingRevision.
Return type:list[oci.marketplace_publisher.models.PricingPlan]
pricing_type

[Required] Gets the pricing_type of this OciListingRevision. The pricing model for the listing revision.

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

Returns:The pricing_type of this OciListingRevision.
Return type:str
products

[Required] Gets the products of this OciListingRevision. List of products subscribed by listing.

Returns:The products of this OciListingRevision.
Return type:list[oci.marketplace_publisher.models.ListingProduct]
recommended_service_provider_listing_ids

Gets the recommended_service_provider_listing_ids of this OciListingRevision. OCIDs of service listings attached to lead gen listing

Returns:The recommended_service_provider_listing_ids of this OciListingRevision.
Return type:list[str]
revision_number

Gets the revision_number of this ListingRevision. The revision number for the listing revision. This is an internal attribute

Returns:The revision_number of this ListingRevision.
Return type:str
short_description

Gets the short_description of this ListingRevision. A short description for the listing revision.

Returns:The short_description of this ListingRevision.
Return type:str
status

[Required] Gets the status of this ListingRevision. The current status for the Listing revision.

Allowed values for this property are: “NEW”, “PENDING_REVIEW”, “REVIEW_IN_PROGRESS”, “REJECTED”, “APPROVED”, “PUBLISH_IN_PROGRESS”, “PUBLISH_FAILED”, “PUBLISHED”, “PUBLISH_AS_PRIVATE_FAILED”, “PUBLISHED_AS_PRIVATE”, “PUBLISH_AS_PRIVATE_IN_PROGRESS”, “UNPUBLISH_IN_PROGRESS”, “UNPUBLISHED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The status of this ListingRevision.
Return type:str
status_notes

Gets the status_notes of this ListingRevision. Status notes for the listing revision.

Returns:The status_notes of this ListingRevision.
Return type:str
support_contacts

Gets the support_contacts of this ListingRevision. Contact information to use to get support from the publisher for the listing revision.

Returns:The support_contacts of this ListingRevision.
Return type:list[oci.marketplace_publisher.models.SupportContact]

Gets the support_links of this ListingRevision. Links to support resources for the listing revision.

Returns:The support_links of this ListingRevision.
Return type:list[oci.marketplace_publisher.models.NamedLink]
supportedlanguages

Gets the supportedlanguages of this ListingRevision. Languages supported by the publisher for the listing revision.

Returns:The supportedlanguages of this ListingRevision.
Return type:list[oci.marketplace_publisher.models.LanguageItem]
system_requirements

Gets the system_requirements of this OciListingRevision. System requirements for the listing revision.

Returns:The system_requirements of this OciListingRevision.
Return type:str
system_tags

Gets the system_tags of this ListingRevision. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this ListingRevision.
Return type:dict(str, dict(str, object))
tagline

Gets the tagline of this ListingRevision. The tagline of the listing revision.

Returns:The tagline of this ListingRevision.
Return type:str
time_created

[Required] Gets the time_created of this ListingRevision. The time the listing revision was created. An RFC3339 formatted datetime string.

Returns:The time_created of this ListingRevision.
Return type:datetime
time_updated

[Required] Gets the time_updated of this ListingRevision. The time the listing revision was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this ListingRevision.
Return type:datetime
usage_information

Gets the usage_information of this ListingRevision. Usage information for the listing revision.

Returns:The usage_information of this ListingRevision.
Return type:str
vanity_url

Gets the vanity_url of this OciListingRevision. Custom link to the listing

Returns:The vanity_url of this OciListingRevision.
Return type:str
version_details

Gets the version_details of this OciListingRevision.

Returns:The version_details of this OciListingRevision.
Return type:oci.marketplace_publisher.models.VersionDetails