oci-autoscaling 2.112.1 → 2.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -5
- package/index.js +2 -5
- package/index.js.map +1 -1
- package/lib/client.d.ts +13 -16
- package/lib/client.js +24 -27
- package/lib/client.js.map +1 -1
- package/lib/model/action.d.ts +2 -5
- package/lib/model/action.js +2 -5
- package/lib/model/action.js.map +1 -1
- package/lib/model/auto-scaling-configuration-summary.d.ts +2 -5
- package/lib/model/auto-scaling-configuration-summary.js +2 -5
- package/lib/model/auto-scaling-configuration-summary.js.map +1 -1
- package/lib/model/auto-scaling-configuration.d.ts +2 -5
- package/lib/model/auto-scaling-configuration.js +2 -5
- package/lib/model/auto-scaling-configuration.js.map +1 -1
- package/lib/model/auto-scaling-policy-summary.d.ts +2 -5
- package/lib/model/auto-scaling-policy-summary.js +2 -5
- package/lib/model/auto-scaling-policy-summary.js.map +1 -1
- package/lib/model/auto-scaling-policy.d.ts +2 -5
- package/lib/model/auto-scaling-policy.js +2 -5
- package/lib/model/auto-scaling-policy.js.map +1 -1
- package/lib/model/capacity.d.ts +2 -5
- package/lib/model/capacity.js +2 -5
- package/lib/model/capacity.js.map +1 -1
- package/lib/model/change-auto-scaling-compartment-details.d.ts +2 -5
- package/lib/model/change-auto-scaling-compartment-details.js +2 -5
- package/lib/model/change-auto-scaling-compartment-details.js.map +1 -1
- package/lib/model/condition.d.ts +3 -6
- package/lib/model/condition.js +4 -7
- package/lib/model/condition.js.map +1 -1
- package/lib/model/create-auto-scaling-configuration-details.d.ts +2 -5
- package/lib/model/create-auto-scaling-configuration-details.js +2 -5
- package/lib/model/create-auto-scaling-configuration-details.js.map +1 -1
- package/lib/model/create-auto-scaling-policy-details.d.ts +2 -5
- package/lib/model/create-auto-scaling-policy-details.js +2 -5
- package/lib/model/create-auto-scaling-policy-details.js.map +1 -1
- package/lib/model/create-condition-details.d.ts +3 -6
- package/lib/model/create-condition-details.js +4 -7
- package/lib/model/create-condition-details.js.map +1 -1
- package/lib/model/create-scheduled-policy-details.d.ts +2 -5
- package/lib/model/create-scheduled-policy-details.js +2 -5
- package/lib/model/create-scheduled-policy-details.js.map +1 -1
- package/lib/model/create-threshold-policy-details.d.ts +2 -5
- package/lib/model/create-threshold-policy-details.js +2 -5
- package/lib/model/create-threshold-policy-details.js.map +1 -1
- package/lib/model/cron-execution-schedule.d.ts +2 -5
- package/lib/model/cron-execution-schedule.js +2 -5
- package/lib/model/cron-execution-schedule.js.map +1 -1
- package/lib/model/custom-metric.d.ts +58 -0
- package/lib/model/custom-metric.js +53 -0
- package/lib/model/custom-metric.js.map +1 -0
- package/lib/model/execution-schedule.d.ts +2 -5
- package/lib/model/execution-schedule.js +2 -5
- package/lib/model/execution-schedule.js.map +1 -1
- package/lib/model/index.d.ts +8 -7
- package/lib/model/index.js +9 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/instance-pool-resource.d.ts +2 -5
- package/lib/model/instance-pool-resource.js +2 -5
- package/lib/model/instance-pool-resource.js.map +1 -1
- package/lib/model/metric-base.d.ts +34 -0
- package/lib/model/metric-base.js +75 -0
- package/lib/model/metric-base.js.map +1 -0
- package/lib/model/metric.d.ts +8 -9
- package/lib/model/metric.js +7 -9
- package/lib/model/metric.js.map +1 -1
- package/lib/model/resource-action.d.ts +3 -6
- package/lib/model/resource-action.js +2 -5
- package/lib/model/resource-action.js.map +1 -1
- package/lib/model/resource-power-action.d.ts +4 -6
- package/lib/model/resource-power-action.js +3 -5
- package/lib/model/resource-power-action.js.map +1 -1
- package/lib/model/resource.d.ts +2 -5
- package/lib/model/resource.js +2 -5
- package/lib/model/resource.js.map +1 -1
- package/lib/model/scheduled-policy.d.ts +2 -5
- package/lib/model/scheduled-policy.js +2 -5
- package/lib/model/scheduled-policy.js.map +1 -1
- package/lib/model/threshold-policy.d.ts +2 -5
- package/lib/model/threshold-policy.js +2 -5
- package/lib/model/threshold-policy.js.map +1 -1
- package/lib/model/threshold.d.ts +2 -5
- package/lib/model/threshold.js +2 -5
- package/lib/model/threshold.js.map +1 -1
- package/lib/model/update-auto-scaling-configuration-details.d.ts +2 -5
- package/lib/model/update-auto-scaling-configuration-details.js +2 -5
- package/lib/model/update-auto-scaling-configuration-details.js.map +1 -1
- package/lib/model/update-auto-scaling-policy-details.d.ts +2 -5
- package/lib/model/update-auto-scaling-policy-details.js +2 -5
- package/lib/model/update-auto-scaling-policy-details.js.map +1 -1
- package/lib/model/update-condition-details.d.ts +3 -6
- package/lib/model/update-condition-details.js +4 -7
- package/lib/model/update-condition-details.js.map +1 -1
- package/lib/model/update-scheduled-policy-details.d.ts +2 -5
- package/lib/model/update-scheduled-policy-details.js +2 -5
- package/lib/model/update-scheduled-policy-details.js.map +1 -1
- package/lib/model/update-threshold-policy-details.d.ts +2 -5
- package/lib/model/update-threshold-policy-details.js +2 -5
- package/lib/model/update-threshold-policy-details.js.map +1 -1
- package/lib/request/index.d.ts +2 -5
- package/lib/request/index.js +2 -5
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-auto-scaling-configurations-request.d.ts +5 -0
- package/lib/request/list-auto-scaling-configurations-request.js.map +1 -1
- package/lib/request/list-auto-scaling-policies-request.d.ts +5 -0
- package/lib/request/list-auto-scaling-policies-request.js.map +1 -1
- package/lib/response/index.d.ts +2 -5
- package/lib/response/index.js +2 -5
- package/lib/response/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execution-schedule.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/execution-schedule.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"execution-schedule.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/execution-schedule.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAetC,IAAiB,iBAAiB,CA0CjC;AA1CD,WAAiB,iBAAiB;IAChC,IAAY,QAOX;IAPD,WAAY,QAAQ;QAClB,uBAAW,CAAA;QACX;;;WAGG;QACH,0CAA8B,CAAA;IAChC,CAAC,EAPW,QAAQ,GAAR,0BAAQ,KAAR,0BAAQ,QAOnB;IAED,SAAgB,UAAU,CAAC,GAAsB;QAC/C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,qBAAqB,CAAC,UAAU,CACL,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,4BAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAsB;QAC3D,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,MAAM;oBACT,OAAO,KAAK,CAAC,qBAAqB,CAAC,sBAAsB,CACjB,OAAQ,EAC9C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,wCAAsB,yBAerC,CAAA;AACH,CAAC,EA1CgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA0CjC"}
|
package/lib/model/index.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
|
@@ -40,8 +37,8 @@ import * as CreateConditionDetails from "./create-condition-details";
|
|
|
40
37
|
export import CreateConditionDetails = CreateConditionDetails.CreateConditionDetails;
|
|
41
38
|
import * as ExecutionSchedule from "./execution-schedule";
|
|
42
39
|
export import ExecutionSchedule = ExecutionSchedule.ExecutionSchedule;
|
|
43
|
-
import * as
|
|
44
|
-
export import
|
|
40
|
+
import * as MetricBase from "./metric-base";
|
|
41
|
+
export import MetricBase = MetricBase.MetricBase;
|
|
45
42
|
import * as Resource from "./resource";
|
|
46
43
|
export import Resource = Resource.Resource;
|
|
47
44
|
import * as ResourceAction from "./resource-action";
|
|
@@ -60,8 +57,12 @@ import * as CreateThresholdPolicyDetails from "./create-threshold-policy-details
|
|
|
60
57
|
export import CreateThresholdPolicyDetails = CreateThresholdPolicyDetails.CreateThresholdPolicyDetails;
|
|
61
58
|
import * as CronExecutionSchedule from "./cron-execution-schedule";
|
|
62
59
|
export import CronExecutionSchedule = CronExecutionSchedule.CronExecutionSchedule;
|
|
60
|
+
import * as CustomMetric from "./custom-metric";
|
|
61
|
+
export import CustomMetric = CustomMetric.CustomMetric;
|
|
63
62
|
import * as InstancePoolResource from "./instance-pool-resource";
|
|
64
63
|
export import InstancePoolResource = InstancePoolResource.InstancePoolResource;
|
|
64
|
+
import * as Metric from "./metric";
|
|
65
|
+
export import Metric = Metric.Metric;
|
|
65
66
|
import * as ResourcePowerAction from "./resource-power-action";
|
|
66
67
|
export import ResourcePowerAction = ResourcePowerAction.ResourcePowerAction;
|
|
67
68
|
import * as ScheduledPolicy from "./scheduled-policy";
|
package/lib/model/index.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -37,7 +34,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
37
34
|
return result;
|
|
38
35
|
};
|
|
39
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.UpdateThresholdPolicyDetails = exports.UpdateScheduledPolicyDetails = exports.ThresholdPolicy = exports.ScheduledPolicy = exports.ResourcePowerAction = exports.InstancePoolResource = exports.CronExecutionSchedule = exports.CreateThresholdPolicyDetails = exports.CreateScheduledPolicyDetails = exports.UpdateConditionDetails = exports.UpdateAutoScalingPolicyDetails = exports.UpdateAutoScalingConfigurationDetails = exports.Threshold = exports.ResourceAction = exports.Resource = exports.
|
|
37
|
+
exports.UpdateThresholdPolicyDetails = exports.UpdateScheduledPolicyDetails = exports.ThresholdPolicy = exports.ScheduledPolicy = exports.ResourcePowerAction = exports.Metric = exports.InstancePoolResource = exports.CustomMetric = exports.CronExecutionSchedule = exports.CreateThresholdPolicyDetails = exports.CreateScheduledPolicyDetails = exports.UpdateConditionDetails = exports.UpdateAutoScalingPolicyDetails = exports.UpdateAutoScalingConfigurationDetails = exports.Threshold = exports.ResourceAction = exports.Resource = exports.MetricBase = exports.ExecutionSchedule = exports.CreateConditionDetails = exports.CreateAutoScalingPolicyDetails = exports.CreateAutoScalingConfigurationDetails = exports.Condition = exports.ChangeAutoScalingCompartmentDetails = exports.Capacity = exports.AutoScalingPolicySummary = exports.AutoScalingPolicy = exports.AutoScalingConfigurationSummary = exports.AutoScalingConfiguration = exports.Action = void 0;
|
|
41
38
|
const Action = __importStar(require("./action"));
|
|
42
39
|
exports.Action = Action.Action;
|
|
43
40
|
const AutoScalingConfiguration = __importStar(require("./auto-scaling-configuration"));
|
|
@@ -62,8 +59,8 @@ const CreateConditionDetails = __importStar(require("./create-condition-details"
|
|
|
62
59
|
exports.CreateConditionDetails = CreateConditionDetails.CreateConditionDetails;
|
|
63
60
|
const ExecutionSchedule = __importStar(require("./execution-schedule"));
|
|
64
61
|
exports.ExecutionSchedule = ExecutionSchedule.ExecutionSchedule;
|
|
65
|
-
const
|
|
66
|
-
exports.
|
|
62
|
+
const MetricBase = __importStar(require("./metric-base"));
|
|
63
|
+
exports.MetricBase = MetricBase.MetricBase;
|
|
67
64
|
const Resource = __importStar(require("./resource"));
|
|
68
65
|
exports.Resource = Resource.Resource;
|
|
69
66
|
const ResourceAction = __importStar(require("./resource-action"));
|
|
@@ -82,8 +79,12 @@ const CreateThresholdPolicyDetails = __importStar(require("./create-threshold-po
|
|
|
82
79
|
exports.CreateThresholdPolicyDetails = CreateThresholdPolicyDetails.CreateThresholdPolicyDetails;
|
|
83
80
|
const CronExecutionSchedule = __importStar(require("./cron-execution-schedule"));
|
|
84
81
|
exports.CronExecutionSchedule = CronExecutionSchedule.CronExecutionSchedule;
|
|
82
|
+
const CustomMetric = __importStar(require("./custom-metric"));
|
|
83
|
+
exports.CustomMetric = CustomMetric.CustomMetric;
|
|
85
84
|
const InstancePoolResource = __importStar(require("./instance-pool-resource"));
|
|
86
85
|
exports.InstancePoolResource = InstancePoolResource.InstancePoolResource;
|
|
86
|
+
const Metric = __importStar(require("./metric"));
|
|
87
|
+
exports.Metric = Metric.Metric;
|
|
87
88
|
const ResourcePowerAction = __importStar(require("./resource-power-action"));
|
|
88
89
|
exports.ResourcePowerAction = ResourcePowerAction.ResourcePowerAction;
|
|
89
90
|
const ScheduledPolicy = __importStar(require("./scheduled-policy"));
|
package/lib/model/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/index.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,uFAAyE;AAC3D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,sGAAwF;AAC1E,QAAA,+BAA+B,GAAG,+BAA+B,CAAC,+BAA+B,CAAC;AAChH,yEAA2D;AAC7C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,wFAA0E;AAC5D,QAAA,wBAAwB,GAAG,wBAAwB,CAAC,wBAAwB,CAAC;AAC3F,qDAAuC;AACzB,QAAA,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAC3C,+GAAiG;AACnF,QAAA,mCAAmC,GAAG,mCAAmC,CAAC,mCAAmC,CAAC;AAC5H,uDAAyC;AAC3B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,mHAAqG;AACvF,QAAA,qCAAqC,GAAG,qCAAqC,CAAC,qCAAqC,CAAC;AAClI,qGAAuF;AACzE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AACrF,wEAA0D;AAC5C,QAAA,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC;AACtE,0DAA4C;AAC9B,QAAA,UAAU,GAAG,UAAU,CAAC,UAAU,CAAC;AACjD,qDAAuC;AACzB,QAAA,QAAQ,GAAG,QAAQ,CAAC,QAAQ,CAAC;AAC3C,kEAAoD;AACtC,QAAA,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC;AAC7D,uDAAyC;AAC3B,QAAA,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;AAC9C,mHAAqG;AACvF,QAAA,qCAAqC,GAAG,qCAAqC,CAAC,qCAAqC,CAAC;AAClI,qGAAuF;AACzE,QAAA,8BAA8B,GAAG,8BAA8B,CAAC,8BAA8B,CAAC;AAC7G,mFAAqE;AACvD,QAAA,sBAAsB,GAAG,sBAAsB,CAAC,sBAAsB,CAAC;AAErF,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,iFAAmE;AACrD,QAAA,qBAAqB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;AAClF,8DAAgD;AAClC,QAAA,YAAY,GAAG,YAAY,CAAC,YAAY,CAAC;AACvD,+EAAiE;AACnD,QAAA,oBAAoB,GAAG,oBAAoB,CAAC,oBAAoB,CAAC;AAC/E,iDAAmC;AACrB,QAAA,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AACrC,6EAA+D;AACjD,QAAA,mBAAmB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC;AAC5E,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,oEAAsD;AACxC,QAAA,eAAe,GAAG,eAAe,CAAC,eAAe,CAAC;AAChE,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC;AACvG,gGAAkF;AACpE,QAAA,4BAA4B,GAAG,4BAA4B,CAAC,4BAA4B,CAAC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"instance-pool-resource.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/instance-pool-resource.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"instance-pool-resource.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/instance-pool-resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAUlC,IAAiB,oBAAoB,CAuBpC;AAvBD,WAAiB,oBAAoB;IACnC,SAAgB,UAAU,CAAC,GAAyB,EAAE,eAAyB;QAC7E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,GAAG,CAA0B,CAAC,GAClF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,+BAAU,aAOzB,CAAA;IACY,yBAAI,GAAG,cAAc,CAAC;IACnC,SAAgB,sBAAsB,CACpC,GAAyB,EACzB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,QAAQ,CAAC,sBAAsB,CAAC,GAAG,CAA0B,CAAC,GACtE,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,2CAAsB,yBAYrC,CAAA;AACH,CAAC,EAvBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAuBpC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Autoscaling API
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
|
+
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
6
|
+
|
|
7
|
+
* OpenAPI spec version: 20181001
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
11
|
+
* Do not edit the class manually.
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
14
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
15
|
+
*/
|
|
16
|
+
export interface MetricBase {
|
|
17
|
+
/**
|
|
18
|
+
* The period of time that the condition defined in the alarm must persist before the alarm state
|
|
19
|
+
* changes from \"OK\" to \"FIRING\" or vice versa. For example, a value of 5 minutes means that the
|
|
20
|
+
* alarm must persist in breaching the condition for five minutes before the alarm updates its
|
|
21
|
+
* state to \"FIRING\"; likewise, the alarm must persist in not breaching the condition for five
|
|
22
|
+
* minutes before the alarm updates its state to \"OK.\"
|
|
23
|
+
* <p>
|
|
24
|
+
The duration is specified as a string in ISO 8601 format ({@code PT10M} for ten minutes or {@code PT1H}
|
|
25
|
+
* for one hour). Minimum: PT3M. Maximum: PT1H. Default: PT3M.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
"pendingDuration"?: string;
|
|
29
|
+
"metricSource": string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace MetricBase {
|
|
32
|
+
function getJsonObj(obj: MetricBase): object;
|
|
33
|
+
function getDeserializedJsonObj(obj: MetricBase): object;
|
|
34
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Autoscaling API
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
|
+
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
7
|
+
|
|
8
|
+
* OpenAPI spec version: 20181001
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OracleSDKGenerator.
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*
|
|
14
|
+
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved.
|
|
15
|
+
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
16
|
+
*/
|
|
17
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
18
|
+
if (k2 === undefined) k2 = k;
|
|
19
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.MetricBase = void 0;
|
|
38
|
+
const model = __importStar(require("../model"));
|
|
39
|
+
const common = require("oci-common");
|
|
40
|
+
var MetricBase;
|
|
41
|
+
(function (MetricBase) {
|
|
42
|
+
function getJsonObj(obj) {
|
|
43
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
44
|
+
if (obj && "metricSource" in obj && obj.metricSource) {
|
|
45
|
+
switch (obj.metricSource) {
|
|
46
|
+
case "CUSTOM_QUERY":
|
|
47
|
+
return model.CustomMetric.getJsonObj(jsonObj, true);
|
|
48
|
+
case "COMPUTE_AGENT":
|
|
49
|
+
return model.Metric.getJsonObj(jsonObj, true);
|
|
50
|
+
default:
|
|
51
|
+
if (common.LOG.logger)
|
|
52
|
+
common.LOG.logger.info(`Unknown value for: ${obj.metricSource}`);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return jsonObj;
|
|
56
|
+
}
|
|
57
|
+
MetricBase.getJsonObj = getJsonObj;
|
|
58
|
+
function getDeserializedJsonObj(obj) {
|
|
59
|
+
const jsonObj = Object.assign(Object.assign({}, obj), {});
|
|
60
|
+
if (obj && "metricSource" in obj && obj.metricSource) {
|
|
61
|
+
switch (obj.metricSource) {
|
|
62
|
+
case "CUSTOM_QUERY":
|
|
63
|
+
return model.CustomMetric.getDeserializedJsonObj(jsonObj, true);
|
|
64
|
+
case "COMPUTE_AGENT":
|
|
65
|
+
return model.Metric.getDeserializedJsonObj(jsonObj, true);
|
|
66
|
+
default:
|
|
67
|
+
if (common.LOG.logger)
|
|
68
|
+
common.LOG.logger.info(`Unknown value for: ${obj.metricSource}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
return jsonObj;
|
|
72
|
+
}
|
|
73
|
+
MetricBase.getDeserializedJsonObj = getDeserializedJsonObj;
|
|
74
|
+
})(MetricBase = exports.MetricBase || (exports.MetricBase = {}));
|
|
75
|
+
//# sourceMappingURL=metric-base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metric-base.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/metric-base.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAmBtC,IAAiB,UAAU,CAkC1B;AAlCD,WAAiB,UAAU;IACzB,SAAgB,UAAU,CAAC,GAAe;QACxC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,YAAY,CAAC,UAAU,CAA8B,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACpF,KAAK,eAAe;oBAClB,OAAO,KAAK,CAAC,MAAM,CAAC,UAAU,CAAwB,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACxE;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,qBAAU,aAczB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAe;QACpD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,cAAc,IAAI,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE;YACpD,QAAQ,GAAG,CAAC,YAAY,EAAE;gBACxB,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,YAAY,CAAC,sBAAsB,CACjB,OAAQ,EACrC,IAAI,CACL,CAAC;gBACJ,KAAK,eAAe;oBAClB,OAAO,KAAK,CAAC,MAAM,CAAC,sBAAsB,CAAwB,OAAQ,EAAE,IAAI,CAAC,CAAC;gBACpF;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,YAAY,EAAE,CAAC,CAAC;aAC3F;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAjBe,iCAAsB,yBAiBrC,CAAA;AACH,CAAC,EAlCgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAkC1B"}
|
package/lib/model/metric.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
|
@@ -18,12 +15,13 @@ Compute service, see [Overview of the Compute Service](https://docs.oracle.com/i
|
|
|
18
15
|
*/
|
|
19
16
|
import * as model from "../model";
|
|
20
17
|
/**
|
|
21
|
-
* Metric and threshold details for triggering an autoscaling action.
|
|
18
|
+
* Metric and threshold details for triggering an autoscaling action based on CPU or memory utilization.
|
|
22
19
|
*
|
|
23
20
|
*/
|
|
24
|
-
export interface Metric {
|
|
21
|
+
export interface Metric extends model.MetricBase {
|
|
25
22
|
"metricType": Metric.MetricType;
|
|
26
23
|
"threshold": model.Threshold;
|
|
24
|
+
"metricSource": string;
|
|
27
25
|
}
|
|
28
26
|
export declare namespace Metric {
|
|
29
27
|
enum MetricType {
|
|
@@ -35,6 +33,7 @@ export declare namespace Metric {
|
|
|
35
33
|
*/
|
|
36
34
|
UnknownValue = "UNKNOWN_VALUE"
|
|
37
35
|
}
|
|
38
|
-
function getJsonObj(obj: Metric): object;
|
|
39
|
-
|
|
36
|
+
function getJsonObj(obj: Metric, isParentJsonObj?: boolean): object;
|
|
37
|
+
const metricSource = "COMPUTE_AGENT";
|
|
38
|
+
function getDeserializedJsonObj(obj: Metric, isParentJsonObj?: boolean): object;
|
|
40
39
|
}
|
package/lib/model/metric.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -51,15 +48,16 @@ var Metric;
|
|
|
51
48
|
*/
|
|
52
49
|
MetricType["UnknownValue"] = "UNKNOWN_VALUE";
|
|
53
50
|
})(MetricType = Metric.MetricType || (Metric.MetricType = {}));
|
|
54
|
-
function getJsonObj(obj) {
|
|
55
|
-
const jsonObj = Object.assign(Object.assign({}, obj), {
|
|
51
|
+
function getJsonObj(obj, isParentJsonObj) {
|
|
52
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.MetricBase.getJsonObj(obj))), {
|
|
56
53
|
"threshold": obj.threshold ? model.Threshold.getJsonObj(obj.threshold) : undefined
|
|
57
54
|
});
|
|
58
55
|
return jsonObj;
|
|
59
56
|
}
|
|
60
57
|
Metric.getJsonObj = getJsonObj;
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
Metric.metricSource = "COMPUTE_AGENT";
|
|
59
|
+
function getDeserializedJsonObj(obj, isParentJsonObj) {
|
|
60
|
+
const jsonObj = Object.assign(Object.assign({}, (isParentJsonObj ? obj : model.MetricBase.getDeserializedJsonObj(obj))), {
|
|
63
61
|
"threshold": obj.threshold
|
|
64
62
|
? model.Threshold.getDeserializedJsonObj(obj.threshold)
|
|
65
63
|
: undefined
|
package/lib/model/metric.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metric.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/metric.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"metric.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/metric.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAclC,IAAiB,MAAM,CAkCtB;AAlCD,WAAiB,MAAM;IACrB,IAAY,UAQX;IARD,WAAY,UAAU;QACpB,gDAAkC,CAAA;QAClC,sDAAwC,CAAA;QACxC;;;WAGG;QACH,4CAA8B,CAAA;IAChC,CAAC,EARW,UAAU,GAAV,iBAAU,KAAV,iBAAU,QAQrB;IAED,SAAgB,UAAU,CAAC,GAAW,EAAE,eAAyB;QAC/D,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,GAAG,CAAY,CAAC,GACtE;YACD,WAAW,EAAE,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS;SACnF,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IATe,iBAAU,aASzB,CAAA;IACY,mBAAY,GAAG,eAAe,CAAC;IAC5C,SAAgB,sBAAsB,CAAC,GAAW,EAAE,eAAyB;QAC3E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,UAAU,CAAC,sBAAsB,CAAC,GAAG,CAAY,CAAC,GAClF;YACD,WAAW,EAAE,GAAG,CAAC,SAAS;gBACxB,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,sBAAsB,CAAC,GAAG,CAAC,SAAS,CAAC;gBACvD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAXe,6BAAsB,yBAWrC,CAAA;AACH,CAAC,EAlCgB,MAAM,GAAN,cAAM,KAAN,cAAM,QAkCtB"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
|
@@ -17,7 +14,7 @@ Compute service, see [Overview of the Compute Service](https://docs.oracle.com/i
|
|
|
17
14
|
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
|
18
15
|
*/
|
|
19
16
|
/**
|
|
20
|
-
* An action
|
|
17
|
+
* An action to run on a resource, such as stopping or starting an instance pool.
|
|
21
18
|
*/
|
|
22
19
|
export interface ResourceAction {
|
|
23
20
|
"actionType": string;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-action.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/resource-action.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"resource-action.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/resource-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAStC,IAAiB,cAAc,CAiC9B;AAjCD,WAAiB,cAAc;IAC7B,SAAgB,UAAU,CAAC,GAAmB;QAC5C,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,mBAAmB,CAAC,UAAU,CACL,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,yBAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAmB;QACxD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,YAAY,IAAI,GAAG,IAAI,GAAG,CAAC,UAAU,EAAE;YAChD,QAAQ,GAAG,CAAC,UAAU,EAAE;gBACtB,KAAK,OAAO;oBACV,OAAO,KAAK,CAAC,mBAAmB,CAAC,sBAAsB,CACjB,OAAQ,EAC5C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC;aACzF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,qCAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAiC9B"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
|
@@ -18,7 +15,7 @@ Compute service, see [Overview of the Compute Service](https://docs.oracle.com/i
|
|
|
18
15
|
*/
|
|
19
16
|
import * as model from "../model";
|
|
20
17
|
/**
|
|
21
|
-
*
|
|
18
|
+
* An action that starts, stops, or resets a resource.
|
|
22
19
|
*/
|
|
23
20
|
export interface ResourcePowerAction extends model.ResourceAction {
|
|
24
21
|
"action": ResourcePowerAction.Action;
|
|
@@ -26,6 +23,7 @@ export interface ResourcePowerAction extends model.ResourceAction {
|
|
|
26
23
|
}
|
|
27
24
|
export declare namespace ResourcePowerAction {
|
|
28
25
|
enum Action {
|
|
26
|
+
Softstop = "SOFTSTOP",
|
|
29
27
|
Stop = "STOP",
|
|
30
28
|
Start = "START",
|
|
31
29
|
Softreset = "SOFTRESET",
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -43,6 +40,7 @@ var ResourcePowerAction;
|
|
|
43
40
|
(function (ResourcePowerAction) {
|
|
44
41
|
let Action;
|
|
45
42
|
(function (Action) {
|
|
43
|
+
Action["Softstop"] = "SOFTSTOP";
|
|
46
44
|
Action["Stop"] = "STOP";
|
|
47
45
|
Action["Start"] = "START";
|
|
48
46
|
Action["Softreset"] = "SOFTRESET";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-power-action.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/resource-power-action.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"resource-power-action.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/resource-power-action.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAYlC,IAAiB,mBAAmB,CAoCnC;AApCD,WAAiB,mBAAmB;IAClC,IAAY,MAWX;IAXD,WAAY,MAAM;QAChB,+BAAqB,CAAA;QACrB,uBAAa,CAAA;QACb,yBAAe,CAAA;QACf,iCAAuB,CAAA;QACvB,yBAAe,CAAA;QACf;;;WAGG;QACH,wCAA8B,CAAA;IAChC,CAAC,EAXW,MAAM,GAAN,0BAAM,KAAN,0BAAM,QAWjB;IAED,SAAgB,UAAU,CAAC,GAAwB,EAAE,eAAyB;QAC5E,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAyB,CAAC,GACvF,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAPe,8BAAU,aAOzB,CAAA;IACY,8BAAU,GAAG,OAAO,CAAC;IAClC,SAAgB,sBAAsB,CACpC,GAAwB,EACxB,eAAyB;QAEzB,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAyB,CAAC,GAC3E,EAAE,CACN,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAZe,0CAAsB,yBAYrC,CAAA;AACH,CAAC,EApCgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAoCnC"}
|
package/lib/model/resource.d.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
package/lib/model/resource.js
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/resource.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"resource.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/resource.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAClC,qCAAsC;AAkBtC,IAAiB,QAAQ,CAiCxB;AAjCD,WAAiB,QAAQ;IACvB,SAAgB,UAAU,CAAC,GAAa;QACtC,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,oBAAoB,CAAC,UAAU,CACL,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,mBAAU,aAezB,CAAA;IACD,SAAgB,sBAAsB,CAAC,GAAa;QAClD,MAAM,OAAO,mCAAQ,GAAG,GAAK,EAAE,CAAE,CAAC;QAElC,IAAI,GAAG,IAAI,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,IAAI,EAAE;YACpC,QAAQ,GAAG,CAAC,IAAI,EAAE;gBAChB,KAAK,cAAc;oBACjB,OAAO,KAAK,CAAC,oBAAoB,CAAC,sBAAsB,CACjB,OAAQ,EAC7C,IAAI,CACL,CAAC;gBACJ;oBACE,IAAI,MAAM,CAAC,GAAG,CAAC,MAAM;wBAAE,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;aACnF;SACF;QACD,OAAO,OAAO,CAAC;IACjB,CAAC;IAfe,+BAAsB,yBAerC,CAAA;AACH,CAAC,EAjCgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAiCxB"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
3
|
* Autoscaling API
|
|
4
|
-
*
|
|
4
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
5
5
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
6
|
-
Compute service, see [
|
|
7
|
-
|
|
8
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
9
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
6
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
10
7
|
|
|
11
8
|
* OpenAPI spec version: 20181001
|
|
12
9
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scheduled-policy.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/scheduled-policy.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"scheduled-policy.js","sourceRoot":"","sources":["../../../../../lib/autoscaling/lib/model/scheduled-policy.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;;;;;;;;;;;;;;;;;;;AAEH,gDAAkC;AAgBlC,IAAiB,eAAe,CAkC/B;AAlCD,WAAiB,eAAe;IAC9B,SAAgB,UAAU,CAAC,GAAoB,EAAE,eAAyB;QACxE,MAAM,OAAO,mCACR,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAqB,CAAC,GACtF;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBAC3D,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,CAAC,cAAc,CAAC;gBACrD,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAde,0BAAU,aAczB,CAAA;IACY,0BAAU,GAAG,WAAW,CAAC;IACtC,SAAgB,sBAAsB,CAAC,GAAoB,EAAE,eAAyB;QACpF,MAAM,OAAO,mCACR,CAAC,eAAe;YACjB,CAAC,CAAC,GAAG;YACL,CAAC,CAAE,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAqB,CAAC,GAC1E;YACD,mBAAmB,EAAE,GAAG,CAAC,iBAAiB;gBACxC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,GAAG,CAAC,iBAAiB,CAAC;gBACvE,CAAC,CAAC,SAAS;YACb,gBAAgB,EAAE,GAAG,CAAC,cAAc;gBAClC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,sBAAsB,CAAC,GAAG,CAAC,cAAc,CAAC;gBACjE,CAAC,CAAC,SAAS;SACd,CACF,CAAC;QAEF,OAAO,OAAO,CAAC;IACjB,CAAC;IAhBe,sCAAsB,yBAgBrC,CAAA;AACH,CAAC,EAlCgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAkC/B"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Autoscaling API
|
|
3
|
-
*
|
|
3
|
+
* Use the Autoscaling API to dynamically scale compute resources to meet application requirements. For more information about
|
|
4
4
|
autoscaling, see [Autoscaling](https://docs.oracle.com/iaas/Content/Compute/Tasks/autoscalinginstancepools.htm). For information about the
|
|
5
|
-
Compute service, see [
|
|
6
|
-
|
|
7
|
-
**Note:** Autoscaling is not available in US Government Cloud tenancies. For more information, see
|
|
8
|
-
[Oracle Cloud Infrastructure US Government Cloud](https://docs.oracle.com/iaas/Content/General/Concepts/govoverview.htm).
|
|
5
|
+
Compute service, see [Compute](https://docs.oracle.com/iaas/Content/Compute/home.htm).
|
|
9
6
|
|
|
10
7
|
* OpenAPI spec version: 20181001
|
|
11
8
|
*
|