AppCatalogListingResourceVersion

class oci.core.models.AppCatalogListingResourceVersion(**kwargs)

Bases: object

Listing Resource Version

ALLOWED_ACTIONS_BACKUP_BOOT_VOLUME = 'BACKUP_BOOT_VOLUME'

A constant which can be used with the allowed_actions property of a AppCatalogListingResourceVersion. This constant has a value of "BACKUP_BOOT_VOLUME"

ALLOWED_ACTIONS_BOOT_RECOVERY = 'BOOT_RECOVERY'

A constant which can be used with the allowed_actions property of a AppCatalogListingResourceVersion. This constant has a value of "BOOT_RECOVERY"

ALLOWED_ACTIONS_BOOT_VOLUME_DETACH = 'BOOT_VOLUME_DETACH'

A constant which can be used with the allowed_actions property of a AppCatalogListingResourceVersion. This constant has a value of "BOOT_VOLUME_DETACH"

ALLOWED_ACTIONS_CAPTURE_CONSOLE_HISTORY = 'CAPTURE_CONSOLE_HISTORY'

A constant which can be used with the allowed_actions property of a AppCatalogListingResourceVersion. This constant has a value of "CAPTURE_CONSOLE_HISTORY"

ALLOWED_ACTIONS_PRESERVE_BOOT_VOLUME = 'PRESERVE_BOOT_VOLUME'

A constant which can be used with the allowed_actions property of a AppCatalogListingResourceVersion. This constant has a value of "PRESERVE_BOOT_VOLUME"

ALLOWED_ACTIONS_SERIAL_CONSOLE_ACCESS = 'SERIAL_CONSOLE_ACCESS'

A constant which can be used with the allowed_actions property of a AppCatalogListingResourceVersion. This constant has a value of "SERIAL_CONSOLE_ACCESS"

ALLOWED_ACTIONS_SNAPSHOT = 'SNAPSHOT'

A constant which can be used with the allowed_actions property of a AppCatalogListingResourceVersion. This constant has a value of "SNAPSHOT"

__init__(**kwargs)

Initializes a new AppCatalogListingResourceVersion 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 AppCatalogListingResourceVersion.
  • time_published (datetime) -- The value to assign to the time_published property of this AppCatalogListingResourceVersion.
  • listing_resource_id (str) -- The value to assign to the listing_resource_id property of this AppCatalogListingResourceVersion.
  • listing_resource_version (str) -- The value to assign to the listing_resource_version property of this AppCatalogListingResourceVersion.
  • available_regions (list[str]) -- The value to assign to the available_regions property of this AppCatalogListingResourceVersion.
  • compatible_shapes (list[str]) -- The value to assign to the compatible_shapes property of this AppCatalogListingResourceVersion.
  • accessible_ports (list[int]) -- The value to assign to the accessible_ports property of this AppCatalogListingResourceVersion.
  • allowed_actions (list[str]) -- The value to assign to the allowed_actions property of this AppCatalogListingResourceVersion. Allowed values for items in this list are: "SNAPSHOT", "BOOT_VOLUME_DETACH", "PRESERVE_BOOT_VOLUME", "SERIAL_CONSOLE_ACCESS", "BOOT_RECOVERY", "BACKUP_BOOT_VOLUME", "CAPTURE_CONSOLE_HISTORY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
accessible_ports

Gets the accessible_ports of this AppCatalogListingResourceVersion. List of accessible ports for instances launched with this listing resource version.

Returns:The accessible_ports of this AppCatalogListingResourceVersion.
Return type:list[int]
allowed_actions

Gets the allowed_actions of this AppCatalogListingResourceVersion. Allowed actions for the listing resource.

Allowed values for items in this list are: "SNAPSHOT", "BOOT_VOLUME_DETACH", "PRESERVE_BOOT_VOLUME", "SERIAL_CONSOLE_ACCESS", "BOOT_RECOVERY", "BACKUP_BOOT_VOLUME", "CAPTURE_CONSOLE_HISTORY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The allowed_actions of this AppCatalogListingResourceVersion.
Return type:list[str]
available_regions

Gets the available_regions of this AppCatalogListingResourceVersion. List of regions that this listing resource version is available.

For information about Regions, see Regions.

Example: ["us-ashburn-1", "us-phoenix-1"]

Returns:The available_regions of this AppCatalogListingResourceVersion.
Return type:list[str]
compatible_shapes

Gets the compatible_shapes of this AppCatalogListingResourceVersion. Array of shapes compatible with this resource.

You may enumerate all available shapes by calling list_shapes().

Example: ["VM.Standard1.1", "VM.Standard1.2"]

Returns:The compatible_shapes of this AppCatalogListingResourceVersion.
Return type:list[str]
listing_id

Gets the listing_id of this AppCatalogListingResourceVersion. The OCID of the listing this resource version belongs to.

Returns:The listing_id of this AppCatalogListingResourceVersion.
Return type:str
listing_resource_id

Gets the listing_resource_id of this AppCatalogListingResourceVersion. OCID of the listing resource.

Returns:The listing_resource_id of this AppCatalogListingResourceVersion.
Return type:str
listing_resource_version

Gets the listing_resource_version of this AppCatalogListingResourceVersion. Resource Version.

Returns:The listing_resource_version of this AppCatalogListingResourceVersion.
Return type:str
time_published

Gets the time_published of this AppCatalogListingResourceVersion. Date and time the listing resource version was published, in RFC3339 format. Example: 2018-03-20T12:32:53.532Z

Returns:The time_published of this AppCatalogListingResourceVersion.
Return type:datetime