AdminMachineImagePackage

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

Bases: oci.marketplace_publisher.models.admin_listing_revision_package.AdminListingRevisionPackage

A package for machine image listings.

Attributes

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
are_security_upgrades_provided [Required] Gets the are_security_upgrades_provided of this AdminListingRevisionPackage.
artifact_id [Required] Gets the artifact_id of this AdminListingRevisionPackage.
compartment_id [Required] Gets the compartment_id of this AdminListingRevisionPackage.
defined_tags Gets the defined_tags of this AdminListingRevisionPackage.
description Gets the description of this AdminListingRevisionPackage.
display_name [Required] Gets the display_name of this AdminListingRevisionPackage.
extended_metadata Gets the extended_metadata of this AdminListingRevisionPackage.
freeform_tags Gets the freeform_tags of this AdminListingRevisionPackage.
id Gets the id of this AdminListingRevisionPackage.
is_default [Required] Gets the is_default of this AdminListingRevisionPackage.
legacy_id Gets the legacy_id of this AdminListingRevisionPackage.
lifecycle_state [Required] Gets the lifecycle_state of this AdminListingRevisionPackage.
listing_revision_id [Required] Gets the listing_revision_id of this AdminListingRevisionPackage.
machine_image_details Gets the machine_image_details of this AdminMachineImagePackage.
package_type [Required] Gets the package_type of this AdminListingRevisionPackage.
package_version [Required] Gets the package_version of this AdminListingRevisionPackage.
status [Required] Gets the status of this AdminListingRevisionPackage.
system_tags Gets the system_tags of this AdminListingRevisionPackage.
term_id [Required] Gets the term_id of this AdminListingRevisionPackage.
time_created [Required] Gets the time_created of this AdminListingRevisionPackage.
time_updated [Required] Gets the time_updated of this AdminListingRevisionPackage.

Methods

__init__(**kwargs) Initializes a new AdminMachineImagePackage 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_CONTAINER_IMAGE = 'CONTAINER_IMAGE'
PACKAGE_TYPE_HELM_CHART = 'HELM_CHART'
PACKAGE_TYPE_MACHINE_IMAGE = 'MACHINE_IMAGE'
PACKAGE_TYPE_NONE = 'NONE'
PACKAGE_TYPE_STACK = 'STACK'
__init__(**kwargs)

Initializes a new AdminMachineImagePackage object with values from keyword arguments. The default value of the package_type attribute of this class is MACHINE_IMAGE 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 AdminMachineImagePackage.
  • legacy_id (str) – The value to assign to the legacy_id property of this AdminMachineImagePackage.
  • display_name (str) – The value to assign to the display_name property of this AdminMachineImagePackage.
  • description (str) – The value to assign to the description property of this AdminMachineImagePackage.
  • listing_revision_id (str) – The value to assign to the listing_revision_id property of this AdminMachineImagePackage.
  • compartment_id (str) – The value to assign to the compartment_id property of this AdminMachineImagePackage.
  • artifact_id (str) – The value to assign to the artifact_id property of this AdminMachineImagePackage.
  • term_id (str) – The value to assign to the term_id property of this AdminMachineImagePackage.
  • package_version (str) – The value to assign to the package_version property of this AdminMachineImagePackage.
  • package_type (str) – The value to assign to the package_type property of this AdminMachineImagePackage. Allowed values for this property are: “CONTAINER_IMAGE”, “HELM_CHART”, “MACHINE_IMAGE”, “STACK”, “NONE”
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AdminMachineImagePackage.
  • status (str) – The value to assign to the status property of this AdminMachineImagePackage.
  • are_security_upgrades_provided (bool) – The value to assign to the are_security_upgrades_provided property of this AdminMachineImagePackage.
  • is_default (bool) – The value to assign to the is_default property of this AdminMachineImagePackage.
  • time_created (datetime) – The value to assign to the time_created property of this AdminMachineImagePackage.
  • time_updated (datetime) – The value to assign to the time_updated property of this AdminMachineImagePackage.
  • extended_metadata (dict(str, str)) – The value to assign to the extended_metadata property of this AdminMachineImagePackage.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this AdminMachineImagePackage.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this AdminMachineImagePackage.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this AdminMachineImagePackage.
  • machine_image_details (oci.marketplace_publisher.models.MachineImagePackageDetails) – The value to assign to the machine_image_details property of this AdminMachineImagePackage.
are_security_upgrades_provided

[Required] Gets the are_security_upgrades_provided of this AdminListingRevisionPackage. Identifies whether security upgrades will be provided for this package.

Returns:The are_security_upgrades_provided of this AdminListingRevisionPackage.
Return type:bool
artifact_id

[Required] Gets the artifact_id of this AdminListingRevisionPackage. The unique identifier for the artifact.

Returns:The artifact_id of this AdminListingRevisionPackage.
Return type:str
compartment_id

[Required] Gets the compartment_id of this AdminListingRevisionPackage. The unique identifier for the compartment.

Returns:The compartment_id of this AdminListingRevisionPackage.
Return type:str
defined_tags

Gets the defined_tags of this AdminListingRevisionPackage. 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 AdminListingRevisionPackage.
Return type:dict(str, dict(str, object))
description

Gets the description of this AdminListingRevisionPackage. The description of this package.

Returns:The description of this AdminListingRevisionPackage.
Return type:str
display_name

[Required] Gets the display_name of this AdminListingRevisionPackage. The name of the listing revision package.

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

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

For example:

{“partnerListingRevisionPackageStatus”: “Published”,”parentListingRevisionPackageId”: “1” }

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

Gets the freeform_tags of this AdminListingRevisionPackage. 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 AdminListingRevisionPackage.
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.

id

Gets the id of this AdminListingRevisionPackage. The OCID for the listing revision package in Marketplace Publisher.

Returns:The id of this AdminListingRevisionPackage.
Return type:str
is_default

[Required] Gets the is_default of this AdminListingRevisionPackage. Identifies that this will be default package for the listing revision.

Returns:The is_default of this AdminListingRevisionPackage.
Return type:bool
legacy_id

Gets the legacy_id of this AdminListingRevisionPackage. The unique legacy identifier for the listing.

Returns:The legacy_id of this AdminListingRevisionPackage.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this AdminListingRevisionPackage. The current state for the listing revision package.

Returns:The lifecycle_state of this AdminListingRevisionPackage.
Return type:str
listing_revision_id

[Required] Gets the listing_revision_id of this AdminListingRevisionPackage. The unique identifier for the listing revision.

Returns:The listing_revision_id of this AdminListingRevisionPackage.
Return type:str
machine_image_details

Gets the machine_image_details of this AdminMachineImagePackage.

Returns:The machine_image_details of this AdminMachineImagePackage.
Return type:oci.marketplace_publisher.models.MachineImagePackageDetails
package_type

[Required] Gets the package_type of this AdminListingRevisionPackage. The package type for 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 AdminListingRevisionPackage.
Return type:str
package_version

[Required] Gets the package_version of this AdminListingRevisionPackage. The version for the package.

Returns:The package_version of this AdminListingRevisionPackage.
Return type:str
status

[Required] Gets the status of this AdminListingRevisionPackage. The current status for the listing revision package.

Returns:The status of this AdminListingRevisionPackage.
Return type:str
system_tags

Gets the system_tags of this AdminListingRevisionPackage. 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 AdminListingRevisionPackage.
Return type:dict(str, dict(str, object))
term_id

[Required] Gets the term_id of this AdminListingRevisionPackage. The unique identifier for the term.

Returns:The term_id of this AdminListingRevisionPackage.
Return type:str
time_created

[Required] Gets the time_created of this AdminListingRevisionPackage. The date and time this listing revision package was created, expressed in RFC 3339 timestamp format.

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

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

[Required] Gets the time_updated of this AdminListingRevisionPackage. The date and time this listing revision package was updated, expressed in RFC 3339 timestamp format.

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

Returns:The time_updated of this AdminListingRevisionPackage.
Return type:datetime