oci-opsi 2.96.0 → 2.97.1
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/lib/client.d.ts +10 -0
- package/lib/client.js +73 -0
- package/lib/client.js.map +1 -1
- package/lib/model/host-configuration-metric-group.js +4 -0
- package/lib/model/host-configuration-metric-group.js.map +1 -1
- package/lib/model/host-containers.d.ts +9 -1
- package/lib/model/host-containers.js +2 -2
- package/lib/model/host-containers.js.map +1 -1
- package/lib/model/host-insight-resource-statistics-aggregation.d.ts +1 -1
- package/lib/model/host-insight-resource-statistics-aggregation.js.map +1 -1
- package/lib/model/host-io-statistics.d.ts +30 -0
- package/lib/model/host-io-statistics.js +57 -0
- package/lib/model/host-io-statistics.js.map +1 -0
- package/lib/model/host-performance-metric-group.js +0 -4
- package/lib/model/host-performance-metric-group.js.map +1 -1
- package/lib/model/host-resource-statistics.js +4 -0
- package/lib/model/host-resource-statistics.js.map +1 -1
- package/lib/model/index.d.ts +8 -0
- package/lib/model/index.js +16 -8
- package/lib/model/index.js.map +1 -1
- package/lib/model/io-usage-trend-aggregation.d.ts +33 -0
- package/lib/model/io-usage-trend-aggregation.js +64 -0
- package/lib/model/io-usage-trend-aggregation.js.map +1 -0
- package/lib/model/io-usage-trend.d.ts +48 -0
- package/lib/model/io-usage-trend.js +32 -0
- package/lib/model/io-usage-trend.js.map +1 -0
- package/lib/model/summarize-host-insight-host-recommendation-aggregation.d.ts +1 -0
- package/lib/model/summarize-host-insight-host-recommendation-aggregation.js +1 -0
- package/lib/model/summarize-host-insight-host-recommendation-aggregation.js.map +1 -1
- package/lib/model/summarize-host-insight-io-usage-trend-aggregation-collection.d.ts +42 -0
- package/lib/model/summarize-host-insight-io-usage-trend-aggregation-collection.js +64 -0
- package/lib/model/summarize-host-insight-io-usage-trend-aggregation-collection.js.map +1 -0
- package/lib/model/summarize-host-insight-resource-capacity-trend-aggregation-collection.d.ts +1 -0
- package/lib/model/summarize-host-insight-resource-capacity-trend-aggregation-collection.js +1 -0
- package/lib/model/summarize-host-insight-resource-capacity-trend-aggregation-collection.js.map +1 -1
- package/lib/model/summarize-host-insight-resource-forecast-trend-aggregation.d.ts +1 -0
- package/lib/model/summarize-host-insight-resource-forecast-trend-aggregation.js +1 -0
- package/lib/model/summarize-host-insight-resource-forecast-trend-aggregation.js.map +1 -1
- package/lib/model/summarize-host-insight-resource-statistics-aggregation-collection.d.ts +1 -0
- package/lib/model/summarize-host-insight-resource-statistics-aggregation-collection.js +1 -0
- package/lib/model/summarize-host-insight-resource-statistics-aggregation-collection.js.map +1 -1
- package/lib/model/summarize-host-insight-resource-usage-aggregation.d.ts +1 -0
- package/lib/model/summarize-host-insight-resource-usage-aggregation.js +1 -0
- package/lib/model/summarize-host-insight-resource-usage-aggregation.js.map +1 -1
- package/lib/model/summarize-host-insight-resource-usage-trend-aggregation-collection.d.ts +1 -0
- package/lib/model/summarize-host-insight-resource-usage-trend-aggregation-collection.js +1 -0
- package/lib/model/summarize-host-insight-resource-usage-trend-aggregation-collection.js.map +1 -1
- package/lib/model/summarize-host-insight-resource-utilization-insight-aggregation.d.ts +1 -0
- package/lib/model/summarize-host-insight-resource-utilization-insight-aggregation.js +1 -0
- package/lib/model/summarize-host-insight-resource-utilization-insight-aggregation.js.map +1 -1
- package/lib/request/index.d.ts +2 -0
- package/lib/request/index.js +3 -1
- package/lib/request/index.js.map +1 -1
- package/lib/request/summarize-host-insight-io-usage-trend-request.d.ts +94 -0
- package/lib/request/summarize-host-insight-io-usage-trend-request.js +24 -0
- package/lib/request/summarize-host-insight-io-usage-trend-request.js.map +1 -0
- package/lib/response/index.d.ts +2 -0
- package/lib/response/summarize-host-insight-io-usage-trend-response.d.ts +32 -0
- package/lib/response/summarize-host-insight-io-usage-trend-response.js +15 -0
- package/lib/response/summarize-host-insight-io-usage-trend-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -1650,6 +1650,16 @@ export declare class OperationsInsightsClient {
|
|
|
1650
1650
|
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/opsi/SummarizeHostInsightHostRecommendation.ts.html |here} to see how to use SummarizeHostInsightHostRecommendation API.
|
|
1651
1651
|
*/
|
|
1652
1652
|
summarizeHostInsightHostRecommendation(summarizeHostInsightHostRecommendationRequest: requests.SummarizeHostInsightHostRecommendationRequest): Promise<responses.SummarizeHostInsightHostRecommendationResponse>;
|
|
1653
|
+
/**
|
|
1654
|
+
* Returns response with usage time series data with breakdown by IO interface for the time period specified.
|
|
1655
|
+
*
|
|
1656
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
1657
|
+
* @param SummarizeHostInsightIoUsageTrendRequest
|
|
1658
|
+
* @return SummarizeHostInsightIoUsageTrendResponse
|
|
1659
|
+
* @throws OciError when an error occurs
|
|
1660
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/opsi/SummarizeHostInsightIoUsageTrend.ts.html |here} to see how to use SummarizeHostInsightIoUsageTrend API.
|
|
1661
|
+
*/
|
|
1662
|
+
summarizeHostInsightIoUsageTrend(summarizeHostInsightIoUsageTrendRequest: requests.SummarizeHostInsightIoUsageTrendRequest): Promise<responses.SummarizeHostInsightIoUsageTrendResponse>;
|
|
1653
1663
|
/**
|
|
1654
1664
|
* Returns response with usage time series data with breakdown by network interface for the time period specified.
|
|
1655
1665
|
*
|
package/lib/client.js
CHANGED
|
@@ -11135,6 +11135,79 @@ class OperationsInsightsClient {
|
|
|
11135
11135
|
}
|
|
11136
11136
|
});
|
|
11137
11137
|
}
|
|
11138
|
+
/**
|
|
11139
|
+
* Returns response with usage time series data with breakdown by IO interface for the time period specified.
|
|
11140
|
+
*
|
|
11141
|
+
* This operation uses {@link common.OciSdkDefaultRetryConfiguration} by default if no retry configuration is defined by the user.
|
|
11142
|
+
* @param SummarizeHostInsightIoUsageTrendRequest
|
|
11143
|
+
* @return SummarizeHostInsightIoUsageTrendResponse
|
|
11144
|
+
* @throws OciError when an error occurs
|
|
11145
|
+
* @example Click {@link https://docs.cloud.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/opsi/SummarizeHostInsightIoUsageTrend.ts.html |here} to see how to use SummarizeHostInsightIoUsageTrend API.
|
|
11146
|
+
*/
|
|
11147
|
+
summarizeHostInsightIoUsageTrend(summarizeHostInsightIoUsageTrendRequest) {
|
|
11148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11149
|
+
if (this.logger)
|
|
11150
|
+
this.logger.debug("Calling operation OperationsInsightsClient#summarizeHostInsightIoUsageTrend.");
|
|
11151
|
+
const operationName = "summarizeHostInsightIoUsageTrend";
|
|
11152
|
+
const apiReferenceLink = "";
|
|
11153
|
+
const pathParams = {};
|
|
11154
|
+
const queryParams = {
|
|
11155
|
+
"compartmentId": summarizeHostInsightIoUsageTrendRequest.compartmentId,
|
|
11156
|
+
"id": summarizeHostInsightIoUsageTrendRequest.id,
|
|
11157
|
+
"analysisTimeInterval": summarizeHostInsightIoUsageTrendRequest.analysisTimeInterval,
|
|
11158
|
+
"timeIntervalStart": summarizeHostInsightIoUsageTrendRequest.timeIntervalStart,
|
|
11159
|
+
"timeIntervalEnd": summarizeHostInsightIoUsageTrendRequest.timeIntervalEnd,
|
|
11160
|
+
"hostId": summarizeHostInsightIoUsageTrendRequest.hostId,
|
|
11161
|
+
"page": summarizeHostInsightIoUsageTrendRequest.page,
|
|
11162
|
+
"limit": summarizeHostInsightIoUsageTrendRequest.limit,
|
|
11163
|
+
"statistic": summarizeHostInsightIoUsageTrendRequest.statistic,
|
|
11164
|
+
"status": summarizeHostInsightIoUsageTrendRequest.status
|
|
11165
|
+
};
|
|
11166
|
+
let headerParams = {
|
|
11167
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11168
|
+
"opc-request-id": summarizeHostInsightIoUsageTrendRequest.opcRequestId
|
|
11169
|
+
};
|
|
11170
|
+
const specRetryConfiguration = common.OciSdkDefaultRetryConfiguration;
|
|
11171
|
+
const retrier = oci_common_1.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, summarizeHostInsightIoUsageTrendRequest.retryConfiguration, specRetryConfiguration);
|
|
11172
|
+
if (this.logger)
|
|
11173
|
+
retrier.logger = this.logger;
|
|
11174
|
+
const request = yield oci_common_1.composeRequest({
|
|
11175
|
+
baseEndpoint: this._endpoint,
|
|
11176
|
+
defaultHeaders: this._defaultHeaders,
|
|
11177
|
+
path: "/hostInsights/ioUsageTrend",
|
|
11178
|
+
method: "GET",
|
|
11179
|
+
pathParams: pathParams,
|
|
11180
|
+
headerParams: headerParams,
|
|
11181
|
+
queryParams: queryParams
|
|
11182
|
+
});
|
|
11183
|
+
try {
|
|
11184
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11185
|
+
const sdkResponse = oci_common_1.composeResponse({
|
|
11186
|
+
responseObject: {},
|
|
11187
|
+
body: yield response.json(),
|
|
11188
|
+
bodyKey: "summarizeHostInsightIoUsageTrendAggregationCollection",
|
|
11189
|
+
bodyModel: model.SummarizeHostInsightIoUsageTrendAggregationCollection,
|
|
11190
|
+
type: "model.SummarizeHostInsightIoUsageTrendAggregationCollection",
|
|
11191
|
+
responseHeaders: [
|
|
11192
|
+
{
|
|
11193
|
+
value: response.headers.get("opc-request-id"),
|
|
11194
|
+
key: "opcRequestId",
|
|
11195
|
+
dataType: "string"
|
|
11196
|
+
},
|
|
11197
|
+
{
|
|
11198
|
+
value: response.headers.get("opc-next-page"),
|
|
11199
|
+
key: "opcNextPage",
|
|
11200
|
+
dataType: "string"
|
|
11201
|
+
}
|
|
11202
|
+
]
|
|
11203
|
+
});
|
|
11204
|
+
return sdkResponse;
|
|
11205
|
+
}
|
|
11206
|
+
catch (err) {
|
|
11207
|
+
throw err;
|
|
11208
|
+
}
|
|
11209
|
+
});
|
|
11210
|
+
}
|
|
11138
11211
|
/**
|
|
11139
11212
|
* Returns response with usage time series data with breakdown by network interface for the time period specified.
|
|
11140
11213
|
*
|