Oracle Auto Scaling API

Autoscaling Service

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-autoscaling-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about

    autoscaling, see [Autoscaling](/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the

    Compute service, see [Compute](/Content/Compute/home.htm).

    '
  title: Auto Scaling API
  version: '20181001'
  x-provenance:
    method: harvested
    first_party: true
    publisher: Oracle
    source: https://docs.oracle.com/en-us/iaas/api/specs/413902c2f198bba0a2c9aad62a4454040fa6d057036747336477142eadcf1214.yaml
    harvested: '2026-08-04'
    note: Published by Oracle as the contract for the Autoscaling 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/413902c2f198bba0a2c9aad62a4454040fa6d057036747336477142eadcf1214.yaml
    what: the harvested document for Autoscaling API
servers:
- url: /20181001
tags:
- description: Autoscaling Service
  name: autoScaling
paths:
  /autoScalingConfigurations:
    get:
      description: 'Lists autoscaling configurations in the specifed compartment.

        '
      operationId: ListAutoScalingConfigurations
      parameters:
      - $ref: '#/components/parameters/CompartmentIdQueryParam'
      - $ref: '#/components/parameters/FilterByDisplayNameQueryParam'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/PaginationLimitQueryParam'
      - $ref: '#/components/parameters/PaginationTokenQueryParam'
      - $ref: '#/components/parameters/SortByQueryParam'
      - $ref: '#/components/parameters/SortOrderQueryParam'
      responses:
        200:
          description: The list is being retrieved.
          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:
                items:
                  $ref: '#/components/schemas/AutoScalingConfigurationSummary'
                type: array
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: ListAutoScalingConfigurations
      tags:
      - autoScaling
      x-example: 'GET /20181001/autoScalingConfigurations?compartmentId=<var>&lt;compartment_OCID&gt;</var>

        Host: autoscaling.us-phoenix-1.oci.oraclecloud.com

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

        '
    post:
      description: Creates an autoscaling configuration.
      operationId: CreateAutoScalingConfiguration
      parameters:
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      responses:
        200:
          description: The created object is returned.
          headers:
            etag:
              description: For optimistic concurrency control. See `if-match`.
              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/AutoScalingConfiguration'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: CreateAutoScalingConfiguration
      tags:
      - autoScaling
      x-example: "Example: Create a threshold-based autoscaling configuration\nPOST /20181001/autoScalingConfigurations\nHost: autoscaling.us-phoenix-1.oci.oraclecloud.com\n<var>&lt;authorization and other headers&gt;</var>\n{\n  \"compartmentId\": \"ocid1.compartment.oc1..<var>&lt;unique_ID&gt;</var>\",\n  \"displayName\": \"example_threshold_autoscaling_configuration\",\n  \"coolDownInSeconds\": 300,\n  \"isEnabled\": true,\n  \"policies\": [\n    {\n      \"capacity\": {\n        \"max\": 50,\n        \"min\": 10,\n        \"initial\": 15\n      },\n      \"displayName\": \"example_autoscaling_policy\",\n      \"policyType\": \"threshold\",\n      \"rules\": [\n        {\n          \"action\": {\n            \"type\": \"CHANGE_COUNT_BY\",\n            \"value\": 5\n          },\n          \"displayName\": \"example_scale_out_condition\",\n          \"metric\": {\n            \"metricType\": \"CPU_UTILIZATION\",\n            \"threshold\": {\n              \"operator\": \"GTE\",\n              \"value\": 90\n            }\n          }\n        },\n        {\n          \"action\": {\n            \"type\": \"CHANGE_COUNT_BY\",\n            \"value\": -5\n          },\n          \"displayName\": \"example_scale_in_condition\",\n          \"metric\": {\n            \"metricType\": \"CPU_UTILIZATION\",\n            \"threshold\": {\n              \"operator\": \"LTE\",\n              \"value\": 25\n            }\n          }\n        }\n      ]\n    }\n  ],\n  \"resource\": {\n    \"type\": \"instancePool\",\n    \"id\": \"ocid1.instancepool.oc1..<var>&lt;unique_ID&gt;</var>\"\n  }\n}\n\nExample: Create a schedule-based autoscaling configuration\nPOST /20181001/autoScalingConfigurations\nHost: autoscaling.us-phoenix-1.oci.oraclecloud.com\n<var>&lt;authorization and other headers&gt;</var>\n{\n  \"compartmentId\": \"ocid1.compartment.oc1..<var>&lt;unique_ID&gt;</var>\",\n  \"displayName\": \"example_scheduled_autoscaling_configuration\",\n  \"isEnabled\": true,\n  \"policies\": [\n    {\n      \"policyType\": \"scheduled\",\n      \"capacity\": {\n        \"initial\": \"100\"\n      },\n      \"displayName\": \"example_scale_out_schedule\",\n      \"isEnabled\": true,\n      \"executionSchedule\": {\n        \"type\": \"cron\",\n        \"expression\": \"0 0 8 ? * MON-FRI *\",\n        \"timezone\": \"UTC\"\n      }\n    },\n    {\n      \"policyType\": \"scheduled\",\n      \"capacity\": {\n        \"initial\": \"20\"\n      },\n      \"displayName\": \"example_scale_in_schedule\",\n      \"isEnabled\": true,\n      \"executionSchedule\": {\n        \"type\": \"cron\",\n        \"expression\": \"0 0 18 ? * MON-FRI *\",\n        \"timezone\": \"UTC\"\n      }\n    }\n  ],\n  \"resource\": {\n    \"type\": \"instancePool\",\n    \"id\": \"ocid1.instancepool.oc1.iad.<var>&lt;unique_ID&gt;</var>\"\n  }\n}\n"
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAutoScalingConfigurationDetails'
        description: Creation details for an autoscaling configuration.
        required: true
  /autoScalingConfigurations/{autoScalingConfigurationId}:
    delete:
      description: Deletes an autoscaling configuration.
      operationId: DeleteAutoScalingConfiguration
      parameters:
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/IfMatchHeader'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      responses:
        204:
          description: The autoscaling configuration is being deleted.
          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
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        412:
          $ref: '#/components/responses/412'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: DeleteAutoScalingConfiguration
      tags:
      - autoScaling
      x-example: 'DELETE /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_ID&gt;</var>

        Host: autoscaling.us-phoenix-1.oci.oraclecloud.com

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

        '
      x-related-resource: '#/definitions/AutoScalingConfiguration'
    get:
      description: Gets information about the specified autoscaling configuration.
      operationId: GetAutoScalingConfiguration
      parameters:
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      responses:
        200:
          description: The autoscaling configuration was retrieved.
          headers:
            etag:
              description: For optimistic concurrency control. See `if-match`.
              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/AutoScalingConfiguration'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: GetAutoScalingConfiguration
      tags:
      - autoScaling
      x-example: 'GET /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_ID&gt;</var>

        Host: autoscaling.us-phoenix-1.oci.oraclecloud.com

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

        '
    put:
      description: 'Updates certain fields on the specified autoscaling configuration, such as the name, the cooldown period,

        and whether the autoscaling configuration is enabled.

        '
      operationId: UpdateAutoScalingConfiguration
      parameters:
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/IfMatchHeader'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      responses:
        200:
          description: The updated autoscaling configuration.
          headers:
            etag:
              description: For optimistic concurrency control. See `if-match`.
              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/AutoScalingConfiguration'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        412:
          $ref: '#/components/responses/412'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: UpdateAutoScalingConfiguration
      tags:
      - autoScaling
      x-example: "PUT /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_ID&gt;</var>\nHost: autoscaling.us-phoenix-1.oci.oraclecloud.com\n<var>&lt;authorization and other headers&gt;</var>\n{\n  \"displayName\": \"example_autoscaling_configuration\",\n  \"isEnabled\": false,\n  \"coolDownInSeconds\": 600\n}\n"
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAutoScalingConfigurationDetails'
        description: Update details for an autoscaling configuration.
        required: true
  /autoScalingConfigurations/{autoScalingConfigurationId}/actions/changeCompartment:
    post:
      description: 'Moves an autoscaling configuration into a different compartment within the same tenancy. For information

        about moving resources between compartments, see

        [Moving Resources to a Different Compartment](/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).


        When you move an autoscaling configuration to a different compartment, associated resources such as instance

        pools are not moved.

        '
      operationId: ChangeAutoScalingConfigurationCompartment
      parameters:
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/IfMatchHeader'
      - $ref: '#/components/parameters/RetryTokenHeader'
      responses:
        204:
          description: The resource was moved.
          headers:
            etag:
              description: 'The resulting etag of the autoscaling configuration affected by this operation.

                For optimistic concurrency control. See `if-match`.

                '
              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
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        412:
          $ref: '#/components/responses/412'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: ChangeAutoScalingConfigurationCompartment
      tags:
      - autoScaling
      x-example: "POST /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_OCID&gt;</var>/actions/changeCompartment\nHost: autoscaling.us-phoenix-1.oci.oraclecloud.com\n<var>&lt;authorization and other headers&gt;</var>\n{\n    \"compartmentId\": \"ocid1.compartment.oc1..&lt;unique_ID&gt;\"\n}\n"
      x-related-resource: '#/definitions/AutoScalingConfiguration'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangeAutoScalingCompartmentDetails'
        description: Request to change the compartment of given autoscaling configuration.
        required: true
  /autoScalingConfigurations/{autoScalingConfigurationId}/policies:
    get:
      description: 'Lists the autoscaling policies in the specified autoscaling configuration.

        '
      operationId: ListAutoScalingPolicies
      parameters:
      - $ref: '#/components/parameters/FilterByDisplayNameQueryParam'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/PaginationLimitQueryParam'
      - $ref: '#/components/parameters/PaginationTokenQueryParam'
      - $ref: '#/components/parameters/SortByQueryParam'
      - $ref: '#/components/parameters/SortOrderQueryParam'
      responses:
        200:
          description: The list is being retrieved.
          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:
                items:
                  $ref: '#/components/schemas/AutoScalingPolicySummary'
                type: array
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: ListAutoScalingPolicies
      tags:
      - autoScaling
      x-example: 'GET /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_ID&gt;</var>/policies

        Host: autoscaling.us-phoenix-1.oci.oraclecloud.com

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

        '
      x-related-resource: '#/definitions/AutoScalingPolicySummary'
    post:
      description: 'Creates an autoscaling policy for the specified autoscaling configuration.


        You can create the following types of autoscaling policies:


        - **Schedule-based:** Autoscaling events take place at the specific times that you schedule.

        - **Threshold-based:** An autoscaling action is triggered when a performance metric meets or exceeds a threshold.


        An autoscaling configuration can either have multiple schedule-based autoscaling policies, or one

        threshold-based autoscaling policy.

        '
      operationId: CreateAutoScalingPolicy
      parameters:
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      responses:
        200:
          description: Returns the created policy.
          headers:
            etag:
              description: For optimistic concurrency control. See `if-match`.
              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/AutoScalingPolicy'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: CreateAutoScalingPolicy
      tags:
      - autoScaling
      x-example: "Example: Create a threshold-based autoscaling policy\nPOST /20181001/autoScalingConfigurations/<var>&lt;autoscalingConfigurationId&gt;</var>/policies\nHost: autoscaling.us-phoenix-1.oci.oraclecloud.com\n<var>&lt;authorization and other headers&gt;</var>\n{\n  \"capacity\": {\n    \"max\": 50,\n    \"min\": 10,\n    \"initial\": 15\n  },\n  \"displayName\": \"example_threshold_autoscaling_policy\",\n  \"policyType\": \"threshold\",\n  \"isEnabled\": true,\n  \"rules\": [\n    {\n      \"action\": {\n        \"type\": \"CHANGE_COUNT_BY\",\n        \"value\": 5\n      },\n      \"displayName\": \"example_scale_out_condition\",\n      \"metric\": {\n        \"metricType\": \"CPU_UTILIZATION\",\n        \"threshold\": {\n          \"operator\": \"GTE\",\n          \"value\": 90\n        }\n      }\n    },\n    {\n      \"action\": {\n        \"type\": \"CHANGE_COUNT_BY\",\n        \"value\": -5\n      },\n      \"displayName\": \"example_scale_in_condition\",\n      \"metric\": {\n        \"metricType\": \"CPU_UTILIZATION\",\n        \"threshold\": {\n          \"operator\": \"LTE\",\n          \"value\": 25\n        }\n      }\n    }\n  ]\n}\n\nExample: Create a schedule-based autoscaling policy\nPOST /20181001/autoScalingConfigurations/<var>&lt;autoscalingConfigurationId&gt;</var>/policies\nHost: autoscaling.us-phoenix-1.oci.oraclecloud.com\n<var>&lt;authorization and other headers&gt;</var>\n{\n  \"capacity\": {\n    \"initial\": 25\n  },\n  \"displayName\": \"example_scheduled_autoscaling_policy\",\n  \"policyType\": \"scheduled\",\n  \"isEnabled\": true,\n  \"executionSchedule\": {\n    \"type\": \"cron\",\n    \"timezone\": \"UTC\",\n    \"expression\": \"0 15 10 ? * *\"\n  }\n}\n"
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAutoScalingPolicyDetails'
        description: Creation details for an autoscaling policy.
        required: true
  /autoScalingConfigurations/{autoScalingConfigurationId}/policies/{autoScalingPolicyId}:
    delete:
      description: Deletes an autoscaling policy for the specified autoscaling configuration.
      operationId: DeleteAutoScalingPolicy
      parameters:
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/AutoScalingPolicyIdPathParam'
      - $ref: '#/components/parameters/IfMatchHeader'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      responses:
        204:
          description: The autoscaling policy is being deleted.
          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
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        412:
          $ref: '#/components/responses/412'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: DeleteAutoScalingPolicy
      tags:
      - autoScaling
      x-example: 'DELETE /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_ID&gt;</var>/policies/<var>&lt;autoscaling_policy_ID&gt;</var>

        Host: autoscaling.us-phoenix-1.oci.oraclecloud.com

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

        '
      x-related-resource: '#/definitions/AutoScalingPolicy'
    get:
      description: Gets information about the specified autoscaling policy in the specified autoscaling configuration.
      operationId: GetAutoScalingPolicy
      parameters:
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/AutoScalingPolicyIdPathParam'
      responses:
        200:
          description: The autoscaling policy was retrieved.
          headers:
            etag:
              description: For optimistic concurrency control. See `if-match`.
              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/AutoScalingPolicy'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: GetAutoScalingPolicy
      tags:
      - autoScaling
      x-example: 'GET /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_ID&gt;</var>/policies/<var>&lt;autoscaling_policy_ID&gt;</var>

        Host: autoscaling.us-phoenix-1.oci.oraclecloud.com

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

        '
    put:
      description: Updates an autoscaling policy in the specified autoscaling configuration.
      operationId: UpdateAutoScalingPolicy
      parameters:
      - $ref: '#/components/parameters/AutoScalingConfigurationIdPathParam'
      - $ref: '#/components/parameters/AutoScalingPolicyIdPathParam'
      - $ref: '#/components/parameters/IfMatchHeader'
      - $ref: '#/components/parameters/OpcRequestIdHeaderParam'
      - $ref: '#/components/parameters/RetryTokenHeader'
      responses:
        200:
          description: The updated autoscaling policy.
          headers:
            etag:
              description: For optimistic concurrency control. See `if-match`.
              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/AutoScalingPolicy'
        400:
          $ref: '#/components/responses/400'
        401:
          $ref: '#/components/responses/401'
        404:
          $ref: '#/components/responses/404'
        409:
          $ref: '#/components/responses/409'
        412:
          $ref: '#/components/responses/412'
        500:
          $ref: '#/components/responses/500'
        default:
          $ref: '#/components/responses/DefaultError'
      summary: UpdateAutoScalingPolicy
      tags:
      - autoScaling
      x-example: "PUT /20181001/autoScalingConfigurations/<var>&lt;autoscaling_configuration_ID&gt;</var>/policies/<var>&lt;autoscaling_policy_ID&gt;</var>\nHost: autoscaling.us-phoenix-1.oci.oraclecloud.com\n<var>&lt;authorization and other headers&gt;</var>\n{\n  \"displayName\": \"example_threshold_autoscaling_policy\",\n  \"capacity\": {\n    \"max\": 50,\n    \"min\": 10,\n    \"initial\": 15\n  },\n  \"policyType\": \"threshold\",\n  \"rules\": [\n    {\n      \"action\": {\n        \"type\": \"CHANGE_COUNT_BY\",\n        \"value\": 5\n      },\n      \"displayName\": \"example_scale_out_condition\",\n      \"metric\": {\n        \"metricType\": \"CPU_UTILIZATION\",\n        \"threshold\": {\n          \"operator\": \"GTE\",\n          \"value\": 90\n        }\n      }\n    },\n    {\n      \"action\": {\n        \"type\": \"CHANGE_COUNT_BY\",\n        \"value\": -5\n      },\n      \"displayName\": \"example_scale_in_condition\",\n      \"metric\": {\n        \"metricType\": \"CPU_UTILIZATION\",\n        \"threshold\": {\n          \"operator\": \"LTE\",\n          \"value\": 25\n        }\n      }\n    }\n  ]\n}\n"
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAutoScalingPolicyDetails'
        description: Update details for an autoscaling policy.
        required: true
components:
  schemas:
    Capacity:
      description: 'Capacity limits for the instance pool.

        '
      properties:
        initial:
          description: 'For a threshold-based autoscaling policy, this value is the initial number of instances to launch in the instance pool

            immediately after autoscaling is enabled. After autoscaling retrieves performance metrics, the number of

            instances is automatically adjusted from this initial number to a number that is based on the limits that

            you set.


            For a schedule-based autoscaling policy, this value is the target pool size to scale to when executing the schedule

            that''s defined in the autoscaling policy.

            '
          minimum: 0
          type: integer
        max:
          description: 'For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed

            to increase to (scale out).


            For a schedule-based autoscaling policy, this value is not used.

            '
          minimum: 0
          type: integer
        min:
          description: 'For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed

            to decrease to (scale in).


            For a schedule-based autoscaling policy, this value is not used.

            '
          minimum: 0
          type: integer
      type: object
    AutoScalingConfiguration:
      description: 'An autoscaling configuration lets you dynamically scale the resources in a Compute instance pool.

        For more information, see [Autoscaling](/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm).

        '
      properties:
        compartmentId:
          description: 'The [OCID](/Content/General/Concepts/identifiers.htm) of the compartment containing the autoscaling configuration.

            '
          maxLength: 255
          minLength: 1
          type: string
        coolDownInSeconds:
          description: 'For threshold-based autoscaling policies, this value is the minimum period of time to wait between scaling actions.

            The cooldown period gives the system time to stabilize before rescaling. The minimum value is 300 seconds, which

            is also the default. The cooldown period starts when the instance pool reaches the running state.


            For schedule-based autoscaling policies, this value is not used.

            '
          minimum: 0
          type: integer
        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](/Content/General/Concepts/resourcetags.htm).


            Example: `{"Operations": {"CostCenter": "42"}}`

            '
          type: object
        displayName:
          description: 'A user-friendly name. Does not have to be unique, and it''s changeable. Avoid entering confidential information.

            '
          maxLength: 255
          minLength: 1
          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](/Content/General/Concepts/resourcetags.htm).


            Example: `{"Department": "Finance"}`

            '
          type: object
        id:
          description: The [OCID](/Content/General/Concepts/identifiers.htm) of the autoscaling configuration.
          maxLength: 255
          minLength: 1
          type: string
        isEnabled:
          description: Whether the autoscaling configuration is enabled.
          type: boolean
        maxResourceCount:
          description: The maxim

# --- truncated at 32 KB (56 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/oracle/refs/heads/main/openapi/oracle-autoscaling-api-openapi.yml