@azure/arm-workloads 1.0.0-beta.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -208
- package/README.md +2 -2
- package/dist/index.js +399 -265
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/monitorsCreateSample.js +1 -1
- package/dist-esm/samples-dev/monitorsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/monitorsGetSample.js +1 -1
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/monitorsListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorsListSample.js +13 -6
- package/dist-esm/samples-dev/monitorsListSample.js.map +1 -1
- package/dist-esm/samples-dev/monitorsUpdateSample.js +2 -2
- package/dist-esm/samples-dev/operationsListSample.js +13 -6
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/providerInstancesCreateSample.js +12 -12
- package/dist-esm/samples-dev/providerInstancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/providerInstancesGetSample.js +6 -6
- package/dist-esm/samples-dev/providerInstancesListSample.js +13 -6
- package/dist-esm/samples-dev/providerInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesCreateSample.js +2 -2
- package/dist-esm/samples-dev/sapApplicationServerInstancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.js +13 -6
- package/dist-esm/samples-dev/sapApplicationServerInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesStartInstanceSample.js +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesStopInstanceSample.js +1 -1
- package/dist-esm/samples-dev/sapApplicationServerInstancesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/sapAvailabilityZoneDetailsSample.js +2 -2
- package/dist-esm/samples-dev/sapCentralInstancesCreateSample.js +2 -2
- package/dist-esm/samples-dev/sapCentralInstancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesListSample.js +13 -6
- package/dist-esm/samples-dev/sapCentralInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesStartInstanceSample.js +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesStopInstanceSample.js +1 -1
- package/dist-esm/samples-dev/sapCentralInstancesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesCreateSample.js +2 -2
- package/dist-esm/samples-dev/sapDatabaseInstancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.js +13 -6
- package/dist-esm/samples-dev/sapDatabaseInstancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesStartInstanceSample.js +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesStopInstanceSample.js +1 -1
- package/dist-esm/samples-dev/sapDatabaseInstancesUpdateSample.js +1 -1
- package/dist-esm/samples-dev/sapDiskConfigurationsSample.js +2 -2
- package/dist-esm/samples-dev/sapLandscapeMonitorCreateSample.js +1 -1
- package/dist-esm/samples-dev/sapLandscapeMonitorDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sapLandscapeMonitorGetSample.js +1 -1
- package/dist-esm/samples-dev/sapLandscapeMonitorListSample.js +1 -1
- package/dist-esm/samples-dev/sapLandscapeMonitorUpdateSample.js +1 -1
- package/dist-esm/samples-dev/sapSizingRecommendationsSample.js +4 -4
- package/dist-esm/samples-dev/sapSupportedSkuSample.js +4 -4
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.js +145 -145
- package/dist-esm/samples-dev/sapVirtualInstancesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesGetSample.js +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.js +13 -6
- package/dist-esm/samples-dev/sapVirtualInstancesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.js +13 -6
- package/dist-esm/samples-dev/sapVirtualInstancesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesStartSample.js +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesStopSample.js +1 -1
- package/dist-esm/samples-dev/sapVirtualInstancesUpdateSample.js +1 -1
- package/dist-esm/src/lroImpl.d.ts +6 -11
- package/dist-esm/src/lroImpl.d.ts.map +1 -1
- package/dist-esm/src/lroImpl.js +12 -20
- package/dist-esm/src/lroImpl.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +110 -117
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +0 -13
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/monitors.d.ts +3 -3
- package/dist-esm/src/operations/monitors.d.ts.map +1 -1
- package/dist-esm/src/operations/monitors.js +43 -21
- package/dist-esm/src/operations/monitors.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -5
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/providerInstances.d.ts +3 -3
- package/dist-esm/src/operations/providerInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/providerInstances.js +37 -22
- package/dist-esm/src/operations/providerInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPApplicationServerInstances.d.ts +6 -6
- package/dist-esm/src/operations/sAPApplicationServerInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPApplicationServerInstances.js +82 -55
- package/dist-esm/src/operations/sAPApplicationServerInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPCentralInstances.d.ts +6 -6
- package/dist-esm/src/operations/sAPCentralInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPCentralInstances.js +82 -55
- package/dist-esm/src/operations/sAPCentralInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPDatabaseInstances.d.ts +6 -6
- package/dist-esm/src/operations/sAPDatabaseInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPDatabaseInstances.js +82 -55
- package/dist-esm/src/operations/sAPDatabaseInstances.js.map +1 -1
- package/dist-esm/src/operations/sAPVirtualInstances.d.ts +5 -5
- package/dist-esm/src/operations/sAPVirtualInstances.d.ts.map +1 -1
- package/dist-esm/src/operations/sAPVirtualInstances.js +59 -29
- package/dist-esm/src/operations/sAPVirtualInstances.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/monitors.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/providerInstances.d.ts +3 -3
- package/dist-esm/src/operationsInterfaces/providerInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/sAPApplicationServerInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/sAPCentralInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.d.ts +6 -6
- package/dist-esm/src/operationsInterfaces/sAPDatabaseInstances.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.d.ts +5 -5
- package/dist-esm/src/operationsInterfaces/sAPVirtualInstances.d.ts.map +1 -1
- package/dist-esm/src/workloadsClient.js +2 -2
- package/dist-esm/src/workloadsClient.js.map +1 -1
- package/dist-esm/test/workloads_examples.js +36 -15
- package/dist-esm/test/workloads_examples.js.map +1 -1
- package/package.json +7 -7
- package/review/arm-workloads.api.md +25 -27
- package/src/lroImpl.ts +31 -23
- package/src/models/index.ts +15 -22
- package/src/models/mappers.ts +0 -13
- package/src/models/parameters.ts +1 -1
- package/src/operations/monitors.ts +33 -23
- package/src/operations/providerInstances.ts +33 -23
- package/src/operations/sAPApplicationServerInstances.ts +74 -55
- package/src/operations/sAPCentralInstances.ts +74 -55
- package/src/operations/sAPDatabaseInstances.ts +74 -55
- package/src/operations/sAPVirtualInstances.ts +59 -43
- package/src/operationsInterfaces/monitors.ts +5 -5
- package/src/operationsInterfaces/providerInstances.ts +5 -5
- package/src/operationsInterfaces/sAPApplicationServerInstances.ts +11 -11
- package/src/operationsInterfaces/sAPCentralInstances.ts +11 -11
- package/src/operationsInterfaces/sAPDatabaseInstances.ts +11 -11
- package/src/operationsInterfaces/sAPVirtualInstances.ts +9 -9
- package/src/workloadsClient.ts +2 -2
- package/types/arm-workloads.d.ts +40 -47
package/dist/index.js
CHANGED
|
@@ -2114,19 +2114,6 @@ const ImageReference = {
|
|
|
2114
2114
|
type: {
|
|
2115
2115
|
name: "String"
|
|
2116
2116
|
}
|
|
2117
|
-
},
|
|
2118
|
-
exactVersion: {
|
|
2119
|
-
serializedName: "exactVersion",
|
|
2120
|
-
readOnly: true,
|
|
2121
|
-
type: {
|
|
2122
|
-
name: "String"
|
|
2123
|
-
}
|
|
2124
|
-
},
|
|
2125
|
-
sharedGalleryImageId: {
|
|
2126
|
-
serializedName: "sharedGalleryImageId",
|
|
2127
|
-
type: {
|
|
2128
|
-
name: "String"
|
|
2129
|
-
}
|
|
2130
2117
|
}
|
|
2131
2118
|
}
|
|
2132
2119
|
}
|
|
@@ -4532,7 +4519,7 @@ const location = {
|
|
|
4532
4519
|
const apiVersion = {
|
|
4533
4520
|
parameterPath: "apiVersion",
|
|
4534
4521
|
mapper: {
|
|
4535
|
-
defaultValue: "
|
|
4522
|
+
defaultValue: "2023-04-01",
|
|
4536
4523
|
isConstant: true,
|
|
4537
4524
|
serializedName: "api-version",
|
|
4538
4525
|
type: {
|
|
@@ -4697,25 +4684,17 @@ const sapLandscapeMonitorParameter = {
|
|
|
4697
4684
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4698
4685
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4699
4686
|
*/
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
});
|
|
4712
|
-
}
|
|
4713
|
-
sendPollRequest(path) {
|
|
4714
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4715
|
-
const _a = this.spec, restSpec = tslib.__rest(_a, ["requestBody"]);
|
|
4716
|
-
return this.sendOperationFn(this.args, Object.assign(Object.assign({}, restSpec), { path, httpMethod: "GET" }));
|
|
4717
|
-
});
|
|
4718
|
-
}
|
|
4687
|
+
function createLroSpec(inputs) {
|
|
4688
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
4689
|
+
return {
|
|
4690
|
+
requestMethod: spec.httpMethod,
|
|
4691
|
+
requestPath: spec.path,
|
|
4692
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
4693
|
+
sendPollRequest: (path, options) => {
|
|
4694
|
+
const restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
4695
|
+
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
4696
|
+
}
|
|
4697
|
+
};
|
|
4719
4698
|
}
|
|
4720
4699
|
|
|
4721
4700
|
/*
|
|
@@ -4779,17 +4758,24 @@ class SAPVirtualInstancesImpl {
|
|
|
4779
4758
|
}
|
|
4780
4759
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
4781
4760
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
4782
|
-
var e_1,
|
|
4761
|
+
var _a, e_1, _b, _c;
|
|
4783
4762
|
try {
|
|
4784
|
-
for (var
|
|
4785
|
-
|
|
4786
|
-
|
|
4763
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4764
|
+
_c = _f.value;
|
|
4765
|
+
_d = false;
|
|
4766
|
+
try {
|
|
4767
|
+
const page = _c;
|
|
4768
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4769
|
+
}
|
|
4770
|
+
finally {
|
|
4771
|
+
_d = true;
|
|
4772
|
+
}
|
|
4787
4773
|
}
|
|
4788
4774
|
}
|
|
4789
4775
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4790
4776
|
finally {
|
|
4791
4777
|
try {
|
|
4792
|
-
if (
|
|
4778
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4793
4779
|
}
|
|
4794
4780
|
finally { if (e_1) throw e_1.error; }
|
|
4795
4781
|
}
|
|
@@ -4838,17 +4824,24 @@ class SAPVirtualInstancesImpl {
|
|
|
4838
4824
|
}
|
|
4839
4825
|
listBySubscriptionPagingAll(options) {
|
|
4840
4826
|
return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
|
|
4841
|
-
var e_2,
|
|
4827
|
+
var _a, e_2, _b, _c;
|
|
4842
4828
|
try {
|
|
4843
|
-
for (var
|
|
4844
|
-
|
|
4845
|
-
|
|
4829
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
4830
|
+
_c = _f.value;
|
|
4831
|
+
_d = false;
|
|
4832
|
+
try {
|
|
4833
|
+
const page = _c;
|
|
4834
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
4835
|
+
}
|
|
4836
|
+
finally {
|
|
4837
|
+
_d = true;
|
|
4838
|
+
}
|
|
4846
4839
|
}
|
|
4847
4840
|
}
|
|
4848
4841
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
4849
4842
|
finally {
|
|
4850
4843
|
try {
|
|
4851
|
-
if (
|
|
4844
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
4852
4845
|
}
|
|
4853
4846
|
finally { if (e_2) throw e_2.error; }
|
|
4854
4847
|
}
|
|
@@ -4865,7 +4858,7 @@ class SAPVirtualInstancesImpl {
|
|
|
4865
4858
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4866
4859
|
return this.client.sendOperationRequest(args, spec);
|
|
4867
4860
|
});
|
|
4868
|
-
const
|
|
4861
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4869
4862
|
var _a;
|
|
4870
4863
|
let currentRawResponse = undefined;
|
|
4871
4864
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -4884,9 +4877,13 @@ class SAPVirtualInstancesImpl {
|
|
|
4884
4877
|
}
|
|
4885
4878
|
};
|
|
4886
4879
|
});
|
|
4887
|
-
const lro =
|
|
4888
|
-
|
|
4889
|
-
|
|
4880
|
+
const lro = createLroSpec({
|
|
4881
|
+
sendOperationFn,
|
|
4882
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
4883
|
+
spec: createOperationSpec$6
|
|
4884
|
+
});
|
|
4885
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4886
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4890
4887
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
4891
4888
|
});
|
|
4892
4889
|
yield poller.poll();
|
|
@@ -4935,7 +4932,7 @@ class SAPVirtualInstancesImpl {
|
|
|
4935
4932
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4936
4933
|
return this.client.sendOperationRequest(args, spec);
|
|
4937
4934
|
});
|
|
4938
|
-
const
|
|
4935
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4939
4936
|
var _a;
|
|
4940
4937
|
let currentRawResponse = undefined;
|
|
4941
4938
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -4954,11 +4951,15 @@ class SAPVirtualInstancesImpl {
|
|
|
4954
4951
|
}
|
|
4955
4952
|
};
|
|
4956
4953
|
});
|
|
4957
|
-
const lro =
|
|
4958
|
-
|
|
4959
|
-
|
|
4954
|
+
const lro = createLroSpec({
|
|
4955
|
+
sendOperationFn,
|
|
4956
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
4957
|
+
spec: deleteOperationSpec$6
|
|
4958
|
+
});
|
|
4959
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
4960
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
4960
4961
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
4961
|
-
|
|
4962
|
+
resourceLocationConfig: "azure-async-operation"
|
|
4962
4963
|
});
|
|
4963
4964
|
yield poller.poll();
|
|
4964
4965
|
return poller;
|
|
@@ -5003,7 +5004,7 @@ class SAPVirtualInstancesImpl {
|
|
|
5003
5004
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5004
5005
|
return this.client.sendOperationRequest(args, spec);
|
|
5005
5006
|
});
|
|
5006
|
-
const
|
|
5007
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5007
5008
|
var _a;
|
|
5008
5009
|
let currentRawResponse = undefined;
|
|
5009
5010
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5022,9 +5023,13 @@ class SAPVirtualInstancesImpl {
|
|
|
5022
5023
|
}
|
|
5023
5024
|
};
|
|
5024
5025
|
});
|
|
5025
|
-
const lro =
|
|
5026
|
-
|
|
5027
|
-
|
|
5026
|
+
const lro = createLroSpec({
|
|
5027
|
+
sendOperationFn,
|
|
5028
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
5029
|
+
spec: startOperationSpec
|
|
5030
|
+
});
|
|
5031
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5032
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5028
5033
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
5029
5034
|
});
|
|
5030
5035
|
yield poller.poll();
|
|
@@ -5054,7 +5059,7 @@ class SAPVirtualInstancesImpl {
|
|
|
5054
5059
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5055
5060
|
return this.client.sendOperationRequest(args, spec);
|
|
5056
5061
|
});
|
|
5057
|
-
const
|
|
5062
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5058
5063
|
var _a;
|
|
5059
5064
|
let currentRawResponse = undefined;
|
|
5060
5065
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5073,9 +5078,13 @@ class SAPVirtualInstancesImpl {
|
|
|
5073
5078
|
}
|
|
5074
5079
|
};
|
|
5075
5080
|
});
|
|
5076
|
-
const lro =
|
|
5077
|
-
|
|
5078
|
-
|
|
5081
|
+
const lro = createLroSpec({
|
|
5082
|
+
sendOperationFn,
|
|
5083
|
+
args: { resourceGroupName, sapVirtualInstanceName, options },
|
|
5084
|
+
spec: stopOperationSpec
|
|
5085
|
+
});
|
|
5086
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5087
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5079
5088
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
5080
5089
|
});
|
|
5081
5090
|
yield poller.poll();
|
|
@@ -5421,17 +5430,24 @@ class SAPCentralInstancesImpl {
|
|
|
5421
5430
|
}
|
|
5422
5431
|
listPagingAll(resourceGroupName, sapVirtualInstanceName, options) {
|
|
5423
5432
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
5424
|
-
var e_1,
|
|
5433
|
+
var _a, e_1, _b, _c;
|
|
5425
5434
|
try {
|
|
5426
|
-
for (var
|
|
5427
|
-
|
|
5428
|
-
|
|
5435
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, sapVirtualInstanceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
5436
|
+
_c = _f.value;
|
|
5437
|
+
_d = false;
|
|
5438
|
+
try {
|
|
5439
|
+
const page = _c;
|
|
5440
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
5441
|
+
}
|
|
5442
|
+
finally {
|
|
5443
|
+
_d = true;
|
|
5444
|
+
}
|
|
5429
5445
|
}
|
|
5430
5446
|
}
|
|
5431
5447
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
5432
5448
|
finally {
|
|
5433
5449
|
try {
|
|
5434
|
-
if (
|
|
5450
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
5435
5451
|
}
|
|
5436
5452
|
finally { if (e_1) throw e_1.error; }
|
|
5437
5453
|
}
|
|
@@ -5467,7 +5483,7 @@ class SAPCentralInstancesImpl {
|
|
|
5467
5483
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5468
5484
|
return this.client.sendOperationRequest(args, spec);
|
|
5469
5485
|
});
|
|
5470
|
-
const
|
|
5486
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5471
5487
|
var _a;
|
|
5472
5488
|
let currentRawResponse = undefined;
|
|
5473
5489
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5486,14 +5502,18 @@ class SAPCentralInstancesImpl {
|
|
|
5486
5502
|
}
|
|
5487
5503
|
};
|
|
5488
5504
|
});
|
|
5489
|
-
const lro =
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5505
|
+
const lro = createLroSpec({
|
|
5506
|
+
sendOperationFn,
|
|
5507
|
+
args: {
|
|
5508
|
+
resourceGroupName,
|
|
5509
|
+
sapVirtualInstanceName,
|
|
5510
|
+
centralInstanceName,
|
|
5511
|
+
options
|
|
5512
|
+
},
|
|
5513
|
+
spec: createOperationSpec$5
|
|
5514
|
+
});
|
|
5515
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5516
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5497
5517
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
5498
5518
|
});
|
|
5499
5519
|
yield poller.poll();
|
|
@@ -5529,7 +5549,7 @@ class SAPCentralInstancesImpl {
|
|
|
5529
5549
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5530
5550
|
return this.client.sendOperationRequest(args, spec);
|
|
5531
5551
|
});
|
|
5532
|
-
const
|
|
5552
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5533
5553
|
var _a;
|
|
5534
5554
|
let currentRawResponse = undefined;
|
|
5535
5555
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5548,14 +5568,18 @@ class SAPCentralInstancesImpl {
|
|
|
5548
5568
|
}
|
|
5549
5569
|
};
|
|
5550
5570
|
});
|
|
5551
|
-
const lro =
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5571
|
+
const lro = createLroSpec({
|
|
5572
|
+
sendOperationFn,
|
|
5573
|
+
args: {
|
|
5574
|
+
resourceGroupName,
|
|
5575
|
+
sapVirtualInstanceName,
|
|
5576
|
+
centralInstanceName,
|
|
5577
|
+
options
|
|
5578
|
+
},
|
|
5579
|
+
spec: updateOperationSpec$4
|
|
5580
|
+
});
|
|
5581
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5582
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5559
5583
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
5560
5584
|
});
|
|
5561
5585
|
yield poller.poll();
|
|
@@ -5593,7 +5617,7 @@ class SAPCentralInstancesImpl {
|
|
|
5593
5617
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5594
5618
|
return this.client.sendOperationRequest(args, spec);
|
|
5595
5619
|
});
|
|
5596
|
-
const
|
|
5620
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5597
5621
|
var _a;
|
|
5598
5622
|
let currentRawResponse = undefined;
|
|
5599
5623
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5612,16 +5636,20 @@ class SAPCentralInstancesImpl {
|
|
|
5612
5636
|
}
|
|
5613
5637
|
};
|
|
5614
5638
|
});
|
|
5615
|
-
const lro =
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5639
|
+
const lro = createLroSpec({
|
|
5640
|
+
sendOperationFn,
|
|
5641
|
+
args: {
|
|
5642
|
+
resourceGroupName,
|
|
5643
|
+
sapVirtualInstanceName,
|
|
5644
|
+
centralInstanceName,
|
|
5645
|
+
options
|
|
5646
|
+
},
|
|
5647
|
+
spec: deleteOperationSpec$5
|
|
5648
|
+
});
|
|
5649
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5650
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5623
5651
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5624
|
-
|
|
5652
|
+
resourceLocationConfig: "azure-async-operation"
|
|
5625
5653
|
});
|
|
5626
5654
|
yield poller.poll();
|
|
5627
5655
|
return poller;
|
|
@@ -5667,7 +5695,7 @@ class SAPCentralInstancesImpl {
|
|
|
5667
5695
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5668
5696
|
return this.client.sendOperationRequest(args, spec);
|
|
5669
5697
|
});
|
|
5670
|
-
const
|
|
5698
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5671
5699
|
var _a;
|
|
5672
5700
|
let currentRawResponse = undefined;
|
|
5673
5701
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5686,16 +5714,20 @@ class SAPCentralInstancesImpl {
|
|
|
5686
5714
|
}
|
|
5687
5715
|
};
|
|
5688
5716
|
});
|
|
5689
|
-
const lro =
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5717
|
+
const lro = createLroSpec({
|
|
5718
|
+
sendOperationFn,
|
|
5719
|
+
args: {
|
|
5720
|
+
resourceGroupName,
|
|
5721
|
+
sapVirtualInstanceName,
|
|
5722
|
+
centralInstanceName,
|
|
5723
|
+
options
|
|
5724
|
+
},
|
|
5725
|
+
spec: startInstanceOperationSpec$2
|
|
5726
|
+
});
|
|
5727
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5728
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5697
5729
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5698
|
-
|
|
5730
|
+
resourceLocationConfig: "azure-async-operation"
|
|
5699
5731
|
});
|
|
5700
5732
|
yield poller.poll();
|
|
5701
5733
|
return poller;
|
|
@@ -5728,7 +5760,7 @@ class SAPCentralInstancesImpl {
|
|
|
5728
5760
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5729
5761
|
return this.client.sendOperationRequest(args, spec);
|
|
5730
5762
|
});
|
|
5731
|
-
const
|
|
5763
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
5732
5764
|
var _a;
|
|
5733
5765
|
let currentRawResponse = undefined;
|
|
5734
5766
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -5747,16 +5779,20 @@ class SAPCentralInstancesImpl {
|
|
|
5747
5779
|
}
|
|
5748
5780
|
};
|
|
5749
5781
|
});
|
|
5750
|
-
const lro =
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5782
|
+
const lro = createLroSpec({
|
|
5783
|
+
sendOperationFn,
|
|
5784
|
+
args: {
|
|
5785
|
+
resourceGroupName,
|
|
5786
|
+
sapVirtualInstanceName,
|
|
5787
|
+
centralInstanceName,
|
|
5788
|
+
options
|
|
5789
|
+
},
|
|
5790
|
+
spec: stopInstanceOperationSpec$2
|
|
5791
|
+
});
|
|
5792
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
5793
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
5758
5794
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
5759
|
-
|
|
5795
|
+
resourceLocationConfig: "azure-async-operation"
|
|
5760
5796
|
});
|
|
5761
5797
|
yield poller.poll();
|
|
5762
5798
|
return poller;
|
|
@@ -6077,17 +6113,24 @@ class SAPDatabaseInstancesImpl {
|
|
|
6077
6113
|
}
|
|
6078
6114
|
listPagingAll(resourceGroupName, sapVirtualInstanceName, options) {
|
|
6079
6115
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
6080
|
-
var e_1,
|
|
6116
|
+
var _a, e_1, _b, _c;
|
|
6081
6117
|
try {
|
|
6082
|
-
for (var
|
|
6083
|
-
|
|
6084
|
-
|
|
6118
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, sapVirtualInstanceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
6119
|
+
_c = _f.value;
|
|
6120
|
+
_d = false;
|
|
6121
|
+
try {
|
|
6122
|
+
const page = _c;
|
|
6123
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
6124
|
+
}
|
|
6125
|
+
finally {
|
|
6126
|
+
_d = true;
|
|
6127
|
+
}
|
|
6085
6128
|
}
|
|
6086
6129
|
}
|
|
6087
6130
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
6088
6131
|
finally {
|
|
6089
6132
|
try {
|
|
6090
|
-
if (
|
|
6133
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6091
6134
|
}
|
|
6092
6135
|
finally { if (e_1) throw e_1.error; }
|
|
6093
6136
|
}
|
|
@@ -6123,7 +6166,7 @@ class SAPDatabaseInstancesImpl {
|
|
|
6123
6166
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6124
6167
|
return this.client.sendOperationRequest(args, spec);
|
|
6125
6168
|
});
|
|
6126
|
-
const
|
|
6169
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6127
6170
|
var _a;
|
|
6128
6171
|
let currentRawResponse = undefined;
|
|
6129
6172
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6142,14 +6185,18 @@ class SAPDatabaseInstancesImpl {
|
|
|
6142
6185
|
}
|
|
6143
6186
|
};
|
|
6144
6187
|
});
|
|
6145
|
-
const lro =
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
6150
|
-
|
|
6151
|
-
|
|
6152
|
-
|
|
6188
|
+
const lro = createLroSpec({
|
|
6189
|
+
sendOperationFn,
|
|
6190
|
+
args: {
|
|
6191
|
+
resourceGroupName,
|
|
6192
|
+
sapVirtualInstanceName,
|
|
6193
|
+
databaseInstanceName,
|
|
6194
|
+
options
|
|
6195
|
+
},
|
|
6196
|
+
spec: createOperationSpec$4
|
|
6197
|
+
});
|
|
6198
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6199
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6153
6200
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
6154
6201
|
});
|
|
6155
6202
|
yield poller.poll();
|
|
@@ -6184,7 +6231,7 @@ class SAPDatabaseInstancesImpl {
|
|
|
6184
6231
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6185
6232
|
return this.client.sendOperationRequest(args, spec);
|
|
6186
6233
|
});
|
|
6187
|
-
const
|
|
6234
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6188
6235
|
var _a;
|
|
6189
6236
|
let currentRawResponse = undefined;
|
|
6190
6237
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6203,14 +6250,18 @@ class SAPDatabaseInstancesImpl {
|
|
|
6203
6250
|
}
|
|
6204
6251
|
};
|
|
6205
6252
|
});
|
|
6206
|
-
const lro =
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6253
|
+
const lro = createLroSpec({
|
|
6254
|
+
sendOperationFn,
|
|
6255
|
+
args: {
|
|
6256
|
+
resourceGroupName,
|
|
6257
|
+
sapVirtualInstanceName,
|
|
6258
|
+
databaseInstanceName,
|
|
6259
|
+
options
|
|
6260
|
+
},
|
|
6261
|
+
spec: updateOperationSpec$3
|
|
6262
|
+
});
|
|
6263
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6264
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6214
6265
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
6215
6266
|
});
|
|
6216
6267
|
yield poller.poll();
|
|
@@ -6245,7 +6296,7 @@ class SAPDatabaseInstancesImpl {
|
|
|
6245
6296
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6246
6297
|
return this.client.sendOperationRequest(args, spec);
|
|
6247
6298
|
});
|
|
6248
|
-
const
|
|
6299
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6249
6300
|
var _a;
|
|
6250
6301
|
let currentRawResponse = undefined;
|
|
6251
6302
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6264,16 +6315,20 @@ class SAPDatabaseInstancesImpl {
|
|
|
6264
6315
|
}
|
|
6265
6316
|
};
|
|
6266
6317
|
});
|
|
6267
|
-
const lro =
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6318
|
+
const lro = createLroSpec({
|
|
6319
|
+
sendOperationFn,
|
|
6320
|
+
args: {
|
|
6321
|
+
resourceGroupName,
|
|
6322
|
+
sapVirtualInstanceName,
|
|
6323
|
+
databaseInstanceName,
|
|
6324
|
+
options
|
|
6325
|
+
},
|
|
6326
|
+
spec: deleteOperationSpec$4
|
|
6327
|
+
});
|
|
6328
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6329
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6275
6330
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6276
|
-
|
|
6331
|
+
resourceLocationConfig: "azure-async-operation"
|
|
6277
6332
|
});
|
|
6278
6333
|
yield poller.poll();
|
|
6279
6334
|
return poller;
|
|
@@ -6316,7 +6371,7 @@ class SAPDatabaseInstancesImpl {
|
|
|
6316
6371
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6317
6372
|
return this.client.sendOperationRequest(args, spec);
|
|
6318
6373
|
});
|
|
6319
|
-
const
|
|
6374
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6320
6375
|
var _a;
|
|
6321
6376
|
let currentRawResponse = undefined;
|
|
6322
6377
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6335,16 +6390,20 @@ class SAPDatabaseInstancesImpl {
|
|
|
6335
6390
|
}
|
|
6336
6391
|
};
|
|
6337
6392
|
});
|
|
6338
|
-
const lro =
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6393
|
+
const lro = createLroSpec({
|
|
6394
|
+
sendOperationFn,
|
|
6395
|
+
args: {
|
|
6396
|
+
resourceGroupName,
|
|
6397
|
+
sapVirtualInstanceName,
|
|
6398
|
+
databaseInstanceName,
|
|
6399
|
+
options
|
|
6400
|
+
},
|
|
6401
|
+
spec: startInstanceOperationSpec$1
|
|
6402
|
+
});
|
|
6403
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6404
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6346
6405
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6347
|
-
|
|
6406
|
+
resourceLocationConfig: "azure-async-operation"
|
|
6348
6407
|
});
|
|
6349
6408
|
yield poller.poll();
|
|
6350
6409
|
return poller;
|
|
@@ -6377,7 +6436,7 @@ class SAPDatabaseInstancesImpl {
|
|
|
6377
6436
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6378
6437
|
return this.client.sendOperationRequest(args, spec);
|
|
6379
6438
|
});
|
|
6380
|
-
const
|
|
6439
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6381
6440
|
var _a;
|
|
6382
6441
|
let currentRawResponse = undefined;
|
|
6383
6442
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6396,16 +6455,20 @@ class SAPDatabaseInstancesImpl {
|
|
|
6396
6455
|
}
|
|
6397
6456
|
};
|
|
6398
6457
|
});
|
|
6399
|
-
const lro =
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6458
|
+
const lro = createLroSpec({
|
|
6459
|
+
sendOperationFn,
|
|
6460
|
+
args: {
|
|
6461
|
+
resourceGroupName,
|
|
6462
|
+
sapVirtualInstanceName,
|
|
6463
|
+
databaseInstanceName,
|
|
6464
|
+
options
|
|
6465
|
+
},
|
|
6466
|
+
spec: stopInstanceOperationSpec$1
|
|
6467
|
+
});
|
|
6468
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6469
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6407
6470
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6408
|
-
|
|
6471
|
+
resourceLocationConfig: "azure-async-operation"
|
|
6409
6472
|
});
|
|
6410
6473
|
yield poller.poll();
|
|
6411
6474
|
return poller;
|
|
@@ -6727,17 +6790,24 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6727
6790
|
}
|
|
6728
6791
|
listPagingAll(resourceGroupName, sapVirtualInstanceName, options) {
|
|
6729
6792
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
6730
|
-
var e_1,
|
|
6793
|
+
var _a, e_1, _b, _c;
|
|
6731
6794
|
try {
|
|
6732
|
-
for (var
|
|
6733
|
-
|
|
6734
|
-
|
|
6795
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, sapVirtualInstanceName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
6796
|
+
_c = _f.value;
|
|
6797
|
+
_d = false;
|
|
6798
|
+
try {
|
|
6799
|
+
const page = _c;
|
|
6800
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
6801
|
+
}
|
|
6802
|
+
finally {
|
|
6803
|
+
_d = true;
|
|
6804
|
+
}
|
|
6735
6805
|
}
|
|
6736
6806
|
}
|
|
6737
6807
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
6738
6808
|
finally {
|
|
6739
6809
|
try {
|
|
6740
|
-
if (
|
|
6810
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
6741
6811
|
}
|
|
6742
6812
|
finally { if (e_1) throw e_1.error; }
|
|
6743
6813
|
}
|
|
@@ -6772,7 +6842,7 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6772
6842
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6773
6843
|
return this.client.sendOperationRequest(args, spec);
|
|
6774
6844
|
});
|
|
6775
|
-
const
|
|
6845
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6776
6846
|
var _a;
|
|
6777
6847
|
let currentRawResponse = undefined;
|
|
6778
6848
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6791,14 +6861,18 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6791
6861
|
}
|
|
6792
6862
|
};
|
|
6793
6863
|
});
|
|
6794
|
-
const lro =
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6800
|
-
|
|
6801
|
-
|
|
6864
|
+
const lro = createLroSpec({
|
|
6865
|
+
sendOperationFn,
|
|
6866
|
+
args: {
|
|
6867
|
+
resourceGroupName,
|
|
6868
|
+
sapVirtualInstanceName,
|
|
6869
|
+
applicationInstanceName,
|
|
6870
|
+
options
|
|
6871
|
+
},
|
|
6872
|
+
spec: createOperationSpec$3
|
|
6873
|
+
});
|
|
6874
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6875
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6802
6876
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
6803
6877
|
});
|
|
6804
6878
|
yield poller.poll();
|
|
@@ -6831,7 +6905,7 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6831
6905
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6832
6906
|
return this.client.sendOperationRequest(args, spec);
|
|
6833
6907
|
});
|
|
6834
|
-
const
|
|
6908
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6835
6909
|
var _a;
|
|
6836
6910
|
let currentRawResponse = undefined;
|
|
6837
6911
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6850,14 +6924,18 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6850
6924
|
}
|
|
6851
6925
|
};
|
|
6852
6926
|
});
|
|
6853
|
-
const lro =
|
|
6854
|
-
|
|
6855
|
-
|
|
6856
|
-
|
|
6857
|
-
|
|
6858
|
-
|
|
6859
|
-
|
|
6860
|
-
|
|
6927
|
+
const lro = createLroSpec({
|
|
6928
|
+
sendOperationFn,
|
|
6929
|
+
args: {
|
|
6930
|
+
resourceGroupName,
|
|
6931
|
+
sapVirtualInstanceName,
|
|
6932
|
+
applicationInstanceName,
|
|
6933
|
+
options
|
|
6934
|
+
},
|
|
6935
|
+
spec: updateOperationSpec$2
|
|
6936
|
+
});
|
|
6937
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
6938
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6861
6939
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
6862
6940
|
});
|
|
6863
6941
|
yield poller.poll();
|
|
@@ -6890,7 +6968,7 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6890
6968
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6891
6969
|
return this.client.sendOperationRequest(args, spec);
|
|
6892
6970
|
});
|
|
6893
|
-
const
|
|
6971
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6894
6972
|
var _a;
|
|
6895
6973
|
let currentRawResponse = undefined;
|
|
6896
6974
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6909,16 +6987,20 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6909
6987
|
}
|
|
6910
6988
|
};
|
|
6911
6989
|
});
|
|
6912
|
-
const lro =
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6990
|
+
const lro = createLroSpec({
|
|
6991
|
+
sendOperationFn,
|
|
6992
|
+
args: {
|
|
6993
|
+
resourceGroupName,
|
|
6994
|
+
sapVirtualInstanceName,
|
|
6995
|
+
applicationInstanceName,
|
|
6996
|
+
options
|
|
6997
|
+
},
|
|
6998
|
+
spec: deleteOperationSpec$3
|
|
6999
|
+
});
|
|
7000
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7001
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6920
7002
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6921
|
-
|
|
7003
|
+
resourceLocationConfig: "azure-async-operation"
|
|
6922
7004
|
});
|
|
6923
7005
|
yield poller.poll();
|
|
6924
7006
|
return poller;
|
|
@@ -6960,7 +7042,7 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6960
7042
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6961
7043
|
return this.client.sendOperationRequest(args, spec);
|
|
6962
7044
|
});
|
|
6963
|
-
const
|
|
7045
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
6964
7046
|
var _a;
|
|
6965
7047
|
let currentRawResponse = undefined;
|
|
6966
7048
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -6979,16 +7061,20 @@ class SAPApplicationServerInstancesImpl {
|
|
|
6979
7061
|
}
|
|
6980
7062
|
};
|
|
6981
7063
|
});
|
|
6982
|
-
const lro =
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
|
|
6987
|
-
|
|
6988
|
-
|
|
6989
|
-
|
|
7064
|
+
const lro = createLroSpec({
|
|
7065
|
+
sendOperationFn,
|
|
7066
|
+
args: {
|
|
7067
|
+
resourceGroupName,
|
|
7068
|
+
sapVirtualInstanceName,
|
|
7069
|
+
applicationInstanceName,
|
|
7070
|
+
options
|
|
7071
|
+
},
|
|
7072
|
+
spec: startInstanceOperationSpec
|
|
7073
|
+
});
|
|
7074
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7075
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
6990
7076
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
6991
|
-
|
|
7077
|
+
resourceLocationConfig: "azure-async-operation"
|
|
6992
7078
|
});
|
|
6993
7079
|
yield poller.poll();
|
|
6994
7080
|
return poller;
|
|
@@ -7019,7 +7105,7 @@ class SAPApplicationServerInstancesImpl {
|
|
|
7019
7105
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7020
7106
|
return this.client.sendOperationRequest(args, spec);
|
|
7021
7107
|
});
|
|
7022
|
-
const
|
|
7108
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7023
7109
|
var _a;
|
|
7024
7110
|
let currentRawResponse = undefined;
|
|
7025
7111
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7038,16 +7124,20 @@ class SAPApplicationServerInstancesImpl {
|
|
|
7038
7124
|
}
|
|
7039
7125
|
};
|
|
7040
7126
|
});
|
|
7041
|
-
const lro =
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7127
|
+
const lro = createLroSpec({
|
|
7128
|
+
sendOperationFn,
|
|
7129
|
+
args: {
|
|
7130
|
+
resourceGroupName,
|
|
7131
|
+
sapVirtualInstanceName,
|
|
7132
|
+
applicationInstanceName,
|
|
7133
|
+
options
|
|
7134
|
+
},
|
|
7135
|
+
spec: stopInstanceOperationSpec
|
|
7136
|
+
});
|
|
7137
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7138
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7049
7139
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7050
|
-
|
|
7140
|
+
resourceLocationConfig: "azure-async-operation"
|
|
7051
7141
|
});
|
|
7052
7142
|
yield poller.poll();
|
|
7053
7143
|
return poller;
|
|
@@ -7366,17 +7456,24 @@ class MonitorsImpl {
|
|
|
7366
7456
|
}
|
|
7367
7457
|
listPagingAll(options) {
|
|
7368
7458
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
7369
|
-
var e_1,
|
|
7459
|
+
var _a, e_1, _b, _c;
|
|
7370
7460
|
try {
|
|
7371
|
-
for (var
|
|
7372
|
-
|
|
7373
|
-
|
|
7461
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
7462
|
+
_c = _f.value;
|
|
7463
|
+
_d = false;
|
|
7464
|
+
try {
|
|
7465
|
+
const page = _c;
|
|
7466
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
7467
|
+
}
|
|
7468
|
+
finally {
|
|
7469
|
+
_d = true;
|
|
7470
|
+
}
|
|
7374
7471
|
}
|
|
7375
7472
|
}
|
|
7376
7473
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7377
7474
|
finally {
|
|
7378
7475
|
try {
|
|
7379
|
-
if (
|
|
7476
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
7380
7477
|
}
|
|
7381
7478
|
finally { if (e_1) throw e_1.error; }
|
|
7382
7479
|
}
|
|
@@ -7426,17 +7523,24 @@ class MonitorsImpl {
|
|
|
7426
7523
|
}
|
|
7427
7524
|
listByResourceGroupPagingAll(resourceGroupName, options) {
|
|
7428
7525
|
return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
|
|
7429
|
-
var e_2,
|
|
7526
|
+
var _a, e_2, _b, _c;
|
|
7430
7527
|
try {
|
|
7431
|
-
for (var
|
|
7432
|
-
|
|
7433
|
-
|
|
7528
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
7529
|
+
_c = _f.value;
|
|
7530
|
+
_d = false;
|
|
7531
|
+
try {
|
|
7532
|
+
const page = _c;
|
|
7533
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
7534
|
+
}
|
|
7535
|
+
finally {
|
|
7536
|
+
_d = true;
|
|
7537
|
+
}
|
|
7434
7538
|
}
|
|
7435
7539
|
}
|
|
7436
7540
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
7437
7541
|
finally {
|
|
7438
7542
|
try {
|
|
7439
|
-
if (
|
|
7543
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
7440
7544
|
}
|
|
7441
7545
|
finally { if (e_2) throw e_2.error; }
|
|
7442
7546
|
}
|
|
@@ -7479,7 +7583,7 @@ class MonitorsImpl {
|
|
|
7479
7583
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7480
7584
|
return this.client.sendOperationRequest(args, spec);
|
|
7481
7585
|
});
|
|
7482
|
-
const
|
|
7586
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7483
7587
|
var _a;
|
|
7484
7588
|
let currentRawResponse = undefined;
|
|
7485
7589
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7498,9 +7602,13 @@ class MonitorsImpl {
|
|
|
7498
7602
|
}
|
|
7499
7603
|
};
|
|
7500
7604
|
});
|
|
7501
|
-
const lro =
|
|
7502
|
-
|
|
7503
|
-
|
|
7605
|
+
const lro = createLroSpec({
|
|
7606
|
+
sendOperationFn,
|
|
7607
|
+
args: { resourceGroupName, monitorName, monitorParameter, options },
|
|
7608
|
+
spec: createOperationSpec$2
|
|
7609
|
+
});
|
|
7610
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7611
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7504
7612
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
7505
7613
|
});
|
|
7506
7614
|
yield poller.poll();
|
|
@@ -7531,7 +7639,7 @@ class MonitorsImpl {
|
|
|
7531
7639
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7532
7640
|
return this.client.sendOperationRequest(args, spec);
|
|
7533
7641
|
});
|
|
7534
|
-
const
|
|
7642
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7535
7643
|
var _a;
|
|
7536
7644
|
let currentRawResponse = undefined;
|
|
7537
7645
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7550,11 +7658,15 @@ class MonitorsImpl {
|
|
|
7550
7658
|
}
|
|
7551
7659
|
};
|
|
7552
7660
|
});
|
|
7553
|
-
const lro =
|
|
7554
|
-
|
|
7555
|
-
|
|
7661
|
+
const lro = createLroSpec({
|
|
7662
|
+
sendOperationFn,
|
|
7663
|
+
args: { resourceGroupName, monitorName, options },
|
|
7664
|
+
spec: deleteOperationSpec$2
|
|
7665
|
+
});
|
|
7666
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
7667
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7556
7668
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7557
|
-
|
|
7669
|
+
resourceLocationConfig: "azure-async-operation"
|
|
7558
7670
|
});
|
|
7559
7671
|
yield poller.poll();
|
|
7560
7672
|
return poller;
|
|
@@ -7848,17 +7960,24 @@ class ProviderInstancesImpl {
|
|
|
7848
7960
|
}
|
|
7849
7961
|
listPagingAll(resourceGroupName, monitorName, options) {
|
|
7850
7962
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
7851
|
-
var e_1,
|
|
7963
|
+
var _a, e_1, _b, _c;
|
|
7852
7964
|
try {
|
|
7853
|
-
for (var
|
|
7854
|
-
|
|
7855
|
-
|
|
7965
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, monitorName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
7966
|
+
_c = _f.value;
|
|
7967
|
+
_d = false;
|
|
7968
|
+
try {
|
|
7969
|
+
const page = _c;
|
|
7970
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
7971
|
+
}
|
|
7972
|
+
finally {
|
|
7973
|
+
_d = true;
|
|
7974
|
+
}
|
|
7856
7975
|
}
|
|
7857
7976
|
}
|
|
7858
7977
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
7859
7978
|
finally {
|
|
7860
7979
|
try {
|
|
7861
|
-
if (
|
|
7980
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
7862
7981
|
}
|
|
7863
7982
|
finally { if (e_1) throw e_1.error; }
|
|
7864
7983
|
}
|
|
@@ -7899,7 +8018,7 @@ class ProviderInstancesImpl {
|
|
|
7899
8018
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7900
8019
|
return this.client.sendOperationRequest(args, spec);
|
|
7901
8020
|
});
|
|
7902
|
-
const
|
|
8021
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7903
8022
|
var _a;
|
|
7904
8023
|
let currentRawResponse = undefined;
|
|
7905
8024
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7918,15 +8037,19 @@ class ProviderInstancesImpl {
|
|
|
7918
8037
|
}
|
|
7919
8038
|
};
|
|
7920
8039
|
});
|
|
7921
|
-
const lro =
|
|
7922
|
-
|
|
7923
|
-
|
|
7924
|
-
|
|
7925
|
-
|
|
7926
|
-
|
|
7927
|
-
|
|
7928
|
-
|
|
7929
|
-
|
|
8040
|
+
const lro = createLroSpec({
|
|
8041
|
+
sendOperationFn,
|
|
8042
|
+
args: {
|
|
8043
|
+
resourceGroupName,
|
|
8044
|
+
monitorName,
|
|
8045
|
+
providerInstanceName,
|
|
8046
|
+
providerInstanceParameter,
|
|
8047
|
+
options
|
|
8048
|
+
},
|
|
8049
|
+
spec: createOperationSpec$1
|
|
8050
|
+
});
|
|
8051
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8052
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7930
8053
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
|
|
7931
8054
|
});
|
|
7932
8055
|
yield poller.poll();
|
|
@@ -7961,7 +8084,7 @@ class ProviderInstancesImpl {
|
|
|
7961
8084
|
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7962
8085
|
return this.client.sendOperationRequest(args, spec);
|
|
7963
8086
|
});
|
|
7964
|
-
const
|
|
8087
|
+
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
7965
8088
|
var _a;
|
|
7966
8089
|
let currentRawResponse = undefined;
|
|
7967
8090
|
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
@@ -7980,11 +8103,15 @@ class ProviderInstancesImpl {
|
|
|
7980
8103
|
}
|
|
7981
8104
|
};
|
|
7982
8105
|
});
|
|
7983
|
-
const lro =
|
|
7984
|
-
|
|
7985
|
-
|
|
8106
|
+
const lro = createLroSpec({
|
|
8107
|
+
sendOperationFn,
|
|
8108
|
+
args: { resourceGroupName, monitorName, providerInstanceName, options },
|
|
8109
|
+
spec: deleteOperationSpec$1
|
|
8110
|
+
});
|
|
8111
|
+
const poller = yield coreLro.createHttpPoller(lro, {
|
|
8112
|
+
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
7986
8113
|
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
7987
|
-
|
|
8114
|
+
resourceLocationConfig: "azure-async-operation"
|
|
7988
8115
|
});
|
|
7989
8116
|
yield poller.poll();
|
|
7990
8117
|
return poller;
|
|
@@ -8391,17 +8518,24 @@ class OperationsImpl {
|
|
|
8391
8518
|
}
|
|
8392
8519
|
listPagingAll(options) {
|
|
8393
8520
|
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
8394
|
-
var e_1,
|
|
8521
|
+
var _a, e_1, _b, _c;
|
|
8395
8522
|
try {
|
|
8396
|
-
for (var
|
|
8397
|
-
|
|
8398
|
-
|
|
8523
|
+
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
|
|
8524
|
+
_c = _f.value;
|
|
8525
|
+
_d = false;
|
|
8526
|
+
try {
|
|
8527
|
+
const page = _c;
|
|
8528
|
+
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
8529
|
+
}
|
|
8530
|
+
finally {
|
|
8531
|
+
_d = true;
|
|
8532
|
+
}
|
|
8399
8533
|
}
|
|
8400
8534
|
}
|
|
8401
8535
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
8402
8536
|
finally {
|
|
8403
8537
|
try {
|
|
8404
|
-
if (
|
|
8538
|
+
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
8405
8539
|
}
|
|
8406
8540
|
finally { if (e_1) throw e_1.error; }
|
|
8407
8541
|
}
|
|
@@ -8487,7 +8621,7 @@ class WorkloadsClient extends coreClient__namespace.ServiceClient {
|
|
|
8487
8621
|
requestContentType: "application/json; charset=utf-8",
|
|
8488
8622
|
credential: credentials
|
|
8489
8623
|
};
|
|
8490
|
-
const packageDetails = `azsdk-js-arm-workloads/1.0.0
|
|
8624
|
+
const packageDetails = `azsdk-js-arm-workloads/1.0.0`;
|
|
8491
8625
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
8492
8626
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
8493
8627
|
: `${packageDetails}`;
|
|
@@ -8520,7 +8654,7 @@ class WorkloadsClient extends coreClient__namespace.ServiceClient {
|
|
|
8520
8654
|
this.subscriptionId = subscriptionId;
|
|
8521
8655
|
// Assigning values to Constant parameters
|
|
8522
8656
|
this.$host = options.$host || "https://management.azure.com";
|
|
8523
|
-
this.apiVersion = options.apiVersion || "
|
|
8657
|
+
this.apiVersion = options.apiVersion || "2023-04-01";
|
|
8524
8658
|
this.sAPVirtualInstances = new SAPVirtualInstancesImpl(this);
|
|
8525
8659
|
this.sAPCentralInstances = new SAPCentralInstancesImpl(this);
|
|
8526
8660
|
this.sAPDatabaseInstances = new SAPDatabaseInstancesImpl(this);
|