ImageListingPackage

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

Bases: oci.marketplace.models.listing_package.ListingPackage

A package for image listings.

Attributes

PACKAGE_TYPE_IMAGE str(object=’’) -> str
PACKAGE_TYPE_ORCHESTRATION str(object=’’) -> str
app_catalog_listing_id Gets the app_catalog_listing_id of this ImageListingPackage.
app_catalog_listing_resource_version Gets the app_catalog_listing_resource_version of this ImageListingPackage.
description Gets the description of this ListingPackage.
image_id Gets the image_id of this ImageListingPackage.
listing_id [Required] Gets the listing_id of this ListingPackage.
operating_system Gets the operating_system of this ListingPackage.
package_type [Required] Gets the package_type of this ListingPackage.
pricing Gets the pricing of this ListingPackage.
regions Gets the regions of this ImageListingPackage.
resource_id Gets the resource_id of this ListingPackage.
time_created Gets the time_created of this ListingPackage.
version [Required] Gets the version of this ListingPackage.

Methods

__init__(**kwargs) Initializes a new ImageListingPackage 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.
PACKAGE_TYPE_IMAGE = 'IMAGE'
PACKAGE_TYPE_ORCHESTRATION = 'ORCHESTRATION'
__init__(**kwargs)

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

Parameters:
  • description (str) – The value to assign to the description property of this ImageListingPackage.
  • listing_id (str) – The value to assign to the listing_id property of this ImageListingPackage.
  • version (str) – The value to assign to the version property of this ImageListingPackage.
  • package_type (str) – The value to assign to the package_type property of this ImageListingPackage. Allowed values for this property are: “ORCHESTRATION”, “IMAGE”
  • pricing (oci.marketplace.models.PricingModel) – The value to assign to the pricing property of this ImageListingPackage.
  • resource_id (str) – The value to assign to the resource_id property of this ImageListingPackage.
  • time_created (datetime) – The value to assign to the time_created property of this ImageListingPackage.
  • operating_system (oci.marketplace.models.OperatingSystem) – The value to assign to the operating_system property of this ImageListingPackage.
  • app_catalog_listing_id (str) – The value to assign to the app_catalog_listing_id property of this ImageListingPackage.
  • app_catalog_listing_resource_version (str) – The value to assign to the app_catalog_listing_resource_version property of this ImageListingPackage.
  • image_id (str) – The value to assign to the image_id property of this ImageListingPackage.
  • regions (list[oci.marketplace.models.Region]) – The value to assign to the regions property of this ImageListingPackage.
app_catalog_listing_id

Gets the app_catalog_listing_id of this ImageListingPackage. The ID of the listing resource associated with this listing package. For more information, see AppCatalogListing in the Core Services API.

Returns:The app_catalog_listing_id of this ImageListingPackage.
Return type:str
app_catalog_listing_resource_version

Gets the app_catalog_listing_resource_version of this ImageListingPackage. The resource version of the listing resource associated with this listing package.

Returns:The app_catalog_listing_resource_version of this ImageListingPackage.
Return type:str
description

Gets the description of this ListingPackage. Description of this package.

Returns:The description of this ListingPackage.
Return type: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.

image_id

Gets the image_id of this ImageListingPackage. The ID of the image corresponding to the package.

Returns:The image_id of this ImageListingPackage.
Return type:str
listing_id

[Required] Gets the listing_id of this ListingPackage. The ID of the listing this package belongs to.

Returns:The listing_id of this ListingPackage.
Return type:str
operating_system

Gets the operating_system of this ListingPackage.

Returns:The operating_system of this ListingPackage.
Return type:oci.marketplace.models.OperatingSystem
package_type

[Required] Gets the package_type of this ListingPackage. The specified package’s type.

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

Returns:The package_type of this ListingPackage.
Return type:str
pricing

Gets the pricing of this ListingPackage.

Returns:The pricing of this ListingPackage.
Return type:oci.marketplace.models.PricingModel
regions

Gets the regions of this ImageListingPackage. 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 ImageListingPackage.
Return type:list[oci.marketplace.models.Region]
resource_id

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

Returns:The resource_id of this ListingPackage.
Return type:str
time_created

Gets the time_created of this ListingPackage. 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 ListingPackage.
Return type:datetime
version

[Required] Gets the version of this ListingPackage. The package version.

Returns:The version of this ListingPackage.
Return type:str