ListingPackageSummary¶
-
class
oci.marketplace.models.ListingPackageSummary(**kwargs)¶ Bases:
objectThe model for a summary of a package.
Attributes
PACKAGE_TYPE_CONTAINERA constant which can be used with the package_type property of a ListingPackageSummary. PACKAGE_TYPE_IMAGEA constant which can be used with the package_type property of a ListingPackageSummary. PACKAGE_TYPE_KUBERNETESA constant which can be used with the package_type property of a ListingPackageSummary. PACKAGE_TYPE_ORCHESTRATIONA constant which can be used with the package_type property of a ListingPackageSummary. listing_idGets the listing_id of this ListingPackageSummary. package_typeGets the package_type of this ListingPackageSummary. package_versionGets the package_version of this ListingPackageSummary. pricingGets the pricing of this ListingPackageSummary. regionsGets the regions of this ListingPackageSummary. resource_idGets the resource_id of this ListingPackageSummary. time_createdGets 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.
-
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
-
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
-
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
-
pricing¶ Gets the pricing of this ListingPackageSummary.
Returns: The pricing of this ListingPackageSummary. Return type: oci.marketplace.models.PricingModel
-
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]
-
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
-