ListingPackageSummary

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

Bases: object

The model for a summary of a package.

Attributes:

PACKAGE_TYPE_CONTAINER

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

PACKAGE_TYPE_IMAGE

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

PACKAGE_TYPE_KUBERNETES

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

PACKAGE_TYPE_ORCHESTRATION

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

listing_id

Gets the listing_id of this ListingPackageSummary.

package_type

Gets the package_type of this ListingPackageSummary.

package_version

Gets the package_version of this ListingPackageSummary.

pricing

Gets the pricing of this ListingPackageSummary.

regions

Gets the regions of this ListingPackageSummary.

resource_id

Gets the resource_id of this ListingPackageSummary.

time_created

Gets the time_created of this ListingPackageSummary.

Methods:

__init__(**kwargs)

Initializes a new ListingPackageSummary object with values from keyword arguments.

PACKAGE_TYPE_CONTAINER = 'CONTAINER'

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

PACKAGE_TYPE_IMAGE = 'IMAGE'

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

PACKAGE_TYPE_KUBERNETES = 'KUBERNETES'

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

PACKAGE_TYPE_ORCHESTRATION = 'ORCHESTRATION'

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

__init__(**kwargs)

Initializes a new ListingPackageSummary 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 ListingPackageSummary.

  • package_version (str) – The value to assign to the package_version property of this ListingPackageSummary.

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

  • pricing (oci.marketplace.models.PricingModel) – The value to assign to the pricing property of this ListingPackageSummary.

  • regions (list[oci.marketplace.models.Region]) – The value to assign to the regions property of this ListingPackageSummary.

  • resource_id (str) – The value to assign to the resource_id property of this ListingPackageSummary.

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

property listing_id

Gets the listing_id of this ListingPackageSummary. The ID of the listing that the specified package belongs to.

Returns

The listing_id of this ListingPackageSummary.

Return type

str

property package_type

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

Return type

str

property package_version

Gets the package_version of this ListingPackageSummary. The version of the specified package.

Returns

The package_version of this ListingPackageSummary.

Return type

str

property pricing

Gets the pricing of this ListingPackageSummary.

Returns

The pricing of this ListingPackageSummary.

Return type

oci.marketplace.models.PricingModel

property regions

Gets the regions of this ListingPackageSummary. The regions where you can deploy the listing package. (Some packages have restrictions that limit their deployment to United States regions only.)

Returns

The regions of this ListingPackageSummary.

Return type

list[oci.marketplace.models.Region]

property resource_id

Gets the resource_id of this ListingPackageSummary. The unique identifier for the package resource.

Returns

The resource_id of this ListingPackageSummary.

Return type

str

property time_created

Gets the time_created of this ListingPackageSummary. The date and time this listing package was created, expressed in RFC 3339 timestamp format.

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

Returns

The time_created of this ListingPackageSummary.

Return type

datetime