ListingRevisionPackageSummary¶
- class oci.marketplace_publisher.models.ListingRevisionPackageSummary(**kwargs)¶
Bases:
objectThe model for a summary of a package.
Attributes:
A constant which can be used with the package_type property of a ListingRevisionPackageSummary.
A constant which can be used with the package_type property of a ListingRevisionPackageSummary.
A constant which can be used with the package_type property of a ListingRevisionPackageSummary.
A constant which can be used with the package_type property of a ListingRevisionPackageSummary.
A constant which can be used with the package_type property of a ListingRevisionPackageSummary.
[Required] Gets the are_security_upgrades_provided of this ListingRevisionPackageSummary.
[Required] Gets the compartment_id of this ListingRevisionPackageSummary.
Gets the defined_tags of this ListingRevisionPackageSummary.
[Required] Gets the display_name of this ListingRevisionPackageSummary.
Gets the freeform_tags of this ListingRevisionPackageSummary.
[Required] Gets the id of this ListingRevisionPackageSummary.
[Required] Gets the lifecycle_state of this ListingRevisionPackageSummary.
[Required] Gets the listing_revision_id of this ListingRevisionPackageSummary.
[Required] Gets the package_type of this ListingRevisionPackageSummary.
[Required] Gets the package_version of this ListingRevisionPackageSummary.
[Required] Gets the status of this ListingRevisionPackageSummary.
Gets the system_tags of this ListingRevisionPackageSummary.
[Required] Gets the time_created of this ListingRevisionPackageSummary.
[Required] Gets the time_updated of this ListingRevisionPackageSummary.
Methods:
__init__(**kwargs)Initializes a new ListingRevisionPackageSummary object with values from keyword arguments.
- PACKAGE_TYPE_CONTAINER_IMAGE = 'CONTAINER_IMAGE'¶
A constant which can be used with the package_type property of a ListingRevisionPackageSummary. This constant has a value of “CONTAINER_IMAGE”
- PACKAGE_TYPE_HELM_CHART = 'HELM_CHART'¶
A constant which can be used with the package_type property of a ListingRevisionPackageSummary. This constant has a value of “HELM_CHART”
- PACKAGE_TYPE_MACHINE_IMAGE = 'MACHINE_IMAGE'¶
A constant which can be used with the package_type property of a ListingRevisionPackageSummary. This constant has a value of “MACHINE_IMAGE”
- PACKAGE_TYPE_NONE = 'NONE'¶
A constant which can be used with the package_type property of a ListingRevisionPackageSummary. This constant has a value of “NONE”
- PACKAGE_TYPE_STACK = 'STACK'¶
A constant which can be used with the package_type property of a ListingRevisionPackageSummary. This constant has a value of “STACK”
- __init__(**kwargs)¶
Initializes a new ListingRevisionPackageSummary object with values from keyword arguments. 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 ListingRevisionPackageSummary.
listing_revision_id (str) – The value to assign to the listing_revision_id property of this ListingRevisionPackageSummary.
compartment_id (str) – The value to assign to the compartment_id property of this ListingRevisionPackageSummary.
display_name (str) – The value to assign to the display_name property of this ListingRevisionPackageSummary.
package_version (str) – The value to assign to the package_version property of this ListingRevisionPackageSummary.
package_type (str) – The value to assign to the package_type property of this ListingRevisionPackageSummary. 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’.
are_security_upgrades_provided (bool) – The value to assign to the are_security_upgrades_provided property of this ListingRevisionPackageSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this ListingRevisionPackageSummary.
status (str) – The value to assign to the status property of this ListingRevisionPackageSummary.
time_created (datetime) – The value to assign to the time_created property of this ListingRevisionPackageSummary.
time_updated (datetime) – The value to assign to the time_updated property of this ListingRevisionPackageSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ListingRevisionPackageSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ListingRevisionPackageSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ListingRevisionPackageSummary.
- property are_security_upgrades_provided¶
[Required] Gets the are_security_upgrades_provided of this ListingRevisionPackageSummary. Identifies whether security upgrades will be provided for this package.
- Returns
The are_security_upgrades_provided of this ListingRevisionPackageSummary.
- Return type
bool
- property compartment_id¶
[Required] Gets the compartment_id of this ListingRevisionPackageSummary. The unique identifier for the compartment.
- Returns
The compartment_id of this ListingRevisionPackageSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this ListingRevisionPackageSummary. 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 ListingRevisionPackageSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this ListingRevisionPackageSummary. The name of the listing revision package.
- Returns
The display_name of this ListingRevisionPackageSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this ListingRevisionPackageSummary. 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 ListingRevisionPackageSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this ListingRevisionPackageSummary. The ID of the listing revision package.
- Returns
The id of this ListingRevisionPackageSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this ListingRevisionPackageSummary. The current state of the Package.
- Returns
The lifecycle_state of this ListingRevisionPackageSummary.
- Return type
str
- property listing_revision_id¶
[Required] Gets the listing_revision_id of this ListingRevisionPackageSummary. The ID of the listing revision.
- Returns
The listing_revision_id of this ListingRevisionPackageSummary.
- Return type
str
- property package_type¶
[Required] Gets the package_type of this ListingRevisionPackageSummary. The specified package’s type.
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 ListingRevisionPackageSummary.
- Return type
str
- property package_version¶
[Required] Gets the package_version of this ListingRevisionPackageSummary. The version of the specified package.
- Returns
The package_version of this ListingRevisionPackageSummary.
- Return type
str
- property status¶
[Required] Gets the status of this ListingRevisionPackageSummary. The current status of the package.
- Returns
The status of this ListingRevisionPackageSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this ListingRevisionPackageSummary. 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 ListingRevisionPackageSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
[Required] Gets the time_created of this ListingRevisionPackageSummary. The date and time the publication package was created, expressed in RFC 3339 timestamp format.
Example: 2022-09-24T21:10:29.600Z
- Returns
The time_created of this ListingRevisionPackageSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this ListingRevisionPackageSummary. The date and time the publication package was updated, expressed in RFC 3339 timestamp format.
Example: 2022-09-24T21:10:29.600Z
- Returns
The time_updated of this ListingRevisionPackageSummary.
- Return type
datetime