oci-database 2.107.3 → 2.109.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/lib/client.d.ts +9 -0
- package/lib/client.js +80 -3
- package/lib/client.js.map +1 -1
- package/lib/model/index.d.ts +4 -0
- package/lib/model/index.js +7 -3
- package/lib/model/index.js.map +1 -1
- package/lib/model/system-version-minor-version-collection.d.ts +27 -0
- package/lib/model/system-version-minor-version-collection.js +62 -0
- package/lib/model/system-version-minor-version-collection.js.map +1 -0
- package/lib/model/system-version-minor-version-summary.d.ts +27 -0
- package/lib/model/system-version-minor-version-summary.js +30 -0
- package/lib/model/system-version-minor-version-summary.js.map +1 -0
- package/lib/request/create-cloud-exadata-infrastructure-request.d.ts +6 -0
- package/lib/request/create-cloud-vm-cluster-request.d.ts +6 -0
- 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/list-gi-versions-request.d.ts +4 -0
- package/lib/request/list-gi-versions-request.js.map +1 -1
- package/lib/request/list-system-version-minor-versions-request.d.ts +65 -0
- package/lib/request/list-system-version-minor-versions-request.js +24 -0
- package/lib/request/list-system-version-minor-versions-request.js.map +1 -0
- package/lib/request/list-system-versions-request.d.ts +12 -4
- package/lib/request/list-system-versions-request.js.map +1 -1
- package/lib/response/index.d.ts +2 -0
- package/lib/response/list-system-version-minor-versions-response.d.ts +33 -0
- package/lib/response/list-system-version-minor-versions-response.js +15 -0
- package/lib/response/list-system-version-minor-versions-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -5211,6 +5211,15 @@ export declare class DatabaseClient {
|
|
|
5211
5211
|
* @param request a request which can be sent to the service operation
|
|
5212
5212
|
*/
|
|
5213
5213
|
listSchedulingWindowsResponseIterator(request: requests.ListSchedulingWindowsRequest): AsyncIterableIterator<responses.ListSchedulingWindowsResponse>;
|
|
5214
|
+
/**
|
|
5215
|
+
* Retrieves a list of supported minor versions for the specified Exadata System Software major version. You must provide either a `shape` or `resourceId` value.
|
|
5216
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5217
|
+
* @param ListSystemVersionMinorVersionsRequest
|
|
5218
|
+
* @return ListSystemVersionMinorVersionsResponse
|
|
5219
|
+
* @throws OciError when an error occurs
|
|
5220
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListSystemVersionMinorVersions.ts.html |here} to see how to use ListSystemVersionMinorVersions API.
|
|
5221
|
+
*/
|
|
5222
|
+
listSystemVersionMinorVersions(listSystemVersionMinorVersionsRequest: requests.ListSystemVersionMinorVersionsRequest): Promise<responses.ListSystemVersionMinorVersionsResponse>;
|
|
5214
5223
|
/**
|
|
5215
5224
|
* Gets a list of supported Exadata system versions for a given shape and GI version.
|
|
5216
5225
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
package/lib/client.js
CHANGED
|
@@ -4365,7 +4365,8 @@ class DatabaseClient {
|
|
|
4365
4365
|
let headerParams = {
|
|
4366
4366
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4367
4367
|
"opc-retry-token": createCloudExadataInfrastructureRequest.opcRetryToken,
|
|
4368
|
-
"opc-request-id": createCloudExadataInfrastructureRequest.opcRequestId
|
|
4368
|
+
"opc-request-id": createCloudExadataInfrastructureRequest.opcRequestId,
|
|
4369
|
+
"opc-dry-run": createCloudExadataInfrastructureRequest.opcDryRun
|
|
4369
4370
|
};
|
|
4370
4371
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4371
4372
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCloudExadataInfrastructureRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -4434,7 +4435,8 @@ class DatabaseClient {
|
|
|
4434
4435
|
let headerParams = {
|
|
4435
4436
|
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4436
4437
|
"opc-retry-token": createCloudVmClusterRequest.opcRetryToken,
|
|
4437
|
-
"opc-request-id": createCloudVmClusterRequest.opcRequestId
|
|
4438
|
+
"opc-request-id": createCloudVmClusterRequest.opcRequestId,
|
|
4439
|
+
"opc-dry-run": createCloudVmClusterRequest.opcDryRun
|
|
4438
4440
|
};
|
|
4439
4441
|
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4440
4442
|
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createCloudVmClusterRequest.retryConfiguration, specRetryConfiguration);
|
|
@@ -21893,7 +21895,8 @@ class DatabaseClient {
|
|
|
21893
21895
|
"page": listGiVersionsRequest.page,
|
|
21894
21896
|
"sortOrder": listGiVersionsRequest.sortOrder,
|
|
21895
21897
|
"shape": listGiVersionsRequest.shape,
|
|
21896
|
-
"availabilityDomain": listGiVersionsRequest.availabilityDomain
|
|
21898
|
+
"availabilityDomain": listGiVersionsRequest.availabilityDomain,
|
|
21899
|
+
"resourceId": listGiVersionsRequest.resourceId
|
|
21897
21900
|
};
|
|
21898
21901
|
let headerParams = {
|
|
21899
21902
|
"Content-Type": common.Constants.APPLICATION_JSON
|
|
@@ -23146,6 +23149,78 @@ class DatabaseClient {
|
|
|
23146
23149
|
listSchedulingWindowsResponseIterator(request) {
|
|
23147
23150
|
return oci_common_1.paginateResponses(request, req => this.listSchedulingWindows(req));
|
|
23148
23151
|
}
|
|
23152
|
+
/**
|
|
23153
|
+
* Retrieves a list of supported minor versions for the specified Exadata System Software major version. You must provide either a `shape` or `resourceId` value.
|
|
23154
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
23155
|
+
* @param ListSystemVersionMinorVersionsRequest
|
|
23156
|
+
* @return ListSystemVersionMinorVersionsResponse
|
|
23157
|
+
* @throws OciError when an error occurs
|
|
23158
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListSystemVersionMinorVersions.ts.html |here} to see how to use ListSystemVersionMinorVersions API.
|
|
23159
|
+
*/
|
|
23160
|
+
listSystemVersionMinorVersions(listSystemVersionMinorVersionsRequest) {
|
|
23161
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23162
|
+
if (this.logger)
|
|
23163
|
+
this.logger.debug("Calling operation DatabaseClient#listSystemVersionMinorVersions.");
|
|
23164
|
+
const operationName = "listSystemVersionMinorVersions";
|
|
23165
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/SystemVersionMinorVersionCollection/ListSystemVersionMinorVersions";
|
|
23166
|
+
const pathParams = {
|
|
23167
|
+
"{majorVersion}": listSystemVersionMinorVersionsRequest.majorVersion
|
|
23168
|
+
};
|
|
23169
|
+
const queryParams = {
|
|
23170
|
+
"compartmentId": listSystemVersionMinorVersionsRequest.compartmentId,
|
|
23171
|
+
"limit": listSystemVersionMinorVersionsRequest.limit,
|
|
23172
|
+
"page": listSystemVersionMinorVersionsRequest.page,
|
|
23173
|
+
"sortOrder": listSystemVersionMinorVersionsRequest.sortOrder,
|
|
23174
|
+
"giVersion": listSystemVersionMinorVersionsRequest.giVersion,
|
|
23175
|
+
"shape": listSystemVersionMinorVersionsRequest.shape,
|
|
23176
|
+
"resourceId": listSystemVersionMinorVersionsRequest.resourceId,
|
|
23177
|
+
"isLatest": listSystemVersionMinorVersionsRequest.isLatest
|
|
23178
|
+
};
|
|
23179
|
+
let headerParams = {
|
|
23180
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
23181
|
+
"opc-request-id": listSystemVersionMinorVersionsRequest.opcRequestId
|
|
23182
|
+
};
|
|
23183
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
23184
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listSystemVersionMinorVersionsRequest.retryConfiguration, specRetryConfiguration);
|
|
23185
|
+
if (this.logger)
|
|
23186
|
+
retrier.logger = this.logger;
|
|
23187
|
+
const request = yield oci_common_2.composeRequest({
|
|
23188
|
+
baseEndpoint: this._endpoint,
|
|
23189
|
+
defaultHeaders: this._defaultHeaders,
|
|
23190
|
+
path: "/systemVersions/{majorVersion}/minorVersions",
|
|
23191
|
+
method: "GET",
|
|
23192
|
+
pathParams: pathParams,
|
|
23193
|
+
headerParams: headerParams,
|
|
23194
|
+
queryParams: queryParams
|
|
23195
|
+
});
|
|
23196
|
+
try {
|
|
23197
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
23198
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
23199
|
+
responseObject: {},
|
|
23200
|
+
body: yield response.json(),
|
|
23201
|
+
bodyKey: "systemVersionMinorVersionCollection",
|
|
23202
|
+
bodyModel: model.SystemVersionMinorVersionCollection,
|
|
23203
|
+
type: "model.SystemVersionMinorVersionCollection",
|
|
23204
|
+
responseHeaders: [
|
|
23205
|
+
{
|
|
23206
|
+
value: response.headers.get("opc-request-id"),
|
|
23207
|
+
key: "opcRequestId",
|
|
23208
|
+
dataType: "string"
|
|
23209
|
+
},
|
|
23210
|
+
{
|
|
23211
|
+
value: response.headers.get("opc-next-page"),
|
|
23212
|
+
key: "opcNextPage",
|
|
23213
|
+
dataType: "string"
|
|
23214
|
+
}
|
|
23215
|
+
]
|
|
23216
|
+
});
|
|
23217
|
+
return sdkResponse;
|
|
23218
|
+
}
|
|
23219
|
+
catch (err) {
|
|
23220
|
+
throw err;
|
|
23221
|
+
}
|
|
23222
|
+
});
|
|
23223
|
+
}
|
|
23149
23224
|
/**
|
|
23150
23225
|
* Gets a list of supported Exadata system versions for a given shape and GI version.
|
|
23151
23226
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -23167,6 +23242,8 @@ class DatabaseClient {
|
|
|
23167
23242
|
"page": listSystemVersionsRequest.page,
|
|
23168
23243
|
"sortOrder": listSystemVersionsRequest.sortOrder,
|
|
23169
23244
|
"shape": listSystemVersionsRequest.shape,
|
|
23245
|
+
"isLatest": listSystemVersionsRequest.isLatest,
|
|
23246
|
+
"resourceId": listSystemVersionsRequest.resourceId,
|
|
23170
23247
|
"giVersion": listSystemVersionsRequest.giVersion
|
|
23171
23248
|
};
|
|
23172
23249
|
let headerParams = {
|