openapi: 3.2.0
info:
description: Use the Oracle Multicloud API to retrieve resource anchors and network anchors, and the metadata mappings related a Cloud Service Provider. For more information, see [Oracle Multicloud Hub](/iaas/Content/multicloud-hub/home.htm).
title: Oracle Multicloud Multicloud Resources API
version: '20180828'
x-provenance:
method: harvested
first_party: true
publisher: Oracle
source: https://docs.oracle.com/en-us/iaas/api/specs/45dc72ed7644fee2cdc2862dbdb9940c0392e2742c304d5e7b7bac5fe9b75485.yaml
harvested: '2026-08-04'
note: Published by Oracle as the contract for the Oracle Multicloud API OCI service and stored verbatim; API Evangelist added only this provenance block.
x-evidence:
- url: https://docs.oracle.com/en-us/iaas/api/specs/index.json
what: Oracle's own index of every OCI service specification
- url: https://docs.oracle.com/en-us/iaas/api/specs/45dc72ed7644fee2cdc2862dbdb9940c0392e2742c304d5e7b7bac5fe9b75485.yaml
what: the harvested document for Oracle Multicloud API
servers:
- url: http://127.0.0.1/20180828
- url: https://127.0.0.1/20180828
tags:
- name: multicloudResources
paths:
/omHub/multicloudResources:
get:
description: 'Lists Multicloud resources in the specified Multicloud subscription.
Details for each resource include Multicloud base compartment, name, state, resource type, and network anchor.
For more information, see
[Multicloud Resources](/iaas/Content/multicloud-hub/list-resources.htm).
'
operationId: ListMulticloudResources
parameters:
- $ref: '#/components/parameters/ResourceAnchorIdQueryParam'
- $ref: '#/components/parameters/CompartmentIdQueryParam'
- $ref: '#/components/parameters/PaginationLimitQueryParam'
- $ref: '#/components/parameters/PaginationTokenQueryParam'
- $ref: '#/components/parameters/SortOrderQueryParam'
- $ref: '#/components/parameters/SortByQueryParam'
- $ref: '#/components/parameters/RequiredSubscriptionServiceNameQueryParam'
- $ref: '#/components/parameters/RequiredSubscriptionIdQueryParam'
- $ref: '#/components/parameters/ExternalLocationNameQueryParam'
- $ref: '#/components/parameters/RequestIdHeader'
responses:
200:
description: A page of MulticloudResource objects.
headers:
opc-next-page:
description: 'For list pagination. When this header appears in the response, additional pages of results remain. For
important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
'
schema:
type: string
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/MulticloudResourceCollection'
401:
$ref: '#/components/responses/401'
404:
$ref: '#/components/responses/404'
429:
$ref: '#/components/responses/429'
500:
$ref: '#/components/responses/500'
default:
$ref: '#/components/responses/DefaultError'
summary: Gets a list of multicloud resources across Cloud Service Providers.
tags:
- multicloudResources
x-example: 'AWS subscription:
POST /20180828/MulticloudResourceCollection/ListMulticloudResources?subscriptionServiceName=ORACLEDBATAWS&subscriptionId=<subscription_OCID>
Host: multicloud.us-ashburn-1.oci.oraclecloud.com
<authorization and other headers>
Azure subscription:
POST /20180828/MulticloudResourceCollection/ListMulticloudResources?subscriptionServiceName=ORACLEDBATAZURE&subscriptionId=<subscription_OCID>
Host: multicloud.us-ashburn-1.oci.oraclecloud.com
<authorization and other headers>
'
x-related-resource: '#/definitions/MulticloudResourceCollection'
components:
parameters:
CompartmentIdQueryParam:
description: The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
in: query
name: compartmentId
x-default-description: 'null'
schema:
type: string
SortByQueryParam:
description: 'The field to sort by. You can provide only one sort order. Default order for `timeCreated`
is descending. Default order for `displayName` is ascending.
'
in: query
name: sortBy
schema:
type: string
enum:
- timeCreated
- displayName
default: timeCreated
PaginationTokenQueryParam:
description: 'For 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).
'
in: query
name: page
schema:
type: string
minLength: 1
RequestIdHeader:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
The only valid characters for request IDs are letters, numbers,
underscore, and dash.
'
in: header
name: opc-request-id
schema:
type: string
PaginationLimitQueryParam:
description: 'For 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).
'
in: query
name: limit
schema:
type: integer
default: 10
maximum: 1000
minimum: 1
RequiredSubscriptionServiceNameQueryParam:
description: The cloud service provider.
in: query
name: subscriptionServiceName
required: true
x-obmcs-top-level-enum: '#/definitions/SubscriptionType'
schema:
type: string
enum:
- ORACLEDBATAZURE
- ORACLEDBATGOOGLE
- ORACLEDBATAWS
ExternalLocationNameQueryParam:
description: The cloud service provider region.
in: query
name: externalLocation
required: false
x-default-description: 'null'
schema:
type: string
maxLength: 255
minLength: 1
RequiredSubscriptionIdQueryParam:
description: The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the Multicloud subscription in which to list resources.
in: query
name: subscriptionId
required: true
schema:
type: string
SortOrderQueryParam:
description: 'The sort order to use, either ascending (`ASC`) or descending (`DESC`).
In general, the sort order is `DESC` when sorting by time and `ASC` otherwise.
'
in: query
name: sortOrder
x-default-description: 'The default value depends on `sortBy`.
'
x-obmcs-top-level-enum: '#/definitions/SortOrder'
schema:
type: string
enum:
- ASC
- DESC
ResourceAnchorIdQueryParam:
description: The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the resource anchor.
in: query
name: resourceAnchorId
x-default-description: 'null'
schema:
type: string
schemas:
MulticloudResourceCollection:
description: 'Multicloud resources in the indicated Multicloud subscription.
For more information, see
[Multicloud Resources](/iaas/Content/multicloud-hub/list-resources.htm).
'
properties:
items:
description: List of MulticloudResourceSummary.
items:
$ref: '#/components/schemas/MulticloudResourceSummary'
type: array
required:
- items
type: object
MulticloudResourceSummary:
description: 'The properties that define the Multicloud resource.
Details for each resource include Multicloud base compartment, name, state, resource type, and network anchor.
For more information, see
[Multicloud Resources](/iaas/Content/multicloud-hub/list-resources.htm).
'
properties:
compartmentId:
description: Id of the compartment associated with the resource.
type: string
compartmentName:
description: Name of the compartment associated with the resource.
type: string
cspAdditionalProperties:
additionalProperties:
type: string
description: Properties specific to the cloud service provider. For example, AzureSubnetId for Azure.
type: object
cspResourceId:
description: The resource Id that comes from the Multicloud control plane.
type: string
definedTags:
additionalProperties:
additionalProperties:
description: 'The value of the tag. Only the String type is supported.
'
type: object
description: 'Key-value pair representing a defined tag key and value, scoped to a namespace.
Example: `{"CostCenter": "42"}`
'
type: object
description: 'Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).
Example: `{"Operations": {"CostCenter": "42"}}`
'
type: object
freeformTags:
additionalProperties:
type: string
description: 'Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).
Example: `{"Department": "Finance"}`
'
type: object
lifecycleState:
description: The current state of the Multicloud resource.
enum:
- ACTIVE
- INACTIVE
type: string
networkAnchorId:
description: The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the network anchor associated with the resource.
type: string
networkAnchorName:
description: Name of the network anchor associated with the resource.
type: string
resourceDisplayName:
description: Endpoint used to retrieve the resource's display name and lifecycle state.
type: string
resourceId:
description: The Id of the multicloud resource.
type: string
resourceType:
description: Type of resource, such as `VMCluster` or `ExaInfra`,
type: string
systemTags:
additionalProperties:
additionalProperties:
description: 'The value of the tag. Only the String type is supported.
'
type: object
description: 'Key-value pair representing a system tag key and value, scoped to a namespace.
Example: `{"free-tier-retained": "true"}`
'
type: object
description: 'System tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
'
type: object
timeCreated:
description: 'The date and time the subscription was created, in the format defined by
[RFC 3339](https://tools.ietf.org/rfc/rfc3339).
'
format: date-time
type: string
timeUpdated:
description: 'The date and time the subscription was updated, in the format defined by
[RFC 3339](https://tools.ietf.org/rfc/rfc3339).
'
format: date-time
type: string
vcnId:
description: Id of the virtual cloud network (VCN) associated with the resource.
type: string
vcnName:
description: Name of the virtual cloud network (VCN) associated with the resource.
type: string
required:
- resourceId
- timeCreated
type: object
Error:
description: Error response information.
properties:
code:
description: 'A short error code that defines the error, meant for programmatic parsing. See
[API Errors](/Content/API/References/apierrors.htm).
'
type: string
message:
description: A human-readable error string.
type: string
required:
- code
- message
responses:
DefaultError:
description: An error has occurred.
headers:
opc-request-id:
description: Unique identifier for the request
schema:
type: string
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
x-anchors:
definedTags:
additionalProperties:
additionalProperties:
description: 'The value of the tag. Only the String type is supported.
'
type: object
description: 'Key-value pair representing a defined tag key and value, scoped to a namespace.
Example: `{"CostCenter": "42"}`
'
type: object
description: 'Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).
Example: `{"Operations": {"CostCenter": "42"}}`
'
type: object
etag:
description: 'For optimistic concurrency control. See `if-match`.
'
type: string
freeformTags:
additionalProperties:
type: string
description: 'Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
For more information, see [Resource Tags](/iaas/Content/General/Concepts/resourcetags.htm).
Example: `{"Department": "Finance"}`
'
type: object
opc-next-page:
description: 'For list pagination. When this header appears in the response, additional pages of results remain. For
important details about how pagination works, see [List Pagination](/iaas/Content/API/Concepts/usingapi.htm#nine).
'
type: string
opc-request-id:
description: 'Unique Oracle-assigned identifier for the request. If you need to contact
Oracle about a particular request, please provide the request ID.
'
type: string
opc-work-request-id:
description: 'The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
Use GetWorkRequest with this ID to track the status of the request.
'
type: string
retry-after:
description: A decimal number representing the number of seconds the client should wait before polling this endpoint again.
type: integer
systemTags:
additionalProperties:
additionalProperties:
description: 'The value of the tag. Only the String type is supported.
'
type: object
description: 'Key-value pair representing a system tag key and value, scoped to a namespace.
Example: `{"free-tier-retained": "true"}`
'
type: object
description: 'System tags for this resource. Each key is predefined and scoped to a namespace.
Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
'
type: object
x-headers: null
x-properties: null
x-obmcs-client-retries-enabled: true
x-oracle-package: com.oracle.omhub.cp