@azure/arm-synapse 9.0.0-alpha.20250103.1 → 9.0.0-alpha.20250107.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 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 === void 0 ? void 0 : _a.continuationToken;
50
+ return (_a = pageMap.get(page)) === null || _a === undefined ? undefined : _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 !== void 0 ? _a : {};
57
+ const pageInfo = (_a = pageMap.get(page)) !== null && _a !== undefined ? _a : {};
58
58
  pageInfo.continuationToken = continuationToken;
59
59
  pageMap.set(page, pageInfo);
60
60
  }
@@ -10836,12 +10836,12 @@ class LroImpl {
10836
10836
  this.requestMethod = requestMethod;
10837
10837
  }
10838
10838
  sendInitialRequest() {
10839
- return tslib.__awaiter(this, void 0, void 0, function* () {
10839
+ return tslib.__awaiter(this, undefined, undefined, function* () {
10840
10840
  return this.sendOperationFn(this.args, this.spec);
10841
10841
  });
10842
10842
  }
10843
10843
  sendPollRequest(path) {
10844
- return tslib.__awaiter(this, void 0, void 0, function* () {
10844
+ return tslib.__awaiter(this, undefined, undefined, function* () {
10845
10845
  const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
10846
10846
  return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
10847
10847
  });
@@ -10881,7 +10881,7 @@ class AzureADOnlyAuthenticationsImpl {
10881
10881
  return this;
10882
10882
  },
10883
10883
  byPage: (settings) => {
10884
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
10884
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
10885
10885
  throw new Error("maxPageSize is not supported by this operation.");
10886
10886
  }
10887
10887
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -10891,7 +10891,7 @@ class AzureADOnlyAuthenticationsImpl {
10891
10891
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
10892
10892
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
10893
10893
  let result;
10894
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
10894
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
10895
10895
  if (!continuationToken) {
10896
10896
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
10897
10897
  let page = result.value || [];
@@ -10952,17 +10952,17 @@ class AzureADOnlyAuthenticationsImpl {
10952
10952
  * @param options The options parameters.
10953
10953
  */
10954
10954
  beginCreate(resourceGroupName, workspaceName, azureADOnlyAuthenticationName, azureADOnlyAuthenticationInfo, options) {
10955
- return tslib.__awaiter(this, void 0, void 0, function* () {
10956
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
10955
+ return tslib.__awaiter(this, undefined, undefined, function* () {
10956
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
10957
10957
  return this.client.sendOperationRequest(args, spec);
10958
10958
  });
10959
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
10959
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
10960
10960
  var _a;
10961
10961
  let currentRawResponse = undefined;
10962
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
10962
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
10963
10963
  const callback = (rawResponse, flatResponse) => {
10964
10964
  currentRawResponse = rawResponse;
10965
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
10965
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
10966
10966
  };
10967
10967
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
10968
10968
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -10983,8 +10983,8 @@ class AzureADOnlyAuthenticationsImpl {
10983
10983
  options
10984
10984
  }, createOperationSpec$5);
10985
10985
  const poller = new coreLro.LroEngine(lro, {
10986
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
10987
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
10986
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
10987
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
10988
10988
  lroResourceLocationConfig: "location"
10989
10989
  });
10990
10990
  yield poller.poll();
@@ -11000,7 +11000,7 @@ class AzureADOnlyAuthenticationsImpl {
11000
11000
  * @param options The options parameters.
11001
11001
  */
11002
11002
  beginCreateAndWait(resourceGroupName, workspaceName, azureADOnlyAuthenticationName, azureADOnlyAuthenticationInfo, options) {
11003
- return tslib.__awaiter(this, void 0, void 0, function* () {
11003
+ return tslib.__awaiter(this, undefined, undefined, function* () {
11004
11004
  const poller = yield this.beginCreate(resourceGroupName, workspaceName, azureADOnlyAuthenticationName, azureADOnlyAuthenticationInfo, options);
11005
11005
  return poller.pollUntilDone();
11006
11006
  });
@@ -11299,7 +11299,7 @@ class IpFirewallRulesImpl {
11299
11299
  return this;
11300
11300
  },
11301
11301
  byPage: (settings) => {
11302
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
11302
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
11303
11303
  throw new Error("maxPageSize is not supported by this operation.");
11304
11304
  }
11305
11305
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -11309,7 +11309,7 @@ class IpFirewallRulesImpl {
11309
11309
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
11310
11310
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
11311
11311
  let result;
11312
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
11312
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
11313
11313
  if (!continuationToken) {
11314
11314
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
11315
11315
  let page = result.value || [];
@@ -11364,17 +11364,17 @@ class IpFirewallRulesImpl {
11364
11364
  * @param options The options parameters.
11365
11365
  */
11366
11366
  beginCreateOrUpdate(resourceGroupName, workspaceName, ruleName, ipFirewallRuleInfo, options) {
11367
- return tslib.__awaiter(this, void 0, void 0, function* () {
11368
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
11367
+ return tslib.__awaiter(this, undefined, undefined, function* () {
11368
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
11369
11369
  return this.client.sendOperationRequest(args, spec);
11370
11370
  });
11371
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
11371
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
11372
11372
  var _a;
11373
11373
  let currentRawResponse = undefined;
11374
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
11374
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
11375
11375
  const callback = (rawResponse, flatResponse) => {
11376
11376
  currentRawResponse = rawResponse;
11377
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
11377
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
11378
11378
  };
11379
11379
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
11380
11380
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -11395,8 +11395,8 @@ class IpFirewallRulesImpl {
11395
11395
  options
11396
11396
  }, createOrUpdateOperationSpec$v);
11397
11397
  const poller = new coreLro.LroEngine(lro, {
11398
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
11399
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
11398
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
11399
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
11400
11400
  lroResourceLocationConfig: "location"
11401
11401
  });
11402
11402
  yield poller.poll();
@@ -11412,7 +11412,7 @@ class IpFirewallRulesImpl {
11412
11412
  * @param options The options parameters.
11413
11413
  */
11414
11414
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, ruleName, ipFirewallRuleInfo, options) {
11415
- return tslib.__awaiter(this, void 0, void 0, function* () {
11415
+ return tslib.__awaiter(this, undefined, undefined, function* () {
11416
11416
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, ruleName, ipFirewallRuleInfo, options);
11417
11417
  return poller.pollUntilDone();
11418
11418
  });
@@ -11425,17 +11425,17 @@ class IpFirewallRulesImpl {
11425
11425
  * @param options The options parameters.
11426
11426
  */
11427
11427
  beginDelete(resourceGroupName, workspaceName, ruleName, options) {
11428
- return tslib.__awaiter(this, void 0, void 0, function* () {
11429
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
11428
+ return tslib.__awaiter(this, undefined, undefined, function* () {
11429
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
11430
11430
  return this.client.sendOperationRequest(args, spec);
11431
11431
  });
11432
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
11432
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
11433
11433
  var _a;
11434
11434
  let currentRawResponse = undefined;
11435
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
11435
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
11436
11436
  const callback = (rawResponse, flatResponse) => {
11437
11437
  currentRawResponse = rawResponse;
11438
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
11438
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
11439
11439
  };
11440
11440
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
11441
11441
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -11450,8 +11450,8 @@ class IpFirewallRulesImpl {
11450
11450
  });
11451
11451
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, ruleName, options }, deleteOperationSpec$n);
11452
11452
  const poller = new coreLro.LroEngine(lro, {
11453
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
11454
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
11453
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
11454
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
11455
11455
  lroResourceLocationConfig: "location"
11456
11456
  });
11457
11457
  yield poller.poll();
@@ -11466,7 +11466,7 @@ class IpFirewallRulesImpl {
11466
11466
  * @param options The options parameters.
11467
11467
  */
11468
11468
  beginDeleteAndWait(resourceGroupName, workspaceName, ruleName, options) {
11469
- return tslib.__awaiter(this, void 0, void 0, function* () {
11469
+ return tslib.__awaiter(this, undefined, undefined, function* () {
11470
11470
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, ruleName, options);
11471
11471
  return poller.pollUntilDone();
11472
11472
  });
@@ -11489,17 +11489,17 @@ class IpFirewallRulesImpl {
11489
11489
  * @param options The options parameters.
11490
11490
  */
11491
11491
  beginReplaceAll(resourceGroupName, workspaceName, request, options) {
11492
- return tslib.__awaiter(this, void 0, void 0, function* () {
11493
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
11492
+ return tslib.__awaiter(this, undefined, undefined, function* () {
11493
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
11494
11494
  return this.client.sendOperationRequest(args, spec);
11495
11495
  });
11496
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
11496
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
11497
11497
  var _a;
11498
11498
  let currentRawResponse = undefined;
11499
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
11499
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
11500
11500
  const callback = (rawResponse, flatResponse) => {
11501
11501
  currentRawResponse = rawResponse;
11502
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
11502
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
11503
11503
  };
11504
11504
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
11505
11505
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -11514,8 +11514,8 @@ class IpFirewallRulesImpl {
11514
11514
  });
11515
11515
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, request, options }, replaceAllOperationSpec);
11516
11516
  const poller = new coreLro.LroEngine(lro, {
11517
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
11518
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
11517
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
11518
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
11519
11519
  lroResourceLocationConfig: "location"
11520
11520
  });
11521
11521
  yield poller.poll();
@@ -11530,7 +11530,7 @@ class IpFirewallRulesImpl {
11530
11530
  * @param options The options parameters.
11531
11531
  */
11532
11532
  beginReplaceAllAndWait(resourceGroupName, workspaceName, request, options) {
11533
- return tslib.__awaiter(this, void 0, void 0, function* () {
11533
+ return tslib.__awaiter(this, undefined, undefined, function* () {
11534
11534
  const poller = yield this.beginReplaceAll(resourceGroupName, workspaceName, request, options);
11535
11535
  return poller.pollUntilDone();
11536
11536
  });
@@ -11742,7 +11742,7 @@ class KeysImpl {
11742
11742
  return this;
11743
11743
  },
11744
11744
  byPage: (settings) => {
11745
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
11745
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
11746
11746
  throw new Error("maxPageSize is not supported by this operation.");
11747
11747
  }
11748
11748
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -11752,7 +11752,7 @@ class KeysImpl {
11752
11752
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
11753
11753
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
11754
11754
  let result;
11755
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
11755
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
11756
11756
  if (!continuationToken) {
11757
11757
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
11758
11758
  let page = result.value || [];
@@ -11987,7 +11987,7 @@ class PrivateEndpointConnectionsImpl {
11987
11987
  return this;
11988
11988
  },
11989
11989
  byPage: (settings) => {
11990
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
11990
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
11991
11991
  throw new Error("maxPageSize is not supported by this operation.");
11992
11992
  }
11993
11993
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -11997,7 +11997,7 @@ class PrivateEndpointConnectionsImpl {
11997
11997
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
11998
11998
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
11999
11999
  let result;
12000
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
12000
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
12001
12001
  if (!continuationToken) {
12002
12002
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
12003
12003
  let page = result.value || [];
@@ -12058,17 +12058,17 @@ class PrivateEndpointConnectionsImpl {
12058
12058
  * @param options The options parameters.
12059
12059
  */
12060
12060
  beginCreate(resourceGroupName, workspaceName, privateEndpointConnectionName, request, options) {
12061
- return tslib.__awaiter(this, void 0, void 0, function* () {
12062
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
12061
+ return tslib.__awaiter(this, undefined, undefined, function* () {
12062
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
12063
12063
  return this.client.sendOperationRequest(args, spec);
12064
12064
  });
12065
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
12065
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
12066
12066
  var _a;
12067
12067
  let currentRawResponse = undefined;
12068
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
12068
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
12069
12069
  const callback = (rawResponse, flatResponse) => {
12070
12070
  currentRawResponse = rawResponse;
12071
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
12071
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
12072
12072
  };
12073
12073
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
12074
12074
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -12089,8 +12089,8 @@ class PrivateEndpointConnectionsImpl {
12089
12089
  options
12090
12090
  }, createOperationSpec$4);
12091
12091
  const poller = new coreLro.LroEngine(lro, {
12092
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
12093
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
12092
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
12093
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
12094
12094
  lroResourceLocationConfig: "azure-async-operation"
12095
12095
  });
12096
12096
  yield poller.poll();
@@ -12106,7 +12106,7 @@ class PrivateEndpointConnectionsImpl {
12106
12106
  * @param options The options parameters.
12107
12107
  */
12108
12108
  beginCreateAndWait(resourceGroupName, workspaceName, privateEndpointConnectionName, request, options) {
12109
- return tslib.__awaiter(this, void 0, void 0, function* () {
12109
+ return tslib.__awaiter(this, undefined, undefined, function* () {
12110
12110
  const poller = yield this.beginCreate(resourceGroupName, workspaceName, privateEndpointConnectionName, request, options);
12111
12111
  return poller.pollUntilDone();
12112
12112
  });
@@ -12119,17 +12119,17 @@ class PrivateEndpointConnectionsImpl {
12119
12119
  * @param options The options parameters.
12120
12120
  */
12121
12121
  beginDelete(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
12122
- return tslib.__awaiter(this, void 0, void 0, function* () {
12123
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
12122
+ return tslib.__awaiter(this, undefined, undefined, function* () {
12123
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
12124
12124
  return this.client.sendOperationRequest(args, spec);
12125
12125
  });
12126
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
12126
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
12127
12127
  var _a;
12128
12128
  let currentRawResponse = undefined;
12129
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
12129
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
12130
12130
  const callback = (rawResponse, flatResponse) => {
12131
12131
  currentRawResponse = rawResponse;
12132
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
12132
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
12133
12133
  };
12134
12134
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
12135
12135
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -12149,8 +12149,8 @@ class PrivateEndpointConnectionsImpl {
12149
12149
  options
12150
12150
  }, deleteOperationSpec$l);
12151
12151
  const poller = new coreLro.LroEngine(lro, {
12152
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
12153
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
12152
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
12153
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
12154
12154
  });
12155
12155
  yield poller.poll();
12156
12156
  return poller;
@@ -12164,7 +12164,7 @@ class PrivateEndpointConnectionsImpl {
12164
12164
  * @param options The options parameters.
12165
12165
  */
12166
12166
  beginDeleteAndWait(resourceGroupName, workspaceName, privateEndpointConnectionName, options) {
12167
- return tslib.__awaiter(this, void 0, void 0, function* () {
12167
+ return tslib.__awaiter(this, undefined, undefined, function* () {
12168
12168
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, privateEndpointConnectionName, options);
12169
12169
  return poller.pollUntilDone();
12170
12170
  });
@@ -12345,7 +12345,7 @@ class PrivateLinkResourcesOperationsImpl {
12345
12345
  return this;
12346
12346
  },
12347
12347
  byPage: (settings) => {
12348
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
12348
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
12349
12349
  throw new Error("maxPageSize is not supported by this operation.");
12350
12350
  }
12351
12351
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -12355,7 +12355,7 @@ class PrivateLinkResourcesOperationsImpl {
12355
12355
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
12356
12356
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
12357
12357
  let result;
12358
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
12358
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
12359
12359
  if (!continuationToken) {
12360
12360
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
12361
12361
  let page = result.value || [];
@@ -12522,7 +12522,7 @@ class PrivateLinkHubPrivateLinkResourcesImpl {
12522
12522
  return this;
12523
12523
  },
12524
12524
  byPage: (settings) => {
12525
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
12525
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
12526
12526
  throw new Error("maxPageSize is not supported by this operation.");
12527
12527
  }
12528
12528
  return this.listPagingPage(resourceGroupName, privateLinkHubName, options, settings);
@@ -12532,7 +12532,7 @@ class PrivateLinkHubPrivateLinkResourcesImpl {
12532
12532
  listPagingPage(resourceGroupName, privateLinkHubName, options, settings) {
12533
12533
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
12534
12534
  let result;
12535
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
12535
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
12536
12536
  if (!continuationToken) {
12537
12537
  result = yield tslib.__await(this._list(resourceGroupName, privateLinkHubName, options));
12538
12538
  let page = result.value || [];
@@ -12703,7 +12703,7 @@ class PrivateLinkHubsImpl {
12703
12703
  return this;
12704
12704
  },
12705
12705
  byPage: (settings) => {
12706
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
12706
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
12707
12707
  throw new Error("maxPageSize is not supported by this operation.");
12708
12708
  }
12709
12709
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
@@ -12713,7 +12713,7 @@ class PrivateLinkHubsImpl {
12713
12713
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
12714
12714
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
12715
12715
  let result;
12716
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
12716
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
12717
12717
  if (!continuationToken) {
12718
12718
  result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
12719
12719
  let page = result.value || [];
@@ -12764,7 +12764,7 @@ class PrivateLinkHubsImpl {
12764
12764
  return this;
12765
12765
  },
12766
12766
  byPage: (settings) => {
12767
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
12767
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
12768
12768
  throw new Error("maxPageSize is not supported by this operation.");
12769
12769
  }
12770
12770
  return this.listPagingPage(options, settings);
@@ -12774,7 +12774,7 @@ class PrivateLinkHubsImpl {
12774
12774
  listPagingPage(options, settings) {
12775
12775
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
12776
12776
  let result;
12777
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
12777
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
12778
12778
  if (!continuationToken) {
12779
12779
  result = yield tslib.__await(this._list(options));
12780
12780
  let page = result.value || [];
@@ -12860,17 +12860,17 @@ class PrivateLinkHubsImpl {
12860
12860
  * @param options The options parameters.
12861
12861
  */
12862
12862
  beginDelete(resourceGroupName, privateLinkHubName, options) {
12863
- return tslib.__awaiter(this, void 0, void 0, function* () {
12864
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
12863
+ return tslib.__awaiter(this, undefined, undefined, function* () {
12864
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
12865
12865
  return this.client.sendOperationRequest(args, spec);
12866
12866
  });
12867
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
12867
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
12868
12868
  var _a;
12869
12869
  let currentRawResponse = undefined;
12870
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
12870
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
12871
12871
  const callback = (rawResponse, flatResponse) => {
12872
12872
  currentRawResponse = rawResponse;
12873
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
12873
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
12874
12874
  };
12875
12875
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
12876
12876
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -12885,8 +12885,8 @@ class PrivateLinkHubsImpl {
12885
12885
  });
12886
12886
  const lro = new LroImpl(sendOperation, { resourceGroupName, privateLinkHubName, options }, deleteOperationSpec$k);
12887
12887
  const poller = new coreLro.LroEngine(lro, {
12888
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
12889
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
12888
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
12889
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
12890
12890
  });
12891
12891
  yield poller.poll();
12892
12892
  return poller;
@@ -12899,7 +12899,7 @@ class PrivateLinkHubsImpl {
12899
12899
  * @param options The options parameters.
12900
12900
  */
12901
12901
  beginDeleteAndWait(resourceGroupName, privateLinkHubName, options) {
12902
- return tslib.__awaiter(this, void 0, void 0, function* () {
12902
+ return tslib.__awaiter(this, undefined, undefined, function* () {
12903
12903
  const poller = yield this.beginDelete(resourceGroupName, privateLinkHubName, options);
12904
12904
  return poller.pollUntilDone();
12905
12905
  });
@@ -13135,7 +13135,7 @@ class PrivateEndpointConnectionsPrivateLinkHubImpl {
13135
13135
  return this;
13136
13136
  },
13137
13137
  byPage: (settings) => {
13138
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
13138
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
13139
13139
  throw new Error("maxPageSize is not supported by this operation.");
13140
13140
  }
13141
13141
  return this.listPagingPage(resourceGroupName, privateLinkHubName, options, settings);
@@ -13145,7 +13145,7 @@ class PrivateEndpointConnectionsPrivateLinkHubImpl {
13145
13145
  listPagingPage(resourceGroupName, privateLinkHubName, options, settings) {
13146
13146
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
13147
13147
  let result;
13148
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
13148
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
13149
13149
  if (!continuationToken) {
13150
13150
  result = yield tslib.__await(this._list(resourceGroupName, privateLinkHubName, options));
13151
13151
  let page = result.value || [];
@@ -13317,7 +13317,7 @@ class SqlPoolsImpl {
13317
13317
  return this;
13318
13318
  },
13319
13319
  byPage: (settings) => {
13320
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
13320
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
13321
13321
  throw new Error("maxPageSize is not supported by this operation.");
13322
13322
  }
13323
13323
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -13327,7 +13327,7 @@ class SqlPoolsImpl {
13327
13327
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
13328
13328
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
13329
13329
  let result;
13330
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
13330
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
13331
13331
  if (!continuationToken) {
13332
13332
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
13333
13333
  let page = result.value || [];
@@ -13383,17 +13383,17 @@ class SqlPoolsImpl {
13383
13383
  * @param options The options parameters.
13384
13384
  */
13385
13385
  beginUpdate(resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options) {
13386
- return tslib.__awaiter(this, void 0, void 0, function* () {
13387
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13386
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13387
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13388
13388
  return this.client.sendOperationRequest(args, spec);
13389
13389
  });
13390
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13390
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13391
13391
  var _a;
13392
13392
  let currentRawResponse = undefined;
13393
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
13393
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
13394
13394
  const callback = (rawResponse, flatResponse) => {
13395
13395
  currentRawResponse = rawResponse;
13396
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
13396
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
13397
13397
  };
13398
13398
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
13399
13399
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -13408,8 +13408,8 @@ class SqlPoolsImpl {
13408
13408
  });
13409
13409
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options }, updateOperationSpec$a);
13410
13410
  const poller = new coreLro.LroEngine(lro, {
13411
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
13412
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
13411
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
13412
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
13413
13413
  });
13414
13414
  yield poller.poll();
13415
13415
  return poller;
@@ -13424,7 +13424,7 @@ class SqlPoolsImpl {
13424
13424
  * @param options The options parameters.
13425
13425
  */
13426
13426
  beginUpdateAndWait(resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options) {
13427
- return tslib.__awaiter(this, void 0, void 0, function* () {
13427
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13428
13428
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options);
13429
13429
  return poller.pollUntilDone();
13430
13430
  });
@@ -13438,17 +13438,17 @@ class SqlPoolsImpl {
13438
13438
  * @param options The options parameters.
13439
13439
  */
13440
13440
  beginCreate(resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options) {
13441
- return tslib.__awaiter(this, void 0, void 0, function* () {
13442
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13441
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13442
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13443
13443
  return this.client.sendOperationRequest(args, spec);
13444
13444
  });
13445
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13445
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13446
13446
  var _a;
13447
13447
  let currentRawResponse = undefined;
13448
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
13448
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
13449
13449
  const callback = (rawResponse, flatResponse) => {
13450
13450
  currentRawResponse = rawResponse;
13451
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
13451
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
13452
13452
  };
13453
13453
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
13454
13454
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -13463,8 +13463,8 @@ class SqlPoolsImpl {
13463
13463
  });
13464
13464
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options }, createOperationSpec$3);
13465
13465
  const poller = new coreLro.LroEngine(lro, {
13466
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
13467
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
13466
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
13467
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
13468
13468
  lroResourceLocationConfig: "location"
13469
13469
  });
13470
13470
  yield poller.poll();
@@ -13480,7 +13480,7 @@ class SqlPoolsImpl {
13480
13480
  * @param options The options parameters.
13481
13481
  */
13482
13482
  beginCreateAndWait(resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options) {
13483
- return tslib.__awaiter(this, void 0, void 0, function* () {
13483
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13484
13484
  const poller = yield this.beginCreate(resourceGroupName, workspaceName, sqlPoolName, sqlPoolInfo, options);
13485
13485
  return poller.pollUntilDone();
13486
13486
  });
@@ -13493,17 +13493,17 @@ class SqlPoolsImpl {
13493
13493
  * @param options The options parameters.
13494
13494
  */
13495
13495
  beginDelete(resourceGroupName, workspaceName, sqlPoolName, options) {
13496
- return tslib.__awaiter(this, void 0, void 0, function* () {
13497
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13496
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13497
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13498
13498
  return this.client.sendOperationRequest(args, spec);
13499
13499
  });
13500
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13500
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13501
13501
  var _a;
13502
13502
  let currentRawResponse = undefined;
13503
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
13503
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
13504
13504
  const callback = (rawResponse, flatResponse) => {
13505
13505
  currentRawResponse = rawResponse;
13506
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
13506
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
13507
13507
  };
13508
13508
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
13509
13509
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -13518,8 +13518,8 @@ class SqlPoolsImpl {
13518
13518
  });
13519
13519
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, sqlPoolName, options }, deleteOperationSpec$j);
13520
13520
  const poller = new coreLro.LroEngine(lro, {
13521
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
13522
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
13521
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
13522
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
13523
13523
  lroResourceLocationConfig: "location"
13524
13524
  });
13525
13525
  yield poller.poll();
@@ -13534,7 +13534,7 @@ class SqlPoolsImpl {
13534
13534
  * @param options The options parameters.
13535
13535
  */
13536
13536
  beginDeleteAndWait(resourceGroupName, workspaceName, sqlPoolName, options) {
13537
- return tslib.__awaiter(this, void 0, void 0, function* () {
13537
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13538
13538
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, sqlPoolName, options);
13539
13539
  return poller.pollUntilDone();
13540
13540
  });
@@ -13556,17 +13556,17 @@ class SqlPoolsImpl {
13556
13556
  * @param options The options parameters.
13557
13557
  */
13558
13558
  beginPause(resourceGroupName, workspaceName, sqlPoolName, options) {
13559
- return tslib.__awaiter(this, void 0, void 0, function* () {
13560
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13559
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13560
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13561
13561
  return this.client.sendOperationRequest(args, spec);
13562
13562
  });
13563
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13563
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13564
13564
  var _a;
13565
13565
  let currentRawResponse = undefined;
13566
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
13566
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
13567
13567
  const callback = (rawResponse, flatResponse) => {
13568
13568
  currentRawResponse = rawResponse;
13569
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
13569
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
13570
13570
  };
13571
13571
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
13572
13572
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -13581,8 +13581,8 @@ class SqlPoolsImpl {
13581
13581
  });
13582
13582
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, sqlPoolName, options }, pauseOperationSpec);
13583
13583
  const poller = new coreLro.LroEngine(lro, {
13584
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
13585
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
13584
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
13585
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
13586
13586
  lroResourceLocationConfig: "location"
13587
13587
  });
13588
13588
  yield poller.poll();
@@ -13597,7 +13597,7 @@ class SqlPoolsImpl {
13597
13597
  * @param options The options parameters.
13598
13598
  */
13599
13599
  beginPauseAndWait(resourceGroupName, workspaceName, sqlPoolName, options) {
13600
- return tslib.__awaiter(this, void 0, void 0, function* () {
13600
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13601
13601
  const poller = yield this.beginPause(resourceGroupName, workspaceName, sqlPoolName, options);
13602
13602
  return poller.pollUntilDone();
13603
13603
  });
@@ -13610,17 +13610,17 @@ class SqlPoolsImpl {
13610
13610
  * @param options The options parameters.
13611
13611
  */
13612
13612
  beginResume(resourceGroupName, workspaceName, sqlPoolName, options) {
13613
- return tslib.__awaiter(this, void 0, void 0, function* () {
13614
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13613
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13614
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13615
13615
  return this.client.sendOperationRequest(args, spec);
13616
13616
  });
13617
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
13617
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
13618
13618
  var _a;
13619
13619
  let currentRawResponse = undefined;
13620
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
13620
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
13621
13621
  const callback = (rawResponse, flatResponse) => {
13622
13622
  currentRawResponse = rawResponse;
13623
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
13623
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
13624
13624
  };
13625
13625
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
13626
13626
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -13635,8 +13635,8 @@ class SqlPoolsImpl {
13635
13635
  });
13636
13636
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, sqlPoolName, options }, resumeOperationSpec);
13637
13637
  const poller = new coreLro.LroEngine(lro, {
13638
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
13639
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
13638
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
13639
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
13640
13640
  lroResourceLocationConfig: "location"
13641
13641
  });
13642
13642
  yield poller.poll();
@@ -13651,7 +13651,7 @@ class SqlPoolsImpl {
13651
13651
  * @param options The options parameters.
13652
13652
  */
13653
13653
  beginResumeAndWait(resourceGroupName, workspaceName, sqlPoolName, options) {
13654
- return tslib.__awaiter(this, void 0, void 0, function* () {
13654
+ return tslib.__awaiter(this, undefined, undefined, function* () {
13655
13655
  const poller = yield this.beginResume(resourceGroupName, workspaceName, sqlPoolName, options);
13656
13656
  return poller.pollUntilDone();
13657
13657
  });
@@ -14048,17 +14048,17 @@ class SqlPoolOperationResultsImpl {
14048
14048
  * @param options The options parameters.
14049
14049
  */
14050
14050
  beginGetLocationHeaderResult(resourceGroupName, workspaceName, sqlPoolName, operationId, options) {
14051
- return tslib.__awaiter(this, void 0, void 0, function* () {
14052
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
14051
+ return tslib.__awaiter(this, undefined, undefined, function* () {
14052
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
14053
14053
  return this.client.sendOperationRequest(args, spec);
14054
14054
  });
14055
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
14055
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
14056
14056
  var _a;
14057
14057
  let currentRawResponse = undefined;
14058
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
14058
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
14059
14059
  const callback = (rawResponse, flatResponse) => {
14060
14060
  currentRawResponse = rawResponse;
14061
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
14061
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
14062
14062
  };
14063
14063
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
14064
14064
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -14073,8 +14073,8 @@ class SqlPoolOperationResultsImpl {
14073
14073
  });
14074
14074
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, sqlPoolName, operationId, options }, getLocationHeaderResultOperationSpec);
14075
14075
  const poller = new coreLro.LroEngine(lro, {
14076
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
14077
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
14076
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
14077
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
14078
14078
  });
14079
14079
  yield poller.poll();
14080
14080
  return poller;
@@ -14089,7 +14089,7 @@ class SqlPoolOperationResultsImpl {
14089
14089
  * @param options The options parameters.
14090
14090
  */
14091
14091
  beginGetLocationHeaderResultAndWait(resourceGroupName, workspaceName, sqlPoolName, operationId, options) {
14092
- return tslib.__awaiter(this, void 0, void 0, function* () {
14092
+ return tslib.__awaiter(this, undefined, undefined, function* () {
14093
14093
  const poller = yield this.beginGetLocationHeaderResult(resourceGroupName, workspaceName, sqlPoolName, operationId, options);
14094
14094
  return poller.pollUntilDone();
14095
14095
  });
@@ -14164,7 +14164,7 @@ class SqlPoolGeoBackupPoliciesImpl {
14164
14164
  return this;
14165
14165
  },
14166
14166
  byPage: (settings) => {
14167
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
14167
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
14168
14168
  throw new Error("maxPageSize is not supported by this operation.");
14169
14169
  }
14170
14170
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -14413,7 +14413,7 @@ class SqlPoolRestorePointsImpl {
14413
14413
  return this;
14414
14414
  },
14415
14415
  byPage: (settings) => {
14416
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
14416
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
14417
14417
  throw new Error("maxPageSize is not supported by this operation.");
14418
14418
  }
14419
14419
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -14423,7 +14423,7 @@ class SqlPoolRestorePointsImpl {
14423
14423
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
14424
14424
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
14425
14425
  let result;
14426
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
14426
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
14427
14427
  if (!continuationToken) {
14428
14428
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
14429
14429
  let page = result.value || [];
@@ -14479,17 +14479,17 @@ class SqlPoolRestorePointsImpl {
14479
14479
  * @param options The options parameters.
14480
14480
  */
14481
14481
  beginCreate(resourceGroupName, workspaceName, sqlPoolName, parameters, options) {
14482
- return tslib.__awaiter(this, void 0, void 0, function* () {
14483
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
14482
+ return tslib.__awaiter(this, undefined, undefined, function* () {
14483
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
14484
14484
  return this.client.sendOperationRequest(args, spec);
14485
14485
  });
14486
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
14486
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
14487
14487
  var _a;
14488
14488
  let currentRawResponse = undefined;
14489
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
14489
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
14490
14490
  const callback = (rawResponse, flatResponse) => {
14491
14491
  currentRawResponse = rawResponse;
14492
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
14492
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
14493
14493
  };
14494
14494
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
14495
14495
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -14504,8 +14504,8 @@ class SqlPoolRestorePointsImpl {
14504
14504
  });
14505
14505
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, sqlPoolName, parameters, options }, createOperationSpec$1);
14506
14506
  const poller = new coreLro.LroEngine(lro, {
14507
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
14508
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
14507
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
14508
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
14509
14509
  lroResourceLocationConfig: "location"
14510
14510
  });
14511
14511
  yield poller.poll();
@@ -14521,7 +14521,7 @@ class SqlPoolRestorePointsImpl {
14521
14521
  * @param options The options parameters.
14522
14522
  */
14523
14523
  beginCreateAndWait(resourceGroupName, workspaceName, sqlPoolName, parameters, options) {
14524
- return tslib.__awaiter(this, void 0, void 0, function* () {
14524
+ return tslib.__awaiter(this, undefined, undefined, function* () {
14525
14525
  const poller = yield this.beginCreate(resourceGroupName, workspaceName, sqlPoolName, parameters, options);
14526
14526
  return poller.pollUntilDone();
14527
14527
  });
@@ -14720,7 +14720,7 @@ class SqlPoolReplicationLinksImpl {
14720
14720
  return this;
14721
14721
  },
14722
14722
  byPage: (settings) => {
14723
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
14723
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
14724
14724
  throw new Error("maxPageSize is not supported by this operation.");
14725
14725
  }
14726
14726
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -14730,7 +14730,7 @@ class SqlPoolReplicationLinksImpl {
14730
14730
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
14731
14731
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
14732
14732
  let result;
14733
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
14733
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
14734
14734
  if (!continuationToken) {
14735
14735
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
14736
14736
  let page = result.value || [];
@@ -15059,7 +15059,7 @@ class SqlPoolTransparentDataEncryptionsImpl {
15059
15059
  return this;
15060
15060
  },
15061
15061
  byPage: (settings) => {
15062
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
15062
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
15063
15063
  throw new Error("maxPageSize is not supported by this operation.");
15064
15064
  }
15065
15065
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -15069,7 +15069,7 @@ class SqlPoolTransparentDataEncryptionsImpl {
15069
15069
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
15070
15070
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
15071
15071
  let result;
15072
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
15072
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
15073
15073
  if (!continuationToken) {
15074
15074
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
15075
15075
  let page = result.value || [];
@@ -15292,7 +15292,7 @@ class SqlPoolBlobAuditingPoliciesImpl {
15292
15292
  return this;
15293
15293
  },
15294
15294
  byPage: (settings) => {
15295
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
15295
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
15296
15296
  throw new Error("maxPageSize is not supported by this operation.");
15297
15297
  }
15298
15298
  return this.listBySqlPoolPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -15302,7 +15302,7 @@ class SqlPoolBlobAuditingPoliciesImpl {
15302
15302
  listBySqlPoolPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
15303
15303
  return tslib.__asyncGenerator(this, arguments, function* listBySqlPoolPagingPage_1() {
15304
15304
  let result;
15305
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
15305
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
15306
15306
  if (!continuationToken) {
15307
15307
  result = yield tslib.__await(this._listBySqlPool(resourceGroupName, workspaceName, sqlPoolName, options));
15308
15308
  let page = result.value || [];
@@ -15506,7 +15506,7 @@ class SqlPoolOperationsImpl {
15506
15506
  return this;
15507
15507
  },
15508
15508
  byPage: (settings) => {
15509
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
15509
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
15510
15510
  throw new Error("maxPageSize is not supported by this operation.");
15511
15511
  }
15512
15512
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -15516,7 +15516,7 @@ class SqlPoolOperationsImpl {
15516
15516
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
15517
15517
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
15518
15518
  let result;
15519
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
15519
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
15520
15520
  if (!continuationToken) {
15521
15521
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
15522
15522
  let page = result.value || [];
@@ -15652,7 +15652,7 @@ class SqlPoolUsagesImpl {
15652
15652
  return this;
15653
15653
  },
15654
15654
  byPage: (settings) => {
15655
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
15655
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
15656
15656
  throw new Error("maxPageSize is not supported by this operation.");
15657
15657
  }
15658
15658
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -15662,7 +15662,7 @@ class SqlPoolUsagesImpl {
15662
15662
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
15663
15663
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
15664
15664
  let result;
15665
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
15665
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
15666
15666
  if (!continuationToken) {
15667
15667
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
15668
15668
  let page = result.value || [];
@@ -15802,7 +15802,7 @@ class SqlPoolSensitivityLabelsImpl {
15802
15802
  return this;
15803
15803
  },
15804
15804
  byPage: (settings) => {
15805
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
15805
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
15806
15806
  throw new Error("maxPageSize is not supported by this operation.");
15807
15807
  }
15808
15808
  return this.listCurrentPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -15812,7 +15812,7 @@ class SqlPoolSensitivityLabelsImpl {
15812
15812
  listCurrentPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
15813
15813
  return tslib.__asyncGenerator(this, arguments, function* listCurrentPagingPage_1() {
15814
15814
  let result;
15815
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
15815
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
15816
15816
  if (!continuationToken) {
15817
15817
  result = yield tslib.__await(this._listCurrent(resourceGroupName, workspaceName, sqlPoolName, options));
15818
15818
  let page = result.value || [];
@@ -15866,7 +15866,7 @@ class SqlPoolSensitivityLabelsImpl {
15866
15866
  return this;
15867
15867
  },
15868
15868
  byPage: (settings) => {
15869
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
15869
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
15870
15870
  throw new Error("maxPageSize is not supported by this operation.");
15871
15871
  }
15872
15872
  return this.listRecommendedPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -15876,7 +15876,7 @@ class SqlPoolSensitivityLabelsImpl {
15876
15876
  listRecommendedPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
15877
15877
  return tslib.__asyncGenerator(this, arguments, function* listRecommendedPagingPage_1() {
15878
15878
  let result;
15879
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
15879
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
15880
15880
  if (!continuationToken) {
15881
15881
  result = yield tslib.__await(this._listRecommended(resourceGroupName, workspaceName, sqlPoolName, options));
15882
15882
  let page = result.value || [];
@@ -16375,7 +16375,7 @@ class SqlPoolSchemasImpl {
16375
16375
  return this;
16376
16376
  },
16377
16377
  byPage: (settings) => {
16378
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
16378
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
16379
16379
  throw new Error("maxPageSize is not supported by this operation.");
16380
16380
  }
16381
16381
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -16385,7 +16385,7 @@ class SqlPoolSchemasImpl {
16385
16385
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
16386
16386
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
16387
16387
  let result;
16388
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
16388
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
16389
16389
  if (!continuationToken) {
16390
16390
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
16391
16391
  let page = result.value || [];
@@ -16554,7 +16554,7 @@ class SqlPoolTablesImpl {
16554
16554
  return this;
16555
16555
  },
16556
16556
  byPage: (settings) => {
16557
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
16557
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
16558
16558
  throw new Error("maxPageSize is not supported by this operation.");
16559
16559
  }
16560
16560
  return this.listBySchemaPagingPage(resourceGroupName, workspaceName, sqlPoolName, schemaName, options, settings);
@@ -16564,7 +16564,7 @@ class SqlPoolTablesImpl {
16564
16564
  listBySchemaPagingPage(resourceGroupName, workspaceName, sqlPoolName, schemaName, options, settings) {
16565
16565
  return tslib.__asyncGenerator(this, arguments, function* listBySchemaPagingPage_1() {
16566
16566
  let result;
16567
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
16567
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
16568
16568
  if (!continuationToken) {
16569
16569
  result = yield tslib.__await(this._listBySchema(resourceGroupName, workspaceName, sqlPoolName, schemaName, options));
16570
16570
  let page = result.value || [];
@@ -16754,7 +16754,7 @@ class SqlPoolTableColumnsImpl {
16754
16754
  return this;
16755
16755
  },
16756
16756
  byPage: (settings) => {
16757
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
16757
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
16758
16758
  throw new Error("maxPageSize is not supported by this operation.");
16759
16759
  }
16760
16760
  return this.listByTableNamePagingPage(resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, options, settings);
@@ -16764,7 +16764,7 @@ class SqlPoolTableColumnsImpl {
16764
16764
  listByTableNamePagingPage(resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, options, settings) {
16765
16765
  return tslib.__asyncGenerator(this, arguments, function* listByTableNamePagingPage_1() {
16766
16766
  let result;
16767
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
16767
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
16768
16768
  if (!continuationToken) {
16769
16769
  result = yield tslib.__await(this._listByTableName(resourceGroupName, workspaceName, sqlPoolName, schemaName, tableName, options));
16770
16770
  let page = result.value || [];
@@ -16983,7 +16983,7 @@ class SqlPoolVulnerabilityAssessmentsImpl {
16983
16983
  return this;
16984
16984
  },
16985
16985
  byPage: (settings) => {
16986
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
16986
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
16987
16987
  throw new Error("maxPageSize is not supported by this operation.");
16988
16988
  }
16989
16989
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -16993,7 +16993,7 @@ class SqlPoolVulnerabilityAssessmentsImpl {
16993
16993
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
16994
16994
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
16995
16995
  let result;
16996
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
16996
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
16997
16997
  if (!continuationToken) {
16998
16998
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
16999
16999
  let page = result.value || [];
@@ -17245,7 +17245,7 @@ class SqlPoolVulnerabilityAssessmentScansImpl {
17245
17245
  return this;
17246
17246
  },
17247
17247
  byPage: (settings) => {
17248
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
17248
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
17249
17249
  throw new Error("maxPageSize is not supported by this operation.");
17250
17250
  }
17251
17251
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, options, settings);
@@ -17255,7 +17255,7 @@ class SqlPoolVulnerabilityAssessmentScansImpl {
17255
17255
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, options, settings) {
17256
17256
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
17257
17257
  let result;
17258
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
17258
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
17259
17259
  if (!continuationToken) {
17260
17260
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, options));
17261
17261
  let page = result.value || [];
@@ -17319,17 +17319,17 @@ class SqlPoolVulnerabilityAssessmentScansImpl {
17319
17319
  * @param options The options parameters.
17320
17320
  */
17321
17321
  beginInitiateScan(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, scanId, options) {
17322
- return tslib.__awaiter(this, void 0, void 0, function* () {
17323
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
17322
+ return tslib.__awaiter(this, undefined, undefined, function* () {
17323
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
17324
17324
  return this.client.sendOperationRequest(args, spec);
17325
17325
  });
17326
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
17326
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
17327
17327
  var _a;
17328
17328
  let currentRawResponse = undefined;
17329
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
17329
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
17330
17330
  const callback = (rawResponse, flatResponse) => {
17331
17331
  currentRawResponse = rawResponse;
17332
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
17332
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
17333
17333
  };
17334
17334
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
17335
17335
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -17351,8 +17351,8 @@ class SqlPoolVulnerabilityAssessmentScansImpl {
17351
17351
  options
17352
17352
  }, initiateScanOperationSpec);
17353
17353
  const poller = new coreLro.LroEngine(lro, {
17354
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
17355
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
17354
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
17355
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
17356
17356
  });
17357
17357
  yield poller.poll();
17358
17358
  return poller;
@@ -17368,7 +17368,7 @@ class SqlPoolVulnerabilityAssessmentScansImpl {
17368
17368
  * @param options The options parameters.
17369
17369
  */
17370
17370
  beginInitiateScanAndWait(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, scanId, options) {
17371
- return tslib.__awaiter(this, void 0, void 0, function* () {
17371
+ return tslib.__awaiter(this, undefined, undefined, function* () {
17372
17372
  const poller = yield this.beginInitiateScan(resourceGroupName, workspaceName, sqlPoolName, vulnerabilityAssessmentName, scanId, options);
17373
17373
  return poller.pollUntilDone();
17374
17374
  });
@@ -17573,7 +17573,7 @@ class SqlPoolSecurityAlertPoliciesImpl {
17573
17573
  return this;
17574
17574
  },
17575
17575
  byPage: (settings) => {
17576
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
17576
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
17577
17577
  throw new Error("maxPageSize is not supported by this operation.");
17578
17578
  }
17579
17579
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -17583,7 +17583,7 @@ class SqlPoolSecurityAlertPoliciesImpl {
17583
17583
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
17584
17584
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
17585
17585
  let result;
17586
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
17586
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
17587
17587
  if (!continuationToken) {
17588
17588
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
17589
17589
  let page = result.value || [];
@@ -17955,7 +17955,7 @@ class ExtendedSqlPoolBlobAuditingPoliciesImpl {
17955
17955
  return this;
17956
17956
  },
17957
17957
  byPage: (settings) => {
17958
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
17958
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
17959
17959
  throw new Error("maxPageSize is not supported by this operation.");
17960
17960
  }
17961
17961
  return this.listBySqlPoolPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -17965,7 +17965,7 @@ class ExtendedSqlPoolBlobAuditingPoliciesImpl {
17965
17965
  listBySqlPoolPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
17966
17966
  return tslib.__asyncGenerator(this, arguments, function* listBySqlPoolPagingPage_1() {
17967
17967
  let result;
17968
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
17968
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
17969
17969
  if (!continuationToken) {
17970
17970
  result = yield tslib.__await(this._listBySqlPool(resourceGroupName, workspaceName, sqlPoolName, options));
17971
17971
  let page = result.value || [];
@@ -18258,7 +18258,7 @@ class DataMaskingRulesImpl {
18258
18258
  return this;
18259
18259
  },
18260
18260
  byPage: (settings) => {
18261
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
18261
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
18262
18262
  throw new Error("maxPageSize is not supported by this operation.");
18263
18263
  }
18264
18264
  return this.listBySqlPoolPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -18516,7 +18516,7 @@ class SqlPoolWorkloadGroupImpl {
18516
18516
  return this;
18517
18517
  },
18518
18518
  byPage: (settings) => {
18519
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
18519
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
18520
18520
  throw new Error("maxPageSize is not supported by this operation.");
18521
18521
  }
18522
18522
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings);
@@ -18526,7 +18526,7 @@ class SqlPoolWorkloadGroupImpl {
18526
18526
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, options, settings) {
18527
18527
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
18528
18528
  let result;
18529
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
18529
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
18530
18530
  if (!continuationToken) {
18531
18531
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, options));
18532
18532
  let page = result.value || [];
@@ -18590,17 +18590,17 @@ class SqlPoolWorkloadGroupImpl {
18590
18590
  * @param options The options parameters.
18591
18591
  */
18592
18592
  beginCreateOrUpdate(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, parameters, options) {
18593
- return tslib.__awaiter(this, void 0, void 0, function* () {
18594
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
18593
+ return tslib.__awaiter(this, undefined, undefined, function* () {
18594
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
18595
18595
  return this.client.sendOperationRequest(args, spec);
18596
18596
  });
18597
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
18597
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
18598
18598
  var _a;
18599
18599
  let currentRawResponse = undefined;
18600
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
18600
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
18601
18601
  const callback = (rawResponse, flatResponse) => {
18602
18602
  currentRawResponse = rawResponse;
18603
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
18603
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
18604
18604
  };
18605
18605
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
18606
18606
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -18622,8 +18622,8 @@ class SqlPoolWorkloadGroupImpl {
18622
18622
  options
18623
18623
  }, createOrUpdateOperationSpec$h);
18624
18624
  const poller = new coreLro.LroEngine(lro, {
18625
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
18626
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
18625
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
18626
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
18627
18627
  });
18628
18628
  yield poller.poll();
18629
18629
  return poller;
@@ -18639,7 +18639,7 @@ class SqlPoolWorkloadGroupImpl {
18639
18639
  * @param options The options parameters.
18640
18640
  */
18641
18641
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, parameters, options) {
18642
- return tslib.__awaiter(this, void 0, void 0, function* () {
18642
+ return tslib.__awaiter(this, undefined, undefined, function* () {
18643
18643
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, parameters, options);
18644
18644
  return poller.pollUntilDone();
18645
18645
  });
@@ -18653,17 +18653,17 @@ class SqlPoolWorkloadGroupImpl {
18653
18653
  * @param options The options parameters.
18654
18654
  */
18655
18655
  beginDelete(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, options) {
18656
- return tslib.__awaiter(this, void 0, void 0, function* () {
18657
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
18656
+ return tslib.__awaiter(this, undefined, undefined, function* () {
18657
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
18658
18658
  return this.client.sendOperationRequest(args, spec);
18659
18659
  });
18660
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
18660
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
18661
18661
  var _a;
18662
18662
  let currentRawResponse = undefined;
18663
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
18663
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
18664
18664
  const callback = (rawResponse, flatResponse) => {
18665
18665
  currentRawResponse = rawResponse;
18666
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
18666
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
18667
18667
  };
18668
18668
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
18669
18669
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -18684,8 +18684,8 @@ class SqlPoolWorkloadGroupImpl {
18684
18684
  options
18685
18685
  }, deleteOperationSpec$e);
18686
18686
  const poller = new coreLro.LroEngine(lro, {
18687
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
18688
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
18687
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
18688
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
18689
18689
  });
18690
18690
  yield poller.poll();
18691
18691
  return poller;
@@ -18700,7 +18700,7 @@ class SqlPoolWorkloadGroupImpl {
18700
18700
  * @param options The options parameters.
18701
18701
  */
18702
18702
  beginDeleteAndWait(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, options) {
18703
- return tslib.__awaiter(this, void 0, void 0, function* () {
18703
+ return tslib.__awaiter(this, undefined, undefined, function* () {
18704
18704
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, options);
18705
18705
  return poller.pollUntilDone();
18706
18706
  });
@@ -18873,7 +18873,7 @@ class SqlPoolWorkloadClassifierImpl {
18873
18873
  return this;
18874
18874
  },
18875
18875
  byPage: (settings) => {
18876
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
18876
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
18877
18877
  throw new Error("maxPageSize is not supported by this operation.");
18878
18878
  }
18879
18879
  return this.listPagingPage(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, options, settings);
@@ -18883,7 +18883,7 @@ class SqlPoolWorkloadClassifierImpl {
18883
18883
  listPagingPage(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, options, settings) {
18884
18884
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
18885
18885
  let result;
18886
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
18886
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
18887
18887
  if (!continuationToken) {
18888
18888
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, options));
18889
18889
  let page = result.value || [];
@@ -18950,17 +18950,17 @@ class SqlPoolWorkloadClassifierImpl {
18950
18950
  * @param options The options parameters.
18951
18951
  */
18952
18952
  beginCreateOrUpdate(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, workloadClassifierName, parameters, options) {
18953
- return tslib.__awaiter(this, void 0, void 0, function* () {
18954
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
18953
+ return tslib.__awaiter(this, undefined, undefined, function* () {
18954
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
18955
18955
  return this.client.sendOperationRequest(args, spec);
18956
18956
  });
18957
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
18957
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
18958
18958
  var _a;
18959
18959
  let currentRawResponse = undefined;
18960
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
18960
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
18961
18961
  const callback = (rawResponse, flatResponse) => {
18962
18962
  currentRawResponse = rawResponse;
18963
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
18963
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
18964
18964
  };
18965
18965
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
18966
18966
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -18983,8 +18983,8 @@ class SqlPoolWorkloadClassifierImpl {
18983
18983
  options
18984
18984
  }, createOrUpdateOperationSpec$g);
18985
18985
  const poller = new coreLro.LroEngine(lro, {
18986
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
18987
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
18986
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
18987
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
18988
18988
  });
18989
18989
  yield poller.poll();
18990
18990
  return poller;
@@ -19001,7 +19001,7 @@ class SqlPoolWorkloadClassifierImpl {
19001
19001
  * @param options The options parameters.
19002
19002
  */
19003
19003
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, workloadClassifierName, parameters, options) {
19004
- return tslib.__awaiter(this, void 0, void 0, function* () {
19004
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19005
19005
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, workloadClassifierName, parameters, options);
19006
19006
  return poller.pollUntilDone();
19007
19007
  });
@@ -19016,17 +19016,17 @@ class SqlPoolWorkloadClassifierImpl {
19016
19016
  * @param options The options parameters.
19017
19017
  */
19018
19018
  beginDelete(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, workloadClassifierName, options) {
19019
- return tslib.__awaiter(this, void 0, void 0, function* () {
19020
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19019
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19020
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19021
19021
  return this.client.sendOperationRequest(args, spec);
19022
19022
  });
19023
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19023
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19024
19024
  var _a;
19025
19025
  let currentRawResponse = undefined;
19026
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
19026
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
19027
19027
  const callback = (rawResponse, flatResponse) => {
19028
19028
  currentRawResponse = rawResponse;
19029
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
19029
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
19030
19030
  };
19031
19031
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
19032
19032
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -19048,8 +19048,8 @@ class SqlPoolWorkloadClassifierImpl {
19048
19048
  options
19049
19049
  }, deleteOperationSpec$d);
19050
19050
  const poller = new coreLro.LroEngine(lro, {
19051
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
19052
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
19051
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
19052
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
19053
19053
  });
19054
19054
  yield poller.poll();
19055
19055
  return poller;
@@ -19065,7 +19065,7 @@ class SqlPoolWorkloadClassifierImpl {
19065
19065
  * @param options The options parameters.
19066
19066
  */
19067
19067
  beginDeleteAndWait(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, workloadClassifierName, options) {
19068
- return tslib.__awaiter(this, void 0, void 0, function* () {
19068
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19069
19069
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, sqlPoolName, workloadGroupName, workloadClassifierName, options);
19070
19070
  return poller.pollUntilDone();
19071
19071
  });
@@ -19256,7 +19256,7 @@ class WorkspaceManagedSqlServerBlobAuditingPoliciesImpl {
19256
19256
  return this;
19257
19257
  },
19258
19258
  byPage: (settings) => {
19259
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
19259
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
19260
19260
  throw new Error("maxPageSize is not supported by this operation.");
19261
19261
  }
19262
19262
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -19266,7 +19266,7 @@ class WorkspaceManagedSqlServerBlobAuditingPoliciesImpl {
19266
19266
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
19267
19267
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
19268
19268
  let result;
19269
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
19269
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
19270
19270
  if (!continuationToken) {
19271
19271
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
19272
19272
  let page = result.value || [];
@@ -19322,17 +19322,17 @@ class WorkspaceManagedSqlServerBlobAuditingPoliciesImpl {
19322
19322
  * @param options The options parameters.
19323
19323
  */
19324
19324
  beginCreateOrUpdate(resourceGroupName, workspaceName, blobAuditingPolicyName, parameters, options) {
19325
- return tslib.__awaiter(this, void 0, void 0, function* () {
19326
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19325
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19326
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19327
19327
  return this.client.sendOperationRequest(args, spec);
19328
19328
  });
19329
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19329
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19330
19330
  var _a;
19331
19331
  let currentRawResponse = undefined;
19332
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
19332
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
19333
19333
  const callback = (rawResponse, flatResponse) => {
19334
19334
  currentRawResponse = rawResponse;
19335
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
19335
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
19336
19336
  };
19337
19337
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
19338
19338
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -19353,8 +19353,8 @@ class WorkspaceManagedSqlServerBlobAuditingPoliciesImpl {
19353
19353
  options
19354
19354
  }, createOrUpdateOperationSpec$f);
19355
19355
  const poller = new coreLro.LroEngine(lro, {
19356
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
19357
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
19356
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
19357
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
19358
19358
  });
19359
19359
  yield poller.poll();
19360
19360
  return poller;
@@ -19369,7 +19369,7 @@ class WorkspaceManagedSqlServerBlobAuditingPoliciesImpl {
19369
19369
  * @param options The options parameters.
19370
19370
  */
19371
19371
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, blobAuditingPolicyName, parameters, options) {
19372
- return tslib.__awaiter(this, void 0, void 0, function* () {
19372
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19373
19373
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, blobAuditingPolicyName, parameters, options);
19374
19374
  return poller.pollUntilDone();
19375
19375
  });
@@ -19519,7 +19519,7 @@ class WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl {
19519
19519
  return this;
19520
19520
  },
19521
19521
  byPage: (settings) => {
19522
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
19522
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
19523
19523
  throw new Error("maxPageSize is not supported by this operation.");
19524
19524
  }
19525
19525
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -19529,7 +19529,7 @@ class WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl {
19529
19529
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
19530
19530
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
19531
19531
  let result;
19532
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
19532
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
19533
19533
  if (!continuationToken) {
19534
19534
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
19535
19535
  let page = result.value || [];
@@ -19585,17 +19585,17 @@ class WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl {
19585
19585
  * @param options The options parameters.
19586
19586
  */
19587
19587
  beginCreateOrUpdate(resourceGroupName, workspaceName, blobAuditingPolicyName, parameters, options) {
19588
- return tslib.__awaiter(this, void 0, void 0, function* () {
19589
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19588
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19589
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19590
19590
  return this.client.sendOperationRequest(args, spec);
19591
19591
  });
19592
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19592
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19593
19593
  var _a;
19594
19594
  let currentRawResponse = undefined;
19595
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
19595
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
19596
19596
  const callback = (rawResponse, flatResponse) => {
19597
19597
  currentRawResponse = rawResponse;
19598
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
19598
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
19599
19599
  };
19600
19600
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
19601
19601
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -19616,8 +19616,8 @@ class WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl {
19616
19616
  options
19617
19617
  }, createOrUpdateOperationSpec$e);
19618
19618
  const poller = new coreLro.LroEngine(lro, {
19619
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
19620
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
19619
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
19620
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
19621
19621
  });
19622
19622
  yield poller.poll();
19623
19623
  return poller;
@@ -19632,7 +19632,7 @@ class WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesImpl {
19632
19632
  * @param options The options parameters.
19633
19633
  */
19634
19634
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, blobAuditingPolicyName, parameters, options) {
19635
- return tslib.__awaiter(this, void 0, void 0, function* () {
19635
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19636
19636
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, blobAuditingPolicyName, parameters, options);
19637
19637
  return poller.pollUntilDone();
19638
19638
  });
@@ -19782,7 +19782,7 @@ class WorkspaceManagedSqlServerSecurityAlertPolicyImpl {
19782
19782
  return this;
19783
19783
  },
19784
19784
  byPage: (settings) => {
19785
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
19785
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
19786
19786
  throw new Error("maxPageSize is not supported by this operation.");
19787
19787
  }
19788
19788
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -19792,7 +19792,7 @@ class WorkspaceManagedSqlServerSecurityAlertPolicyImpl {
19792
19792
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
19793
19793
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
19794
19794
  let result;
19795
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
19795
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
19796
19796
  if (!continuationToken) {
19797
19797
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
19798
19798
  let page = result.value || [];
@@ -19848,17 +19848,17 @@ class WorkspaceManagedSqlServerSecurityAlertPolicyImpl {
19848
19848
  * @param options The options parameters.
19849
19849
  */
19850
19850
  beginCreateOrUpdate(resourceGroupName, workspaceName, securityAlertPolicyName, parameters, options) {
19851
- return tslib.__awaiter(this, void 0, void 0, function* () {
19852
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19851
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19852
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19853
19853
  return this.client.sendOperationRequest(args, spec);
19854
19854
  });
19855
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
19855
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
19856
19856
  var _a;
19857
19857
  let currentRawResponse = undefined;
19858
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
19858
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
19859
19859
  const callback = (rawResponse, flatResponse) => {
19860
19860
  currentRawResponse = rawResponse;
19861
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
19861
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
19862
19862
  };
19863
19863
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
19864
19864
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -19879,8 +19879,8 @@ class WorkspaceManagedSqlServerSecurityAlertPolicyImpl {
19879
19879
  options
19880
19880
  }, createOrUpdateOperationSpec$d);
19881
19881
  const poller = new coreLro.LroEngine(lro, {
19882
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
19883
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
19882
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
19883
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
19884
19884
  });
19885
19885
  yield poller.poll();
19886
19886
  return poller;
@@ -19895,7 +19895,7 @@ class WorkspaceManagedSqlServerSecurityAlertPolicyImpl {
19895
19895
  * @param options The options parameters.
19896
19896
  */
19897
19897
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, securityAlertPolicyName, parameters, options) {
19898
- return tslib.__awaiter(this, void 0, void 0, function* () {
19898
+ return tslib.__awaiter(this, undefined, undefined, function* () {
19899
19899
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, securityAlertPolicyName, parameters, options);
19900
19900
  return poller.pollUntilDone();
19901
19901
  });
@@ -20045,7 +20045,7 @@ class WorkspaceManagedSqlServerVulnerabilityAssessmentsImpl {
20045
20045
  return this;
20046
20046
  },
20047
20047
  byPage: (settings) => {
20048
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20048
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20049
20049
  throw new Error("maxPageSize is not supported by this operation.");
20050
20050
  }
20051
20051
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -20055,7 +20055,7 @@ class WorkspaceManagedSqlServerVulnerabilityAssessmentsImpl {
20055
20055
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
20056
20056
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
20057
20057
  let result;
20058
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
20058
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
20059
20059
  if (!continuationToken) {
20060
20060
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
20061
20061
  let page = result.value || [];
@@ -20292,7 +20292,7 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20292
20292
  return this;
20293
20293
  },
20294
20294
  byPage: (settings) => {
20295
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20295
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20296
20296
  throw new Error("maxPageSize is not supported by this operation.");
20297
20297
  }
20298
20298
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -20302,7 +20302,7 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20302
20302
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
20303
20303
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
20304
20304
  let result;
20305
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
20305
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
20306
20306
  if (!continuationToken) {
20307
20307
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
20308
20308
  let page = result.value || [];
@@ -20358,17 +20358,17 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20358
20358
  * @param options The options parameters.
20359
20359
  */
20360
20360
  beginCreateOrUpdate(resourceGroupName, workspaceName, encryptionProtectorName, parameters, options) {
20361
- return tslib.__awaiter(this, void 0, void 0, function* () {
20362
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20361
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20362
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20363
20363
  return this.client.sendOperationRequest(args, spec);
20364
20364
  });
20365
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20365
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20366
20366
  var _a;
20367
20367
  let currentRawResponse = undefined;
20368
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
20368
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
20369
20369
  const callback = (rawResponse, flatResponse) => {
20370
20370
  currentRawResponse = rawResponse;
20371
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
20371
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
20372
20372
  };
20373
20373
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
20374
20374
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -20389,8 +20389,8 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20389
20389
  options
20390
20390
  }, createOrUpdateOperationSpec$b);
20391
20391
  const poller = new coreLro.LroEngine(lro, {
20392
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
20393
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
20392
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
20393
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
20394
20394
  });
20395
20395
  yield poller.poll();
20396
20396
  return poller;
@@ -20405,7 +20405,7 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20405
20405
  * @param options The options parameters.
20406
20406
  */
20407
20407
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, encryptionProtectorName, parameters, options) {
20408
- return tslib.__awaiter(this, void 0, void 0, function* () {
20408
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20409
20409
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, encryptionProtectorName, parameters, options);
20410
20410
  return poller.pollUntilDone();
20411
20411
  });
@@ -20427,17 +20427,17 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20427
20427
  * @param options The options parameters.
20428
20428
  */
20429
20429
  beginRevalidate(resourceGroupName, workspaceName, encryptionProtectorName, options) {
20430
- return tslib.__awaiter(this, void 0, void 0, function* () {
20431
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20430
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20431
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20432
20432
  return this.client.sendOperationRequest(args, spec);
20433
20433
  });
20434
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20434
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20435
20435
  var _a;
20436
20436
  let currentRawResponse = undefined;
20437
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
20437
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
20438
20438
  const callback = (rawResponse, flatResponse) => {
20439
20439
  currentRawResponse = rawResponse;
20440
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
20440
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
20441
20441
  };
20442
20442
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
20443
20443
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -20452,8 +20452,8 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20452
20452
  });
20453
20453
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, encryptionProtectorName, options }, revalidateOperationSpec);
20454
20454
  const poller = new coreLro.LroEngine(lro, {
20455
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
20456
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
20455
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
20456
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
20457
20457
  });
20458
20458
  yield poller.poll();
20459
20459
  return poller;
@@ -20467,7 +20467,7 @@ class WorkspaceManagedSqlServerEncryptionProtectorImpl {
20467
20467
  * @param options The options parameters.
20468
20468
  */
20469
20469
  beginRevalidateAndWait(resourceGroupName, workspaceName, encryptionProtectorName, options) {
20470
- return tslib.__awaiter(this, void 0, void 0, function* () {
20470
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20471
20471
  const poller = yield this.beginRevalidate(resourceGroupName, workspaceName, encryptionProtectorName, options);
20472
20472
  return poller.pollUntilDone();
20473
20473
  });
@@ -20626,7 +20626,7 @@ class WorkspaceManagedSqlServerUsagesImpl {
20626
20626
  return this;
20627
20627
  },
20628
20628
  byPage: (settings) => {
20629
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20629
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20630
20630
  throw new Error("maxPageSize is not supported by this operation.");
20631
20631
  }
20632
20632
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -20636,7 +20636,7 @@ class WorkspaceManagedSqlServerUsagesImpl {
20636
20636
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
20637
20637
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
20638
20638
  let result;
20639
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
20639
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
20640
20640
  if (!continuationToken) {
20641
20641
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
20642
20642
  let page = result.value || [];
@@ -20767,7 +20767,7 @@ class WorkspaceManagedSqlServerRecoverableSqlPoolsImpl {
20767
20767
  return this;
20768
20768
  },
20769
20769
  byPage: (settings) => {
20770
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20770
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20771
20771
  throw new Error("maxPageSize is not supported by this operation.");
20772
20772
  }
20773
20773
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -20777,7 +20777,7 @@ class WorkspaceManagedSqlServerRecoverableSqlPoolsImpl {
20777
20777
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
20778
20778
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
20779
20779
  let result;
20780
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
20780
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
20781
20781
  if (!continuationToken) {
20782
20782
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
20783
20783
  let page = result.value || [];
@@ -20938,7 +20938,7 @@ class WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsImpl {
20938
20938
  return this;
20939
20939
  },
20940
20940
  byPage: (settings) => {
20941
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20941
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20942
20942
  throw new Error("maxPageSize is not supported by this operation.");
20943
20943
  }
20944
20944
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -20948,7 +20948,7 @@ class WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsImpl {
20948
20948
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
20949
20949
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
20950
20950
  let result;
20951
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
20951
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
20952
20952
  if (!continuationToken) {
20953
20953
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
20954
20954
  let page = result.value || [];
@@ -20994,17 +20994,17 @@ class WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsImpl {
20994
20994
  * @param options The options parameters.
20995
20995
  */
20996
20996
  beginUpdate(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, options) {
20997
- return tslib.__awaiter(this, void 0, void 0, function* () {
20998
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20997
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20998
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20999
20999
  return this.client.sendOperationRequest(args, spec);
21000
21000
  });
21001
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21001
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21002
21002
  var _a;
21003
21003
  let currentRawResponse = undefined;
21004
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21004
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21005
21005
  const callback = (rawResponse, flatResponse) => {
21006
21006
  currentRawResponse = rawResponse;
21007
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21007
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21008
21008
  };
21009
21009
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21010
21010
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21025,8 +21025,8 @@ class WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsImpl {
21025
21025
  options
21026
21026
  }, updateOperationSpec$7);
21027
21027
  const poller = new coreLro.LroEngine(lro, {
21028
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21029
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
21028
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21029
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
21030
21030
  });
21031
21031
  yield poller.poll();
21032
21032
  return poller;
@@ -21041,7 +21041,7 @@ class WorkspaceManagedSqlServerDedicatedSQLMinimalTlsSettingsImpl {
21041
21041
  * @param options The options parameters.
21042
21042
  */
21043
21043
  beginUpdateAndWait(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, options) {
21044
- return tslib.__awaiter(this, void 0, void 0, function* () {
21044
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21045
21045
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, dedicatedSQLminimalTlsSettingsName, parameters, options);
21046
21046
  return poller.pollUntilDone();
21047
21047
  });
@@ -21213,7 +21213,7 @@ class WorkspacesImpl {
21213
21213
  return this;
21214
21214
  },
21215
21215
  byPage: (settings) => {
21216
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
21216
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
21217
21217
  throw new Error("maxPageSize is not supported by this operation.");
21218
21218
  }
21219
21219
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
@@ -21223,7 +21223,7 @@ class WorkspacesImpl {
21223
21223
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
21224
21224
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
21225
21225
  let result;
21226
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
21226
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
21227
21227
  if (!continuationToken) {
21228
21228
  result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
21229
21229
  let page = result.value || [];
@@ -21274,7 +21274,7 @@ class WorkspacesImpl {
21274
21274
  return this;
21275
21275
  },
21276
21276
  byPage: (settings) => {
21277
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
21277
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
21278
21278
  throw new Error("maxPageSize is not supported by this operation.");
21279
21279
  }
21280
21280
  return this.listPagingPage(options, settings);
@@ -21284,7 +21284,7 @@ class WorkspacesImpl {
21284
21284
  listPagingPage(options, settings) {
21285
21285
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
21286
21286
  let result;
21287
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
21287
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
21288
21288
  if (!continuationToken) {
21289
21289
  result = yield tslib.__await(this._list(options));
21290
21290
  let page = result.value || [];
@@ -21346,17 +21346,17 @@ class WorkspacesImpl {
21346
21346
  * @param options The options parameters.
21347
21347
  */
21348
21348
  beginUpdate(resourceGroupName, workspaceName, workspacePatchInfo, options) {
21349
- return tslib.__awaiter(this, void 0, void 0, function* () {
21350
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21349
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21350
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21351
21351
  return this.client.sendOperationRequest(args, spec);
21352
21352
  });
21353
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21353
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21354
21354
  var _a;
21355
21355
  let currentRawResponse = undefined;
21356
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21356
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21357
21357
  const callback = (rawResponse, flatResponse) => {
21358
21358
  currentRawResponse = rawResponse;
21359
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21359
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21360
21360
  };
21361
21361
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21362
21362
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21371,8 +21371,8 @@ class WorkspacesImpl {
21371
21371
  });
21372
21372
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, workspacePatchInfo, options }, updateOperationSpec$6);
21373
21373
  const poller = new coreLro.LroEngine(lro, {
21374
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21375
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21374
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21375
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21376
21376
  lroResourceLocationConfig: "location"
21377
21377
  });
21378
21378
  yield poller.poll();
@@ -21387,7 +21387,7 @@ class WorkspacesImpl {
21387
21387
  * @param options The options parameters.
21388
21388
  */
21389
21389
  beginUpdateAndWait(resourceGroupName, workspaceName, workspacePatchInfo, options) {
21390
- return tslib.__awaiter(this, void 0, void 0, function* () {
21390
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21391
21391
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, workspacePatchInfo, options);
21392
21392
  return poller.pollUntilDone();
21393
21393
  });
@@ -21400,17 +21400,17 @@ class WorkspacesImpl {
21400
21400
  * @param options The options parameters.
21401
21401
  */
21402
21402
  beginCreateOrUpdate(resourceGroupName, workspaceName, workspaceInfo, options) {
21403
- return tslib.__awaiter(this, void 0, void 0, function* () {
21404
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21403
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21404
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21405
21405
  return this.client.sendOperationRequest(args, spec);
21406
21406
  });
21407
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21407
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21408
21408
  var _a;
21409
21409
  let currentRawResponse = undefined;
21410
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21410
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21411
21411
  const callback = (rawResponse, flatResponse) => {
21412
21412
  currentRawResponse = rawResponse;
21413
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21413
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21414
21414
  };
21415
21415
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21416
21416
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21425,8 +21425,8 @@ class WorkspacesImpl {
21425
21425
  });
21426
21426
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, workspaceInfo, options }, createOrUpdateOperationSpec$a);
21427
21427
  const poller = new coreLro.LroEngine(lro, {
21428
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21429
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21428
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21429
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21430
21430
  lroResourceLocationConfig: "location"
21431
21431
  });
21432
21432
  yield poller.poll();
@@ -21441,7 +21441,7 @@ class WorkspacesImpl {
21441
21441
  * @param options The options parameters.
21442
21442
  */
21443
21443
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, workspaceInfo, options) {
21444
- return tslib.__awaiter(this, void 0, void 0, function* () {
21444
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21445
21445
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, workspaceInfo, options);
21446
21446
  return poller.pollUntilDone();
21447
21447
  });
@@ -21453,17 +21453,17 @@ class WorkspacesImpl {
21453
21453
  * @param options The options parameters.
21454
21454
  */
21455
21455
  beginDelete(resourceGroupName, workspaceName, options) {
21456
- return tslib.__awaiter(this, void 0, void 0, function* () {
21457
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21456
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21457
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21458
21458
  return this.client.sendOperationRequest(args, spec);
21459
21459
  });
21460
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21460
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21461
21461
  var _a;
21462
21462
  let currentRawResponse = undefined;
21463
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21463
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21464
21464
  const callback = (rawResponse, flatResponse) => {
21465
21465
  currentRawResponse = rawResponse;
21466
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21466
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21467
21467
  };
21468
21468
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21469
21469
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21478,8 +21478,8 @@ class WorkspacesImpl {
21478
21478
  });
21479
21479
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, options }, deleteOperationSpec$b);
21480
21480
  const poller = new coreLro.LroEngine(lro, {
21481
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21482
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21481
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21482
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21483
21483
  lroResourceLocationConfig: "location"
21484
21484
  });
21485
21485
  yield poller.poll();
@@ -21493,7 +21493,7 @@ class WorkspacesImpl {
21493
21493
  * @param options The options parameters.
21494
21494
  */
21495
21495
  beginDeleteAndWait(resourceGroupName, workspaceName, options) {
21496
- return tslib.__awaiter(this, void 0, void 0, function* () {
21496
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21497
21497
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, options);
21498
21498
  return poller.pollUntilDone();
21499
21499
  });
@@ -21749,17 +21749,17 @@ class WorkspaceAadAdminsImpl {
21749
21749
  * @param options The options parameters.
21750
21750
  */
21751
21751
  beginCreateOrUpdate(resourceGroupName, workspaceName, aadAdminInfo, options) {
21752
- return tslib.__awaiter(this, void 0, void 0, function* () {
21753
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21752
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21753
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21754
21754
  return this.client.sendOperationRequest(args, spec);
21755
21755
  });
21756
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21756
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21757
21757
  var _a;
21758
21758
  let currentRawResponse = undefined;
21759
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21759
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21760
21760
  const callback = (rawResponse, flatResponse) => {
21761
21761
  currentRawResponse = rawResponse;
21762
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21762
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21763
21763
  };
21764
21764
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21765
21765
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21774,8 +21774,8 @@ class WorkspaceAadAdminsImpl {
21774
21774
  });
21775
21775
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, aadAdminInfo, options }, createOrUpdateOperationSpec$9);
21776
21776
  const poller = new coreLro.LroEngine(lro, {
21777
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21778
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21777
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21778
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21779
21779
  lroResourceLocationConfig: "location"
21780
21780
  });
21781
21781
  yield poller.poll();
@@ -21790,7 +21790,7 @@ class WorkspaceAadAdminsImpl {
21790
21790
  * @param options The options parameters.
21791
21791
  */
21792
21792
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, aadAdminInfo, options) {
21793
- return tslib.__awaiter(this, void 0, void 0, function* () {
21793
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21794
21794
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, aadAdminInfo, options);
21795
21795
  return poller.pollUntilDone();
21796
21796
  });
@@ -21802,17 +21802,17 @@ class WorkspaceAadAdminsImpl {
21802
21802
  * @param options The options parameters.
21803
21803
  */
21804
21804
  beginDelete(resourceGroupName, workspaceName, options) {
21805
- return tslib.__awaiter(this, void 0, void 0, function* () {
21806
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21805
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21806
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21807
21807
  return this.client.sendOperationRequest(args, spec);
21808
21808
  });
21809
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21809
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21810
21810
  var _a;
21811
21811
  let currentRawResponse = undefined;
21812
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21812
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21813
21813
  const callback = (rawResponse, flatResponse) => {
21814
21814
  currentRawResponse = rawResponse;
21815
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21815
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21816
21816
  };
21817
21817
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21818
21818
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21827,8 +21827,8 @@ class WorkspaceAadAdminsImpl {
21827
21827
  });
21828
21828
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, options }, deleteOperationSpec$a);
21829
21829
  const poller = new coreLro.LroEngine(lro, {
21830
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21831
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21830
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21831
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21832
21832
  lroResourceLocationConfig: "location"
21833
21833
  });
21834
21834
  yield poller.poll();
@@ -21842,7 +21842,7 @@ class WorkspaceAadAdminsImpl {
21842
21842
  * @param options The options parameters.
21843
21843
  */
21844
21844
  beginDeleteAndWait(resourceGroupName, workspaceName, options) {
21845
- return tslib.__awaiter(this, void 0, void 0, function* () {
21845
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21846
21846
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, options);
21847
21847
  return poller.pollUntilDone();
21848
21848
  });
@@ -21959,17 +21959,17 @@ class WorkspaceSqlAadAdminsImpl {
21959
21959
  * @param options The options parameters.
21960
21960
  */
21961
21961
  beginCreateOrUpdate(resourceGroupName, workspaceName, aadAdminInfo, options) {
21962
- return tslib.__awaiter(this, void 0, void 0, function* () {
21963
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21962
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21963
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21964
21964
  return this.client.sendOperationRequest(args, spec);
21965
21965
  });
21966
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21966
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21967
21967
  var _a;
21968
21968
  let currentRawResponse = undefined;
21969
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21969
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21970
21970
  const callback = (rawResponse, flatResponse) => {
21971
21971
  currentRawResponse = rawResponse;
21972
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21972
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21973
21973
  };
21974
21974
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21975
21975
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21984,8 +21984,8 @@ class WorkspaceSqlAadAdminsImpl {
21984
21984
  });
21985
21985
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, aadAdminInfo, options }, createOrUpdateOperationSpec$8);
21986
21986
  const poller = new coreLro.LroEngine(lro, {
21987
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21988
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21987
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21988
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21989
21989
  lroResourceLocationConfig: "location"
21990
21990
  });
21991
21991
  yield poller.poll();
@@ -22000,7 +22000,7 @@ class WorkspaceSqlAadAdminsImpl {
22000
22000
  * @param options The options parameters.
22001
22001
  */
22002
22002
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, aadAdminInfo, options) {
22003
- return tslib.__awaiter(this, void 0, void 0, function* () {
22003
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22004
22004
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, aadAdminInfo, options);
22005
22005
  return poller.pollUntilDone();
22006
22006
  });
@@ -22012,17 +22012,17 @@ class WorkspaceSqlAadAdminsImpl {
22012
22012
  * @param options The options parameters.
22013
22013
  */
22014
22014
  beginDelete(resourceGroupName, workspaceName, options) {
22015
- return tslib.__awaiter(this, void 0, void 0, function* () {
22016
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22015
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22016
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22017
22017
  return this.client.sendOperationRequest(args, spec);
22018
22018
  });
22019
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22019
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22020
22020
  var _a;
22021
22021
  let currentRawResponse = undefined;
22022
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22022
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22023
22023
  const callback = (rawResponse, flatResponse) => {
22024
22024
  currentRawResponse = rawResponse;
22025
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22025
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22026
22026
  };
22027
22027
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22028
22028
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22037,8 +22037,8 @@ class WorkspaceSqlAadAdminsImpl {
22037
22037
  });
22038
22038
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, options }, deleteOperationSpec$9);
22039
22039
  const poller = new coreLro.LroEngine(lro, {
22040
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22041
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22040
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22041
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22042
22042
  lroResourceLocationConfig: "location"
22043
22043
  });
22044
22044
  yield poller.poll();
@@ -22052,7 +22052,7 @@ class WorkspaceSqlAadAdminsImpl {
22052
22052
  * @param options The options parameters.
22053
22053
  */
22054
22054
  beginDeleteAndWait(resourceGroupName, workspaceName, options) {
22055
- return tslib.__awaiter(this, void 0, void 0, function* () {
22055
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22056
22056
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, options);
22057
22057
  return poller.pollUntilDone();
22058
22058
  });
@@ -22169,17 +22169,17 @@ class WorkspaceManagedIdentitySqlControlSettingsImpl {
22169
22169
  * @param options The options parameters.
22170
22170
  */
22171
22171
  beginCreateOrUpdate(resourceGroupName, workspaceName, managedIdentitySqlControlSettings, options) {
22172
- return tslib.__awaiter(this, void 0, void 0, function* () {
22173
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22172
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22173
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22174
22174
  return this.client.sendOperationRequest(args, spec);
22175
22175
  });
22176
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22176
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22177
22177
  var _a;
22178
22178
  let currentRawResponse = undefined;
22179
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22179
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22180
22180
  const callback = (rawResponse, flatResponse) => {
22181
22181
  currentRawResponse = rawResponse;
22182
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22182
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22183
22183
  };
22184
22184
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22185
22185
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22199,8 +22199,8 @@ class WorkspaceManagedIdentitySqlControlSettingsImpl {
22199
22199
  options
22200
22200
  }, createOrUpdateOperationSpec$7);
22201
22201
  const poller = new coreLro.LroEngine(lro, {
22202
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22203
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22202
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22203
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22204
22204
  lroResourceLocationConfig: "azure-async-operation"
22205
22205
  });
22206
22206
  yield poller.poll();
@@ -22215,7 +22215,7 @@ class WorkspaceManagedIdentitySqlControlSettingsImpl {
22215
22215
  * @param options The options parameters.
22216
22216
  */
22217
22217
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, managedIdentitySqlControlSettings, options) {
22218
- return tslib.__awaiter(this, void 0, void 0, function* () {
22218
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22219
22219
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, managedIdentitySqlControlSettings, options);
22220
22220
  return poller.pollUntilDone();
22221
22221
  });
@@ -22310,7 +22310,7 @@ class RestorableDroppedSqlPoolsImpl {
22310
22310
  return this;
22311
22311
  },
22312
22312
  byPage: (settings) => {
22313
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
22313
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
22314
22314
  throw new Error("maxPageSize is not supported by this operation.");
22315
22315
  }
22316
22316
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -22444,7 +22444,7 @@ class BigDataPoolsImpl {
22444
22444
  return this;
22445
22445
  },
22446
22446
  byPage: (settings) => {
22447
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
22447
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
22448
22448
  throw new Error("maxPageSize is not supported by this operation.");
22449
22449
  }
22450
22450
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -22454,7 +22454,7 @@ class BigDataPoolsImpl {
22454
22454
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
22455
22455
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
22456
22456
  let result;
22457
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
22457
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
22458
22458
  if (!continuationToken) {
22459
22459
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
22460
22460
  let page = result.value || [];
@@ -22527,17 +22527,17 @@ class BigDataPoolsImpl {
22527
22527
  * @param options The options parameters.
22528
22528
  */
22529
22529
  beginCreateOrUpdate(resourceGroupName, workspaceName, bigDataPoolName, bigDataPoolInfo, options) {
22530
- return tslib.__awaiter(this, void 0, void 0, function* () {
22531
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22530
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22531
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22532
22532
  return this.client.sendOperationRequest(args, spec);
22533
22533
  });
22534
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22534
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22535
22535
  var _a;
22536
22536
  let currentRawResponse = undefined;
22537
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22537
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22538
22538
  const callback = (rawResponse, flatResponse) => {
22539
22539
  currentRawResponse = rawResponse;
22540
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22540
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22541
22541
  };
22542
22542
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22543
22543
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22558,8 +22558,8 @@ class BigDataPoolsImpl {
22558
22558
  options
22559
22559
  }, createOrUpdateOperationSpec$6);
22560
22560
  const poller = new coreLro.LroEngine(lro, {
22561
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22562
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22561
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22562
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22563
22563
  lroResourceLocationConfig: "azure-async-operation"
22564
22564
  });
22565
22565
  yield poller.poll();
@@ -22575,7 +22575,7 @@ class BigDataPoolsImpl {
22575
22575
  * @param options The options parameters.
22576
22576
  */
22577
22577
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, bigDataPoolName, bigDataPoolInfo, options) {
22578
- return tslib.__awaiter(this, void 0, void 0, function* () {
22578
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22579
22579
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, bigDataPoolName, bigDataPoolInfo, options);
22580
22580
  return poller.pollUntilDone();
22581
22581
  });
@@ -22588,17 +22588,17 @@ class BigDataPoolsImpl {
22588
22588
  * @param options The options parameters.
22589
22589
  */
22590
22590
  beginDelete(resourceGroupName, workspaceName, bigDataPoolName, options) {
22591
- return tslib.__awaiter(this, void 0, void 0, function* () {
22592
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22591
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22592
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22593
22593
  return this.client.sendOperationRequest(args, spec);
22594
22594
  });
22595
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22595
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22596
22596
  var _a;
22597
22597
  let currentRawResponse = undefined;
22598
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22598
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22599
22599
  const callback = (rawResponse, flatResponse) => {
22600
22600
  currentRawResponse = rawResponse;
22601
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22601
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22602
22602
  };
22603
22603
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22604
22604
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22613,8 +22613,8 @@ class BigDataPoolsImpl {
22613
22613
  });
22614
22614
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, bigDataPoolName, options }, deleteOperationSpec$8);
22615
22615
  const poller = new coreLro.LroEngine(lro, {
22616
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22617
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22616
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22617
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22618
22618
  lroResourceLocationConfig: "azure-async-operation"
22619
22619
  });
22620
22620
  yield poller.poll();
@@ -22629,7 +22629,7 @@ class BigDataPoolsImpl {
22629
22629
  * @param options The options parameters.
22630
22630
  */
22631
22631
  beginDeleteAndWait(resourceGroupName, workspaceName, bigDataPoolName, options) {
22632
- return tslib.__awaiter(this, void 0, void 0, function* () {
22632
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22633
22633
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, bigDataPoolName, options);
22634
22634
  return poller.pollUntilDone();
22635
22635
  });
@@ -22894,7 +22894,7 @@ class LibrariesImpl {
22894
22894
  return this;
22895
22895
  },
22896
22896
  byPage: (settings) => {
22897
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
22897
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
22898
22898
  throw new Error("maxPageSize is not supported by this operation.");
22899
22899
  }
22900
22900
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -22904,7 +22904,7 @@ class LibrariesImpl {
22904
22904
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
22905
22905
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
22906
22906
  let result;
22907
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
22907
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
22908
22908
  if (!continuationToken) {
22909
22909
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
22910
22910
  let page = result.value || [];
@@ -23039,7 +23039,7 @@ class IntegrationRuntimesImpl {
23039
23039
  return this;
23040
23040
  },
23041
23041
  byPage: (settings) => {
23042
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
23042
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
23043
23043
  throw new Error("maxPageSize is not supported by this operation.");
23044
23044
  }
23045
23045
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -23049,7 +23049,7 @@ class IntegrationRuntimesImpl {
23049
23049
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
23050
23050
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
23051
23051
  let result;
23052
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
23052
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
23053
23053
  if (!continuationToken) {
23054
23054
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
23055
23055
  let page = result.value || [];
@@ -23122,17 +23122,17 @@ class IntegrationRuntimesImpl {
23122
23122
  * @param options The options parameters.
23123
23123
  */
23124
23124
  beginCreate(resourceGroupName, workspaceName, integrationRuntimeName, integrationRuntime, options) {
23125
- return tslib.__awaiter(this, void 0, void 0, function* () {
23126
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23125
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23126
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23127
23127
  return this.client.sendOperationRequest(args, spec);
23128
23128
  });
23129
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23129
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23130
23130
  var _a;
23131
23131
  let currentRawResponse = undefined;
23132
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23132
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23133
23133
  const callback = (rawResponse, flatResponse) => {
23134
23134
  currentRawResponse = rawResponse;
23135
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23135
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23136
23136
  };
23137
23137
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23138
23138
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23153,8 +23153,8 @@ class IntegrationRuntimesImpl {
23153
23153
  options
23154
23154
  }, createOperationSpec);
23155
23155
  const poller = new coreLro.LroEngine(lro, {
23156
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23157
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
23156
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23157
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
23158
23158
  });
23159
23159
  yield poller.poll();
23160
23160
  return poller;
@@ -23169,7 +23169,7 @@ class IntegrationRuntimesImpl {
23169
23169
  * @param options The options parameters.
23170
23170
  */
23171
23171
  beginCreateAndWait(resourceGroupName, workspaceName, integrationRuntimeName, integrationRuntime, options) {
23172
- return tslib.__awaiter(this, void 0, void 0, function* () {
23172
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23173
23173
  const poller = yield this.beginCreate(resourceGroupName, workspaceName, integrationRuntimeName, integrationRuntime, options);
23174
23174
  return poller.pollUntilDone();
23175
23175
  });
@@ -23182,17 +23182,17 @@ class IntegrationRuntimesImpl {
23182
23182
  * @param options The options parameters.
23183
23183
  */
23184
23184
  beginDelete(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23185
- return tslib.__awaiter(this, void 0, void 0, function* () {
23186
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23185
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23186
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23187
23187
  return this.client.sendOperationRequest(args, spec);
23188
23188
  });
23189
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23189
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23190
23190
  var _a;
23191
23191
  let currentRawResponse = undefined;
23192
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23192
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23193
23193
  const callback = (rawResponse, flatResponse) => {
23194
23194
  currentRawResponse = rawResponse;
23195
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23195
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23196
23196
  };
23197
23197
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23198
23198
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23207,8 +23207,8 @@ class IntegrationRuntimesImpl {
23207
23207
  });
23208
23208
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, integrationRuntimeName, options }, deleteOperationSpec$7);
23209
23209
  const poller = new coreLro.LroEngine(lro, {
23210
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23211
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
23210
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23211
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
23212
23212
  });
23213
23213
  yield poller.poll();
23214
23214
  return poller;
@@ -23222,7 +23222,7 @@ class IntegrationRuntimesImpl {
23222
23222
  * @param options The options parameters.
23223
23223
  */
23224
23224
  beginDeleteAndWait(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23225
- return tslib.__awaiter(this, void 0, void 0, function* () {
23225
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23226
23226
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, integrationRuntimeName, options);
23227
23227
  return poller.pollUntilDone();
23228
23228
  });
@@ -23254,17 +23254,17 @@ class IntegrationRuntimesImpl {
23254
23254
  * @param options The options parameters.
23255
23255
  */
23256
23256
  beginStart(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23257
- return tslib.__awaiter(this, void 0, void 0, function* () {
23258
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23257
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23258
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23259
23259
  return this.client.sendOperationRequest(args, spec);
23260
23260
  });
23261
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23261
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23262
23262
  var _a;
23263
23263
  let currentRawResponse = undefined;
23264
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23264
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23265
23265
  const callback = (rawResponse, flatResponse) => {
23266
23266
  currentRawResponse = rawResponse;
23267
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23267
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23268
23268
  };
23269
23269
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23270
23270
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23279,8 +23279,8 @@ class IntegrationRuntimesImpl {
23279
23279
  });
23280
23280
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, integrationRuntimeName, options }, startOperationSpec$1);
23281
23281
  const poller = new coreLro.LroEngine(lro, {
23282
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23283
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
23282
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23283
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
23284
23284
  lroResourceLocationConfig: "azure-async-operation"
23285
23285
  });
23286
23286
  yield poller.poll();
@@ -23295,7 +23295,7 @@ class IntegrationRuntimesImpl {
23295
23295
  * @param options The options parameters.
23296
23296
  */
23297
23297
  beginStartAndWait(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23298
- return tslib.__awaiter(this, void 0, void 0, function* () {
23298
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23299
23299
  const poller = yield this.beginStart(resourceGroupName, workspaceName, integrationRuntimeName, options);
23300
23300
  return poller.pollUntilDone();
23301
23301
  });
@@ -23308,17 +23308,17 @@ class IntegrationRuntimesImpl {
23308
23308
  * @param options The options parameters.
23309
23309
  */
23310
23310
  beginStop(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23311
- return tslib.__awaiter(this, void 0, void 0, function* () {
23312
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23311
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23312
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23313
23313
  return this.client.sendOperationRequest(args, spec);
23314
23314
  });
23315
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23315
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23316
23316
  var _a;
23317
23317
  let currentRawResponse = undefined;
23318
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23318
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23319
23319
  const callback = (rawResponse, flatResponse) => {
23320
23320
  currentRawResponse = rawResponse;
23321
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23321
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23322
23322
  };
23323
23323
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23324
23324
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23333,8 +23333,8 @@ class IntegrationRuntimesImpl {
23333
23333
  });
23334
23334
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, integrationRuntimeName, options }, stopOperationSpec$1);
23335
23335
  const poller = new coreLro.LroEngine(lro, {
23336
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23337
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
23336
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23337
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
23338
23338
  });
23339
23339
  yield poller.poll();
23340
23340
  return poller;
@@ -23348,7 +23348,7 @@ class IntegrationRuntimesImpl {
23348
23348
  * @param options The options parameters.
23349
23349
  */
23350
23350
  beginStopAndWait(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23351
- return tslib.__awaiter(this, void 0, void 0, function* () {
23351
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23352
23352
  const poller = yield this.beginStop(resourceGroupName, workspaceName, integrationRuntimeName, options);
23353
23353
  return poller.pollUntilDone();
23354
23354
  });
@@ -23371,17 +23371,17 @@ class IntegrationRuntimesImpl {
23371
23371
  * @param options The options parameters.
23372
23372
  */
23373
23373
  beginEnableInteractiveQuery(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23374
- return tslib.__awaiter(this, void 0, void 0, function* () {
23375
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23374
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23375
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23376
23376
  return this.client.sendOperationRequest(args, spec);
23377
23377
  });
23378
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23378
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23379
23379
  var _a;
23380
23380
  let currentRawResponse = undefined;
23381
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23381
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23382
23382
  const callback = (rawResponse, flatResponse) => {
23383
23383
  currentRawResponse = rawResponse;
23384
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23384
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23385
23385
  };
23386
23386
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23387
23387
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23396,8 +23396,8 @@ class IntegrationRuntimesImpl {
23396
23396
  });
23397
23397
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, integrationRuntimeName, options }, enableInteractiveQueryOperationSpec);
23398
23398
  const poller = new coreLro.LroEngine(lro, {
23399
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23400
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
23399
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23400
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
23401
23401
  });
23402
23402
  yield poller.poll();
23403
23403
  return poller;
@@ -23411,7 +23411,7 @@ class IntegrationRuntimesImpl {
23411
23411
  * @param options The options parameters.
23412
23412
  */
23413
23413
  beginEnableInteractiveQueryAndWait(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23414
- return tslib.__awaiter(this, void 0, void 0, function* () {
23414
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23415
23415
  const poller = yield this.beginEnableInteractiveQuery(resourceGroupName, workspaceName, integrationRuntimeName, options);
23416
23416
  return poller.pollUntilDone();
23417
23417
  });
@@ -23424,17 +23424,17 @@ class IntegrationRuntimesImpl {
23424
23424
  * @param options The options parameters.
23425
23425
  */
23426
23426
  beginDisableInteractiveQuery(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23427
- return tslib.__awaiter(this, void 0, void 0, function* () {
23428
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23427
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23428
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23429
23429
  return this.client.sendOperationRequest(args, spec);
23430
23430
  });
23431
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23431
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23432
23432
  var _a;
23433
23433
  let currentRawResponse = undefined;
23434
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23434
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23435
23435
  const callback = (rawResponse, flatResponse) => {
23436
23436
  currentRawResponse = rawResponse;
23437
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23437
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23438
23438
  };
23439
23439
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23440
23440
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23449,8 +23449,8 @@ class IntegrationRuntimesImpl {
23449
23449
  });
23450
23450
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, integrationRuntimeName, options }, disableInteractiveQueryOperationSpec);
23451
23451
  const poller = new coreLro.LroEngine(lro, {
23452
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23453
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
23452
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23453
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
23454
23454
  });
23455
23455
  yield poller.poll();
23456
23456
  return poller;
@@ -23464,7 +23464,7 @@ class IntegrationRuntimesImpl {
23464
23464
  * @param options The options parameters.
23465
23465
  */
23466
23466
  beginDisableInteractiveQueryAndWait(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23467
- return tslib.__awaiter(this, void 0, void 0, function* () {
23467
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23468
23468
  const poller = yield this.beginDisableInteractiveQuery(resourceGroupName, workspaceName, integrationRuntimeName, options);
23469
23469
  return poller.pollUntilDone();
23470
23470
  });
@@ -23868,17 +23868,17 @@ class IntegrationRuntimeObjectMetadataImpl {
23868
23868
  * @param options The options parameters.
23869
23869
  */
23870
23870
  beginRefresh(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23871
- return tslib.__awaiter(this, void 0, void 0, function* () {
23872
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23871
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23872
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23873
23873
  return this.client.sendOperationRequest(args, spec);
23874
23874
  });
23875
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23875
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23876
23876
  var _a;
23877
23877
  let currentRawResponse = undefined;
23878
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23878
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23879
23879
  const callback = (rawResponse, flatResponse) => {
23880
23880
  currentRawResponse = rawResponse;
23881
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23881
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23882
23882
  };
23883
23883
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23884
23884
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23893,8 +23893,8 @@ class IntegrationRuntimeObjectMetadataImpl {
23893
23893
  });
23894
23894
  const lro = new LroImpl(sendOperation, { resourceGroupName, workspaceName, integrationRuntimeName, options }, refreshOperationSpec);
23895
23895
  const poller = new coreLro.LroEngine(lro, {
23896
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23897
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
23896
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23897
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
23898
23898
  lroResourceLocationConfig: "azure-async-operation"
23899
23899
  });
23900
23900
  yield poller.poll();
@@ -23909,7 +23909,7 @@ class IntegrationRuntimeObjectMetadataImpl {
23909
23909
  * @param options The options parameters.
23910
23910
  */
23911
23911
  beginRefreshAndWait(resourceGroupName, workspaceName, integrationRuntimeName, options) {
23912
- return tslib.__awaiter(this, void 0, void 0, function* () {
23912
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23913
23913
  const poller = yield this.beginRefresh(resourceGroupName, workspaceName, integrationRuntimeName, options);
23914
23914
  return poller.pollUntilDone();
23915
23915
  });
@@ -24644,7 +24644,7 @@ class SparkConfigurationsImpl {
24644
24644
  return this;
24645
24645
  },
24646
24646
  byPage: (settings) => {
24647
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
24647
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
24648
24648
  throw new Error("maxPageSize is not supported by this operation.");
24649
24649
  }
24650
24650
  return this.listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings);
@@ -24654,7 +24654,7 @@ class SparkConfigurationsImpl {
24654
24654
  listByWorkspacePagingPage(resourceGroupName, workspaceName, options, settings) {
24655
24655
  return tslib.__asyncGenerator(this, arguments, function* listByWorkspacePagingPage_1() {
24656
24656
  let result;
24657
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
24657
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
24658
24658
  if (!continuationToken) {
24659
24659
  result = yield tslib.__await(this._listByWorkspace(resourceGroupName, workspaceName, options));
24660
24660
  let page = result.value || [];
@@ -24787,7 +24787,7 @@ class KustoOperationsImpl {
24787
24787
  return this;
24788
24788
  },
24789
24789
  byPage: (settings) => {
24790
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
24790
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
24791
24791
  throw new Error("maxPageSize is not supported by this operation.");
24792
24792
  }
24793
24793
  return this.listPagingPage(options, settings);
@@ -24797,7 +24797,7 @@ class KustoOperationsImpl {
24797
24797
  listPagingPage(options, settings) {
24798
24798
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
24799
24799
  let result;
24800
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
24800
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
24801
24801
  if (!continuationToken) {
24802
24802
  result = yield tslib.__await(this._list(options));
24803
24803
  let page = result.value || [];
@@ -24915,7 +24915,7 @@ class KustoPoolsImpl {
24915
24915
  return this;
24916
24916
  },
24917
24917
  byPage: (settings) => {
24918
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
24918
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
24919
24919
  throw new Error("maxPageSize is not supported by this operation.");
24920
24920
  }
24921
24921
  return this.listSkusPagingPage(options, settings);
@@ -24966,7 +24966,7 @@ class KustoPoolsImpl {
24966
24966
  return this;
24967
24967
  },
24968
24968
  byPage: (settings) => {
24969
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
24969
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
24970
24970
  throw new Error("maxPageSize is not supported by this operation.");
24971
24971
  }
24972
24972
  return this.listSkusByResourcePagingPage(workspaceName, kustoPoolName, resourceGroupName, options, settings);
@@ -25017,7 +25017,7 @@ class KustoPoolsImpl {
25017
25017
  return this;
25018
25018
  },
25019
25019
  byPage: (settings) => {
25020
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
25020
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
25021
25021
  throw new Error("maxPageSize is not supported by this operation.");
25022
25022
  }
25023
25023
  return this.listLanguageExtensionsPagingPage(workspaceName, kustoPoolName, resourceGroupName, options, settings);
@@ -25069,7 +25069,7 @@ class KustoPoolsImpl {
25069
25069
  return this;
25070
25070
  },
25071
25071
  byPage: (settings) => {
25072
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
25072
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
25073
25073
  throw new Error("maxPageSize is not supported by this operation.");
25074
25074
  }
25075
25075
  return this.listFollowerDatabasesPagingPage(workspaceName, kustoPoolName, resourceGroupName, options, settings);
@@ -25147,17 +25147,17 @@ class KustoPoolsImpl {
25147
25147
  * @param options The options parameters.
25148
25148
  */
25149
25149
  beginCreateOrUpdate(workspaceName, resourceGroupName, kustoPoolName, parameters, options) {
25150
- return tslib.__awaiter(this, void 0, void 0, function* () {
25151
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25150
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25151
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25152
25152
  return this.client.sendOperationRequest(args, spec);
25153
25153
  });
25154
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25154
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25155
25155
  var _a;
25156
25156
  let currentRawResponse = undefined;
25157
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25157
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25158
25158
  const callback = (rawResponse, flatResponse) => {
25159
25159
  currentRawResponse = rawResponse;
25160
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25160
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25161
25161
  };
25162
25162
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25163
25163
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25172,8 +25172,8 @@ class KustoPoolsImpl {
25172
25172
  });
25173
25173
  const lro = new LroImpl(sendOperation, { workspaceName, resourceGroupName, kustoPoolName, parameters, options }, createOrUpdateOperationSpec$5);
25174
25174
  const poller = new coreLro.LroEngine(lro, {
25175
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25176
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25175
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25176
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25177
25177
  });
25178
25178
  yield poller.poll();
25179
25179
  return poller;
@@ -25188,7 +25188,7 @@ class KustoPoolsImpl {
25188
25188
  * @param options The options parameters.
25189
25189
  */
25190
25190
  beginCreateOrUpdateAndWait(workspaceName, resourceGroupName, kustoPoolName, parameters, options) {
25191
- return tslib.__awaiter(this, void 0, void 0, function* () {
25191
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25192
25192
  const poller = yield this.beginCreateOrUpdate(workspaceName, resourceGroupName, kustoPoolName, parameters, options);
25193
25193
  return poller.pollUntilDone();
25194
25194
  });
@@ -25202,17 +25202,17 @@ class KustoPoolsImpl {
25202
25202
  * @param options The options parameters.
25203
25203
  */
25204
25204
  beginUpdate(workspaceName, resourceGroupName, kustoPoolName, parameters, options) {
25205
- return tslib.__awaiter(this, void 0, void 0, function* () {
25206
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25205
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25206
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25207
25207
  return this.client.sendOperationRequest(args, spec);
25208
25208
  });
25209
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25209
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25210
25210
  var _a;
25211
25211
  let currentRawResponse = undefined;
25212
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25212
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25213
25213
  const callback = (rawResponse, flatResponse) => {
25214
25214
  currentRawResponse = rawResponse;
25215
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25215
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25216
25216
  };
25217
25217
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25218
25218
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25227,8 +25227,8 @@ class KustoPoolsImpl {
25227
25227
  });
25228
25228
  const lro = new LroImpl(sendOperation, { workspaceName, resourceGroupName, kustoPoolName, parameters, options }, updateOperationSpec$2);
25229
25229
  const poller = new coreLro.LroEngine(lro, {
25230
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25231
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25230
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25231
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25232
25232
  });
25233
25233
  yield poller.poll();
25234
25234
  return poller;
@@ -25243,7 +25243,7 @@ class KustoPoolsImpl {
25243
25243
  * @param options The options parameters.
25244
25244
  */
25245
25245
  beginUpdateAndWait(workspaceName, resourceGroupName, kustoPoolName, parameters, options) {
25246
- return tslib.__awaiter(this, void 0, void 0, function* () {
25246
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25247
25247
  const poller = yield this.beginUpdate(workspaceName, resourceGroupName, kustoPoolName, parameters, options);
25248
25248
  return poller.pollUntilDone();
25249
25249
  });
@@ -25256,17 +25256,17 @@ class KustoPoolsImpl {
25256
25256
  * @param options The options parameters.
25257
25257
  */
25258
25258
  beginDelete(workspaceName, resourceGroupName, kustoPoolName, options) {
25259
- return tslib.__awaiter(this, void 0, void 0, function* () {
25260
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25259
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25260
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25261
25261
  return this.client.sendOperationRequest(args, spec);
25262
25262
  });
25263
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25263
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25264
25264
  var _a;
25265
25265
  let currentRawResponse = undefined;
25266
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25266
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25267
25267
  const callback = (rawResponse, flatResponse) => {
25268
25268
  currentRawResponse = rawResponse;
25269
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25269
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25270
25270
  };
25271
25271
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25272
25272
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25281,8 +25281,8 @@ class KustoPoolsImpl {
25281
25281
  });
25282
25282
  const lro = new LroImpl(sendOperation, { workspaceName, resourceGroupName, kustoPoolName, options }, deleteOperationSpec$5);
25283
25283
  const poller = new coreLro.LroEngine(lro, {
25284
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25285
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25284
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25285
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25286
25286
  });
25287
25287
  yield poller.poll();
25288
25288
  return poller;
@@ -25296,7 +25296,7 @@ class KustoPoolsImpl {
25296
25296
  * @param options The options parameters.
25297
25297
  */
25298
25298
  beginDeleteAndWait(workspaceName, resourceGroupName, kustoPoolName, options) {
25299
- return tslib.__awaiter(this, void 0, void 0, function* () {
25299
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25300
25300
  const poller = yield this.beginDelete(workspaceName, resourceGroupName, kustoPoolName, options);
25301
25301
  return poller.pollUntilDone();
25302
25302
  });
@@ -25309,17 +25309,17 @@ class KustoPoolsImpl {
25309
25309
  * @param options The options parameters.
25310
25310
  */
25311
25311
  beginStop(workspaceName, kustoPoolName, resourceGroupName, options) {
25312
- return tslib.__awaiter(this, void 0, void 0, function* () {
25313
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25312
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25313
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25314
25314
  return this.client.sendOperationRequest(args, spec);
25315
25315
  });
25316
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25316
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25317
25317
  var _a;
25318
25318
  let currentRawResponse = undefined;
25319
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25319
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25320
25320
  const callback = (rawResponse, flatResponse) => {
25321
25321
  currentRawResponse = rawResponse;
25322
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25322
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25323
25323
  };
25324
25324
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25325
25325
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25334,8 +25334,8 @@ class KustoPoolsImpl {
25334
25334
  });
25335
25335
  const lro = new LroImpl(sendOperation, { workspaceName, kustoPoolName, resourceGroupName, options }, stopOperationSpec);
25336
25336
  const poller = new coreLro.LroEngine(lro, {
25337
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25338
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25337
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25338
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25339
25339
  });
25340
25340
  yield poller.poll();
25341
25341
  return poller;
@@ -25349,7 +25349,7 @@ class KustoPoolsImpl {
25349
25349
  * @param options The options parameters.
25350
25350
  */
25351
25351
  beginStopAndWait(workspaceName, kustoPoolName, resourceGroupName, options) {
25352
- return tslib.__awaiter(this, void 0, void 0, function* () {
25352
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25353
25353
  const poller = yield this.beginStop(workspaceName, kustoPoolName, resourceGroupName, options);
25354
25354
  return poller.pollUntilDone();
25355
25355
  });
@@ -25362,17 +25362,17 @@ class KustoPoolsImpl {
25362
25362
  * @param options The options parameters.
25363
25363
  */
25364
25364
  beginStart(workspaceName, kustoPoolName, resourceGroupName, options) {
25365
- return tslib.__awaiter(this, void 0, void 0, function* () {
25366
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25365
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25366
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25367
25367
  return this.client.sendOperationRequest(args, spec);
25368
25368
  });
25369
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25369
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25370
25370
  var _a;
25371
25371
  let currentRawResponse = undefined;
25372
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25372
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25373
25373
  const callback = (rawResponse, flatResponse) => {
25374
25374
  currentRawResponse = rawResponse;
25375
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25375
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25376
25376
  };
25377
25377
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25378
25378
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25387,8 +25387,8 @@ class KustoPoolsImpl {
25387
25387
  });
25388
25388
  const lro = new LroImpl(sendOperation, { workspaceName, kustoPoolName, resourceGroupName, options }, startOperationSpec);
25389
25389
  const poller = new coreLro.LroEngine(lro, {
25390
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25391
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25390
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25391
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25392
25392
  });
25393
25393
  yield poller.poll();
25394
25394
  return poller;
@@ -25402,7 +25402,7 @@ class KustoPoolsImpl {
25402
25402
  * @param options The options parameters.
25403
25403
  */
25404
25404
  beginStartAndWait(workspaceName, kustoPoolName, resourceGroupName, options) {
25405
- return tslib.__awaiter(this, void 0, void 0, function* () {
25405
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25406
25406
  const poller = yield this.beginStart(workspaceName, kustoPoolName, resourceGroupName, options);
25407
25407
  return poller.pollUntilDone();
25408
25408
  });
@@ -25436,17 +25436,17 @@ class KustoPoolsImpl {
25436
25436
  * @param options The options parameters.
25437
25437
  */
25438
25438
  beginAddLanguageExtensions(workspaceName, kustoPoolName, resourceGroupName, languageExtensionsToAdd, options) {
25439
- return tslib.__awaiter(this, void 0, void 0, function* () {
25440
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25439
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25440
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25441
25441
  return this.client.sendOperationRequest(args, spec);
25442
25442
  });
25443
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25443
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25444
25444
  var _a;
25445
25445
  let currentRawResponse = undefined;
25446
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25446
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25447
25447
  const callback = (rawResponse, flatResponse) => {
25448
25448
  currentRawResponse = rawResponse;
25449
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25449
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25450
25450
  };
25451
25451
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25452
25452
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25467,8 +25467,8 @@ class KustoPoolsImpl {
25467
25467
  options
25468
25468
  }, addLanguageExtensionsOperationSpec);
25469
25469
  const poller = new coreLro.LroEngine(lro, {
25470
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25471
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25470
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25471
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25472
25472
  });
25473
25473
  yield poller.poll();
25474
25474
  return poller;
@@ -25483,7 +25483,7 @@ class KustoPoolsImpl {
25483
25483
  * @param options The options parameters.
25484
25484
  */
25485
25485
  beginAddLanguageExtensionsAndWait(workspaceName, kustoPoolName, resourceGroupName, languageExtensionsToAdd, options) {
25486
- return tslib.__awaiter(this, void 0, void 0, function* () {
25486
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25487
25487
  const poller = yield this.beginAddLanguageExtensions(workspaceName, kustoPoolName, resourceGroupName, languageExtensionsToAdd, options);
25488
25488
  return poller.pollUntilDone();
25489
25489
  });
@@ -25497,17 +25497,17 @@ class KustoPoolsImpl {
25497
25497
  * @param options The options parameters.
25498
25498
  */
25499
25499
  beginRemoveLanguageExtensions(workspaceName, kustoPoolName, resourceGroupName, languageExtensionsToRemove, options) {
25500
- return tslib.__awaiter(this, void 0, void 0, function* () {
25501
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25500
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25501
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25502
25502
  return this.client.sendOperationRequest(args, spec);
25503
25503
  });
25504
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25504
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25505
25505
  var _a;
25506
25506
  let currentRawResponse = undefined;
25507
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25507
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25508
25508
  const callback = (rawResponse, flatResponse) => {
25509
25509
  currentRawResponse = rawResponse;
25510
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25510
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25511
25511
  };
25512
25512
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25513
25513
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25528,8 +25528,8 @@ class KustoPoolsImpl {
25528
25528
  options
25529
25529
  }, removeLanguageExtensionsOperationSpec);
25530
25530
  const poller = new coreLro.LroEngine(lro, {
25531
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25532
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25531
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25532
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25533
25533
  });
25534
25534
  yield poller.poll();
25535
25535
  return poller;
@@ -25544,7 +25544,7 @@ class KustoPoolsImpl {
25544
25544
  * @param options The options parameters.
25545
25545
  */
25546
25546
  beginRemoveLanguageExtensionsAndWait(workspaceName, kustoPoolName, resourceGroupName, languageExtensionsToRemove, options) {
25547
- return tslib.__awaiter(this, void 0, void 0, function* () {
25547
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25548
25548
  const poller = yield this.beginRemoveLanguageExtensions(workspaceName, kustoPoolName, resourceGroupName, languageExtensionsToRemove, options);
25549
25549
  return poller.pollUntilDone();
25550
25550
  });
@@ -25569,17 +25569,17 @@ class KustoPoolsImpl {
25569
25569
  * @param options The options parameters.
25570
25570
  */
25571
25571
  beginDetachFollowerDatabases(workspaceName, kustoPoolName, resourceGroupName, followerDatabaseToRemove, options) {
25572
- return tslib.__awaiter(this, void 0, void 0, function* () {
25573
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25572
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25573
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25574
25574
  return this.client.sendOperationRequest(args, spec);
25575
25575
  });
25576
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25576
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25577
25577
  var _a;
25578
25578
  let currentRawResponse = undefined;
25579
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25579
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25580
25580
  const callback = (rawResponse, flatResponse) => {
25581
25581
  currentRawResponse = rawResponse;
25582
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25582
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25583
25583
  };
25584
25584
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25585
25585
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25600,8 +25600,8 @@ class KustoPoolsImpl {
25600
25600
  options
25601
25601
  }, detachFollowerDatabasesOperationSpec);
25602
25602
  const poller = new coreLro.LroEngine(lro, {
25603
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25604
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
25603
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25604
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
25605
25605
  });
25606
25606
  yield poller.poll();
25607
25607
  return poller;
@@ -25616,7 +25616,7 @@ class KustoPoolsImpl {
25616
25616
  * @param options The options parameters.
25617
25617
  */
25618
25618
  beginDetachFollowerDatabasesAndWait(workspaceName, kustoPoolName, resourceGroupName, followerDatabaseToRemove, options) {
25619
- return tslib.__awaiter(this, void 0, void 0, function* () {
25619
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25620
25620
  const poller = yield this.beginDetachFollowerDatabases(workspaceName, kustoPoolName, resourceGroupName, followerDatabaseToRemove, options);
25621
25621
  return poller.pollUntilDone();
25622
25622
  });
@@ -26086,7 +26086,7 @@ class KustoPoolAttachedDatabaseConfigurationsImpl {
26086
26086
  return this;
26087
26087
  },
26088
26088
  byPage: (settings) => {
26089
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
26089
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
26090
26090
  throw new Error("maxPageSize is not supported by this operation.");
26091
26091
  }
26092
26092
  return this.listByKustoPoolPagingPage(workspaceName, kustoPoolName, resourceGroupName, options, settings);
@@ -26157,17 +26157,17 @@ class KustoPoolAttachedDatabaseConfigurationsImpl {
26157
26157
  * @param options The options parameters.
26158
26158
  */
26159
26159
  beginCreateOrUpdate(workspaceName, kustoPoolName, attachedDatabaseConfigurationName, resourceGroupName, parameters, options) {
26160
- return tslib.__awaiter(this, void 0, void 0, function* () {
26161
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26160
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26161
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26162
26162
  return this.client.sendOperationRequest(args, spec);
26163
26163
  });
26164
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26164
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26165
26165
  var _a;
26166
26166
  let currentRawResponse = undefined;
26167
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26167
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26168
26168
  const callback = (rawResponse, flatResponse) => {
26169
26169
  currentRawResponse = rawResponse;
26170
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26170
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26171
26171
  };
26172
26172
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26173
26173
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26189,8 +26189,8 @@ class KustoPoolAttachedDatabaseConfigurationsImpl {
26189
26189
  options
26190
26190
  }, createOrUpdateOperationSpec$4);
26191
26191
  const poller = new coreLro.LroEngine(lro, {
26192
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26193
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
26192
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26193
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
26194
26194
  });
26195
26195
  yield poller.poll();
26196
26196
  return poller;
@@ -26206,7 +26206,7 @@ class KustoPoolAttachedDatabaseConfigurationsImpl {
26206
26206
  * @param options The options parameters.
26207
26207
  */
26208
26208
  beginCreateOrUpdateAndWait(workspaceName, kustoPoolName, attachedDatabaseConfigurationName, resourceGroupName, parameters, options) {
26209
- return tslib.__awaiter(this, void 0, void 0, function* () {
26209
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26210
26210
  const poller = yield this.beginCreateOrUpdate(workspaceName, kustoPoolName, attachedDatabaseConfigurationName, resourceGroupName, parameters, options);
26211
26211
  return poller.pollUntilDone();
26212
26212
  });
@@ -26220,17 +26220,17 @@ class KustoPoolAttachedDatabaseConfigurationsImpl {
26220
26220
  * @param options The options parameters.
26221
26221
  */
26222
26222
  beginDelete(workspaceName, kustoPoolName, attachedDatabaseConfigurationName, resourceGroupName, options) {
26223
- return tslib.__awaiter(this, void 0, void 0, function* () {
26224
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26223
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26224
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26225
26225
  return this.client.sendOperationRequest(args, spec);
26226
26226
  });
26227
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26227
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26228
26228
  var _a;
26229
26229
  let currentRawResponse = undefined;
26230
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26230
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26231
26231
  const callback = (rawResponse, flatResponse) => {
26232
26232
  currentRawResponse = rawResponse;
26233
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26233
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26234
26234
  };
26235
26235
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26236
26236
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26251,8 +26251,8 @@ class KustoPoolAttachedDatabaseConfigurationsImpl {
26251
26251
  options
26252
26252
  }, deleteOperationSpec$4);
26253
26253
  const poller = new coreLro.LroEngine(lro, {
26254
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26255
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
26254
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26255
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
26256
26256
  });
26257
26257
  yield poller.poll();
26258
26258
  return poller;
@@ -26267,7 +26267,7 @@ class KustoPoolAttachedDatabaseConfigurationsImpl {
26267
26267
  * @param options The options parameters.
26268
26268
  */
26269
26269
  beginDeleteAndWait(workspaceName, kustoPoolName, attachedDatabaseConfigurationName, resourceGroupName, options) {
26270
- return tslib.__awaiter(this, void 0, void 0, function* () {
26270
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26271
26271
  const poller = yield this.beginDelete(workspaceName, kustoPoolName, attachedDatabaseConfigurationName, resourceGroupName, options);
26272
26272
  return poller.pollUntilDone();
26273
26273
  });
@@ -26413,7 +26413,7 @@ class KustoPoolDatabasesImpl {
26413
26413
  return this;
26414
26414
  },
26415
26415
  byPage: (settings) => {
26416
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
26416
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
26417
26417
  throw new Error("maxPageSize is not supported by this operation.");
26418
26418
  }
26419
26419
  return this.listByKustoPoolPagingPage(resourceGroupName, workspaceName, kustoPoolName, options, settings);
@@ -26484,17 +26484,17 @@ class KustoPoolDatabasesImpl {
26484
26484
  * @param options The options parameters.
26485
26485
  */
26486
26486
  beginCreateOrUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options) {
26487
- return tslib.__awaiter(this, void 0, void 0, function* () {
26488
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26487
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26488
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26489
26489
  return this.client.sendOperationRequest(args, spec);
26490
26490
  });
26491
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26491
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26492
26492
  var _a;
26493
26493
  let currentRawResponse = undefined;
26494
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26494
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26495
26495
  const callback = (rawResponse, flatResponse) => {
26496
26496
  currentRawResponse = rawResponse;
26497
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26497
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26498
26498
  };
26499
26499
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26500
26500
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26516,8 +26516,8 @@ class KustoPoolDatabasesImpl {
26516
26516
  options
26517
26517
  }, createOrUpdateOperationSpec$3);
26518
26518
  const poller = new coreLro.LroEngine(lro, {
26519
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26520
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
26519
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26520
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
26521
26521
  });
26522
26522
  yield poller.poll();
26523
26523
  return poller;
@@ -26533,7 +26533,7 @@ class KustoPoolDatabasesImpl {
26533
26533
  * @param options The options parameters.
26534
26534
  */
26535
26535
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options) {
26536
- return tslib.__awaiter(this, void 0, void 0, function* () {
26536
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26537
26537
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options);
26538
26538
  return poller.pollUntilDone();
26539
26539
  });
@@ -26548,17 +26548,17 @@ class KustoPoolDatabasesImpl {
26548
26548
  * @param options The options parameters.
26549
26549
  */
26550
26550
  beginUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options) {
26551
- return tslib.__awaiter(this, void 0, void 0, function* () {
26552
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26551
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26552
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26553
26553
  return this.client.sendOperationRequest(args, spec);
26554
26554
  });
26555
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26555
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26556
26556
  var _a;
26557
26557
  let currentRawResponse = undefined;
26558
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26558
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26559
26559
  const callback = (rawResponse, flatResponse) => {
26560
26560
  currentRawResponse = rawResponse;
26561
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26561
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26562
26562
  };
26563
26563
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26564
26564
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26580,8 +26580,8 @@ class KustoPoolDatabasesImpl {
26580
26580
  options
26581
26581
  }, updateOperationSpec$1);
26582
26582
  const poller = new coreLro.LroEngine(lro, {
26583
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26584
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
26583
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26584
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
26585
26585
  });
26586
26586
  yield poller.poll();
26587
26587
  return poller;
@@ -26597,7 +26597,7 @@ class KustoPoolDatabasesImpl {
26597
26597
  * @param options The options parameters.
26598
26598
  */
26599
26599
  beginUpdateAndWait(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options) {
26600
- return tslib.__awaiter(this, void 0, void 0, function* () {
26600
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26601
26601
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options);
26602
26602
  return poller.pollUntilDone();
26603
26603
  });
@@ -26611,17 +26611,17 @@ class KustoPoolDatabasesImpl {
26611
26611
  * @param options The options parameters.
26612
26612
  */
26613
26613
  beginDelete(resourceGroupName, workspaceName, kustoPoolName, databaseName, options) {
26614
- return tslib.__awaiter(this, void 0, void 0, function* () {
26615
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26614
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26615
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26616
26616
  return this.client.sendOperationRequest(args, spec);
26617
26617
  });
26618
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26618
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26619
26619
  var _a;
26620
26620
  let currentRawResponse = undefined;
26621
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26621
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26622
26622
  const callback = (rawResponse, flatResponse) => {
26623
26623
  currentRawResponse = rawResponse;
26624
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26624
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26625
26625
  };
26626
26626
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26627
26627
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26642,8 +26642,8 @@ class KustoPoolDatabasesImpl {
26642
26642
  options
26643
26643
  }, deleteOperationSpec$3);
26644
26644
  const poller = new coreLro.LroEngine(lro, {
26645
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26646
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
26645
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26646
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
26647
26647
  });
26648
26648
  yield poller.poll();
26649
26649
  return poller;
@@ -26658,7 +26658,7 @@ class KustoPoolDatabasesImpl {
26658
26658
  * @param options The options parameters.
26659
26659
  */
26660
26660
  beginDeleteAndWait(resourceGroupName, workspaceName, kustoPoolName, databaseName, options) {
26661
- return tslib.__awaiter(this, void 0, void 0, function* () {
26661
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26662
26662
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, kustoPoolName, databaseName, options);
26663
26663
  return poller.pollUntilDone();
26664
26664
  });
@@ -26839,7 +26839,7 @@ class KustoPoolDataConnectionsImpl {
26839
26839
  return this;
26840
26840
  },
26841
26841
  byPage: (settings) => {
26842
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
26842
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
26843
26843
  throw new Error("maxPageSize is not supported by this operation.");
26844
26844
  }
26845
26845
  return this.listByDatabasePagingPage(resourceGroupName, workspaceName, kustoPoolName, databaseName, options, settings);
@@ -26902,17 +26902,17 @@ class KustoPoolDataConnectionsImpl {
26902
26902
  * @param options The options parameters.
26903
26903
  */
26904
26904
  beginDataConnectionValidation(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options) {
26905
- return tslib.__awaiter(this, void 0, void 0, function* () {
26906
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26905
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26906
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26907
26907
  return this.client.sendOperationRequest(args, spec);
26908
26908
  });
26909
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26909
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26910
26910
  var _a;
26911
26911
  let currentRawResponse = undefined;
26912
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26912
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26913
26913
  const callback = (rawResponse, flatResponse) => {
26914
26914
  currentRawResponse = rawResponse;
26915
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26915
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26916
26916
  };
26917
26917
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26918
26918
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26934,8 +26934,8 @@ class KustoPoolDataConnectionsImpl {
26934
26934
  options
26935
26935
  }, dataConnectionValidationOperationSpec);
26936
26936
  const poller = new coreLro.LroEngine(lro, {
26937
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26938
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
26937
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26938
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
26939
26939
  lroResourceLocationConfig: "location"
26940
26940
  });
26941
26941
  yield poller.poll();
@@ -26952,7 +26952,7 @@ class KustoPoolDataConnectionsImpl {
26952
26952
  * @param options The options parameters.
26953
26953
  */
26954
26954
  beginDataConnectionValidationAndWait(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options) {
26955
- return tslib.__awaiter(this, void 0, void 0, function* () {
26955
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26956
26956
  const poller = yield this.beginDataConnectionValidation(resourceGroupName, workspaceName, kustoPoolName, databaseName, parameters, options);
26957
26957
  return poller.pollUntilDone();
26958
26958
  });
@@ -27004,17 +27004,17 @@ class KustoPoolDataConnectionsImpl {
27004
27004
  * @param options The options parameters.
27005
27005
  */
27006
27006
  beginCreateOrUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, parameters, options) {
27007
- return tslib.__awaiter(this, void 0, void 0, function* () {
27008
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27007
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27008
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27009
27009
  return this.client.sendOperationRequest(args, spec);
27010
27010
  });
27011
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27011
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27012
27012
  var _a;
27013
27013
  let currentRawResponse = undefined;
27014
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27014
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27015
27015
  const callback = (rawResponse, flatResponse) => {
27016
27016
  currentRawResponse = rawResponse;
27017
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27017
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27018
27018
  };
27019
27019
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27020
27020
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27037,8 +27037,8 @@ class KustoPoolDataConnectionsImpl {
27037
27037
  options
27038
27038
  }, createOrUpdateOperationSpec$2);
27039
27039
  const poller = new coreLro.LroEngine(lro, {
27040
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27041
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27040
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27041
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
27042
27042
  });
27043
27043
  yield poller.poll();
27044
27044
  return poller;
@@ -27055,7 +27055,7 @@ class KustoPoolDataConnectionsImpl {
27055
27055
  * @param options The options parameters.
27056
27056
  */
27057
27057
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, parameters, options) {
27058
- return tslib.__awaiter(this, void 0, void 0, function* () {
27058
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27059
27059
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, parameters, options);
27060
27060
  return poller.pollUntilDone();
27061
27061
  });
@@ -27071,17 +27071,17 @@ class KustoPoolDataConnectionsImpl {
27071
27071
  * @param options The options parameters.
27072
27072
  */
27073
27073
  beginUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, parameters, options) {
27074
- return tslib.__awaiter(this, void 0, void 0, function* () {
27075
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27074
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27075
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27076
27076
  return this.client.sendOperationRequest(args, spec);
27077
27077
  });
27078
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27078
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27079
27079
  var _a;
27080
27080
  let currentRawResponse = undefined;
27081
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27081
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27082
27082
  const callback = (rawResponse, flatResponse) => {
27083
27083
  currentRawResponse = rawResponse;
27084
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27084
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27085
27085
  };
27086
27086
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27087
27087
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27104,8 +27104,8 @@ class KustoPoolDataConnectionsImpl {
27104
27104
  options
27105
27105
  }, updateOperationSpec);
27106
27106
  const poller = new coreLro.LroEngine(lro, {
27107
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27108
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27107
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27108
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
27109
27109
  });
27110
27110
  yield poller.poll();
27111
27111
  return poller;
@@ -27122,7 +27122,7 @@ class KustoPoolDataConnectionsImpl {
27122
27122
  * @param options The options parameters.
27123
27123
  */
27124
27124
  beginUpdateAndWait(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, parameters, options) {
27125
- return tslib.__awaiter(this, void 0, void 0, function* () {
27125
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27126
27126
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, parameters, options);
27127
27127
  return poller.pollUntilDone();
27128
27128
  });
@@ -27137,17 +27137,17 @@ class KustoPoolDataConnectionsImpl {
27137
27137
  * @param options The options parameters.
27138
27138
  */
27139
27139
  beginDelete(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, options) {
27140
- return tslib.__awaiter(this, void 0, void 0, function* () {
27141
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27140
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27141
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27142
27142
  return this.client.sendOperationRequest(args, spec);
27143
27143
  });
27144
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27144
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27145
27145
  var _a;
27146
27146
  let currentRawResponse = undefined;
27147
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27147
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27148
27148
  const callback = (rawResponse, flatResponse) => {
27149
27149
  currentRawResponse = rawResponse;
27150
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27150
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27151
27151
  };
27152
27152
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27153
27153
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27169,8 +27169,8 @@ class KustoPoolDataConnectionsImpl {
27169
27169
  options
27170
27170
  }, deleteOperationSpec$2);
27171
27171
  const poller = new coreLro.LroEngine(lro, {
27172
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27173
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27172
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27173
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
27174
27174
  });
27175
27175
  yield poller.poll();
27176
27176
  return poller;
@@ -27186,7 +27186,7 @@ class KustoPoolDataConnectionsImpl {
27186
27186
  * @param options The options parameters.
27187
27187
  */
27188
27188
  beginDeleteAndWait(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, options) {
27189
- return tslib.__awaiter(this, void 0, void 0, function* () {
27189
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27190
27190
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, kustoPoolName, databaseName, dataConnectionName, options);
27191
27191
  return poller.pollUntilDone();
27192
27192
  });
@@ -27430,7 +27430,7 @@ class KustoPoolPrincipalAssignmentsImpl {
27430
27430
  return this;
27431
27431
  },
27432
27432
  byPage: (settings) => {
27433
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
27433
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
27434
27434
  throw new Error("maxPageSize is not supported by this operation.");
27435
27435
  }
27436
27436
  return this.listPagingPage(workspaceName, kustoPoolName, resourceGroupName, options, settings);
@@ -27518,17 +27518,17 @@ class KustoPoolPrincipalAssignmentsImpl {
27518
27518
  * @param options The options parameters.
27519
27519
  */
27520
27520
  beginCreateOrUpdate(workspaceName, kustoPoolName, principalAssignmentName, resourceGroupName, parameters, options) {
27521
- return tslib.__awaiter(this, void 0, void 0, function* () {
27522
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27521
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27522
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27523
27523
  return this.client.sendOperationRequest(args, spec);
27524
27524
  });
27525
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27525
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27526
27526
  var _a;
27527
27527
  let currentRawResponse = undefined;
27528
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27528
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27529
27529
  const callback = (rawResponse, flatResponse) => {
27530
27530
  currentRawResponse = rawResponse;
27531
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27531
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27532
27532
  };
27533
27533
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27534
27534
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27550,8 +27550,8 @@ class KustoPoolPrincipalAssignmentsImpl {
27550
27550
  options
27551
27551
  }, createOrUpdateOperationSpec$1);
27552
27552
  const poller = new coreLro.LroEngine(lro, {
27553
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27554
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27553
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27554
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
27555
27555
  });
27556
27556
  yield poller.poll();
27557
27557
  return poller;
@@ -27567,7 +27567,7 @@ class KustoPoolPrincipalAssignmentsImpl {
27567
27567
  * @param options The options parameters.
27568
27568
  */
27569
27569
  beginCreateOrUpdateAndWait(workspaceName, kustoPoolName, principalAssignmentName, resourceGroupName, parameters, options) {
27570
- return tslib.__awaiter(this, void 0, void 0, function* () {
27570
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27571
27571
  const poller = yield this.beginCreateOrUpdate(workspaceName, kustoPoolName, principalAssignmentName, resourceGroupName, parameters, options);
27572
27572
  return poller.pollUntilDone();
27573
27573
  });
@@ -27581,17 +27581,17 @@ class KustoPoolPrincipalAssignmentsImpl {
27581
27581
  * @param options The options parameters.
27582
27582
  */
27583
27583
  beginDelete(workspaceName, kustoPoolName, principalAssignmentName, resourceGroupName, options) {
27584
- return tslib.__awaiter(this, void 0, void 0, function* () {
27585
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27584
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27585
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27586
27586
  return this.client.sendOperationRequest(args, spec);
27587
27587
  });
27588
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27588
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27589
27589
  var _a;
27590
27590
  let currentRawResponse = undefined;
27591
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27591
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27592
27592
  const callback = (rawResponse, flatResponse) => {
27593
27593
  currentRawResponse = rawResponse;
27594
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27594
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27595
27595
  };
27596
27596
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27597
27597
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27612,8 +27612,8 @@ class KustoPoolPrincipalAssignmentsImpl {
27612
27612
  options
27613
27613
  }, deleteOperationSpec$1);
27614
27614
  const poller = new coreLro.LroEngine(lro, {
27615
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27616
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27615
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27616
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
27617
27617
  });
27618
27618
  yield poller.poll();
27619
27619
  return poller;
@@ -27628,7 +27628,7 @@ class KustoPoolPrincipalAssignmentsImpl {
27628
27628
  * @param options The options parameters.
27629
27629
  */
27630
27630
  beginDeleteAndWait(workspaceName, kustoPoolName, principalAssignmentName, resourceGroupName, options) {
27631
- return tslib.__awaiter(this, void 0, void 0, function* () {
27631
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27632
27632
  const poller = yield this.beginDelete(workspaceName, kustoPoolName, principalAssignmentName, resourceGroupName, options);
27633
27633
  return poller.pollUntilDone();
27634
27634
  });
@@ -27799,7 +27799,7 @@ class KustoPoolDatabasePrincipalAssignmentsImpl {
27799
27799
  return this;
27800
27800
  },
27801
27801
  byPage: (settings) => {
27802
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
27802
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
27803
27803
  throw new Error("maxPageSize is not supported by this operation.");
27804
27804
  }
27805
27805
  return this.listPagingPage(workspaceName, kustoPoolName, databaseName, resourceGroupName, options, settings);
@@ -27899,17 +27899,17 @@ class KustoPoolDatabasePrincipalAssignmentsImpl {
27899
27899
  * @param options The options parameters.
27900
27900
  */
27901
27901
  beginCreateOrUpdate(workspaceName, kustoPoolName, databaseName, principalAssignmentName, resourceGroupName, parameters, options) {
27902
- return tslib.__awaiter(this, void 0, void 0, function* () {
27903
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27902
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27903
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27904
27904
  return this.client.sendOperationRequest(args, spec);
27905
27905
  });
27906
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27906
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27907
27907
  var _a;
27908
27908
  let currentRawResponse = undefined;
27909
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27909
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27910
27910
  const callback = (rawResponse, flatResponse) => {
27911
27911
  currentRawResponse = rawResponse;
27912
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27912
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27913
27913
  };
27914
27914
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27915
27915
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27932,8 +27932,8 @@ class KustoPoolDatabasePrincipalAssignmentsImpl {
27932
27932
  options
27933
27933
  }, createOrUpdateOperationSpec);
27934
27934
  const poller = new coreLro.LroEngine(lro, {
27935
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27936
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
27935
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27936
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
27937
27937
  });
27938
27938
  yield poller.poll();
27939
27939
  return poller;
@@ -27950,7 +27950,7 @@ class KustoPoolDatabasePrincipalAssignmentsImpl {
27950
27950
  * @param options The options parameters.
27951
27951
  */
27952
27952
  beginCreateOrUpdateAndWait(workspaceName, kustoPoolName, databaseName, principalAssignmentName, resourceGroupName, parameters, options) {
27953
- return tslib.__awaiter(this, void 0, void 0, function* () {
27953
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27954
27954
  const poller = yield this.beginCreateOrUpdate(workspaceName, kustoPoolName, databaseName, principalAssignmentName, resourceGroupName, parameters, options);
27955
27955
  return poller.pollUntilDone();
27956
27956
  });
@@ -27965,17 +27965,17 @@ class KustoPoolDatabasePrincipalAssignmentsImpl {
27965
27965
  * @param options The options parameters.
27966
27966
  */
27967
27967
  beginDelete(workspaceName, kustoPoolName, databaseName, principalAssignmentName, resourceGroupName, options) {
27968
- return tslib.__awaiter(this, void 0, void 0, function* () {
27969
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27968
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27969
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27970
27970
  return this.client.sendOperationRequest(args, spec);
27971
27971
  });
27972
- const sendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27972
+ const sendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27973
27973
  var _a;
27974
27974
  let currentRawResponse = undefined;
27975
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27975
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27976
27976
  const callback = (rawResponse, flatResponse) => {
27977
27977
  currentRawResponse = rawResponse;
27978
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27978
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27979
27979
  };
27980
27980
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27981
27981
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27997,8 +27997,8 @@ class KustoPoolDatabasePrincipalAssignmentsImpl {
27997
27997
  options
27998
27998
  }, deleteOperationSpec);
27999
27999
  const poller = new coreLro.LroEngine(lro, {
28000
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28001
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
28000
+ resumeFrom: options === null || options === undefined ? undefined : options.resumeFrom,
28001
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs
28002
28002
  });
28003
28003
  yield poller.poll();
28004
28004
  return poller;
@@ -28014,7 +28014,7 @@ class KustoPoolDatabasePrincipalAssignmentsImpl {
28014
28014
  * @param options The options parameters.
28015
28015
  */
28016
28016
  beginDeleteAndWait(workspaceName, kustoPoolName, databaseName, principalAssignmentName, resourceGroupName, options) {
28017
- return tslib.__awaiter(this, void 0, void 0, function* () {
28017
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28018
28018
  const poller = yield this.beginDelete(workspaceName, kustoPoolName, databaseName, principalAssignmentName, resourceGroupName, options);
28019
28019
  return poller.pollUntilDone();
28020
28020
  });
@@ -28189,7 +28189,7 @@ class KustoPoolPrivateLinkResourcesOperationsImpl {
28189
28189
  return this;
28190
28190
  },
28191
28191
  byPage: (settings) => {
28192
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
28192
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
28193
28193
  throw new Error("maxPageSize is not supported by this operation.");
28194
28194
  }
28195
28195
  return this.listPagingPage(resourceGroupName, workspaceName, kustoPoolName, options, settings);
@@ -28295,10 +28295,10 @@ class SynapseManagementClient extends coreClient__namespace.ServiceClient {
28295
28295
  : `${packageDetails}`;
28296
28296
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
28297
28297
  userAgentPrefix
28298
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
28298
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== undefined ? _a : options.baseUri) !== null && _b !== undefined ? _b : "https://management.azure.com" });
28299
28299
  super(optionsWithDefaults);
28300
28300
  let bearerTokenAuthenticationPolicyFound = false;
28301
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
28301
+ if ((options === null || options === undefined ? undefined : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
28302
28302
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
28303
28303
  bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
28304
28304
  coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
@@ -28312,7 +28312,7 @@ class SynapseManagementClient extends coreClient__namespace.ServiceClient {
28312
28312
  });
28313
28313
  this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
28314
28314
  credential: credentials,
28315
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
28315
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== undefined ? _c : `${optionsWithDefaults.endpoint}/.default`,
28316
28316
  challengeCallbacks: {
28317
28317
  authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
28318
28318
  }