Skip to main content

app_catalog_listing_resource_versions

Creates, updates, deletes, gets or lists an app_catalog_listing_resource_versions resource.

Overview​

Nameapp_catalog_listing_resource_versions
TypeResource
Idoci.compute.app_catalog_listing_resource_versions

Fields​

The following fields are returned by SELECT queries:

The listing resource version was retrieved.

NameDatatypeDescription
accessiblePortsarrayList of accessible ports for instances launched with this listing resource version.
allowedActionsarrayAllowed actions for the listing resource.
availableRegionsarrayList of regions that this listing resource version is available. For information about regions, see [Regions and Availability Domains](/iaas/Content/General/Concepts/regions.htm). Example: ["us-ashburn-1", "us-phoenix-1"]
compatibleShapesarrayArray of shapes compatible with this resource. You can enumerate all available shapes by calling [ListShapes](#/en/iaas/latest/Shape/ListShapes). Example: ["VM.Standard1.1", "VM.Standard1.2"]
listingIdstringThe OCID of the listing this resource version belongs to.
listingResourceIdstringOCID of the listing resource.
listingResourceVersionstringResource Version.
timePublishedstring (date-time)Date and time the listing resource version was published, in [RFC3339](https:​//tools.ietf.org/html/rfc3339) format. Example: 2018-03-20T12:32:53.532Z

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlistingId, resourceVersion, regionGets the specified listing resource version.
listselectlistingId, regionlimit, page, sortOrderGets all resource versions for a particular listing.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
listingIdstringThe OCID of the listing.
regionstringOCI region identifier (e.g. us-ashburn-1, ap-sydney-1); resolves from OCI_REGION when not supplied in the query. (default: us-ashburn-1, x-stackQL-envVar: OCI_REGION)
resourceVersionstringListing Resource Version.
limitintegerFor list pagination. The maximum number of results per page, or items to return in a paginated "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine). Example: 50
pagestringFor list pagination. The value of the opc-next-page response header from the previous "List" call. For important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
sortOrderstringThe sort order to use, either ascending (ASC) or descending (DESC). The DISPLAYNAME sort order is case sensitive.

SELECT examples​

Gets the specified listing resource version.

SELECT
accessiblePorts,
allowedActions,
availableRegions,
compatibleShapes,
listingId,
listingResourceId,
listingResourceVersion,
timePublished
FROM oci.compute.app_catalog_listing_resource_versions
WHERE listingId = '{{ listingId }}' -- required
AND resourceVersion = '{{ resourceVersion }}' -- required
AND region = '{{ region }}' -- required
;