@azure/arm-oracledatabase 1.0.1-alpha.20250206.1 → 1.0.1-alpha.20250210.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/dist/index.js +271 -271
- package/dist/index.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -47,14 +47,14 @@ function getContinuationToken(page) {
|
|
|
47
47
|
if (typeof page !== "object" || page === null) {
|
|
48
48
|
return undefined;
|
|
49
49
|
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a ===
|
|
50
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
51
|
}
|
|
52
52
|
function setContinuationToken(page, continuationToken) {
|
|
53
53
|
var _a;
|
|
54
54
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !==
|
|
57
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
58
|
pageInfo.continuationToken = continuationToken;
|
|
59
59
|
pageMap.set(page, pageInfo);
|
|
60
60
|
}
|
|
@@ -7005,7 +7005,7 @@ class OperationsImpl {
|
|
|
7005
7005
|
return this;
|
|
7006
7006
|
},
|
|
7007
7007
|
byPage: (settings) => {
|
|
7008
|
-
if (settings === null || settings ===
|
|
7008
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7009
7009
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
7010
7010
|
}
|
|
7011
7011
|
return this.listPagingPage(options, settings);
|
|
@@ -7015,7 +7015,7 @@ class OperationsImpl {
|
|
|
7015
7015
|
listPagingPage(options, settings) {
|
|
7016
7016
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
7017
7017
|
let result;
|
|
7018
|
-
let continuationToken = settings === null || settings ===
|
|
7018
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7019
7019
|
if (!continuationToken) {
|
|
7020
7020
|
result = yield tslib.__await(this._list(options));
|
|
7021
7021
|
let page = result.value || [];
|
|
@@ -7110,7 +7110,7 @@ function createLroSpec(inputs) {
|
|
|
7110
7110
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
7111
7111
|
sendPollRequest: (path, options) => {
|
|
7112
7112
|
const { requestBody } = spec, restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
7113
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options ===
|
|
7113
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
7114
7114
|
},
|
|
7115
7115
|
};
|
|
7116
7116
|
}
|
|
@@ -7146,7 +7146,7 @@ class AutonomousDatabasesImpl {
|
|
|
7146
7146
|
return this;
|
|
7147
7147
|
},
|
|
7148
7148
|
byPage: (settings) => {
|
|
7149
|
-
if (settings === null || settings ===
|
|
7149
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7150
7150
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
7151
7151
|
}
|
|
7152
7152
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
@@ -7156,7 +7156,7 @@ class AutonomousDatabasesImpl {
|
|
|
7156
7156
|
listBySubscriptionPagingPage(options, settings) {
|
|
7157
7157
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
7158
7158
|
let result;
|
|
7159
|
-
let continuationToken = settings === null || settings ===
|
|
7159
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7160
7160
|
if (!continuationToken) {
|
|
7161
7161
|
result = yield tslib.__await(this._listBySubscription(options));
|
|
7162
7162
|
let page = result.value || [];
|
|
@@ -7208,7 +7208,7 @@ class AutonomousDatabasesImpl {
|
|
|
7208
7208
|
return this;
|
|
7209
7209
|
},
|
|
7210
7210
|
byPage: (settings) => {
|
|
7211
|
-
if (settings === null || settings ===
|
|
7211
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
7212
7212
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
7213
7213
|
}
|
|
7214
7214
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
@@ -7218,7 +7218,7 @@ class AutonomousDatabasesImpl {
|
|
|
7218
7218
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
7219
7219
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
7220
7220
|
let result;
|
|
7221
|
-
let continuationToken = settings === null || settings ===
|
|
7221
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
7222
7222
|
if (!continuationToken) {
|
|
7223
7223
|
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
7224
7224
|
let page = result.value || [];
|
|
@@ -7287,17 +7287,17 @@ class AutonomousDatabasesImpl {
|
|
|
7287
7287
|
* @param options The options parameters.
|
|
7288
7288
|
*/
|
|
7289
7289
|
beginCreateOrUpdate(resourceGroupName, autonomousdatabasename, resource, options) {
|
|
7290
|
-
return tslib.__awaiter(this,
|
|
7291
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
7290
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7291
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7292
7292
|
return this.client.sendOperationRequest(args, spec);
|
|
7293
7293
|
});
|
|
7294
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
7294
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7295
7295
|
var _a;
|
|
7296
7296
|
let currentRawResponse = undefined;
|
|
7297
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
7297
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7298
7298
|
const callback = (rawResponse, flatResponse) => {
|
|
7299
7299
|
currentRawResponse = rawResponse;
|
|
7300
|
-
providedCallback === null || providedCallback ===
|
|
7300
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7301
7301
|
};
|
|
7302
7302
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7303
7303
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -7316,8 +7316,8 @@ class AutonomousDatabasesImpl {
|
|
|
7316
7316
|
spec: createOrUpdateOperationSpec$5,
|
|
7317
7317
|
});
|
|
7318
7318
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7319
|
-
restoreFrom: options === null || options ===
|
|
7320
|
-
intervalInMs: options === null || options ===
|
|
7319
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7320
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7321
7321
|
resourceLocationConfig: "azure-async-operation",
|
|
7322
7322
|
});
|
|
7323
7323
|
yield poller.poll();
|
|
@@ -7332,7 +7332,7 @@ class AutonomousDatabasesImpl {
|
|
|
7332
7332
|
* @param options The options parameters.
|
|
7333
7333
|
*/
|
|
7334
7334
|
beginCreateOrUpdateAndWait(resourceGroupName, autonomousdatabasename, resource, options) {
|
|
7335
|
-
return tslib.__awaiter(this,
|
|
7335
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7336
7336
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, autonomousdatabasename, resource, options);
|
|
7337
7337
|
return poller.pollUntilDone();
|
|
7338
7338
|
});
|
|
@@ -7345,17 +7345,17 @@ class AutonomousDatabasesImpl {
|
|
|
7345
7345
|
* @param options The options parameters.
|
|
7346
7346
|
*/
|
|
7347
7347
|
beginUpdate(resourceGroupName, autonomousdatabasename, properties, options) {
|
|
7348
|
-
return tslib.__awaiter(this,
|
|
7349
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
7348
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7349
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7350
7350
|
return this.client.sendOperationRequest(args, spec);
|
|
7351
7351
|
});
|
|
7352
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
7352
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7353
7353
|
var _a;
|
|
7354
7354
|
let currentRawResponse = undefined;
|
|
7355
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
7355
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7356
7356
|
const callback = (rawResponse, flatResponse) => {
|
|
7357
7357
|
currentRawResponse = rawResponse;
|
|
7358
|
-
providedCallback === null || providedCallback ===
|
|
7358
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7359
7359
|
};
|
|
7360
7360
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7361
7361
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -7374,8 +7374,8 @@ class AutonomousDatabasesImpl {
|
|
|
7374
7374
|
spec: updateOperationSpec$4,
|
|
7375
7375
|
});
|
|
7376
7376
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7377
|
-
restoreFrom: options === null || options ===
|
|
7378
|
-
intervalInMs: options === null || options ===
|
|
7377
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7378
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7379
7379
|
resourceLocationConfig: "location",
|
|
7380
7380
|
});
|
|
7381
7381
|
yield poller.poll();
|
|
@@ -7390,7 +7390,7 @@ class AutonomousDatabasesImpl {
|
|
|
7390
7390
|
* @param options The options parameters.
|
|
7391
7391
|
*/
|
|
7392
7392
|
beginUpdateAndWait(resourceGroupName, autonomousdatabasename, properties, options) {
|
|
7393
|
-
return tslib.__awaiter(this,
|
|
7393
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7394
7394
|
const poller = yield this.beginUpdate(resourceGroupName, autonomousdatabasename, properties, options);
|
|
7395
7395
|
return poller.pollUntilDone();
|
|
7396
7396
|
});
|
|
@@ -7402,17 +7402,17 @@ class AutonomousDatabasesImpl {
|
|
|
7402
7402
|
* @param options The options parameters.
|
|
7403
7403
|
*/
|
|
7404
7404
|
beginDelete(resourceGroupName, autonomousdatabasename, options) {
|
|
7405
|
-
return tslib.__awaiter(this,
|
|
7406
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
7405
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7406
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7407
7407
|
return this.client.sendOperationRequest(args, spec);
|
|
7408
7408
|
});
|
|
7409
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
7409
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7410
7410
|
var _a;
|
|
7411
7411
|
let currentRawResponse = undefined;
|
|
7412
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
7412
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7413
7413
|
const callback = (rawResponse, flatResponse) => {
|
|
7414
7414
|
currentRawResponse = rawResponse;
|
|
7415
|
-
providedCallback === null || providedCallback ===
|
|
7415
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7416
7416
|
};
|
|
7417
7417
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7418
7418
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -7431,8 +7431,8 @@ class AutonomousDatabasesImpl {
|
|
|
7431
7431
|
spec: deleteOperationSpec$5,
|
|
7432
7432
|
});
|
|
7433
7433
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7434
|
-
restoreFrom: options === null || options ===
|
|
7435
|
-
intervalInMs: options === null || options ===
|
|
7434
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7435
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7436
7436
|
resourceLocationConfig: "location",
|
|
7437
7437
|
});
|
|
7438
7438
|
yield poller.poll();
|
|
@@ -7446,7 +7446,7 @@ class AutonomousDatabasesImpl {
|
|
|
7446
7446
|
* @param options The options parameters.
|
|
7447
7447
|
*/
|
|
7448
7448
|
beginDeleteAndWait(resourceGroupName, autonomousdatabasename, options) {
|
|
7449
|
-
return tslib.__awaiter(this,
|
|
7449
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7450
7450
|
const poller = yield this.beginDelete(resourceGroupName, autonomousdatabasename, options);
|
|
7451
7451
|
return poller.pollUntilDone();
|
|
7452
7452
|
});
|
|
@@ -7459,17 +7459,17 @@ class AutonomousDatabasesImpl {
|
|
|
7459
7459
|
* @param options The options parameters.
|
|
7460
7460
|
*/
|
|
7461
7461
|
beginFailover(resourceGroupName, autonomousdatabasename, body, options) {
|
|
7462
|
-
return tslib.__awaiter(this,
|
|
7463
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
7462
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7463
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7464
7464
|
return this.client.sendOperationRequest(args, spec);
|
|
7465
7465
|
});
|
|
7466
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
7466
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7467
7467
|
var _a;
|
|
7468
7468
|
let currentRawResponse = undefined;
|
|
7469
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
7469
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7470
7470
|
const callback = (rawResponse, flatResponse) => {
|
|
7471
7471
|
currentRawResponse = rawResponse;
|
|
7472
|
-
providedCallback === null || providedCallback ===
|
|
7472
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7473
7473
|
};
|
|
7474
7474
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7475
7475
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -7488,8 +7488,8 @@ class AutonomousDatabasesImpl {
|
|
|
7488
7488
|
spec: failoverOperationSpec,
|
|
7489
7489
|
});
|
|
7490
7490
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7491
|
-
restoreFrom: options === null || options ===
|
|
7492
|
-
intervalInMs: options === null || options ===
|
|
7491
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7492
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7493
7493
|
resourceLocationConfig: "location",
|
|
7494
7494
|
});
|
|
7495
7495
|
yield poller.poll();
|
|
@@ -7504,7 +7504,7 @@ class AutonomousDatabasesImpl {
|
|
|
7504
7504
|
* @param options The options parameters.
|
|
7505
7505
|
*/
|
|
7506
7506
|
beginFailoverAndWait(resourceGroupName, autonomousdatabasename, body, options) {
|
|
7507
|
-
return tslib.__awaiter(this,
|
|
7507
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7508
7508
|
const poller = yield this.beginFailover(resourceGroupName, autonomousdatabasename, body, options);
|
|
7509
7509
|
return poller.pollUntilDone();
|
|
7510
7510
|
});
|
|
@@ -7527,17 +7527,17 @@ class AutonomousDatabasesImpl {
|
|
|
7527
7527
|
* @param options The options parameters.
|
|
7528
7528
|
*/
|
|
7529
7529
|
beginRestore(resourceGroupName, autonomousdatabasename, body, options) {
|
|
7530
|
-
return tslib.__awaiter(this,
|
|
7531
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
7530
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7531
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7532
7532
|
return this.client.sendOperationRequest(args, spec);
|
|
7533
7533
|
});
|
|
7534
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
7534
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7535
7535
|
var _a;
|
|
7536
7536
|
let currentRawResponse = undefined;
|
|
7537
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
7537
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7538
7538
|
const callback = (rawResponse, flatResponse) => {
|
|
7539
7539
|
currentRawResponse = rawResponse;
|
|
7540
|
-
providedCallback === null || providedCallback ===
|
|
7540
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7541
7541
|
};
|
|
7542
7542
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7543
7543
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -7556,8 +7556,8 @@ class AutonomousDatabasesImpl {
|
|
|
7556
7556
|
spec: restoreOperationSpec,
|
|
7557
7557
|
});
|
|
7558
7558
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7559
|
-
restoreFrom: options === null || options ===
|
|
7560
|
-
intervalInMs: options === null || options ===
|
|
7559
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7560
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7561
7561
|
resourceLocationConfig: "location",
|
|
7562
7562
|
});
|
|
7563
7563
|
yield poller.poll();
|
|
@@ -7572,7 +7572,7 @@ class AutonomousDatabasesImpl {
|
|
|
7572
7572
|
* @param options The options parameters.
|
|
7573
7573
|
*/
|
|
7574
7574
|
beginRestoreAndWait(resourceGroupName, autonomousdatabasename, body, options) {
|
|
7575
|
-
return tslib.__awaiter(this,
|
|
7575
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7576
7576
|
const poller = yield this.beginRestore(resourceGroupName, autonomousdatabasename, body, options);
|
|
7577
7577
|
return poller.pollUntilDone();
|
|
7578
7578
|
});
|
|
@@ -7584,17 +7584,17 @@ class AutonomousDatabasesImpl {
|
|
|
7584
7584
|
* @param options The options parameters.
|
|
7585
7585
|
*/
|
|
7586
7586
|
beginShrink(resourceGroupName, autonomousdatabasename, options) {
|
|
7587
|
-
return tslib.__awaiter(this,
|
|
7588
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
7587
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7588
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7589
7589
|
return this.client.sendOperationRequest(args, spec);
|
|
7590
7590
|
});
|
|
7591
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
7591
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7592
7592
|
var _a;
|
|
7593
7593
|
let currentRawResponse = undefined;
|
|
7594
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
7594
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7595
7595
|
const callback = (rawResponse, flatResponse) => {
|
|
7596
7596
|
currentRawResponse = rawResponse;
|
|
7597
|
-
providedCallback === null || providedCallback ===
|
|
7597
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7598
7598
|
};
|
|
7599
7599
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7600
7600
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -7613,8 +7613,8 @@ class AutonomousDatabasesImpl {
|
|
|
7613
7613
|
spec: shrinkOperationSpec,
|
|
7614
7614
|
});
|
|
7615
7615
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7616
|
-
restoreFrom: options === null || options ===
|
|
7617
|
-
intervalInMs: options === null || options ===
|
|
7616
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7617
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7618
7618
|
resourceLocationConfig: "location",
|
|
7619
7619
|
});
|
|
7620
7620
|
yield poller.poll();
|
|
@@ -7628,7 +7628,7 @@ class AutonomousDatabasesImpl {
|
|
|
7628
7628
|
* @param options The options parameters.
|
|
7629
7629
|
*/
|
|
7630
7630
|
beginShrinkAndWait(resourceGroupName, autonomousdatabasename, options) {
|
|
7631
|
-
return tslib.__awaiter(this,
|
|
7631
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7632
7632
|
const poller = yield this.beginShrink(resourceGroupName, autonomousdatabasename, options);
|
|
7633
7633
|
return poller.pollUntilDone();
|
|
7634
7634
|
});
|
|
@@ -7641,17 +7641,17 @@ class AutonomousDatabasesImpl {
|
|
|
7641
7641
|
* @param options The options parameters.
|
|
7642
7642
|
*/
|
|
7643
7643
|
beginSwitchover(resourceGroupName, autonomousdatabasename, body, options) {
|
|
7644
|
-
return tslib.__awaiter(this,
|
|
7645
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
7644
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7645
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7646
7646
|
return this.client.sendOperationRequest(args, spec);
|
|
7647
7647
|
});
|
|
7648
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
7648
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7649
7649
|
var _a;
|
|
7650
7650
|
let currentRawResponse = undefined;
|
|
7651
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
7651
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
7652
7652
|
const callback = (rawResponse, flatResponse) => {
|
|
7653
7653
|
currentRawResponse = rawResponse;
|
|
7654
|
-
providedCallback === null || providedCallback ===
|
|
7654
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
7655
7655
|
};
|
|
7656
7656
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
7657
7657
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -7670,8 +7670,8 @@ class AutonomousDatabasesImpl {
|
|
|
7670
7670
|
spec: switchoverOperationSpec,
|
|
7671
7671
|
});
|
|
7672
7672
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7673
|
-
restoreFrom: options === null || options ===
|
|
7674
|
-
intervalInMs: options === null || options ===
|
|
7673
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7674
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7675
7675
|
resourceLocationConfig: "location",
|
|
7676
7676
|
});
|
|
7677
7677
|
yield poller.poll();
|
|
@@ -7686,7 +7686,7 @@ class AutonomousDatabasesImpl {
|
|
|
7686
7686
|
* @param options The options parameters.
|
|
7687
7687
|
*/
|
|
7688
7688
|
beginSwitchoverAndWait(resourceGroupName, autonomousdatabasename, body, options) {
|
|
7689
|
-
return tslib.__awaiter(this,
|
|
7689
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7690
7690
|
const poller = yield this.beginSwitchover(resourceGroupName, autonomousdatabasename, body, options);
|
|
7691
7691
|
return poller.pollUntilDone();
|
|
7692
7692
|
});
|
|
@@ -8082,7 +8082,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8082
8082
|
return this;
|
|
8083
8083
|
},
|
|
8084
8084
|
byPage: (settings) => {
|
|
8085
|
-
if (settings === null || settings ===
|
|
8085
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8086
8086
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
8087
8087
|
}
|
|
8088
8088
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
@@ -8092,7 +8092,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8092
8092
|
listBySubscriptionPagingPage(options, settings) {
|
|
8093
8093
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
8094
8094
|
let result;
|
|
8095
|
-
let continuationToken = settings === null || settings ===
|
|
8095
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8096
8096
|
if (!continuationToken) {
|
|
8097
8097
|
result = yield tslib.__await(this._listBySubscription(options));
|
|
8098
8098
|
let page = result.value || [];
|
|
@@ -8144,7 +8144,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8144
8144
|
return this;
|
|
8145
8145
|
},
|
|
8146
8146
|
byPage: (settings) => {
|
|
8147
|
-
if (settings === null || settings ===
|
|
8147
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8148
8148
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
8149
8149
|
}
|
|
8150
8150
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
@@ -8154,7 +8154,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8154
8154
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
8155
8155
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
8156
8156
|
let result;
|
|
8157
|
-
let continuationToken = settings === null || settings ===
|
|
8157
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8158
8158
|
if (!continuationToken) {
|
|
8159
8159
|
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
8160
8160
|
let page = result.value || [];
|
|
@@ -8223,17 +8223,17 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8223
8223
|
* @param options The options parameters.
|
|
8224
8224
|
*/
|
|
8225
8225
|
beginCreateOrUpdate(resourceGroupName, cloudexadatainfrastructurename, resource, options) {
|
|
8226
|
-
return tslib.__awaiter(this,
|
|
8227
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
8226
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8227
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8228
8228
|
return this.client.sendOperationRequest(args, spec);
|
|
8229
8229
|
});
|
|
8230
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
8230
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8231
8231
|
var _a;
|
|
8232
8232
|
let currentRawResponse = undefined;
|
|
8233
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
8233
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8234
8234
|
const callback = (rawResponse, flatResponse) => {
|
|
8235
8235
|
currentRawResponse = rawResponse;
|
|
8236
|
-
providedCallback === null || providedCallback ===
|
|
8236
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8237
8237
|
};
|
|
8238
8238
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8239
8239
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -8257,8 +8257,8 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8257
8257
|
spec: createOrUpdateOperationSpec$4,
|
|
8258
8258
|
});
|
|
8259
8259
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8260
|
-
restoreFrom: options === null || options ===
|
|
8261
|
-
intervalInMs: options === null || options ===
|
|
8260
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8261
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8262
8262
|
resourceLocationConfig: "azure-async-operation",
|
|
8263
8263
|
});
|
|
8264
8264
|
yield poller.poll();
|
|
@@ -8273,7 +8273,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8273
8273
|
* @param options The options parameters.
|
|
8274
8274
|
*/
|
|
8275
8275
|
beginCreateOrUpdateAndWait(resourceGroupName, cloudexadatainfrastructurename, resource, options) {
|
|
8276
|
-
return tslib.__awaiter(this,
|
|
8276
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8277
8277
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, cloudexadatainfrastructurename, resource, options);
|
|
8278
8278
|
return poller.pollUntilDone();
|
|
8279
8279
|
});
|
|
@@ -8286,17 +8286,17 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8286
8286
|
* @param options The options parameters.
|
|
8287
8287
|
*/
|
|
8288
8288
|
beginUpdate(resourceGroupName, cloudexadatainfrastructurename, properties, options) {
|
|
8289
|
-
return tslib.__awaiter(this,
|
|
8290
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
8289
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8290
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8291
8291
|
return this.client.sendOperationRequest(args, spec);
|
|
8292
8292
|
});
|
|
8293
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
8293
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8294
8294
|
var _a;
|
|
8295
8295
|
let currentRawResponse = undefined;
|
|
8296
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
8296
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8297
8297
|
const callback = (rawResponse, flatResponse) => {
|
|
8298
8298
|
currentRawResponse = rawResponse;
|
|
8299
|
-
providedCallback === null || providedCallback ===
|
|
8299
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8300
8300
|
};
|
|
8301
8301
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8302
8302
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -8320,8 +8320,8 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8320
8320
|
spec: updateOperationSpec$3,
|
|
8321
8321
|
});
|
|
8322
8322
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8323
|
-
restoreFrom: options === null || options ===
|
|
8324
|
-
intervalInMs: options === null || options ===
|
|
8323
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8324
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8325
8325
|
resourceLocationConfig: "location",
|
|
8326
8326
|
});
|
|
8327
8327
|
yield poller.poll();
|
|
@@ -8336,7 +8336,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8336
8336
|
* @param options The options parameters.
|
|
8337
8337
|
*/
|
|
8338
8338
|
beginUpdateAndWait(resourceGroupName, cloudexadatainfrastructurename, properties, options) {
|
|
8339
|
-
return tslib.__awaiter(this,
|
|
8339
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8340
8340
|
const poller = yield this.beginUpdate(resourceGroupName, cloudexadatainfrastructurename, properties, options);
|
|
8341
8341
|
return poller.pollUntilDone();
|
|
8342
8342
|
});
|
|
@@ -8348,17 +8348,17 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8348
8348
|
* @param options The options parameters.
|
|
8349
8349
|
*/
|
|
8350
8350
|
beginDelete(resourceGroupName, cloudexadatainfrastructurename, options) {
|
|
8351
|
-
return tslib.__awaiter(this,
|
|
8352
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
8351
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8352
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8353
8353
|
return this.client.sendOperationRequest(args, spec);
|
|
8354
8354
|
});
|
|
8355
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
8355
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8356
8356
|
var _a;
|
|
8357
8357
|
let currentRawResponse = undefined;
|
|
8358
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
8358
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8359
8359
|
const callback = (rawResponse, flatResponse) => {
|
|
8360
8360
|
currentRawResponse = rawResponse;
|
|
8361
|
-
providedCallback === null || providedCallback ===
|
|
8361
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8362
8362
|
};
|
|
8363
8363
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8364
8364
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -8377,8 +8377,8 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8377
8377
|
spec: deleteOperationSpec$4,
|
|
8378
8378
|
});
|
|
8379
8379
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8380
|
-
restoreFrom: options === null || options ===
|
|
8381
|
-
intervalInMs: options === null || options ===
|
|
8380
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8381
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8382
8382
|
resourceLocationConfig: "location",
|
|
8383
8383
|
});
|
|
8384
8384
|
yield poller.poll();
|
|
@@ -8392,7 +8392,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8392
8392
|
* @param options The options parameters.
|
|
8393
8393
|
*/
|
|
8394
8394
|
beginDeleteAndWait(resourceGroupName, cloudexadatainfrastructurename, options) {
|
|
8395
|
-
return tslib.__awaiter(this,
|
|
8395
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8396
8396
|
const poller = yield this.beginDelete(resourceGroupName, cloudexadatainfrastructurename, options);
|
|
8397
8397
|
return poller.pollUntilDone();
|
|
8398
8398
|
});
|
|
@@ -8404,17 +8404,17 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8404
8404
|
* @param options The options parameters.
|
|
8405
8405
|
*/
|
|
8406
8406
|
beginAddStorageCapacity(resourceGroupName, cloudexadatainfrastructurename, options) {
|
|
8407
|
-
return tslib.__awaiter(this,
|
|
8408
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
8407
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8408
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8409
8409
|
return this.client.sendOperationRequest(args, spec);
|
|
8410
8410
|
});
|
|
8411
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
8411
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8412
8412
|
var _a;
|
|
8413
8413
|
let currentRawResponse = undefined;
|
|
8414
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
8414
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8415
8415
|
const callback = (rawResponse, flatResponse) => {
|
|
8416
8416
|
currentRawResponse = rawResponse;
|
|
8417
|
-
providedCallback === null || providedCallback ===
|
|
8417
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8418
8418
|
};
|
|
8419
8419
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8420
8420
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -8433,8 +8433,8 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8433
8433
|
spec: addStorageCapacityOperationSpec,
|
|
8434
8434
|
});
|
|
8435
8435
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8436
|
-
restoreFrom: options === null || options ===
|
|
8437
|
-
intervalInMs: options === null || options ===
|
|
8436
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8437
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8438
8438
|
resourceLocationConfig: "location",
|
|
8439
8439
|
});
|
|
8440
8440
|
yield poller.poll();
|
|
@@ -8448,7 +8448,7 @@ class CloudExadataInfrastructuresImpl {
|
|
|
8448
8448
|
* @param options The options parameters.
|
|
8449
8449
|
*/
|
|
8450
8450
|
beginAddStorageCapacityAndWait(resourceGroupName, cloudexadatainfrastructurename, options) {
|
|
8451
|
-
return tslib.__awaiter(this,
|
|
8451
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8452
8452
|
const poller = yield this.beginAddStorageCapacity(resourceGroupName, cloudexadatainfrastructurename, options);
|
|
8453
8453
|
return poller.pollUntilDone();
|
|
8454
8454
|
});
|
|
@@ -8725,7 +8725,7 @@ class CloudVmClustersImpl {
|
|
|
8725
8725
|
return this;
|
|
8726
8726
|
},
|
|
8727
8727
|
byPage: (settings) => {
|
|
8728
|
-
if (settings === null || settings ===
|
|
8728
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8729
8729
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
8730
8730
|
}
|
|
8731
8731
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
@@ -8735,7 +8735,7 @@ class CloudVmClustersImpl {
|
|
|
8735
8735
|
listBySubscriptionPagingPage(options, settings) {
|
|
8736
8736
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
8737
8737
|
let result;
|
|
8738
|
-
let continuationToken = settings === null || settings ===
|
|
8738
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8739
8739
|
if (!continuationToken) {
|
|
8740
8740
|
result = yield tslib.__await(this._listBySubscription(options));
|
|
8741
8741
|
let page = result.value || [];
|
|
@@ -8787,7 +8787,7 @@ class CloudVmClustersImpl {
|
|
|
8787
8787
|
return this;
|
|
8788
8788
|
},
|
|
8789
8789
|
byPage: (settings) => {
|
|
8790
|
-
if (settings === null || settings ===
|
|
8790
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
8791
8791
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
8792
8792
|
}
|
|
8793
8793
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
@@ -8797,7 +8797,7 @@ class CloudVmClustersImpl {
|
|
|
8797
8797
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
8798
8798
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
8799
8799
|
let result;
|
|
8800
|
-
let continuationToken = settings === null || settings ===
|
|
8800
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
8801
8801
|
if (!continuationToken) {
|
|
8802
8802
|
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
8803
8803
|
let page = result.value || [];
|
|
@@ -8866,17 +8866,17 @@ class CloudVmClustersImpl {
|
|
|
8866
8866
|
* @param options The options parameters.
|
|
8867
8867
|
*/
|
|
8868
8868
|
beginCreateOrUpdate(resourceGroupName, cloudvmclustername, resource, options) {
|
|
8869
|
-
return tslib.__awaiter(this,
|
|
8870
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
8869
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8870
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8871
8871
|
return this.client.sendOperationRequest(args, spec);
|
|
8872
8872
|
});
|
|
8873
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
8873
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8874
8874
|
var _a;
|
|
8875
8875
|
let currentRawResponse = undefined;
|
|
8876
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
8876
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8877
8877
|
const callback = (rawResponse, flatResponse) => {
|
|
8878
8878
|
currentRawResponse = rawResponse;
|
|
8879
|
-
providedCallback === null || providedCallback ===
|
|
8879
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8880
8880
|
};
|
|
8881
8881
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8882
8882
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -8895,8 +8895,8 @@ class CloudVmClustersImpl {
|
|
|
8895
8895
|
spec: createOrUpdateOperationSpec$3,
|
|
8896
8896
|
});
|
|
8897
8897
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8898
|
-
restoreFrom: options === null || options ===
|
|
8899
|
-
intervalInMs: options === null || options ===
|
|
8898
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8899
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8900
8900
|
resourceLocationConfig: "azure-async-operation",
|
|
8901
8901
|
});
|
|
8902
8902
|
yield poller.poll();
|
|
@@ -8911,7 +8911,7 @@ class CloudVmClustersImpl {
|
|
|
8911
8911
|
* @param options The options parameters.
|
|
8912
8912
|
*/
|
|
8913
8913
|
beginCreateOrUpdateAndWait(resourceGroupName, cloudvmclustername, resource, options) {
|
|
8914
|
-
return tslib.__awaiter(this,
|
|
8914
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8915
8915
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, cloudvmclustername, resource, options);
|
|
8916
8916
|
return poller.pollUntilDone();
|
|
8917
8917
|
});
|
|
@@ -8924,17 +8924,17 @@ class CloudVmClustersImpl {
|
|
|
8924
8924
|
* @param options The options parameters.
|
|
8925
8925
|
*/
|
|
8926
8926
|
beginUpdate(resourceGroupName, cloudvmclustername, properties, options) {
|
|
8927
|
-
return tslib.__awaiter(this,
|
|
8928
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
8927
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8928
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8929
8929
|
return this.client.sendOperationRequest(args, spec);
|
|
8930
8930
|
});
|
|
8931
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
8931
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8932
8932
|
var _a;
|
|
8933
8933
|
let currentRawResponse = undefined;
|
|
8934
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
8934
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8935
8935
|
const callback = (rawResponse, flatResponse) => {
|
|
8936
8936
|
currentRawResponse = rawResponse;
|
|
8937
|
-
providedCallback === null || providedCallback ===
|
|
8937
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8938
8938
|
};
|
|
8939
8939
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8940
8940
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -8953,8 +8953,8 @@ class CloudVmClustersImpl {
|
|
|
8953
8953
|
spec: updateOperationSpec$2,
|
|
8954
8954
|
});
|
|
8955
8955
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8956
|
-
restoreFrom: options === null || options ===
|
|
8957
|
-
intervalInMs: options === null || options ===
|
|
8956
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
8957
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
8958
8958
|
resourceLocationConfig: "location",
|
|
8959
8959
|
});
|
|
8960
8960
|
yield poller.poll();
|
|
@@ -8969,7 +8969,7 @@ class CloudVmClustersImpl {
|
|
|
8969
8969
|
* @param options The options parameters.
|
|
8970
8970
|
*/
|
|
8971
8971
|
beginUpdateAndWait(resourceGroupName, cloudvmclustername, properties, options) {
|
|
8972
|
-
return tslib.__awaiter(this,
|
|
8972
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8973
8973
|
const poller = yield this.beginUpdate(resourceGroupName, cloudvmclustername, properties, options);
|
|
8974
8974
|
return poller.pollUntilDone();
|
|
8975
8975
|
});
|
|
@@ -8981,17 +8981,17 @@ class CloudVmClustersImpl {
|
|
|
8981
8981
|
* @param options The options parameters.
|
|
8982
8982
|
*/
|
|
8983
8983
|
beginDelete(resourceGroupName, cloudvmclustername, options) {
|
|
8984
|
-
return tslib.__awaiter(this,
|
|
8985
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
8984
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8985
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8986
8986
|
return this.client.sendOperationRequest(args, spec);
|
|
8987
8987
|
});
|
|
8988
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
8988
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
8989
8989
|
var _a;
|
|
8990
8990
|
let currentRawResponse = undefined;
|
|
8991
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
8991
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
8992
8992
|
const callback = (rawResponse, flatResponse) => {
|
|
8993
8993
|
currentRawResponse = rawResponse;
|
|
8994
|
-
providedCallback === null || providedCallback ===
|
|
8994
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
8995
8995
|
};
|
|
8996
8996
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
8997
8997
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -9010,8 +9010,8 @@ class CloudVmClustersImpl {
|
|
|
9010
9010
|
spec: deleteOperationSpec$3,
|
|
9011
9011
|
});
|
|
9012
9012
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9013
|
-
restoreFrom: options === null || options ===
|
|
9014
|
-
intervalInMs: options === null || options ===
|
|
9013
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9014
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9015
9015
|
resourceLocationConfig: "location",
|
|
9016
9016
|
});
|
|
9017
9017
|
yield poller.poll();
|
|
@@ -9025,7 +9025,7 @@ class CloudVmClustersImpl {
|
|
|
9025
9025
|
* @param options The options parameters.
|
|
9026
9026
|
*/
|
|
9027
9027
|
beginDeleteAndWait(resourceGroupName, cloudvmclustername, options) {
|
|
9028
|
-
return tslib.__awaiter(this,
|
|
9028
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9029
9029
|
const poller = yield this.beginDelete(resourceGroupName, cloudvmclustername, options);
|
|
9030
9030
|
return poller.pollUntilDone();
|
|
9031
9031
|
});
|
|
@@ -9038,17 +9038,17 @@ class CloudVmClustersImpl {
|
|
|
9038
9038
|
* @param options The options parameters.
|
|
9039
9039
|
*/
|
|
9040
9040
|
beginAddVms(resourceGroupName, cloudvmclustername, body, options) {
|
|
9041
|
-
return tslib.__awaiter(this,
|
|
9042
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
9041
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9042
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9043
9043
|
return this.client.sendOperationRequest(args, spec);
|
|
9044
9044
|
});
|
|
9045
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
9045
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9046
9046
|
var _a;
|
|
9047
9047
|
let currentRawResponse = undefined;
|
|
9048
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
9048
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9049
9049
|
const callback = (rawResponse, flatResponse) => {
|
|
9050
9050
|
currentRawResponse = rawResponse;
|
|
9051
|
-
providedCallback === null || providedCallback ===
|
|
9051
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9052
9052
|
};
|
|
9053
9053
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9054
9054
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -9067,8 +9067,8 @@ class CloudVmClustersImpl {
|
|
|
9067
9067
|
spec: addVmsOperationSpec,
|
|
9068
9068
|
});
|
|
9069
9069
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9070
|
-
restoreFrom: options === null || options ===
|
|
9071
|
-
intervalInMs: options === null || options ===
|
|
9070
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9071
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9072
9072
|
resourceLocationConfig: "location",
|
|
9073
9073
|
});
|
|
9074
9074
|
yield poller.poll();
|
|
@@ -9083,7 +9083,7 @@ class CloudVmClustersImpl {
|
|
|
9083
9083
|
* @param options The options parameters.
|
|
9084
9084
|
*/
|
|
9085
9085
|
beginAddVmsAndWait(resourceGroupName, cloudvmclustername, body, options) {
|
|
9086
|
-
return tslib.__awaiter(this,
|
|
9086
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9087
9087
|
const poller = yield this.beginAddVms(resourceGroupName, cloudvmclustername, body, options);
|
|
9088
9088
|
return poller.pollUntilDone();
|
|
9089
9089
|
});
|
|
@@ -9106,17 +9106,17 @@ class CloudVmClustersImpl {
|
|
|
9106
9106
|
* @param options The options parameters.
|
|
9107
9107
|
*/
|
|
9108
9108
|
beginRemoveVms(resourceGroupName, cloudvmclustername, body, options) {
|
|
9109
|
-
return tslib.__awaiter(this,
|
|
9110
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
9109
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9110
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9111
9111
|
return this.client.sendOperationRequest(args, spec);
|
|
9112
9112
|
});
|
|
9113
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
9113
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9114
9114
|
var _a;
|
|
9115
9115
|
let currentRawResponse = undefined;
|
|
9116
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
9116
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
9117
9117
|
const callback = (rawResponse, flatResponse) => {
|
|
9118
9118
|
currentRawResponse = rawResponse;
|
|
9119
|
-
providedCallback === null || providedCallback ===
|
|
9119
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
9120
9120
|
};
|
|
9121
9121
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
9122
9122
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -9135,8 +9135,8 @@ class CloudVmClustersImpl {
|
|
|
9135
9135
|
spec: removeVmsOperationSpec,
|
|
9136
9136
|
});
|
|
9137
9137
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
9138
|
-
restoreFrom: options === null || options ===
|
|
9139
|
-
intervalInMs: options === null || options ===
|
|
9138
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
9139
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
9140
9140
|
resourceLocationConfig: "location",
|
|
9141
9141
|
});
|
|
9142
9142
|
yield poller.poll();
|
|
@@ -9151,7 +9151,7 @@ class CloudVmClustersImpl {
|
|
|
9151
9151
|
* @param options The options parameters.
|
|
9152
9152
|
*/
|
|
9153
9153
|
beginRemoveVmsAndWait(resourceGroupName, cloudvmclustername, body, options) {
|
|
9154
|
-
return tslib.__awaiter(this,
|
|
9154
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
9155
9155
|
const poller = yield this.beginRemoveVms(resourceGroupName, cloudvmclustername, body, options);
|
|
9156
9156
|
return poller.pollUntilDone();
|
|
9157
9157
|
});
|
|
@@ -9496,7 +9496,7 @@ class AutonomousDatabaseCharacterSetsImpl {
|
|
|
9496
9496
|
return this;
|
|
9497
9497
|
},
|
|
9498
9498
|
byPage: (settings) => {
|
|
9499
|
-
if (settings === null || settings ===
|
|
9499
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9500
9500
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
9501
9501
|
}
|
|
9502
9502
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -9506,7 +9506,7 @@ class AutonomousDatabaseCharacterSetsImpl {
|
|
|
9506
9506
|
listByLocationPagingPage(location, options, settings) {
|
|
9507
9507
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
9508
9508
|
let result;
|
|
9509
|
-
let continuationToken = settings === null || settings ===
|
|
9509
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9510
9510
|
if (!continuationToken) {
|
|
9511
9511
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
9512
9512
|
let page = result.value || [];
|
|
@@ -9666,7 +9666,7 @@ class AutonomousDatabaseNationalCharacterSetsImpl {
|
|
|
9666
9666
|
return this;
|
|
9667
9667
|
},
|
|
9668
9668
|
byPage: (settings) => {
|
|
9669
|
-
if (settings === null || settings ===
|
|
9669
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9670
9670
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
9671
9671
|
}
|
|
9672
9672
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -9676,7 +9676,7 @@ class AutonomousDatabaseNationalCharacterSetsImpl {
|
|
|
9676
9676
|
listByLocationPagingPage(location, options, settings) {
|
|
9677
9677
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
9678
9678
|
let result;
|
|
9679
|
-
let continuationToken = settings === null || settings ===
|
|
9679
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9680
9680
|
if (!continuationToken) {
|
|
9681
9681
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
9682
9682
|
let page = result.value || [];
|
|
@@ -9836,7 +9836,7 @@ class AutonomousDatabaseVersionsImpl {
|
|
|
9836
9836
|
return this;
|
|
9837
9837
|
},
|
|
9838
9838
|
byPage: (settings) => {
|
|
9839
|
-
if (settings === null || settings ===
|
|
9839
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
9840
9840
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
9841
9841
|
}
|
|
9842
9842
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -9846,7 +9846,7 @@ class AutonomousDatabaseVersionsImpl {
|
|
|
9846
9846
|
listByLocationPagingPage(location, options, settings) {
|
|
9847
9847
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
9848
9848
|
let result;
|
|
9849
|
-
let continuationToken = settings === null || settings ===
|
|
9849
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
9850
9850
|
if (!continuationToken) {
|
|
9851
9851
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
9852
9852
|
let page = result.value || [];
|
|
@@ -10006,7 +10006,7 @@ class DbSystemShapesImpl {
|
|
|
10006
10006
|
return this;
|
|
10007
10007
|
},
|
|
10008
10008
|
byPage: (settings) => {
|
|
10009
|
-
if (settings === null || settings ===
|
|
10009
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10010
10010
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
10011
10011
|
}
|
|
10012
10012
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -10016,7 +10016,7 @@ class DbSystemShapesImpl {
|
|
|
10016
10016
|
listByLocationPagingPage(location, options, settings) {
|
|
10017
10017
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
10018
10018
|
let result;
|
|
10019
|
-
let continuationToken = settings === null || settings ===
|
|
10019
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10020
10020
|
if (!continuationToken) {
|
|
10021
10021
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
10022
10022
|
let page = result.value || [];
|
|
@@ -10176,7 +10176,7 @@ class DnsPrivateViewsImpl {
|
|
|
10176
10176
|
return this;
|
|
10177
10177
|
},
|
|
10178
10178
|
byPage: (settings) => {
|
|
10179
|
-
if (settings === null || settings ===
|
|
10179
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10180
10180
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
10181
10181
|
}
|
|
10182
10182
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -10186,7 +10186,7 @@ class DnsPrivateViewsImpl {
|
|
|
10186
10186
|
listByLocationPagingPage(location, options, settings) {
|
|
10187
10187
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
10188
10188
|
let result;
|
|
10189
|
-
let continuationToken = settings === null || settings ===
|
|
10189
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10190
10190
|
if (!continuationToken) {
|
|
10191
10191
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
10192
10192
|
let page = result.value || [];
|
|
@@ -10346,7 +10346,7 @@ class DnsPrivateZonesImpl {
|
|
|
10346
10346
|
return this;
|
|
10347
10347
|
},
|
|
10348
10348
|
byPage: (settings) => {
|
|
10349
|
-
if (settings === null || settings ===
|
|
10349
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10350
10350
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
10351
10351
|
}
|
|
10352
10352
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -10356,7 +10356,7 @@ class DnsPrivateZonesImpl {
|
|
|
10356
10356
|
listByLocationPagingPage(location, options, settings) {
|
|
10357
10357
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
10358
10358
|
let result;
|
|
10359
|
-
let continuationToken = settings === null || settings ===
|
|
10359
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10360
10360
|
if (!continuationToken) {
|
|
10361
10361
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
10362
10362
|
let page = result.value || [];
|
|
@@ -10516,7 +10516,7 @@ class GiVersionsImpl {
|
|
|
10516
10516
|
return this;
|
|
10517
10517
|
},
|
|
10518
10518
|
byPage: (settings) => {
|
|
10519
|
-
if (settings === null || settings ===
|
|
10519
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10520
10520
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
10521
10521
|
}
|
|
10522
10522
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -10526,7 +10526,7 @@ class GiVersionsImpl {
|
|
|
10526
10526
|
listByLocationPagingPage(location, options, settings) {
|
|
10527
10527
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
10528
10528
|
let result;
|
|
10529
|
-
let continuationToken = settings === null || settings ===
|
|
10529
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10530
10530
|
if (!continuationToken) {
|
|
10531
10531
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
10532
10532
|
let page = result.value || [];
|
|
@@ -10686,7 +10686,7 @@ class SystemVersionsImpl {
|
|
|
10686
10686
|
return this;
|
|
10687
10687
|
},
|
|
10688
10688
|
byPage: (settings) => {
|
|
10689
|
-
if (settings === null || settings ===
|
|
10689
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10690
10690
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
10691
10691
|
}
|
|
10692
10692
|
return this.listByLocationPagingPage(location, options, settings);
|
|
@@ -10696,7 +10696,7 @@ class SystemVersionsImpl {
|
|
|
10696
10696
|
listByLocationPagingPage(location, options, settings) {
|
|
10697
10697
|
return tslib.__asyncGenerator(this, arguments, function* listByLocationPagingPage_1() {
|
|
10698
10698
|
let result;
|
|
10699
|
-
let continuationToken = settings === null || settings ===
|
|
10699
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10700
10700
|
if (!continuationToken) {
|
|
10701
10701
|
result = yield tslib.__await(this._listByLocation(location, options));
|
|
10702
10702
|
let page = result.value || [];
|
|
@@ -10855,7 +10855,7 @@ class OracleSubscriptionsImpl {
|
|
|
10855
10855
|
return this;
|
|
10856
10856
|
},
|
|
10857
10857
|
byPage: (settings) => {
|
|
10858
|
-
if (settings === null || settings ===
|
|
10858
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
10859
10859
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
10860
10860
|
}
|
|
10861
10861
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
@@ -10865,7 +10865,7 @@ class OracleSubscriptionsImpl {
|
|
|
10865
10865
|
listBySubscriptionPagingPage(options, settings) {
|
|
10866
10866
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
10867
10867
|
let result;
|
|
10868
|
-
let continuationToken = settings === null || settings ===
|
|
10868
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
10869
10869
|
if (!continuationToken) {
|
|
10870
10870
|
result = yield tslib.__await(this._listBySubscription(options));
|
|
10871
10871
|
let page = result.value || [];
|
|
@@ -10922,17 +10922,17 @@ class OracleSubscriptionsImpl {
|
|
|
10922
10922
|
* @param options The options parameters.
|
|
10923
10923
|
*/
|
|
10924
10924
|
beginCreateOrUpdate(resource, options) {
|
|
10925
|
-
return tslib.__awaiter(this,
|
|
10926
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
10925
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10926
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10927
10927
|
return this.client.sendOperationRequest(args, spec);
|
|
10928
10928
|
});
|
|
10929
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
10929
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10930
10930
|
var _a;
|
|
10931
10931
|
let currentRawResponse = undefined;
|
|
10932
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
10932
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
10933
10933
|
const callback = (rawResponse, flatResponse) => {
|
|
10934
10934
|
currentRawResponse = rawResponse;
|
|
10935
|
-
providedCallback === null || providedCallback ===
|
|
10935
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
10936
10936
|
};
|
|
10937
10937
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
10938
10938
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -10951,8 +10951,8 @@ class OracleSubscriptionsImpl {
|
|
|
10951
10951
|
spec: createOrUpdateOperationSpec$2,
|
|
10952
10952
|
});
|
|
10953
10953
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
10954
|
-
restoreFrom: options === null || options ===
|
|
10955
|
-
intervalInMs: options === null || options ===
|
|
10954
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
10955
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
10956
10956
|
resourceLocationConfig: "azure-async-operation",
|
|
10957
10957
|
});
|
|
10958
10958
|
yield poller.poll();
|
|
@@ -10965,7 +10965,7 @@ class OracleSubscriptionsImpl {
|
|
|
10965
10965
|
* @param options The options parameters.
|
|
10966
10966
|
*/
|
|
10967
10967
|
beginCreateOrUpdateAndWait(resource, options) {
|
|
10968
|
-
return tslib.__awaiter(this,
|
|
10968
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10969
10969
|
const poller = yield this.beginCreateOrUpdate(resource, options);
|
|
10970
10970
|
return poller.pollUntilDone();
|
|
10971
10971
|
});
|
|
@@ -10976,17 +10976,17 @@ class OracleSubscriptionsImpl {
|
|
|
10976
10976
|
* @param options The options parameters.
|
|
10977
10977
|
*/
|
|
10978
10978
|
beginUpdate(properties, options) {
|
|
10979
|
-
return tslib.__awaiter(this,
|
|
10980
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
10979
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10980
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10981
10981
|
return this.client.sendOperationRequest(args, spec);
|
|
10982
10982
|
});
|
|
10983
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
10983
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
10984
10984
|
var _a;
|
|
10985
10985
|
let currentRawResponse = undefined;
|
|
10986
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
10986
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
10987
10987
|
const callback = (rawResponse, flatResponse) => {
|
|
10988
10988
|
currentRawResponse = rawResponse;
|
|
10989
|
-
providedCallback === null || providedCallback ===
|
|
10989
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
10990
10990
|
};
|
|
10991
10991
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
10992
10992
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11005,8 +11005,8 @@ class OracleSubscriptionsImpl {
|
|
|
11005
11005
|
spec: updateOperationSpec$1,
|
|
11006
11006
|
});
|
|
11007
11007
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11008
|
-
restoreFrom: options === null || options ===
|
|
11009
|
-
intervalInMs: options === null || options ===
|
|
11008
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11009
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11010
11010
|
resourceLocationConfig: "location",
|
|
11011
11011
|
});
|
|
11012
11012
|
yield poller.poll();
|
|
@@ -11019,7 +11019,7 @@ class OracleSubscriptionsImpl {
|
|
|
11019
11019
|
* @param options The options parameters.
|
|
11020
11020
|
*/
|
|
11021
11021
|
beginUpdateAndWait(properties, options) {
|
|
11022
|
-
return tslib.__awaiter(this,
|
|
11022
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11023
11023
|
const poller = yield this.beginUpdate(properties, options);
|
|
11024
11024
|
return poller.pollUntilDone();
|
|
11025
11025
|
});
|
|
@@ -11029,17 +11029,17 @@ class OracleSubscriptionsImpl {
|
|
|
11029
11029
|
* @param options The options parameters.
|
|
11030
11030
|
*/
|
|
11031
11031
|
beginDelete(options) {
|
|
11032
|
-
return tslib.__awaiter(this,
|
|
11033
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
11032
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11033
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11034
11034
|
return this.client.sendOperationRequest(args, spec);
|
|
11035
11035
|
});
|
|
11036
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
11036
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11037
11037
|
var _a;
|
|
11038
11038
|
let currentRawResponse = undefined;
|
|
11039
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
11039
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
11040
11040
|
const callback = (rawResponse, flatResponse) => {
|
|
11041
11041
|
currentRawResponse = rawResponse;
|
|
11042
|
-
providedCallback === null || providedCallback ===
|
|
11042
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
11043
11043
|
};
|
|
11044
11044
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
11045
11045
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11058,8 +11058,8 @@ class OracleSubscriptionsImpl {
|
|
|
11058
11058
|
spec: deleteOperationSpec$2,
|
|
11059
11059
|
});
|
|
11060
11060
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11061
|
-
restoreFrom: options === null || options ===
|
|
11062
|
-
intervalInMs: options === null || options ===
|
|
11061
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11062
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11063
11063
|
resourceLocationConfig: "location",
|
|
11064
11064
|
});
|
|
11065
11065
|
yield poller.poll();
|
|
@@ -11071,7 +11071,7 @@ class OracleSubscriptionsImpl {
|
|
|
11071
11071
|
* @param options The options parameters.
|
|
11072
11072
|
*/
|
|
11073
11073
|
beginDeleteAndWait(options) {
|
|
11074
|
-
return tslib.__awaiter(this,
|
|
11074
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11075
11075
|
const poller = yield this.beginDelete(options);
|
|
11076
11076
|
return poller.pollUntilDone();
|
|
11077
11077
|
});
|
|
@@ -11081,17 +11081,17 @@ class OracleSubscriptionsImpl {
|
|
|
11081
11081
|
* @param options The options parameters.
|
|
11082
11082
|
*/
|
|
11083
11083
|
beginListActivationLinks(options) {
|
|
11084
|
-
return tslib.__awaiter(this,
|
|
11085
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
11084
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11085
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11086
11086
|
return this.client.sendOperationRequest(args, spec);
|
|
11087
11087
|
});
|
|
11088
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
11088
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11089
11089
|
var _a;
|
|
11090
11090
|
let currentRawResponse = undefined;
|
|
11091
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
11091
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
11092
11092
|
const callback = (rawResponse, flatResponse) => {
|
|
11093
11093
|
currentRawResponse = rawResponse;
|
|
11094
|
-
providedCallback === null || providedCallback ===
|
|
11094
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
11095
11095
|
};
|
|
11096
11096
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
11097
11097
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11110,8 +11110,8 @@ class OracleSubscriptionsImpl {
|
|
|
11110
11110
|
spec: listActivationLinksOperationSpec,
|
|
11111
11111
|
});
|
|
11112
11112
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11113
|
-
restoreFrom: options === null || options ===
|
|
11114
|
-
intervalInMs: options === null || options ===
|
|
11113
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11114
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11115
11115
|
resourceLocationConfig: "location",
|
|
11116
11116
|
});
|
|
11117
11117
|
yield poller.poll();
|
|
@@ -11123,7 +11123,7 @@ class OracleSubscriptionsImpl {
|
|
|
11123
11123
|
* @param options The options parameters.
|
|
11124
11124
|
*/
|
|
11125
11125
|
beginListActivationLinksAndWait(options) {
|
|
11126
|
-
return tslib.__awaiter(this,
|
|
11126
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11127
11127
|
const poller = yield this.beginListActivationLinks(options);
|
|
11128
11128
|
return poller.pollUntilDone();
|
|
11129
11129
|
});
|
|
@@ -11133,17 +11133,17 @@ class OracleSubscriptionsImpl {
|
|
|
11133
11133
|
* @param options The options parameters.
|
|
11134
11134
|
*/
|
|
11135
11135
|
beginListCloudAccountDetails(options) {
|
|
11136
|
-
return tslib.__awaiter(this,
|
|
11137
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
11136
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11137
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11138
11138
|
return this.client.sendOperationRequest(args, spec);
|
|
11139
11139
|
});
|
|
11140
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
11140
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11141
11141
|
var _a;
|
|
11142
11142
|
let currentRawResponse = undefined;
|
|
11143
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
11143
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
11144
11144
|
const callback = (rawResponse, flatResponse) => {
|
|
11145
11145
|
currentRawResponse = rawResponse;
|
|
11146
|
-
providedCallback === null || providedCallback ===
|
|
11146
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
11147
11147
|
};
|
|
11148
11148
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
11149
11149
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11162,8 +11162,8 @@ class OracleSubscriptionsImpl {
|
|
|
11162
11162
|
spec: listCloudAccountDetailsOperationSpec,
|
|
11163
11163
|
});
|
|
11164
11164
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11165
|
-
restoreFrom: options === null || options ===
|
|
11166
|
-
intervalInMs: options === null || options ===
|
|
11165
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11166
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11167
11167
|
resourceLocationConfig: "location",
|
|
11168
11168
|
});
|
|
11169
11169
|
yield poller.poll();
|
|
@@ -11175,7 +11175,7 @@ class OracleSubscriptionsImpl {
|
|
|
11175
11175
|
* @param options The options parameters.
|
|
11176
11176
|
*/
|
|
11177
11177
|
beginListCloudAccountDetailsAndWait(options) {
|
|
11178
|
-
return tslib.__awaiter(this,
|
|
11178
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11179
11179
|
const poller = yield this.beginListCloudAccountDetails(options);
|
|
11180
11180
|
return poller.pollUntilDone();
|
|
11181
11181
|
});
|
|
@@ -11185,17 +11185,17 @@ class OracleSubscriptionsImpl {
|
|
|
11185
11185
|
* @param options The options parameters.
|
|
11186
11186
|
*/
|
|
11187
11187
|
beginListSaasSubscriptionDetails(options) {
|
|
11188
|
-
return tslib.__awaiter(this,
|
|
11189
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
11188
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11189
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11190
11190
|
return this.client.sendOperationRequest(args, spec);
|
|
11191
11191
|
});
|
|
11192
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
11192
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11193
11193
|
var _a;
|
|
11194
11194
|
let currentRawResponse = undefined;
|
|
11195
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
11195
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
11196
11196
|
const callback = (rawResponse, flatResponse) => {
|
|
11197
11197
|
currentRawResponse = rawResponse;
|
|
11198
|
-
providedCallback === null || providedCallback ===
|
|
11198
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
11199
11199
|
};
|
|
11200
11200
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
11201
11201
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11214,8 +11214,8 @@ class OracleSubscriptionsImpl {
|
|
|
11214
11214
|
spec: listSaasSubscriptionDetailsOperationSpec,
|
|
11215
11215
|
});
|
|
11216
11216
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11217
|
-
restoreFrom: options === null || options ===
|
|
11218
|
-
intervalInMs: options === null || options ===
|
|
11217
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11218
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11219
11219
|
resourceLocationConfig: "location",
|
|
11220
11220
|
});
|
|
11221
11221
|
yield poller.poll();
|
|
@@ -11227,7 +11227,7 @@ class OracleSubscriptionsImpl {
|
|
|
11227
11227
|
* @param options The options parameters.
|
|
11228
11228
|
*/
|
|
11229
11229
|
beginListSaasSubscriptionDetailsAndWait(options) {
|
|
11230
|
-
return tslib.__awaiter(this,
|
|
11230
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11231
11231
|
const poller = yield this.beginListSaasSubscriptionDetails(options);
|
|
11232
11232
|
return poller.pollUntilDone();
|
|
11233
11233
|
});
|
|
@@ -11482,7 +11482,7 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11482
11482
|
return this;
|
|
11483
11483
|
},
|
|
11484
11484
|
byPage: (settings) => {
|
|
11485
|
-
if (settings === null || settings ===
|
|
11485
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11486
11486
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
11487
11487
|
}
|
|
11488
11488
|
return this.listByAutonomousDatabasePagingPage(resourceGroupName, autonomousdatabasename, options, settings);
|
|
@@ -11492,7 +11492,7 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11492
11492
|
listByAutonomousDatabasePagingPage(resourceGroupName, autonomousdatabasename, options, settings) {
|
|
11493
11493
|
return tslib.__asyncGenerator(this, arguments, function* listByAutonomousDatabasePagingPage_1() {
|
|
11494
11494
|
let result;
|
|
11495
|
-
let continuationToken = settings === null || settings ===
|
|
11495
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
11496
11496
|
if (!continuationToken) {
|
|
11497
11497
|
result = yield tslib.__await(this._listByAutonomousDatabase(resourceGroupName, autonomousdatabasename, options));
|
|
11498
11498
|
let page = result.value || [];
|
|
@@ -11557,17 +11557,17 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11557
11557
|
* @param options The options parameters.
|
|
11558
11558
|
*/
|
|
11559
11559
|
beginCreateOrUpdate(resourceGroupName, autonomousdatabasename, adbbackupid, resource, options) {
|
|
11560
|
-
return tslib.__awaiter(this,
|
|
11561
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
11560
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11561
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11562
11562
|
return this.client.sendOperationRequest(args, spec);
|
|
11563
11563
|
});
|
|
11564
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
11564
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11565
11565
|
var _a;
|
|
11566
11566
|
let currentRawResponse = undefined;
|
|
11567
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
11567
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
11568
11568
|
const callback = (rawResponse, flatResponse) => {
|
|
11569
11569
|
currentRawResponse = rawResponse;
|
|
11570
|
-
providedCallback === null || providedCallback ===
|
|
11570
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
11571
11571
|
};
|
|
11572
11572
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
11573
11573
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11592,8 +11592,8 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11592
11592
|
spec: createOrUpdateOperationSpec$1,
|
|
11593
11593
|
});
|
|
11594
11594
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11595
|
-
restoreFrom: options === null || options ===
|
|
11596
|
-
intervalInMs: options === null || options ===
|
|
11595
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11596
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11597
11597
|
resourceLocationConfig: "azure-async-operation",
|
|
11598
11598
|
});
|
|
11599
11599
|
yield poller.poll();
|
|
@@ -11609,7 +11609,7 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11609
11609
|
* @param options The options parameters.
|
|
11610
11610
|
*/
|
|
11611
11611
|
beginCreateOrUpdateAndWait(resourceGroupName, autonomousdatabasename, adbbackupid, resource, options) {
|
|
11612
|
-
return tslib.__awaiter(this,
|
|
11612
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11613
11613
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, autonomousdatabasename, adbbackupid, resource, options);
|
|
11614
11614
|
return poller.pollUntilDone();
|
|
11615
11615
|
});
|
|
@@ -11623,17 +11623,17 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11623
11623
|
* @param options The options parameters.
|
|
11624
11624
|
*/
|
|
11625
11625
|
beginUpdate(resourceGroupName, autonomousdatabasename, adbbackupid, properties, options) {
|
|
11626
|
-
return tslib.__awaiter(this,
|
|
11627
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
11626
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11627
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11628
11628
|
return this.client.sendOperationRequest(args, spec);
|
|
11629
11629
|
});
|
|
11630
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
11630
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11631
11631
|
var _a;
|
|
11632
11632
|
let currentRawResponse = undefined;
|
|
11633
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
11633
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
11634
11634
|
const callback = (rawResponse, flatResponse) => {
|
|
11635
11635
|
currentRawResponse = rawResponse;
|
|
11636
|
-
providedCallback === null || providedCallback ===
|
|
11636
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
11637
11637
|
};
|
|
11638
11638
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
11639
11639
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11658,8 +11658,8 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11658
11658
|
spec: updateOperationSpec,
|
|
11659
11659
|
});
|
|
11660
11660
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11661
|
-
restoreFrom: options === null || options ===
|
|
11662
|
-
intervalInMs: options === null || options ===
|
|
11661
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11662
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11663
11663
|
resourceLocationConfig: "location",
|
|
11664
11664
|
});
|
|
11665
11665
|
yield poller.poll();
|
|
@@ -11675,7 +11675,7 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11675
11675
|
* @param options The options parameters.
|
|
11676
11676
|
*/
|
|
11677
11677
|
beginUpdateAndWait(resourceGroupName, autonomousdatabasename, adbbackupid, properties, options) {
|
|
11678
|
-
return tslib.__awaiter(this,
|
|
11678
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11679
11679
|
const poller = yield this.beginUpdate(resourceGroupName, autonomousdatabasename, adbbackupid, properties, options);
|
|
11680
11680
|
return poller.pollUntilDone();
|
|
11681
11681
|
});
|
|
@@ -11688,17 +11688,17 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11688
11688
|
* @param options The options parameters.
|
|
11689
11689
|
*/
|
|
11690
11690
|
beginDelete(resourceGroupName, autonomousdatabasename, adbbackupid, options) {
|
|
11691
|
-
return tslib.__awaiter(this,
|
|
11692
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
11691
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11692
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11693
11693
|
return this.client.sendOperationRequest(args, spec);
|
|
11694
11694
|
});
|
|
11695
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
11695
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11696
11696
|
var _a;
|
|
11697
11697
|
let currentRawResponse = undefined;
|
|
11698
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
11698
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
11699
11699
|
const callback = (rawResponse, flatResponse) => {
|
|
11700
11700
|
currentRawResponse = rawResponse;
|
|
11701
|
-
providedCallback === null || providedCallback ===
|
|
11701
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
11702
11702
|
};
|
|
11703
11703
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
11704
11704
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -11717,8 +11717,8 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11717
11717
|
spec: deleteOperationSpec$1,
|
|
11718
11718
|
});
|
|
11719
11719
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
11720
|
-
restoreFrom: options === null || options ===
|
|
11721
|
-
intervalInMs: options === null || options ===
|
|
11720
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
11721
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
11722
11722
|
resourceLocationConfig: "location",
|
|
11723
11723
|
});
|
|
11724
11724
|
yield poller.poll();
|
|
@@ -11733,7 +11733,7 @@ class AutonomousDatabaseBackupsImpl {
|
|
|
11733
11733
|
* @param options The options parameters.
|
|
11734
11734
|
*/
|
|
11735
11735
|
beginDeleteAndWait(resourceGroupName, autonomousdatabasename, adbbackupid, options) {
|
|
11736
|
-
return tslib.__awaiter(this,
|
|
11736
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
11737
11737
|
const poller = yield this.beginDelete(resourceGroupName, autonomousdatabasename, adbbackupid, options);
|
|
11738
11738
|
return poller.pollUntilDone();
|
|
11739
11739
|
});
|
|
@@ -11947,7 +11947,7 @@ class DbServersImpl {
|
|
|
11947
11947
|
return this;
|
|
11948
11948
|
},
|
|
11949
11949
|
byPage: (settings) => {
|
|
11950
|
-
if (settings === null || settings ===
|
|
11950
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
11951
11951
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
11952
11952
|
}
|
|
11953
11953
|
return this.listByCloudExadataInfrastructurePagingPage(resourceGroupName, cloudexadatainfrastructurename, options, settings);
|
|
@@ -11957,7 +11957,7 @@ class DbServersImpl {
|
|
|
11957
11957
|
listByCloudExadataInfrastructurePagingPage(resourceGroupName, cloudexadatainfrastructurename, options, settings) {
|
|
11958
11958
|
return tslib.__asyncGenerator(this, arguments, function* listByCloudExadataInfrastructurePagingPage_1() {
|
|
11959
11959
|
let result;
|
|
11960
|
-
let continuationToken = settings === null || settings ===
|
|
11960
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
11961
11961
|
if (!continuationToken) {
|
|
11962
11962
|
result = yield tslib.__await(this._listByCloudExadataInfrastructure(resourceGroupName, cloudexadatainfrastructurename, options));
|
|
11963
11963
|
let page = result.value || [];
|
|
@@ -12130,7 +12130,7 @@ class DbNodesImpl {
|
|
|
12130
12130
|
return this;
|
|
12131
12131
|
},
|
|
12132
12132
|
byPage: (settings) => {
|
|
12133
|
-
if (settings === null || settings ===
|
|
12133
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
12134
12134
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
12135
12135
|
}
|
|
12136
12136
|
return this.listByCloudVmClusterPagingPage(resourceGroupName, cloudvmclustername, options, settings);
|
|
@@ -12140,7 +12140,7 @@ class DbNodesImpl {
|
|
|
12140
12140
|
listByCloudVmClusterPagingPage(resourceGroupName, cloudvmclustername, options, settings) {
|
|
12141
12141
|
return tslib.__asyncGenerator(this, arguments, function* listByCloudVmClusterPagingPage_1() {
|
|
12142
12142
|
let result;
|
|
12143
|
-
let continuationToken = settings === null || settings ===
|
|
12143
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
12144
12144
|
if (!continuationToken) {
|
|
12145
12145
|
result = yield tslib.__await(this._listByCloudVmCluster(resourceGroupName, cloudvmclustername, options));
|
|
12146
12146
|
let page = result.value || [];
|
|
@@ -12205,17 +12205,17 @@ class DbNodesImpl {
|
|
|
12205
12205
|
* @param options The options parameters.
|
|
12206
12206
|
*/
|
|
12207
12207
|
beginAction(resourceGroupName, cloudvmclustername, dbnodeocid, body, options) {
|
|
12208
|
-
return tslib.__awaiter(this,
|
|
12209
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
12208
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12209
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12210
12210
|
return this.client.sendOperationRequest(args, spec);
|
|
12211
12211
|
});
|
|
12212
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
12212
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12213
12213
|
var _a;
|
|
12214
12214
|
let currentRawResponse = undefined;
|
|
12215
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
12215
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
12216
12216
|
const callback = (rawResponse, flatResponse) => {
|
|
12217
12217
|
currentRawResponse = rawResponse;
|
|
12218
|
-
providedCallback === null || providedCallback ===
|
|
12218
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
12219
12219
|
};
|
|
12220
12220
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
12221
12221
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -12240,8 +12240,8 @@ class DbNodesImpl {
|
|
|
12240
12240
|
spec: actionOperationSpec,
|
|
12241
12241
|
});
|
|
12242
12242
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
12243
|
-
restoreFrom: options === null || options ===
|
|
12244
|
-
intervalInMs: options === null || options ===
|
|
12243
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
12244
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
12245
12245
|
resourceLocationConfig: "location",
|
|
12246
12246
|
});
|
|
12247
12247
|
yield poller.poll();
|
|
@@ -12257,7 +12257,7 @@ class DbNodesImpl {
|
|
|
12257
12257
|
* @param options The options parameters.
|
|
12258
12258
|
*/
|
|
12259
12259
|
beginActionAndWait(resourceGroupName, cloudvmclustername, dbnodeocid, body, options) {
|
|
12260
|
-
return tslib.__awaiter(this,
|
|
12260
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12261
12261
|
const poller = yield this.beginAction(resourceGroupName, cloudvmclustername, dbnodeocid, body, options);
|
|
12262
12262
|
return poller.pollUntilDone();
|
|
12263
12263
|
});
|
|
@@ -12406,7 +12406,7 @@ class VirtualNetworkAddressesImpl {
|
|
|
12406
12406
|
return this;
|
|
12407
12407
|
},
|
|
12408
12408
|
byPage: (settings) => {
|
|
12409
|
-
if (settings === null || settings ===
|
|
12409
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
12410
12410
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
12411
12411
|
}
|
|
12412
12412
|
return this.listByCloudVmClusterPagingPage(resourceGroupName, cloudvmclustername, options, settings);
|
|
@@ -12416,7 +12416,7 @@ class VirtualNetworkAddressesImpl {
|
|
|
12416
12416
|
listByCloudVmClusterPagingPage(resourceGroupName, cloudvmclustername, options, settings) {
|
|
12417
12417
|
return tslib.__asyncGenerator(this, arguments, function* listByCloudVmClusterPagingPage_1() {
|
|
12418
12418
|
let result;
|
|
12419
|
-
let continuationToken = settings === null || settings ===
|
|
12419
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
12420
12420
|
if (!continuationToken) {
|
|
12421
12421
|
result = yield tslib.__await(this._listByCloudVmCluster(resourceGroupName, cloudvmclustername, options));
|
|
12422
12422
|
let page = result.value || [];
|
|
@@ -12486,17 +12486,17 @@ class VirtualNetworkAddressesImpl {
|
|
|
12486
12486
|
* @param options The options parameters.
|
|
12487
12487
|
*/
|
|
12488
12488
|
beginCreateOrUpdate(resourceGroupName, cloudvmclustername, virtualnetworkaddressname, resource, options) {
|
|
12489
|
-
return tslib.__awaiter(this,
|
|
12490
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
12489
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12490
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12491
12491
|
return this.client.sendOperationRequest(args, spec);
|
|
12492
12492
|
});
|
|
12493
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
12493
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12494
12494
|
var _a;
|
|
12495
12495
|
let currentRawResponse = undefined;
|
|
12496
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
12496
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
12497
12497
|
const callback = (rawResponse, flatResponse) => {
|
|
12498
12498
|
currentRawResponse = rawResponse;
|
|
12499
|
-
providedCallback === null || providedCallback ===
|
|
12499
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
12500
12500
|
};
|
|
12501
12501
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
12502
12502
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -12521,8 +12521,8 @@ class VirtualNetworkAddressesImpl {
|
|
|
12521
12521
|
spec: createOrUpdateOperationSpec,
|
|
12522
12522
|
});
|
|
12523
12523
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
12524
|
-
restoreFrom: options === null || options ===
|
|
12525
|
-
intervalInMs: options === null || options ===
|
|
12524
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
12525
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
12526
12526
|
resourceLocationConfig: "azure-async-operation",
|
|
12527
12527
|
});
|
|
12528
12528
|
yield poller.poll();
|
|
@@ -12538,7 +12538,7 @@ class VirtualNetworkAddressesImpl {
|
|
|
12538
12538
|
* @param options The options parameters.
|
|
12539
12539
|
*/
|
|
12540
12540
|
beginCreateOrUpdateAndWait(resourceGroupName, cloudvmclustername, virtualnetworkaddressname, resource, options) {
|
|
12541
|
-
return tslib.__awaiter(this,
|
|
12541
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12542
12542
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, cloudvmclustername, virtualnetworkaddressname, resource, options);
|
|
12543
12543
|
return poller.pollUntilDone();
|
|
12544
12544
|
});
|
|
@@ -12551,17 +12551,17 @@ class VirtualNetworkAddressesImpl {
|
|
|
12551
12551
|
* @param options The options parameters.
|
|
12552
12552
|
*/
|
|
12553
12553
|
beginDelete(resourceGroupName, cloudvmclustername, virtualnetworkaddressname, options) {
|
|
12554
|
-
return tslib.__awaiter(this,
|
|
12555
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
12554
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12555
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12556
12556
|
return this.client.sendOperationRequest(args, spec);
|
|
12557
12557
|
});
|
|
12558
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
12558
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12559
12559
|
var _a;
|
|
12560
12560
|
let currentRawResponse = undefined;
|
|
12561
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
12561
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
12562
12562
|
const callback = (rawResponse, flatResponse) => {
|
|
12563
12563
|
currentRawResponse = rawResponse;
|
|
12564
|
-
providedCallback === null || providedCallback ===
|
|
12564
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
12565
12565
|
};
|
|
12566
12566
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
12567
12567
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -12585,8 +12585,8 @@ class VirtualNetworkAddressesImpl {
|
|
|
12585
12585
|
spec: deleteOperationSpec,
|
|
12586
12586
|
});
|
|
12587
12587
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
12588
|
-
restoreFrom: options === null || options ===
|
|
12589
|
-
intervalInMs: options === null || options ===
|
|
12588
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
12589
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
12590
12590
|
resourceLocationConfig: "location",
|
|
12591
12591
|
});
|
|
12592
12592
|
yield poller.poll();
|
|
@@ -12601,7 +12601,7 @@ class VirtualNetworkAddressesImpl {
|
|
|
12601
12601
|
* @param options The options parameters.
|
|
12602
12602
|
*/
|
|
12603
12603
|
beginDeleteAndWait(resourceGroupName, cloudvmclustername, virtualnetworkaddressname, options) {
|
|
12604
|
-
return tslib.__awaiter(this,
|
|
12604
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12605
12605
|
const poller = yield this.beginDelete(resourceGroupName, cloudvmclustername, virtualnetworkaddressname, options);
|
|
12606
12606
|
return poller.pollUntilDone();
|
|
12607
12607
|
});
|
|
@@ -12784,10 +12784,10 @@ class OracleDatabaseManagementClient extends coreClient__namespace.ServiceClient
|
|
|
12784
12784
|
: `${packageDetails}`;
|
|
12785
12785
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
12786
12786
|
userAgentPrefix,
|
|
12787
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !==
|
|
12787
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
12788
12788
|
super(optionsWithDefaults);
|
|
12789
12789
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
12790
|
-
if ((options === null || options ===
|
|
12790
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
12791
12791
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
12792
12792
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
12793
12793
|
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
@@ -12801,7 +12801,7 @@ class OracleDatabaseManagementClient extends coreClient__namespace.ServiceClient
|
|
|
12801
12801
|
});
|
|
12802
12802
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
12803
12803
|
credential: credentials,
|
|
12804
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !==
|
|
12804
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
12805
12805
|
challengeCallbacks: {
|
|
12806
12806
|
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
12807
12807
|
},
|
|
@@ -12841,7 +12841,7 @@ class OracleDatabaseManagementClient extends coreClient__namespace.ServiceClient
|
|
|
12841
12841
|
const apiVersionPolicy = {
|
|
12842
12842
|
name: "CustomApiVersionPolicy",
|
|
12843
12843
|
sendRequest(request, next) {
|
|
12844
|
-
return tslib.__awaiter(this,
|
|
12844
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
12845
12845
|
const param = request.url.split("?");
|
|
12846
12846
|
if (param.length > 1) {
|
|
12847
12847
|
const newParams = param[1].split("&").map((item) => {
|