oci-database 2.124.0 → 2.125.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 +70 -0
- package/lib/client.js +479 -0
- package/lib/client.js.map +1 -1
- package/lib/database-waiter.d.ts +58 -0
- package/lib/database-waiter.js +117 -0
- package/lib/database-waiter.js.map +1 -1
- package/lib/model/advanced-cluster-file-system-collection.d.ts +27 -0
- package/lib/model/advanced-cluster-file-system-collection.js +62 -0
- package/lib/model/advanced-cluster-file-system-collection.js.map +1 -0
- package/lib/model/advanced-cluster-file-system-summary.d.ts +105 -0
- package/lib/model/advanced-cluster-file-system-summary.js +30 -0
- package/lib/model/advanced-cluster-file-system-summary.js.map +1 -0
- package/lib/model/advanced-cluster-file-system.d.ts +119 -0
- package/lib/model/advanced-cluster-file-system.js +44 -0
- package/lib/model/advanced-cluster-file-system.js.map +1 -0
- package/lib/model/cloud-vm-cluster-summary.d.ts +26 -0
- package/lib/model/cloud-vm-cluster-summary.js +20 -0
- package/lib/model/cloud-vm-cluster-summary.js.map +1 -1
- package/lib/model/cloud-vm-cluster.d.ts +26 -0
- package/lib/model/cloud-vm-cluster.js +20 -0
- package/lib/model/cloud-vm-cluster.js.map +1 -1
- package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.d.ts +4 -0
- package/lib/model/configure-exascale-cloud-exadata-infrastructure-details.js.map +1 -1
- package/lib/model/configure-exascale-exadata-infrastructure-details.d.ts +4 -0
- package/lib/model/configure-exascale-exadata-infrastructure-details.js.map +1 -1
- package/lib/model/create-advanced-cluster-file-system-details.d.ts +59 -0
- package/lib/model/create-advanced-cluster-file-system-details.js +30 -0
- package/lib/model/create-advanced-cluster-file-system-details.js.map +1 -0
- package/lib/model/create-cloud-vm-cluster-details.d.ts +16 -0
- package/lib/model/create-cloud-vm-cluster-details.js +10 -0
- package/lib/model/create-cloud-vm-cluster-details.js.map +1 -1
- package/lib/model/create-vm-cluster-details.d.ts +16 -0
- package/lib/model/create-vm-cluster-details.js +10 -0
- package/lib/model/create-vm-cluster-details.js.map +1 -1
- package/lib/model/exascale-config-details.d.ts +8 -0
- package/lib/model/exascale-config-details.js.map +1 -1
- package/lib/model/index.d.ts +10 -0
- package/lib/model/index.js +21 -11
- package/lib/model/index.js.map +1 -1
- package/lib/model/update-advanced-cluster-file-system-details.d.ts +51 -0
- package/lib/model/update-advanced-cluster-file-system-details.js +30 -0
- package/lib/model/update-advanced-cluster-file-system-details.js.map +1 -0
- package/lib/model/update-cloud-vm-cluster-details.d.ts +8 -0
- package/lib/model/update-cloud-vm-cluster-details.js +5 -0
- package/lib/model/update-cloud-vm-cluster-details.js.map +1 -1
- package/lib/model/update-vm-cluster-details.d.ts +8 -0
- package/lib/model/update-vm-cluster-details.js +5 -0
- package/lib/model/update-vm-cluster-details.js.map +1 -1
- package/lib/model/vm-cluster-summary.d.ts +26 -0
- package/lib/model/vm-cluster-summary.js +20 -0
- package/lib/model/vm-cluster-summary.js.map +1 -1
- package/lib/model/vm-cluster.d.ts +26 -0
- package/lib/model/vm-cluster.js +20 -0
- package/lib/model/vm-cluster.js.map +1 -1
- package/lib/request/create-advanced-cluster-file-system-request.d.ts +37 -0
- package/lib/request/create-advanced-cluster-file-system-request.js +15 -0
- package/lib/request/create-advanced-cluster-file-system-request.js.map +1 -0
- package/lib/request/delete-advanced-cluster-file-system-request.d.ts +34 -0
- package/lib/request/delete-advanced-cluster-file-system-request.js +15 -0
- package/lib/request/delete-advanced-cluster-file-system-request.js.map +1 -0
- package/lib/request/get-advanced-cluster-file-system-request.d.ts +27 -0
- package/lib/request/get-advanced-cluster-file-system-request.js +15 -0
- package/lib/request/get-advanced-cluster-file-system-request.js.map +1 -0
- package/lib/request/index.d.ts +14 -0
- package/lib/request/index.js +4 -2
- package/lib/request/index.js.map +1 -1
- package/lib/request/list-advanced-cluster-file-systems-request.d.ts +70 -0
- package/lib/request/list-advanced-cluster-file-systems-request.js +29 -0
- package/lib/request/list-advanced-cluster-file-systems-request.js.map +1 -0
- package/lib/request/mount-advanced-cluster-file-system-request.d.ts +43 -0
- package/lib/request/mount-advanced-cluster-file-system-request.js +15 -0
- package/lib/request/mount-advanced-cluster-file-system-request.js.map +1 -0
- package/lib/request/unmount-advanced-cluster-file-system-request.d.ts +43 -0
- package/lib/request/unmount-advanced-cluster-file-system-request.js +15 -0
- package/lib/request/unmount-advanced-cluster-file-system-request.js.map +1 -0
- package/lib/request/update-advanced-cluster-file-system-request.d.ts +39 -0
- package/lib/request/update-advanced-cluster-file-system-request.js +15 -0
- package/lib/request/update-advanced-cluster-file-system-request.js.map +1 -0
- package/lib/response/create-advanced-cluster-file-system-response.d.ts +34 -0
- package/lib/response/create-advanced-cluster-file-system-response.js +15 -0
- package/lib/response/create-advanced-cluster-file-system-response.js.map +1 -0
- package/lib/response/delete-advanced-cluster-file-system-response.d.ts +25 -0
- package/lib/response/delete-advanced-cluster-file-system-response.js +15 -0
- package/lib/response/delete-advanced-cluster-file-system-response.js.map +1 -0
- package/lib/response/get-advanced-cluster-file-system-response.d.ts +29 -0
- package/lib/response/get-advanced-cluster-file-system-response.js +15 -0
- package/lib/response/get-advanced-cluster-file-system-response.js.map +1 -0
- package/lib/response/index.d.ts +14 -0
- package/lib/response/list-advanced-cluster-file-systems-response.d.ts +33 -0
- package/lib/response/list-advanced-cluster-file-systems-response.js +15 -0
- package/lib/response/list-advanced-cluster-file-systems-response.js.map +1 -0
- package/lib/response/mount-advanced-cluster-file-system-response.d.ts +34 -0
- package/lib/response/mount-advanced-cluster-file-system-response.js +15 -0
- package/lib/response/mount-advanced-cluster-file-system-response.js.map +1 -0
- package/lib/response/unmount-advanced-cluster-file-system-response.d.ts +34 -0
- package/lib/response/unmount-advanced-cluster-file-system-response.js +15 -0
- package/lib/response/unmount-advanced-cluster-file-system-response.js.map +1 -0
- package/lib/response/update-advanced-cluster-file-system-response.d.ts +34 -0
- package/lib/response/update-advanced-cluster-file-system-response.js +15 -0
- package/lib/response/update-advanced-cluster-file-system-response.js.map +1 -0
- package/package.json +3 -3
package/lib/client.d.ts
CHANGED
|
@@ -693,6 +693,16 @@ export declare class DatabaseClient {
|
|
|
693
693
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ConvertToStandalone.ts.html |here} to see how to use ConvertToStandalone API.
|
|
694
694
|
*/
|
|
695
695
|
convertToStandalone(convertToStandaloneRequest: requests.ConvertToStandaloneRequest): Promise<responses.ConvertToStandaloneResponse>;
|
|
696
|
+
/**
|
|
697
|
+
* Creates an advanced cluster file system resource.
|
|
698
|
+
*
|
|
699
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
700
|
+
* @param CreateAdvancedClusterFileSystemRequest
|
|
701
|
+
* @return CreateAdvancedClusterFileSystemResponse
|
|
702
|
+
* @throws OciError when an error occurs
|
|
703
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateAdvancedClusterFileSystem.ts.html |here} to see how to use CreateAdvancedClusterFileSystem API.
|
|
704
|
+
*/
|
|
705
|
+
createAdvancedClusterFileSystem(createAdvancedClusterFileSystemRequest: requests.CreateAdvancedClusterFileSystemRequest): Promise<responses.CreateAdvancedClusterFileSystemResponse>;
|
|
696
706
|
/**
|
|
697
707
|
* Creates a new application virtual IP (VIP) address in the specified cloud VM cluster based on the request parameters you provide.
|
|
698
708
|
*
|
|
@@ -1123,6 +1133,16 @@ export declare class DatabaseClient {
|
|
|
1123
1133
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DbNodeAction.ts.html |here} to see how to use DbNodeAction API.
|
|
1124
1134
|
*/
|
|
1125
1135
|
dbNodeAction(dbNodeActionRequest: requests.DbNodeActionRequest): Promise<responses.DbNodeActionResponse>;
|
|
1136
|
+
/**
|
|
1137
|
+
* Deletes the advanced cluster file system.
|
|
1138
|
+
*
|
|
1139
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1140
|
+
* @param DeleteAdvancedClusterFileSystemRequest
|
|
1141
|
+
* @return DeleteAdvancedClusterFileSystemResponse
|
|
1142
|
+
* @throws OciError when an error occurs
|
|
1143
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteAdvancedClusterFileSystem.ts.html |here} to see how to use DeleteAdvancedClusterFileSystem API.
|
|
1144
|
+
*/
|
|
1145
|
+
deleteAdvancedClusterFileSystem(deleteAdvancedClusterFileSystemRequest: requests.DeleteAdvancedClusterFileSystemRequest): Promise<responses.DeleteAdvancedClusterFileSystemResponse>;
|
|
1126
1146
|
/**
|
|
1127
1147
|
* Deletes and deregisters the specified application virtual IP (VIP) address.
|
|
1128
1148
|
*
|
|
@@ -1885,6 +1905,16 @@ export declare class DatabaseClient {
|
|
|
1885
1905
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GenerateRecommendedVmClusterNetwork.ts.html |here} to see how to use GenerateRecommendedVmClusterNetwork API.
|
|
1886
1906
|
*/
|
|
1887
1907
|
generateRecommendedVmClusterNetwork(generateRecommendedVmClusterNetworkRequest: requests.GenerateRecommendedVmClusterNetworkRequest): Promise<responses.GenerateRecommendedVmClusterNetworkResponse>;
|
|
1908
|
+
/**
|
|
1909
|
+
* Gets information about the specified advanced cluster file systems.
|
|
1910
|
+
*
|
|
1911
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
1912
|
+
* @param GetAdvancedClusterFileSystemRequest
|
|
1913
|
+
* @return GetAdvancedClusterFileSystemResponse
|
|
1914
|
+
* @throws OciError when an error occurs
|
|
1915
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetAdvancedClusterFileSystem.ts.html |here} to see how to use GetAdvancedClusterFileSystem API.
|
|
1916
|
+
*/
|
|
1917
|
+
getAdvancedClusterFileSystem(getAdvancedClusterFileSystemRequest: requests.GetAdvancedClusterFileSystemRequest): Promise<responses.GetAdvancedClusterFileSystemResponse>;
|
|
1888
1918
|
/**
|
|
1889
1919
|
* Gets information about a specified application virtual IP (VIP) address.
|
|
1890
1920
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -2686,6 +2716,16 @@ export declare class DatabaseClient {
|
|
|
2686
2716
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/LaunchDbSystem.ts.html |here} to see how to use LaunchDbSystem API.
|
|
2687
2717
|
*/
|
|
2688
2718
|
launchDbSystem(launchDbSystemRequest: requests.LaunchDbSystemRequest): Promise<responses.LaunchDbSystemResponse>;
|
|
2719
|
+
/**
|
|
2720
|
+
* Lists the advanced cluster file system resources in the specified compartment.
|
|
2721
|
+
*
|
|
2722
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
2723
|
+
* @param ListAdvancedClusterFileSystemsRequest
|
|
2724
|
+
* @return ListAdvancedClusterFileSystemsResponse
|
|
2725
|
+
* @throws OciError when an error occurs
|
|
2726
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListAdvancedClusterFileSystems.ts.html |here} to see how to use ListAdvancedClusterFileSystems API.
|
|
2727
|
+
*/
|
|
2728
|
+
listAdvancedClusterFileSystems(listAdvancedClusterFileSystemsRequest: requests.ListAdvancedClusterFileSystemsRequest): Promise<responses.ListAdvancedClusterFileSystemsResponse>;
|
|
2689
2729
|
/**
|
|
2690
2730
|
* Gets a list of application virtual IP (VIP) addresses on a cloud VM cluster.
|
|
2691
2731
|
*
|
|
@@ -5875,6 +5915,16 @@ export declare class DatabaseClient {
|
|
|
5875
5915
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ModifyPluggableDatabaseManagement.ts.html |here} to see how to use ModifyPluggableDatabaseManagement API.
|
|
5876
5916
|
*/
|
|
5877
5917
|
modifyPluggableDatabaseManagement(modifyPluggableDatabaseManagementRequest: requests.ModifyPluggableDatabaseManagementRequest): Promise<responses.ModifyPluggableDatabaseManagementResponse>;
|
|
5918
|
+
/**
|
|
5919
|
+
* Mounts the advanced cluster file system to all the virtual machines within a vmcluster.
|
|
5920
|
+
*
|
|
5921
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
5922
|
+
* @param MountAdvancedClusterFileSystemRequest
|
|
5923
|
+
* @return MountAdvancedClusterFileSystemResponse
|
|
5924
|
+
* @throws OciError when an error occurs
|
|
5925
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/MountAdvancedClusterFileSystem.ts.html |here} to see how to use MountAdvancedClusterFileSystem API.
|
|
5926
|
+
*/
|
|
5927
|
+
mountAdvancedClusterFileSystem(mountAdvancedClusterFileSystemRequest: requests.MountAdvancedClusterFileSystemRequest): Promise<responses.MountAdvancedClusterFileSystemResponse>;
|
|
5878
5928
|
/**
|
|
5879
5929
|
* Mounts the snapshot for the provided dbNode.
|
|
5880
5930
|
*
|
|
@@ -6401,6 +6451,16 @@ export declare class DatabaseClient {
|
|
|
6401
6451
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/TerminateDbSystem.ts.html |here} to see how to use TerminateDbSystem API.
|
|
6402
6452
|
*/
|
|
6403
6453
|
terminateDbSystem(terminateDbSystemRequest: requests.TerminateDbSystemRequest): Promise<responses.TerminateDbSystemResponse>;
|
|
6454
|
+
/**
|
|
6455
|
+
* Unmounts the advanced cluster file system from all the virtual machines within a vmcluster.
|
|
6456
|
+
*
|
|
6457
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6458
|
+
* @param UnmountAdvancedClusterFileSystemRequest
|
|
6459
|
+
* @return UnmountAdvancedClusterFileSystemResponse
|
|
6460
|
+
* @throws OciError when an error occurs
|
|
6461
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnmountAdvancedClusterFileSystem.ts.html |here} to see how to use UnmountAdvancedClusterFileSystem API.
|
|
6462
|
+
*/
|
|
6463
|
+
unmountAdvancedClusterFileSystem(unmountAdvancedClusterFileSystemRequest: requests.UnmountAdvancedClusterFileSystemRequest): Promise<responses.UnmountAdvancedClusterFileSystemResponse>;
|
|
6404
6464
|
/**
|
|
6405
6465
|
* Unmounts the snapshot for the provided dbNode.
|
|
6406
6466
|
*
|
|
@@ -6431,6 +6491,16 @@ export declare class DatabaseClient {
|
|
|
6431
6491
|
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnregisterCloudVmClusterPkcs.ts.html |here} to see how to use UnregisterCloudVmClusterPkcs API.
|
|
6432
6492
|
*/
|
|
6433
6493
|
unregisterCloudVmClusterPkcs(unregisterCloudVmClusterPkcsRequest: requests.UnregisterCloudVmClusterPkcsRequest): Promise<responses.UnregisterCloudVmClusterPkcsResponse>;
|
|
6494
|
+
/**
|
|
6495
|
+
* Updates the advanced cluster file system resource.
|
|
6496
|
+
*
|
|
6497
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6498
|
+
* @param UpdateAdvancedClusterFileSystemRequest
|
|
6499
|
+
* @return UpdateAdvancedClusterFileSystemResponse
|
|
6500
|
+
* @throws OciError when an error occurs
|
|
6501
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UpdateAdvancedClusterFileSystem.ts.html |here} to see how to use UpdateAdvancedClusterFileSystem API.
|
|
6502
|
+
*/
|
|
6503
|
+
updateAdvancedClusterFileSystem(updateAdvancedClusterFileSystemRequest: requests.UpdateAdvancedClusterFileSystemRequest): Promise<responses.UpdateAdvancedClusterFileSystemResponse>;
|
|
6434
6504
|
/**
|
|
6435
6505
|
* Updates the properties of an Autonomous Container Database, such as display name, maintenance preference, backup retention, and tags.
|
|
6436
6506
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
package/lib/client.js
CHANGED
|
@@ -4003,6 +4003,75 @@ class DatabaseClient {
|
|
|
4003
4003
|
}
|
|
4004
4004
|
});
|
|
4005
4005
|
}
|
|
4006
|
+
/**
|
|
4007
|
+
* Creates an advanced cluster file system resource.
|
|
4008
|
+
*
|
|
4009
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
4010
|
+
* @param CreateAdvancedClusterFileSystemRequest
|
|
4011
|
+
* @return CreateAdvancedClusterFileSystemResponse
|
|
4012
|
+
* @throws OciError when an error occurs
|
|
4013
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/CreateAdvancedClusterFileSystem.ts.html |here} to see how to use CreateAdvancedClusterFileSystem API.
|
|
4014
|
+
*/
|
|
4015
|
+
createAdvancedClusterFileSystem(createAdvancedClusterFileSystemRequest) {
|
|
4016
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
4017
|
+
if (this.logger)
|
|
4018
|
+
this.logger.debug("Calling operation DatabaseClient#createAdvancedClusterFileSystem.");
|
|
4019
|
+
const operationName = "createAdvancedClusterFileSystem";
|
|
4020
|
+
const apiReferenceLink = "";
|
|
4021
|
+
const pathParams = {};
|
|
4022
|
+
const queryParams = {};
|
|
4023
|
+
let headerParams = {
|
|
4024
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
4025
|
+
"opc-retry-token": createAdvancedClusterFileSystemRequest.opcRetryToken,
|
|
4026
|
+
"opc-request-id": createAdvancedClusterFileSystemRequest.opcRequestId
|
|
4027
|
+
};
|
|
4028
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
4029
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, createAdvancedClusterFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
4030
|
+
if (this.logger)
|
|
4031
|
+
retrier.logger = this.logger;
|
|
4032
|
+
const request = yield oci_common_2.composeRequest({
|
|
4033
|
+
baseEndpoint: this._endpoint,
|
|
4034
|
+
defaultHeaders: this._defaultHeaders,
|
|
4035
|
+
path: "/advancedClusterFileSystems",
|
|
4036
|
+
method: "POST",
|
|
4037
|
+
bodyContent: common.ObjectSerializer.serialize(createAdvancedClusterFileSystemRequest.createAdvancedClusterFileSystemDetails, "CreateAdvancedClusterFileSystemDetails", model.CreateAdvancedClusterFileSystemDetails.getJsonObj),
|
|
4038
|
+
pathParams: pathParams,
|
|
4039
|
+
headerParams: headerParams,
|
|
4040
|
+
queryParams: queryParams
|
|
4041
|
+
});
|
|
4042
|
+
try {
|
|
4043
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
4044
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
4045
|
+
responseObject: {},
|
|
4046
|
+
body: yield response.json(),
|
|
4047
|
+
bodyKey: "advancedClusterFileSystem",
|
|
4048
|
+
bodyModel: model.AdvancedClusterFileSystem,
|
|
4049
|
+
type: "model.AdvancedClusterFileSystem",
|
|
4050
|
+
responseHeaders: [
|
|
4051
|
+
{
|
|
4052
|
+
value: response.headers.get("opc-work-request-id"),
|
|
4053
|
+
key: "opcWorkRequestId",
|
|
4054
|
+
dataType: "string"
|
|
4055
|
+
},
|
|
4056
|
+
{
|
|
4057
|
+
value: response.headers.get("etag"),
|
|
4058
|
+
key: "etag",
|
|
4059
|
+
dataType: "string"
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
value: response.headers.get("opc-request-id"),
|
|
4063
|
+
key: "opcRequestId",
|
|
4064
|
+
dataType: "string"
|
|
4065
|
+
}
|
|
4066
|
+
]
|
|
4067
|
+
});
|
|
4068
|
+
return sdkResponse;
|
|
4069
|
+
}
|
|
4070
|
+
catch (err) {
|
|
4071
|
+
throw err;
|
|
4072
|
+
}
|
|
4073
|
+
});
|
|
4074
|
+
}
|
|
4006
4075
|
/**
|
|
4007
4076
|
* Creates a new application virtual IP (VIP) address in the specified cloud VM cluster based on the request parameters you provide.
|
|
4008
4077
|
*
|
|
@@ -6791,6 +6860,67 @@ class DatabaseClient {
|
|
|
6791
6860
|
}
|
|
6792
6861
|
});
|
|
6793
6862
|
}
|
|
6863
|
+
/**
|
|
6864
|
+
* Deletes the advanced cluster file system.
|
|
6865
|
+
*
|
|
6866
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
6867
|
+
* @param DeleteAdvancedClusterFileSystemRequest
|
|
6868
|
+
* @return DeleteAdvancedClusterFileSystemResponse
|
|
6869
|
+
* @throws OciError when an error occurs
|
|
6870
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/DeleteAdvancedClusterFileSystem.ts.html |here} to see how to use DeleteAdvancedClusterFileSystem API.
|
|
6871
|
+
*/
|
|
6872
|
+
deleteAdvancedClusterFileSystem(deleteAdvancedClusterFileSystemRequest) {
|
|
6873
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6874
|
+
if (this.logger)
|
|
6875
|
+
this.logger.debug("Calling operation DatabaseClient#deleteAdvancedClusterFileSystem.");
|
|
6876
|
+
const operationName = "deleteAdvancedClusterFileSystem";
|
|
6877
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AdvancedClusterFileSystem/DeleteAdvancedClusterFileSystem";
|
|
6878
|
+
const pathParams = {
|
|
6879
|
+
"{advancedClusterFileSystemId}": deleteAdvancedClusterFileSystemRequest.advancedClusterFileSystemId
|
|
6880
|
+
};
|
|
6881
|
+
const queryParams = {};
|
|
6882
|
+
let headerParams = {
|
|
6883
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
6884
|
+
"if-match": deleteAdvancedClusterFileSystemRequest.ifMatch,
|
|
6885
|
+
"opc-request-id": deleteAdvancedClusterFileSystemRequest.opcRequestId
|
|
6886
|
+
};
|
|
6887
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
6888
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, deleteAdvancedClusterFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
6889
|
+
if (this.logger)
|
|
6890
|
+
retrier.logger = this.logger;
|
|
6891
|
+
const request = yield oci_common_2.composeRequest({
|
|
6892
|
+
baseEndpoint: this._endpoint,
|
|
6893
|
+
defaultHeaders: this._defaultHeaders,
|
|
6894
|
+
path: "/advancedClusterFileSystems/{advancedClusterFileSystemId}",
|
|
6895
|
+
method: "DELETE",
|
|
6896
|
+
pathParams: pathParams,
|
|
6897
|
+
headerParams: headerParams,
|
|
6898
|
+
queryParams: queryParams
|
|
6899
|
+
});
|
|
6900
|
+
try {
|
|
6901
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
6902
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
6903
|
+
responseObject: {},
|
|
6904
|
+
responseHeaders: [
|
|
6905
|
+
{
|
|
6906
|
+
value: response.headers.get("opc-work-request-id"),
|
|
6907
|
+
key: "opcWorkRequestId",
|
|
6908
|
+
dataType: "string"
|
|
6909
|
+
},
|
|
6910
|
+
{
|
|
6911
|
+
value: response.headers.get("opc-request-id"),
|
|
6912
|
+
key: "opcRequestId",
|
|
6913
|
+
dataType: "string"
|
|
6914
|
+
}
|
|
6915
|
+
]
|
|
6916
|
+
});
|
|
6917
|
+
return sdkResponse;
|
|
6918
|
+
}
|
|
6919
|
+
catch (err) {
|
|
6920
|
+
throw err;
|
|
6921
|
+
}
|
|
6922
|
+
});
|
|
6923
|
+
}
|
|
6794
6924
|
/**
|
|
6795
6925
|
* Deletes and deregisters the specified application virtual IP (VIP) address.
|
|
6796
6926
|
*
|
|
@@ -11532,6 +11662,70 @@ class DatabaseClient {
|
|
|
11532
11662
|
}
|
|
11533
11663
|
});
|
|
11534
11664
|
}
|
|
11665
|
+
/**
|
|
11666
|
+
* Gets information about the specified advanced cluster file systems.
|
|
11667
|
+
*
|
|
11668
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
11669
|
+
* @param GetAdvancedClusterFileSystemRequest
|
|
11670
|
+
* @return GetAdvancedClusterFileSystemResponse
|
|
11671
|
+
* @throws OciError when an error occurs
|
|
11672
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/GetAdvancedClusterFileSystem.ts.html |here} to see how to use GetAdvancedClusterFileSystem API.
|
|
11673
|
+
*/
|
|
11674
|
+
getAdvancedClusterFileSystem(getAdvancedClusterFileSystemRequest) {
|
|
11675
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
11676
|
+
if (this.logger)
|
|
11677
|
+
this.logger.debug("Calling operation DatabaseClient#getAdvancedClusterFileSystem.");
|
|
11678
|
+
const operationName = "getAdvancedClusterFileSystem";
|
|
11679
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AdvancedClusterFileSystem/GetAdvancedClusterFileSystem";
|
|
11680
|
+
const pathParams = {
|
|
11681
|
+
"{advancedClusterFileSystemId}": getAdvancedClusterFileSystemRequest.advancedClusterFileSystemId
|
|
11682
|
+
};
|
|
11683
|
+
const queryParams = {};
|
|
11684
|
+
let headerParams = {
|
|
11685
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
11686
|
+
"opc-request-id": getAdvancedClusterFileSystemRequest.opcRequestId
|
|
11687
|
+
};
|
|
11688
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
11689
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, getAdvancedClusterFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
11690
|
+
if (this.logger)
|
|
11691
|
+
retrier.logger = this.logger;
|
|
11692
|
+
const request = yield oci_common_2.composeRequest({
|
|
11693
|
+
baseEndpoint: this._endpoint,
|
|
11694
|
+
defaultHeaders: this._defaultHeaders,
|
|
11695
|
+
path: "/advancedClusterFileSystems/{advancedClusterFileSystemId}",
|
|
11696
|
+
method: "GET",
|
|
11697
|
+
pathParams: pathParams,
|
|
11698
|
+
headerParams: headerParams,
|
|
11699
|
+
queryParams: queryParams
|
|
11700
|
+
});
|
|
11701
|
+
try {
|
|
11702
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
11703
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
11704
|
+
responseObject: {},
|
|
11705
|
+
body: yield response.json(),
|
|
11706
|
+
bodyKey: "advancedClusterFileSystem",
|
|
11707
|
+
bodyModel: model.AdvancedClusterFileSystem,
|
|
11708
|
+
type: "model.AdvancedClusterFileSystem",
|
|
11709
|
+
responseHeaders: [
|
|
11710
|
+
{
|
|
11711
|
+
value: response.headers.get("etag"),
|
|
11712
|
+
key: "etag",
|
|
11713
|
+
dataType: "string"
|
|
11714
|
+
},
|
|
11715
|
+
{
|
|
11716
|
+
value: response.headers.get("opc-request-id"),
|
|
11717
|
+
key: "opcRequestId",
|
|
11718
|
+
dataType: "string"
|
|
11719
|
+
}
|
|
11720
|
+
]
|
|
11721
|
+
});
|
|
11722
|
+
return sdkResponse;
|
|
11723
|
+
}
|
|
11724
|
+
catch (err) {
|
|
11725
|
+
throw err;
|
|
11726
|
+
}
|
|
11727
|
+
});
|
|
11728
|
+
}
|
|
11535
11729
|
/**
|
|
11536
11730
|
* Gets information about a specified application virtual IP (VIP) address.
|
|
11537
11731
|
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
@@ -16560,6 +16754,78 @@ class DatabaseClient {
|
|
|
16560
16754
|
}
|
|
16561
16755
|
});
|
|
16562
16756
|
}
|
|
16757
|
+
/**
|
|
16758
|
+
* Lists the advanced cluster file system resources in the specified compartment.
|
|
16759
|
+
*
|
|
16760
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
16761
|
+
* @param ListAdvancedClusterFileSystemsRequest
|
|
16762
|
+
* @return ListAdvancedClusterFileSystemsResponse
|
|
16763
|
+
* @throws OciError when an error occurs
|
|
16764
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/ListAdvancedClusterFileSystems.ts.html |here} to see how to use ListAdvancedClusterFileSystems API.
|
|
16765
|
+
*/
|
|
16766
|
+
listAdvancedClusterFileSystems(listAdvancedClusterFileSystemsRequest) {
|
|
16767
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16768
|
+
if (this.logger)
|
|
16769
|
+
this.logger.debug("Calling operation DatabaseClient#listAdvancedClusterFileSystems.");
|
|
16770
|
+
const operationName = "listAdvancedClusterFileSystems";
|
|
16771
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AdvancedClusterFileSystem/ListAdvancedClusterFileSystems";
|
|
16772
|
+
const pathParams = {};
|
|
16773
|
+
const queryParams = {
|
|
16774
|
+
"compartmentId": listAdvancedClusterFileSystemsRequest.compartmentId,
|
|
16775
|
+
"limit": listAdvancedClusterFileSystemsRequest.limit,
|
|
16776
|
+
"page": listAdvancedClusterFileSystemsRequest.page,
|
|
16777
|
+
"vmClusterId": listAdvancedClusterFileSystemsRequest.vmClusterId,
|
|
16778
|
+
"resourceId": listAdvancedClusterFileSystemsRequest.resourceId,
|
|
16779
|
+
"lifecycleState": listAdvancedClusterFileSystemsRequest.lifecycleState,
|
|
16780
|
+
"sortBy": listAdvancedClusterFileSystemsRequest.sortBy,
|
|
16781
|
+
"sortOrder": listAdvancedClusterFileSystemsRequest.sortOrder,
|
|
16782
|
+
"name": listAdvancedClusterFileSystemsRequest.name
|
|
16783
|
+
};
|
|
16784
|
+
let headerParams = {
|
|
16785
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
16786
|
+
"opc-request-id": listAdvancedClusterFileSystemsRequest.opcRequestId
|
|
16787
|
+
};
|
|
16788
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
16789
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, listAdvancedClusterFileSystemsRequest.retryConfiguration, specRetryConfiguration);
|
|
16790
|
+
if (this.logger)
|
|
16791
|
+
retrier.logger = this.logger;
|
|
16792
|
+
const request = yield oci_common_2.composeRequest({
|
|
16793
|
+
baseEndpoint: this._endpoint,
|
|
16794
|
+
defaultHeaders: this._defaultHeaders,
|
|
16795
|
+
path: "/advancedClusterFileSystems",
|
|
16796
|
+
method: "GET",
|
|
16797
|
+
pathParams: pathParams,
|
|
16798
|
+
headerParams: headerParams,
|
|
16799
|
+
queryParams: queryParams
|
|
16800
|
+
});
|
|
16801
|
+
try {
|
|
16802
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
16803
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
16804
|
+
responseObject: {},
|
|
16805
|
+
body: yield response.json(),
|
|
16806
|
+
bodyKey: "advancedClusterFileSystemCollection",
|
|
16807
|
+
bodyModel: model.AdvancedClusterFileSystemCollection,
|
|
16808
|
+
type: "model.AdvancedClusterFileSystemCollection",
|
|
16809
|
+
responseHeaders: [
|
|
16810
|
+
{
|
|
16811
|
+
value: response.headers.get("opc-request-id"),
|
|
16812
|
+
key: "opcRequestId",
|
|
16813
|
+
dataType: "string"
|
|
16814
|
+
},
|
|
16815
|
+
{
|
|
16816
|
+
value: response.headers.get("opc-next-page"),
|
|
16817
|
+
key: "opcNextPage",
|
|
16818
|
+
dataType: "string"
|
|
16819
|
+
}
|
|
16820
|
+
]
|
|
16821
|
+
});
|
|
16822
|
+
return sdkResponse;
|
|
16823
|
+
}
|
|
16824
|
+
catch (err) {
|
|
16825
|
+
throw err;
|
|
16826
|
+
}
|
|
16827
|
+
});
|
|
16828
|
+
}
|
|
16563
16829
|
/**
|
|
16564
16830
|
* Gets a list of application virtual IP (VIP) addresses on a cloud VM cluster.
|
|
16565
16831
|
*
|
|
@@ -26011,6 +26277,77 @@ class DatabaseClient {
|
|
|
26011
26277
|
}
|
|
26012
26278
|
});
|
|
26013
26279
|
}
|
|
26280
|
+
/**
|
|
26281
|
+
* Mounts the advanced cluster file system to all the virtual machines within a vmcluster.
|
|
26282
|
+
*
|
|
26283
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
26284
|
+
* @param MountAdvancedClusterFileSystemRequest
|
|
26285
|
+
* @return MountAdvancedClusterFileSystemResponse
|
|
26286
|
+
* @throws OciError when an error occurs
|
|
26287
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/MountAdvancedClusterFileSystem.ts.html |here} to see how to use MountAdvancedClusterFileSystem API.
|
|
26288
|
+
*/
|
|
26289
|
+
mountAdvancedClusterFileSystem(mountAdvancedClusterFileSystemRequest) {
|
|
26290
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
26291
|
+
if (this.logger)
|
|
26292
|
+
this.logger.debug("Calling operation DatabaseClient#mountAdvancedClusterFileSystem.");
|
|
26293
|
+
const operationName = "mountAdvancedClusterFileSystem";
|
|
26294
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AdvancedClusterFileSystem/MountAdvancedClusterFileSystem";
|
|
26295
|
+
const pathParams = {
|
|
26296
|
+
"{advancedClusterFileSystemId}": mountAdvancedClusterFileSystemRequest.advancedClusterFileSystemId
|
|
26297
|
+
};
|
|
26298
|
+
const queryParams = {};
|
|
26299
|
+
let headerParams = {
|
|
26300
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
26301
|
+
"opc-retry-token": mountAdvancedClusterFileSystemRequest.opcRetryToken,
|
|
26302
|
+
"opc-request-id": mountAdvancedClusterFileSystemRequest.opcRequestId,
|
|
26303
|
+
"if-match": mountAdvancedClusterFileSystemRequest.ifMatch
|
|
26304
|
+
};
|
|
26305
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
26306
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, mountAdvancedClusterFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
26307
|
+
if (this.logger)
|
|
26308
|
+
retrier.logger = this.logger;
|
|
26309
|
+
const request = yield oci_common_2.composeRequest({
|
|
26310
|
+
baseEndpoint: this._endpoint,
|
|
26311
|
+
defaultHeaders: this._defaultHeaders,
|
|
26312
|
+
path: "/advancedClusterFileSystems/{advancedClusterFileSystemId}/actions/mount",
|
|
26313
|
+
method: "POST",
|
|
26314
|
+
pathParams: pathParams,
|
|
26315
|
+
headerParams: headerParams,
|
|
26316
|
+
queryParams: queryParams
|
|
26317
|
+
});
|
|
26318
|
+
try {
|
|
26319
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
26320
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
26321
|
+
responseObject: {},
|
|
26322
|
+
body: yield response.json(),
|
|
26323
|
+
bodyKey: "advancedClusterFileSystem",
|
|
26324
|
+
bodyModel: model.AdvancedClusterFileSystem,
|
|
26325
|
+
type: "model.AdvancedClusterFileSystem",
|
|
26326
|
+
responseHeaders: [
|
|
26327
|
+
{
|
|
26328
|
+
value: response.headers.get("opc-work-request-id"),
|
|
26329
|
+
key: "opcWorkRequestId",
|
|
26330
|
+
dataType: "string"
|
|
26331
|
+
},
|
|
26332
|
+
{
|
|
26333
|
+
value: response.headers.get("opc-request-id"),
|
|
26334
|
+
key: "opcRequestId",
|
|
26335
|
+
dataType: "string"
|
|
26336
|
+
},
|
|
26337
|
+
{
|
|
26338
|
+
value: response.headers.get("etag"),
|
|
26339
|
+
key: "etag",
|
|
26340
|
+
dataType: "string"
|
|
26341
|
+
}
|
|
26342
|
+
]
|
|
26343
|
+
});
|
|
26344
|
+
return sdkResponse;
|
|
26345
|
+
}
|
|
26346
|
+
catch (err) {
|
|
26347
|
+
throw err;
|
|
26348
|
+
}
|
|
26349
|
+
});
|
|
26350
|
+
}
|
|
26014
26351
|
/**
|
|
26015
26352
|
* Mounts the snapshot for the provided dbNode.
|
|
26016
26353
|
*
|
|
@@ -29535,6 +29872,77 @@ class DatabaseClient {
|
|
|
29535
29872
|
}
|
|
29536
29873
|
});
|
|
29537
29874
|
}
|
|
29875
|
+
/**
|
|
29876
|
+
* Unmounts the advanced cluster file system from all the virtual machines within a vmcluster.
|
|
29877
|
+
*
|
|
29878
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
29879
|
+
* @param UnmountAdvancedClusterFileSystemRequest
|
|
29880
|
+
* @return UnmountAdvancedClusterFileSystemResponse
|
|
29881
|
+
* @throws OciError when an error occurs
|
|
29882
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UnmountAdvancedClusterFileSystem.ts.html |here} to see how to use UnmountAdvancedClusterFileSystem API.
|
|
29883
|
+
*/
|
|
29884
|
+
unmountAdvancedClusterFileSystem(unmountAdvancedClusterFileSystemRequest) {
|
|
29885
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29886
|
+
if (this.logger)
|
|
29887
|
+
this.logger.debug("Calling operation DatabaseClient#unmountAdvancedClusterFileSystem.");
|
|
29888
|
+
const operationName = "unmountAdvancedClusterFileSystem";
|
|
29889
|
+
const apiReferenceLink = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AdvancedClusterFileSystem/UnmountAdvancedClusterFileSystem";
|
|
29890
|
+
const pathParams = {
|
|
29891
|
+
"{advancedClusterFileSystemId}": unmountAdvancedClusterFileSystemRequest.advancedClusterFileSystemId
|
|
29892
|
+
};
|
|
29893
|
+
const queryParams = {};
|
|
29894
|
+
let headerParams = {
|
|
29895
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
29896
|
+
"opc-retry-token": unmountAdvancedClusterFileSystemRequest.opcRetryToken,
|
|
29897
|
+
"opc-request-id": unmountAdvancedClusterFileSystemRequest.opcRequestId,
|
|
29898
|
+
"if-match": unmountAdvancedClusterFileSystemRequest.ifMatch
|
|
29899
|
+
};
|
|
29900
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
29901
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, unmountAdvancedClusterFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
29902
|
+
if (this.logger)
|
|
29903
|
+
retrier.logger = this.logger;
|
|
29904
|
+
const request = yield oci_common_2.composeRequest({
|
|
29905
|
+
baseEndpoint: this._endpoint,
|
|
29906
|
+
defaultHeaders: this._defaultHeaders,
|
|
29907
|
+
path: "/advancedClusterFileSystems/{advancedClusterFileSystemId}/actions/unmount",
|
|
29908
|
+
method: "POST",
|
|
29909
|
+
pathParams: pathParams,
|
|
29910
|
+
headerParams: headerParams,
|
|
29911
|
+
queryParams: queryParams
|
|
29912
|
+
});
|
|
29913
|
+
try {
|
|
29914
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
29915
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
29916
|
+
responseObject: {},
|
|
29917
|
+
body: yield response.json(),
|
|
29918
|
+
bodyKey: "advancedClusterFileSystem",
|
|
29919
|
+
bodyModel: model.AdvancedClusterFileSystem,
|
|
29920
|
+
type: "model.AdvancedClusterFileSystem",
|
|
29921
|
+
responseHeaders: [
|
|
29922
|
+
{
|
|
29923
|
+
value: response.headers.get("opc-work-request-id"),
|
|
29924
|
+
key: "opcWorkRequestId",
|
|
29925
|
+
dataType: "string"
|
|
29926
|
+
},
|
|
29927
|
+
{
|
|
29928
|
+
value: response.headers.get("opc-request-id"),
|
|
29929
|
+
key: "opcRequestId",
|
|
29930
|
+
dataType: "string"
|
|
29931
|
+
},
|
|
29932
|
+
{
|
|
29933
|
+
value: response.headers.get("etag"),
|
|
29934
|
+
key: "etag",
|
|
29935
|
+
dataType: "string"
|
|
29936
|
+
}
|
|
29937
|
+
]
|
|
29938
|
+
});
|
|
29939
|
+
return sdkResponse;
|
|
29940
|
+
}
|
|
29941
|
+
catch (err) {
|
|
29942
|
+
throw err;
|
|
29943
|
+
}
|
|
29944
|
+
});
|
|
29945
|
+
}
|
|
29538
29946
|
/**
|
|
29539
29947
|
* Unmounts the snapshot for the provided dbNode.
|
|
29540
29948
|
*
|
|
@@ -29733,6 +30141,77 @@ class DatabaseClient {
|
|
|
29733
30141
|
}
|
|
29734
30142
|
});
|
|
29735
30143
|
}
|
|
30144
|
+
/**
|
|
30145
|
+
* Updates the advanced cluster file system resource.
|
|
30146
|
+
*
|
|
30147
|
+
* This operation does not retry by default if the user has not defined a retry configuration.
|
|
30148
|
+
* @param UpdateAdvancedClusterFileSystemRequest
|
|
30149
|
+
* @return UpdateAdvancedClusterFileSystemResponse
|
|
30150
|
+
* @throws OciError when an error occurs
|
|
30151
|
+
* @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/database/UpdateAdvancedClusterFileSystem.ts.html |here} to see how to use UpdateAdvancedClusterFileSystem API.
|
|
30152
|
+
*/
|
|
30153
|
+
updateAdvancedClusterFileSystem(updateAdvancedClusterFileSystemRequest) {
|
|
30154
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
30155
|
+
if (this.logger)
|
|
30156
|
+
this.logger.debug("Calling operation DatabaseClient#updateAdvancedClusterFileSystem.");
|
|
30157
|
+
const operationName = "updateAdvancedClusterFileSystem";
|
|
30158
|
+
const apiReferenceLink = "";
|
|
30159
|
+
const pathParams = {
|
|
30160
|
+
"{advancedClusterFileSystemId}": updateAdvancedClusterFileSystemRequest.advancedClusterFileSystemId
|
|
30161
|
+
};
|
|
30162
|
+
const queryParams = {};
|
|
30163
|
+
let headerParams = {
|
|
30164
|
+
"Content-Type": common.Constants.APPLICATION_JSON,
|
|
30165
|
+
"if-match": updateAdvancedClusterFileSystemRequest.ifMatch,
|
|
30166
|
+
"opc-request-id": updateAdvancedClusterFileSystemRequest.opcRequestId
|
|
30167
|
+
};
|
|
30168
|
+
const specRetryConfiguration = common.NoRetryConfigurationDetails;
|
|
30169
|
+
const retrier = oci_common_2.GenericRetrier.createPreferredRetrier(this._clientConfiguration ? this._clientConfiguration.retryConfiguration : undefined, updateAdvancedClusterFileSystemRequest.retryConfiguration, specRetryConfiguration);
|
|
30170
|
+
if (this.logger)
|
|
30171
|
+
retrier.logger = this.logger;
|
|
30172
|
+
const request = yield oci_common_2.composeRequest({
|
|
30173
|
+
baseEndpoint: this._endpoint,
|
|
30174
|
+
defaultHeaders: this._defaultHeaders,
|
|
30175
|
+
path: "/advancedClusterFileSystems/{advancedClusterFileSystemId}",
|
|
30176
|
+
method: "PUT",
|
|
30177
|
+
bodyContent: common.ObjectSerializer.serialize(updateAdvancedClusterFileSystemRequest.updateAdvancedClusterFileSystemDetails, "UpdateAdvancedClusterFileSystemDetails", model.UpdateAdvancedClusterFileSystemDetails.getJsonObj),
|
|
30178
|
+
pathParams: pathParams,
|
|
30179
|
+
headerParams: headerParams,
|
|
30180
|
+
queryParams: queryParams
|
|
30181
|
+
});
|
|
30182
|
+
try {
|
|
30183
|
+
const response = yield retrier.makeServiceCall(this._httpClient, request, this.targetService, operationName, apiReferenceLink);
|
|
30184
|
+
const sdkResponse = oci_common_2.composeResponse({
|
|
30185
|
+
responseObject: {},
|
|
30186
|
+
body: yield response.json(),
|
|
30187
|
+
bodyKey: "advancedClusterFileSystem",
|
|
30188
|
+
bodyModel: model.AdvancedClusterFileSystem,
|
|
30189
|
+
type: "model.AdvancedClusterFileSystem",
|
|
30190
|
+
responseHeaders: [
|
|
30191
|
+
{
|
|
30192
|
+
value: response.headers.get("opc-work-request-id"),
|
|
30193
|
+
key: "opcWorkRequestId",
|
|
30194
|
+
dataType: "string"
|
|
30195
|
+
},
|
|
30196
|
+
{
|
|
30197
|
+
value: response.headers.get("etag"),
|
|
30198
|
+
key: "etag",
|
|
30199
|
+
dataType: "string"
|
|
30200
|
+
},
|
|
30201
|
+
{
|
|
30202
|
+
value: response.headers.get("opc-request-id"),
|
|
30203
|
+
key: "opcRequestId",
|
|
30204
|
+
dataType: "string"
|
|
30205
|
+
}
|
|
30206
|
+
]
|
|
30207
|
+
});
|
|
30208
|
+
return sdkResponse;
|
|
30209
|
+
}
|
|
30210
|
+
catch (err) {
|
|
30211
|
+
throw err;
|
|
30212
|
+
}
|
|
30213
|
+
});
|
|
30214
|
+
}
|
|
29736
30215
|
/**
|
|
29737
30216
|
* Updates the properties of an Autonomous Container Database, such as display name, maintenance preference, backup retention, and tags.
|
|
29738
30217
|
* This operation does not retry by default if the user has not defined a retry configuration.
|