Oracle Occ Metrics API

The occMetrics API from Oracle — 3 operation(s) for occmetrics.

Documentation

📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/access-governance-cp/20220518/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/adm/20220421/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/advisor/20200606/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/ai-data-platform/20240831/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/analytics/20190331/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/announcements/0.0.1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/api-gateway/20190501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-config/20210201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-control-plane/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-synthetic-monitoring/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/apm-trace-explorer/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/audit/20190901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/autoscaling/20181001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/bastion/20210331/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/batch/20251031/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/bigdata/20190531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/blockchain/20191010/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/budgets/20190111/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/certificates/20210224/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/certificatesmgmt/20210224/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/cloud-guard/20200131/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/clusterplacementgroups/20230801/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/compute-cloud-at-customer/20221208/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/container-instances/20210415/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/container-registry/20180419/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/containerengine/20180222/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/cost-anomaly/20190111/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/dashboard/20210731/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-catalog/20190325/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-flow/20200129/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-integration/20200430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-safe/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/data-science/20190101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-management/20201101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-migration/20230518/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-multicloud-integrations/20240501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-tools/20201005/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/database-tools-runtime/20230222/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/datacc/20251101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/datalabeling-dp/20211001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/datalabeling/20211001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/delegate-access-control/20230801/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/devops/20210630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/digital-assistant/20190506/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/disaster-recovery/20220125/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/dms/20211101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/dns/20180115/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/document-understanding/20221109/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/edsfu/20220528/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/emaildelivery/20170907/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/emaildeliverysubmission/20220926/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/events/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/fleet-management/20250228/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/functions/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/functionsdocgenpbf/1.0/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/fusion-applications/20211201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-agents-client/20240531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-agents/20240531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-inference/20231130/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai-nl2sql/20260325/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generative-ai/20231130/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/generic/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/globally-distributed-database/20250101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/goldengate/20200407/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/healthchecks/20180501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/iaas/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/identity-domains/v1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/identity-dp/v1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/incidentmanagement/20181231/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/instanceagent/20180530/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/integration/20190131/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/iot/20250531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/itas/v1/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/jms-java-download/20230601/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/jms/20210610/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/jms-utils/20250521/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/kafka/20240901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/key/release/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/language/20221001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/licensemanager/20220430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/limits-increase/20251101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/limits/20181025/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/loadbalancer/20170115/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logan-api-spec/20200601/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logging-dataplane/20200831/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logging-management/20200531/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/logging-search/20190909/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/lustre/20250228/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/managed-access/20220126/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/management-agent/20200202/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/managementdashboard/20200901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/marketplace/20181001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/mngdmac/20250320/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/monitoring/20180401/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/multicloud-omhub-cp/20180828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/mysql/20190415/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/NetMonitor/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/network-firewall/20211001/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/network-firewall/20230501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/networkloadbalancer/20200501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/nosql-database/20190828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/notification/20181201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/objectstorage/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/OCB/20220509/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/occ/20230515/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/occds/20240430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/occm/20231107/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/ocicache/20220315/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/ocm/20220919/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/opa/20210621/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/opensearch/20180828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/operations-insights/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/operatoraccesscontrol/20200630/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/oracle-api-access-control/20241130/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/organizations/20230401/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/organizations/20200801/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/osmh/20220901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/postgresql/20220915/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/psasvc/20240301/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/publisher/20241201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/queue/20210201/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/recovery-service/20210216/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/registry/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resource-analytics/20241031/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resource-discovery-monitoring-control-api/20210330/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resource-scheduler/20240430/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/resourcemanager/20180917/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/rover/20201210/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/s3objectstorage/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/scanning/20210215/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/search/20180409/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/secretmgmt/20180608/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/secretretrieval/20190301/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/secure-desktops/20220618/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/security-attribute/20240815/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/self/20260129/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/service-catalog/20210527/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/serviceconnectors/20200909/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/smp/20210914/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/speech/20220101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/stack-monitoring/20210330/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/streaming/20180418/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/threat-intel/20220901/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/usage/20200107/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/usage-proxy/20190111/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/vision/20220125/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/visual-builder/20210601/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/visual-builder-studio/20180828/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/vmware/20200501/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/vmware/20230701/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/waa/20211230/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/waas/20181116/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/waf/20210930/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/wlms/20241101/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/workrequests/20160918/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/zero-trust-packet-routing/20240301/
📖
APIReference
https://docs.oracle.com/en-us/iaas/api/#/en/zero-trust-packet-routing-tools/20240301/

Specifications

OpenAPI Specification

oracle-occmetrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'OCI Control Center (OCC) service enables you to monitor the region-level cloud consumption and provides the region-level capacity data, in realms where OCC is available. Use the OCI Control Center (OCC) API to explore region-level capacity and utilization information about core services. For more information, see [OCI Control Center](/iaas/Content/control-center/home.htm).

    '
  title: OCI Control Center Occ Metrics API
  version: '20230515'
  x-provenance:
    method: harvested
    first_party: true
    publisher: Oracle
    source: https://docs.oracle.com/en-us/iaas/api/specs/b193deba0def3a4cd1118a4ae93d1cb396bb86a2b51c6e4e560790de09e5e6bb.yaml
    harvested: '2026-08-04'
    note: Published by Oracle as the contract for the OCI Control Center 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/b193deba0def3a4cd1118a4ae93d1cb396bb86a2b51c6e4e560790de09e5e6bb.yaml
    what: the harvested document for OCI Control Center API
servers:
- url: http://127.0.0.1/20230515
- url: https://127.0.0.1/20230515
tags:
- name: occMetrics
paths:
  /metricProperties/{namespaceName}:
    get:
      description: 'Returns a list of available metrics for the given namespace. The results for metrics with dimensions includes list of all the associated dimensions. The results are sorted by the metricName and then by dimension in ascending alphabetical order. For a list of valid namespaces, see [List Namespaces API](#/en/occ/20230515/NamespaceCollection/ListNamespaces).

        '
      operationId: ListMetricProperties
      parameters:
      - $ref: '#/components/parameters/NamespaceName'
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/CompartmentId'
      responses:
        200:
          description: success
          headers:
            opc-next-page:
              description: 'For pagination of a list of items. When paging through a list, if this

                header appears in the response, then a partial list might have been

                returned. Include this value as the `page` parameter for the subsequent

                GET request to get the next batch of items.

                '
              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/MetricPropertyCollection'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: LIST available metrics (for a namespace)
      tags:
      - occMetrics
      x-example: 'GET /20230515/metricProperties/Compute?compartmentId=<var>&lt;compartment_OCID&gt;</var>

        Host: https://control-center.{region}.oci.{secondLevelDomain}

        <var>&lt;authorization and other headers&gt;</var>

        '
  /namespaces:
    get:
      description: 'List all the available source services called namespaces emitting metrics for this region. The namespaces are sorted in ascending alphabetical order.

        '
      operationId: ListNamespaces
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/RequestIdHeader'
      - $ref: '#/components/parameters/CompartmentId'
      responses:
        200:
          description: success
          headers:
            opc-next-page:
              description: 'For pagination of a list of items. When paging through a list, if this

                header appears in the response, then a partial list might have been

                returned. Include this value as the `page` parameter for the subsequent

                GET request to get the next batch of items.

                '
              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/NamespaceCollection'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: List available namespaces (services)
      tags:
      - occMetrics
      x-example: 'GET /20230515/namespaces?compartmentId=<var>&lt;compartment_OCID&gt;</var>

        Host: https://control-center.{region}.oci.{secondLevelDomain}

        <var>&lt;authorization and other headers&gt;</var>

        '
  /requestSummarizedMetricData:
    post:
      description: 'Returns the summarized data for the given metric from the given namespace.  The aggregation method depends on the metric.

        The metric data can be filtered by providing the dimension, startTime or endTime.  The metric

        data in the response is sorted by dimension in ascending order and then by sampleTime in ascending chronological order.

        '
      operationId: RequestSummarizedMetricData
      parameters:
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/RequestIdHeader'
      responses:
        200:
          description: success
          headers:
            opc-next-page:
              description: 'For pagination of a list of items. When paging through a list, if this

                header appears in the response, then a partial list might have been

                returned. Include this value as the `page` parameter for the subsequent

                GET request to get the next batch of items.

                '
              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/SummarizedMetricDataCollection'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        429:
          $ref: '#/components/responses/429'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/default'
      summary: Requests summarized data for a metric
      tags:
      - occMetrics
      x-example: "POST /20230515/requestSummarizedMetricData\nHost: https://control-center.{region}.oci.{secondLevelDomain}\n<var>&lt;authorization and other headers&gt;</var>\n{\n  \"metricName\": \"AVAILABLE_CORES\",\n  \"compartmentId\": \"ocid1.compartment.oc1..exampleId\",\n  \"namespaceName\": \"Compute\",\n  \"dimensions\": {\n    \"service_type\": {\n      \"dimensionValue\": \"Std Intel\"\n    },\n    \"pool_name\": {\n      \"dimensionValue\": \"compute_standard\"\n    }\n  }\n}\n"
      x-obmcs-large-response-payload: true
      x-related-resource: '#/definitions/SummarizedMetricDataCollection'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RequestSummarizedMetricDataDetails'
        description: Filters to apply to the metric data query
        required: true
components:
  schemas:
    NamespaceCollection:
      description: 'The list of source services called namespaces emitting metrics that you can explore using OCI Control Center.

        '
      properties:
        items:
          description: 'An array of NamespaceSummary objects.

            '
          items:
            $ref: '#/components/schemas/NamespaceSummary'
          type: array
      required:
      - items
      type: object
      x-example: "{\n  \"items\": [\n    {\n      \"namespaceName\": \"Block Storage\"\n    },\n    {\n      \"namespaceName\": \"Compute\"\n    },\n    {\n      \"namespaceName\": \"Exadata\"\n    },\n    {\n      \"namespaceName\": \"File Storage Service\"\n    },\n    {\n      \"namespaceName\": \"Object Storage\"\n    }\n  ]\n}\n"
    SummarizedMetricData:
      description: 'The recorded metric value at a specific timestamp.

        '
      properties:
        aggregatedValue:
          description: 'The aggregated metric value for the specified request.

            '
          example: 1.23
          format: float
          type: number
        aggregationMethod:
          description: 'The aggregation method used for aggregating the metric values.  The aggregation method depends on the metric itself.

            '
          example: count, sum, min, max, and avg
          type: string
        dimensions:
          additionalProperties:
            $ref: '#/components/schemas/DimensionValue'
          description: 'Qualifiers provided in the definition of the returned metric. Available dimensions vary by metric namespace.

            '
          type: object
        resolution:
          description: 'The duration over which the metric data is aggregated. Supported values: `1m`-`60m`, `1h`-`24h`, `1d`.

            '
          example: 5m
          type: string
        sampleTime:
          description: 'The time at which the metric data was recorded.

            '
          format: date-time
          type: string
      type: object
      x-example: "{\n  \"sampleTime\": \"2023-04-08T00:00:00.000Z\",\n  \"resolution\": 1d,\n  \"dimensions\": {\n    \"service_type\": {\n      \"dimensionValue\": \"Std Intel\"\n    },\n    \"pool_name\": {\n      \"dimensionValue\": \"compute_standard\"\n    }\n  },\n  \"aggregationMethod\": \"Sum\",\n  \"aggregatedValue\": 2758\n}\n"
    NamespaceSummary:
      description: 'A summary of the source service or application emitting the metric.

        '
      properties:
        namespaceName:
          description: 'The name of the source service emitting the metric.

            '
          type: string
      required:
      - namespaceName
      type: object
      x-example: "{\n  \"namespaceName\": \"Block Storage\"\n}\n"
    RequestSummarizedMetricDataDetails:
      description: 'The request details for retrieving aggregated data. Use the query and optional properties to filter the returned results.

        '
      properties:
        compartmentId:
          description: 'The OCID of the compartment to use for authorization to read metrics. To use the root compartment, provide the tenancyId.

            '
          maxLength: 255
          minLength: 1
          type: string
        dimensions:
          additionalProperties:
            $ref: '#/components/schemas/DimensionValue'
          description: 'Qualifiers to use when searching for metric data. For a list of valid dimensions for a given metric, see [List Metric Properties API](#/en/occ/20230515/MetricPropertyCollection/ListMetricProperties).

            '
          type: object
          x-default-description: 'If no dimension is provided, aggregated metric data from all the associated dimensions, if any, are returned.

            '
        endTime:
          description: 'The end of the sampled time range to use when searching for metric data points. Format is defined by <a href="https://www.rfc-editor.org/rfc/rfc3339">RFC3339</a>. The response excludes metric data points for sampled time. Example 2019-02-01T02:02:29.600Z

            '
          format: date-time
          type: string
          x-default-description: the timestamp representing when the request was sent.
        metricName:
          description: 'The name of a metric for retrieving aggregated data. For a list of valid metrics for a given namespace, see [List Metric Properties API](#/en/occ/20230515/MetricPropertyCollection/ListMetricProperties).

            '
          maxLength: 255
          minLength: 1
          type: string
        namespaceName:
          description: 'The source service or application to use when searching for metric data points to aggregate. For a list of valid namespaces, see [List Namespaces API](#/en/occ/20230515/NamespaceCollection/ListNamespaces).

            '
          maxLength: 255
          minLength: 1
          type: string
        startTime:
          description: 'The beginning of the sampled time range to use when searching for metric data points. Format is defined by <a href="https://www.rfc-editor.org/rfc/rfc3339">RFC3339</a>. The response includes metric data points for the sampled time. Example 2019-02-01T02:02:29.600Z

            '
          format: date-time
          type: string
          x-default-description: the timestamp 30 days before the request was sent.
      required:
      - namespaceName
      - metricName
      - compartmentId
      type: object
      x-example: "{\n  \"metricName\": \"AVAILABLE_CORES\",\n  \"compartmentId\": \"ocid1.compartment.oc1..exampleId\",\n  \"namespaceName\": \"Compute\",\n  \"dimensions\": {\n    \"service_type\": {\n      \"dimensionValue\": \"Std Intel\"\n    }\n  }\n}\n  \n"
    Error:
      description: Error Information.
      properties:
        code:
          description: A short error code that defines the error, meant for programmatic parsing.
          type: string
        message:
          description: A human-readable error string.
          type: string
      required:
      - code
      - message
    SummarizedMetricDataCollection:
      description: 'A list of aggregated metric data objects with properties.

        '
      properties:
        items:
          description: 'An array of SummarizedMetricData items.

            '
          items:
            $ref: '#/components/schemas/SummarizedMetricData'
          type: array
      required:
      - items
      type: object
      x-example: "{\n  \"items\": [\n    {\n      \"sampleTime\": \"2023-04-08T00:00:00.000Z\",\n      \"resolution\": 1d,\n      \"dimensions\": {\n        \"tenancy_name\": {\n          \"dimensionValue\": \"exampleTenancyName1\"\n        },\n        \"tenancy_ocid\": {\n          \"dimensionValue\": \"ocid1.tenancy.oc1..exampleTenancyOcid1\"\n        }\n      },\n      \"aggregationMethod\": \"Sum\",\n      \"aggregatedValue\": 7\n    },\n    {\n      \"sampleTime\": \"2023-04-08T00:00:00.000Z\",\n      \"resolution\": 1d,\n      \"dimensions\": {\n        \"tenancy_name\": {\n          \"dimensionValue\": \"exampleTenancyName2\"\n        },\n        \"tenancy_ocid\": {\n          \"dimensionValue\": \"ocid1.tenancy.oc1..exampleTenancyOcid2\"\n        }\n      },\n      \"aggregationMethod\": \"Sum\",\n      \"aggregatedValue\": 1\n    }\n  ]\n}\n"
    MetricPropertySummary:
      description: 'A summary of the properties that define a metric.

        '
      properties:
        dimensions:
          additionalProperties:
            $ref: '#/components/schemas/DimensionValue'
          description: 'Qualifiers provided in a metric definition. Available dimensions vary by metric namespace.

            '
          type: object
        metricName:
          description: 'The name of the metric.

            '
          type: string
      required:
      - metricName
      type: object
      x-example: "{\n  \"metricName\": \"AVAILABLE_CORES\",\n  \"dimensions\": {\n    \"service_type\": {\n      \"dimensionValue\": \"Dense Intel\"\n    },\n    \"pool_name\": {\n      \"dimensionValue\": \"broken_pool\"\n    }\n  }\n}\n"
    MetricPropertyCollection:
      description: 'A list of available metrics and their associated properties such as dimensions.

        '
      properties:
        items:
          description: 'An array of MetricPropertySummary objects.

            '
          items:
            $ref: '#/components/schemas/MetricPropertySummary'
          type: array
      required:
      - items
      type: object
      x-example: "{\n  \"items\": [\n    {\n      \"metricName\": \"AVAILABLE_CORES\",\n      \"dimensions\": {\n        \"service_type\": {\n          \"dimensionValue\": \"Dense Intel\"\n        },\n        \"pool_name\": {\n          \"dimensionValue\": \"broken_pool\"\n        }\n      }\n    },\n    {\n      \"metricName\": \"AVAILABLE_CORES\",\n      \"dimensions\": {\n        \"service_type\": {\n          \"dimensionValue\": \"Dense Intel\"\n        },\n        \"pool_name\": {\n          \"dimensionValue\": \"compute_standard\"\n        }\n      }\n    }\n  ]\n}\n"
    DimensionValue:
      description: 'The dimension value for the given dimension name as key.

        '
      properties:
        dimensionValue:
          description: 'The value of the dimension.

            '
          type: string
      type: object
  parameters:
    Page:
      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 <a href="https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine">List Pagination</a>.

        '
      in: query
      name: page
      required: false
      x-default-description: If page is not provided, data from the first page is returned.
      schema:
        type: string
    Limit:
      description: 'For list pagination. The maximum number of results per page, or items to return in a paginated "List" call.

        '
      in: query
      name: limit
      required: false
      schema:
        type: integer
        default: 750
    NamespaceName:
      description: 'The name of the source service emitting the metric.

        '
      in: path
      name: namespaceName
      required: true
      schema:
        type: string
    RequestIdHeader:
      description: Customer part of the request identifier token. If you need to contact Oracle about a particular request, please provide the complete request ID.
      in: header
      name: opc-request-id
      schema:
        type: string
    CompartmentId:
      description: 'The OCID of the compartment to use for authorization. To use the root compartment, provide the tenancyId.

        '
      in: query
      name: compartmentId
      required: true
      schema:
        type: string
        maxLength: 255
        minLength: 1
  responses:
    default:
      description: Unknown Error
      headers:
        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/Error'
x-anchors:
  x-headers:
    etag:
      description: 'For optimistic concurrency control. See `if-match`.

        '
      type: string
    opc-next-page:
      description: 'For pagination of a list of items. When paging through a list, if this

        header appears in the response, then a partial list might have been

        returned. Include this value as the `page` parameter for the subsequent

        GET request to get the next batch of items.

        '
      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
  x-properties:
    x-tag-groups:
      occMetricData:
      - occMetrics
      occServiceData:
      - occMetrics
x-obmcs-client-circuit-breaker-enabled: true
x-obmcs-client-retries-enabled: true
x-obmcs-use-shared-work-requests-service: false
x-oracle-package: com.oracle.oci.occ