@azure/arm-machinelearning 3.0.0-alpha.20250207.1 → 3.0.0-alpha.20250210.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +701 -701
- package/dist/index.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -47,14 +47,14 @@ function getContinuationToken(page) {
|
|
|
47
47
|
if (typeof page !== "object" || page === null) {
|
|
48
48
|
return undefined;
|
|
49
49
|
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a ===
|
|
50
|
+
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
51
|
}
|
|
52
52
|
function setContinuationToken(page, continuationToken) {
|
|
53
53
|
var _a;
|
|
54
54
|
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !==
|
|
57
|
+
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
58
|
pageInfo.continuationToken = continuationToken;
|
|
59
59
|
pageMap.set(page, pageInfo);
|
|
60
60
|
}
|
|
@@ -20499,7 +20499,7 @@ class OperationsImpl {
|
|
|
20499
20499
|
return this;
|
|
20500
20500
|
},
|
|
20501
20501
|
byPage: (settings) => {
|
|
20502
|
-
if (settings === null || settings ===
|
|
20502
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
20503
20503
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
20504
20504
|
}
|
|
20505
20505
|
return this.listPagingPage(options, settings);
|
|
@@ -20568,7 +20568,7 @@ function createLroSpec(inputs) {
|
|
|
20568
20568
|
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
20569
20569
|
sendPollRequest: (path, options) => {
|
|
20570
20570
|
const { requestBody } = spec, restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
20571
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options ===
|
|
20571
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
20572
20572
|
},
|
|
20573
20573
|
};
|
|
20574
20574
|
}
|
|
@@ -20605,7 +20605,7 @@ class WorkspacesImpl {
|
|
|
20605
20605
|
return this;
|
|
20606
20606
|
},
|
|
20607
20607
|
byPage: (settings) => {
|
|
20608
|
-
if (settings === null || settings ===
|
|
20608
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
20609
20609
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
20610
20610
|
}
|
|
20611
20611
|
return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
@@ -20615,7 +20615,7 @@ class WorkspacesImpl {
|
|
|
20615
20615
|
listByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
20616
20616
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
|
|
20617
20617
|
let result;
|
|
20618
|
-
let continuationToken = settings === null || settings ===
|
|
20618
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
20619
20619
|
if (!continuationToken) {
|
|
20620
20620
|
result = yield tslib.__await(this._listByResourceGroup(resourceGroupName, options));
|
|
20621
20621
|
let page = result.value || [];
|
|
@@ -20666,7 +20666,7 @@ class WorkspacesImpl {
|
|
|
20666
20666
|
return this;
|
|
20667
20667
|
},
|
|
20668
20668
|
byPage: (settings) => {
|
|
20669
|
-
if (settings === null || settings ===
|
|
20669
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
20670
20670
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
20671
20671
|
}
|
|
20672
20672
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
@@ -20676,7 +20676,7 @@ class WorkspacesImpl {
|
|
|
20676
20676
|
listBySubscriptionPagingPage(options, settings) {
|
|
20677
20677
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
20678
20678
|
let result;
|
|
20679
|
-
let continuationToken = settings === null || settings ===
|
|
20679
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
20680
20680
|
if (!continuationToken) {
|
|
20681
20681
|
result = yield tslib.__await(this._listBySubscription(options));
|
|
20682
20682
|
let page = result.value || [];
|
|
@@ -20730,17 +20730,17 @@ class WorkspacesImpl {
|
|
|
20730
20730
|
* @param options The options parameters.
|
|
20731
20731
|
*/
|
|
20732
20732
|
beginCreateOrUpdate(resourceGroupName, workspaceName, parameters, options) {
|
|
20733
|
-
return tslib.__awaiter(this,
|
|
20734
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
20733
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20734
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20735
20735
|
return this.client.sendOperationRequest(args, spec);
|
|
20736
20736
|
});
|
|
20737
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
20737
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20738
20738
|
var _a;
|
|
20739
20739
|
let currentRawResponse = undefined;
|
|
20740
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
20740
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
20741
20741
|
const callback = (rawResponse, flatResponse) => {
|
|
20742
20742
|
currentRawResponse = rawResponse;
|
|
20743
|
-
providedCallback === null || providedCallback ===
|
|
20743
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
20744
20744
|
};
|
|
20745
20745
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
20746
20746
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -20759,8 +20759,8 @@ class WorkspacesImpl {
|
|
|
20759
20759
|
spec: createOrUpdateOperationSpec$B,
|
|
20760
20760
|
});
|
|
20761
20761
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
20762
|
-
restoreFrom: options === null || options ===
|
|
20763
|
-
intervalInMs: options === null || options ===
|
|
20762
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
20763
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
20764
20764
|
});
|
|
20765
20765
|
yield poller.poll();
|
|
20766
20766
|
return poller;
|
|
@@ -20774,7 +20774,7 @@ class WorkspacesImpl {
|
|
|
20774
20774
|
* @param options The options parameters.
|
|
20775
20775
|
*/
|
|
20776
20776
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, parameters, options) {
|
|
20777
|
-
return tslib.__awaiter(this,
|
|
20777
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20778
20778
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, parameters, options);
|
|
20779
20779
|
return poller.pollUntilDone();
|
|
20780
20780
|
});
|
|
@@ -20786,17 +20786,17 @@ class WorkspacesImpl {
|
|
|
20786
20786
|
* @param options The options parameters.
|
|
20787
20787
|
*/
|
|
20788
20788
|
beginDelete(resourceGroupName, workspaceName, options) {
|
|
20789
|
-
return tslib.__awaiter(this,
|
|
20790
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
20789
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20790
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20791
20791
|
return this.client.sendOperationRequest(args, spec);
|
|
20792
20792
|
});
|
|
20793
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
20793
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20794
20794
|
var _a;
|
|
20795
20795
|
let currentRawResponse = undefined;
|
|
20796
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
20796
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
20797
20797
|
const callback = (rawResponse, flatResponse) => {
|
|
20798
20798
|
currentRawResponse = rawResponse;
|
|
20799
|
-
providedCallback === null || providedCallback ===
|
|
20799
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
20800
20800
|
};
|
|
20801
20801
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
20802
20802
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -20815,8 +20815,8 @@ class WorkspacesImpl {
|
|
|
20815
20815
|
spec: deleteOperationSpec$C,
|
|
20816
20816
|
});
|
|
20817
20817
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
20818
|
-
restoreFrom: options === null || options ===
|
|
20819
|
-
intervalInMs: options === null || options ===
|
|
20818
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
20819
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
20820
20820
|
});
|
|
20821
20821
|
yield poller.poll();
|
|
20822
20822
|
return poller;
|
|
@@ -20829,7 +20829,7 @@ class WorkspacesImpl {
|
|
|
20829
20829
|
* @param options The options parameters.
|
|
20830
20830
|
*/
|
|
20831
20831
|
beginDeleteAndWait(resourceGroupName, workspaceName, options) {
|
|
20832
|
-
return tslib.__awaiter(this,
|
|
20832
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20833
20833
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, options);
|
|
20834
20834
|
return poller.pollUntilDone();
|
|
20835
20835
|
});
|
|
@@ -20842,17 +20842,17 @@ class WorkspacesImpl {
|
|
|
20842
20842
|
* @param options The options parameters.
|
|
20843
20843
|
*/
|
|
20844
20844
|
beginUpdate(resourceGroupName, workspaceName, parameters, options) {
|
|
20845
|
-
return tslib.__awaiter(this,
|
|
20846
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
20845
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20846
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20847
20847
|
return this.client.sendOperationRequest(args, spec);
|
|
20848
20848
|
});
|
|
20849
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
20849
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20850
20850
|
var _a;
|
|
20851
20851
|
let currentRawResponse = undefined;
|
|
20852
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
20852
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
20853
20853
|
const callback = (rawResponse, flatResponse) => {
|
|
20854
20854
|
currentRawResponse = rawResponse;
|
|
20855
|
-
providedCallback === null || providedCallback ===
|
|
20855
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
20856
20856
|
};
|
|
20857
20857
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
20858
20858
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -20871,8 +20871,8 @@ class WorkspacesImpl {
|
|
|
20871
20871
|
spec: updateOperationSpec$8,
|
|
20872
20872
|
});
|
|
20873
20873
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
20874
|
-
restoreFrom: options === null || options ===
|
|
20875
|
-
intervalInMs: options === null || options ===
|
|
20874
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
20875
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
20876
20876
|
});
|
|
20877
20877
|
yield poller.poll();
|
|
20878
20878
|
return poller;
|
|
@@ -20886,7 +20886,7 @@ class WorkspacesImpl {
|
|
|
20886
20886
|
* @param options The options parameters.
|
|
20887
20887
|
*/
|
|
20888
20888
|
beginUpdateAndWait(resourceGroupName, workspaceName, parameters, options) {
|
|
20889
|
-
return tslib.__awaiter(this,
|
|
20889
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20890
20890
|
const poller = yield this.beginUpdate(resourceGroupName, workspaceName, parameters, options);
|
|
20891
20891
|
return poller.pollUntilDone();
|
|
20892
20892
|
});
|
|
@@ -20906,17 +20906,17 @@ class WorkspacesImpl {
|
|
|
20906
20906
|
* @param options The options parameters.
|
|
20907
20907
|
*/
|
|
20908
20908
|
beginDiagnose(resourceGroupName, workspaceName, options) {
|
|
20909
|
-
return tslib.__awaiter(this,
|
|
20910
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
20909
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20910
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20911
20911
|
return this.client.sendOperationRequest(args, spec);
|
|
20912
20912
|
});
|
|
20913
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
20913
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20914
20914
|
var _a;
|
|
20915
20915
|
let currentRawResponse = undefined;
|
|
20916
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
20916
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
20917
20917
|
const callback = (rawResponse, flatResponse) => {
|
|
20918
20918
|
currentRawResponse = rawResponse;
|
|
20919
|
-
providedCallback === null || providedCallback ===
|
|
20919
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
20920
20920
|
};
|
|
20921
20921
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
20922
20922
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -20935,8 +20935,8 @@ class WorkspacesImpl {
|
|
|
20935
20935
|
spec: diagnoseOperationSpec,
|
|
20936
20936
|
});
|
|
20937
20937
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
20938
|
-
restoreFrom: options === null || options ===
|
|
20939
|
-
intervalInMs: options === null || options ===
|
|
20938
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
20939
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
20940
20940
|
resourceLocationConfig: "location",
|
|
20941
20941
|
});
|
|
20942
20942
|
yield poller.poll();
|
|
@@ -20950,7 +20950,7 @@ class WorkspacesImpl {
|
|
|
20950
20950
|
* @param options The options parameters.
|
|
20951
20951
|
*/
|
|
20952
20952
|
beginDiagnoseAndWait(resourceGroupName, workspaceName, options) {
|
|
20953
|
-
return tslib.__awaiter(this,
|
|
20953
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20954
20954
|
const poller = yield this.beginDiagnose(resourceGroupName, workspaceName, options);
|
|
20955
20955
|
return poller.pollUntilDone();
|
|
20956
20956
|
});
|
|
@@ -20973,17 +20973,17 @@ class WorkspacesImpl {
|
|
|
20973
20973
|
* @param options The options parameters.
|
|
20974
20974
|
*/
|
|
20975
20975
|
beginResyncKeys(resourceGroupName, workspaceName, options) {
|
|
20976
|
-
return tslib.__awaiter(this,
|
|
20977
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
20976
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20977
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20978
20978
|
return this.client.sendOperationRequest(args, spec);
|
|
20979
20979
|
});
|
|
20980
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
20980
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
20981
20981
|
var _a;
|
|
20982
20982
|
let currentRawResponse = undefined;
|
|
20983
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
20983
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
20984
20984
|
const callback = (rawResponse, flatResponse) => {
|
|
20985
20985
|
currentRawResponse = rawResponse;
|
|
20986
|
-
providedCallback === null || providedCallback ===
|
|
20986
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
20987
20987
|
};
|
|
20988
20988
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
20989
20989
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -21002,8 +21002,8 @@ class WorkspacesImpl {
|
|
|
21002
21002
|
spec: resyncKeysOperationSpec,
|
|
21003
21003
|
});
|
|
21004
21004
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
21005
|
-
restoreFrom: options === null || options ===
|
|
21006
|
-
intervalInMs: options === null || options ===
|
|
21005
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
21006
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
21007
21007
|
});
|
|
21008
21008
|
yield poller.poll();
|
|
21009
21009
|
return poller;
|
|
@@ -21017,7 +21017,7 @@ class WorkspacesImpl {
|
|
|
21017
21017
|
* @param options The options parameters.
|
|
21018
21018
|
*/
|
|
21019
21019
|
beginResyncKeysAndWait(resourceGroupName, workspaceName, options) {
|
|
21020
|
-
return tslib.__awaiter(this,
|
|
21020
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
21021
21021
|
const poller = yield this.beginResyncKeys(resourceGroupName, workspaceName, options);
|
|
21022
21022
|
return poller.pollUntilDone();
|
|
21023
21023
|
});
|
|
@@ -21045,17 +21045,17 @@ class WorkspacesImpl {
|
|
|
21045
21045
|
* @param options The options parameters.
|
|
21046
21046
|
*/
|
|
21047
21047
|
beginPrepareNotebook(resourceGroupName, workspaceName, options) {
|
|
21048
|
-
return tslib.__awaiter(this,
|
|
21049
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
21048
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
21049
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
21050
21050
|
return this.client.sendOperationRequest(args, spec);
|
|
21051
21051
|
});
|
|
21052
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
21052
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
21053
21053
|
var _a;
|
|
21054
21054
|
let currentRawResponse = undefined;
|
|
21055
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
21055
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
21056
21056
|
const callback = (rawResponse, flatResponse) => {
|
|
21057
21057
|
currentRawResponse = rawResponse;
|
|
21058
|
-
providedCallback === null || providedCallback ===
|
|
21058
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
21059
21059
|
};
|
|
21060
21060
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
21061
21061
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -21074,8 +21074,8 @@ class WorkspacesImpl {
|
|
|
21074
21074
|
spec: prepareNotebookOperationSpec,
|
|
21075
21075
|
});
|
|
21076
21076
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
21077
|
-
restoreFrom: options === null || options ===
|
|
21078
|
-
intervalInMs: options === null || options ===
|
|
21077
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
21078
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
21079
21079
|
resourceLocationConfig: "location",
|
|
21080
21080
|
});
|
|
21081
21081
|
yield poller.poll();
|
|
@@ -21089,7 +21089,7 @@ class WorkspacesImpl {
|
|
|
21089
21089
|
* @param options The options parameters.
|
|
21090
21090
|
*/
|
|
21091
21091
|
beginPrepareNotebookAndWait(resourceGroupName, workspaceName, options) {
|
|
21092
|
-
return tslib.__awaiter(this,
|
|
21092
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
21093
21093
|
const poller = yield this.beginPrepareNotebook(resourceGroupName, workspaceName, options);
|
|
21094
21094
|
return poller.pollUntilDone();
|
|
21095
21095
|
});
|
|
@@ -21547,7 +21547,7 @@ class UsagesImpl {
|
|
|
21547
21547
|
return this;
|
|
21548
21548
|
},
|
|
21549
21549
|
byPage: (settings) => {
|
|
21550
|
-
if (settings === null || settings ===
|
|
21550
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
21551
21551
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
21552
21552
|
}
|
|
21553
21553
|
return this.listPagingPage(location, options, settings);
|
|
@@ -21557,7 +21557,7 @@ class UsagesImpl {
|
|
|
21557
21557
|
listPagingPage(location, options, settings) {
|
|
21558
21558
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21559
21559
|
let result;
|
|
21560
|
-
let continuationToken = settings === null || settings ===
|
|
21560
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
21561
21561
|
if (!continuationToken) {
|
|
21562
21562
|
result = yield tslib.__await(this._list(location, options));
|
|
21563
21563
|
let page = result.value || [];
|
|
@@ -21736,7 +21736,7 @@ class QuotasImpl {
|
|
|
21736
21736
|
return this;
|
|
21737
21737
|
},
|
|
21738
21738
|
byPage: (settings) => {
|
|
21739
|
-
if (settings === null || settings ===
|
|
21739
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
21740
21740
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
21741
21741
|
}
|
|
21742
21742
|
return this.listPagingPage(location, options, settings);
|
|
@@ -21746,7 +21746,7 @@ class QuotasImpl {
|
|
|
21746
21746
|
listPagingPage(location, options, settings) {
|
|
21747
21747
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21748
21748
|
let result;
|
|
21749
|
-
let continuationToken = settings === null || settings ===
|
|
21749
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
21750
21750
|
if (!continuationToken) {
|
|
21751
21751
|
result = yield tslib.__await(this._list(location, options));
|
|
21752
21752
|
let page = result.value || [];
|
|
@@ -21908,7 +21908,7 @@ class ComputeOperationsImpl {
|
|
|
21908
21908
|
return this;
|
|
21909
21909
|
},
|
|
21910
21910
|
byPage: (settings) => {
|
|
21911
|
-
if (settings === null || settings ===
|
|
21911
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
21912
21912
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
21913
21913
|
}
|
|
21914
21914
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -21918,7 +21918,7 @@ class ComputeOperationsImpl {
|
|
|
21918
21918
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
21919
21919
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
21920
21920
|
let result;
|
|
21921
|
-
let continuationToken = settings === null || settings ===
|
|
21921
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
21922
21922
|
if (!continuationToken) {
|
|
21923
21923
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
21924
21924
|
let page = result.value || [];
|
|
@@ -21972,7 +21972,7 @@ class ComputeOperationsImpl {
|
|
|
21972
21972
|
return this;
|
|
21973
21973
|
},
|
|
21974
21974
|
byPage: (settings) => {
|
|
21975
|
-
if (settings === null || settings ===
|
|
21975
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
21976
21976
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
21977
21977
|
}
|
|
21978
21978
|
return this.listNodesPagingPage(resourceGroupName, workspaceName, computeName, options, settings);
|
|
@@ -21982,7 +21982,7 @@ class ComputeOperationsImpl {
|
|
|
21982
21982
|
listNodesPagingPage(resourceGroupName, workspaceName, computeName, options, settings) {
|
|
21983
21983
|
return tslib.__asyncGenerator(this, arguments, function* listNodesPagingPage_1() {
|
|
21984
21984
|
let result;
|
|
21985
|
-
let continuationToken = settings === null || settings ===
|
|
21985
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
21986
21986
|
if (!continuationToken) {
|
|
21987
21987
|
result = yield tslib.__await(this._listNodes(resourceGroupName, workspaceName, computeName, options));
|
|
21988
21988
|
let page = result.nodes || [];
|
|
@@ -22050,17 +22050,17 @@ class ComputeOperationsImpl {
|
|
|
22050
22050
|
* @param options The options parameters.
|
|
22051
22051
|
*/
|
|
22052
22052
|
beginCreateOrUpdate(resourceGroupName, workspaceName, computeName, parameters, options) {
|
|
22053
|
-
return tslib.__awaiter(this,
|
|
22054
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
22053
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22054
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22055
22055
|
return this.client.sendOperationRequest(args, spec);
|
|
22056
22056
|
});
|
|
22057
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
22057
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22058
22058
|
var _a;
|
|
22059
22059
|
let currentRawResponse = undefined;
|
|
22060
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
22060
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
22061
22061
|
const callback = (rawResponse, flatResponse) => {
|
|
22062
22062
|
currentRawResponse = rawResponse;
|
|
22063
|
-
providedCallback === null || providedCallback ===
|
|
22063
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
22064
22064
|
};
|
|
22065
22065
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
22066
22066
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -22085,8 +22085,8 @@ class ComputeOperationsImpl {
|
|
|
22085
22085
|
spec: createOrUpdateOperationSpec$A,
|
|
22086
22086
|
});
|
|
22087
22087
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
22088
|
-
restoreFrom: options === null || options ===
|
|
22089
|
-
intervalInMs: options === null || options ===
|
|
22088
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
22089
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
22090
22090
|
});
|
|
22091
22091
|
yield poller.poll();
|
|
22092
22092
|
return poller;
|
|
@@ -22103,7 +22103,7 @@ class ComputeOperationsImpl {
|
|
|
22103
22103
|
* @param options The options parameters.
|
|
22104
22104
|
*/
|
|
22105
22105
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, computeName, parameters, options) {
|
|
22106
|
-
return tslib.__awaiter(this,
|
|
22106
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22107
22107
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, computeName, parameters, options);
|
|
22108
22108
|
return poller.pollUntilDone();
|
|
22109
22109
|
});
|
|
@@ -22118,17 +22118,17 @@ class ComputeOperationsImpl {
|
|
|
22118
22118
|
* @param options The options parameters.
|
|
22119
22119
|
*/
|
|
22120
22120
|
beginUpdate(resourceGroupName, workspaceName, computeName, parameters, options) {
|
|
22121
|
-
return tslib.__awaiter(this,
|
|
22122
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
22121
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22122
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22123
22123
|
return this.client.sendOperationRequest(args, spec);
|
|
22124
22124
|
});
|
|
22125
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
22125
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22126
22126
|
var _a;
|
|
22127
22127
|
let currentRawResponse = undefined;
|
|
22128
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
22128
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
22129
22129
|
const callback = (rawResponse, flatResponse) => {
|
|
22130
22130
|
currentRawResponse = rawResponse;
|
|
22131
|
-
providedCallback === null || providedCallback ===
|
|
22131
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
22132
22132
|
};
|
|
22133
22133
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
22134
22134
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -22153,8 +22153,8 @@ class ComputeOperationsImpl {
|
|
|
22153
22153
|
spec: updateOperationSpec$6,
|
|
22154
22154
|
});
|
|
22155
22155
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
22156
|
-
restoreFrom: options === null || options ===
|
|
22157
|
-
intervalInMs: options === null || options ===
|
|
22156
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
22157
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
22158
22158
|
});
|
|
22159
22159
|
yield poller.poll();
|
|
22160
22160
|
return poller;
|
|
@@ -22170,7 +22170,7 @@ class ComputeOperationsImpl {
|
|
|
22170
22170
|
* @param options The options parameters.
|
|
22171
22171
|
*/
|
|
22172
22172
|
beginUpdateAndWait(resourceGroupName, workspaceName, computeName, parameters, options) {
|
|
22173
|
-
return tslib.__awaiter(this,
|
|
22173
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22174
22174
|
const poller = yield this.beginUpdate(resourceGroupName, workspaceName, computeName, parameters, options);
|
|
22175
22175
|
return poller.pollUntilDone();
|
|
22176
22176
|
});
|
|
@@ -22185,17 +22185,17 @@ class ComputeOperationsImpl {
|
|
|
22185
22185
|
* @param options The options parameters.
|
|
22186
22186
|
*/
|
|
22187
22187
|
beginDelete(resourceGroupName, workspaceName, computeName, underlyingResourceAction, options) {
|
|
22188
|
-
return tslib.__awaiter(this,
|
|
22189
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
22188
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22189
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22190
22190
|
return this.client.sendOperationRequest(args, spec);
|
|
22191
22191
|
});
|
|
22192
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
22192
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22193
22193
|
var _a;
|
|
22194
22194
|
let currentRawResponse = undefined;
|
|
22195
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
22195
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
22196
22196
|
const callback = (rawResponse, flatResponse) => {
|
|
22197
22197
|
currentRawResponse = rawResponse;
|
|
22198
|
-
providedCallback === null || providedCallback ===
|
|
22198
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
22199
22199
|
};
|
|
22200
22200
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
22201
22201
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -22220,8 +22220,8 @@ class ComputeOperationsImpl {
|
|
|
22220
22220
|
spec: deleteOperationSpec$B,
|
|
22221
22221
|
});
|
|
22222
22222
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
22223
|
-
restoreFrom: options === null || options ===
|
|
22224
|
-
intervalInMs: options === null || options ===
|
|
22223
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
22224
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
22225
22225
|
});
|
|
22226
22226
|
yield poller.poll();
|
|
22227
22227
|
return poller;
|
|
@@ -22237,7 +22237,7 @@ class ComputeOperationsImpl {
|
|
|
22237
22237
|
* @param options The options parameters.
|
|
22238
22238
|
*/
|
|
22239
22239
|
beginDeleteAndWait(resourceGroupName, workspaceName, computeName, underlyingResourceAction, options) {
|
|
22240
|
-
return tslib.__awaiter(this,
|
|
22240
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22241
22241
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, computeName, underlyingResourceAction, options);
|
|
22242
22242
|
return poller.pollUntilDone();
|
|
22243
22243
|
});
|
|
@@ -22270,17 +22270,17 @@ class ComputeOperationsImpl {
|
|
|
22270
22270
|
* @param options The options parameters.
|
|
22271
22271
|
*/
|
|
22272
22272
|
beginStart(resourceGroupName, workspaceName, computeName, options) {
|
|
22273
|
-
return tslib.__awaiter(this,
|
|
22274
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
22273
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22274
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22275
22275
|
return this.client.sendOperationRequest(args, spec);
|
|
22276
22276
|
});
|
|
22277
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
22277
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22278
22278
|
var _a;
|
|
22279
22279
|
let currentRawResponse = undefined;
|
|
22280
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
22280
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
22281
22281
|
const callback = (rawResponse, flatResponse) => {
|
|
22282
22282
|
currentRawResponse = rawResponse;
|
|
22283
|
-
providedCallback === null || providedCallback ===
|
|
22283
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
22284
22284
|
};
|
|
22285
22285
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
22286
22286
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -22299,8 +22299,8 @@ class ComputeOperationsImpl {
|
|
|
22299
22299
|
spec: startOperationSpec,
|
|
22300
22300
|
});
|
|
22301
22301
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
22302
|
-
restoreFrom: options === null || options ===
|
|
22303
|
-
intervalInMs: options === null || options ===
|
|
22302
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
22303
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
22304
22304
|
});
|
|
22305
22305
|
yield poller.poll();
|
|
22306
22306
|
return poller;
|
|
@@ -22314,7 +22314,7 @@ class ComputeOperationsImpl {
|
|
|
22314
22314
|
* @param options The options parameters.
|
|
22315
22315
|
*/
|
|
22316
22316
|
beginStartAndWait(resourceGroupName, workspaceName, computeName, options) {
|
|
22317
|
-
return tslib.__awaiter(this,
|
|
22317
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22318
22318
|
const poller = yield this.beginStart(resourceGroupName, workspaceName, computeName, options);
|
|
22319
22319
|
return poller.pollUntilDone();
|
|
22320
22320
|
});
|
|
@@ -22327,17 +22327,17 @@ class ComputeOperationsImpl {
|
|
|
22327
22327
|
* @param options The options parameters.
|
|
22328
22328
|
*/
|
|
22329
22329
|
beginStop(resourceGroupName, workspaceName, computeName, options) {
|
|
22330
|
-
return tslib.__awaiter(this,
|
|
22331
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
22330
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22331
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22332
22332
|
return this.client.sendOperationRequest(args, spec);
|
|
22333
22333
|
});
|
|
22334
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
22334
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22335
22335
|
var _a;
|
|
22336
22336
|
let currentRawResponse = undefined;
|
|
22337
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
22337
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
22338
22338
|
const callback = (rawResponse, flatResponse) => {
|
|
22339
22339
|
currentRawResponse = rawResponse;
|
|
22340
|
-
providedCallback === null || providedCallback ===
|
|
22340
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
22341
22341
|
};
|
|
22342
22342
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
22343
22343
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -22356,8 +22356,8 @@ class ComputeOperationsImpl {
|
|
|
22356
22356
|
spec: stopOperationSpec,
|
|
22357
22357
|
});
|
|
22358
22358
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
22359
|
-
restoreFrom: options === null || options ===
|
|
22360
|
-
intervalInMs: options === null || options ===
|
|
22359
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
22360
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
22361
22361
|
});
|
|
22362
22362
|
yield poller.poll();
|
|
22363
22363
|
return poller;
|
|
@@ -22371,7 +22371,7 @@ class ComputeOperationsImpl {
|
|
|
22371
22371
|
* @param options The options parameters.
|
|
22372
22372
|
*/
|
|
22373
22373
|
beginStopAndWait(resourceGroupName, workspaceName, computeName, options) {
|
|
22374
|
-
return tslib.__awaiter(this,
|
|
22374
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22375
22375
|
const poller = yield this.beginStop(resourceGroupName, workspaceName, computeName, options);
|
|
22376
22376
|
return poller.pollUntilDone();
|
|
22377
22377
|
});
|
|
@@ -22384,17 +22384,17 @@ class ComputeOperationsImpl {
|
|
|
22384
22384
|
* @param options The options parameters.
|
|
22385
22385
|
*/
|
|
22386
22386
|
beginRestart(resourceGroupName, workspaceName, computeName, options) {
|
|
22387
|
-
return tslib.__awaiter(this,
|
|
22388
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
22387
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22388
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22389
22389
|
return this.client.sendOperationRequest(args, spec);
|
|
22390
22390
|
});
|
|
22391
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
22391
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22392
22392
|
var _a;
|
|
22393
22393
|
let currentRawResponse = undefined;
|
|
22394
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
22394
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
22395
22395
|
const callback = (rawResponse, flatResponse) => {
|
|
22396
22396
|
currentRawResponse = rawResponse;
|
|
22397
|
-
providedCallback === null || providedCallback ===
|
|
22397
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
22398
22398
|
};
|
|
22399
22399
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
22400
22400
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -22413,8 +22413,8 @@ class ComputeOperationsImpl {
|
|
|
22413
22413
|
spec: restartOperationSpec,
|
|
22414
22414
|
});
|
|
22415
22415
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
22416
|
-
restoreFrom: options === null || options ===
|
|
22417
|
-
intervalInMs: options === null || options ===
|
|
22416
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
22417
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
22418
22418
|
});
|
|
22419
22419
|
yield poller.poll();
|
|
22420
22420
|
return poller;
|
|
@@ -22428,7 +22428,7 @@ class ComputeOperationsImpl {
|
|
|
22428
22428
|
* @param options The options parameters.
|
|
22429
22429
|
*/
|
|
22430
22430
|
beginRestartAndWait(resourceGroupName, workspaceName, computeName, options) {
|
|
22431
|
-
return tslib.__awaiter(this,
|
|
22431
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
22432
22432
|
const poller = yield this.beginRestart(resourceGroupName, workspaceName, computeName, options);
|
|
22433
22433
|
return poller.pollUntilDone();
|
|
22434
22434
|
});
|
|
@@ -22779,7 +22779,7 @@ class PrivateEndpointConnectionsImpl {
|
|
|
22779
22779
|
return this;
|
|
22780
22780
|
},
|
|
22781
22781
|
byPage: (settings) => {
|
|
22782
|
-
if (settings === null || settings ===
|
|
22782
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
22783
22783
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
22784
22784
|
}
|
|
22785
22785
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -23046,7 +23046,7 @@ class WorkspaceConnectionsImpl {
|
|
|
23046
23046
|
return this;
|
|
23047
23047
|
},
|
|
23048
23048
|
byPage: (settings) => {
|
|
23049
|
-
if (settings === null || settings ===
|
|
23049
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
23050
23050
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
23051
23051
|
}
|
|
23052
23052
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -23056,7 +23056,7 @@ class WorkspaceConnectionsImpl {
|
|
|
23056
23056
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
23057
23057
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
23058
23058
|
let result;
|
|
23059
|
-
let continuationToken = settings === null || settings ===
|
|
23059
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
23060
23060
|
if (!continuationToken) {
|
|
23061
23061
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
23062
23062
|
let page = result.value || [];
|
|
@@ -23321,7 +23321,7 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23321
23321
|
return this;
|
|
23322
23322
|
},
|
|
23323
23323
|
byPage: (settings) => {
|
|
23324
|
-
if (settings === null || settings ===
|
|
23324
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
23325
23325
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
23326
23326
|
}
|
|
23327
23327
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -23331,7 +23331,7 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23331
23331
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
23332
23332
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
23333
23333
|
let result;
|
|
23334
|
-
let continuationToken = settings === null || settings ===
|
|
23334
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
23335
23335
|
if (!continuationToken) {
|
|
23336
23336
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
23337
23337
|
let page = result.value || [];
|
|
@@ -23385,17 +23385,17 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23385
23385
|
* @param options The options parameters.
|
|
23386
23386
|
*/
|
|
23387
23387
|
beginDelete(resourceGroupName, workspaceName, ruleName, options) {
|
|
23388
|
-
return tslib.__awaiter(this,
|
|
23389
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
23388
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23389
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23390
23390
|
return this.client.sendOperationRequest(args, spec);
|
|
23391
23391
|
});
|
|
23392
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
23392
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23393
23393
|
var _a;
|
|
23394
23394
|
let currentRawResponse = undefined;
|
|
23395
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
23395
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
23396
23396
|
const callback = (rawResponse, flatResponse) => {
|
|
23397
23397
|
currentRawResponse = rawResponse;
|
|
23398
|
-
providedCallback === null || providedCallback ===
|
|
23398
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
23399
23399
|
};
|
|
23400
23400
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
23401
23401
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -23414,8 +23414,8 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23414
23414
|
spec: deleteOperationSpec$y,
|
|
23415
23415
|
});
|
|
23416
23416
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
23417
|
-
restoreFrom: options === null || options ===
|
|
23418
|
-
intervalInMs: options === null || options ===
|
|
23417
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
23418
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
23419
23419
|
});
|
|
23420
23420
|
yield poller.poll();
|
|
23421
23421
|
return poller;
|
|
@@ -23429,7 +23429,7 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23429
23429
|
* @param options The options parameters.
|
|
23430
23430
|
*/
|
|
23431
23431
|
beginDeleteAndWait(resourceGroupName, workspaceName, ruleName, options) {
|
|
23432
|
-
return tslib.__awaiter(this,
|
|
23432
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23433
23433
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, ruleName, options);
|
|
23434
23434
|
return poller.pollUntilDone();
|
|
23435
23435
|
});
|
|
@@ -23454,17 +23454,17 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23454
23454
|
* @param options The options parameters.
|
|
23455
23455
|
*/
|
|
23456
23456
|
beginCreateOrUpdate(resourceGroupName, workspaceName, ruleName, body, options) {
|
|
23457
|
-
return tslib.__awaiter(this,
|
|
23458
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
23457
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23458
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23459
23459
|
return this.client.sendOperationRequest(args, spec);
|
|
23460
23460
|
});
|
|
23461
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
23461
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23462
23462
|
var _a;
|
|
23463
23463
|
let currentRawResponse = undefined;
|
|
23464
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
23464
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
23465
23465
|
const callback = (rawResponse, flatResponse) => {
|
|
23466
23466
|
currentRawResponse = rawResponse;
|
|
23467
|
-
providedCallback === null || providedCallback ===
|
|
23467
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
23468
23468
|
};
|
|
23469
23469
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
23470
23470
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -23483,8 +23483,8 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23483
23483
|
spec: createOrUpdateOperationSpec$y,
|
|
23484
23484
|
});
|
|
23485
23485
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
23486
|
-
restoreFrom: options === null || options ===
|
|
23487
|
-
intervalInMs: options === null || options ===
|
|
23486
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
23487
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
23488
23488
|
resourceLocationConfig: "location",
|
|
23489
23489
|
});
|
|
23490
23490
|
yield poller.poll();
|
|
@@ -23501,7 +23501,7 @@ class ManagedNetworkSettingsRuleImpl {
|
|
|
23501
23501
|
* @param options The options parameters.
|
|
23502
23502
|
*/
|
|
23503
23503
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, ruleName, body, options) {
|
|
23504
|
-
return tslib.__awaiter(this,
|
|
23504
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23505
23505
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, ruleName, body, options);
|
|
23506
23506
|
return poller.pollUntilDone();
|
|
23507
23507
|
});
|
|
@@ -23663,17 +23663,17 @@ class ManagedNetworkProvisionsImpl {
|
|
|
23663
23663
|
* @param options The options parameters.
|
|
23664
23664
|
*/
|
|
23665
23665
|
beginProvisionManagedNetwork(resourceGroupName, workspaceName, options) {
|
|
23666
|
-
return tslib.__awaiter(this,
|
|
23667
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
23666
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23667
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23668
23668
|
return this.client.sendOperationRequest(args, spec);
|
|
23669
23669
|
});
|
|
23670
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
23670
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23671
23671
|
var _a;
|
|
23672
23672
|
let currentRawResponse = undefined;
|
|
23673
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
23673
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
23674
23674
|
const callback = (rawResponse, flatResponse) => {
|
|
23675
23675
|
currentRawResponse = rawResponse;
|
|
23676
|
-
providedCallback === null || providedCallback ===
|
|
23676
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
23677
23677
|
};
|
|
23678
23678
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
23679
23679
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -23692,8 +23692,8 @@ class ManagedNetworkProvisionsImpl {
|
|
|
23692
23692
|
spec: provisionManagedNetworkOperationSpec,
|
|
23693
23693
|
});
|
|
23694
23694
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
23695
|
-
restoreFrom: options === null || options ===
|
|
23696
|
-
intervalInMs: options === null || options ===
|
|
23695
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
23696
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
23697
23697
|
resourceLocationConfig: "location",
|
|
23698
23698
|
});
|
|
23699
23699
|
yield poller.poll();
|
|
@@ -23707,7 +23707,7 @@ class ManagedNetworkProvisionsImpl {
|
|
|
23707
23707
|
* @param options The options parameters.
|
|
23708
23708
|
*/
|
|
23709
23709
|
beginProvisionManagedNetworkAndWait(resourceGroupName, workspaceName, options) {
|
|
23710
|
-
return tslib.__awaiter(this,
|
|
23710
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23711
23711
|
const poller = yield this.beginProvisionManagedNetwork(resourceGroupName, workspaceName, options);
|
|
23712
23712
|
return poller.pollUntilDone();
|
|
23713
23713
|
});
|
|
@@ -23781,7 +23781,7 @@ class RegistryCodeContainersImpl {
|
|
|
23781
23781
|
return this;
|
|
23782
23782
|
},
|
|
23783
23783
|
byPage: (settings) => {
|
|
23784
|
-
if (settings === null || settings ===
|
|
23784
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
23785
23785
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
23786
23786
|
}
|
|
23787
23787
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
@@ -23791,7 +23791,7 @@ class RegistryCodeContainersImpl {
|
|
|
23791
23791
|
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
23792
23792
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
23793
23793
|
let result;
|
|
23794
|
-
let continuationToken = settings === null || settings ===
|
|
23794
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
23795
23795
|
if (!continuationToken) {
|
|
23796
23796
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
|
|
23797
23797
|
let page = result.value || [];
|
|
@@ -23845,17 +23845,17 @@ class RegistryCodeContainersImpl {
|
|
|
23845
23845
|
* @param options The options parameters.
|
|
23846
23846
|
*/
|
|
23847
23847
|
beginDelete(resourceGroupName, registryName, codeName, options) {
|
|
23848
|
-
return tslib.__awaiter(this,
|
|
23849
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
23848
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23849
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23850
23850
|
return this.client.sendOperationRequest(args, spec);
|
|
23851
23851
|
});
|
|
23852
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
23852
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23853
23853
|
var _a;
|
|
23854
23854
|
let currentRawResponse = undefined;
|
|
23855
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
23855
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
23856
23856
|
const callback = (rawResponse, flatResponse) => {
|
|
23857
23857
|
currentRawResponse = rawResponse;
|
|
23858
|
-
providedCallback === null || providedCallback ===
|
|
23858
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
23859
23859
|
};
|
|
23860
23860
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
23861
23861
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -23874,8 +23874,8 @@ class RegistryCodeContainersImpl {
|
|
|
23874
23874
|
spec: deleteOperationSpec$x,
|
|
23875
23875
|
});
|
|
23876
23876
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
23877
|
-
restoreFrom: options === null || options ===
|
|
23878
|
-
intervalInMs: options === null || options ===
|
|
23877
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
23878
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
23879
23879
|
resourceLocationConfig: "location",
|
|
23880
23880
|
});
|
|
23881
23881
|
yield poller.poll();
|
|
@@ -23890,7 +23890,7 @@ class RegistryCodeContainersImpl {
|
|
|
23890
23890
|
* @param options The options parameters.
|
|
23891
23891
|
*/
|
|
23892
23892
|
beginDeleteAndWait(resourceGroupName, registryName, codeName, options) {
|
|
23893
|
-
return tslib.__awaiter(this,
|
|
23893
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23894
23894
|
const poller = yield this.beginDelete(resourceGroupName, registryName, codeName, options);
|
|
23895
23895
|
return poller.pollUntilDone();
|
|
23896
23896
|
});
|
|
@@ -23914,17 +23914,17 @@ class RegistryCodeContainersImpl {
|
|
|
23914
23914
|
* @param options The options parameters.
|
|
23915
23915
|
*/
|
|
23916
23916
|
beginCreateOrUpdate(resourceGroupName, registryName, codeName, body, options) {
|
|
23917
|
-
return tslib.__awaiter(this,
|
|
23918
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
23917
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23918
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23919
23919
|
return this.client.sendOperationRequest(args, spec);
|
|
23920
23920
|
});
|
|
23921
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
23921
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23922
23922
|
var _a;
|
|
23923
23923
|
let currentRawResponse = undefined;
|
|
23924
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
23924
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
23925
23925
|
const callback = (rawResponse, flatResponse) => {
|
|
23926
23926
|
currentRawResponse = rawResponse;
|
|
23927
|
-
providedCallback === null || providedCallback ===
|
|
23927
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
23928
23928
|
};
|
|
23929
23929
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
23930
23930
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -23943,8 +23943,8 @@ class RegistryCodeContainersImpl {
|
|
|
23943
23943
|
spec: createOrUpdateOperationSpec$x,
|
|
23944
23944
|
});
|
|
23945
23945
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
23946
|
-
restoreFrom: options === null || options ===
|
|
23947
|
-
intervalInMs: options === null || options ===
|
|
23946
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
23947
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
23948
23948
|
resourceLocationConfig: "original-uri",
|
|
23949
23949
|
});
|
|
23950
23950
|
yield poller.poll();
|
|
@@ -23960,7 +23960,7 @@ class RegistryCodeContainersImpl {
|
|
|
23960
23960
|
* @param options The options parameters.
|
|
23961
23961
|
*/
|
|
23962
23962
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, codeName, body, options) {
|
|
23963
|
-
return tslib.__awaiter(this,
|
|
23963
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
23964
23964
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, codeName, body, options);
|
|
23965
23965
|
return poller.pollUntilDone();
|
|
23966
23966
|
});
|
|
@@ -24133,7 +24133,7 @@ class RegistryCodeVersionsImpl {
|
|
|
24133
24133
|
return this;
|
|
24134
24134
|
},
|
|
24135
24135
|
byPage: (settings) => {
|
|
24136
|
-
if (settings === null || settings ===
|
|
24136
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
24137
24137
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
24138
24138
|
}
|
|
24139
24139
|
return this.listPagingPage(resourceGroupName, registryName, codeName, options, settings);
|
|
@@ -24143,7 +24143,7 @@ class RegistryCodeVersionsImpl {
|
|
|
24143
24143
|
listPagingPage(resourceGroupName, registryName, codeName, options, settings) {
|
|
24144
24144
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
24145
24145
|
let result;
|
|
24146
|
-
let continuationToken = settings === null || settings ===
|
|
24146
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
24147
24147
|
if (!continuationToken) {
|
|
24148
24148
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, codeName, options));
|
|
24149
24149
|
let page = result.value || [];
|
|
@@ -24199,17 +24199,17 @@ class RegistryCodeVersionsImpl {
|
|
|
24199
24199
|
* @param options The options parameters.
|
|
24200
24200
|
*/
|
|
24201
24201
|
beginDelete(resourceGroupName, registryName, codeName, version, options) {
|
|
24202
|
-
return tslib.__awaiter(this,
|
|
24203
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
24202
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24203
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24204
24204
|
return this.client.sendOperationRequest(args, spec);
|
|
24205
24205
|
});
|
|
24206
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
24206
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24207
24207
|
var _a;
|
|
24208
24208
|
let currentRawResponse = undefined;
|
|
24209
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
24209
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
24210
24210
|
const callback = (rawResponse, flatResponse) => {
|
|
24211
24211
|
currentRawResponse = rawResponse;
|
|
24212
|
-
providedCallback === null || providedCallback ===
|
|
24212
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
24213
24213
|
};
|
|
24214
24214
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
24215
24215
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -24228,8 +24228,8 @@ class RegistryCodeVersionsImpl {
|
|
|
24228
24228
|
spec: deleteOperationSpec$w,
|
|
24229
24229
|
});
|
|
24230
24230
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
24231
|
-
restoreFrom: options === null || options ===
|
|
24232
|
-
intervalInMs: options === null || options ===
|
|
24231
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
24232
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
24233
24233
|
resourceLocationConfig: "location",
|
|
24234
24234
|
});
|
|
24235
24235
|
yield poller.poll();
|
|
@@ -24245,7 +24245,7 @@ class RegistryCodeVersionsImpl {
|
|
|
24245
24245
|
* @param options The options parameters.
|
|
24246
24246
|
*/
|
|
24247
24247
|
beginDeleteAndWait(resourceGroupName, registryName, codeName, version, options) {
|
|
24248
|
-
return tslib.__awaiter(this,
|
|
24248
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24249
24249
|
const poller = yield this.beginDelete(resourceGroupName, registryName, codeName, version, options);
|
|
24250
24250
|
return poller.pollUntilDone();
|
|
24251
24251
|
});
|
|
@@ -24271,17 +24271,17 @@ class RegistryCodeVersionsImpl {
|
|
|
24271
24271
|
* @param options The options parameters.
|
|
24272
24272
|
*/
|
|
24273
24273
|
beginCreateOrUpdate(resourceGroupName, registryName, codeName, version, body, options) {
|
|
24274
|
-
return tslib.__awaiter(this,
|
|
24275
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
24274
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24275
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24276
24276
|
return this.client.sendOperationRequest(args, spec);
|
|
24277
24277
|
});
|
|
24278
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
24278
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24279
24279
|
var _a;
|
|
24280
24280
|
let currentRawResponse = undefined;
|
|
24281
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
24281
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
24282
24282
|
const callback = (rawResponse, flatResponse) => {
|
|
24283
24283
|
currentRawResponse = rawResponse;
|
|
24284
|
-
providedCallback === null || providedCallback ===
|
|
24284
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
24285
24285
|
};
|
|
24286
24286
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
24287
24287
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -24307,8 +24307,8 @@ class RegistryCodeVersionsImpl {
|
|
|
24307
24307
|
spec: createOrUpdateOperationSpec$w,
|
|
24308
24308
|
});
|
|
24309
24309
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
24310
|
-
restoreFrom: options === null || options ===
|
|
24311
|
-
intervalInMs: options === null || options ===
|
|
24310
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
24311
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
24312
24312
|
resourceLocationConfig: "original-uri",
|
|
24313
24313
|
});
|
|
24314
24314
|
yield poller.poll();
|
|
@@ -24325,7 +24325,7 @@ class RegistryCodeVersionsImpl {
|
|
|
24325
24325
|
* @param options The options parameters.
|
|
24326
24326
|
*/
|
|
24327
24327
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, codeName, version, body, options) {
|
|
24328
|
-
return tslib.__awaiter(this,
|
|
24328
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24329
24329
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, codeName, version, body, options);
|
|
24330
24330
|
return poller.pollUntilDone();
|
|
24331
24331
|
});
|
|
@@ -24545,7 +24545,7 @@ class RegistryComponentContainersImpl {
|
|
|
24545
24545
|
return this;
|
|
24546
24546
|
},
|
|
24547
24547
|
byPage: (settings) => {
|
|
24548
|
-
if (settings === null || settings ===
|
|
24548
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
24549
24549
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
24550
24550
|
}
|
|
24551
24551
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
@@ -24555,7 +24555,7 @@ class RegistryComponentContainersImpl {
|
|
|
24555
24555
|
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
24556
24556
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
24557
24557
|
let result;
|
|
24558
|
-
let continuationToken = settings === null || settings ===
|
|
24558
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
24559
24559
|
if (!continuationToken) {
|
|
24560
24560
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
|
|
24561
24561
|
let page = result.value || [];
|
|
@@ -24609,17 +24609,17 @@ class RegistryComponentContainersImpl {
|
|
|
24609
24609
|
* @param options The options parameters.
|
|
24610
24610
|
*/
|
|
24611
24611
|
beginDelete(resourceGroupName, registryName, componentName, options) {
|
|
24612
|
-
return tslib.__awaiter(this,
|
|
24613
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
24612
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24613
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24614
24614
|
return this.client.sendOperationRequest(args, spec);
|
|
24615
24615
|
});
|
|
24616
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
24616
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24617
24617
|
var _a;
|
|
24618
24618
|
let currentRawResponse = undefined;
|
|
24619
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
24619
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
24620
24620
|
const callback = (rawResponse, flatResponse) => {
|
|
24621
24621
|
currentRawResponse = rawResponse;
|
|
24622
|
-
providedCallback === null || providedCallback ===
|
|
24622
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
24623
24623
|
};
|
|
24624
24624
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
24625
24625
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -24638,8 +24638,8 @@ class RegistryComponentContainersImpl {
|
|
|
24638
24638
|
spec: deleteOperationSpec$v,
|
|
24639
24639
|
});
|
|
24640
24640
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
24641
|
-
restoreFrom: options === null || options ===
|
|
24642
|
-
intervalInMs: options === null || options ===
|
|
24641
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
24642
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
24643
24643
|
resourceLocationConfig: "location",
|
|
24644
24644
|
});
|
|
24645
24645
|
yield poller.poll();
|
|
@@ -24654,7 +24654,7 @@ class RegistryComponentContainersImpl {
|
|
|
24654
24654
|
* @param options The options parameters.
|
|
24655
24655
|
*/
|
|
24656
24656
|
beginDeleteAndWait(resourceGroupName, registryName, componentName, options) {
|
|
24657
|
-
return tslib.__awaiter(this,
|
|
24657
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24658
24658
|
const poller = yield this.beginDelete(resourceGroupName, registryName, componentName, options);
|
|
24659
24659
|
return poller.pollUntilDone();
|
|
24660
24660
|
});
|
|
@@ -24678,17 +24678,17 @@ class RegistryComponentContainersImpl {
|
|
|
24678
24678
|
* @param options The options parameters.
|
|
24679
24679
|
*/
|
|
24680
24680
|
beginCreateOrUpdate(resourceGroupName, registryName, componentName, body, options) {
|
|
24681
|
-
return tslib.__awaiter(this,
|
|
24682
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
24681
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24682
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24683
24683
|
return this.client.sendOperationRequest(args, spec);
|
|
24684
24684
|
});
|
|
24685
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
24685
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24686
24686
|
var _a;
|
|
24687
24687
|
let currentRawResponse = undefined;
|
|
24688
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
24688
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
24689
24689
|
const callback = (rawResponse, flatResponse) => {
|
|
24690
24690
|
currentRawResponse = rawResponse;
|
|
24691
|
-
providedCallback === null || providedCallback ===
|
|
24691
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
24692
24692
|
};
|
|
24693
24693
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
24694
24694
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -24707,8 +24707,8 @@ class RegistryComponentContainersImpl {
|
|
|
24707
24707
|
spec: createOrUpdateOperationSpec$v,
|
|
24708
24708
|
});
|
|
24709
24709
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
24710
|
-
restoreFrom: options === null || options ===
|
|
24711
|
-
intervalInMs: options === null || options ===
|
|
24710
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
24711
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
24712
24712
|
resourceLocationConfig: "original-uri",
|
|
24713
24713
|
});
|
|
24714
24714
|
yield poller.poll();
|
|
@@ -24724,7 +24724,7 @@ class RegistryComponentContainersImpl {
|
|
|
24724
24724
|
* @param options The options parameters.
|
|
24725
24725
|
*/
|
|
24726
24726
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, componentName, body, options) {
|
|
24727
|
-
return tslib.__awaiter(this,
|
|
24727
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24728
24728
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, componentName, body, options);
|
|
24729
24729
|
return poller.pollUntilDone();
|
|
24730
24730
|
});
|
|
@@ -24897,7 +24897,7 @@ class RegistryComponentVersionsImpl {
|
|
|
24897
24897
|
return this;
|
|
24898
24898
|
},
|
|
24899
24899
|
byPage: (settings) => {
|
|
24900
|
-
if (settings === null || settings ===
|
|
24900
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
24901
24901
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
24902
24902
|
}
|
|
24903
24903
|
return this.listPagingPage(resourceGroupName, registryName, componentName, options, settings);
|
|
@@ -24907,7 +24907,7 @@ class RegistryComponentVersionsImpl {
|
|
|
24907
24907
|
listPagingPage(resourceGroupName, registryName, componentName, options, settings) {
|
|
24908
24908
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
24909
24909
|
let result;
|
|
24910
|
-
let continuationToken = settings === null || settings ===
|
|
24910
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
24911
24911
|
if (!continuationToken) {
|
|
24912
24912
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, componentName, options));
|
|
24913
24913
|
let page = result.value || [];
|
|
@@ -24963,17 +24963,17 @@ class RegistryComponentVersionsImpl {
|
|
|
24963
24963
|
* @param options The options parameters.
|
|
24964
24964
|
*/
|
|
24965
24965
|
beginDelete(resourceGroupName, registryName, componentName, version, options) {
|
|
24966
|
-
return tslib.__awaiter(this,
|
|
24967
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
24966
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24967
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24968
24968
|
return this.client.sendOperationRequest(args, spec);
|
|
24969
24969
|
});
|
|
24970
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
24970
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
24971
24971
|
var _a;
|
|
24972
24972
|
let currentRawResponse = undefined;
|
|
24973
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
24973
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
24974
24974
|
const callback = (rawResponse, flatResponse) => {
|
|
24975
24975
|
currentRawResponse = rawResponse;
|
|
24976
|
-
providedCallback === null || providedCallback ===
|
|
24976
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
24977
24977
|
};
|
|
24978
24978
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
24979
24979
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -24998,8 +24998,8 @@ class RegistryComponentVersionsImpl {
|
|
|
24998
24998
|
spec: deleteOperationSpec$u,
|
|
24999
24999
|
});
|
|
25000
25000
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
25001
|
-
restoreFrom: options === null || options ===
|
|
25002
|
-
intervalInMs: options === null || options ===
|
|
25001
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
25002
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
25003
25003
|
resourceLocationConfig: "location",
|
|
25004
25004
|
});
|
|
25005
25005
|
yield poller.poll();
|
|
@@ -25015,7 +25015,7 @@ class RegistryComponentVersionsImpl {
|
|
|
25015
25015
|
* @param options The options parameters.
|
|
25016
25016
|
*/
|
|
25017
25017
|
beginDeleteAndWait(resourceGroupName, registryName, componentName, version, options) {
|
|
25018
|
-
return tslib.__awaiter(this,
|
|
25018
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25019
25019
|
const poller = yield this.beginDelete(resourceGroupName, registryName, componentName, version, options);
|
|
25020
25020
|
return poller.pollUntilDone();
|
|
25021
25021
|
});
|
|
@@ -25041,17 +25041,17 @@ class RegistryComponentVersionsImpl {
|
|
|
25041
25041
|
* @param options The options parameters.
|
|
25042
25042
|
*/
|
|
25043
25043
|
beginCreateOrUpdate(resourceGroupName, registryName, componentName, version, body, options) {
|
|
25044
|
-
return tslib.__awaiter(this,
|
|
25045
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
25044
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25045
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25046
25046
|
return this.client.sendOperationRequest(args, spec);
|
|
25047
25047
|
});
|
|
25048
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
25048
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25049
25049
|
var _a;
|
|
25050
25050
|
let currentRawResponse = undefined;
|
|
25051
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
25051
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
25052
25052
|
const callback = (rawResponse, flatResponse) => {
|
|
25053
25053
|
currentRawResponse = rawResponse;
|
|
25054
|
-
providedCallback === null || providedCallback ===
|
|
25054
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
25055
25055
|
};
|
|
25056
25056
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
25057
25057
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -25077,8 +25077,8 @@ class RegistryComponentVersionsImpl {
|
|
|
25077
25077
|
spec: createOrUpdateOperationSpec$u,
|
|
25078
25078
|
});
|
|
25079
25079
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
25080
|
-
restoreFrom: options === null || options ===
|
|
25081
|
-
intervalInMs: options === null || options ===
|
|
25080
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
25081
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
25082
25082
|
resourceLocationConfig: "original-uri",
|
|
25083
25083
|
});
|
|
25084
25084
|
yield poller.poll();
|
|
@@ -25095,7 +25095,7 @@ class RegistryComponentVersionsImpl {
|
|
|
25095
25095
|
* @param options The options parameters.
|
|
25096
25096
|
*/
|
|
25097
25097
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, componentName, version, body, options) {
|
|
25098
|
-
return tslib.__awaiter(this,
|
|
25098
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25099
25099
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, componentName, version, body, options);
|
|
25100
25100
|
return poller.pollUntilDone();
|
|
25101
25101
|
});
|
|
@@ -25278,7 +25278,7 @@ class RegistryDataContainersImpl {
|
|
|
25278
25278
|
return this;
|
|
25279
25279
|
},
|
|
25280
25280
|
byPage: (settings) => {
|
|
25281
|
-
if (settings === null || settings ===
|
|
25281
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
25282
25282
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
25283
25283
|
}
|
|
25284
25284
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
@@ -25288,7 +25288,7 @@ class RegistryDataContainersImpl {
|
|
|
25288
25288
|
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
25289
25289
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
25290
25290
|
let result;
|
|
25291
|
-
let continuationToken = settings === null || settings ===
|
|
25291
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
25292
25292
|
if (!continuationToken) {
|
|
25293
25293
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
|
|
25294
25294
|
let page = result.value || [];
|
|
@@ -25342,17 +25342,17 @@ class RegistryDataContainersImpl {
|
|
|
25342
25342
|
* @param options The options parameters.
|
|
25343
25343
|
*/
|
|
25344
25344
|
beginDelete(resourceGroupName, registryName, name, options) {
|
|
25345
|
-
return tslib.__awaiter(this,
|
|
25346
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
25345
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25346
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25347
25347
|
return this.client.sendOperationRequest(args, spec);
|
|
25348
25348
|
});
|
|
25349
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
25349
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25350
25350
|
var _a;
|
|
25351
25351
|
let currentRawResponse = undefined;
|
|
25352
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
25352
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
25353
25353
|
const callback = (rawResponse, flatResponse) => {
|
|
25354
25354
|
currentRawResponse = rawResponse;
|
|
25355
|
-
providedCallback === null || providedCallback ===
|
|
25355
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
25356
25356
|
};
|
|
25357
25357
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
25358
25358
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -25371,8 +25371,8 @@ class RegistryDataContainersImpl {
|
|
|
25371
25371
|
spec: deleteOperationSpec$t,
|
|
25372
25372
|
});
|
|
25373
25373
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
25374
|
-
restoreFrom: options === null || options ===
|
|
25375
|
-
intervalInMs: options === null || options ===
|
|
25374
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
25375
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
25376
25376
|
resourceLocationConfig: "location",
|
|
25377
25377
|
});
|
|
25378
25378
|
yield poller.poll();
|
|
@@ -25387,7 +25387,7 @@ class RegistryDataContainersImpl {
|
|
|
25387
25387
|
* @param options The options parameters.
|
|
25388
25388
|
*/
|
|
25389
25389
|
beginDeleteAndWait(resourceGroupName, registryName, name, options) {
|
|
25390
|
-
return tslib.__awaiter(this,
|
|
25390
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25391
25391
|
const poller = yield this.beginDelete(resourceGroupName, registryName, name, options);
|
|
25392
25392
|
return poller.pollUntilDone();
|
|
25393
25393
|
});
|
|
@@ -25411,17 +25411,17 @@ class RegistryDataContainersImpl {
|
|
|
25411
25411
|
* @param options The options parameters.
|
|
25412
25412
|
*/
|
|
25413
25413
|
beginCreateOrUpdate(resourceGroupName, registryName, name, body, options) {
|
|
25414
|
-
return tslib.__awaiter(this,
|
|
25415
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
25414
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25415
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25416
25416
|
return this.client.sendOperationRequest(args, spec);
|
|
25417
25417
|
});
|
|
25418
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
25418
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25419
25419
|
var _a;
|
|
25420
25420
|
let currentRawResponse = undefined;
|
|
25421
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
25421
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
25422
25422
|
const callback = (rawResponse, flatResponse) => {
|
|
25423
25423
|
currentRawResponse = rawResponse;
|
|
25424
|
-
providedCallback === null || providedCallback ===
|
|
25424
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
25425
25425
|
};
|
|
25426
25426
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
25427
25427
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -25440,8 +25440,8 @@ class RegistryDataContainersImpl {
|
|
|
25440
25440
|
spec: createOrUpdateOperationSpec$t,
|
|
25441
25441
|
});
|
|
25442
25442
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
25443
|
-
restoreFrom: options === null || options ===
|
|
25444
|
-
intervalInMs: options === null || options ===
|
|
25443
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
25444
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
25445
25445
|
resourceLocationConfig: "original-uri",
|
|
25446
25446
|
});
|
|
25447
25447
|
yield poller.poll();
|
|
@@ -25457,7 +25457,7 @@ class RegistryDataContainersImpl {
|
|
|
25457
25457
|
* @param options The options parameters.
|
|
25458
25458
|
*/
|
|
25459
25459
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, name, body, options) {
|
|
25460
|
-
return tslib.__awaiter(this,
|
|
25460
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25461
25461
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, name, body, options);
|
|
25462
25462
|
return poller.pollUntilDone();
|
|
25463
25463
|
});
|
|
@@ -25634,7 +25634,7 @@ class RegistryDataVersionsImpl {
|
|
|
25634
25634
|
return this;
|
|
25635
25635
|
},
|
|
25636
25636
|
byPage: (settings) => {
|
|
25637
|
-
if (settings === null || settings ===
|
|
25637
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
25638
25638
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
25639
25639
|
}
|
|
25640
25640
|
return this.listPagingPage(resourceGroupName, registryName, name, options, settings);
|
|
@@ -25644,7 +25644,7 @@ class RegistryDataVersionsImpl {
|
|
|
25644
25644
|
listPagingPage(resourceGroupName, registryName, name, options, settings) {
|
|
25645
25645
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
25646
25646
|
let result;
|
|
25647
|
-
let continuationToken = settings === null || settings ===
|
|
25647
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
25648
25648
|
if (!continuationToken) {
|
|
25649
25649
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, name, options));
|
|
25650
25650
|
let page = result.value || [];
|
|
@@ -25700,17 +25700,17 @@ class RegistryDataVersionsImpl {
|
|
|
25700
25700
|
* @param options The options parameters.
|
|
25701
25701
|
*/
|
|
25702
25702
|
beginDelete(resourceGroupName, registryName, name, version, options) {
|
|
25703
|
-
return tslib.__awaiter(this,
|
|
25704
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
25703
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25704
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25705
25705
|
return this.client.sendOperationRequest(args, spec);
|
|
25706
25706
|
});
|
|
25707
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
25707
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25708
25708
|
var _a;
|
|
25709
25709
|
let currentRawResponse = undefined;
|
|
25710
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
25710
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
25711
25711
|
const callback = (rawResponse, flatResponse) => {
|
|
25712
25712
|
currentRawResponse = rawResponse;
|
|
25713
|
-
providedCallback === null || providedCallback ===
|
|
25713
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
25714
25714
|
};
|
|
25715
25715
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
25716
25716
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -25729,8 +25729,8 @@ class RegistryDataVersionsImpl {
|
|
|
25729
25729
|
spec: deleteOperationSpec$s,
|
|
25730
25730
|
});
|
|
25731
25731
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
25732
|
-
restoreFrom: options === null || options ===
|
|
25733
|
-
intervalInMs: options === null || options ===
|
|
25732
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
25733
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
25734
25734
|
resourceLocationConfig: "location",
|
|
25735
25735
|
});
|
|
25736
25736
|
yield poller.poll();
|
|
@@ -25746,7 +25746,7 @@ class RegistryDataVersionsImpl {
|
|
|
25746
25746
|
* @param options The options parameters.
|
|
25747
25747
|
*/
|
|
25748
25748
|
beginDeleteAndWait(resourceGroupName, registryName, name, version, options) {
|
|
25749
|
-
return tslib.__awaiter(this,
|
|
25749
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25750
25750
|
const poller = yield this.beginDelete(resourceGroupName, registryName, name, version, options);
|
|
25751
25751
|
return poller.pollUntilDone();
|
|
25752
25752
|
});
|
|
@@ -25772,17 +25772,17 @@ class RegistryDataVersionsImpl {
|
|
|
25772
25772
|
* @param options The options parameters.
|
|
25773
25773
|
*/
|
|
25774
25774
|
beginCreateOrUpdate(resourceGroupName, registryName, name, version, body, options) {
|
|
25775
|
-
return tslib.__awaiter(this,
|
|
25776
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
25775
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25776
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25777
25777
|
return this.client.sendOperationRequest(args, spec);
|
|
25778
25778
|
});
|
|
25779
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
25779
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25780
25780
|
var _a;
|
|
25781
25781
|
let currentRawResponse = undefined;
|
|
25782
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
25782
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
25783
25783
|
const callback = (rawResponse, flatResponse) => {
|
|
25784
25784
|
currentRawResponse = rawResponse;
|
|
25785
|
-
providedCallback === null || providedCallback ===
|
|
25785
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
25786
25786
|
};
|
|
25787
25787
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
25788
25788
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -25801,8 +25801,8 @@ class RegistryDataVersionsImpl {
|
|
|
25801
25801
|
spec: createOrUpdateOperationSpec$s,
|
|
25802
25802
|
});
|
|
25803
25803
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
25804
|
-
restoreFrom: options === null || options ===
|
|
25805
|
-
intervalInMs: options === null || options ===
|
|
25804
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
25805
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
25806
25806
|
resourceLocationConfig: "original-uri",
|
|
25807
25807
|
});
|
|
25808
25808
|
yield poller.poll();
|
|
@@ -25819,7 +25819,7 @@ class RegistryDataVersionsImpl {
|
|
|
25819
25819
|
* @param options The options parameters.
|
|
25820
25820
|
*/
|
|
25821
25821
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, name, version, body, options) {
|
|
25822
|
-
return tslib.__awaiter(this,
|
|
25822
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
25823
25823
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, name, version, body, options);
|
|
25824
25824
|
return poller.pollUntilDone();
|
|
25825
25825
|
});
|
|
@@ -26098,7 +26098,7 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26098
26098
|
return this;
|
|
26099
26099
|
},
|
|
26100
26100
|
byPage: (settings) => {
|
|
26101
|
-
if (settings === null || settings ===
|
|
26101
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
26102
26102
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
26103
26103
|
}
|
|
26104
26104
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
@@ -26108,7 +26108,7 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26108
26108
|
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
26109
26109
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
26110
26110
|
let result;
|
|
26111
|
-
let continuationToken = settings === null || settings ===
|
|
26111
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
26112
26112
|
if (!continuationToken) {
|
|
26113
26113
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
|
|
26114
26114
|
let page = result.value || [];
|
|
@@ -26162,17 +26162,17 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26162
26162
|
* @param options The options parameters.
|
|
26163
26163
|
*/
|
|
26164
26164
|
beginDelete(resourceGroupName, registryName, environmentName, options) {
|
|
26165
|
-
return tslib.__awaiter(this,
|
|
26166
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
26165
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26166
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26167
26167
|
return this.client.sendOperationRequest(args, spec);
|
|
26168
26168
|
});
|
|
26169
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
26169
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26170
26170
|
var _a;
|
|
26171
26171
|
let currentRawResponse = undefined;
|
|
26172
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
26172
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
26173
26173
|
const callback = (rawResponse, flatResponse) => {
|
|
26174
26174
|
currentRawResponse = rawResponse;
|
|
26175
|
-
providedCallback === null || providedCallback ===
|
|
26175
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
26176
26176
|
};
|
|
26177
26177
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
26178
26178
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -26191,8 +26191,8 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26191
26191
|
spec: deleteOperationSpec$r,
|
|
26192
26192
|
});
|
|
26193
26193
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
26194
|
-
restoreFrom: options === null || options ===
|
|
26195
|
-
intervalInMs: options === null || options ===
|
|
26194
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
26195
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
26196
26196
|
resourceLocationConfig: "location",
|
|
26197
26197
|
});
|
|
26198
26198
|
yield poller.poll();
|
|
@@ -26207,7 +26207,7 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26207
26207
|
* @param options The options parameters.
|
|
26208
26208
|
*/
|
|
26209
26209
|
beginDeleteAndWait(resourceGroupName, registryName, environmentName, options) {
|
|
26210
|
-
return tslib.__awaiter(this,
|
|
26210
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26211
26211
|
const poller = yield this.beginDelete(resourceGroupName, registryName, environmentName, options);
|
|
26212
26212
|
return poller.pollUntilDone();
|
|
26213
26213
|
});
|
|
@@ -26231,17 +26231,17 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26231
26231
|
* @param options The options parameters.
|
|
26232
26232
|
*/
|
|
26233
26233
|
beginCreateOrUpdate(resourceGroupName, registryName, environmentName, body, options) {
|
|
26234
|
-
return tslib.__awaiter(this,
|
|
26235
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
26234
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26235
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26236
26236
|
return this.client.sendOperationRequest(args, spec);
|
|
26237
26237
|
});
|
|
26238
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
26238
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26239
26239
|
var _a;
|
|
26240
26240
|
let currentRawResponse = undefined;
|
|
26241
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
26241
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
26242
26242
|
const callback = (rawResponse, flatResponse) => {
|
|
26243
26243
|
currentRawResponse = rawResponse;
|
|
26244
|
-
providedCallback === null || providedCallback ===
|
|
26244
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
26245
26245
|
};
|
|
26246
26246
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
26247
26247
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -26260,8 +26260,8 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26260
26260
|
spec: createOrUpdateOperationSpec$r,
|
|
26261
26261
|
});
|
|
26262
26262
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
26263
|
-
restoreFrom: options === null || options ===
|
|
26264
|
-
intervalInMs: options === null || options ===
|
|
26263
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
26264
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
26265
26265
|
resourceLocationConfig: "original-uri",
|
|
26266
26266
|
});
|
|
26267
26267
|
yield poller.poll();
|
|
@@ -26277,7 +26277,7 @@ class RegistryEnvironmentContainersImpl {
|
|
|
26277
26277
|
* @param options The options parameters.
|
|
26278
26278
|
*/
|
|
26279
26279
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, environmentName, body, options) {
|
|
26280
|
-
return tslib.__awaiter(this,
|
|
26280
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26281
26281
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, environmentName, body, options);
|
|
26282
26282
|
return poller.pollUntilDone();
|
|
26283
26283
|
});
|
|
@@ -26454,7 +26454,7 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26454
26454
|
return this;
|
|
26455
26455
|
},
|
|
26456
26456
|
byPage: (settings) => {
|
|
26457
|
-
if (settings === null || settings ===
|
|
26457
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
26458
26458
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
26459
26459
|
}
|
|
26460
26460
|
return this.listPagingPage(resourceGroupName, registryName, environmentName, options, settings);
|
|
@@ -26464,7 +26464,7 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26464
26464
|
listPagingPage(resourceGroupName, registryName, environmentName, options, settings) {
|
|
26465
26465
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
26466
26466
|
let result;
|
|
26467
|
-
let continuationToken = settings === null || settings ===
|
|
26467
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
26468
26468
|
if (!continuationToken) {
|
|
26469
26469
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, environmentName, options));
|
|
26470
26470
|
let page = result.value || [];
|
|
@@ -26520,17 +26520,17 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26520
26520
|
* @param options The options parameters.
|
|
26521
26521
|
*/
|
|
26522
26522
|
beginDelete(resourceGroupName, registryName, environmentName, version, options) {
|
|
26523
|
-
return tslib.__awaiter(this,
|
|
26524
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
26523
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26524
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26525
26525
|
return this.client.sendOperationRequest(args, spec);
|
|
26526
26526
|
});
|
|
26527
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
26527
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26528
26528
|
var _a;
|
|
26529
26529
|
let currentRawResponse = undefined;
|
|
26530
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
26530
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
26531
26531
|
const callback = (rawResponse, flatResponse) => {
|
|
26532
26532
|
currentRawResponse = rawResponse;
|
|
26533
|
-
providedCallback === null || providedCallback ===
|
|
26533
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
26534
26534
|
};
|
|
26535
26535
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
26536
26536
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -26555,8 +26555,8 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26555
26555
|
spec: deleteOperationSpec$q,
|
|
26556
26556
|
});
|
|
26557
26557
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
26558
|
-
restoreFrom: options === null || options ===
|
|
26559
|
-
intervalInMs: options === null || options ===
|
|
26558
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
26559
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
26560
26560
|
resourceLocationConfig: "location",
|
|
26561
26561
|
});
|
|
26562
26562
|
yield poller.poll();
|
|
@@ -26572,7 +26572,7 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26572
26572
|
* @param options The options parameters.
|
|
26573
26573
|
*/
|
|
26574
26574
|
beginDeleteAndWait(resourceGroupName, registryName, environmentName, version, options) {
|
|
26575
|
-
return tslib.__awaiter(this,
|
|
26575
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26576
26576
|
const poller = yield this.beginDelete(resourceGroupName, registryName, environmentName, version, options);
|
|
26577
26577
|
return poller.pollUntilDone();
|
|
26578
26578
|
});
|
|
@@ -26598,17 +26598,17 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26598
26598
|
* @param options The options parameters.
|
|
26599
26599
|
*/
|
|
26600
26600
|
beginCreateOrUpdate(resourceGroupName, registryName, environmentName, version, body, options) {
|
|
26601
|
-
return tslib.__awaiter(this,
|
|
26602
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
26601
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26602
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26603
26603
|
return this.client.sendOperationRequest(args, spec);
|
|
26604
26604
|
});
|
|
26605
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
26605
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26606
26606
|
var _a;
|
|
26607
26607
|
let currentRawResponse = undefined;
|
|
26608
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
26608
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
26609
26609
|
const callback = (rawResponse, flatResponse) => {
|
|
26610
26610
|
currentRawResponse = rawResponse;
|
|
26611
|
-
providedCallback === null || providedCallback ===
|
|
26611
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
26612
26612
|
};
|
|
26613
26613
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
26614
26614
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -26634,8 +26634,8 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26634
26634
|
spec: createOrUpdateOperationSpec$q,
|
|
26635
26635
|
});
|
|
26636
26636
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
26637
|
-
restoreFrom: options === null || options ===
|
|
26638
|
-
intervalInMs: options === null || options ===
|
|
26637
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
26638
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
26639
26639
|
resourceLocationConfig: "original-uri",
|
|
26640
26640
|
});
|
|
26641
26641
|
yield poller.poll();
|
|
@@ -26652,7 +26652,7 @@ class RegistryEnvironmentVersionsImpl {
|
|
|
26652
26652
|
* @param options The options parameters.
|
|
26653
26653
|
*/
|
|
26654
26654
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, environmentName, version, body, options) {
|
|
26655
|
-
return tslib.__awaiter(this,
|
|
26655
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26656
26656
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, environmentName, version, body, options);
|
|
26657
26657
|
return poller.pollUntilDone();
|
|
26658
26658
|
});
|
|
@@ -26836,7 +26836,7 @@ class RegistryModelContainersImpl {
|
|
|
26836
26836
|
return this;
|
|
26837
26837
|
},
|
|
26838
26838
|
byPage: (settings) => {
|
|
26839
|
-
if (settings === null || settings ===
|
|
26839
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
26840
26840
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
26841
26841
|
}
|
|
26842
26842
|
return this.listPagingPage(resourceGroupName, registryName, options, settings);
|
|
@@ -26846,7 +26846,7 @@ class RegistryModelContainersImpl {
|
|
|
26846
26846
|
listPagingPage(resourceGroupName, registryName, options, settings) {
|
|
26847
26847
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
26848
26848
|
let result;
|
|
26849
|
-
let continuationToken = settings === null || settings ===
|
|
26849
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
26850
26850
|
if (!continuationToken) {
|
|
26851
26851
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, options));
|
|
26852
26852
|
let page = result.value || [];
|
|
@@ -26900,17 +26900,17 @@ class RegistryModelContainersImpl {
|
|
|
26900
26900
|
* @param options The options parameters.
|
|
26901
26901
|
*/
|
|
26902
26902
|
beginDelete(resourceGroupName, registryName, modelName, options) {
|
|
26903
|
-
return tslib.__awaiter(this,
|
|
26904
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
26903
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26904
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26905
26905
|
return this.client.sendOperationRequest(args, spec);
|
|
26906
26906
|
});
|
|
26907
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
26907
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26908
26908
|
var _a;
|
|
26909
26909
|
let currentRawResponse = undefined;
|
|
26910
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
26910
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
26911
26911
|
const callback = (rawResponse, flatResponse) => {
|
|
26912
26912
|
currentRawResponse = rawResponse;
|
|
26913
|
-
providedCallback === null || providedCallback ===
|
|
26913
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
26914
26914
|
};
|
|
26915
26915
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
26916
26916
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -26929,8 +26929,8 @@ class RegistryModelContainersImpl {
|
|
|
26929
26929
|
spec: deleteOperationSpec$p,
|
|
26930
26930
|
});
|
|
26931
26931
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
26932
|
-
restoreFrom: options === null || options ===
|
|
26933
|
-
intervalInMs: options === null || options ===
|
|
26932
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
26933
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
26934
26934
|
resourceLocationConfig: "location",
|
|
26935
26935
|
});
|
|
26936
26936
|
yield poller.poll();
|
|
@@ -26945,7 +26945,7 @@ class RegistryModelContainersImpl {
|
|
|
26945
26945
|
* @param options The options parameters.
|
|
26946
26946
|
*/
|
|
26947
26947
|
beginDeleteAndWait(resourceGroupName, registryName, modelName, options) {
|
|
26948
|
-
return tslib.__awaiter(this,
|
|
26948
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26949
26949
|
const poller = yield this.beginDelete(resourceGroupName, registryName, modelName, options);
|
|
26950
26950
|
return poller.pollUntilDone();
|
|
26951
26951
|
});
|
|
@@ -26969,17 +26969,17 @@ class RegistryModelContainersImpl {
|
|
|
26969
26969
|
* @param options The options parameters.
|
|
26970
26970
|
*/
|
|
26971
26971
|
beginCreateOrUpdate(resourceGroupName, registryName, modelName, body, options) {
|
|
26972
|
-
return tslib.__awaiter(this,
|
|
26973
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
26972
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26973
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26974
26974
|
return this.client.sendOperationRequest(args, spec);
|
|
26975
26975
|
});
|
|
26976
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
26976
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
26977
26977
|
var _a;
|
|
26978
26978
|
let currentRawResponse = undefined;
|
|
26979
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
26979
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
26980
26980
|
const callback = (rawResponse, flatResponse) => {
|
|
26981
26981
|
currentRawResponse = rawResponse;
|
|
26982
|
-
providedCallback === null || providedCallback ===
|
|
26982
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
26983
26983
|
};
|
|
26984
26984
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
26985
26985
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -26998,8 +26998,8 @@ class RegistryModelContainersImpl {
|
|
|
26998
26998
|
spec: createOrUpdateOperationSpec$p,
|
|
26999
26999
|
});
|
|
27000
27000
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
27001
|
-
restoreFrom: options === null || options ===
|
|
27002
|
-
intervalInMs: options === null || options ===
|
|
27001
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
27002
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
27003
27003
|
resourceLocationConfig: "original-uri",
|
|
27004
27004
|
});
|
|
27005
27005
|
yield poller.poll();
|
|
@@ -27015,7 +27015,7 @@ class RegistryModelContainersImpl {
|
|
|
27015
27015
|
* @param options The options parameters.
|
|
27016
27016
|
*/
|
|
27017
27017
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, modelName, body, options) {
|
|
27018
|
-
return tslib.__awaiter(this,
|
|
27018
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27019
27019
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, modelName, body, options);
|
|
27020
27020
|
return poller.pollUntilDone();
|
|
27021
27021
|
});
|
|
@@ -27192,7 +27192,7 @@ class RegistryModelVersionsImpl {
|
|
|
27192
27192
|
return this;
|
|
27193
27193
|
},
|
|
27194
27194
|
byPage: (settings) => {
|
|
27195
|
-
if (settings === null || settings ===
|
|
27195
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
27196
27196
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
27197
27197
|
}
|
|
27198
27198
|
return this.listPagingPage(resourceGroupName, registryName, modelName, options, settings);
|
|
@@ -27202,7 +27202,7 @@ class RegistryModelVersionsImpl {
|
|
|
27202
27202
|
listPagingPage(resourceGroupName, registryName, modelName, options, settings) {
|
|
27203
27203
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
27204
27204
|
let result;
|
|
27205
|
-
let continuationToken = settings === null || settings ===
|
|
27205
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
27206
27206
|
if (!continuationToken) {
|
|
27207
27207
|
result = yield tslib.__await(this._list(resourceGroupName, registryName, modelName, options));
|
|
27208
27208
|
let page = result.value || [];
|
|
@@ -27258,17 +27258,17 @@ class RegistryModelVersionsImpl {
|
|
|
27258
27258
|
* @param options The options parameters.
|
|
27259
27259
|
*/
|
|
27260
27260
|
beginDelete(resourceGroupName, registryName, modelName, version, options) {
|
|
27261
|
-
return tslib.__awaiter(this,
|
|
27262
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
27261
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27262
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27263
27263
|
return this.client.sendOperationRequest(args, spec);
|
|
27264
27264
|
});
|
|
27265
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
27265
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27266
27266
|
var _a;
|
|
27267
27267
|
let currentRawResponse = undefined;
|
|
27268
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
27268
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
27269
27269
|
const callback = (rawResponse, flatResponse) => {
|
|
27270
27270
|
currentRawResponse = rawResponse;
|
|
27271
|
-
providedCallback === null || providedCallback ===
|
|
27271
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
27272
27272
|
};
|
|
27273
27273
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
27274
27274
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -27287,8 +27287,8 @@ class RegistryModelVersionsImpl {
|
|
|
27287
27287
|
spec: deleteOperationSpec$o,
|
|
27288
27288
|
});
|
|
27289
27289
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
27290
|
-
restoreFrom: options === null || options ===
|
|
27291
|
-
intervalInMs: options === null || options ===
|
|
27290
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
27291
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
27292
27292
|
resourceLocationConfig: "location",
|
|
27293
27293
|
});
|
|
27294
27294
|
yield poller.poll();
|
|
@@ -27304,7 +27304,7 @@ class RegistryModelVersionsImpl {
|
|
|
27304
27304
|
* @param options The options parameters.
|
|
27305
27305
|
*/
|
|
27306
27306
|
beginDeleteAndWait(resourceGroupName, registryName, modelName, version, options) {
|
|
27307
|
-
return tslib.__awaiter(this,
|
|
27307
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27308
27308
|
const poller = yield this.beginDelete(resourceGroupName, registryName, modelName, version, options);
|
|
27309
27309
|
return poller.pollUntilDone();
|
|
27310
27310
|
});
|
|
@@ -27330,17 +27330,17 @@ class RegistryModelVersionsImpl {
|
|
|
27330
27330
|
* @param options The options parameters.
|
|
27331
27331
|
*/
|
|
27332
27332
|
beginCreateOrUpdate(resourceGroupName, registryName, modelName, version, body, options) {
|
|
27333
|
-
return tslib.__awaiter(this,
|
|
27334
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
27333
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27334
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27335
27335
|
return this.client.sendOperationRequest(args, spec);
|
|
27336
27336
|
});
|
|
27337
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
27337
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27338
27338
|
var _a;
|
|
27339
27339
|
let currentRawResponse = undefined;
|
|
27340
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
27340
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
27341
27341
|
const callback = (rawResponse, flatResponse) => {
|
|
27342
27342
|
currentRawResponse = rawResponse;
|
|
27343
|
-
providedCallback === null || providedCallback ===
|
|
27343
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
27344
27344
|
};
|
|
27345
27345
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
27346
27346
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -27366,8 +27366,8 @@ class RegistryModelVersionsImpl {
|
|
|
27366
27366
|
spec: createOrUpdateOperationSpec$o,
|
|
27367
27367
|
});
|
|
27368
27368
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
27369
|
-
restoreFrom: options === null || options ===
|
|
27370
|
-
intervalInMs: options === null || options ===
|
|
27369
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
27370
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
27371
27371
|
resourceLocationConfig: "original-uri",
|
|
27372
27372
|
});
|
|
27373
27373
|
yield poller.poll();
|
|
@@ -27384,7 +27384,7 @@ class RegistryModelVersionsImpl {
|
|
|
27384
27384
|
* @param options The options parameters.
|
|
27385
27385
|
*/
|
|
27386
27386
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, modelName, version, body, options) {
|
|
27387
|
-
return tslib.__awaiter(this,
|
|
27387
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27388
27388
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, modelName, version, body, options);
|
|
27389
27389
|
return poller.pollUntilDone();
|
|
27390
27390
|
});
|
|
@@ -27609,7 +27609,7 @@ class BatchEndpointsImpl {
|
|
|
27609
27609
|
return this;
|
|
27610
27610
|
},
|
|
27611
27611
|
byPage: (settings) => {
|
|
27612
|
-
if (settings === null || settings ===
|
|
27612
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
27613
27613
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
27614
27614
|
}
|
|
27615
27615
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -27619,7 +27619,7 @@ class BatchEndpointsImpl {
|
|
|
27619
27619
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
27620
27620
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
27621
27621
|
let result;
|
|
27622
|
-
let continuationToken = settings === null || settings ===
|
|
27622
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
27623
27623
|
if (!continuationToken) {
|
|
27624
27624
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
27625
27625
|
let page = result.value || [];
|
|
@@ -27673,17 +27673,17 @@ class BatchEndpointsImpl {
|
|
|
27673
27673
|
* @param options The options parameters.
|
|
27674
27674
|
*/
|
|
27675
27675
|
beginDelete(resourceGroupName, workspaceName, endpointName, options) {
|
|
27676
|
-
return tslib.__awaiter(this,
|
|
27677
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
27676
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27677
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27678
27678
|
return this.client.sendOperationRequest(args, spec);
|
|
27679
27679
|
});
|
|
27680
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
27680
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27681
27681
|
var _a;
|
|
27682
27682
|
let currentRawResponse = undefined;
|
|
27683
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
27683
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
27684
27684
|
const callback = (rawResponse, flatResponse) => {
|
|
27685
27685
|
currentRawResponse = rawResponse;
|
|
27686
|
-
providedCallback === null || providedCallback ===
|
|
27686
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
27687
27687
|
};
|
|
27688
27688
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
27689
27689
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -27702,8 +27702,8 @@ class BatchEndpointsImpl {
|
|
|
27702
27702
|
spec: deleteOperationSpec$n,
|
|
27703
27703
|
});
|
|
27704
27704
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
27705
|
-
restoreFrom: options === null || options ===
|
|
27706
|
-
intervalInMs: options === null || options ===
|
|
27705
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
27706
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
27707
27707
|
resourceLocationConfig: "location",
|
|
27708
27708
|
});
|
|
27709
27709
|
yield poller.poll();
|
|
@@ -27718,7 +27718,7 @@ class BatchEndpointsImpl {
|
|
|
27718
27718
|
* @param options The options parameters.
|
|
27719
27719
|
*/
|
|
27720
27720
|
beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, options) {
|
|
27721
|
-
return tslib.__awaiter(this,
|
|
27721
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27722
27722
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, options);
|
|
27723
27723
|
return poller.pollUntilDone();
|
|
27724
27724
|
});
|
|
@@ -27742,17 +27742,17 @@ class BatchEndpointsImpl {
|
|
|
27742
27742
|
* @param options The options parameters.
|
|
27743
27743
|
*/
|
|
27744
27744
|
beginUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
27745
|
-
return tslib.__awaiter(this,
|
|
27746
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
27745
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27746
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27747
27747
|
return this.client.sendOperationRequest(args, spec);
|
|
27748
27748
|
});
|
|
27749
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
27749
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27750
27750
|
var _a;
|
|
27751
27751
|
let currentRawResponse = undefined;
|
|
27752
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
27752
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
27753
27753
|
const callback = (rawResponse, flatResponse) => {
|
|
27754
27754
|
currentRawResponse = rawResponse;
|
|
27755
|
-
providedCallback === null || providedCallback ===
|
|
27755
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
27756
27756
|
};
|
|
27757
27757
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
27758
27758
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -27771,8 +27771,8 @@ class BatchEndpointsImpl {
|
|
|
27771
27771
|
spec: updateOperationSpec$5,
|
|
27772
27772
|
});
|
|
27773
27773
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
27774
|
-
restoreFrom: options === null || options ===
|
|
27775
|
-
intervalInMs: options === null || options ===
|
|
27774
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
27775
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
27776
27776
|
});
|
|
27777
27777
|
yield poller.poll();
|
|
27778
27778
|
return poller;
|
|
@@ -27787,7 +27787,7 @@ class BatchEndpointsImpl {
|
|
|
27787
27787
|
* @param options The options parameters.
|
|
27788
27788
|
*/
|
|
27789
27789
|
beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
27790
|
-
return tslib.__awaiter(this,
|
|
27790
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27791
27791
|
const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, body, options);
|
|
27792
27792
|
return poller.pollUntilDone();
|
|
27793
27793
|
});
|
|
@@ -27801,17 +27801,17 @@ class BatchEndpointsImpl {
|
|
|
27801
27801
|
* @param options The options parameters.
|
|
27802
27802
|
*/
|
|
27803
27803
|
beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
27804
|
-
return tslib.__awaiter(this,
|
|
27805
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
27804
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27805
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27806
27806
|
return this.client.sendOperationRequest(args, spec);
|
|
27807
27807
|
});
|
|
27808
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
27808
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27809
27809
|
var _a;
|
|
27810
27810
|
let currentRawResponse = undefined;
|
|
27811
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
27811
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
27812
27812
|
const callback = (rawResponse, flatResponse) => {
|
|
27813
27813
|
currentRawResponse = rawResponse;
|
|
27814
|
-
providedCallback === null || providedCallback ===
|
|
27814
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
27815
27815
|
};
|
|
27816
27816
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
27817
27817
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -27830,8 +27830,8 @@ class BatchEndpointsImpl {
|
|
|
27830
27830
|
spec: createOrUpdateOperationSpec$n,
|
|
27831
27831
|
});
|
|
27832
27832
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
27833
|
-
restoreFrom: options === null || options ===
|
|
27834
|
-
intervalInMs: options === null || options ===
|
|
27833
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
27834
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
27835
27835
|
resourceLocationConfig: "original-uri",
|
|
27836
27836
|
});
|
|
27837
27837
|
yield poller.poll();
|
|
@@ -27847,7 +27847,7 @@ class BatchEndpointsImpl {
|
|
|
27847
27847
|
* @param options The options parameters.
|
|
27848
27848
|
*/
|
|
27849
27849
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
27850
|
-
return tslib.__awaiter(this,
|
|
27850
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
27851
27851
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options);
|
|
27852
27852
|
return poller.pollUntilDone();
|
|
27853
27853
|
});
|
|
@@ -28085,7 +28085,7 @@ class BatchDeploymentsImpl {
|
|
|
28085
28085
|
return this;
|
|
28086
28086
|
},
|
|
28087
28087
|
byPage: (settings) => {
|
|
28088
|
-
if (settings === null || settings ===
|
|
28088
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
28089
28089
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
28090
28090
|
}
|
|
28091
28091
|
return this.listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings);
|
|
@@ -28095,7 +28095,7 @@ class BatchDeploymentsImpl {
|
|
|
28095
28095
|
listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings) {
|
|
28096
28096
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
28097
28097
|
let result;
|
|
28098
|
-
let continuationToken = settings === null || settings ===
|
|
28098
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
28099
28099
|
if (!continuationToken) {
|
|
28100
28100
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, endpointName, options));
|
|
28101
28101
|
let page = result.value || [];
|
|
@@ -28151,17 +28151,17 @@ class BatchDeploymentsImpl {
|
|
|
28151
28151
|
* @param options The options parameters.
|
|
28152
28152
|
*/
|
|
28153
28153
|
beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
|
|
28154
|
-
return tslib.__awaiter(this,
|
|
28155
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
28154
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28155
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28156
28156
|
return this.client.sendOperationRequest(args, spec);
|
|
28157
28157
|
});
|
|
28158
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
28158
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28159
28159
|
var _a;
|
|
28160
28160
|
let currentRawResponse = undefined;
|
|
28161
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
28161
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
28162
28162
|
const callback = (rawResponse, flatResponse) => {
|
|
28163
28163
|
currentRawResponse = rawResponse;
|
|
28164
|
-
providedCallback === null || providedCallback ===
|
|
28164
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
28165
28165
|
};
|
|
28166
28166
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
28167
28167
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -28186,8 +28186,8 @@ class BatchDeploymentsImpl {
|
|
|
28186
28186
|
spec: deleteOperationSpec$m,
|
|
28187
28187
|
});
|
|
28188
28188
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
28189
|
-
restoreFrom: options === null || options ===
|
|
28190
|
-
intervalInMs: options === null || options ===
|
|
28189
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
28190
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
28191
28191
|
resourceLocationConfig: "location",
|
|
28192
28192
|
});
|
|
28193
28193
|
yield poller.poll();
|
|
@@ -28203,7 +28203,7 @@ class BatchDeploymentsImpl {
|
|
|
28203
28203
|
* @param options The options parameters.
|
|
28204
28204
|
*/
|
|
28205
28205
|
beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
|
|
28206
|
-
return tslib.__awaiter(this,
|
|
28206
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28207
28207
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options);
|
|
28208
28208
|
return poller.pollUntilDone();
|
|
28209
28209
|
});
|
|
@@ -28235,17 +28235,17 @@ class BatchDeploymentsImpl {
|
|
|
28235
28235
|
* @param options The options parameters.
|
|
28236
28236
|
*/
|
|
28237
28237
|
beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
28238
|
-
return tslib.__awaiter(this,
|
|
28239
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
28238
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28239
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28240
28240
|
return this.client.sendOperationRequest(args, spec);
|
|
28241
28241
|
});
|
|
28242
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
28242
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28243
28243
|
var _a;
|
|
28244
28244
|
let currentRawResponse = undefined;
|
|
28245
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
28245
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
28246
28246
|
const callback = (rawResponse, flatResponse) => {
|
|
28247
28247
|
currentRawResponse = rawResponse;
|
|
28248
|
-
providedCallback === null || providedCallback ===
|
|
28248
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
28249
28249
|
};
|
|
28250
28250
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
28251
28251
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -28271,8 +28271,8 @@ class BatchDeploymentsImpl {
|
|
|
28271
28271
|
spec: updateOperationSpec$4,
|
|
28272
28272
|
});
|
|
28273
28273
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
28274
|
-
restoreFrom: options === null || options ===
|
|
28275
|
-
intervalInMs: options === null || options ===
|
|
28274
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
28275
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
28276
28276
|
});
|
|
28277
28277
|
yield poller.poll();
|
|
28278
28278
|
return poller;
|
|
@@ -28288,7 +28288,7 @@ class BatchDeploymentsImpl {
|
|
|
28288
28288
|
* @param options The options parameters.
|
|
28289
28289
|
*/
|
|
28290
28290
|
beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
28291
|
-
return tslib.__awaiter(this,
|
|
28291
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28292
28292
|
const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
|
|
28293
28293
|
return poller.pollUntilDone();
|
|
28294
28294
|
});
|
|
@@ -28303,17 +28303,17 @@ class BatchDeploymentsImpl {
|
|
|
28303
28303
|
* @param options The options parameters.
|
|
28304
28304
|
*/
|
|
28305
28305
|
beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
28306
|
-
return tslib.__awaiter(this,
|
|
28307
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
28306
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28307
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28308
28308
|
return this.client.sendOperationRequest(args, spec);
|
|
28309
28309
|
});
|
|
28310
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
28310
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28311
28311
|
var _a;
|
|
28312
28312
|
let currentRawResponse = undefined;
|
|
28313
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
28313
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
28314
28314
|
const callback = (rawResponse, flatResponse) => {
|
|
28315
28315
|
currentRawResponse = rawResponse;
|
|
28316
|
-
providedCallback === null || providedCallback ===
|
|
28316
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
28317
28317
|
};
|
|
28318
28318
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
28319
28319
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -28339,8 +28339,8 @@ class BatchDeploymentsImpl {
|
|
|
28339
28339
|
spec: createOrUpdateOperationSpec$m,
|
|
28340
28340
|
});
|
|
28341
28341
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
28342
|
-
restoreFrom: options === null || options ===
|
|
28343
|
-
intervalInMs: options === null || options ===
|
|
28342
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
28343
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
28344
28344
|
resourceLocationConfig: "original-uri",
|
|
28345
28345
|
});
|
|
28346
28346
|
yield poller.poll();
|
|
@@ -28357,7 +28357,7 @@ class BatchDeploymentsImpl {
|
|
|
28357
28357
|
* @param options The options parameters.
|
|
28358
28358
|
*/
|
|
28359
28359
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
28360
|
-
return tslib.__awaiter(this,
|
|
28360
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28361
28361
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
|
|
28362
28362
|
return poller.pollUntilDone();
|
|
28363
28363
|
});
|
|
@@ -28574,7 +28574,7 @@ class CodeContainersImpl {
|
|
|
28574
28574
|
return this;
|
|
28575
28575
|
},
|
|
28576
28576
|
byPage: (settings) => {
|
|
28577
|
-
if (settings === null || settings ===
|
|
28577
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
28578
28578
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
28579
28579
|
}
|
|
28580
28580
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -28584,7 +28584,7 @@ class CodeContainersImpl {
|
|
|
28584
28584
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
28585
28585
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
28586
28586
|
let result;
|
|
28587
|
-
let continuationToken = settings === null || settings ===
|
|
28587
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
28588
28588
|
if (!continuationToken) {
|
|
28589
28589
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
28590
28590
|
let page = result.value || [];
|
|
@@ -28821,7 +28821,7 @@ class CodeVersionsImpl {
|
|
|
28821
28821
|
return this;
|
|
28822
28822
|
},
|
|
28823
28823
|
byPage: (settings) => {
|
|
28824
|
-
if (settings === null || settings ===
|
|
28824
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
28825
28825
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
28826
28826
|
}
|
|
28827
28827
|
return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
|
|
@@ -28831,7 +28831,7 @@ class CodeVersionsImpl {
|
|
|
28831
28831
|
listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
|
|
28832
28832
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
28833
28833
|
let result;
|
|
28834
|
-
let continuationToken = settings === null || settings ===
|
|
28834
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
28835
28835
|
if (!continuationToken) {
|
|
28836
28836
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
|
|
28837
28837
|
let page = result.value || [];
|
|
@@ -28922,17 +28922,17 @@ class CodeVersionsImpl {
|
|
|
28922
28922
|
* @param options The options parameters.
|
|
28923
28923
|
*/
|
|
28924
28924
|
beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
|
|
28925
|
-
return tslib.__awaiter(this,
|
|
28926
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
28925
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28926
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28927
28927
|
return this.client.sendOperationRequest(args, spec);
|
|
28928
28928
|
});
|
|
28929
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
28929
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28930
28930
|
var _a;
|
|
28931
28931
|
let currentRawResponse = undefined;
|
|
28932
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
28932
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
28933
28933
|
const callback = (rawResponse, flatResponse) => {
|
|
28934
28934
|
currentRawResponse = rawResponse;
|
|
28935
|
-
providedCallback === null || providedCallback ===
|
|
28935
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
28936
28936
|
};
|
|
28937
28937
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
28938
28938
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -28951,8 +28951,8 @@ class CodeVersionsImpl {
|
|
|
28951
28951
|
spec: publishOperationSpec$4,
|
|
28952
28952
|
});
|
|
28953
28953
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
28954
|
-
restoreFrom: options === null || options ===
|
|
28955
|
-
intervalInMs: options === null || options ===
|
|
28954
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
28955
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
28956
28956
|
resourceLocationConfig: "location",
|
|
28957
28957
|
});
|
|
28958
28958
|
yield poller.poll();
|
|
@@ -28969,7 +28969,7 @@ class CodeVersionsImpl {
|
|
|
28969
28969
|
* @param options The options parameters.
|
|
28970
28970
|
*/
|
|
28971
28971
|
beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
28972
|
-
return tslib.__awaiter(this,
|
|
28972
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
28973
28973
|
const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
|
|
28974
28974
|
return poller.pollUntilDone();
|
|
28975
28975
|
});
|
|
@@ -29209,7 +29209,7 @@ class ComponentContainersImpl {
|
|
|
29209
29209
|
return this;
|
|
29210
29210
|
},
|
|
29211
29211
|
byPage: (settings) => {
|
|
29212
|
-
if (settings === null || settings ===
|
|
29212
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
29213
29213
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
29214
29214
|
}
|
|
29215
29215
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -29219,7 +29219,7 @@ class ComponentContainersImpl {
|
|
|
29219
29219
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
29220
29220
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
29221
29221
|
let result;
|
|
29222
|
-
let continuationToken = settings === null || settings ===
|
|
29222
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
29223
29223
|
if (!continuationToken) {
|
|
29224
29224
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
29225
29225
|
let page = result.value || [];
|
|
@@ -29460,7 +29460,7 @@ class ComponentVersionsImpl {
|
|
|
29460
29460
|
return this;
|
|
29461
29461
|
},
|
|
29462
29462
|
byPage: (settings) => {
|
|
29463
|
-
if (settings === null || settings ===
|
|
29463
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
29464
29464
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
29465
29465
|
}
|
|
29466
29466
|
return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
|
|
@@ -29470,7 +29470,7 @@ class ComponentVersionsImpl {
|
|
|
29470
29470
|
listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
|
|
29471
29471
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
29472
29472
|
let result;
|
|
29473
|
-
let continuationToken = settings === null || settings ===
|
|
29473
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
29474
29474
|
if (!continuationToken) {
|
|
29475
29475
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
|
|
29476
29476
|
let page = result.value || [];
|
|
@@ -29561,17 +29561,17 @@ class ComponentVersionsImpl {
|
|
|
29561
29561
|
* @param options The options parameters.
|
|
29562
29562
|
*/
|
|
29563
29563
|
beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
|
|
29564
|
-
return tslib.__awaiter(this,
|
|
29565
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
29564
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
29565
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
29566
29566
|
return this.client.sendOperationRequest(args, spec);
|
|
29567
29567
|
});
|
|
29568
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
29568
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
29569
29569
|
var _a;
|
|
29570
29570
|
let currentRawResponse = undefined;
|
|
29571
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
29571
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
29572
29572
|
const callback = (rawResponse, flatResponse) => {
|
|
29573
29573
|
currentRawResponse = rawResponse;
|
|
29574
|
-
providedCallback === null || providedCallback ===
|
|
29574
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
29575
29575
|
};
|
|
29576
29576
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
29577
29577
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -29590,8 +29590,8 @@ class ComponentVersionsImpl {
|
|
|
29590
29590
|
spec: publishOperationSpec$3,
|
|
29591
29591
|
});
|
|
29592
29592
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
29593
|
-
restoreFrom: options === null || options ===
|
|
29594
|
-
intervalInMs: options === null || options ===
|
|
29593
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
29594
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
29595
29595
|
resourceLocationConfig: "location",
|
|
29596
29596
|
});
|
|
29597
29597
|
yield poller.poll();
|
|
@@ -29608,7 +29608,7 @@ class ComponentVersionsImpl {
|
|
|
29608
29608
|
* @param options The options parameters.
|
|
29609
29609
|
*/
|
|
29610
29610
|
beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
29611
|
-
return tslib.__awaiter(this,
|
|
29611
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
29612
29612
|
const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
|
|
29613
29613
|
return poller.pollUntilDone();
|
|
29614
29614
|
});
|
|
@@ -29810,7 +29810,7 @@ class DataContainersImpl {
|
|
|
29810
29810
|
return this;
|
|
29811
29811
|
},
|
|
29812
29812
|
byPage: (settings) => {
|
|
29813
|
-
if (settings === null || settings ===
|
|
29813
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
29814
29814
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
29815
29815
|
}
|
|
29816
29816
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -29820,7 +29820,7 @@ class DataContainersImpl {
|
|
|
29820
29820
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
29821
29821
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
29822
29822
|
let result;
|
|
29823
|
-
let continuationToken = settings === null || settings ===
|
|
29823
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
29824
29824
|
if (!continuationToken) {
|
|
29825
29825
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
29826
29826
|
let page = result.value || [];
|
|
@@ -30061,7 +30061,7 @@ class DataVersionsImpl {
|
|
|
30061
30061
|
return this;
|
|
30062
30062
|
},
|
|
30063
30063
|
byPage: (settings) => {
|
|
30064
|
-
if (settings === null || settings ===
|
|
30064
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
30065
30065
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
30066
30066
|
}
|
|
30067
30067
|
return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
|
|
@@ -30071,7 +30071,7 @@ class DataVersionsImpl {
|
|
|
30071
30071
|
listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
|
|
30072
30072
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
30073
30073
|
let result;
|
|
30074
|
-
let continuationToken = settings === null || settings ===
|
|
30074
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
30075
30075
|
if (!continuationToken) {
|
|
30076
30076
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
|
|
30077
30077
|
let page = result.value || [];
|
|
@@ -30162,17 +30162,17 @@ class DataVersionsImpl {
|
|
|
30162
30162
|
* @param options The options parameters.
|
|
30163
30163
|
*/
|
|
30164
30164
|
beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
|
|
30165
|
-
return tslib.__awaiter(this,
|
|
30166
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
30165
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
30166
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
30167
30167
|
return this.client.sendOperationRequest(args, spec);
|
|
30168
30168
|
});
|
|
30169
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
30169
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
30170
30170
|
var _a;
|
|
30171
30171
|
let currentRawResponse = undefined;
|
|
30172
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
30172
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
30173
30173
|
const callback = (rawResponse, flatResponse) => {
|
|
30174
30174
|
currentRawResponse = rawResponse;
|
|
30175
|
-
providedCallback === null || providedCallback ===
|
|
30175
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
30176
30176
|
};
|
|
30177
30177
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
30178
30178
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -30191,8 +30191,8 @@ class DataVersionsImpl {
|
|
|
30191
30191
|
spec: publishOperationSpec$2,
|
|
30192
30192
|
});
|
|
30193
30193
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
30194
|
-
restoreFrom: options === null || options ===
|
|
30195
|
-
intervalInMs: options === null || options ===
|
|
30194
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
30195
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
30196
30196
|
resourceLocationConfig: "location",
|
|
30197
30197
|
});
|
|
30198
30198
|
yield poller.poll();
|
|
@@ -30209,7 +30209,7 @@ class DataVersionsImpl {
|
|
|
30209
30209
|
* @param options The options parameters.
|
|
30210
30210
|
*/
|
|
30211
30211
|
beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
30212
|
-
return tslib.__awaiter(this,
|
|
30212
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
30213
30213
|
const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
|
|
30214
30214
|
return poller.pollUntilDone();
|
|
30215
30215
|
});
|
|
@@ -30412,7 +30412,7 @@ class DatastoresImpl {
|
|
|
30412
30412
|
return this;
|
|
30413
30413
|
},
|
|
30414
30414
|
byPage: (settings) => {
|
|
30415
|
-
if (settings === null || settings ===
|
|
30415
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
30416
30416
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
30417
30417
|
}
|
|
30418
30418
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -30422,7 +30422,7 @@ class DatastoresImpl {
|
|
|
30422
30422
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
30423
30423
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
30424
30424
|
let result;
|
|
30425
|
-
let continuationToken = settings === null || settings ===
|
|
30425
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
30426
30426
|
if (!continuationToken) {
|
|
30427
30427
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
30428
30428
|
let page = result.value || [];
|
|
@@ -30699,7 +30699,7 @@ class EnvironmentContainersImpl {
|
|
|
30699
30699
|
return this;
|
|
30700
30700
|
},
|
|
30701
30701
|
byPage: (settings) => {
|
|
30702
|
-
if (settings === null || settings ===
|
|
30702
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
30703
30703
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
30704
30704
|
}
|
|
30705
30705
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -30709,7 +30709,7 @@ class EnvironmentContainersImpl {
|
|
|
30709
30709
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
30710
30710
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
30711
30711
|
let result;
|
|
30712
|
-
let continuationToken = settings === null || settings ===
|
|
30712
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
30713
30713
|
if (!continuationToken) {
|
|
30714
30714
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
30715
30715
|
let page = result.value || [];
|
|
@@ -30950,7 +30950,7 @@ class EnvironmentVersionsImpl {
|
|
|
30950
30950
|
return this;
|
|
30951
30951
|
},
|
|
30952
30952
|
byPage: (settings) => {
|
|
30953
|
-
if (settings === null || settings ===
|
|
30953
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
30954
30954
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
30955
30955
|
}
|
|
30956
30956
|
return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
|
|
@@ -30960,7 +30960,7 @@ class EnvironmentVersionsImpl {
|
|
|
30960
30960
|
listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
|
|
30961
30961
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
30962
30962
|
let result;
|
|
30963
|
-
let continuationToken = settings === null || settings ===
|
|
30963
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
30964
30964
|
if (!continuationToken) {
|
|
30965
30965
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
|
|
30966
30966
|
let page = result.value || [];
|
|
@@ -31051,17 +31051,17 @@ class EnvironmentVersionsImpl {
|
|
|
31051
31051
|
* @param options The options parameters.
|
|
31052
31052
|
*/
|
|
31053
31053
|
beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
|
|
31054
|
-
return tslib.__awaiter(this,
|
|
31055
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
31054
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31055
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31056
31056
|
return this.client.sendOperationRequest(args, spec);
|
|
31057
31057
|
});
|
|
31058
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
31058
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31059
31059
|
var _a;
|
|
31060
31060
|
let currentRawResponse = undefined;
|
|
31061
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
31061
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
31062
31062
|
const callback = (rawResponse, flatResponse) => {
|
|
31063
31063
|
currentRawResponse = rawResponse;
|
|
31064
|
-
providedCallback === null || providedCallback ===
|
|
31064
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
31065
31065
|
};
|
|
31066
31066
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
31067
31067
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -31080,8 +31080,8 @@ class EnvironmentVersionsImpl {
|
|
|
31080
31080
|
spec: publishOperationSpec$1,
|
|
31081
31081
|
});
|
|
31082
31082
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
31083
|
-
restoreFrom: options === null || options ===
|
|
31084
|
-
intervalInMs: options === null || options ===
|
|
31083
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
31084
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
31085
31085
|
resourceLocationConfig: "location",
|
|
31086
31086
|
});
|
|
31087
31087
|
yield poller.poll();
|
|
@@ -31098,7 +31098,7 @@ class EnvironmentVersionsImpl {
|
|
|
31098
31098
|
* @param options The options parameters.
|
|
31099
31099
|
*/
|
|
31100
31100
|
beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
31101
|
-
return tslib.__awaiter(this,
|
|
31101
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31102
31102
|
const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
|
|
31103
31103
|
return poller.pollUntilDone();
|
|
31104
31104
|
});
|
|
@@ -31300,7 +31300,7 @@ class FeaturesetContainersImpl {
|
|
|
31300
31300
|
return this;
|
|
31301
31301
|
},
|
|
31302
31302
|
byPage: (settings) => {
|
|
31303
|
-
if (settings === null || settings ===
|
|
31303
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
31304
31304
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
31305
31305
|
}
|
|
31306
31306
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -31310,7 +31310,7 @@ class FeaturesetContainersImpl {
|
|
|
31310
31310
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
31311
31311
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
31312
31312
|
let result;
|
|
31313
|
-
let continuationToken = settings === null || settings ===
|
|
31313
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
31314
31314
|
if (!continuationToken) {
|
|
31315
31315
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
31316
31316
|
let page = result.value || [];
|
|
@@ -31364,17 +31364,17 @@ class FeaturesetContainersImpl {
|
|
|
31364
31364
|
* @param options The options parameters.
|
|
31365
31365
|
*/
|
|
31366
31366
|
beginDelete(resourceGroupName, workspaceName, name, options) {
|
|
31367
|
-
return tslib.__awaiter(this,
|
|
31368
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
31367
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31368
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31369
31369
|
return this.client.sendOperationRequest(args, spec);
|
|
31370
31370
|
});
|
|
31371
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
31371
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31372
31372
|
var _a;
|
|
31373
31373
|
let currentRawResponse = undefined;
|
|
31374
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
31374
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
31375
31375
|
const callback = (rawResponse, flatResponse) => {
|
|
31376
31376
|
currentRawResponse = rawResponse;
|
|
31377
|
-
providedCallback === null || providedCallback ===
|
|
31377
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
31378
31378
|
};
|
|
31379
31379
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
31380
31380
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -31393,8 +31393,8 @@ class FeaturesetContainersImpl {
|
|
|
31393
31393
|
spec: deleteOperationSpec$c,
|
|
31394
31394
|
});
|
|
31395
31395
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
31396
|
-
restoreFrom: options === null || options ===
|
|
31397
|
-
intervalInMs: options === null || options ===
|
|
31396
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
31397
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
31398
31398
|
resourceLocationConfig: "location",
|
|
31399
31399
|
});
|
|
31400
31400
|
yield poller.poll();
|
|
@@ -31409,7 +31409,7 @@ class FeaturesetContainersImpl {
|
|
|
31409
31409
|
* @param options The options parameters.
|
|
31410
31410
|
*/
|
|
31411
31411
|
beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
|
|
31412
|
-
return tslib.__awaiter(this,
|
|
31412
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31413
31413
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
|
|
31414
31414
|
return poller.pollUntilDone();
|
|
31415
31415
|
});
|
|
@@ -31433,17 +31433,17 @@ class FeaturesetContainersImpl {
|
|
|
31433
31433
|
* @param options The options parameters.
|
|
31434
31434
|
*/
|
|
31435
31435
|
beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
|
|
31436
|
-
return tslib.__awaiter(this,
|
|
31437
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
31436
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31437
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31438
31438
|
return this.client.sendOperationRequest(args, spec);
|
|
31439
31439
|
});
|
|
31440
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
31440
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31441
31441
|
var _a;
|
|
31442
31442
|
let currentRawResponse = undefined;
|
|
31443
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
31443
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
31444
31444
|
const callback = (rawResponse, flatResponse) => {
|
|
31445
31445
|
currentRawResponse = rawResponse;
|
|
31446
|
-
providedCallback === null || providedCallback ===
|
|
31446
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
31447
31447
|
};
|
|
31448
31448
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
31449
31449
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -31462,8 +31462,8 @@ class FeaturesetContainersImpl {
|
|
|
31462
31462
|
spec: createOrUpdateOperationSpec$c,
|
|
31463
31463
|
});
|
|
31464
31464
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
31465
|
-
restoreFrom: options === null || options ===
|
|
31466
|
-
intervalInMs: options === null || options ===
|
|
31465
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
31466
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
31467
31467
|
resourceLocationConfig: "original-uri",
|
|
31468
31468
|
});
|
|
31469
31469
|
yield poller.poll();
|
|
@@ -31479,7 +31479,7 @@ class FeaturesetContainersImpl {
|
|
|
31479
31479
|
* @param options The options parameters.
|
|
31480
31480
|
*/
|
|
31481
31481
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
|
|
31482
|
-
return tslib.__awaiter(this,
|
|
31482
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31483
31483
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
|
|
31484
31484
|
return poller.pollUntilDone();
|
|
31485
31485
|
});
|
|
@@ -31662,7 +31662,7 @@ class FeaturesImpl {
|
|
|
31662
31662
|
return this;
|
|
31663
31663
|
},
|
|
31664
31664
|
byPage: (settings) => {
|
|
31665
|
-
if (settings === null || settings ===
|
|
31665
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
31666
31666
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
31667
31667
|
}
|
|
31668
31668
|
return this.listPagingPage(resourceGroupName, workspaceName, featuresetName, featuresetVersion, options, settings);
|
|
@@ -31672,7 +31672,7 @@ class FeaturesImpl {
|
|
|
31672
31672
|
listPagingPage(resourceGroupName, workspaceName, featuresetName, featuresetVersion, options, settings) {
|
|
31673
31673
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
31674
31674
|
let result;
|
|
31675
|
-
let continuationToken = settings === null || settings ===
|
|
31675
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
31676
31676
|
if (!continuationToken) {
|
|
31677
31677
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, featuresetName, featuresetVersion, options));
|
|
31678
31678
|
let page = result.value || [];
|
|
@@ -31880,7 +31880,7 @@ class FeaturesetVersionsImpl {
|
|
|
31880
31880
|
return this;
|
|
31881
31881
|
},
|
|
31882
31882
|
byPage: (settings) => {
|
|
31883
|
-
if (settings === null || settings ===
|
|
31883
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
31884
31884
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
31885
31885
|
}
|
|
31886
31886
|
return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
|
|
@@ -31890,7 +31890,7 @@ class FeaturesetVersionsImpl {
|
|
|
31890
31890
|
listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
|
|
31891
31891
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
31892
31892
|
let result;
|
|
31893
|
-
let continuationToken = settings === null || settings ===
|
|
31893
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
31894
31894
|
if (!continuationToken) {
|
|
31895
31895
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
|
|
31896
31896
|
let page = result.value || [];
|
|
@@ -31946,17 +31946,17 @@ class FeaturesetVersionsImpl {
|
|
|
31946
31946
|
* @param options The options parameters.
|
|
31947
31947
|
*/
|
|
31948
31948
|
beginDelete(resourceGroupName, workspaceName, name, version, options) {
|
|
31949
|
-
return tslib.__awaiter(this,
|
|
31950
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
31949
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31950
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31951
31951
|
return this.client.sendOperationRequest(args, spec);
|
|
31952
31952
|
});
|
|
31953
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
31953
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31954
31954
|
var _a;
|
|
31955
31955
|
let currentRawResponse = undefined;
|
|
31956
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
31956
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
31957
31957
|
const callback = (rawResponse, flatResponse) => {
|
|
31958
31958
|
currentRawResponse = rawResponse;
|
|
31959
|
-
providedCallback === null || providedCallback ===
|
|
31959
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
31960
31960
|
};
|
|
31961
31961
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
31962
31962
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -31975,8 +31975,8 @@ class FeaturesetVersionsImpl {
|
|
|
31975
31975
|
spec: deleteOperationSpec$b,
|
|
31976
31976
|
});
|
|
31977
31977
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
31978
|
-
restoreFrom: options === null || options ===
|
|
31979
|
-
intervalInMs: options === null || options ===
|
|
31978
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
31979
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
31980
31980
|
resourceLocationConfig: "location",
|
|
31981
31981
|
});
|
|
31982
31982
|
yield poller.poll();
|
|
@@ -31992,7 +31992,7 @@ class FeaturesetVersionsImpl {
|
|
|
31992
31992
|
* @param options The options parameters.
|
|
31993
31993
|
*/
|
|
31994
31994
|
beginDeleteAndWait(resourceGroupName, workspaceName, name, version, options) {
|
|
31995
|
-
return tslib.__awaiter(this,
|
|
31995
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
31996
31996
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, version, options);
|
|
31997
31997
|
return poller.pollUntilDone();
|
|
31998
31998
|
});
|
|
@@ -32018,17 +32018,17 @@ class FeaturesetVersionsImpl {
|
|
|
32018
32018
|
* @param options The options parameters.
|
|
32019
32019
|
*/
|
|
32020
32020
|
beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options) {
|
|
32021
|
-
return tslib.__awaiter(this,
|
|
32022
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
32021
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32022
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32023
32023
|
return this.client.sendOperationRequest(args, spec);
|
|
32024
32024
|
});
|
|
32025
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
32025
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32026
32026
|
var _a;
|
|
32027
32027
|
let currentRawResponse = undefined;
|
|
32028
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
32028
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
32029
32029
|
const callback = (rawResponse, flatResponse) => {
|
|
32030
32030
|
currentRawResponse = rawResponse;
|
|
32031
|
-
providedCallback === null || providedCallback ===
|
|
32031
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
32032
32032
|
};
|
|
32033
32033
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
32034
32034
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -32047,8 +32047,8 @@ class FeaturesetVersionsImpl {
|
|
|
32047
32047
|
spec: createOrUpdateOperationSpec$b,
|
|
32048
32048
|
});
|
|
32049
32049
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
32050
|
-
restoreFrom: options === null || options ===
|
|
32051
|
-
intervalInMs: options === null || options ===
|
|
32050
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
32051
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
32052
32052
|
resourceLocationConfig: "original-uri",
|
|
32053
32053
|
});
|
|
32054
32054
|
yield poller.poll();
|
|
@@ -32065,7 +32065,7 @@ class FeaturesetVersionsImpl {
|
|
|
32065
32065
|
* @param options The options parameters.
|
|
32066
32066
|
*/
|
|
32067
32067
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
32068
|
-
return tslib.__awaiter(this,
|
|
32068
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32069
32069
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options);
|
|
32070
32070
|
return poller.pollUntilDone();
|
|
32071
32071
|
});
|
|
@@ -32080,17 +32080,17 @@ class FeaturesetVersionsImpl {
|
|
|
32080
32080
|
* @param options The options parameters.
|
|
32081
32081
|
*/
|
|
32082
32082
|
beginBackfill(resourceGroupName, workspaceName, name, version, body, options) {
|
|
32083
|
-
return tslib.__awaiter(this,
|
|
32084
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
32083
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32084
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32085
32085
|
return this.client.sendOperationRequest(args, spec);
|
|
32086
32086
|
});
|
|
32087
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
32087
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32088
32088
|
var _a;
|
|
32089
32089
|
let currentRawResponse = undefined;
|
|
32090
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
32090
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
32091
32091
|
const callback = (rawResponse, flatResponse) => {
|
|
32092
32092
|
currentRawResponse = rawResponse;
|
|
32093
|
-
providedCallback === null || providedCallback ===
|
|
32093
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
32094
32094
|
};
|
|
32095
32095
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
32096
32096
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -32109,8 +32109,8 @@ class FeaturesetVersionsImpl {
|
|
|
32109
32109
|
spec: backfillOperationSpec,
|
|
32110
32110
|
});
|
|
32111
32111
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
32112
|
-
restoreFrom: options === null || options ===
|
|
32113
|
-
intervalInMs: options === null || options ===
|
|
32112
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
32113
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
32114
32114
|
resourceLocationConfig: "location",
|
|
32115
32115
|
});
|
|
32116
32116
|
yield poller.poll();
|
|
@@ -32127,7 +32127,7 @@ class FeaturesetVersionsImpl {
|
|
|
32127
32127
|
* @param options The options parameters.
|
|
32128
32128
|
*/
|
|
32129
32129
|
beginBackfillAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
32130
|
-
return tslib.__awaiter(this,
|
|
32130
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32131
32131
|
const poller = yield this.beginBackfill(resourceGroupName, workspaceName, name, version, body, options);
|
|
32132
32132
|
return poller.pollUntilDone();
|
|
32133
32133
|
});
|
|
@@ -32350,7 +32350,7 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32350
32350
|
return this;
|
|
32351
32351
|
},
|
|
32352
32352
|
byPage: (settings) => {
|
|
32353
|
-
if (settings === null || settings ===
|
|
32353
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
32354
32354
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
32355
32355
|
}
|
|
32356
32356
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -32360,7 +32360,7 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32360
32360
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
32361
32361
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
32362
32362
|
let result;
|
|
32363
|
-
let continuationToken = settings === null || settings ===
|
|
32363
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
32364
32364
|
if (!continuationToken) {
|
|
32365
32365
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
32366
32366
|
let page = result.value || [];
|
|
@@ -32414,17 +32414,17 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32414
32414
|
* @param options The options parameters.
|
|
32415
32415
|
*/
|
|
32416
32416
|
beginDelete(resourceGroupName, workspaceName, name, options) {
|
|
32417
|
-
return tslib.__awaiter(this,
|
|
32418
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
32417
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32418
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32419
32419
|
return this.client.sendOperationRequest(args, spec);
|
|
32420
32420
|
});
|
|
32421
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
32421
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32422
32422
|
var _a;
|
|
32423
32423
|
let currentRawResponse = undefined;
|
|
32424
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
32424
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
32425
32425
|
const callback = (rawResponse, flatResponse) => {
|
|
32426
32426
|
currentRawResponse = rawResponse;
|
|
32427
|
-
providedCallback === null || providedCallback ===
|
|
32427
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
32428
32428
|
};
|
|
32429
32429
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
32430
32430
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -32443,8 +32443,8 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32443
32443
|
spec: deleteOperationSpec$a,
|
|
32444
32444
|
});
|
|
32445
32445
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
32446
|
-
restoreFrom: options === null || options ===
|
|
32447
|
-
intervalInMs: options === null || options ===
|
|
32446
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
32447
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
32448
32448
|
resourceLocationConfig: "location",
|
|
32449
32449
|
});
|
|
32450
32450
|
yield poller.poll();
|
|
@@ -32459,7 +32459,7 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32459
32459
|
* @param options The options parameters.
|
|
32460
32460
|
*/
|
|
32461
32461
|
beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
|
|
32462
|
-
return tslib.__awaiter(this,
|
|
32462
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32463
32463
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
|
|
32464
32464
|
return poller.pollUntilDone();
|
|
32465
32465
|
});
|
|
@@ -32483,17 +32483,17 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32483
32483
|
* @param options The options parameters.
|
|
32484
32484
|
*/
|
|
32485
32485
|
beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
|
|
32486
|
-
return tslib.__awaiter(this,
|
|
32487
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
32486
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32487
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32488
32488
|
return this.client.sendOperationRequest(args, spec);
|
|
32489
32489
|
});
|
|
32490
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
32490
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32491
32491
|
var _a;
|
|
32492
32492
|
let currentRawResponse = undefined;
|
|
32493
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
32493
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
32494
32494
|
const callback = (rawResponse, flatResponse) => {
|
|
32495
32495
|
currentRawResponse = rawResponse;
|
|
32496
|
-
providedCallback === null || providedCallback ===
|
|
32496
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
32497
32497
|
};
|
|
32498
32498
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
32499
32499
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -32512,8 +32512,8 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32512
32512
|
spec: createOrUpdateOperationSpec$a,
|
|
32513
32513
|
});
|
|
32514
32514
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
32515
|
-
restoreFrom: options === null || options ===
|
|
32516
|
-
intervalInMs: options === null || options ===
|
|
32515
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
32516
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
32517
32517
|
resourceLocationConfig: "original-uri",
|
|
32518
32518
|
});
|
|
32519
32519
|
yield poller.poll();
|
|
@@ -32529,7 +32529,7 @@ class FeaturestoreEntityContainersImpl {
|
|
|
32529
32529
|
* @param options The options parameters.
|
|
32530
32530
|
*/
|
|
32531
32531
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
|
|
32532
|
-
return tslib.__awaiter(this,
|
|
32532
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32533
32533
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
|
|
32534
32534
|
return poller.pollUntilDone();
|
|
32535
32535
|
});
|
|
@@ -32711,7 +32711,7 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32711
32711
|
return this;
|
|
32712
32712
|
},
|
|
32713
32713
|
byPage: (settings) => {
|
|
32714
|
-
if (settings === null || settings ===
|
|
32714
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
32715
32715
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
32716
32716
|
}
|
|
32717
32717
|
return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
|
|
@@ -32721,7 +32721,7 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32721
32721
|
listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
|
|
32722
32722
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
32723
32723
|
let result;
|
|
32724
|
-
let continuationToken = settings === null || settings ===
|
|
32724
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
32725
32725
|
if (!continuationToken) {
|
|
32726
32726
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
|
|
32727
32727
|
let page = result.value || [];
|
|
@@ -32777,17 +32777,17 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32777
32777
|
* @param options The options parameters.
|
|
32778
32778
|
*/
|
|
32779
32779
|
beginDelete(resourceGroupName, workspaceName, name, version, options) {
|
|
32780
|
-
return tslib.__awaiter(this,
|
|
32781
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
32780
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32781
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32782
32782
|
return this.client.sendOperationRequest(args, spec);
|
|
32783
32783
|
});
|
|
32784
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
32784
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32785
32785
|
var _a;
|
|
32786
32786
|
let currentRawResponse = undefined;
|
|
32787
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
32787
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
32788
32788
|
const callback = (rawResponse, flatResponse) => {
|
|
32789
32789
|
currentRawResponse = rawResponse;
|
|
32790
|
-
providedCallback === null || providedCallback ===
|
|
32790
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
32791
32791
|
};
|
|
32792
32792
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
32793
32793
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -32806,8 +32806,8 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32806
32806
|
spec: deleteOperationSpec$9,
|
|
32807
32807
|
});
|
|
32808
32808
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
32809
|
-
restoreFrom: options === null || options ===
|
|
32810
|
-
intervalInMs: options === null || options ===
|
|
32809
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
32810
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
32811
32811
|
resourceLocationConfig: "location",
|
|
32812
32812
|
});
|
|
32813
32813
|
yield poller.poll();
|
|
@@ -32823,7 +32823,7 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32823
32823
|
* @param options The options parameters.
|
|
32824
32824
|
*/
|
|
32825
32825
|
beginDeleteAndWait(resourceGroupName, workspaceName, name, version, options) {
|
|
32826
|
-
return tslib.__awaiter(this,
|
|
32826
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32827
32827
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, version, options);
|
|
32828
32828
|
return poller.pollUntilDone();
|
|
32829
32829
|
});
|
|
@@ -32849,17 +32849,17 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32849
32849
|
* @param options The options parameters.
|
|
32850
32850
|
*/
|
|
32851
32851
|
beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options) {
|
|
32852
|
-
return tslib.__awaiter(this,
|
|
32853
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
32852
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32853
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32854
32854
|
return this.client.sendOperationRequest(args, spec);
|
|
32855
32855
|
});
|
|
32856
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
32856
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32857
32857
|
var _a;
|
|
32858
32858
|
let currentRawResponse = undefined;
|
|
32859
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
32859
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
32860
32860
|
const callback = (rawResponse, flatResponse) => {
|
|
32861
32861
|
currentRawResponse = rawResponse;
|
|
32862
|
-
providedCallback === null || providedCallback ===
|
|
32862
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
32863
32863
|
};
|
|
32864
32864
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
32865
32865
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -32878,8 +32878,8 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32878
32878
|
spec: createOrUpdateOperationSpec$9,
|
|
32879
32879
|
});
|
|
32880
32880
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
32881
|
-
restoreFrom: options === null || options ===
|
|
32882
|
-
intervalInMs: options === null || options ===
|
|
32881
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
32882
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
32883
32883
|
resourceLocationConfig: "original-uri",
|
|
32884
32884
|
});
|
|
32885
32885
|
yield poller.poll();
|
|
@@ -32896,7 +32896,7 @@ class FeaturestoreEntityVersionsImpl {
|
|
|
32896
32896
|
* @param options The options parameters.
|
|
32897
32897
|
*/
|
|
32898
32898
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
32899
|
-
return tslib.__awaiter(this,
|
|
32899
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
32900
32900
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, version, body, options);
|
|
32901
32901
|
return poller.pollUntilDone();
|
|
32902
32902
|
});
|
|
@@ -33085,7 +33085,7 @@ class JobsImpl {
|
|
|
33085
33085
|
return this;
|
|
33086
33086
|
},
|
|
33087
33087
|
byPage: (settings) => {
|
|
33088
|
-
if (settings === null || settings ===
|
|
33088
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
33089
33089
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
33090
33090
|
}
|
|
33091
33091
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -33095,7 +33095,7 @@ class JobsImpl {
|
|
|
33095
33095
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
33096
33096
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
33097
33097
|
let result;
|
|
33098
|
-
let continuationToken = settings === null || settings ===
|
|
33098
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
33099
33099
|
if (!continuationToken) {
|
|
33100
33100
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
33101
33101
|
let page = result.value || [];
|
|
@@ -33149,17 +33149,17 @@ class JobsImpl {
|
|
|
33149
33149
|
* @param options The options parameters.
|
|
33150
33150
|
*/
|
|
33151
33151
|
beginDelete(resourceGroupName, workspaceName, id, options) {
|
|
33152
|
-
return tslib.__awaiter(this,
|
|
33153
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
33152
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33153
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33154
33154
|
return this.client.sendOperationRequest(args, spec);
|
|
33155
33155
|
});
|
|
33156
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
33156
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33157
33157
|
var _a;
|
|
33158
33158
|
let currentRawResponse = undefined;
|
|
33159
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
33159
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
33160
33160
|
const callback = (rawResponse, flatResponse) => {
|
|
33161
33161
|
currentRawResponse = rawResponse;
|
|
33162
|
-
providedCallback === null || providedCallback ===
|
|
33162
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
33163
33163
|
};
|
|
33164
33164
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
33165
33165
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -33178,8 +33178,8 @@ class JobsImpl {
|
|
|
33178
33178
|
spec: deleteOperationSpec$8,
|
|
33179
33179
|
});
|
|
33180
33180
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
33181
|
-
restoreFrom: options === null || options ===
|
|
33182
|
-
intervalInMs: options === null || options ===
|
|
33181
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
33182
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
33183
33183
|
resourceLocationConfig: "location",
|
|
33184
33184
|
});
|
|
33185
33185
|
yield poller.poll();
|
|
@@ -33194,7 +33194,7 @@ class JobsImpl {
|
|
|
33194
33194
|
* @param options The options parameters.
|
|
33195
33195
|
*/
|
|
33196
33196
|
beginDeleteAndWait(resourceGroupName, workspaceName, id, options) {
|
|
33197
|
-
return tslib.__awaiter(this,
|
|
33197
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33198
33198
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, id, options);
|
|
33199
33199
|
return poller.pollUntilDone();
|
|
33200
33200
|
});
|
|
@@ -33229,17 +33229,17 @@ class JobsImpl {
|
|
|
33229
33229
|
* @param options The options parameters.
|
|
33230
33230
|
*/
|
|
33231
33231
|
beginCancel(resourceGroupName, workspaceName, id, options) {
|
|
33232
|
-
return tslib.__awaiter(this,
|
|
33233
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
33232
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33233
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33234
33234
|
return this.client.sendOperationRequest(args, spec);
|
|
33235
33235
|
});
|
|
33236
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
33236
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33237
33237
|
var _a;
|
|
33238
33238
|
let currentRawResponse = undefined;
|
|
33239
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
33239
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
33240
33240
|
const callback = (rawResponse, flatResponse) => {
|
|
33241
33241
|
currentRawResponse = rawResponse;
|
|
33242
|
-
providedCallback === null || providedCallback ===
|
|
33242
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
33243
33243
|
};
|
|
33244
33244
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
33245
33245
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -33258,8 +33258,8 @@ class JobsImpl {
|
|
|
33258
33258
|
spec: cancelOperationSpec,
|
|
33259
33259
|
});
|
|
33260
33260
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
33261
|
-
restoreFrom: options === null || options ===
|
|
33262
|
-
intervalInMs: options === null || options ===
|
|
33261
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
33262
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
33263
33263
|
resourceLocationConfig: "location",
|
|
33264
33264
|
});
|
|
33265
33265
|
yield poller.poll();
|
|
@@ -33274,7 +33274,7 @@ class JobsImpl {
|
|
|
33274
33274
|
* @param options The options parameters.
|
|
33275
33275
|
*/
|
|
33276
33276
|
beginCancelAndWait(resourceGroupName, workspaceName, id, options) {
|
|
33277
|
-
return tslib.__awaiter(this,
|
|
33277
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33278
33278
|
const poller = yield this.beginCancel(resourceGroupName, workspaceName, id, options);
|
|
33279
33279
|
return poller.pollUntilDone();
|
|
33280
33280
|
});
|
|
@@ -33470,7 +33470,7 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33470
33470
|
return this;
|
|
33471
33471
|
},
|
|
33472
33472
|
byPage: (settings) => {
|
|
33473
|
-
if (settings === null || settings ===
|
|
33473
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
33474
33474
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
33475
33475
|
}
|
|
33476
33476
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -33480,7 +33480,7 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33480
33480
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
33481
33481
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
33482
33482
|
let result;
|
|
33483
|
-
let continuationToken = settings === null || settings ===
|
|
33483
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
33484
33484
|
if (!continuationToken) {
|
|
33485
33485
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
33486
33486
|
let page = result.value || [];
|
|
@@ -33534,17 +33534,17 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33534
33534
|
* @param options The options parameters.
|
|
33535
33535
|
*/
|
|
33536
33536
|
beginDelete(resourceGroupName, workspaceName, name, options) {
|
|
33537
|
-
return tslib.__awaiter(this,
|
|
33538
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
33537
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33538
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33539
33539
|
return this.client.sendOperationRequest(args, spec);
|
|
33540
33540
|
});
|
|
33541
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
33541
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33542
33542
|
var _a;
|
|
33543
33543
|
let currentRawResponse = undefined;
|
|
33544
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
33544
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
33545
33545
|
const callback = (rawResponse, flatResponse) => {
|
|
33546
33546
|
currentRawResponse = rawResponse;
|
|
33547
|
-
providedCallback === null || providedCallback ===
|
|
33547
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
33548
33548
|
};
|
|
33549
33549
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
33550
33550
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -33563,8 +33563,8 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33563
33563
|
spec: deleteOperationSpec$7,
|
|
33564
33564
|
});
|
|
33565
33565
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
33566
|
-
restoreFrom: options === null || options ===
|
|
33567
|
-
intervalInMs: options === null || options ===
|
|
33566
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
33567
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
33568
33568
|
resourceLocationConfig: "location",
|
|
33569
33569
|
});
|
|
33570
33570
|
yield poller.poll();
|
|
@@ -33579,7 +33579,7 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33579
33579
|
* @param options The options parameters.
|
|
33580
33580
|
*/
|
|
33581
33581
|
beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
|
|
33582
|
-
return tslib.__awaiter(this,
|
|
33582
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33583
33583
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
|
|
33584
33584
|
return poller.pollUntilDone();
|
|
33585
33585
|
});
|
|
@@ -33603,17 +33603,17 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33603
33603
|
* @param options The options parameters.
|
|
33604
33604
|
*/
|
|
33605
33605
|
beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
|
|
33606
|
-
return tslib.__awaiter(this,
|
|
33607
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
33606
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33607
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33608
33608
|
return this.client.sendOperationRequest(args, spec);
|
|
33609
33609
|
});
|
|
33610
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
33610
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33611
33611
|
var _a;
|
|
33612
33612
|
let currentRawResponse = undefined;
|
|
33613
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
33613
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
33614
33614
|
const callback = (rawResponse, flatResponse) => {
|
|
33615
33615
|
currentRawResponse = rawResponse;
|
|
33616
|
-
providedCallback === null || providedCallback ===
|
|
33616
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
33617
33617
|
};
|
|
33618
33618
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
33619
33619
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -33632,8 +33632,8 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33632
33632
|
spec: createOrUpdateOperationSpec$7,
|
|
33633
33633
|
});
|
|
33634
33634
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
33635
|
-
restoreFrom: options === null || options ===
|
|
33636
|
-
intervalInMs: options === null || options ===
|
|
33635
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
33636
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
33637
33637
|
resourceLocationConfig: "original-uri",
|
|
33638
33638
|
});
|
|
33639
33639
|
yield poller.poll();
|
|
@@ -33649,7 +33649,7 @@ class MarketplaceSubscriptionsImpl {
|
|
|
33649
33649
|
* @param options The options parameters.
|
|
33650
33650
|
*/
|
|
33651
33651
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
|
|
33652
|
-
return tslib.__awaiter(this,
|
|
33652
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
33653
33653
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
|
|
33654
33654
|
return poller.pollUntilDone();
|
|
33655
33655
|
});
|
|
@@ -33829,7 +33829,7 @@ class ModelContainersImpl {
|
|
|
33829
33829
|
return this;
|
|
33830
33830
|
},
|
|
33831
33831
|
byPage: (settings) => {
|
|
33832
|
-
if (settings === null || settings ===
|
|
33832
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
33833
33833
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
33834
33834
|
}
|
|
33835
33835
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -33839,7 +33839,7 @@ class ModelContainersImpl {
|
|
|
33839
33839
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
33840
33840
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
33841
33841
|
let result;
|
|
33842
|
-
let continuationToken = settings === null || settings ===
|
|
33842
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
33843
33843
|
if (!continuationToken) {
|
|
33844
33844
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
33845
33845
|
let page = result.value || [];
|
|
@@ -34081,7 +34081,7 @@ class ModelVersionsImpl {
|
|
|
34081
34081
|
return this;
|
|
34082
34082
|
},
|
|
34083
34083
|
byPage: (settings) => {
|
|
34084
|
-
if (settings === null || settings ===
|
|
34084
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
34085
34085
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
34086
34086
|
}
|
|
34087
34087
|
return this.listPagingPage(resourceGroupName, workspaceName, name, options, settings);
|
|
@@ -34091,7 +34091,7 @@ class ModelVersionsImpl {
|
|
|
34091
34091
|
listPagingPage(resourceGroupName, workspaceName, name, options, settings) {
|
|
34092
34092
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
34093
34093
|
let result;
|
|
34094
|
-
let continuationToken = settings === null || settings ===
|
|
34094
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
34095
34095
|
if (!continuationToken) {
|
|
34096
34096
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, name, options));
|
|
34097
34097
|
let page = result.value || [];
|
|
@@ -34182,17 +34182,17 @@ class ModelVersionsImpl {
|
|
|
34182
34182
|
* @param options The options parameters.
|
|
34183
34183
|
*/
|
|
34184
34184
|
beginPublish(resourceGroupName, workspaceName, name, version, body, options) {
|
|
34185
|
-
return tslib.__awaiter(this,
|
|
34186
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
34185
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34186
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34187
34187
|
return this.client.sendOperationRequest(args, spec);
|
|
34188
34188
|
});
|
|
34189
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
34189
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34190
34190
|
var _a;
|
|
34191
34191
|
let currentRawResponse = undefined;
|
|
34192
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
34192
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
34193
34193
|
const callback = (rawResponse, flatResponse) => {
|
|
34194
34194
|
currentRawResponse = rawResponse;
|
|
34195
|
-
providedCallback === null || providedCallback ===
|
|
34195
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
34196
34196
|
};
|
|
34197
34197
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
34198
34198
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -34211,8 +34211,8 @@ class ModelVersionsImpl {
|
|
|
34211
34211
|
spec: publishOperationSpec,
|
|
34212
34212
|
});
|
|
34213
34213
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
34214
|
-
restoreFrom: options === null || options ===
|
|
34215
|
-
intervalInMs: options === null || options ===
|
|
34214
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
34215
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
34216
34216
|
resourceLocationConfig: "location",
|
|
34217
34217
|
});
|
|
34218
34218
|
yield poller.poll();
|
|
@@ -34229,7 +34229,7 @@ class ModelVersionsImpl {
|
|
|
34229
34229
|
* @param options The options parameters.
|
|
34230
34230
|
*/
|
|
34231
34231
|
beginPublishAndWait(resourceGroupName, workspaceName, name, version, body, options) {
|
|
34232
|
-
return tslib.__awaiter(this,
|
|
34232
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34233
34233
|
const poller = yield this.beginPublish(resourceGroupName, workspaceName, name, version, body, options);
|
|
34234
34234
|
return poller.pollUntilDone();
|
|
34235
34235
|
});
|
|
@@ -34437,7 +34437,7 @@ class OnlineEndpointsImpl {
|
|
|
34437
34437
|
return this;
|
|
34438
34438
|
},
|
|
34439
34439
|
byPage: (settings) => {
|
|
34440
|
-
if (settings === null || settings ===
|
|
34440
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
34441
34441
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
34442
34442
|
}
|
|
34443
34443
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -34447,7 +34447,7 @@ class OnlineEndpointsImpl {
|
|
|
34447
34447
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
34448
34448
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
34449
34449
|
let result;
|
|
34450
|
-
let continuationToken = settings === null || settings ===
|
|
34450
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
34451
34451
|
if (!continuationToken) {
|
|
34452
34452
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
34453
34453
|
let page = result.value || [];
|
|
@@ -34501,17 +34501,17 @@ class OnlineEndpointsImpl {
|
|
|
34501
34501
|
* @param options The options parameters.
|
|
34502
34502
|
*/
|
|
34503
34503
|
beginDelete(resourceGroupName, workspaceName, endpointName, options) {
|
|
34504
|
-
return tslib.__awaiter(this,
|
|
34505
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
34504
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34505
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34506
34506
|
return this.client.sendOperationRequest(args, spec);
|
|
34507
34507
|
});
|
|
34508
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
34508
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34509
34509
|
var _a;
|
|
34510
34510
|
let currentRawResponse = undefined;
|
|
34511
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
34511
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
34512
34512
|
const callback = (rawResponse, flatResponse) => {
|
|
34513
34513
|
currentRawResponse = rawResponse;
|
|
34514
|
-
providedCallback === null || providedCallback ===
|
|
34514
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
34515
34515
|
};
|
|
34516
34516
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
34517
34517
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -34530,8 +34530,8 @@ class OnlineEndpointsImpl {
|
|
|
34530
34530
|
spec: deleteOperationSpec$4,
|
|
34531
34531
|
});
|
|
34532
34532
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
34533
|
-
restoreFrom: options === null || options ===
|
|
34534
|
-
intervalInMs: options === null || options ===
|
|
34533
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
34534
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
34535
34535
|
resourceLocationConfig: "location",
|
|
34536
34536
|
});
|
|
34537
34537
|
yield poller.poll();
|
|
@@ -34546,7 +34546,7 @@ class OnlineEndpointsImpl {
|
|
|
34546
34546
|
* @param options The options parameters.
|
|
34547
34547
|
*/
|
|
34548
34548
|
beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, options) {
|
|
34549
|
-
return tslib.__awaiter(this,
|
|
34549
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34550
34550
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, options);
|
|
34551
34551
|
return poller.pollUntilDone();
|
|
34552
34552
|
});
|
|
@@ -34570,17 +34570,17 @@ class OnlineEndpointsImpl {
|
|
|
34570
34570
|
* @param options The options parameters.
|
|
34571
34571
|
*/
|
|
34572
34572
|
beginUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
34573
|
-
return tslib.__awaiter(this,
|
|
34574
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
34573
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34574
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34575
34575
|
return this.client.sendOperationRequest(args, spec);
|
|
34576
34576
|
});
|
|
34577
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
34577
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34578
34578
|
var _a;
|
|
34579
34579
|
let currentRawResponse = undefined;
|
|
34580
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
34580
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
34581
34581
|
const callback = (rawResponse, flatResponse) => {
|
|
34582
34582
|
currentRawResponse = rawResponse;
|
|
34583
|
-
providedCallback === null || providedCallback ===
|
|
34583
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
34584
34584
|
};
|
|
34585
34585
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
34586
34586
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -34599,8 +34599,8 @@ class OnlineEndpointsImpl {
|
|
|
34599
34599
|
spec: updateOperationSpec$3,
|
|
34600
34600
|
});
|
|
34601
34601
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
34602
|
-
restoreFrom: options === null || options ===
|
|
34603
|
-
intervalInMs: options === null || options ===
|
|
34602
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
34603
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
34604
34604
|
});
|
|
34605
34605
|
yield poller.poll();
|
|
34606
34606
|
return poller;
|
|
@@ -34615,7 +34615,7 @@ class OnlineEndpointsImpl {
|
|
|
34615
34615
|
* @param options The options parameters.
|
|
34616
34616
|
*/
|
|
34617
34617
|
beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
34618
|
-
return tslib.__awaiter(this,
|
|
34618
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34619
34619
|
const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, body, options);
|
|
34620
34620
|
return poller.pollUntilDone();
|
|
34621
34621
|
});
|
|
@@ -34629,17 +34629,17 @@ class OnlineEndpointsImpl {
|
|
|
34629
34629
|
* @param options The options parameters.
|
|
34630
34630
|
*/
|
|
34631
34631
|
beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
34632
|
-
return tslib.__awaiter(this,
|
|
34633
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
34632
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34633
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34634
34634
|
return this.client.sendOperationRequest(args, spec);
|
|
34635
34635
|
});
|
|
34636
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
34636
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34637
34637
|
var _a;
|
|
34638
34638
|
let currentRawResponse = undefined;
|
|
34639
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
34639
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
34640
34640
|
const callback = (rawResponse, flatResponse) => {
|
|
34641
34641
|
currentRawResponse = rawResponse;
|
|
34642
|
-
providedCallback === null || providedCallback ===
|
|
34642
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
34643
34643
|
};
|
|
34644
34644
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
34645
34645
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -34658,8 +34658,8 @@ class OnlineEndpointsImpl {
|
|
|
34658
34658
|
spec: createOrUpdateOperationSpec$4,
|
|
34659
34659
|
});
|
|
34660
34660
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
34661
|
-
restoreFrom: options === null || options ===
|
|
34662
|
-
intervalInMs: options === null || options ===
|
|
34661
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
34662
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
34663
34663
|
resourceLocationConfig: "original-uri",
|
|
34664
34664
|
});
|
|
34665
34665
|
yield poller.poll();
|
|
@@ -34675,7 +34675,7 @@ class OnlineEndpointsImpl {
|
|
|
34675
34675
|
* @param options The options parameters.
|
|
34676
34676
|
*/
|
|
34677
34677
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
34678
|
-
return tslib.__awaiter(this,
|
|
34678
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34679
34679
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, body, options);
|
|
34680
34680
|
return poller.pollUntilDone();
|
|
34681
34681
|
});
|
|
@@ -34699,17 +34699,17 @@ class OnlineEndpointsImpl {
|
|
|
34699
34699
|
* @param options The options parameters.
|
|
34700
34700
|
*/
|
|
34701
34701
|
beginRegenerateKeys(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
34702
|
-
return tslib.__awaiter(this,
|
|
34703
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
34702
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34703
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34704
34704
|
return this.client.sendOperationRequest(args, spec);
|
|
34705
34705
|
});
|
|
34706
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
34706
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34707
34707
|
var _a;
|
|
34708
34708
|
let currentRawResponse = undefined;
|
|
34709
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
34709
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
34710
34710
|
const callback = (rawResponse, flatResponse) => {
|
|
34711
34711
|
currentRawResponse = rawResponse;
|
|
34712
|
-
providedCallback === null || providedCallback ===
|
|
34712
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
34713
34713
|
};
|
|
34714
34714
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
34715
34715
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -34728,8 +34728,8 @@ class OnlineEndpointsImpl {
|
|
|
34728
34728
|
spec: regenerateKeysOperationSpec$1,
|
|
34729
34729
|
});
|
|
34730
34730
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
34731
|
-
restoreFrom: options === null || options ===
|
|
34732
|
-
intervalInMs: options === null || options ===
|
|
34731
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
34732
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
34733
34733
|
resourceLocationConfig: "location",
|
|
34734
34734
|
});
|
|
34735
34735
|
yield poller.poll();
|
|
@@ -34745,7 +34745,7 @@ class OnlineEndpointsImpl {
|
|
|
34745
34745
|
* @param options The options parameters.
|
|
34746
34746
|
*/
|
|
34747
34747
|
beginRegenerateKeysAndWait(resourceGroupName, workspaceName, endpointName, body, options) {
|
|
34748
|
-
return tslib.__awaiter(this,
|
|
34748
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
34749
34749
|
const poller = yield this.beginRegenerateKeys(resourceGroupName, workspaceName, endpointName, body, options);
|
|
34750
34750
|
return poller.pollUntilDone();
|
|
34751
34751
|
});
|
|
@@ -35039,7 +35039,7 @@ class OnlineDeploymentsImpl {
|
|
|
35039
35039
|
return this;
|
|
35040
35040
|
},
|
|
35041
35041
|
byPage: (settings) => {
|
|
35042
|
-
if (settings === null || settings ===
|
|
35042
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
35043
35043
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
35044
35044
|
}
|
|
35045
35045
|
return this.listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings);
|
|
@@ -35049,7 +35049,7 @@ class OnlineDeploymentsImpl {
|
|
|
35049
35049
|
listPagingPage(resourceGroupName, workspaceName, endpointName, options, settings) {
|
|
35050
35050
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
35051
35051
|
let result;
|
|
35052
|
-
let continuationToken = settings === null || settings ===
|
|
35052
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
35053
35053
|
if (!continuationToken) {
|
|
35054
35054
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, endpointName, options));
|
|
35055
35055
|
let page = result.value || [];
|
|
@@ -35104,7 +35104,7 @@ class OnlineDeploymentsImpl {
|
|
|
35104
35104
|
return this;
|
|
35105
35105
|
},
|
|
35106
35106
|
byPage: (settings) => {
|
|
35107
|
-
if (settings === null || settings ===
|
|
35107
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
35108
35108
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
35109
35109
|
}
|
|
35110
35110
|
return this.listSkusPagingPage(resourceGroupName, workspaceName, endpointName, deploymentName, options, settings);
|
|
@@ -35114,7 +35114,7 @@ class OnlineDeploymentsImpl {
|
|
|
35114
35114
|
listSkusPagingPage(resourceGroupName, workspaceName, endpointName, deploymentName, options, settings) {
|
|
35115
35115
|
return tslib.__asyncGenerator(this, arguments, function* listSkusPagingPage_1() {
|
|
35116
35116
|
let result;
|
|
35117
|
-
let continuationToken = settings === null || settings ===
|
|
35117
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
35118
35118
|
if (!continuationToken) {
|
|
35119
35119
|
result = yield tslib.__await(this._listSkus(resourceGroupName, workspaceName, endpointName, deploymentName, options));
|
|
35120
35120
|
let page = result.value || [];
|
|
@@ -35170,17 +35170,17 @@ class OnlineDeploymentsImpl {
|
|
|
35170
35170
|
* @param options The options parameters.
|
|
35171
35171
|
*/
|
|
35172
35172
|
beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
|
|
35173
|
-
return tslib.__awaiter(this,
|
|
35174
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
35173
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35174
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35175
35175
|
return this.client.sendOperationRequest(args, spec);
|
|
35176
35176
|
});
|
|
35177
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
35177
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35178
35178
|
var _a;
|
|
35179
35179
|
let currentRawResponse = undefined;
|
|
35180
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
35180
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
35181
35181
|
const callback = (rawResponse, flatResponse) => {
|
|
35182
35182
|
currentRawResponse = rawResponse;
|
|
35183
|
-
providedCallback === null || providedCallback ===
|
|
35183
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
35184
35184
|
};
|
|
35185
35185
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
35186
35186
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -35205,8 +35205,8 @@ class OnlineDeploymentsImpl {
|
|
|
35205
35205
|
spec: deleteOperationSpec$3,
|
|
35206
35206
|
});
|
|
35207
35207
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
35208
|
-
restoreFrom: options === null || options ===
|
|
35209
|
-
intervalInMs: options === null || options ===
|
|
35208
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
35209
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
35210
35210
|
resourceLocationConfig: "location",
|
|
35211
35211
|
});
|
|
35212
35212
|
yield poller.poll();
|
|
@@ -35222,7 +35222,7 @@ class OnlineDeploymentsImpl {
|
|
|
35222
35222
|
* @param options The options parameters.
|
|
35223
35223
|
*/
|
|
35224
35224
|
beginDeleteAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, options) {
|
|
35225
|
-
return tslib.__awaiter(this,
|
|
35225
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35226
35226
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, endpointName, deploymentName, options);
|
|
35227
35227
|
return poller.pollUntilDone();
|
|
35228
35228
|
});
|
|
@@ -35254,17 +35254,17 @@ class OnlineDeploymentsImpl {
|
|
|
35254
35254
|
* @param options The options parameters.
|
|
35255
35255
|
*/
|
|
35256
35256
|
beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
35257
|
-
return tslib.__awaiter(this,
|
|
35258
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
35257
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35258
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35259
35259
|
return this.client.sendOperationRequest(args, spec);
|
|
35260
35260
|
});
|
|
35261
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
35261
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35262
35262
|
var _a;
|
|
35263
35263
|
let currentRawResponse = undefined;
|
|
35264
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
35264
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
35265
35265
|
const callback = (rawResponse, flatResponse) => {
|
|
35266
35266
|
currentRawResponse = rawResponse;
|
|
35267
|
-
providedCallback === null || providedCallback ===
|
|
35267
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
35268
35268
|
};
|
|
35269
35269
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
35270
35270
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -35290,8 +35290,8 @@ class OnlineDeploymentsImpl {
|
|
|
35290
35290
|
spec: updateOperationSpec$2,
|
|
35291
35291
|
});
|
|
35292
35292
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
35293
|
-
restoreFrom: options === null || options ===
|
|
35294
|
-
intervalInMs: options === null || options ===
|
|
35293
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
35294
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
35295
35295
|
});
|
|
35296
35296
|
yield poller.poll();
|
|
35297
35297
|
return poller;
|
|
@@ -35307,7 +35307,7 @@ class OnlineDeploymentsImpl {
|
|
|
35307
35307
|
* @param options The options parameters.
|
|
35308
35308
|
*/
|
|
35309
35309
|
beginUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
35310
|
-
return tslib.__awaiter(this,
|
|
35310
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35311
35311
|
const poller = yield this.beginUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
|
|
35312
35312
|
return poller.pollUntilDone();
|
|
35313
35313
|
});
|
|
@@ -35322,17 +35322,17 @@ class OnlineDeploymentsImpl {
|
|
|
35322
35322
|
* @param options The options parameters.
|
|
35323
35323
|
*/
|
|
35324
35324
|
beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
35325
|
-
return tslib.__awaiter(this,
|
|
35326
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
35325
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35326
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35327
35327
|
return this.client.sendOperationRequest(args, spec);
|
|
35328
35328
|
});
|
|
35329
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
35329
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35330
35330
|
var _a;
|
|
35331
35331
|
let currentRawResponse = undefined;
|
|
35332
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
35332
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
35333
35333
|
const callback = (rawResponse, flatResponse) => {
|
|
35334
35334
|
currentRawResponse = rawResponse;
|
|
35335
|
-
providedCallback === null || providedCallback ===
|
|
35335
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
35336
35336
|
};
|
|
35337
35337
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
35338
35338
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -35358,8 +35358,8 @@ class OnlineDeploymentsImpl {
|
|
|
35358
35358
|
spec: createOrUpdateOperationSpec$3,
|
|
35359
35359
|
});
|
|
35360
35360
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
35361
|
-
restoreFrom: options === null || options ===
|
|
35362
|
-
intervalInMs: options === null || options ===
|
|
35361
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
35362
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
35363
35363
|
resourceLocationConfig: "original-uri",
|
|
35364
35364
|
});
|
|
35365
35365
|
yield poller.poll();
|
|
@@ -35376,7 +35376,7 @@ class OnlineDeploymentsImpl {
|
|
|
35376
35376
|
* @param options The options parameters.
|
|
35377
35377
|
*/
|
|
35378
35378
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, endpointName, deploymentName, body, options) {
|
|
35379
|
-
return tslib.__awaiter(this,
|
|
35379
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35380
35380
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, endpointName, deploymentName, body, options);
|
|
35381
35381
|
return poller.pollUntilDone();
|
|
35382
35382
|
});
|
|
@@ -35719,7 +35719,7 @@ class SchedulesImpl {
|
|
|
35719
35719
|
return this;
|
|
35720
35720
|
},
|
|
35721
35721
|
byPage: (settings) => {
|
|
35722
|
-
if (settings === null || settings ===
|
|
35722
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
35723
35723
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
35724
35724
|
}
|
|
35725
35725
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -35729,7 +35729,7 @@ class SchedulesImpl {
|
|
|
35729
35729
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
35730
35730
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
35731
35731
|
let result;
|
|
35732
|
-
let continuationToken = settings === null || settings ===
|
|
35732
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
35733
35733
|
if (!continuationToken) {
|
|
35734
35734
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
35735
35735
|
let page = result.value || [];
|
|
@@ -35783,17 +35783,17 @@ class SchedulesImpl {
|
|
|
35783
35783
|
* @param options The options parameters.
|
|
35784
35784
|
*/
|
|
35785
35785
|
beginDelete(resourceGroupName, workspaceName, name, options) {
|
|
35786
|
-
return tslib.__awaiter(this,
|
|
35787
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
35786
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35787
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35788
35788
|
return this.client.sendOperationRequest(args, spec);
|
|
35789
35789
|
});
|
|
35790
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
35790
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35791
35791
|
var _a;
|
|
35792
35792
|
let currentRawResponse = undefined;
|
|
35793
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
35793
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
35794
35794
|
const callback = (rawResponse, flatResponse) => {
|
|
35795
35795
|
currentRawResponse = rawResponse;
|
|
35796
|
-
providedCallback === null || providedCallback ===
|
|
35796
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
35797
35797
|
};
|
|
35798
35798
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
35799
35799
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -35812,8 +35812,8 @@ class SchedulesImpl {
|
|
|
35812
35812
|
spec: deleteOperationSpec$2,
|
|
35813
35813
|
});
|
|
35814
35814
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
35815
|
-
restoreFrom: options === null || options ===
|
|
35816
|
-
intervalInMs: options === null || options ===
|
|
35815
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
35816
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
35817
35817
|
resourceLocationConfig: "location",
|
|
35818
35818
|
});
|
|
35819
35819
|
yield poller.poll();
|
|
@@ -35828,7 +35828,7 @@ class SchedulesImpl {
|
|
|
35828
35828
|
* @param options The options parameters.
|
|
35829
35829
|
*/
|
|
35830
35830
|
beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
|
|
35831
|
-
return tslib.__awaiter(this,
|
|
35831
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35832
35832
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
|
|
35833
35833
|
return poller.pollUntilDone();
|
|
35834
35834
|
});
|
|
@@ -35852,17 +35852,17 @@ class SchedulesImpl {
|
|
|
35852
35852
|
* @param options The options parameters.
|
|
35853
35853
|
*/
|
|
35854
35854
|
beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
|
|
35855
|
-
return tslib.__awaiter(this,
|
|
35856
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
35855
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35856
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35857
35857
|
return this.client.sendOperationRequest(args, spec);
|
|
35858
35858
|
});
|
|
35859
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
35859
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35860
35860
|
var _a;
|
|
35861
35861
|
let currentRawResponse = undefined;
|
|
35862
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
35862
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
35863
35863
|
const callback = (rawResponse, flatResponse) => {
|
|
35864
35864
|
currentRawResponse = rawResponse;
|
|
35865
|
-
providedCallback === null || providedCallback ===
|
|
35865
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
35866
35866
|
};
|
|
35867
35867
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
35868
35868
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -35881,8 +35881,8 @@ class SchedulesImpl {
|
|
|
35881
35881
|
spec: createOrUpdateOperationSpec$2,
|
|
35882
35882
|
});
|
|
35883
35883
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
35884
|
-
restoreFrom: options === null || options ===
|
|
35885
|
-
intervalInMs: options === null || options ===
|
|
35884
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
35885
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
35886
35886
|
resourceLocationConfig: "original-uri",
|
|
35887
35887
|
});
|
|
35888
35888
|
yield poller.poll();
|
|
@@ -35898,7 +35898,7 @@ class SchedulesImpl {
|
|
|
35898
35898
|
* @param options The options parameters.
|
|
35899
35899
|
*/
|
|
35900
35900
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
|
|
35901
|
-
return tslib.__awaiter(this,
|
|
35901
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
35902
35902
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
|
|
35903
35903
|
return poller.pollUntilDone();
|
|
35904
35904
|
});
|
|
@@ -36074,7 +36074,7 @@ class ServerlessEndpointsImpl {
|
|
|
36074
36074
|
return this;
|
|
36075
36075
|
},
|
|
36076
36076
|
byPage: (settings) => {
|
|
36077
|
-
if (settings === null || settings ===
|
|
36077
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
36078
36078
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
36079
36079
|
}
|
|
36080
36080
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -36084,7 +36084,7 @@ class ServerlessEndpointsImpl {
|
|
|
36084
36084
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
36085
36085
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
36086
36086
|
let result;
|
|
36087
|
-
let continuationToken = settings === null || settings ===
|
|
36087
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
36088
36088
|
if (!continuationToken) {
|
|
36089
36089
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
36090
36090
|
let page = result.value || [];
|
|
@@ -36138,17 +36138,17 @@ class ServerlessEndpointsImpl {
|
|
|
36138
36138
|
* @param options The options parameters.
|
|
36139
36139
|
*/
|
|
36140
36140
|
beginDelete(resourceGroupName, workspaceName, name, options) {
|
|
36141
|
-
return tslib.__awaiter(this,
|
|
36142
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
36141
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36142
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36143
36143
|
return this.client.sendOperationRequest(args, spec);
|
|
36144
36144
|
});
|
|
36145
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
36145
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36146
36146
|
var _a;
|
|
36147
36147
|
let currentRawResponse = undefined;
|
|
36148
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
36148
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
36149
36149
|
const callback = (rawResponse, flatResponse) => {
|
|
36150
36150
|
currentRawResponse = rawResponse;
|
|
36151
|
-
providedCallback === null || providedCallback ===
|
|
36151
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
36152
36152
|
};
|
|
36153
36153
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
36154
36154
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -36167,8 +36167,8 @@ class ServerlessEndpointsImpl {
|
|
|
36167
36167
|
spec: deleteOperationSpec$1,
|
|
36168
36168
|
});
|
|
36169
36169
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
36170
|
-
restoreFrom: options === null || options ===
|
|
36171
|
-
intervalInMs: options === null || options ===
|
|
36170
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
36171
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
36172
36172
|
resourceLocationConfig: "location",
|
|
36173
36173
|
});
|
|
36174
36174
|
yield poller.poll();
|
|
@@ -36183,7 +36183,7 @@ class ServerlessEndpointsImpl {
|
|
|
36183
36183
|
* @param options The options parameters.
|
|
36184
36184
|
*/
|
|
36185
36185
|
beginDeleteAndWait(resourceGroupName, workspaceName, name, options) {
|
|
36186
|
-
return tslib.__awaiter(this,
|
|
36186
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36187
36187
|
const poller = yield this.beginDelete(resourceGroupName, workspaceName, name, options);
|
|
36188
36188
|
return poller.pollUntilDone();
|
|
36189
36189
|
});
|
|
@@ -36207,17 +36207,17 @@ class ServerlessEndpointsImpl {
|
|
|
36207
36207
|
* @param options The options parameters.
|
|
36208
36208
|
*/
|
|
36209
36209
|
beginUpdate(resourceGroupName, workspaceName, name, body, options) {
|
|
36210
|
-
return tslib.__awaiter(this,
|
|
36211
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
36210
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36211
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36212
36212
|
return this.client.sendOperationRequest(args, spec);
|
|
36213
36213
|
});
|
|
36214
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
36214
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36215
36215
|
var _a;
|
|
36216
36216
|
let currentRawResponse = undefined;
|
|
36217
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
36217
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
36218
36218
|
const callback = (rawResponse, flatResponse) => {
|
|
36219
36219
|
currentRawResponse = rawResponse;
|
|
36220
|
-
providedCallback === null || providedCallback ===
|
|
36220
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
36221
36221
|
};
|
|
36222
36222
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
36223
36223
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -36236,8 +36236,8 @@ class ServerlessEndpointsImpl {
|
|
|
36236
36236
|
spec: updateOperationSpec$1,
|
|
36237
36237
|
});
|
|
36238
36238
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
36239
|
-
restoreFrom: options === null || options ===
|
|
36240
|
-
intervalInMs: options === null || options ===
|
|
36239
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
36240
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
36241
36241
|
});
|
|
36242
36242
|
yield poller.poll();
|
|
36243
36243
|
return poller;
|
|
@@ -36252,7 +36252,7 @@ class ServerlessEndpointsImpl {
|
|
|
36252
36252
|
* @param options The options parameters.
|
|
36253
36253
|
*/
|
|
36254
36254
|
beginUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
|
|
36255
|
-
return tslib.__awaiter(this,
|
|
36255
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36256
36256
|
const poller = yield this.beginUpdate(resourceGroupName, workspaceName, name, body, options);
|
|
36257
36257
|
return poller.pollUntilDone();
|
|
36258
36258
|
});
|
|
@@ -36266,17 +36266,17 @@ class ServerlessEndpointsImpl {
|
|
|
36266
36266
|
* @param options The options parameters.
|
|
36267
36267
|
*/
|
|
36268
36268
|
beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options) {
|
|
36269
|
-
return tslib.__awaiter(this,
|
|
36270
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
36269
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36270
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36271
36271
|
return this.client.sendOperationRequest(args, spec);
|
|
36272
36272
|
});
|
|
36273
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
36273
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36274
36274
|
var _a;
|
|
36275
36275
|
let currentRawResponse = undefined;
|
|
36276
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
36276
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
36277
36277
|
const callback = (rawResponse, flatResponse) => {
|
|
36278
36278
|
currentRawResponse = rawResponse;
|
|
36279
|
-
providedCallback === null || providedCallback ===
|
|
36279
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
36280
36280
|
};
|
|
36281
36281
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
36282
36282
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -36295,8 +36295,8 @@ class ServerlessEndpointsImpl {
|
|
|
36295
36295
|
spec: createOrUpdateOperationSpec$1,
|
|
36296
36296
|
});
|
|
36297
36297
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
36298
|
-
restoreFrom: options === null || options ===
|
|
36299
|
-
intervalInMs: options === null || options ===
|
|
36298
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
36299
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
36300
36300
|
resourceLocationConfig: "original-uri",
|
|
36301
36301
|
});
|
|
36302
36302
|
yield poller.poll();
|
|
@@ -36312,7 +36312,7 @@ class ServerlessEndpointsImpl {
|
|
|
36312
36312
|
* @param options The options parameters.
|
|
36313
36313
|
*/
|
|
36314
36314
|
beginCreateOrUpdateAndWait(resourceGroupName, workspaceName, name, body, options) {
|
|
36315
|
-
return tslib.__awaiter(this,
|
|
36315
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36316
36316
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, workspaceName, name, body, options);
|
|
36317
36317
|
return poller.pollUntilDone();
|
|
36318
36318
|
});
|
|
@@ -36336,17 +36336,17 @@ class ServerlessEndpointsImpl {
|
|
|
36336
36336
|
* @param options The options parameters.
|
|
36337
36337
|
*/
|
|
36338
36338
|
beginRegenerateKeys(resourceGroupName, workspaceName, name, body, options) {
|
|
36339
|
-
return tslib.__awaiter(this,
|
|
36340
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
36339
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36340
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36341
36341
|
return this.client.sendOperationRequest(args, spec);
|
|
36342
36342
|
});
|
|
36343
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
36343
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36344
36344
|
var _a;
|
|
36345
36345
|
let currentRawResponse = undefined;
|
|
36346
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
36346
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
36347
36347
|
const callback = (rawResponse, flatResponse) => {
|
|
36348
36348
|
currentRawResponse = rawResponse;
|
|
36349
|
-
providedCallback === null || providedCallback ===
|
|
36349
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
36350
36350
|
};
|
|
36351
36351
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
36352
36352
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -36365,8 +36365,8 @@ class ServerlessEndpointsImpl {
|
|
|
36365
36365
|
spec: regenerateKeysOperationSpec,
|
|
36366
36366
|
});
|
|
36367
36367
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
36368
|
-
restoreFrom: options === null || options ===
|
|
36369
|
-
intervalInMs: options === null || options ===
|
|
36368
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
36369
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
36370
36370
|
resourceLocationConfig: "location",
|
|
36371
36371
|
});
|
|
36372
36372
|
yield poller.poll();
|
|
@@ -36382,7 +36382,7 @@ class ServerlessEndpointsImpl {
|
|
|
36382
36382
|
* @param options The options parameters.
|
|
36383
36383
|
*/
|
|
36384
36384
|
beginRegenerateKeysAndWait(resourceGroupName, workspaceName, name, body, options) {
|
|
36385
|
-
return tslib.__awaiter(this,
|
|
36385
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36386
36386
|
const poller = yield this.beginRegenerateKeys(resourceGroupName, workspaceName, name, body, options);
|
|
36387
36387
|
return poller.pollUntilDone();
|
|
36388
36388
|
});
|
|
@@ -36648,7 +36648,7 @@ class RegistriesImpl {
|
|
|
36648
36648
|
return this;
|
|
36649
36649
|
},
|
|
36650
36650
|
byPage: (settings) => {
|
|
36651
|
-
if (settings === null || settings ===
|
|
36651
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
36652
36652
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
36653
36653
|
}
|
|
36654
36654
|
return this.listBySubscriptionPagingPage(options, settings);
|
|
@@ -36658,7 +36658,7 @@ class RegistriesImpl {
|
|
|
36658
36658
|
listBySubscriptionPagingPage(options, settings) {
|
|
36659
36659
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
|
|
36660
36660
|
let result;
|
|
36661
|
-
let continuationToken = settings === null || settings ===
|
|
36661
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
36662
36662
|
if (!continuationToken) {
|
|
36663
36663
|
result = yield tslib.__await(this._listBySubscription(options));
|
|
36664
36664
|
let page = result.value || [];
|
|
@@ -36710,7 +36710,7 @@ class RegistriesImpl {
|
|
|
36710
36710
|
return this;
|
|
36711
36711
|
},
|
|
36712
36712
|
byPage: (settings) => {
|
|
36713
|
-
if (settings === null || settings ===
|
|
36713
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
36714
36714
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
36715
36715
|
}
|
|
36716
36716
|
return this.listPagingPage(resourceGroupName, options, settings);
|
|
@@ -36720,7 +36720,7 @@ class RegistriesImpl {
|
|
|
36720
36720
|
listPagingPage(resourceGroupName, options, settings) {
|
|
36721
36721
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
36722
36722
|
let result;
|
|
36723
|
-
let continuationToken = settings === null || settings ===
|
|
36723
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
36724
36724
|
if (!continuationToken) {
|
|
36725
36725
|
result = yield tslib.__await(this._list(resourceGroupName, options));
|
|
36726
36726
|
let page = result.value || [];
|
|
@@ -36779,17 +36779,17 @@ class RegistriesImpl {
|
|
|
36779
36779
|
* @param options The options parameters.
|
|
36780
36780
|
*/
|
|
36781
36781
|
beginDelete(resourceGroupName, registryName, options) {
|
|
36782
|
-
return tslib.__awaiter(this,
|
|
36783
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
36782
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36783
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36784
36784
|
return this.client.sendOperationRequest(args, spec);
|
|
36785
36785
|
});
|
|
36786
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
36786
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36787
36787
|
var _a;
|
|
36788
36788
|
let currentRawResponse = undefined;
|
|
36789
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
36789
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
36790
36790
|
const callback = (rawResponse, flatResponse) => {
|
|
36791
36791
|
currentRawResponse = rawResponse;
|
|
36792
|
-
providedCallback === null || providedCallback ===
|
|
36792
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
36793
36793
|
};
|
|
36794
36794
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
36795
36795
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -36808,8 +36808,8 @@ class RegistriesImpl {
|
|
|
36808
36808
|
spec: deleteOperationSpec,
|
|
36809
36809
|
});
|
|
36810
36810
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
36811
|
-
restoreFrom: options === null || options ===
|
|
36812
|
-
intervalInMs: options === null || options ===
|
|
36811
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
36812
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
36813
36813
|
resourceLocationConfig: "location",
|
|
36814
36814
|
});
|
|
36815
36815
|
yield poller.poll();
|
|
@@ -36823,7 +36823,7 @@ class RegistriesImpl {
|
|
|
36823
36823
|
* @param options The options parameters.
|
|
36824
36824
|
*/
|
|
36825
36825
|
beginDeleteAndWait(resourceGroupName, registryName, options) {
|
|
36826
|
-
return tslib.__awaiter(this,
|
|
36826
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36827
36827
|
const poller = yield this.beginDelete(resourceGroupName, registryName, options);
|
|
36828
36828
|
return poller.pollUntilDone();
|
|
36829
36829
|
});
|
|
@@ -36855,17 +36855,17 @@ class RegistriesImpl {
|
|
|
36855
36855
|
* @param options The options parameters.
|
|
36856
36856
|
*/
|
|
36857
36857
|
beginCreateOrUpdate(resourceGroupName, registryName, body, options) {
|
|
36858
|
-
return tslib.__awaiter(this,
|
|
36859
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
36858
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36859
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36860
36860
|
return this.client.sendOperationRequest(args, spec);
|
|
36861
36861
|
});
|
|
36862
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
36862
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36863
36863
|
var _a;
|
|
36864
36864
|
let currentRawResponse = undefined;
|
|
36865
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
36865
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
36866
36866
|
const callback = (rawResponse, flatResponse) => {
|
|
36867
36867
|
currentRawResponse = rawResponse;
|
|
36868
|
-
providedCallback === null || providedCallback ===
|
|
36868
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
36869
36869
|
};
|
|
36870
36870
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
36871
36871
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -36884,8 +36884,8 @@ class RegistriesImpl {
|
|
|
36884
36884
|
spec: createOrUpdateOperationSpec,
|
|
36885
36885
|
});
|
|
36886
36886
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
36887
|
-
restoreFrom: options === null || options ===
|
|
36888
|
-
intervalInMs: options === null || options ===
|
|
36887
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
36888
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
36889
36889
|
resourceLocationConfig: "azure-async-operation",
|
|
36890
36890
|
});
|
|
36891
36891
|
yield poller.poll();
|
|
@@ -36900,7 +36900,7 @@ class RegistriesImpl {
|
|
|
36900
36900
|
* @param options The options parameters.
|
|
36901
36901
|
*/
|
|
36902
36902
|
beginCreateOrUpdateAndWait(resourceGroupName, registryName, body, options) {
|
|
36903
|
-
return tslib.__awaiter(this,
|
|
36903
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36904
36904
|
const poller = yield this.beginCreateOrUpdate(resourceGroupName, registryName, body, options);
|
|
36905
36905
|
return poller.pollUntilDone();
|
|
36906
36906
|
});
|
|
@@ -36913,17 +36913,17 @@ class RegistriesImpl {
|
|
|
36913
36913
|
* @param options The options parameters.
|
|
36914
36914
|
*/
|
|
36915
36915
|
beginRemoveRegions(resourceGroupName, registryName, body, options) {
|
|
36916
|
-
return tslib.__awaiter(this,
|
|
36917
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this,
|
|
36916
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36917
|
+
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36918
36918
|
return this.client.sendOperationRequest(args, spec);
|
|
36919
36919
|
});
|
|
36920
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this,
|
|
36920
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36921
36921
|
var _a;
|
|
36922
36922
|
let currentRawResponse = undefined;
|
|
36923
|
-
const providedCallback = (_a = args.options) === null || _a ===
|
|
36923
|
+
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
36924
36924
|
const callback = (rawResponse, flatResponse) => {
|
|
36925
36925
|
currentRawResponse = rawResponse;
|
|
36926
|
-
providedCallback === null || providedCallback ===
|
|
36926
|
+
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
36927
36927
|
};
|
|
36928
36928
|
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
36929
36929
|
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
@@ -36942,8 +36942,8 @@ class RegistriesImpl {
|
|
|
36942
36942
|
spec: removeRegionsOperationSpec,
|
|
36943
36943
|
});
|
|
36944
36944
|
const poller = yield coreLro.createHttpPoller(lro, {
|
|
36945
|
-
restoreFrom: options === null || options ===
|
|
36946
|
-
intervalInMs: options === null || options ===
|
|
36945
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
36946
|
+
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
36947
36947
|
resourceLocationConfig: "location",
|
|
36948
36948
|
});
|
|
36949
36949
|
yield poller.poll();
|
|
@@ -36958,7 +36958,7 @@ class RegistriesImpl {
|
|
|
36958
36958
|
* @param options The options parameters.
|
|
36959
36959
|
*/
|
|
36960
36960
|
beginRemoveRegionsAndWait(resourceGroupName, registryName, body, options) {
|
|
36961
|
-
return tslib.__awaiter(this,
|
|
36961
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
36962
36962
|
const poller = yield this.beginRemoveRegions(resourceGroupName, registryName, body, options);
|
|
36963
36963
|
return poller.pollUntilDone();
|
|
36964
36964
|
});
|
|
@@ -37222,7 +37222,7 @@ class WorkspaceFeaturesImpl {
|
|
|
37222
37222
|
return this;
|
|
37223
37223
|
},
|
|
37224
37224
|
byPage: (settings) => {
|
|
37225
|
-
if (settings === null || settings ===
|
|
37225
|
+
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
37226
37226
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
37227
37227
|
}
|
|
37228
37228
|
return this.listPagingPage(resourceGroupName, workspaceName, options, settings);
|
|
@@ -37232,7 +37232,7 @@ class WorkspaceFeaturesImpl {
|
|
|
37232
37232
|
listPagingPage(resourceGroupName, workspaceName, options, settings) {
|
|
37233
37233
|
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
37234
37234
|
let result;
|
|
37235
|
-
let continuationToken = settings === null || settings ===
|
|
37235
|
+
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
37236
37236
|
if (!continuationToken) {
|
|
37237
37237
|
result = yield tslib.__await(this._list(resourceGroupName, workspaceName, options));
|
|
37238
37238
|
let page = result.value || [];
|
|
@@ -37370,10 +37370,10 @@ class AzureMachineLearningServicesManagementClient extends coreClient__namespace
|
|
|
37370
37370
|
: `${packageDetails}`;
|
|
37371
37371
|
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
37372
37372
|
userAgentPrefix,
|
|
37373
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !==
|
|
37373
|
+
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
37374
37374
|
super(optionsWithDefaults);
|
|
37375
37375
|
let bearerTokenAuthenticationPolicyFound = false;
|
|
37376
|
-
if ((options === null || options ===
|
|
37376
|
+
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
37377
37377
|
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
37378
37378
|
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
37379
37379
|
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
@@ -37387,7 +37387,7 @@ class AzureMachineLearningServicesManagementClient extends coreClient__namespace
|
|
|
37387
37387
|
});
|
|
37388
37388
|
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
37389
37389
|
credential: credentials,
|
|
37390
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !==
|
|
37390
|
+
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
37391
37391
|
challengeCallbacks: {
|
|
37392
37392
|
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge,
|
|
37393
37393
|
},
|
|
@@ -37456,7 +37456,7 @@ class AzureMachineLearningServicesManagementClient extends coreClient__namespace
|
|
|
37456
37456
|
const apiVersionPolicy = {
|
|
37457
37457
|
name: "CustomApiVersionPolicy",
|
|
37458
37458
|
sendRequest(request, next) {
|
|
37459
|
-
return tslib.__awaiter(this,
|
|
37459
|
+
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
37460
37460
|
const param = request.url.split("?");
|
|
37461
37461
|
if (param.length > 1) {
|
|
37462
37462
|
const newParams = param[1].split("&").map((item) => {
|