@azure/arm-machinelearning 3.0.0-alpha.20250102.1 → 3.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
  }
@@ -20499,7 +20499,7 @@ class OperationsImpl {
20499
20499
  return this;
20500
20500
  },
20501
20501
  byPage: (settings) => {
20502
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20502
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20503
20503
  throw new Error("maxPageSize is not supported by this operation.");
20504
20504
  }
20505
20505
  return this.listPagingPage(options, settings);
@@ -20575,7 +20575,7 @@ function createLroSpec(inputs) {
20575
20575
  sendInitialRequest: () => sendOperationFn(args, spec),
20576
20576
  sendPollRequest: (path, options) => {
20577
20577
  const restSpec = tslib.__rest(spec, ["requestBody"]);
20578
- return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
20578
+ return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === undefined ? undefined : options.abortSignal }));
20579
20579
  },
20580
20580
  };
20581
20581
  }
@@ -20612,7 +20612,7 @@ class WorkspacesImpl {
20612
20612
  return this;
20613
20613
  },
20614
20614
  byPage: (settings) => {
20615
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20615
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20616
20616
  throw new Error("maxPageSize is not supported by this operation.");
20617
20617
  }
20618
20618
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
@@ -20622,7 +20622,7 @@ class WorkspacesImpl {
20622
20622
  listByResourceGroupPagingPage(resourceGroupName, options, settings) {
20623
20623
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
20624
20624
  let result;
20625
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
20625
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
20626
20626
  if (!continuationToken) {
20627
20627
  result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
20628
20628
  let page = result.value || [];
@@ -20673,7 +20673,7 @@ class WorkspacesImpl {
20673
20673
  return this;
20674
20674
  },
20675
20675
  byPage: (settings) => {
20676
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
20676
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
20677
20677
  throw new Error("maxPageSize is not supported by this operation.");
20678
20678
  }
20679
20679
  return this.listBySubscriptionPagingPage(options, settings);
@@ -20683,7 +20683,7 @@ class WorkspacesImpl {
20683
20683
  listBySubscriptionPagingPage(options, settings) {
20684
20684
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
20685
20685
  let result;
20686
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
20686
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
20687
20687
  if (!continuationToken) {
20688
20688
  result = yield tslib.__await(this._listBySubscription(options));
20689
20689
  let page = result.value || [];
@@ -20737,17 +20737,17 @@ class WorkspacesImpl {
20737
20737
  * @param options The options parameters.
20738
20738
  */
20739
20739
  beginCreateOrUpdate(resourceGroupName, workspaceName, parameters, options) {
20740
- return tslib.__awaiter(this, void 0, void 0, function* () {
20741
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20740
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20741
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20742
20742
  return this.client.sendOperationRequest(args, spec);
20743
20743
  });
20744
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20744
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20745
20745
  var _a;
20746
20746
  let currentRawResponse = undefined;
20747
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
20747
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
20748
20748
  const callback = (rawResponse, flatResponse) => {
20749
20749
  currentRawResponse = rawResponse;
20750
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
20750
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
20751
20751
  };
20752
20752
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
20753
20753
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -20766,8 +20766,8 @@ class WorkspacesImpl {
20766
20766
  spec: createOrUpdateOperationSpec$B,
20767
20767
  });
20768
20768
  const poller = yield coreLro.createHttpPoller(lro, {
20769
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
20770
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
20769
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
20770
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
20771
20771
  });
20772
20772
  yield poller.poll();
20773
20773
  return poller;
@@ -20781,7 +20781,7 @@ class WorkspacesImpl {
20781
20781
  * @param options The options parameters.
20782
20782
  */
20783
20783
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, parameters, options) {
20784
- return tslib.__awaiter(this, void 0, void 0, function* () {
20784
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20785
20785
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, parameters, options);
20786
20786
  return poller.pollUntilDone();
20787
20787
  });
@@ -20793,17 +20793,17 @@ class WorkspacesImpl {
20793
20793
  * @param options The options parameters.
20794
20794
  */
20795
20795
  beginDelete(resourceGroupName, workspaceName, options) {
20796
- return tslib.__awaiter(this, void 0, void 0, function* () {
20797
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20796
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20797
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20798
20798
  return this.client.sendOperationRequest(args, spec);
20799
20799
  });
20800
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20800
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20801
20801
  var _a;
20802
20802
  let currentRawResponse = undefined;
20803
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
20803
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
20804
20804
  const callback = (rawResponse, flatResponse) => {
20805
20805
  currentRawResponse = rawResponse;
20806
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
20806
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
20807
20807
  };
20808
20808
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
20809
20809
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -20822,8 +20822,8 @@ class WorkspacesImpl {
20822
20822
  spec: deleteOperationSpec$C,
20823
20823
  });
20824
20824
  const poller = yield coreLro.createHttpPoller(lro, {
20825
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
20826
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
20825
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
20826
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
20827
20827
  });
20828
20828
  yield poller.poll();
20829
20829
  return poller;
@@ -20836,7 +20836,7 @@ class WorkspacesImpl {
20836
20836
  * @param options The options parameters.
20837
20837
  */
20838
20838
  beginDeleteAndWait(resourceGroupName, workspaceName, options) {
20839
- return tslib.__awaiter(this, void 0, void 0, function* () {
20839
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20840
20840
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, options);
20841
20841
  return poller.pollUntilDone();
20842
20842
  });
@@ -20849,17 +20849,17 @@ class WorkspacesImpl {
20849
20849
  * @param options The options parameters.
20850
20850
  */
20851
20851
  beginUpdate(resourceGroupName, workspaceName, parameters, options) {
20852
- return tslib.__awaiter(this, void 0, void 0, function* () {
20853
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20852
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20853
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20854
20854
  return this.client.sendOperationRequest(args, spec);
20855
20855
  });
20856
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20856
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20857
20857
  var _a;
20858
20858
  let currentRawResponse = undefined;
20859
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
20859
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
20860
20860
  const callback = (rawResponse, flatResponse) => {
20861
20861
  currentRawResponse = rawResponse;
20862
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
20862
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
20863
20863
  };
20864
20864
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
20865
20865
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -20878,8 +20878,8 @@ class WorkspacesImpl {
20878
20878
  spec: updateOperationSpec$8,
20879
20879
  });
20880
20880
  const poller = yield coreLro.createHttpPoller(lro, {
20881
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
20882
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
20881
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
20882
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
20883
20883
  });
20884
20884
  yield poller.poll();
20885
20885
  return poller;
@@ -20893,7 +20893,7 @@ class WorkspacesImpl {
20893
20893
  * @param options The options parameters.
20894
20894
  */
20895
20895
  beginUpdateAndWait(resourceGroupName, workspaceName, parameters, options) {
20896
- return tslib.__awaiter(this, void 0, void 0, function* () {
20896
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20897
20897
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, parameters, options);
20898
20898
  return poller.pollUntilDone();
20899
20899
  });
@@ -20913,17 +20913,17 @@ class WorkspacesImpl {
20913
20913
  * @param options The options parameters.
20914
20914
  */
20915
20915
  beginDiagnose(resourceGroupName, workspaceName, options) {
20916
- return tslib.__awaiter(this, void 0, void 0, function* () {
20917
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20916
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20917
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20918
20918
  return this.client.sendOperationRequest(args, spec);
20919
20919
  });
20920
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20920
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20921
20921
  var _a;
20922
20922
  let currentRawResponse = undefined;
20923
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
20923
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
20924
20924
  const callback = (rawResponse, flatResponse) => {
20925
20925
  currentRawResponse = rawResponse;
20926
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
20926
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
20927
20927
  };
20928
20928
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
20929
20929
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -20942,8 +20942,8 @@ class WorkspacesImpl {
20942
20942
  spec: diagnoseOperationSpec,
20943
20943
  });
20944
20944
  const poller = yield coreLro.createHttpPoller(lro, {
20945
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
20946
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
20945
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
20946
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
20947
20947
  resourceLocationConfig: "location",
20948
20948
  });
20949
20949
  yield poller.poll();
@@ -20957,7 +20957,7 @@ class WorkspacesImpl {
20957
20957
  * @param options The options parameters.
20958
20958
  */
20959
20959
  beginDiagnoseAndWait(resourceGroupName, workspaceName, options) {
20960
- return tslib.__awaiter(this, void 0, void 0, function* () {
20960
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20961
20961
  const poller = yield this.beginDiagnose(resourceGroupName, workspaceName, options);
20962
20962
  return poller.pollUntilDone();
20963
20963
  });
@@ -20980,17 +20980,17 @@ class WorkspacesImpl {
20980
20980
  * @param options The options parameters.
20981
20981
  */
20982
20982
  beginResyncKeys(resourceGroupName, workspaceName, options) {
20983
- return tslib.__awaiter(this, void 0, void 0, function* () {
20984
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20983
+ return tslib.__awaiter(this, undefined, undefined, function* () {
20984
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20985
20985
  return this.client.sendOperationRequest(args, spec);
20986
20986
  });
20987
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
20987
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
20988
20988
  var _a;
20989
20989
  let currentRawResponse = undefined;
20990
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
20990
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
20991
20991
  const callback = (rawResponse, flatResponse) => {
20992
20992
  currentRawResponse = rawResponse;
20993
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
20993
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
20994
20994
  };
20995
20995
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
20996
20996
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21009,8 +21009,8 @@ class WorkspacesImpl {
21009
21009
  spec: resyncKeysOperationSpec,
21010
21010
  });
21011
21011
  const poller = yield coreLro.createHttpPoller(lro, {
21012
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21013
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21012
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21013
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21014
21014
  });
21015
21015
  yield poller.poll();
21016
21016
  return poller;
@@ -21024,7 +21024,7 @@ class WorkspacesImpl {
21024
21024
  * @param options The options parameters.
21025
21025
  */
21026
21026
  beginResyncKeysAndWait(resourceGroupName, workspaceName, options) {
21027
- return tslib.__awaiter(this, void 0, void 0, function* () {
21027
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21028
21028
  const poller = yield this.beginResyncKeys(resourceGroupName, workspaceName, options);
21029
21029
  return poller.pollUntilDone();
21030
21030
  });
@@ -21052,17 +21052,17 @@ class WorkspacesImpl {
21052
21052
  * @param options The options parameters.
21053
21053
  */
21054
21054
  beginPrepareNotebook(resourceGroupName, workspaceName, options) {
21055
- return tslib.__awaiter(this, void 0, void 0, function* () {
21056
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21055
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21056
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21057
21057
  return this.client.sendOperationRequest(args, spec);
21058
21058
  });
21059
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
21059
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
21060
21060
  var _a;
21061
21061
  let currentRawResponse = undefined;
21062
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
21062
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
21063
21063
  const callback = (rawResponse, flatResponse) => {
21064
21064
  currentRawResponse = rawResponse;
21065
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
21065
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
21066
21066
  };
21067
21067
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
21068
21068
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -21081,8 +21081,8 @@ class WorkspacesImpl {
21081
21081
  spec: prepareNotebookOperationSpec,
21082
21082
  });
21083
21083
  const poller = yield coreLro.createHttpPoller(lro, {
21084
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
21085
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
21084
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
21085
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
21086
21086
  resourceLocationConfig: "location",
21087
21087
  });
21088
21088
  yield poller.poll();
@@ -21096,7 +21096,7 @@ class WorkspacesImpl {
21096
21096
  * @param options The options parameters.
21097
21097
  */
21098
21098
  beginPrepareNotebookAndWait(resourceGroupName, workspaceName, options) {
21099
- return tslib.__awaiter(this, void 0, void 0, function* () {
21099
+ return tslib.__awaiter(this, undefined, undefined, function* () {
21100
21100
  const poller = yield this.beginPrepareNotebook(resourceGroupName, workspaceName, options);
21101
21101
  return poller.pollUntilDone();
21102
21102
  });
@@ -21554,7 +21554,7 @@ class UsagesImpl {
21554
21554
  return this;
21555
21555
  },
21556
21556
  byPage: (settings) => {
21557
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
21557
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
21558
21558
  throw new Error("maxPageSize is not supported by this operation.");
21559
21559
  }
21560
21560
  return this.listPagingPage(location, options, settings);
@@ -21564,7 +21564,7 @@ class UsagesImpl {
21564
21564
  listPagingPage(location, options, settings) {
21565
21565
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
21566
21566
  let result;
21567
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
21567
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
21568
21568
  if (!continuationToken) {
21569
21569
  result = yield tslib.__await(this._list(location, options));
21570
21570
  let page = result.value || [];
@@ -21743,7 +21743,7 @@ class QuotasImpl {
21743
21743
  return this;
21744
21744
  },
21745
21745
  byPage: (settings) => {
21746
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
21746
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
21747
21747
  throw new Error("maxPageSize is not supported by this operation.");
21748
21748
  }
21749
21749
  return this.listPagingPage(location, options, settings);
@@ -21753,7 +21753,7 @@ class QuotasImpl {
21753
21753
  listPagingPage(location, options, settings) {
21754
21754
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
21755
21755
  let result;
21756
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
21756
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
21757
21757
  if (!continuationToken) {
21758
21758
  result = yield tslib.__await(this._list(location, options));
21759
21759
  let page = result.value || [];
@@ -21915,7 +21915,7 @@ class ComputeOperationsImpl {
21915
21915
  return this;
21916
21916
  },
21917
21917
  byPage: (settings) => {
21918
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
21918
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
21919
21919
  throw new Error("maxPageSize is not supported by this operation.");
21920
21920
  }
21921
21921
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -21925,7 +21925,7 @@ class ComputeOperationsImpl {
21925
21925
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
21926
21926
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
21927
21927
  let result;
21928
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
21928
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
21929
21929
  if (!continuationToken) {
21930
21930
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
21931
21931
  let page = result.value || [];
@@ -21979,7 +21979,7 @@ class ComputeOperationsImpl {
21979
21979
  return this;
21980
21980
  },
21981
21981
  byPage: (settings) => {
21982
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
21982
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
21983
21983
  throw new Error("maxPageSize is not supported by this operation.");
21984
21984
  }
21985
21985
  return this.listNodesPagingPage(resourceGroupName, workspaceName, computeName, options, settings);
@@ -21989,7 +21989,7 @@ class ComputeOperationsImpl {
21989
21989
  listNodesPagingPage(resourceGroupName, workspaceName, computeName, options, settings) {
21990
21990
  return tslib.__asyncGenerator(this, arguments, function* listNodesPagingPage_1() {
21991
21991
  let result;
21992
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
21992
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
21993
21993
  if (!continuationToken) {
21994
21994
  result = yield tslib.__await(this._listNodes(resourceGroupName, workspaceName, computeName, options));
21995
21995
  let page = result.nodes || [];
@@ -22057,17 +22057,17 @@ class ComputeOperationsImpl {
22057
22057
  * @param options The options parameters.
22058
22058
  */
22059
22059
  beginCreateOrUpdate(resourceGroupName, workspaceName, computeName, parameters, options) {
22060
- return tslib.__awaiter(this, void 0, void 0, function* () {
22061
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22060
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22061
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22062
22062
  return this.client.sendOperationRequest(args, spec);
22063
22063
  });
22064
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22064
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22065
22065
  var _a;
22066
22066
  let currentRawResponse = undefined;
22067
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22067
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22068
22068
  const callback = (rawResponse, flatResponse) => {
22069
22069
  currentRawResponse = rawResponse;
22070
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22070
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22071
22071
  };
22072
22072
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22073
22073
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22092,8 +22092,8 @@ class ComputeOperationsImpl {
22092
22092
  spec: createOrUpdateOperationSpec$A,
22093
22093
  });
22094
22094
  const poller = yield coreLro.createHttpPoller(lro, {
22095
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22096
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22095
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22096
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22097
22097
  });
22098
22098
  yield poller.poll();
22099
22099
  return poller;
@@ -22110,7 +22110,7 @@ class ComputeOperationsImpl {
22110
22110
  * @param options The options parameters.
22111
22111
  */
22112
22112
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, computeName, parameters, options) {
22113
- return tslib.__awaiter(this, void 0, void 0, function* () {
22113
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22114
22114
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, computeName, parameters, options);
22115
22115
  return poller.pollUntilDone();
22116
22116
  });
@@ -22125,17 +22125,17 @@ class ComputeOperationsImpl {
22125
22125
  * @param options The options parameters.
22126
22126
  */
22127
22127
  beginUpdate(resourceGroupName, workspaceName, computeName, parameters, options) {
22128
- return tslib.__awaiter(this, void 0, void 0, function* () {
22129
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22128
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22129
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22130
22130
  return this.client.sendOperationRequest(args, spec);
22131
22131
  });
22132
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22132
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22133
22133
  var _a;
22134
22134
  let currentRawResponse = undefined;
22135
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22135
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22136
22136
  const callback = (rawResponse, flatResponse) => {
22137
22137
  currentRawResponse = rawResponse;
22138
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22138
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22139
22139
  };
22140
22140
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22141
22141
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22160,8 +22160,8 @@ class ComputeOperationsImpl {
22160
22160
  spec: updateOperationSpec$6,
22161
22161
  });
22162
22162
  const poller = yield coreLro.createHttpPoller(lro, {
22163
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22164
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22163
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22164
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22165
22165
  });
22166
22166
  yield poller.poll();
22167
22167
  return poller;
@@ -22177,7 +22177,7 @@ class ComputeOperationsImpl {
22177
22177
  * @param options The options parameters.
22178
22178
  */
22179
22179
  beginUpdateAndWait(resourceGroupName, workspaceName, computeName, parameters, options) {
22180
- return tslib.__awaiter(this, void 0, void 0, function* () {
22180
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22181
22181
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, computeName, parameters, options);
22182
22182
  return poller.pollUntilDone();
22183
22183
  });
@@ -22192,17 +22192,17 @@ class ComputeOperationsImpl {
22192
22192
  * @param options The options parameters.
22193
22193
  */
22194
22194
  beginDelete(resourceGroupName, workspaceName, computeName, underlyingResourceAction, options) {
22195
- return tslib.__awaiter(this, void 0, void 0, function* () {
22196
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22195
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22196
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22197
22197
  return this.client.sendOperationRequest(args, spec);
22198
22198
  });
22199
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22199
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22200
22200
  var _a;
22201
22201
  let currentRawResponse = undefined;
22202
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22202
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22203
22203
  const callback = (rawResponse, flatResponse) => {
22204
22204
  currentRawResponse = rawResponse;
22205
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22205
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22206
22206
  };
22207
22207
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22208
22208
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22227,8 +22227,8 @@ class ComputeOperationsImpl {
22227
22227
  spec: deleteOperationSpec$B,
22228
22228
  });
22229
22229
  const poller = yield coreLro.createHttpPoller(lro, {
22230
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22231
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22230
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22231
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22232
22232
  });
22233
22233
  yield poller.poll();
22234
22234
  return poller;
@@ -22244,7 +22244,7 @@ class ComputeOperationsImpl {
22244
22244
  * @param options The options parameters.
22245
22245
  */
22246
22246
  beginDeleteAndWait(resourceGroupName, workspaceName, computeName, underlyingResourceAction, options) {
22247
- return tslib.__awaiter(this, void 0, void 0, function* () {
22247
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22248
22248
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, computeName, underlyingResourceAction, options);
22249
22249
  return poller.pollUntilDone();
22250
22250
  });
@@ -22277,17 +22277,17 @@ class ComputeOperationsImpl {
22277
22277
  * @param options The options parameters.
22278
22278
  */
22279
22279
  beginStart(resourceGroupName, workspaceName, computeName, options) {
22280
- return tslib.__awaiter(this, void 0, void 0, function* () {
22281
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22280
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22281
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22282
22282
  return this.client.sendOperationRequest(args, spec);
22283
22283
  });
22284
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22284
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22285
22285
  var _a;
22286
22286
  let currentRawResponse = undefined;
22287
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22287
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22288
22288
  const callback = (rawResponse, flatResponse) => {
22289
22289
  currentRawResponse = rawResponse;
22290
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22290
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22291
22291
  };
22292
22292
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22293
22293
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22306,8 +22306,8 @@ class ComputeOperationsImpl {
22306
22306
  spec: startOperationSpec,
22307
22307
  });
22308
22308
  const poller = yield coreLro.createHttpPoller(lro, {
22309
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22310
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22309
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22310
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22311
22311
  });
22312
22312
  yield poller.poll();
22313
22313
  return poller;
@@ -22321,7 +22321,7 @@ class ComputeOperationsImpl {
22321
22321
  * @param options The options parameters.
22322
22322
  */
22323
22323
  beginStartAndWait(resourceGroupName, workspaceName, computeName, options) {
22324
- return tslib.__awaiter(this, void 0, void 0, function* () {
22324
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22325
22325
  const poller = yield this.beginStart(resourceGroupName, workspaceName, computeName, options);
22326
22326
  return poller.pollUntilDone();
22327
22327
  });
@@ -22334,17 +22334,17 @@ class ComputeOperationsImpl {
22334
22334
  * @param options The options parameters.
22335
22335
  */
22336
22336
  beginStop(resourceGroupName, workspaceName, computeName, options) {
22337
- return tslib.__awaiter(this, void 0, void 0, function* () {
22338
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22337
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22338
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22339
22339
  return this.client.sendOperationRequest(args, spec);
22340
22340
  });
22341
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22341
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22342
22342
  var _a;
22343
22343
  let currentRawResponse = undefined;
22344
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22344
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22345
22345
  const callback = (rawResponse, flatResponse) => {
22346
22346
  currentRawResponse = rawResponse;
22347
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22347
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22348
22348
  };
22349
22349
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22350
22350
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22363,8 +22363,8 @@ class ComputeOperationsImpl {
22363
22363
  spec: stopOperationSpec,
22364
22364
  });
22365
22365
  const poller = yield coreLro.createHttpPoller(lro, {
22366
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22367
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22366
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22367
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22368
22368
  });
22369
22369
  yield poller.poll();
22370
22370
  return poller;
@@ -22378,7 +22378,7 @@ class ComputeOperationsImpl {
22378
22378
  * @param options The options parameters.
22379
22379
  */
22380
22380
  beginStopAndWait(resourceGroupName, workspaceName, computeName, options) {
22381
- return tslib.__awaiter(this, void 0, void 0, function* () {
22381
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22382
22382
  const poller = yield this.beginStop(resourceGroupName, workspaceName, computeName, options);
22383
22383
  return poller.pollUntilDone();
22384
22384
  });
@@ -22391,17 +22391,17 @@ class ComputeOperationsImpl {
22391
22391
  * @param options The options parameters.
22392
22392
  */
22393
22393
  beginRestart(resourceGroupName, workspaceName, computeName, options) {
22394
- return tslib.__awaiter(this, void 0, void 0, function* () {
22395
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22394
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22395
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22396
22396
  return this.client.sendOperationRequest(args, spec);
22397
22397
  });
22398
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
22398
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
22399
22399
  var _a;
22400
22400
  let currentRawResponse = undefined;
22401
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
22401
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
22402
22402
  const callback = (rawResponse, flatResponse) => {
22403
22403
  currentRawResponse = rawResponse;
22404
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
22404
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
22405
22405
  };
22406
22406
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
22407
22407
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -22420,8 +22420,8 @@ class ComputeOperationsImpl {
22420
22420
  spec: restartOperationSpec,
22421
22421
  });
22422
22422
  const poller = yield coreLro.createHttpPoller(lro, {
22423
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
22424
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
22423
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
22424
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
22425
22425
  });
22426
22426
  yield poller.poll();
22427
22427
  return poller;
@@ -22435,7 +22435,7 @@ class ComputeOperationsImpl {
22435
22435
  * @param options The options parameters.
22436
22436
  */
22437
22437
  beginRestartAndWait(resourceGroupName, workspaceName, computeName, options) {
22438
- return tslib.__awaiter(this, void 0, void 0, function* () {
22438
+ return tslib.__awaiter(this, undefined, undefined, function* () {
22439
22439
  const poller = yield this.beginRestart(resourceGroupName, workspaceName, computeName, options);
22440
22440
  return poller.pollUntilDone();
22441
22441
  });
@@ -22786,7 +22786,7 @@ class PrivateEndpointConnectionsImpl {
22786
22786
  return this;
22787
22787
  },
22788
22788
  byPage: (settings) => {
22789
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
22789
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
22790
22790
  throw new Error("maxPageSize is not supported by this operation.");
22791
22791
  }
22792
22792
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -23053,7 +23053,7 @@ class WorkspaceConnectionsImpl {
23053
23053
  return this;
23054
23054
  },
23055
23055
  byPage: (settings) => {
23056
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
23056
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
23057
23057
  throw new Error("maxPageSize is not supported by this operation.");
23058
23058
  }
23059
23059
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -23063,7 +23063,7 @@ class WorkspaceConnectionsImpl {
23063
23063
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
23064
23064
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
23065
23065
  let result;
23066
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
23066
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
23067
23067
  if (!continuationToken) {
23068
23068
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
23069
23069
  let page = result.value || [];
@@ -23328,7 +23328,7 @@ class ManagedNetworkSettingsRuleImpl {
23328
23328
  return this;
23329
23329
  },
23330
23330
  byPage: (settings) => {
23331
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
23331
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
23332
23332
  throw new Error("maxPageSize is not supported by this operation.");
23333
23333
  }
23334
23334
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -23338,7 +23338,7 @@ class ManagedNetworkSettingsRuleImpl {
23338
23338
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
23339
23339
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
23340
23340
  let result;
23341
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
23341
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
23342
23342
  if (!continuationToken) {
23343
23343
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
23344
23344
  let page = result.value || [];
@@ -23392,17 +23392,17 @@ class ManagedNetworkSettingsRuleImpl {
23392
23392
  * @param options The options parameters.
23393
23393
  */
23394
23394
  beginDelete(resourceGroupName, workspaceName, ruleName, options) {
23395
- return tslib.__awaiter(this, void 0, void 0, function* () {
23396
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23395
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23396
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23397
23397
  return this.client.sendOperationRequest(args, spec);
23398
23398
  });
23399
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23399
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23400
23400
  var _a;
23401
23401
  let currentRawResponse = undefined;
23402
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23402
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23403
23403
  const callback = (rawResponse, flatResponse) => {
23404
23404
  currentRawResponse = rawResponse;
23405
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23405
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23406
23406
  };
23407
23407
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23408
23408
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23421,8 +23421,8 @@ class ManagedNetworkSettingsRuleImpl {
23421
23421
  spec: deleteOperationSpec$y,
23422
23422
  });
23423
23423
  const poller = yield coreLro.createHttpPoller(lro, {
23424
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23425
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
23424
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23425
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
23426
23426
  });
23427
23427
  yield poller.poll();
23428
23428
  return poller;
@@ -23436,7 +23436,7 @@ class ManagedNetworkSettingsRuleImpl {
23436
23436
  * @param options The options parameters.
23437
23437
  */
23438
23438
  beginDeleteAndWait(resourceGroupName, workspaceName, ruleName, options) {
23439
- return tslib.__awaiter(this, void 0, void 0, function* () {
23439
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23440
23440
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, ruleName, options);
23441
23441
  return poller.pollUntilDone();
23442
23442
  });
@@ -23461,17 +23461,17 @@ class ManagedNetworkSettingsRuleImpl {
23461
23461
  * @param options The options parameters.
23462
23462
  */
23463
23463
  beginCreateOrUpdate(resourceGroupName, workspaceName, ruleName, body, options) {
23464
- return tslib.__awaiter(this, void 0, void 0, function* () {
23465
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23464
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23465
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23466
23466
  return this.client.sendOperationRequest(args, spec);
23467
23467
  });
23468
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23468
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23469
23469
  var _a;
23470
23470
  let currentRawResponse = undefined;
23471
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23471
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23472
23472
  const callback = (rawResponse, flatResponse) => {
23473
23473
  currentRawResponse = rawResponse;
23474
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23474
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23475
23475
  };
23476
23476
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23477
23477
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23490,8 +23490,8 @@ class ManagedNetworkSettingsRuleImpl {
23490
23490
  spec: createOrUpdateOperationSpec$y,
23491
23491
  });
23492
23492
  const poller = yield coreLro.createHttpPoller(lro, {
23493
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23494
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
23493
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23494
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
23495
23495
  resourceLocationConfig: "location",
23496
23496
  });
23497
23497
  yield poller.poll();
@@ -23508,7 +23508,7 @@ class ManagedNetworkSettingsRuleImpl {
23508
23508
  * @param options The options parameters.
23509
23509
  */
23510
23510
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, ruleName, body, options) {
23511
- return tslib.__awaiter(this, void 0, void 0, function* () {
23511
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23512
23512
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, ruleName, body, options);
23513
23513
  return poller.pollUntilDone();
23514
23514
  });
@@ -23670,17 +23670,17 @@ class ManagedNetworkProvisionsImpl {
23670
23670
  * @param options The options parameters.
23671
23671
  */
23672
23672
  beginProvisionManagedNetwork(resourceGroupName, workspaceName, options) {
23673
- return tslib.__awaiter(this, void 0, void 0, function* () {
23674
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23673
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23674
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23675
23675
  return this.client.sendOperationRequest(args, spec);
23676
23676
  });
23677
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23677
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23678
23678
  var _a;
23679
23679
  let currentRawResponse = undefined;
23680
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23680
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23681
23681
  const callback = (rawResponse, flatResponse) => {
23682
23682
  currentRawResponse = rawResponse;
23683
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23683
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23684
23684
  };
23685
23685
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23686
23686
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23699,8 +23699,8 @@ class ManagedNetworkProvisionsImpl {
23699
23699
  spec: provisionManagedNetworkOperationSpec,
23700
23700
  });
23701
23701
  const poller = yield coreLro.createHttpPoller(lro, {
23702
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23703
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
23702
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23703
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
23704
23704
  resourceLocationConfig: "location",
23705
23705
  });
23706
23706
  yield poller.poll();
@@ -23714,7 +23714,7 @@ class ManagedNetworkProvisionsImpl {
23714
23714
  * @param options The options parameters.
23715
23715
  */
23716
23716
  beginProvisionManagedNetworkAndWait(resourceGroupName, workspaceName, options) {
23717
- return tslib.__awaiter(this, void 0, void 0, function* () {
23717
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23718
23718
  const poller = yield this.beginProvisionManagedNetwork(resourceGroupName, workspaceName, options);
23719
23719
  return poller.pollUntilDone();
23720
23720
  });
@@ -23788,7 +23788,7 @@ class RegistryCodeContainersImpl {
23788
23788
  return this;
23789
23789
  },
23790
23790
  byPage: (settings) => {
23791
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
23791
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
23792
23792
  throw new Error("maxPageSize is not supported by this operation.");
23793
23793
  }
23794
23794
  return this.listPagingPage(resourceGroupName, registryName, options, settings);
@@ -23798,7 +23798,7 @@ class RegistryCodeContainersImpl {
23798
23798
  listPagingPage(resourceGroupName, registryName, options, settings) {
23799
23799
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
23800
23800
  let result;
23801
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
23801
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
23802
23802
  if (!continuationToken) {
23803
23803
  result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
23804
23804
  let page = result.value || [];
@@ -23852,17 +23852,17 @@ class RegistryCodeContainersImpl {
23852
23852
  * @param options The options parameters.
23853
23853
  */
23854
23854
  beginDelete(resourceGroupName, registryName, codeName, options) {
23855
- return tslib.__awaiter(this, void 0, void 0, function* () {
23856
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23855
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23856
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23857
23857
  return this.client.sendOperationRequest(args, spec);
23858
23858
  });
23859
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23859
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23860
23860
  var _a;
23861
23861
  let currentRawResponse = undefined;
23862
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23862
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23863
23863
  const callback = (rawResponse, flatResponse) => {
23864
23864
  currentRawResponse = rawResponse;
23865
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23865
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23866
23866
  };
23867
23867
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23868
23868
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23881,8 +23881,8 @@ class RegistryCodeContainersImpl {
23881
23881
  spec: deleteOperationSpec$x,
23882
23882
  });
23883
23883
  const poller = yield coreLro.createHttpPoller(lro, {
23884
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23885
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
23884
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23885
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
23886
23886
  resourceLocationConfig: "location",
23887
23887
  });
23888
23888
  yield poller.poll();
@@ -23897,7 +23897,7 @@ class RegistryCodeContainersImpl {
23897
23897
  * @param options The options parameters.
23898
23898
  */
23899
23899
  beginDeleteAndWait(resourceGroupName, registryName, codeName, options) {
23900
- return tslib.__awaiter(this, void 0, void 0, function* () {
23900
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23901
23901
  const poller = yield this.beginDelete(resourceGroupName, registryName, codeName, options);
23902
23902
  return poller.pollUntilDone();
23903
23903
  });
@@ -23921,17 +23921,17 @@ class RegistryCodeContainersImpl {
23921
23921
  * @param options The options parameters.
23922
23922
  */
23923
23923
  beginCreateOrUpdate(resourceGroupName, registryName, codeName, body, options) {
23924
- return tslib.__awaiter(this, void 0, void 0, function* () {
23925
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23924
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23925
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23926
23926
  return this.client.sendOperationRequest(args, spec);
23927
23927
  });
23928
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
23928
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
23929
23929
  var _a;
23930
23930
  let currentRawResponse = undefined;
23931
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
23931
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
23932
23932
  const callback = (rawResponse, flatResponse) => {
23933
23933
  currentRawResponse = rawResponse;
23934
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
23934
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
23935
23935
  };
23936
23936
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
23937
23937
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -23950,8 +23950,8 @@ class RegistryCodeContainersImpl {
23950
23950
  spec: createOrUpdateOperationSpec$x,
23951
23951
  });
23952
23952
  const poller = yield coreLro.createHttpPoller(lro, {
23953
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
23954
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
23953
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
23954
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
23955
23955
  resourceLocationConfig: "original-uri",
23956
23956
  });
23957
23957
  yield poller.poll();
@@ -23967,7 +23967,7 @@ class RegistryCodeContainersImpl {
23967
23967
  * @param options The options parameters.
23968
23968
  */
23969
23969
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, codeName, body, options) {
23970
- return tslib.__awaiter(this, void 0, void 0, function* () {
23970
+ return tslib.__awaiter(this, undefined, undefined, function* () {
23971
23971
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, codeName, body, options);
23972
23972
  return poller.pollUntilDone();
23973
23973
  });
@@ -24140,7 +24140,7 @@ class RegistryCodeVersionsImpl {
24140
24140
  return this;
24141
24141
  },
24142
24142
  byPage: (settings) => {
24143
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
24143
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
24144
24144
  throw new Error("maxPageSize is not supported by this operation.");
24145
24145
  }
24146
24146
  return this.listPagingPage(resourceGroupName, registryName, codeName, options, settings);
@@ -24150,7 +24150,7 @@ class RegistryCodeVersionsImpl {
24150
24150
  listPagingPage(resourceGroupName, registryName, codeName, options, settings) {
24151
24151
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
24152
24152
  let result;
24153
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
24153
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
24154
24154
  if (!continuationToken) {
24155
24155
  result = yield tslib.__await(this._list(resourceGroupName, registryName, codeName, options));
24156
24156
  let page = result.value || [];
@@ -24206,17 +24206,17 @@ class RegistryCodeVersionsImpl {
24206
24206
  * @param options The options parameters.
24207
24207
  */
24208
24208
  beginDelete(resourceGroupName, registryName, codeName, version, options) {
24209
- return tslib.__awaiter(this, void 0, void 0, function* () {
24210
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24209
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24210
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24211
24211
  return this.client.sendOperationRequest(args, spec);
24212
24212
  });
24213
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24213
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24214
24214
  var _a;
24215
24215
  let currentRawResponse = undefined;
24216
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
24216
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
24217
24217
  const callback = (rawResponse, flatResponse) => {
24218
24218
  currentRawResponse = rawResponse;
24219
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
24219
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
24220
24220
  };
24221
24221
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
24222
24222
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -24235,8 +24235,8 @@ class RegistryCodeVersionsImpl {
24235
24235
  spec: deleteOperationSpec$w,
24236
24236
  });
24237
24237
  const poller = yield coreLro.createHttpPoller(lro, {
24238
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
24239
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
24238
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
24239
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
24240
24240
  resourceLocationConfig: "location",
24241
24241
  });
24242
24242
  yield poller.poll();
@@ -24252,7 +24252,7 @@ class RegistryCodeVersionsImpl {
24252
24252
  * @param options The options parameters.
24253
24253
  */
24254
24254
  beginDeleteAndWait(resourceGroupName, registryName, codeName, version, options) {
24255
- return tslib.__awaiter(this, void 0, void 0, function* () {
24255
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24256
24256
  const poller = yield this.beginDelete(resourceGroupName, registryName, codeName, version, options);
24257
24257
  return poller.pollUntilDone();
24258
24258
  });
@@ -24278,17 +24278,17 @@ class RegistryCodeVersionsImpl {
24278
24278
  * @param options The options parameters.
24279
24279
  */
24280
24280
  beginCreateOrUpdate(resourceGroupName, registryName, codeName, version, body, options) {
24281
- return tslib.__awaiter(this, void 0, void 0, function* () {
24282
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24281
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24282
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24283
24283
  return this.client.sendOperationRequest(args, spec);
24284
24284
  });
24285
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24285
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24286
24286
  var _a;
24287
24287
  let currentRawResponse = undefined;
24288
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
24288
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
24289
24289
  const callback = (rawResponse, flatResponse) => {
24290
24290
  currentRawResponse = rawResponse;
24291
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
24291
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
24292
24292
  };
24293
24293
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
24294
24294
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -24314,8 +24314,8 @@ class RegistryCodeVersionsImpl {
24314
24314
  spec: createOrUpdateOperationSpec$w,
24315
24315
  });
24316
24316
  const poller = yield coreLro.createHttpPoller(lro, {
24317
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
24318
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
24317
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
24318
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
24319
24319
  resourceLocationConfig: "original-uri",
24320
24320
  });
24321
24321
  yield poller.poll();
@@ -24332,7 +24332,7 @@ class RegistryCodeVersionsImpl {
24332
24332
  * @param options The options parameters.
24333
24333
  */
24334
24334
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, codeName, version, body, options) {
24335
- return tslib.__awaiter(this, void 0, void 0, function* () {
24335
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24336
24336
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, codeName, version, body, options);
24337
24337
  return poller.pollUntilDone();
24338
24338
  });
@@ -24552,7 +24552,7 @@ class RegistryComponentContainersImpl {
24552
24552
  return this;
24553
24553
  },
24554
24554
  byPage: (settings) => {
24555
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
24555
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
24556
24556
  throw new Error("maxPageSize is not supported by this operation.");
24557
24557
  }
24558
24558
  return this.listPagingPage(resourceGroupName, registryName, options, settings);
@@ -24562,7 +24562,7 @@ class RegistryComponentContainersImpl {
24562
24562
  listPagingPage(resourceGroupName, registryName, options, settings) {
24563
24563
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
24564
24564
  let result;
24565
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
24565
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
24566
24566
  if (!continuationToken) {
24567
24567
  result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
24568
24568
  let page = result.value || [];
@@ -24616,17 +24616,17 @@ class RegistryComponentContainersImpl {
24616
24616
  * @param options The options parameters.
24617
24617
  */
24618
24618
  beginDelete(resourceGroupName, registryName, componentName, options) {
24619
- return tslib.__awaiter(this, void 0, void 0, function* () {
24620
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24619
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24620
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24621
24621
  return this.client.sendOperationRequest(args, spec);
24622
24622
  });
24623
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24623
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24624
24624
  var _a;
24625
24625
  let currentRawResponse = undefined;
24626
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
24626
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
24627
24627
  const callback = (rawResponse, flatResponse) => {
24628
24628
  currentRawResponse = rawResponse;
24629
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
24629
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
24630
24630
  };
24631
24631
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
24632
24632
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -24645,8 +24645,8 @@ class RegistryComponentContainersImpl {
24645
24645
  spec: deleteOperationSpec$v,
24646
24646
  });
24647
24647
  const poller = yield coreLro.createHttpPoller(lro, {
24648
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
24649
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
24648
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
24649
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
24650
24650
  resourceLocationConfig: "location",
24651
24651
  });
24652
24652
  yield poller.poll();
@@ -24661,7 +24661,7 @@ class RegistryComponentContainersImpl {
24661
24661
  * @param options The options parameters.
24662
24662
  */
24663
24663
  beginDeleteAndWait(resourceGroupName, registryName, componentName, options) {
24664
- return tslib.__awaiter(this, void 0, void 0, function* () {
24664
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24665
24665
  const poller = yield this.beginDelete(resourceGroupName, registryName, componentName, options);
24666
24666
  return poller.pollUntilDone();
24667
24667
  });
@@ -24685,17 +24685,17 @@ class RegistryComponentContainersImpl {
24685
24685
  * @param options The options parameters.
24686
24686
  */
24687
24687
  beginCreateOrUpdate(resourceGroupName, registryName, componentName, body, options) {
24688
- return tslib.__awaiter(this, void 0, void 0, function* () {
24689
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24688
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24689
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24690
24690
  return this.client.sendOperationRequest(args, spec);
24691
24691
  });
24692
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24692
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24693
24693
  var _a;
24694
24694
  let currentRawResponse = undefined;
24695
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
24695
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
24696
24696
  const callback = (rawResponse, flatResponse) => {
24697
24697
  currentRawResponse = rawResponse;
24698
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
24698
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
24699
24699
  };
24700
24700
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
24701
24701
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -24714,8 +24714,8 @@ class RegistryComponentContainersImpl {
24714
24714
  spec: createOrUpdateOperationSpec$v,
24715
24715
  });
24716
24716
  const poller = yield coreLro.createHttpPoller(lro, {
24717
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
24718
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
24717
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
24718
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
24719
24719
  resourceLocationConfig: "original-uri",
24720
24720
  });
24721
24721
  yield poller.poll();
@@ -24731,7 +24731,7 @@ class RegistryComponentContainersImpl {
24731
24731
  * @param options The options parameters.
24732
24732
  */
24733
24733
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, componentName, body, options) {
24734
- return tslib.__awaiter(this, void 0, void 0, function* () {
24734
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24735
24735
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, componentName, body, options);
24736
24736
  return poller.pollUntilDone();
24737
24737
  });
@@ -24904,7 +24904,7 @@ class RegistryComponentVersionsImpl {
24904
24904
  return this;
24905
24905
  },
24906
24906
  byPage: (settings) => {
24907
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
24907
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
24908
24908
  throw new Error("maxPageSize is not supported by this operation.");
24909
24909
  }
24910
24910
  return this.listPagingPage(resourceGroupName, registryName, componentName, options, settings);
@@ -24914,7 +24914,7 @@ class RegistryComponentVersionsImpl {
24914
24914
  listPagingPage(resourceGroupName, registryName, componentName, options, settings) {
24915
24915
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
24916
24916
  let result;
24917
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
24917
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
24918
24918
  if (!continuationToken) {
24919
24919
  result = yield tslib.__await(this._list(resourceGroupName, registryName, componentName, options));
24920
24920
  let page = result.value || [];
@@ -24970,17 +24970,17 @@ class RegistryComponentVersionsImpl {
24970
24970
  * @param options The options parameters.
24971
24971
  */
24972
24972
  beginDelete(resourceGroupName, registryName, componentName, version, options) {
24973
- return tslib.__awaiter(this, void 0, void 0, function* () {
24974
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24973
+ return tslib.__awaiter(this, undefined, undefined, function* () {
24974
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24975
24975
  return this.client.sendOperationRequest(args, spec);
24976
24976
  });
24977
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
24977
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
24978
24978
  var _a;
24979
24979
  let currentRawResponse = undefined;
24980
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
24980
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
24981
24981
  const callback = (rawResponse, flatResponse) => {
24982
24982
  currentRawResponse = rawResponse;
24983
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
24983
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
24984
24984
  };
24985
24985
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
24986
24986
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25005,8 +25005,8 @@ class RegistryComponentVersionsImpl {
25005
25005
  spec: deleteOperationSpec$u,
25006
25006
  });
25007
25007
  const poller = yield coreLro.createHttpPoller(lro, {
25008
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25009
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
25008
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25009
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
25010
25010
  resourceLocationConfig: "location",
25011
25011
  });
25012
25012
  yield poller.poll();
@@ -25022,7 +25022,7 @@ class RegistryComponentVersionsImpl {
25022
25022
  * @param options The options parameters.
25023
25023
  */
25024
25024
  beginDeleteAndWait(resourceGroupName, registryName, componentName, version, options) {
25025
- return tslib.__awaiter(this, void 0, void 0, function* () {
25025
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25026
25026
  const poller = yield this.beginDelete(resourceGroupName, registryName, componentName, version, options);
25027
25027
  return poller.pollUntilDone();
25028
25028
  });
@@ -25048,17 +25048,17 @@ class RegistryComponentVersionsImpl {
25048
25048
  * @param options The options parameters.
25049
25049
  */
25050
25050
  beginCreateOrUpdate(resourceGroupName, registryName, componentName, version, body, options) {
25051
- return tslib.__awaiter(this, void 0, void 0, function* () {
25052
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25051
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25052
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25053
25053
  return this.client.sendOperationRequest(args, spec);
25054
25054
  });
25055
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25055
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25056
25056
  var _a;
25057
25057
  let currentRawResponse = undefined;
25058
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25058
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25059
25059
  const callback = (rawResponse, flatResponse) => {
25060
25060
  currentRawResponse = rawResponse;
25061
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25061
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25062
25062
  };
25063
25063
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25064
25064
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25084,8 +25084,8 @@ class RegistryComponentVersionsImpl {
25084
25084
  spec: createOrUpdateOperationSpec$u,
25085
25085
  });
25086
25086
  const poller = yield coreLro.createHttpPoller(lro, {
25087
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25088
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
25087
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25088
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
25089
25089
  resourceLocationConfig: "original-uri",
25090
25090
  });
25091
25091
  yield poller.poll();
@@ -25102,7 +25102,7 @@ class RegistryComponentVersionsImpl {
25102
25102
  * @param options The options parameters.
25103
25103
  */
25104
25104
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, componentName, version, body, options) {
25105
- return tslib.__awaiter(this, void 0, void 0, function* () {
25105
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25106
25106
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, componentName, version, body, options);
25107
25107
  return poller.pollUntilDone();
25108
25108
  });
@@ -25285,7 +25285,7 @@ class RegistryDataContainersImpl {
25285
25285
  return this;
25286
25286
  },
25287
25287
  byPage: (settings) => {
25288
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
25288
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
25289
25289
  throw new Error("maxPageSize is not supported by this operation.");
25290
25290
  }
25291
25291
  return this.listPagingPage(resourceGroupName, registryName, options, settings);
@@ -25295,7 +25295,7 @@ class RegistryDataContainersImpl {
25295
25295
  listPagingPage(resourceGroupName, registryName, options, settings) {
25296
25296
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
25297
25297
  let result;
25298
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
25298
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
25299
25299
  if (!continuationToken) {
25300
25300
  result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
25301
25301
  let page = result.value || [];
@@ -25349,17 +25349,17 @@ class RegistryDataContainersImpl {
25349
25349
  * @param options The options parameters.
25350
25350
  */
25351
25351
  beginDelete(resourceGroupName, registryName, name, options) {
25352
- return tslib.__awaiter(this, void 0, void 0, function* () {
25353
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25352
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25353
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25354
25354
  return this.client.sendOperationRequest(args, spec);
25355
25355
  });
25356
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25356
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25357
25357
  var _a;
25358
25358
  let currentRawResponse = undefined;
25359
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25359
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25360
25360
  const callback = (rawResponse, flatResponse) => {
25361
25361
  currentRawResponse = rawResponse;
25362
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25362
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25363
25363
  };
25364
25364
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25365
25365
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25378,8 +25378,8 @@ class RegistryDataContainersImpl {
25378
25378
  spec: deleteOperationSpec$t,
25379
25379
  });
25380
25380
  const poller = yield coreLro.createHttpPoller(lro, {
25381
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25382
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
25381
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25382
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
25383
25383
  resourceLocationConfig: "location",
25384
25384
  });
25385
25385
  yield poller.poll();
@@ -25394,7 +25394,7 @@ class RegistryDataContainersImpl {
25394
25394
  * @param options The options parameters.
25395
25395
  */
25396
25396
  beginDeleteAndWait(resourceGroupName, registryName, name, options) {
25397
- return tslib.__awaiter(this, void 0, void 0, function* () {
25397
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25398
25398
  const poller = yield this.beginDelete(resourceGroupName, registryName, name, options);
25399
25399
  return poller.pollUntilDone();
25400
25400
  });
@@ -25418,17 +25418,17 @@ class RegistryDataContainersImpl {
25418
25418
  * @param options The options parameters.
25419
25419
  */
25420
25420
  beginCreateOrUpdate(resourceGroupName, registryName, name, body, options) {
25421
- return tslib.__awaiter(this, void 0, void 0, function* () {
25422
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25421
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25422
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25423
25423
  return this.client.sendOperationRequest(args, spec);
25424
25424
  });
25425
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25425
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25426
25426
  var _a;
25427
25427
  let currentRawResponse = undefined;
25428
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25428
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25429
25429
  const callback = (rawResponse, flatResponse) => {
25430
25430
  currentRawResponse = rawResponse;
25431
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25431
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25432
25432
  };
25433
25433
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25434
25434
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25447,8 +25447,8 @@ class RegistryDataContainersImpl {
25447
25447
  spec: createOrUpdateOperationSpec$t,
25448
25448
  });
25449
25449
  const poller = yield coreLro.createHttpPoller(lro, {
25450
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25451
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
25450
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25451
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
25452
25452
  resourceLocationConfig: "original-uri",
25453
25453
  });
25454
25454
  yield poller.poll();
@@ -25464,7 +25464,7 @@ class RegistryDataContainersImpl {
25464
25464
  * @param options The options parameters.
25465
25465
  */
25466
25466
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, name, body, options) {
25467
- return tslib.__awaiter(this, void 0, void 0, function* () {
25467
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25468
25468
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, name, body, options);
25469
25469
  return poller.pollUntilDone();
25470
25470
  });
@@ -25641,7 +25641,7 @@ class RegistryDataVersionsImpl {
25641
25641
  return this;
25642
25642
  },
25643
25643
  byPage: (settings) => {
25644
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
25644
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
25645
25645
  throw new Error("maxPageSize is not supported by this operation.");
25646
25646
  }
25647
25647
  return this.listPagingPage(resourceGroupName, registryName, name, options, settings);
@@ -25651,7 +25651,7 @@ class RegistryDataVersionsImpl {
25651
25651
  listPagingPage(resourceGroupName, registryName, name, options, settings) {
25652
25652
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
25653
25653
  let result;
25654
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
25654
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
25655
25655
  if (!continuationToken) {
25656
25656
  result = yield tslib.__await(this._list(resourceGroupName, registryName, name, options));
25657
25657
  let page = result.value || [];
@@ -25707,17 +25707,17 @@ class RegistryDataVersionsImpl {
25707
25707
  * @param options The options parameters.
25708
25708
  */
25709
25709
  beginDelete(resourceGroupName, registryName, name, version, options) {
25710
- return tslib.__awaiter(this, void 0, void 0, function* () {
25711
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25710
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25711
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25712
25712
  return this.client.sendOperationRequest(args, spec);
25713
25713
  });
25714
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25714
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25715
25715
  var _a;
25716
25716
  let currentRawResponse = undefined;
25717
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25717
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25718
25718
  const callback = (rawResponse, flatResponse) => {
25719
25719
  currentRawResponse = rawResponse;
25720
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25720
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25721
25721
  };
25722
25722
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25723
25723
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25736,8 +25736,8 @@ class RegistryDataVersionsImpl {
25736
25736
  spec: deleteOperationSpec$s,
25737
25737
  });
25738
25738
  const poller = yield coreLro.createHttpPoller(lro, {
25739
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25740
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
25739
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25740
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
25741
25741
  resourceLocationConfig: "location",
25742
25742
  });
25743
25743
  yield poller.poll();
@@ -25753,7 +25753,7 @@ class RegistryDataVersionsImpl {
25753
25753
  * @param options The options parameters.
25754
25754
  */
25755
25755
  beginDeleteAndWait(resourceGroupName, registryName, name, version, options) {
25756
- return tslib.__awaiter(this, void 0, void 0, function* () {
25756
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25757
25757
  const poller = yield this.beginDelete(resourceGroupName, registryName, name, version, options);
25758
25758
  return poller.pollUntilDone();
25759
25759
  });
@@ -25779,17 +25779,17 @@ class RegistryDataVersionsImpl {
25779
25779
  * @param options The options parameters.
25780
25780
  */
25781
25781
  beginCreateOrUpdate(resourceGroupName, registryName, name, version, body, options) {
25782
- return tslib.__awaiter(this, void 0, void 0, function* () {
25783
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25782
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25783
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25784
25784
  return this.client.sendOperationRequest(args, spec);
25785
25785
  });
25786
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
25786
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
25787
25787
  var _a;
25788
25788
  let currentRawResponse = undefined;
25789
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
25789
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
25790
25790
  const callback = (rawResponse, flatResponse) => {
25791
25791
  currentRawResponse = rawResponse;
25792
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
25792
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
25793
25793
  };
25794
25794
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
25795
25795
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -25808,8 +25808,8 @@ class RegistryDataVersionsImpl {
25808
25808
  spec: createOrUpdateOperationSpec$s,
25809
25809
  });
25810
25810
  const poller = yield coreLro.createHttpPoller(lro, {
25811
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
25812
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
25811
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
25812
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
25813
25813
  resourceLocationConfig: "original-uri",
25814
25814
  });
25815
25815
  yield poller.poll();
@@ -25826,7 +25826,7 @@ class RegistryDataVersionsImpl {
25826
25826
  * @param options The options parameters.
25827
25827
  */
25828
25828
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, name, version, body, options) {
25829
- return tslib.__awaiter(this, void 0, void 0, function* () {
25829
+ return tslib.__awaiter(this, undefined, undefined, function* () {
25830
25830
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, name, version, body, options);
25831
25831
  return poller.pollUntilDone();
25832
25832
  });
@@ -26105,7 +26105,7 @@ class RegistryEnvironmentContainersImpl {
26105
26105
  return this;
26106
26106
  },
26107
26107
  byPage: (settings) => {
26108
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
26108
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
26109
26109
  throw new Error("maxPageSize is not supported by this operation.");
26110
26110
  }
26111
26111
  return this.listPagingPage(resourceGroupName, registryName, options, settings);
@@ -26115,7 +26115,7 @@ class RegistryEnvironmentContainersImpl {
26115
26115
  listPagingPage(resourceGroupName, registryName, options, settings) {
26116
26116
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
26117
26117
  let result;
26118
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
26118
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
26119
26119
  if (!continuationToken) {
26120
26120
  result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
26121
26121
  let page = result.value || [];
@@ -26169,17 +26169,17 @@ class RegistryEnvironmentContainersImpl {
26169
26169
  * @param options The options parameters.
26170
26170
  */
26171
26171
  beginDelete(resourceGroupName, registryName, environmentName, options) {
26172
- return tslib.__awaiter(this, void 0, void 0, function* () {
26173
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26172
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26173
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26174
26174
  return this.client.sendOperationRequest(args, spec);
26175
26175
  });
26176
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26176
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26177
26177
  var _a;
26178
26178
  let currentRawResponse = undefined;
26179
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26179
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26180
26180
  const callback = (rawResponse, flatResponse) => {
26181
26181
  currentRawResponse = rawResponse;
26182
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26182
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26183
26183
  };
26184
26184
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26185
26185
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26198,8 +26198,8 @@ class RegistryEnvironmentContainersImpl {
26198
26198
  spec: deleteOperationSpec$r,
26199
26199
  });
26200
26200
  const poller = yield coreLro.createHttpPoller(lro, {
26201
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26202
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
26201
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26202
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
26203
26203
  resourceLocationConfig: "location",
26204
26204
  });
26205
26205
  yield poller.poll();
@@ -26214,7 +26214,7 @@ class RegistryEnvironmentContainersImpl {
26214
26214
  * @param options The options parameters.
26215
26215
  */
26216
26216
  beginDeleteAndWait(resourceGroupName, registryName, environmentName, options) {
26217
- return tslib.__awaiter(this, void 0, void 0, function* () {
26217
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26218
26218
  const poller = yield this.beginDelete(resourceGroupName, registryName, environmentName, options);
26219
26219
  return poller.pollUntilDone();
26220
26220
  });
@@ -26238,17 +26238,17 @@ class RegistryEnvironmentContainersImpl {
26238
26238
  * @param options The options parameters.
26239
26239
  */
26240
26240
  beginCreateOrUpdate(resourceGroupName, registryName, environmentName, body, options) {
26241
- return tslib.__awaiter(this, void 0, void 0, function* () {
26242
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26241
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26242
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26243
26243
  return this.client.sendOperationRequest(args, spec);
26244
26244
  });
26245
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26245
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26246
26246
  var _a;
26247
26247
  let currentRawResponse = undefined;
26248
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26248
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26249
26249
  const callback = (rawResponse, flatResponse) => {
26250
26250
  currentRawResponse = rawResponse;
26251
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26251
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26252
26252
  };
26253
26253
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26254
26254
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26267,8 +26267,8 @@ class RegistryEnvironmentContainersImpl {
26267
26267
  spec: createOrUpdateOperationSpec$r,
26268
26268
  });
26269
26269
  const poller = yield coreLro.createHttpPoller(lro, {
26270
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26271
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
26270
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26271
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
26272
26272
  resourceLocationConfig: "original-uri",
26273
26273
  });
26274
26274
  yield poller.poll();
@@ -26284,7 +26284,7 @@ class RegistryEnvironmentContainersImpl {
26284
26284
  * @param options The options parameters.
26285
26285
  */
26286
26286
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, environmentName, body, options) {
26287
- return tslib.__awaiter(this, void 0, void 0, function* () {
26287
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26288
26288
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, environmentName, body, options);
26289
26289
  return poller.pollUntilDone();
26290
26290
  });
@@ -26461,7 +26461,7 @@ class RegistryEnvironmentVersionsImpl {
26461
26461
  return this;
26462
26462
  },
26463
26463
  byPage: (settings) => {
26464
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
26464
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
26465
26465
  throw new Error("maxPageSize is not supported by this operation.");
26466
26466
  }
26467
26467
  return this.listPagingPage(resourceGroupName, registryName, environmentName, options, settings);
@@ -26471,7 +26471,7 @@ class RegistryEnvironmentVersionsImpl {
26471
26471
  listPagingPage(resourceGroupName, registryName, environmentName, options, settings) {
26472
26472
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
26473
26473
  let result;
26474
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
26474
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
26475
26475
  if (!continuationToken) {
26476
26476
  result = yield tslib.__await(this._list(resourceGroupName, registryName, environmentName, options));
26477
26477
  let page = result.value || [];
@@ -26527,17 +26527,17 @@ class RegistryEnvironmentVersionsImpl {
26527
26527
  * @param options The options parameters.
26528
26528
  */
26529
26529
  beginDelete(resourceGroupName, registryName, environmentName, version, options) {
26530
- return tslib.__awaiter(this, void 0, void 0, function* () {
26531
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26530
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26531
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26532
26532
  return this.client.sendOperationRequest(args, spec);
26533
26533
  });
26534
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26534
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26535
26535
  var _a;
26536
26536
  let currentRawResponse = undefined;
26537
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26537
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26538
26538
  const callback = (rawResponse, flatResponse) => {
26539
26539
  currentRawResponse = rawResponse;
26540
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26540
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26541
26541
  };
26542
26542
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26543
26543
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26562,8 +26562,8 @@ class RegistryEnvironmentVersionsImpl {
26562
26562
  spec: deleteOperationSpec$q,
26563
26563
  });
26564
26564
  const poller = yield coreLro.createHttpPoller(lro, {
26565
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26566
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
26565
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26566
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
26567
26567
  resourceLocationConfig: "location",
26568
26568
  });
26569
26569
  yield poller.poll();
@@ -26579,7 +26579,7 @@ class RegistryEnvironmentVersionsImpl {
26579
26579
  * @param options The options parameters.
26580
26580
  */
26581
26581
  beginDeleteAndWait(resourceGroupName, registryName, environmentName, version, options) {
26582
- return tslib.__awaiter(this, void 0, void 0, function* () {
26582
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26583
26583
  const poller = yield this.beginDelete(resourceGroupName, registryName, environmentName, version, options);
26584
26584
  return poller.pollUntilDone();
26585
26585
  });
@@ -26605,17 +26605,17 @@ class RegistryEnvironmentVersionsImpl {
26605
26605
  * @param options The options parameters.
26606
26606
  */
26607
26607
  beginCreateOrUpdate(resourceGroupName, registryName, environmentName, version, body, options) {
26608
- return tslib.__awaiter(this, void 0, void 0, function* () {
26609
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26608
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26609
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26610
26610
  return this.client.sendOperationRequest(args, spec);
26611
26611
  });
26612
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26612
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26613
26613
  var _a;
26614
26614
  let currentRawResponse = undefined;
26615
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26615
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26616
26616
  const callback = (rawResponse, flatResponse) => {
26617
26617
  currentRawResponse = rawResponse;
26618
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26618
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26619
26619
  };
26620
26620
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26621
26621
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26641,8 +26641,8 @@ class RegistryEnvironmentVersionsImpl {
26641
26641
  spec: createOrUpdateOperationSpec$q,
26642
26642
  });
26643
26643
  const poller = yield coreLro.createHttpPoller(lro, {
26644
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26645
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
26644
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26645
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
26646
26646
  resourceLocationConfig: "original-uri",
26647
26647
  });
26648
26648
  yield poller.poll();
@@ -26659,7 +26659,7 @@ class RegistryEnvironmentVersionsImpl {
26659
26659
  * @param options The options parameters.
26660
26660
  */
26661
26661
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, environmentName, version, body, options) {
26662
- return tslib.__awaiter(this, void 0, void 0, function* () {
26662
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26663
26663
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, environmentName, version, body, options);
26664
26664
  return poller.pollUntilDone();
26665
26665
  });
@@ -26843,7 +26843,7 @@ class RegistryModelContainersImpl {
26843
26843
  return this;
26844
26844
  },
26845
26845
  byPage: (settings) => {
26846
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
26846
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
26847
26847
  throw new Error("maxPageSize is not supported by this operation.");
26848
26848
  }
26849
26849
  return this.listPagingPage(resourceGroupName, registryName, options, settings);
@@ -26853,7 +26853,7 @@ class RegistryModelContainersImpl {
26853
26853
  listPagingPage(resourceGroupName, registryName, options, settings) {
26854
26854
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
26855
26855
  let result;
26856
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
26856
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
26857
26857
  if (!continuationToken) {
26858
26858
  result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
26859
26859
  let page = result.value || [];
@@ -26907,17 +26907,17 @@ class RegistryModelContainersImpl {
26907
26907
  * @param options The options parameters.
26908
26908
  */
26909
26909
  beginDelete(resourceGroupName, registryName, modelName, options) {
26910
- return tslib.__awaiter(this, void 0, void 0, function* () {
26911
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26910
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26911
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26912
26912
  return this.client.sendOperationRequest(args, spec);
26913
26913
  });
26914
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26914
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26915
26915
  var _a;
26916
26916
  let currentRawResponse = undefined;
26917
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26917
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26918
26918
  const callback = (rawResponse, flatResponse) => {
26919
26919
  currentRawResponse = rawResponse;
26920
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26920
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26921
26921
  };
26922
26922
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26923
26923
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -26936,8 +26936,8 @@ class RegistryModelContainersImpl {
26936
26936
  spec: deleteOperationSpec$p,
26937
26937
  });
26938
26938
  const poller = yield coreLro.createHttpPoller(lro, {
26939
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
26940
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
26939
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
26940
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
26941
26941
  resourceLocationConfig: "location",
26942
26942
  });
26943
26943
  yield poller.poll();
@@ -26952,7 +26952,7 @@ class RegistryModelContainersImpl {
26952
26952
  * @param options The options parameters.
26953
26953
  */
26954
26954
  beginDeleteAndWait(resourceGroupName, registryName, modelName, 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.beginDelete(resourceGroupName, registryName, modelName, options);
26957
26957
  return poller.pollUntilDone();
26958
26958
  });
@@ -26976,17 +26976,17 @@ class RegistryModelContainersImpl {
26976
26976
  * @param options The options parameters.
26977
26977
  */
26978
26978
  beginCreateOrUpdate(resourceGroupName, registryName, modelName, body, options) {
26979
- return tslib.__awaiter(this, void 0, void 0, function* () {
26980
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26979
+ return tslib.__awaiter(this, undefined, undefined, function* () {
26980
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26981
26981
  return this.client.sendOperationRequest(args, spec);
26982
26982
  });
26983
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
26983
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
26984
26984
  var _a;
26985
26985
  let currentRawResponse = undefined;
26986
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
26986
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
26987
26987
  const callback = (rawResponse, flatResponse) => {
26988
26988
  currentRawResponse = rawResponse;
26989
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
26989
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
26990
26990
  };
26991
26991
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
26992
26992
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27005,8 +27005,8 @@ class RegistryModelContainersImpl {
27005
27005
  spec: createOrUpdateOperationSpec$p,
27006
27006
  });
27007
27007
  const poller = yield coreLro.createHttpPoller(lro, {
27008
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27009
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
27008
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27009
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
27010
27010
  resourceLocationConfig: "original-uri",
27011
27011
  });
27012
27012
  yield poller.poll();
@@ -27022,7 +27022,7 @@ class RegistryModelContainersImpl {
27022
27022
  * @param options The options parameters.
27023
27023
  */
27024
27024
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, modelName, body, options) {
27025
- return tslib.__awaiter(this, void 0, void 0, function* () {
27025
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27026
27026
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, modelName, body, options);
27027
27027
  return poller.pollUntilDone();
27028
27028
  });
@@ -27199,7 +27199,7 @@ class RegistryModelVersionsImpl {
27199
27199
  return this;
27200
27200
  },
27201
27201
  byPage: (settings) => {
27202
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
27202
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
27203
27203
  throw new Error("maxPageSize is not supported by this operation.");
27204
27204
  }
27205
27205
  return this.listPagingPage(resourceGroupName, registryName, modelName, options, settings);
@@ -27209,7 +27209,7 @@ class RegistryModelVersionsImpl {
27209
27209
  listPagingPage(resourceGroupName, registryName, modelName, options, settings) {
27210
27210
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
27211
27211
  let result;
27212
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
27212
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
27213
27213
  if (!continuationToken) {
27214
27214
  result = yield tslib.__await(this._list(resourceGroupName, registryName, modelName, options));
27215
27215
  let page = result.value || [];
@@ -27265,17 +27265,17 @@ class RegistryModelVersionsImpl {
27265
27265
  * @param options The options parameters.
27266
27266
  */
27267
27267
  beginDelete(resourceGroupName, registryName, modelName, version, options) {
27268
- return tslib.__awaiter(this, void 0, void 0, function* () {
27269
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27268
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27269
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27270
27270
  return this.client.sendOperationRequest(args, spec);
27271
27271
  });
27272
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27272
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27273
27273
  var _a;
27274
27274
  let currentRawResponse = undefined;
27275
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27275
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27276
27276
  const callback = (rawResponse, flatResponse) => {
27277
27277
  currentRawResponse = rawResponse;
27278
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27278
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27279
27279
  };
27280
27280
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27281
27281
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27294,8 +27294,8 @@ class RegistryModelVersionsImpl {
27294
27294
  spec: deleteOperationSpec$o,
27295
27295
  });
27296
27296
  const poller = yield coreLro.createHttpPoller(lro, {
27297
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27298
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
27297
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27298
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
27299
27299
  resourceLocationConfig: "location",
27300
27300
  });
27301
27301
  yield poller.poll();
@@ -27311,7 +27311,7 @@ class RegistryModelVersionsImpl {
27311
27311
  * @param options The options parameters.
27312
27312
  */
27313
27313
  beginDeleteAndWait(resourceGroupName, registryName, modelName, version, options) {
27314
- return tslib.__awaiter(this, void 0, void 0, function* () {
27314
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27315
27315
  const poller = yield this.beginDelete(resourceGroupName, registryName, modelName, version, options);
27316
27316
  return poller.pollUntilDone();
27317
27317
  });
@@ -27337,17 +27337,17 @@ class RegistryModelVersionsImpl {
27337
27337
  * @param options The options parameters.
27338
27338
  */
27339
27339
  beginCreateOrUpdate(resourceGroupName, registryName, modelName, version, body, options) {
27340
- return tslib.__awaiter(this, void 0, void 0, function* () {
27341
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27340
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27341
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27342
27342
  return this.client.sendOperationRequest(args, spec);
27343
27343
  });
27344
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27344
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27345
27345
  var _a;
27346
27346
  let currentRawResponse = undefined;
27347
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27347
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27348
27348
  const callback = (rawResponse, flatResponse) => {
27349
27349
  currentRawResponse = rawResponse;
27350
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27350
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27351
27351
  };
27352
27352
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27353
27353
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27373,8 +27373,8 @@ class RegistryModelVersionsImpl {
27373
27373
  spec: createOrUpdateOperationSpec$o,
27374
27374
  });
27375
27375
  const poller = yield coreLro.createHttpPoller(lro, {
27376
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27377
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
27376
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27377
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
27378
27378
  resourceLocationConfig: "original-uri",
27379
27379
  });
27380
27380
  yield poller.poll();
@@ -27391,7 +27391,7 @@ class RegistryModelVersionsImpl {
27391
27391
  * @param options The options parameters.
27392
27392
  */
27393
27393
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, modelName, version, body, options) {
27394
- return tslib.__awaiter(this, void 0, void 0, function* () {
27394
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27395
27395
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, modelName, version, body, options);
27396
27396
  return poller.pollUntilDone();
27397
27397
  });
@@ -27616,7 +27616,7 @@ class BatchEndpointsImpl {
27616
27616
  return this;
27617
27617
  },
27618
27618
  byPage: (settings) => {
27619
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
27619
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
27620
27620
  throw new Error("maxPageSize is not supported by this operation.");
27621
27621
  }
27622
27622
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -27626,7 +27626,7 @@ class BatchEndpointsImpl {
27626
27626
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
27627
27627
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
27628
27628
  let result;
27629
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
27629
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
27630
27630
  if (!continuationToken) {
27631
27631
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
27632
27632
  let page = result.value || [];
@@ -27680,17 +27680,17 @@ class BatchEndpointsImpl {
27680
27680
  * @param options The options parameters.
27681
27681
  */
27682
27682
  beginDelete(resourceGroupName, workspaceName, endpointName, options) {
27683
- return tslib.__awaiter(this, void 0, void 0, function* () {
27684
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27683
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27684
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27685
27685
  return this.client.sendOperationRequest(args, spec);
27686
27686
  });
27687
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27687
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27688
27688
  var _a;
27689
27689
  let currentRawResponse = undefined;
27690
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27690
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27691
27691
  const callback = (rawResponse, flatResponse) => {
27692
27692
  currentRawResponse = rawResponse;
27693
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27693
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27694
27694
  };
27695
27695
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27696
27696
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27709,8 +27709,8 @@ class BatchEndpointsImpl {
27709
27709
  spec: deleteOperationSpec$n,
27710
27710
  });
27711
27711
  const poller = yield coreLro.createHttpPoller(lro, {
27712
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27713
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
27712
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27713
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
27714
27714
  resourceLocationConfig: "location",
27715
27715
  });
27716
27716
  yield poller.poll();
@@ -27725,7 +27725,7 @@ class BatchEndpointsImpl {
27725
27725
  * @param options The options parameters.
27726
27726
  */
27727
27727
  beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, options) {
27728
- return tslib.__awaiter(this, void 0, void 0, function* () {
27728
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27729
27729
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, options);
27730
27730
  return poller.pollUntilDone();
27731
27731
  });
@@ -27749,17 +27749,17 @@ class BatchEndpointsImpl {
27749
27749
  * @param options The options parameters.
27750
27750
  */
27751
27751
  beginUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
27752
- return tslib.__awaiter(this, void 0, void 0, function* () {
27753
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27752
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27753
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27754
27754
  return this.client.sendOperationRequest(args, spec);
27755
27755
  });
27756
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27756
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27757
27757
  var _a;
27758
27758
  let currentRawResponse = undefined;
27759
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27759
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27760
27760
  const callback = (rawResponse, flatResponse) => {
27761
27761
  currentRawResponse = rawResponse;
27762
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27762
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27763
27763
  };
27764
27764
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27765
27765
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27778,8 +27778,8 @@ class BatchEndpointsImpl {
27778
27778
  spec: updateOperationSpec$5,
27779
27779
  });
27780
27780
  const poller = yield coreLro.createHttpPoller(lro, {
27781
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27782
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
27781
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27782
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
27783
27783
  });
27784
27784
  yield poller.poll();
27785
27785
  return poller;
@@ -27794,7 +27794,7 @@ class BatchEndpointsImpl {
27794
27794
  * @param options The options parameters.
27795
27795
  */
27796
27796
  beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
27797
- return tslib.__awaiter(this, void 0, void 0, function* () {
27797
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27798
27798
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, body, options);
27799
27799
  return poller.pollUntilDone();
27800
27800
  });
@@ -27808,17 +27808,17 @@ class BatchEndpointsImpl {
27808
27808
  * @param options The options parameters.
27809
27809
  */
27810
27810
  beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
27811
- return tslib.__awaiter(this, void 0, void 0, function* () {
27812
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27811
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27812
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27813
27813
  return this.client.sendOperationRequest(args, spec);
27814
27814
  });
27815
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
27815
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
27816
27816
  var _a;
27817
27817
  let currentRawResponse = undefined;
27818
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
27818
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
27819
27819
  const callback = (rawResponse, flatResponse) => {
27820
27820
  currentRawResponse = rawResponse;
27821
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
27821
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
27822
27822
  };
27823
27823
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
27824
27824
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -27837,8 +27837,8 @@ class BatchEndpointsImpl {
27837
27837
  spec: createOrUpdateOperationSpec$n,
27838
27838
  });
27839
27839
  const poller = yield coreLro.createHttpPoller(lro, {
27840
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
27841
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
27840
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
27841
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
27842
27842
  resourceLocationConfig: "original-uri",
27843
27843
  });
27844
27844
  yield poller.poll();
@@ -27854,7 +27854,7 @@ class BatchEndpointsImpl {
27854
27854
  * @param options The options parameters.
27855
27855
  */
27856
27856
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
27857
- return tslib.__awaiter(this, void 0, void 0, function* () {
27857
+ return tslib.__awaiter(this, undefined, undefined, function* () {
27858
27858
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options);
27859
27859
  return poller.pollUntilDone();
27860
27860
  });
@@ -28092,7 +28092,7 @@ class BatchDeploymentsImpl {
28092
28092
  return this;
28093
28093
  },
28094
28094
  byPage: (settings) => {
28095
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
28095
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
28096
28096
  throw new Error("maxPageSize is not supported by this operation.");
28097
28097
  }
28098
28098
  return this.listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings);
@@ -28102,7 +28102,7 @@ class BatchDeploymentsImpl {
28102
28102
  listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings) {
28103
28103
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
28104
28104
  let result;
28105
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
28105
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
28106
28106
  if (!continuationToken) {
28107
28107
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, endpointName, options));
28108
28108
  let page = result.value || [];
@@ -28158,17 +28158,17 @@ class BatchDeploymentsImpl {
28158
28158
  * @param options The options parameters.
28159
28159
  */
28160
28160
  beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
28161
- return tslib.__awaiter(this, void 0, void 0, function* () {
28162
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28161
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28162
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28163
28163
  return this.client.sendOperationRequest(args, spec);
28164
28164
  });
28165
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28165
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28166
28166
  var _a;
28167
28167
  let currentRawResponse = undefined;
28168
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
28168
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
28169
28169
  const callback = (rawResponse, flatResponse) => {
28170
28170
  currentRawResponse = rawResponse;
28171
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
28171
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
28172
28172
  };
28173
28173
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
28174
28174
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -28193,8 +28193,8 @@ class BatchDeploymentsImpl {
28193
28193
  spec: deleteOperationSpec$m,
28194
28194
  });
28195
28195
  const poller = yield coreLro.createHttpPoller(lro, {
28196
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28197
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
28196
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
28197
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
28198
28198
  resourceLocationConfig: "location",
28199
28199
  });
28200
28200
  yield poller.poll();
@@ -28210,7 +28210,7 @@ class BatchDeploymentsImpl {
28210
28210
  * @param options The options parameters.
28211
28211
  */
28212
28212
  beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
28213
- return tslib.__awaiter(this, void 0, void 0, function* () {
28213
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28214
28214
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options);
28215
28215
  return poller.pollUntilDone();
28216
28216
  });
@@ -28242,17 +28242,17 @@ class BatchDeploymentsImpl {
28242
28242
  * @param options The options parameters.
28243
28243
  */
28244
28244
  beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
28245
- return tslib.__awaiter(this, void 0, void 0, function* () {
28246
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28245
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28246
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28247
28247
  return this.client.sendOperationRequest(args, spec);
28248
28248
  });
28249
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28249
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28250
28250
  var _a;
28251
28251
  let currentRawResponse = undefined;
28252
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
28252
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
28253
28253
  const callback = (rawResponse, flatResponse) => {
28254
28254
  currentRawResponse = rawResponse;
28255
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
28255
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
28256
28256
  };
28257
28257
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
28258
28258
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -28278,8 +28278,8 @@ class BatchDeploymentsImpl {
28278
28278
  spec: updateOperationSpec$4,
28279
28279
  });
28280
28280
  const poller = yield coreLro.createHttpPoller(lro, {
28281
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28282
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
28281
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
28282
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
28283
28283
  });
28284
28284
  yield poller.poll();
28285
28285
  return poller;
@@ -28295,7 +28295,7 @@ class BatchDeploymentsImpl {
28295
28295
  * @param options The options parameters.
28296
28296
  */
28297
28297
  beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
28298
- return tslib.__awaiter(this, void 0, void 0, function* () {
28298
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28299
28299
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
28300
28300
  return poller.pollUntilDone();
28301
28301
  });
@@ -28310,17 +28310,17 @@ class BatchDeploymentsImpl {
28310
28310
  * @param options The options parameters.
28311
28311
  */
28312
28312
  beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
28313
- return tslib.__awaiter(this, void 0, void 0, function* () {
28314
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28313
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28314
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28315
28315
  return this.client.sendOperationRequest(args, spec);
28316
28316
  });
28317
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28317
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28318
28318
  var _a;
28319
28319
  let currentRawResponse = undefined;
28320
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
28320
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
28321
28321
  const callback = (rawResponse, flatResponse) => {
28322
28322
  currentRawResponse = rawResponse;
28323
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
28323
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
28324
28324
  };
28325
28325
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
28326
28326
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -28346,8 +28346,8 @@ class BatchDeploymentsImpl {
28346
28346
  spec: createOrUpdateOperationSpec$m,
28347
28347
  });
28348
28348
  const poller = yield coreLro.createHttpPoller(lro, {
28349
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28350
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
28349
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
28350
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
28351
28351
  resourceLocationConfig: "original-uri",
28352
28352
  });
28353
28353
  yield poller.poll();
@@ -28364,7 +28364,7 @@ class BatchDeploymentsImpl {
28364
28364
  * @param options The options parameters.
28365
28365
  */
28366
28366
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
28367
- return tslib.__awaiter(this, void 0, void 0, function* () {
28367
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28368
28368
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
28369
28369
  return poller.pollUntilDone();
28370
28370
  });
@@ -28581,7 +28581,7 @@ class CodeContainersImpl {
28581
28581
  return this;
28582
28582
  },
28583
28583
  byPage: (settings) => {
28584
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
28584
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
28585
28585
  throw new Error("maxPageSize is not supported by this operation.");
28586
28586
  }
28587
28587
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -28591,7 +28591,7 @@ class CodeContainersImpl {
28591
28591
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
28592
28592
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
28593
28593
  let result;
28594
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
28594
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
28595
28595
  if (!continuationToken) {
28596
28596
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
28597
28597
  let page = result.value || [];
@@ -28828,7 +28828,7 @@ class CodeVersionsImpl {
28828
28828
  return this;
28829
28829
  },
28830
28830
  byPage: (settings) => {
28831
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
28831
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
28832
28832
  throw new Error("maxPageSize is not supported by this operation.");
28833
28833
  }
28834
28834
  return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
@@ -28838,7 +28838,7 @@ class CodeVersionsImpl {
28838
28838
  listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
28839
28839
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
28840
28840
  let result;
28841
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
28841
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
28842
28842
  if (!continuationToken) {
28843
28843
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
28844
28844
  let page = result.value || [];
@@ -28929,17 +28929,17 @@ class CodeVersionsImpl {
28929
28929
  * @param options The options parameters.
28930
28930
  */
28931
28931
  beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
28932
- return tslib.__awaiter(this, void 0, void 0, function* () {
28933
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28932
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28933
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28934
28934
  return this.client.sendOperationRequest(args, spec);
28935
28935
  });
28936
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
28936
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
28937
28937
  var _a;
28938
28938
  let currentRawResponse = undefined;
28939
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
28939
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
28940
28940
  const callback = (rawResponse, flatResponse) => {
28941
28941
  currentRawResponse = rawResponse;
28942
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
28942
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
28943
28943
  };
28944
28944
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
28945
28945
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -28958,8 +28958,8 @@ class CodeVersionsImpl {
28958
28958
  spec: publishOperationSpec$4,
28959
28959
  });
28960
28960
  const poller = yield coreLro.createHttpPoller(lro, {
28961
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
28962
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
28961
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
28962
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
28963
28963
  resourceLocationConfig: "location",
28964
28964
  });
28965
28965
  yield poller.poll();
@@ -28976,7 +28976,7 @@ class CodeVersionsImpl {
28976
28976
  * @param options The options parameters.
28977
28977
  */
28978
28978
  beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
28979
- return tslib.__awaiter(this, void 0, void 0, function* () {
28979
+ return tslib.__awaiter(this, undefined, undefined, function* () {
28980
28980
  const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
28981
28981
  return poller.pollUntilDone();
28982
28982
  });
@@ -29216,7 +29216,7 @@ class ComponentContainersImpl {
29216
29216
  return this;
29217
29217
  },
29218
29218
  byPage: (settings) => {
29219
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
29219
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
29220
29220
  throw new Error("maxPageSize is not supported by this operation.");
29221
29221
  }
29222
29222
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -29226,7 +29226,7 @@ class ComponentContainersImpl {
29226
29226
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
29227
29227
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
29228
29228
  let result;
29229
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
29229
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
29230
29230
  if (!continuationToken) {
29231
29231
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
29232
29232
  let page = result.value || [];
@@ -29467,7 +29467,7 @@ class ComponentVersionsImpl {
29467
29467
  return this;
29468
29468
  },
29469
29469
  byPage: (settings) => {
29470
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
29470
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
29471
29471
  throw new Error("maxPageSize is not supported by this operation.");
29472
29472
  }
29473
29473
  return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
@@ -29477,7 +29477,7 @@ class ComponentVersionsImpl {
29477
29477
  listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
29478
29478
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
29479
29479
  let result;
29480
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
29480
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
29481
29481
  if (!continuationToken) {
29482
29482
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
29483
29483
  let page = result.value || [];
@@ -29568,17 +29568,17 @@ class ComponentVersionsImpl {
29568
29568
  * @param options The options parameters.
29569
29569
  */
29570
29570
  beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
29571
- return tslib.__awaiter(this, void 0, void 0, function* () {
29572
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29571
+ return tslib.__awaiter(this, undefined, undefined, function* () {
29572
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
29573
29573
  return this.client.sendOperationRequest(args, spec);
29574
29574
  });
29575
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
29575
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
29576
29576
  var _a;
29577
29577
  let currentRawResponse = undefined;
29578
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
29578
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
29579
29579
  const callback = (rawResponse, flatResponse) => {
29580
29580
  currentRawResponse = rawResponse;
29581
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
29581
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
29582
29582
  };
29583
29583
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
29584
29584
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -29597,8 +29597,8 @@ class ComponentVersionsImpl {
29597
29597
  spec: publishOperationSpec$3,
29598
29598
  });
29599
29599
  const poller = yield coreLro.createHttpPoller(lro, {
29600
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
29601
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
29600
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
29601
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
29602
29602
  resourceLocationConfig: "location",
29603
29603
  });
29604
29604
  yield poller.poll();
@@ -29615,7 +29615,7 @@ class ComponentVersionsImpl {
29615
29615
  * @param options The options parameters.
29616
29616
  */
29617
29617
  beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
29618
- return tslib.__awaiter(this, void 0, void 0, function* () {
29618
+ return tslib.__awaiter(this, undefined, undefined, function* () {
29619
29619
  const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
29620
29620
  return poller.pollUntilDone();
29621
29621
  });
@@ -29817,7 +29817,7 @@ class DataContainersImpl {
29817
29817
  return this;
29818
29818
  },
29819
29819
  byPage: (settings) => {
29820
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
29820
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
29821
29821
  throw new Error("maxPageSize is not supported by this operation.");
29822
29822
  }
29823
29823
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -29827,7 +29827,7 @@ class DataContainersImpl {
29827
29827
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
29828
29828
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
29829
29829
  let result;
29830
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
29830
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
29831
29831
  if (!continuationToken) {
29832
29832
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
29833
29833
  let page = result.value || [];
@@ -30068,7 +30068,7 @@ class DataVersionsImpl {
30068
30068
  return this;
30069
30069
  },
30070
30070
  byPage: (settings) => {
30071
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
30071
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
30072
30072
  throw new Error("maxPageSize is not supported by this operation.");
30073
30073
  }
30074
30074
  return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
@@ -30078,7 +30078,7 @@ class DataVersionsImpl {
30078
30078
  listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
30079
30079
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
30080
30080
  let result;
30081
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
30081
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
30082
30082
  if (!continuationToken) {
30083
30083
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
30084
30084
  let page = result.value || [];
@@ -30169,17 +30169,17 @@ class DataVersionsImpl {
30169
30169
  * @param options The options parameters.
30170
30170
  */
30171
30171
  beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
30172
- return tslib.__awaiter(this, void 0, void 0, function* () {
30173
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
30172
+ return tslib.__awaiter(this, undefined, undefined, function* () {
30173
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
30174
30174
  return this.client.sendOperationRequest(args, spec);
30175
30175
  });
30176
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
30176
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
30177
30177
  var _a;
30178
30178
  let currentRawResponse = undefined;
30179
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
30179
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
30180
30180
  const callback = (rawResponse, flatResponse) => {
30181
30181
  currentRawResponse = rawResponse;
30182
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
30182
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
30183
30183
  };
30184
30184
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
30185
30185
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -30198,8 +30198,8 @@ class DataVersionsImpl {
30198
30198
  spec: publishOperationSpec$2,
30199
30199
  });
30200
30200
  const poller = yield coreLro.createHttpPoller(lro, {
30201
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
30202
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
30201
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
30202
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
30203
30203
  resourceLocationConfig: "location",
30204
30204
  });
30205
30205
  yield poller.poll();
@@ -30216,7 +30216,7 @@ class DataVersionsImpl {
30216
30216
  * @param options The options parameters.
30217
30217
  */
30218
30218
  beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
30219
- return tslib.__awaiter(this, void 0, void 0, function* () {
30219
+ return tslib.__awaiter(this, undefined, undefined, function* () {
30220
30220
  const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
30221
30221
  return poller.pollUntilDone();
30222
30222
  });
@@ -30419,7 +30419,7 @@ class DatastoresImpl {
30419
30419
  return this;
30420
30420
  },
30421
30421
  byPage: (settings) => {
30422
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
30422
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
30423
30423
  throw new Error("maxPageSize is not supported by this operation.");
30424
30424
  }
30425
30425
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -30429,7 +30429,7 @@ class DatastoresImpl {
30429
30429
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
30430
30430
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
30431
30431
  let result;
30432
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
30432
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
30433
30433
  if (!continuationToken) {
30434
30434
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
30435
30435
  let page = result.value || [];
@@ -30706,7 +30706,7 @@ class EnvironmentContainersImpl {
30706
30706
  return this;
30707
30707
  },
30708
30708
  byPage: (settings) => {
30709
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
30709
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
30710
30710
  throw new Error("maxPageSize is not supported by this operation.");
30711
30711
  }
30712
30712
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -30716,7 +30716,7 @@ class EnvironmentContainersImpl {
30716
30716
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
30717
30717
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
30718
30718
  let result;
30719
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
30719
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
30720
30720
  if (!continuationToken) {
30721
30721
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
30722
30722
  let page = result.value || [];
@@ -30957,7 +30957,7 @@ class EnvironmentVersionsImpl {
30957
30957
  return this;
30958
30958
  },
30959
30959
  byPage: (settings) => {
30960
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
30960
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
30961
30961
  throw new Error("maxPageSize is not supported by this operation.");
30962
30962
  }
30963
30963
  return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
@@ -30967,7 +30967,7 @@ class EnvironmentVersionsImpl {
30967
30967
  listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
30968
30968
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
30969
30969
  let result;
30970
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
30970
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
30971
30971
  if (!continuationToken) {
30972
30972
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
30973
30973
  let page = result.value || [];
@@ -31058,17 +31058,17 @@ class EnvironmentVersionsImpl {
31058
31058
  * @param options The options parameters.
31059
31059
  */
31060
31060
  beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
31061
- return tslib.__awaiter(this, void 0, void 0, function* () {
31062
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31061
+ return tslib.__awaiter(this, undefined, undefined, function* () {
31062
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31063
31063
  return this.client.sendOperationRequest(args, spec);
31064
31064
  });
31065
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31065
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31066
31066
  var _a;
31067
31067
  let currentRawResponse = undefined;
31068
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
31068
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
31069
31069
  const callback = (rawResponse, flatResponse) => {
31070
31070
  currentRawResponse = rawResponse;
31071
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
31071
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
31072
31072
  };
31073
31073
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
31074
31074
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -31087,8 +31087,8 @@ class EnvironmentVersionsImpl {
31087
31087
  spec: publishOperationSpec$1,
31088
31088
  });
31089
31089
  const poller = yield coreLro.createHttpPoller(lro, {
31090
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
31091
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
31090
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
31091
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
31092
31092
  resourceLocationConfig: "location",
31093
31093
  });
31094
31094
  yield poller.poll();
@@ -31105,7 +31105,7 @@ class EnvironmentVersionsImpl {
31105
31105
  * @param options The options parameters.
31106
31106
  */
31107
31107
  beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
31108
- return tslib.__awaiter(this, void 0, void 0, function* () {
31108
+ return tslib.__awaiter(this, undefined, undefined, function* () {
31109
31109
  const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
31110
31110
  return poller.pollUntilDone();
31111
31111
  });
@@ -31307,7 +31307,7 @@ class FeaturesetContainersImpl {
31307
31307
  return this;
31308
31308
  },
31309
31309
  byPage: (settings) => {
31310
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
31310
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
31311
31311
  throw new Error("maxPageSize is not supported by this operation.");
31312
31312
  }
31313
31313
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -31317,7 +31317,7 @@ class FeaturesetContainersImpl {
31317
31317
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
31318
31318
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
31319
31319
  let result;
31320
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
31320
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
31321
31321
  if (!continuationToken) {
31322
31322
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
31323
31323
  let page = result.value || [];
@@ -31371,17 +31371,17 @@ class FeaturesetContainersImpl {
31371
31371
  * @param options The options parameters.
31372
31372
  */
31373
31373
  beginDelete(resourceGroupName, workspaceName, name, options) {
31374
- return tslib.__awaiter(this, void 0, void 0, function* () {
31375
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31374
+ return tslib.__awaiter(this, undefined, undefined, function* () {
31375
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31376
31376
  return this.client.sendOperationRequest(args, spec);
31377
31377
  });
31378
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31378
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31379
31379
  var _a;
31380
31380
  let currentRawResponse = undefined;
31381
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
31381
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
31382
31382
  const callback = (rawResponse, flatResponse) => {
31383
31383
  currentRawResponse = rawResponse;
31384
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
31384
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
31385
31385
  };
31386
31386
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
31387
31387
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -31400,8 +31400,8 @@ class FeaturesetContainersImpl {
31400
31400
  spec: deleteOperationSpec$c,
31401
31401
  });
31402
31402
  const poller = yield coreLro.createHttpPoller(lro, {
31403
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
31404
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
31403
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
31404
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
31405
31405
  resourceLocationConfig: "location",
31406
31406
  });
31407
31407
  yield poller.poll();
@@ -31416,7 +31416,7 @@ class FeaturesetContainersImpl {
31416
31416
  * @param options The options parameters.
31417
31417
  */
31418
31418
  beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
31419
- return tslib.__awaiter(this, void 0, void 0, function* () {
31419
+ return tslib.__awaiter(this, undefined, undefined, function* () {
31420
31420
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
31421
31421
  return poller.pollUntilDone();
31422
31422
  });
@@ -31440,17 +31440,17 @@ class FeaturesetContainersImpl {
31440
31440
  * @param options The options parameters.
31441
31441
  */
31442
31442
  beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
31443
- return tslib.__awaiter(this, void 0, void 0, function* () {
31444
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31443
+ return tslib.__awaiter(this, undefined, undefined, function* () {
31444
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31445
31445
  return this.client.sendOperationRequest(args, spec);
31446
31446
  });
31447
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31447
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31448
31448
  var _a;
31449
31449
  let currentRawResponse = undefined;
31450
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
31450
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
31451
31451
  const callback = (rawResponse, flatResponse) => {
31452
31452
  currentRawResponse = rawResponse;
31453
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
31453
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
31454
31454
  };
31455
31455
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
31456
31456
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -31469,8 +31469,8 @@ class FeaturesetContainersImpl {
31469
31469
  spec: createOrUpdateOperationSpec$c,
31470
31470
  });
31471
31471
  const poller = yield coreLro.createHttpPoller(lro, {
31472
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
31473
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
31472
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
31473
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
31474
31474
  resourceLocationConfig: "original-uri",
31475
31475
  });
31476
31476
  yield poller.poll();
@@ -31486,7 +31486,7 @@ class FeaturesetContainersImpl {
31486
31486
  * @param options The options parameters.
31487
31487
  */
31488
31488
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
31489
- return tslib.__awaiter(this, void 0, void 0, function* () {
31489
+ return tslib.__awaiter(this, undefined, undefined, function* () {
31490
31490
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
31491
31491
  return poller.pollUntilDone();
31492
31492
  });
@@ -31669,7 +31669,7 @@ class FeaturesImpl {
31669
31669
  return this;
31670
31670
  },
31671
31671
  byPage: (settings) => {
31672
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
31672
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
31673
31673
  throw new Error("maxPageSize is not supported by this operation.");
31674
31674
  }
31675
31675
  return this.listPagingPage(resourceGroupName, workspaceName, featuresetName, featuresetVersion, options, settings);
@@ -31679,7 +31679,7 @@ class FeaturesImpl {
31679
31679
  listPagingPage(resourceGroupName, workspaceName, featuresetName, featuresetVersion, options, settings) {
31680
31680
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
31681
31681
  let result;
31682
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
31682
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
31683
31683
  if (!continuationToken) {
31684
31684
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, featuresetName, featuresetVersion, options));
31685
31685
  let page = result.value || [];
@@ -31887,7 +31887,7 @@ class FeaturesetVersionsImpl {
31887
31887
  return this;
31888
31888
  },
31889
31889
  byPage: (settings) => {
31890
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
31890
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
31891
31891
  throw new Error("maxPageSize is not supported by this operation.");
31892
31892
  }
31893
31893
  return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
@@ -31897,7 +31897,7 @@ class FeaturesetVersionsImpl {
31897
31897
  listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
31898
31898
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
31899
31899
  let result;
31900
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
31900
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
31901
31901
  if (!continuationToken) {
31902
31902
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
31903
31903
  let page = result.value || [];
@@ -31953,17 +31953,17 @@ class FeaturesetVersionsImpl {
31953
31953
  * @param options The options parameters.
31954
31954
  */
31955
31955
  beginDelete(resourceGroupName, workspaceName, name, version, options) {
31956
- return tslib.__awaiter(this, void 0, void 0, function* () {
31957
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31956
+ return tslib.__awaiter(this, undefined, undefined, function* () {
31957
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31958
31958
  return this.client.sendOperationRequest(args, spec);
31959
31959
  });
31960
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
31960
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
31961
31961
  var _a;
31962
31962
  let currentRawResponse = undefined;
31963
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
31963
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
31964
31964
  const callback = (rawResponse, flatResponse) => {
31965
31965
  currentRawResponse = rawResponse;
31966
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
31966
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
31967
31967
  };
31968
31968
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
31969
31969
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -31982,8 +31982,8 @@ class FeaturesetVersionsImpl {
31982
31982
  spec: deleteOperationSpec$b,
31983
31983
  });
31984
31984
  const poller = yield coreLro.createHttpPoller(lro, {
31985
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
31986
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
31985
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
31986
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
31987
31987
  resourceLocationConfig: "location",
31988
31988
  });
31989
31989
  yield poller.poll();
@@ -31999,7 +31999,7 @@ class FeaturesetVersionsImpl {
31999
31999
  * @param options The options parameters.
32000
32000
  */
32001
32001
  beginDeleteAndWait(resourceGroupName, workspaceName, name, version, options) {
32002
- return tslib.__awaiter(this, void 0, void 0, function* () {
32002
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32003
32003
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, version, options);
32004
32004
  return poller.pollUntilDone();
32005
32005
  });
@@ -32025,17 +32025,17 @@ class FeaturesetVersionsImpl {
32025
32025
  * @param options The options parameters.
32026
32026
  */
32027
32027
  beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options) {
32028
- return tslib.__awaiter(this, void 0, void 0, function* () {
32029
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32028
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32029
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32030
32030
  return this.client.sendOperationRequest(args, spec);
32031
32031
  });
32032
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32032
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32033
32033
  var _a;
32034
32034
  let currentRawResponse = undefined;
32035
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
32035
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
32036
32036
  const callback = (rawResponse, flatResponse) => {
32037
32037
  currentRawResponse = rawResponse;
32038
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
32038
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
32039
32039
  };
32040
32040
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
32041
32041
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -32054,8 +32054,8 @@ class FeaturesetVersionsImpl {
32054
32054
  spec: createOrUpdateOperationSpec$b,
32055
32055
  });
32056
32056
  const poller = yield coreLro.createHttpPoller(lro, {
32057
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
32058
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
32057
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
32058
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
32059
32059
  resourceLocationConfig: "original-uri",
32060
32060
  });
32061
32061
  yield poller.poll();
@@ -32072,7 +32072,7 @@ class FeaturesetVersionsImpl {
32072
32072
  * @param options The options parameters.
32073
32073
  */
32074
32074
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, version, body, options) {
32075
- return tslib.__awaiter(this, void 0, void 0, function* () {
32075
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32076
32076
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options);
32077
32077
  return poller.pollUntilDone();
32078
32078
  });
@@ -32087,17 +32087,17 @@ class FeaturesetVersionsImpl {
32087
32087
  * @param options The options parameters.
32088
32088
  */
32089
32089
  beginBackfill(resourceGroupName, workspaceName, name, version, body, options) {
32090
- return tslib.__awaiter(this, void 0, void 0, function* () {
32091
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32090
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32091
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32092
32092
  return this.client.sendOperationRequest(args, spec);
32093
32093
  });
32094
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32094
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32095
32095
  var _a;
32096
32096
  let currentRawResponse = undefined;
32097
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
32097
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
32098
32098
  const callback = (rawResponse, flatResponse) => {
32099
32099
  currentRawResponse = rawResponse;
32100
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
32100
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
32101
32101
  };
32102
32102
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
32103
32103
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -32116,8 +32116,8 @@ class FeaturesetVersionsImpl {
32116
32116
  spec: backfillOperationSpec,
32117
32117
  });
32118
32118
  const poller = yield coreLro.createHttpPoller(lro, {
32119
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
32120
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
32119
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
32120
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
32121
32121
  resourceLocationConfig: "location",
32122
32122
  });
32123
32123
  yield poller.poll();
@@ -32134,7 +32134,7 @@ class FeaturesetVersionsImpl {
32134
32134
  * @param options The options parameters.
32135
32135
  */
32136
32136
  beginBackfillAndWait(resourceGroupName, workspaceName, name, version, body, options) {
32137
- return tslib.__awaiter(this, void 0, void 0, function* () {
32137
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32138
32138
  const poller = yield this.beginBackfill(resourceGroupName, workspaceName, name, version, body, options);
32139
32139
  return poller.pollUntilDone();
32140
32140
  });
@@ -32357,7 +32357,7 @@ class FeaturestoreEntityContainersImpl {
32357
32357
  return this;
32358
32358
  },
32359
32359
  byPage: (settings) => {
32360
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
32360
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
32361
32361
  throw new Error("maxPageSize is not supported by this operation.");
32362
32362
  }
32363
32363
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -32367,7 +32367,7 @@ class FeaturestoreEntityContainersImpl {
32367
32367
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
32368
32368
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
32369
32369
  let result;
32370
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
32370
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
32371
32371
  if (!continuationToken) {
32372
32372
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
32373
32373
  let page = result.value || [];
@@ -32421,17 +32421,17 @@ class FeaturestoreEntityContainersImpl {
32421
32421
  * @param options The options parameters.
32422
32422
  */
32423
32423
  beginDelete(resourceGroupName, workspaceName, name, options) {
32424
- return tslib.__awaiter(this, void 0, void 0, function* () {
32425
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32424
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32425
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32426
32426
  return this.client.sendOperationRequest(args, spec);
32427
32427
  });
32428
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32428
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32429
32429
  var _a;
32430
32430
  let currentRawResponse = undefined;
32431
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
32431
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
32432
32432
  const callback = (rawResponse, flatResponse) => {
32433
32433
  currentRawResponse = rawResponse;
32434
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
32434
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
32435
32435
  };
32436
32436
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
32437
32437
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -32450,8 +32450,8 @@ class FeaturestoreEntityContainersImpl {
32450
32450
  spec: deleteOperationSpec$a,
32451
32451
  });
32452
32452
  const poller = yield coreLro.createHttpPoller(lro, {
32453
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
32454
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
32453
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
32454
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
32455
32455
  resourceLocationConfig: "location",
32456
32456
  });
32457
32457
  yield poller.poll();
@@ -32466,7 +32466,7 @@ class FeaturestoreEntityContainersImpl {
32466
32466
  * @param options The options parameters.
32467
32467
  */
32468
32468
  beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
32469
- return tslib.__awaiter(this, void 0, void 0, function* () {
32469
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32470
32470
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
32471
32471
  return poller.pollUntilDone();
32472
32472
  });
@@ -32490,17 +32490,17 @@ class FeaturestoreEntityContainersImpl {
32490
32490
  * @param options The options parameters.
32491
32491
  */
32492
32492
  beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
32493
- return tslib.__awaiter(this, void 0, void 0, function* () {
32494
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32493
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32494
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32495
32495
  return this.client.sendOperationRequest(args, spec);
32496
32496
  });
32497
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32497
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32498
32498
  var _a;
32499
32499
  let currentRawResponse = undefined;
32500
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
32500
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
32501
32501
  const callback = (rawResponse, flatResponse) => {
32502
32502
  currentRawResponse = rawResponse;
32503
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
32503
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
32504
32504
  };
32505
32505
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
32506
32506
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -32519,8 +32519,8 @@ class FeaturestoreEntityContainersImpl {
32519
32519
  spec: createOrUpdateOperationSpec$a,
32520
32520
  });
32521
32521
  const poller = yield coreLro.createHttpPoller(lro, {
32522
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
32523
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
32522
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
32523
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
32524
32524
  resourceLocationConfig: "original-uri",
32525
32525
  });
32526
32526
  yield poller.poll();
@@ -32536,7 +32536,7 @@ class FeaturestoreEntityContainersImpl {
32536
32536
  * @param options The options parameters.
32537
32537
  */
32538
32538
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
32539
- return tslib.__awaiter(this, void 0, void 0, function* () {
32539
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32540
32540
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
32541
32541
  return poller.pollUntilDone();
32542
32542
  });
@@ -32718,7 +32718,7 @@ class FeaturestoreEntityVersionsImpl {
32718
32718
  return this;
32719
32719
  },
32720
32720
  byPage: (settings) => {
32721
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
32721
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
32722
32722
  throw new Error("maxPageSize is not supported by this operation.");
32723
32723
  }
32724
32724
  return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
@@ -32728,7 +32728,7 @@ class FeaturestoreEntityVersionsImpl {
32728
32728
  listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
32729
32729
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
32730
32730
  let result;
32731
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
32731
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
32732
32732
  if (!continuationToken) {
32733
32733
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
32734
32734
  let page = result.value || [];
@@ -32784,17 +32784,17 @@ class FeaturestoreEntityVersionsImpl {
32784
32784
  * @param options The options parameters.
32785
32785
  */
32786
32786
  beginDelete(resourceGroupName, workspaceName, name, version, options) {
32787
- return tslib.__awaiter(this, void 0, void 0, function* () {
32788
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32787
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32788
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32789
32789
  return this.client.sendOperationRequest(args, spec);
32790
32790
  });
32791
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32791
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32792
32792
  var _a;
32793
32793
  let currentRawResponse = undefined;
32794
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
32794
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
32795
32795
  const callback = (rawResponse, flatResponse) => {
32796
32796
  currentRawResponse = rawResponse;
32797
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
32797
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
32798
32798
  };
32799
32799
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
32800
32800
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -32813,8 +32813,8 @@ class FeaturestoreEntityVersionsImpl {
32813
32813
  spec: deleteOperationSpec$9,
32814
32814
  });
32815
32815
  const poller = yield coreLro.createHttpPoller(lro, {
32816
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
32817
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
32816
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
32817
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
32818
32818
  resourceLocationConfig: "location",
32819
32819
  });
32820
32820
  yield poller.poll();
@@ -32830,7 +32830,7 @@ class FeaturestoreEntityVersionsImpl {
32830
32830
  * @param options The options parameters.
32831
32831
  */
32832
32832
  beginDeleteAndWait(resourceGroupName, workspaceName, name, version, options) {
32833
- return tslib.__awaiter(this, void 0, void 0, function* () {
32833
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32834
32834
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, version, options);
32835
32835
  return poller.pollUntilDone();
32836
32836
  });
@@ -32856,17 +32856,17 @@ class FeaturestoreEntityVersionsImpl {
32856
32856
  * @param options The options parameters.
32857
32857
  */
32858
32858
  beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options) {
32859
- return tslib.__awaiter(this, void 0, void 0, function* () {
32860
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32859
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32860
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32861
32861
  return this.client.sendOperationRequest(args, spec);
32862
32862
  });
32863
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
32863
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
32864
32864
  var _a;
32865
32865
  let currentRawResponse = undefined;
32866
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
32866
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
32867
32867
  const callback = (rawResponse, flatResponse) => {
32868
32868
  currentRawResponse = rawResponse;
32869
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
32869
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
32870
32870
  };
32871
32871
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
32872
32872
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -32885,8 +32885,8 @@ class FeaturestoreEntityVersionsImpl {
32885
32885
  spec: createOrUpdateOperationSpec$9,
32886
32886
  });
32887
32887
  const poller = yield coreLro.createHttpPoller(lro, {
32888
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
32889
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
32888
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
32889
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
32890
32890
  resourceLocationConfig: "original-uri",
32891
32891
  });
32892
32892
  yield poller.poll();
@@ -32903,7 +32903,7 @@ class FeaturestoreEntityVersionsImpl {
32903
32903
  * @param options The options parameters.
32904
32904
  */
32905
32905
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, version, body, options) {
32906
- return tslib.__awaiter(this, void 0, void 0, function* () {
32906
+ return tslib.__awaiter(this, undefined, undefined, function* () {
32907
32907
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options);
32908
32908
  return poller.pollUntilDone();
32909
32909
  });
@@ -33092,7 +33092,7 @@ class JobsImpl {
33092
33092
  return this;
33093
33093
  },
33094
33094
  byPage: (settings) => {
33095
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
33095
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
33096
33096
  throw new Error("maxPageSize is not supported by this operation.");
33097
33097
  }
33098
33098
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -33102,7 +33102,7 @@ class JobsImpl {
33102
33102
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
33103
33103
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
33104
33104
  let result;
33105
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
33105
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
33106
33106
  if (!continuationToken) {
33107
33107
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
33108
33108
  let page = result.value || [];
@@ -33156,17 +33156,17 @@ class JobsImpl {
33156
33156
  * @param options The options parameters.
33157
33157
  */
33158
33158
  beginDelete(resourceGroupName, workspaceName, id, options) {
33159
- return tslib.__awaiter(this, void 0, void 0, function* () {
33160
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33159
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33160
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33161
33161
  return this.client.sendOperationRequest(args, spec);
33162
33162
  });
33163
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33163
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33164
33164
  var _a;
33165
33165
  let currentRawResponse = undefined;
33166
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
33166
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
33167
33167
  const callback = (rawResponse, flatResponse) => {
33168
33168
  currentRawResponse = rawResponse;
33169
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
33169
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
33170
33170
  };
33171
33171
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
33172
33172
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -33185,8 +33185,8 @@ class JobsImpl {
33185
33185
  spec: deleteOperationSpec$8,
33186
33186
  });
33187
33187
  const poller = yield coreLro.createHttpPoller(lro, {
33188
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
33189
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
33188
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
33189
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
33190
33190
  resourceLocationConfig: "location",
33191
33191
  });
33192
33192
  yield poller.poll();
@@ -33201,7 +33201,7 @@ class JobsImpl {
33201
33201
  * @param options The options parameters.
33202
33202
  */
33203
33203
  beginDeleteAndWait(resourceGroupName, workspaceName, id, options) {
33204
- return tslib.__awaiter(this, void 0, void 0, function* () {
33204
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33205
33205
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, id, options);
33206
33206
  return poller.pollUntilDone();
33207
33207
  });
@@ -33236,17 +33236,17 @@ class JobsImpl {
33236
33236
  * @param options The options parameters.
33237
33237
  */
33238
33238
  beginCancel(resourceGroupName, workspaceName, id, options) {
33239
- return tslib.__awaiter(this, void 0, void 0, function* () {
33240
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33239
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33240
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33241
33241
  return this.client.sendOperationRequest(args, spec);
33242
33242
  });
33243
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33243
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33244
33244
  var _a;
33245
33245
  let currentRawResponse = undefined;
33246
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
33246
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
33247
33247
  const callback = (rawResponse, flatResponse) => {
33248
33248
  currentRawResponse = rawResponse;
33249
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
33249
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
33250
33250
  };
33251
33251
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
33252
33252
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -33265,8 +33265,8 @@ class JobsImpl {
33265
33265
  spec: cancelOperationSpec,
33266
33266
  });
33267
33267
  const poller = yield coreLro.createHttpPoller(lro, {
33268
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
33269
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
33268
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
33269
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
33270
33270
  resourceLocationConfig: "location",
33271
33271
  });
33272
33272
  yield poller.poll();
@@ -33281,7 +33281,7 @@ class JobsImpl {
33281
33281
  * @param options The options parameters.
33282
33282
  */
33283
33283
  beginCancelAndWait(resourceGroupName, workspaceName, id, options) {
33284
- return tslib.__awaiter(this, void 0, void 0, function* () {
33284
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33285
33285
  const poller = yield this.beginCancel(resourceGroupName, workspaceName, id, options);
33286
33286
  return poller.pollUntilDone();
33287
33287
  });
@@ -33477,7 +33477,7 @@ class MarketplaceSubscriptionsImpl {
33477
33477
  return this;
33478
33478
  },
33479
33479
  byPage: (settings) => {
33480
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
33480
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
33481
33481
  throw new Error("maxPageSize is not supported by this operation.");
33482
33482
  }
33483
33483
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -33487,7 +33487,7 @@ class MarketplaceSubscriptionsImpl {
33487
33487
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
33488
33488
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
33489
33489
  let result;
33490
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
33490
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
33491
33491
  if (!continuationToken) {
33492
33492
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
33493
33493
  let page = result.value || [];
@@ -33541,17 +33541,17 @@ class MarketplaceSubscriptionsImpl {
33541
33541
  * @param options The options parameters.
33542
33542
  */
33543
33543
  beginDelete(resourceGroupName, workspaceName, name, options) {
33544
- return tslib.__awaiter(this, void 0, void 0, function* () {
33545
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33544
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33545
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33546
33546
  return this.client.sendOperationRequest(args, spec);
33547
33547
  });
33548
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33548
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33549
33549
  var _a;
33550
33550
  let currentRawResponse = undefined;
33551
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
33551
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
33552
33552
  const callback = (rawResponse, flatResponse) => {
33553
33553
  currentRawResponse = rawResponse;
33554
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
33554
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
33555
33555
  };
33556
33556
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
33557
33557
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -33570,8 +33570,8 @@ class MarketplaceSubscriptionsImpl {
33570
33570
  spec: deleteOperationSpec$7,
33571
33571
  });
33572
33572
  const poller = yield coreLro.createHttpPoller(lro, {
33573
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
33574
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
33573
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
33574
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
33575
33575
  resourceLocationConfig: "location",
33576
33576
  });
33577
33577
  yield poller.poll();
@@ -33586,7 +33586,7 @@ class MarketplaceSubscriptionsImpl {
33586
33586
  * @param options The options parameters.
33587
33587
  */
33588
33588
  beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
33589
- return tslib.__awaiter(this, void 0, void 0, function* () {
33589
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33590
33590
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
33591
33591
  return poller.pollUntilDone();
33592
33592
  });
@@ -33610,17 +33610,17 @@ class MarketplaceSubscriptionsImpl {
33610
33610
  * @param options The options parameters.
33611
33611
  */
33612
33612
  beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
33613
- return tslib.__awaiter(this, void 0, void 0, function* () {
33614
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33613
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33614
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33615
33615
  return this.client.sendOperationRequest(args, spec);
33616
33616
  });
33617
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
33617
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
33618
33618
  var _a;
33619
33619
  let currentRawResponse = undefined;
33620
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
33620
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
33621
33621
  const callback = (rawResponse, flatResponse) => {
33622
33622
  currentRawResponse = rawResponse;
33623
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
33623
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
33624
33624
  };
33625
33625
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
33626
33626
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -33639,8 +33639,8 @@ class MarketplaceSubscriptionsImpl {
33639
33639
  spec: createOrUpdateOperationSpec$7,
33640
33640
  });
33641
33641
  const poller = yield coreLro.createHttpPoller(lro, {
33642
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
33643
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
33642
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
33643
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
33644
33644
  resourceLocationConfig: "original-uri",
33645
33645
  });
33646
33646
  yield poller.poll();
@@ -33656,7 +33656,7 @@ class MarketplaceSubscriptionsImpl {
33656
33656
  * @param options The options parameters.
33657
33657
  */
33658
33658
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
33659
- return tslib.__awaiter(this, void 0, void 0, function* () {
33659
+ return tslib.__awaiter(this, undefined, undefined, function* () {
33660
33660
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
33661
33661
  return poller.pollUntilDone();
33662
33662
  });
@@ -33836,7 +33836,7 @@ class ModelContainersImpl {
33836
33836
  return this;
33837
33837
  },
33838
33838
  byPage: (settings) => {
33839
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
33839
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
33840
33840
  throw new Error("maxPageSize is not supported by this operation.");
33841
33841
  }
33842
33842
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -33846,7 +33846,7 @@ class ModelContainersImpl {
33846
33846
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
33847
33847
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
33848
33848
  let result;
33849
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
33849
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
33850
33850
  if (!continuationToken) {
33851
33851
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
33852
33852
  let page = result.value || [];
@@ -34088,7 +34088,7 @@ class ModelVersionsImpl {
34088
34088
  return this;
34089
34089
  },
34090
34090
  byPage: (settings) => {
34091
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
34091
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
34092
34092
  throw new Error("maxPageSize is not supported by this operation.");
34093
34093
  }
34094
34094
  return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
@@ -34098,7 +34098,7 @@ class ModelVersionsImpl {
34098
34098
  listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
34099
34099
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
34100
34100
  let result;
34101
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
34101
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
34102
34102
  if (!continuationToken) {
34103
34103
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
34104
34104
  let page = result.value || [];
@@ -34189,17 +34189,17 @@ class ModelVersionsImpl {
34189
34189
  * @param options The options parameters.
34190
34190
  */
34191
34191
  beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
34192
- return tslib.__awaiter(this, void 0, void 0, function* () {
34193
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34192
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34193
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34194
34194
  return this.client.sendOperationRequest(args, spec);
34195
34195
  });
34196
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34196
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34197
34197
  var _a;
34198
34198
  let currentRawResponse = undefined;
34199
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
34199
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
34200
34200
  const callback = (rawResponse, flatResponse) => {
34201
34201
  currentRawResponse = rawResponse;
34202
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
34202
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
34203
34203
  };
34204
34204
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
34205
34205
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -34218,8 +34218,8 @@ class ModelVersionsImpl {
34218
34218
  spec: publishOperationSpec,
34219
34219
  });
34220
34220
  const poller = yield coreLro.createHttpPoller(lro, {
34221
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
34222
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
34221
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
34222
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
34223
34223
  resourceLocationConfig: "location",
34224
34224
  });
34225
34225
  yield poller.poll();
@@ -34236,7 +34236,7 @@ class ModelVersionsImpl {
34236
34236
  * @param options The options parameters.
34237
34237
  */
34238
34238
  beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
34239
- return tslib.__awaiter(this, void 0, void 0, function* () {
34239
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34240
34240
  const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
34241
34241
  return poller.pollUntilDone();
34242
34242
  });
@@ -34444,7 +34444,7 @@ class OnlineEndpointsImpl {
34444
34444
  return this;
34445
34445
  },
34446
34446
  byPage: (settings) => {
34447
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
34447
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
34448
34448
  throw new Error("maxPageSize is not supported by this operation.");
34449
34449
  }
34450
34450
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -34454,7 +34454,7 @@ class OnlineEndpointsImpl {
34454
34454
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
34455
34455
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
34456
34456
  let result;
34457
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
34457
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
34458
34458
  if (!continuationToken) {
34459
34459
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
34460
34460
  let page = result.value || [];
@@ -34508,17 +34508,17 @@ class OnlineEndpointsImpl {
34508
34508
  * @param options The options parameters.
34509
34509
  */
34510
34510
  beginDelete(resourceGroupName, workspaceName, endpointName, options) {
34511
- return tslib.__awaiter(this, void 0, void 0, function* () {
34512
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34511
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34512
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34513
34513
  return this.client.sendOperationRequest(args, spec);
34514
34514
  });
34515
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34515
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34516
34516
  var _a;
34517
34517
  let currentRawResponse = undefined;
34518
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
34518
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
34519
34519
  const callback = (rawResponse, flatResponse) => {
34520
34520
  currentRawResponse = rawResponse;
34521
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
34521
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
34522
34522
  };
34523
34523
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
34524
34524
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -34537,8 +34537,8 @@ class OnlineEndpointsImpl {
34537
34537
  spec: deleteOperationSpec$4,
34538
34538
  });
34539
34539
  const poller = yield coreLro.createHttpPoller(lro, {
34540
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
34541
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
34540
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
34541
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
34542
34542
  resourceLocationConfig: "location",
34543
34543
  });
34544
34544
  yield poller.poll();
@@ -34553,7 +34553,7 @@ class OnlineEndpointsImpl {
34553
34553
  * @param options The options parameters.
34554
34554
  */
34555
34555
  beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, options) {
34556
- return tslib.__awaiter(this, void 0, void 0, function* () {
34556
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34557
34557
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, options);
34558
34558
  return poller.pollUntilDone();
34559
34559
  });
@@ -34577,17 +34577,17 @@ class OnlineEndpointsImpl {
34577
34577
  * @param options The options parameters.
34578
34578
  */
34579
34579
  beginUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
34580
- return tslib.__awaiter(this, void 0, void 0, function* () {
34581
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34580
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34581
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34582
34582
  return this.client.sendOperationRequest(args, spec);
34583
34583
  });
34584
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34584
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34585
34585
  var _a;
34586
34586
  let currentRawResponse = undefined;
34587
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
34587
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
34588
34588
  const callback = (rawResponse, flatResponse) => {
34589
34589
  currentRawResponse = rawResponse;
34590
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
34590
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
34591
34591
  };
34592
34592
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
34593
34593
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -34606,8 +34606,8 @@ class OnlineEndpointsImpl {
34606
34606
  spec: updateOperationSpec$3,
34607
34607
  });
34608
34608
  const poller = yield coreLro.createHttpPoller(lro, {
34609
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
34610
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
34609
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
34610
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
34611
34611
  });
34612
34612
  yield poller.poll();
34613
34613
  return poller;
@@ -34622,7 +34622,7 @@ class OnlineEndpointsImpl {
34622
34622
  * @param options The options parameters.
34623
34623
  */
34624
34624
  beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
34625
- return tslib.__awaiter(this, void 0, void 0, function* () {
34625
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34626
34626
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, body, options);
34627
34627
  return poller.pollUntilDone();
34628
34628
  });
@@ -34636,17 +34636,17 @@ class OnlineEndpointsImpl {
34636
34636
  * @param options The options parameters.
34637
34637
  */
34638
34638
  beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
34639
- return tslib.__awaiter(this, void 0, void 0, function* () {
34640
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34639
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34640
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34641
34641
  return this.client.sendOperationRequest(args, spec);
34642
34642
  });
34643
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34643
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34644
34644
  var _a;
34645
34645
  let currentRawResponse = undefined;
34646
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
34646
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
34647
34647
  const callback = (rawResponse, flatResponse) => {
34648
34648
  currentRawResponse = rawResponse;
34649
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
34649
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
34650
34650
  };
34651
34651
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
34652
34652
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -34665,8 +34665,8 @@ class OnlineEndpointsImpl {
34665
34665
  spec: createOrUpdateOperationSpec$4,
34666
34666
  });
34667
34667
  const poller = yield coreLro.createHttpPoller(lro, {
34668
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
34669
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
34668
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
34669
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
34670
34670
  resourceLocationConfig: "original-uri",
34671
34671
  });
34672
34672
  yield poller.poll();
@@ -34682,7 +34682,7 @@ class OnlineEndpointsImpl {
34682
34682
  * @param options The options parameters.
34683
34683
  */
34684
34684
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
34685
- return tslib.__awaiter(this, void 0, void 0, function* () {
34685
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34686
34686
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options);
34687
34687
  return poller.pollUntilDone();
34688
34688
  });
@@ -34706,17 +34706,17 @@ class OnlineEndpointsImpl {
34706
34706
  * @param options The options parameters.
34707
34707
  */
34708
34708
  beginRegenerateKeys(resourceGroupName, workspaceName, endpointName, body, options) {
34709
- return tslib.__awaiter(this, void 0, void 0, function* () {
34710
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34709
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34710
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34711
34711
  return this.client.sendOperationRequest(args, spec);
34712
34712
  });
34713
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
34713
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
34714
34714
  var _a;
34715
34715
  let currentRawResponse = undefined;
34716
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
34716
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
34717
34717
  const callback = (rawResponse, flatResponse) => {
34718
34718
  currentRawResponse = rawResponse;
34719
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
34719
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
34720
34720
  };
34721
34721
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
34722
34722
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -34735,8 +34735,8 @@ class OnlineEndpointsImpl {
34735
34735
  spec: regenerateKeysOperationSpec$1,
34736
34736
  });
34737
34737
  const poller = yield coreLro.createHttpPoller(lro, {
34738
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
34739
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
34738
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
34739
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
34740
34740
  resourceLocationConfig: "location",
34741
34741
  });
34742
34742
  yield poller.poll();
@@ -34752,7 +34752,7 @@ class OnlineEndpointsImpl {
34752
34752
  * @param options The options parameters.
34753
34753
  */
34754
34754
  beginRegenerateKeysAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
34755
- return tslib.__awaiter(this, void 0, void 0, function* () {
34755
+ return tslib.__awaiter(this, undefined, undefined, function* () {
34756
34756
  const poller = yield this.beginRegenerateKeys(resourceGroupName, workspaceName, endpointName, body, options);
34757
34757
  return poller.pollUntilDone();
34758
34758
  });
@@ -35046,7 +35046,7 @@ class OnlineDeploymentsImpl {
35046
35046
  return this;
35047
35047
  },
35048
35048
  byPage: (settings) => {
35049
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
35049
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
35050
35050
  throw new Error("maxPageSize is not supported by this operation.");
35051
35051
  }
35052
35052
  return this.listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings);
@@ -35056,7 +35056,7 @@ class OnlineDeploymentsImpl {
35056
35056
  listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings) {
35057
35057
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
35058
35058
  let result;
35059
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
35059
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
35060
35060
  if (!continuationToken) {
35061
35061
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, endpointName, options));
35062
35062
  let page = result.value || [];
@@ -35111,7 +35111,7 @@ class OnlineDeploymentsImpl {
35111
35111
  return this;
35112
35112
  },
35113
35113
  byPage: (settings) => {
35114
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
35114
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
35115
35115
  throw new Error("maxPageSize is not supported by this operation.");
35116
35116
  }
35117
35117
  return this.listSkusPagingPage(resourceGroupName, workspaceName, endpointName, deploymentName, options, settings);
@@ -35121,7 +35121,7 @@ class OnlineDeploymentsImpl {
35121
35121
  listSkusPagingPage(resourceGroupName, workspaceName, endpointName, deploymentName, options, settings) {
35122
35122
  return tslib.__asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
35123
35123
  let result;
35124
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
35124
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
35125
35125
  if (!continuationToken) {
35126
35126
  result = yield tslib.__await(this._listSkus(resourceGroupName, workspaceName, endpointName, deploymentName, options));
35127
35127
  let page = result.value || [];
@@ -35177,17 +35177,17 @@ class OnlineDeploymentsImpl {
35177
35177
  * @param options The options parameters.
35178
35178
  */
35179
35179
  beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
35180
- return tslib.__awaiter(this, void 0, void 0, function* () {
35181
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35180
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35181
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35182
35182
  return this.client.sendOperationRequest(args, spec);
35183
35183
  });
35184
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35184
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35185
35185
  var _a;
35186
35186
  let currentRawResponse = undefined;
35187
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
35187
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
35188
35188
  const callback = (rawResponse, flatResponse) => {
35189
35189
  currentRawResponse = rawResponse;
35190
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
35190
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
35191
35191
  };
35192
35192
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
35193
35193
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -35212,8 +35212,8 @@ class OnlineDeploymentsImpl {
35212
35212
  spec: deleteOperationSpec$3,
35213
35213
  });
35214
35214
  const poller = yield coreLro.createHttpPoller(lro, {
35215
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
35216
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
35215
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
35216
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
35217
35217
  resourceLocationConfig: "location",
35218
35218
  });
35219
35219
  yield poller.poll();
@@ -35229,7 +35229,7 @@ class OnlineDeploymentsImpl {
35229
35229
  * @param options The options parameters.
35230
35230
  */
35231
35231
  beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
35232
- return tslib.__awaiter(this, void 0, void 0, function* () {
35232
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35233
35233
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options);
35234
35234
  return poller.pollUntilDone();
35235
35235
  });
@@ -35261,17 +35261,17 @@ class OnlineDeploymentsImpl {
35261
35261
  * @param options The options parameters.
35262
35262
  */
35263
35263
  beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
35264
- return tslib.__awaiter(this, void 0, void 0, function* () {
35265
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35264
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35265
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35266
35266
  return this.client.sendOperationRequest(args, spec);
35267
35267
  });
35268
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35268
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35269
35269
  var _a;
35270
35270
  let currentRawResponse = undefined;
35271
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
35271
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
35272
35272
  const callback = (rawResponse, flatResponse) => {
35273
35273
  currentRawResponse = rawResponse;
35274
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
35274
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
35275
35275
  };
35276
35276
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
35277
35277
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -35297,8 +35297,8 @@ class OnlineDeploymentsImpl {
35297
35297
  spec: updateOperationSpec$2,
35298
35298
  });
35299
35299
  const poller = yield coreLro.createHttpPoller(lro, {
35300
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
35301
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
35300
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
35301
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
35302
35302
  });
35303
35303
  yield poller.poll();
35304
35304
  return poller;
@@ -35314,7 +35314,7 @@ class OnlineDeploymentsImpl {
35314
35314
  * @param options The options parameters.
35315
35315
  */
35316
35316
  beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
35317
- return tslib.__awaiter(this, void 0, void 0, function* () {
35317
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35318
35318
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
35319
35319
  return poller.pollUntilDone();
35320
35320
  });
@@ -35329,17 +35329,17 @@ class OnlineDeploymentsImpl {
35329
35329
  * @param options The options parameters.
35330
35330
  */
35331
35331
  beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
35332
- return tslib.__awaiter(this, void 0, void 0, function* () {
35333
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35332
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35333
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35334
35334
  return this.client.sendOperationRequest(args, spec);
35335
35335
  });
35336
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35336
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35337
35337
  var _a;
35338
35338
  let currentRawResponse = undefined;
35339
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
35339
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
35340
35340
  const callback = (rawResponse, flatResponse) => {
35341
35341
  currentRawResponse = rawResponse;
35342
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
35342
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
35343
35343
  };
35344
35344
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
35345
35345
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -35365,8 +35365,8 @@ class OnlineDeploymentsImpl {
35365
35365
  spec: createOrUpdateOperationSpec$3,
35366
35366
  });
35367
35367
  const poller = yield coreLro.createHttpPoller(lro, {
35368
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
35369
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
35368
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
35369
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
35370
35370
  resourceLocationConfig: "original-uri",
35371
35371
  });
35372
35372
  yield poller.poll();
@@ -35383,7 +35383,7 @@ class OnlineDeploymentsImpl {
35383
35383
  * @param options The options parameters.
35384
35384
  */
35385
35385
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
35386
- return tslib.__awaiter(this, void 0, void 0, function* () {
35386
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35387
35387
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
35388
35388
  return poller.pollUntilDone();
35389
35389
  });
@@ -35726,7 +35726,7 @@ class SchedulesImpl {
35726
35726
  return this;
35727
35727
  },
35728
35728
  byPage: (settings) => {
35729
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
35729
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
35730
35730
  throw new Error("maxPageSize is not supported by this operation.");
35731
35731
  }
35732
35732
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -35736,7 +35736,7 @@ class SchedulesImpl {
35736
35736
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
35737
35737
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
35738
35738
  let result;
35739
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
35739
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
35740
35740
  if (!continuationToken) {
35741
35741
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
35742
35742
  let page = result.value || [];
@@ -35790,17 +35790,17 @@ class SchedulesImpl {
35790
35790
  * @param options The options parameters.
35791
35791
  */
35792
35792
  beginDelete(resourceGroupName, workspaceName, name, options) {
35793
- return tslib.__awaiter(this, void 0, void 0, function* () {
35794
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35793
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35794
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35795
35795
  return this.client.sendOperationRequest(args, spec);
35796
35796
  });
35797
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35797
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35798
35798
  var _a;
35799
35799
  let currentRawResponse = undefined;
35800
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
35800
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
35801
35801
  const callback = (rawResponse, flatResponse) => {
35802
35802
  currentRawResponse = rawResponse;
35803
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
35803
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
35804
35804
  };
35805
35805
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
35806
35806
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -35819,8 +35819,8 @@ class SchedulesImpl {
35819
35819
  spec: deleteOperationSpec$2,
35820
35820
  });
35821
35821
  const poller = yield coreLro.createHttpPoller(lro, {
35822
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
35823
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
35822
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
35823
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
35824
35824
  resourceLocationConfig: "location",
35825
35825
  });
35826
35826
  yield poller.poll();
@@ -35835,7 +35835,7 @@ class SchedulesImpl {
35835
35835
  * @param options The options parameters.
35836
35836
  */
35837
35837
  beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
35838
- return tslib.__awaiter(this, void 0, void 0, function* () {
35838
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35839
35839
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
35840
35840
  return poller.pollUntilDone();
35841
35841
  });
@@ -35859,17 +35859,17 @@ class SchedulesImpl {
35859
35859
  * @param options The options parameters.
35860
35860
  */
35861
35861
  beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
35862
- return tslib.__awaiter(this, void 0, void 0, function* () {
35863
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35862
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35863
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35864
35864
  return this.client.sendOperationRequest(args, spec);
35865
35865
  });
35866
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
35866
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
35867
35867
  var _a;
35868
35868
  let currentRawResponse = undefined;
35869
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
35869
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
35870
35870
  const callback = (rawResponse, flatResponse) => {
35871
35871
  currentRawResponse = rawResponse;
35872
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
35872
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
35873
35873
  };
35874
35874
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
35875
35875
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -35888,8 +35888,8 @@ class SchedulesImpl {
35888
35888
  spec: createOrUpdateOperationSpec$2,
35889
35889
  });
35890
35890
  const poller = yield coreLro.createHttpPoller(lro, {
35891
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
35892
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
35891
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
35892
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
35893
35893
  resourceLocationConfig: "original-uri",
35894
35894
  });
35895
35895
  yield poller.poll();
@@ -35905,7 +35905,7 @@ class SchedulesImpl {
35905
35905
  * @param options The options parameters.
35906
35906
  */
35907
35907
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
35908
- return tslib.__awaiter(this, void 0, void 0, function* () {
35908
+ return tslib.__awaiter(this, undefined, undefined, function* () {
35909
35909
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
35910
35910
  return poller.pollUntilDone();
35911
35911
  });
@@ -36081,7 +36081,7 @@ class ServerlessEndpointsImpl {
36081
36081
  return this;
36082
36082
  },
36083
36083
  byPage: (settings) => {
36084
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36084
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
36085
36085
  throw new Error("maxPageSize is not supported by this operation.");
36086
36086
  }
36087
36087
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -36091,7 +36091,7 @@ class ServerlessEndpointsImpl {
36091
36091
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
36092
36092
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
36093
36093
  let result;
36094
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
36094
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
36095
36095
  if (!continuationToken) {
36096
36096
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
36097
36097
  let page = result.value || [];
@@ -36145,17 +36145,17 @@ class ServerlessEndpointsImpl {
36145
36145
  * @param options The options parameters.
36146
36146
  */
36147
36147
  beginDelete(resourceGroupName, workspaceName, name, options) {
36148
- return tslib.__awaiter(this, void 0, void 0, function* () {
36149
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36148
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36149
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36150
36150
  return this.client.sendOperationRequest(args, spec);
36151
36151
  });
36152
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36152
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36153
36153
  var _a;
36154
36154
  let currentRawResponse = undefined;
36155
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
36155
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
36156
36156
  const callback = (rawResponse, flatResponse) => {
36157
36157
  currentRawResponse = rawResponse;
36158
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
36158
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
36159
36159
  };
36160
36160
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
36161
36161
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -36174,8 +36174,8 @@ class ServerlessEndpointsImpl {
36174
36174
  spec: deleteOperationSpec$1,
36175
36175
  });
36176
36176
  const poller = yield coreLro.createHttpPoller(lro, {
36177
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
36178
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
36177
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
36178
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
36179
36179
  resourceLocationConfig: "location",
36180
36180
  });
36181
36181
  yield poller.poll();
@@ -36190,7 +36190,7 @@ class ServerlessEndpointsImpl {
36190
36190
  * @param options The options parameters.
36191
36191
  */
36192
36192
  beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
36193
- return tslib.__awaiter(this, void 0, void 0, function* () {
36193
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36194
36194
  const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
36195
36195
  return poller.pollUntilDone();
36196
36196
  });
@@ -36214,17 +36214,17 @@ class ServerlessEndpointsImpl {
36214
36214
  * @param options The options parameters.
36215
36215
  */
36216
36216
  beginUpdate(resourceGroupName, workspaceName, name, body, options) {
36217
- return tslib.__awaiter(this, void 0, void 0, function* () {
36218
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36217
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36218
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36219
36219
  return this.client.sendOperationRequest(args, spec);
36220
36220
  });
36221
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36221
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36222
36222
  var _a;
36223
36223
  let currentRawResponse = undefined;
36224
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
36224
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
36225
36225
  const callback = (rawResponse, flatResponse) => {
36226
36226
  currentRawResponse = rawResponse;
36227
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
36227
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
36228
36228
  };
36229
36229
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
36230
36230
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -36243,8 +36243,8 @@ class ServerlessEndpointsImpl {
36243
36243
  spec: updateOperationSpec$1,
36244
36244
  });
36245
36245
  const poller = yield coreLro.createHttpPoller(lro, {
36246
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
36247
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
36246
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
36247
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
36248
36248
  });
36249
36249
  yield poller.poll();
36250
36250
  return poller;
@@ -36259,7 +36259,7 @@ class ServerlessEndpointsImpl {
36259
36259
  * @param options The options parameters.
36260
36260
  */
36261
36261
  beginUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
36262
- return tslib.__awaiter(this, void 0, void 0, function* () {
36262
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36263
36263
  const poller = yield this.beginUpdate(resourceGroupName, workspaceName, name, body, options);
36264
36264
  return poller.pollUntilDone();
36265
36265
  });
@@ -36273,17 +36273,17 @@ class ServerlessEndpointsImpl {
36273
36273
  * @param options The options parameters.
36274
36274
  */
36275
36275
  beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
36276
- return tslib.__awaiter(this, void 0, void 0, function* () {
36277
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36276
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36277
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36278
36278
  return this.client.sendOperationRequest(args, spec);
36279
36279
  });
36280
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36280
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36281
36281
  var _a;
36282
36282
  let currentRawResponse = undefined;
36283
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
36283
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
36284
36284
  const callback = (rawResponse, flatResponse) => {
36285
36285
  currentRawResponse = rawResponse;
36286
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
36286
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
36287
36287
  };
36288
36288
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
36289
36289
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -36302,8 +36302,8 @@ class ServerlessEndpointsImpl {
36302
36302
  spec: createOrUpdateOperationSpec$1,
36303
36303
  });
36304
36304
  const poller = yield coreLro.createHttpPoller(lro, {
36305
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
36306
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
36305
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
36306
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
36307
36307
  resourceLocationConfig: "original-uri",
36308
36308
  });
36309
36309
  yield poller.poll();
@@ -36319,7 +36319,7 @@ class ServerlessEndpointsImpl {
36319
36319
  * @param options The options parameters.
36320
36320
  */
36321
36321
  beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
36322
- return tslib.__awaiter(this, void 0, void 0, function* () {
36322
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36323
36323
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
36324
36324
  return poller.pollUntilDone();
36325
36325
  });
@@ -36343,17 +36343,17 @@ class ServerlessEndpointsImpl {
36343
36343
  * @param options The options parameters.
36344
36344
  */
36345
36345
  beginRegenerateKeys(resourceGroupName, workspaceName, name, body, options) {
36346
- return tslib.__awaiter(this, void 0, void 0, function* () {
36347
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36346
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36347
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36348
36348
  return this.client.sendOperationRequest(args, spec);
36349
36349
  });
36350
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36350
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36351
36351
  var _a;
36352
36352
  let currentRawResponse = undefined;
36353
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
36353
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
36354
36354
  const callback = (rawResponse, flatResponse) => {
36355
36355
  currentRawResponse = rawResponse;
36356
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
36356
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
36357
36357
  };
36358
36358
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
36359
36359
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -36372,8 +36372,8 @@ class ServerlessEndpointsImpl {
36372
36372
  spec: regenerateKeysOperationSpec,
36373
36373
  });
36374
36374
  const poller = yield coreLro.createHttpPoller(lro, {
36375
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
36376
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
36375
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
36376
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
36377
36377
  resourceLocationConfig: "location",
36378
36378
  });
36379
36379
  yield poller.poll();
@@ -36389,7 +36389,7 @@ class ServerlessEndpointsImpl {
36389
36389
  * @param options The options parameters.
36390
36390
  */
36391
36391
  beginRegenerateKeysAndWait(resourceGroupName, workspaceName, name, body, options) {
36392
- return tslib.__awaiter(this, void 0, void 0, function* () {
36392
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36393
36393
  const poller = yield this.beginRegenerateKeys(resourceGroupName, workspaceName, name, body, options);
36394
36394
  return poller.pollUntilDone();
36395
36395
  });
@@ -36655,7 +36655,7 @@ class RegistriesImpl {
36655
36655
  return this;
36656
36656
  },
36657
36657
  byPage: (settings) => {
36658
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36658
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
36659
36659
  throw new Error("maxPageSize is not supported by this operation.");
36660
36660
  }
36661
36661
  return this.listBySubscriptionPagingPage(options, settings);
@@ -36665,7 +36665,7 @@ class RegistriesImpl {
36665
36665
  listBySubscriptionPagingPage(options, settings) {
36666
36666
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
36667
36667
  let result;
36668
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
36668
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
36669
36669
  if (!continuationToken) {
36670
36670
  result = yield tslib.__await(this._listBySubscription(options));
36671
36671
  let page = result.value || [];
@@ -36717,7 +36717,7 @@ class RegistriesImpl {
36717
36717
  return this;
36718
36718
  },
36719
36719
  byPage: (settings) => {
36720
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
36720
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
36721
36721
  throw new Error("maxPageSize is not supported by this operation.");
36722
36722
  }
36723
36723
  return this.listPagingPage(resourceGroupName, options, settings);
@@ -36727,7 +36727,7 @@ class RegistriesImpl {
36727
36727
  listPagingPage(resourceGroupName, options, settings) {
36728
36728
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
36729
36729
  let result;
36730
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
36730
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
36731
36731
  if (!continuationToken) {
36732
36732
  result = yield tslib.__await(this._list(resourceGroupName, options));
36733
36733
  let page = result.value || [];
@@ -36786,17 +36786,17 @@ class RegistriesImpl {
36786
36786
  * @param options The options parameters.
36787
36787
  */
36788
36788
  beginDelete(resourceGroupName, registryName, options) {
36789
- return tslib.__awaiter(this, void 0, void 0, function* () {
36790
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36789
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36790
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36791
36791
  return this.client.sendOperationRequest(args, spec);
36792
36792
  });
36793
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36793
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36794
36794
  var _a;
36795
36795
  let currentRawResponse = undefined;
36796
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
36796
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
36797
36797
  const callback = (rawResponse, flatResponse) => {
36798
36798
  currentRawResponse = rawResponse;
36799
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
36799
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
36800
36800
  };
36801
36801
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
36802
36802
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -36815,8 +36815,8 @@ class RegistriesImpl {
36815
36815
  spec: deleteOperationSpec,
36816
36816
  });
36817
36817
  const poller = yield coreLro.createHttpPoller(lro, {
36818
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
36819
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
36818
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
36819
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
36820
36820
  resourceLocationConfig: "location",
36821
36821
  });
36822
36822
  yield poller.poll();
@@ -36830,7 +36830,7 @@ class RegistriesImpl {
36830
36830
  * @param options The options parameters.
36831
36831
  */
36832
36832
  beginDeleteAndWait(resourceGroupName, registryName, options) {
36833
- return tslib.__awaiter(this, void 0, void 0, function* () {
36833
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36834
36834
  const poller = yield this.beginDelete(resourceGroupName, registryName, options);
36835
36835
  return poller.pollUntilDone();
36836
36836
  });
@@ -36862,17 +36862,17 @@ class RegistriesImpl {
36862
36862
  * @param options The options parameters.
36863
36863
  */
36864
36864
  beginCreateOrUpdate(resourceGroupName, registryName, body, options) {
36865
- return tslib.__awaiter(this, void 0, void 0, function* () {
36866
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36865
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36866
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36867
36867
  return this.client.sendOperationRequest(args, spec);
36868
36868
  });
36869
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36869
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36870
36870
  var _a;
36871
36871
  let currentRawResponse = undefined;
36872
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
36872
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
36873
36873
  const callback = (rawResponse, flatResponse) => {
36874
36874
  currentRawResponse = rawResponse;
36875
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
36875
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
36876
36876
  };
36877
36877
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
36878
36878
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -36891,8 +36891,8 @@ class RegistriesImpl {
36891
36891
  spec: createOrUpdateOperationSpec,
36892
36892
  });
36893
36893
  const poller = yield coreLro.createHttpPoller(lro, {
36894
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
36895
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
36894
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
36895
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
36896
36896
  resourceLocationConfig: "azure-async-operation",
36897
36897
  });
36898
36898
  yield poller.poll();
@@ -36907,7 +36907,7 @@ class RegistriesImpl {
36907
36907
  * @param options The options parameters.
36908
36908
  */
36909
36909
  beginCreateOrUpdateAndWait(resourceGroupName, registryName, body, options) {
36910
- return tslib.__awaiter(this, void 0, void 0, function* () {
36910
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36911
36911
  const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, body, options);
36912
36912
  return poller.pollUntilDone();
36913
36913
  });
@@ -36920,17 +36920,17 @@ class RegistriesImpl {
36920
36920
  * @param options The options parameters.
36921
36921
  */
36922
36922
  beginRemoveRegions(resourceGroupName, registryName, body, options) {
36923
- return tslib.__awaiter(this, void 0, void 0, function* () {
36924
- const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36923
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36924
+ const directSendOperation = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36925
36925
  return this.client.sendOperationRequest(args, spec);
36926
36926
  });
36927
- const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
36927
+ const sendOperationFn = (args, spec) => tslib.__awaiter(this, undefined, undefined, function* () {
36928
36928
  var _a;
36929
36929
  let currentRawResponse = undefined;
36930
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
36930
+ const providedCallback = (_a = args.options) === null || _a === undefined ? undefined : _a.onResponse;
36931
36931
  const callback = (rawResponse, flatResponse) => {
36932
36932
  currentRawResponse = rawResponse;
36933
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
36933
+ providedCallback === null || providedCallback === undefined ? undefined : providedCallback(rawResponse, flatResponse);
36934
36934
  };
36935
36935
  const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
36936
36936
  const flatResponse = yield directSendOperation(updatedArgs, spec);
@@ -36949,8 +36949,8 @@ class RegistriesImpl {
36949
36949
  spec: removeRegionsOperationSpec,
36950
36950
  });
36951
36951
  const poller = yield coreLro.createHttpPoller(lro, {
36952
- restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
36953
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
36952
+ restoreFrom: options === null || options === undefined ? undefined : options.resumeFrom,
36953
+ intervalInMs: options === null || options === undefined ? undefined : options.updateIntervalInMs,
36954
36954
  resourceLocationConfig: "location",
36955
36955
  });
36956
36956
  yield poller.poll();
@@ -36965,7 +36965,7 @@ class RegistriesImpl {
36965
36965
  * @param options The options parameters.
36966
36966
  */
36967
36967
  beginRemoveRegionsAndWait(resourceGroupName, registryName, body, options) {
36968
- return tslib.__awaiter(this, void 0, void 0, function* () {
36968
+ return tslib.__awaiter(this, undefined, undefined, function* () {
36969
36969
  const poller = yield this.beginRemoveRegions(resourceGroupName, registryName, body, options);
36970
36970
  return poller.pollUntilDone();
36971
36971
  });
@@ -37229,7 +37229,7 @@ class WorkspaceFeaturesImpl {
37229
37229
  return this;
37230
37230
  },
37231
37231
  byPage: (settings) => {
37232
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
37232
+ if (settings === null || settings === undefined ? undefined : settings.maxPageSize) {
37233
37233
  throw new Error("maxPageSize is not supported by this operation.");
37234
37234
  }
37235
37235
  return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
@@ -37239,7 +37239,7 @@ class WorkspaceFeaturesImpl {
37239
37239
  listPagingPage(resourceGroupName, workspaceName, options, settings) {
37240
37240
  return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
37241
37241
  let result;
37242
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
37242
+ let continuationToken = settings === null || settings === undefined ? undefined : settings.continuationToken;
37243
37243
  if (!continuationToken) {
37244
37244
  result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
37245
37245
  let page = result.value || [];
@@ -37377,10 +37377,10 @@ class AzureMachineLearningServicesManagementClient extends coreClient__namespace
37377
37377
  : `${packageDetails}`;
37378
37378
  const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
37379
37379
  userAgentPrefix,
37380
- }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
37380
+ }, endpoint: (_b = (_a = options.endpoint) !== null && _a !== undefined ? _a : options.baseUri) !== null && _b !== undefined ? _b : "https://management.azure.com" });
37381
37381
  super(optionsWithDefaults);
37382
37382
  let bearerTokenAuthenticationPolicyFound = false;
37383
- if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
37383
+ if ((options === null || options === undefined ? undefined : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
37384
37384
  const pipelinePolicies = options.pipeline.getOrderedPolicies();
37385
37385
  bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
37386
37386
  coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
@@ -37394,7 +37394,7 @@ class AzureMachineLearningServicesManagementClient extends coreClient__namespace
37394
37394
  });
37395
37395
  this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
37396
37396
  credential: credentials,
37397
- scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
37397
+ scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== undefined ? _c : `${optionsWithDefaults.endpoint}/.default`,
37398
37398
  challengeCallbacks: {
37399
37399
  authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
37400
37400
  },
@@ -37463,7 +37463,7 @@ class AzureMachineLearningServicesManagementClient extends coreClient__namespace
37463
37463
  const apiVersionPolicy = {
37464
37464
  name: "CustomApiVersionPolicy",
37465
37465
  sendRequest(request, next) {
37466
- return tslib.__awaiter(this, void 0, void 0, function* () {
37466
+ return tslib.__awaiter(this, undefined, undefined, function* () {
37467
37467
  const param = request.url.split("?");
37468
37468
  if (param.length > 1) {
37469
37469
  const newParams = param[1].split("&").map((item) => {