@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
|
@@ -34,7 +34,7 @@ export class WorkloadsClient extends coreClient.ServiceClient {
|
|
|
34
34
|
requestContentType: "application/json; charset=utf-8",
|
|
35
35
|
credential: credentials
|
|
36
36
|
};
|
|
37
|
-
const packageDetails = `azsdk-js-arm-workloads/1.0.0
|
|
37
|
+
const packageDetails = `azsdk-js-arm-workloads/1.0.0`;
|
|
38
38
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
39
39
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
40
40
|
: `${packageDetails}`;
|
|
@@ -67,7 +67,7 @@ export class WorkloadsClient extends coreClient.ServiceClient {
|
|
|
67
67
|
this.subscriptionId = subscriptionId;
|
|
68
68
|
// Assigning values to Constant parameters
|
|
69
69
|
this.$host = options.$host || "https://management.azure.com";
|
|
70
|
-
this.apiVersion = options.apiVersion || "
|
|
70
|
+
this.apiVersion = options.apiVersion || "2023-04-01";
|
|
71
71
|
this.sAPVirtualInstances = new SAPVirtualInstancesImpl(this);
|
|
72
72
|
this.sAPCentralInstances = new SAPCentralInstancesImpl(this);
|
|
73
73
|
this.sAPDatabaseInstances = new SAPDatabaseInstancesImpl(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workloadsClient.js","sourceRoot":"","sources":["../../src/workloadsClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,gBAAgB,MAAM,2BAA2B,CAAC;AAO9D,OAAO,EACL,uBAAuB,EACvB,uBAAuB,EACvB,wBAAwB,EACxB,iCAAiC,EACjC,YAAY,EACZ,qBAAqB,EACrB,iCAAiC,EACjC,cAAc,EACf,MAAM,cAAc,CAAC;AAWtB,OAAO,KAAK,UAAU,MAAM,qBAAqB,CAAC;AAClD,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAa5C,MAAM,OAAO,eAAgB,SAAQ,UAAU,CAAC,aAAa;IAK3D;;;;;OAKG;IACH,YACE,WAAqC,EACrC,cAAsB,EACtB,OAAuC;;QAEvC,IAAI,WAAW,KAAK,SAAS,EAAE;YAC7B,MAAM,IAAI,KAAK,CAAC,8BAA8B,CAAC,CAAC;SACjD;QACD,IAAI,cAAc,KAAK,SAAS,EAAE;YAChC,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;SACpD;QAED,0CAA0C;QAC1C,IAAI,CAAC,OAAO,EAAE;YACZ,OAAO,GAAG,EAAE,CAAC;SACd;QACD,MAAM,QAAQ,GAAkC;YAC9C,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,
|
|
1
|
+
{"version":3,"file":"workloadsClient.js","sourceRoot":"","sources":["../../src/workloadsClient.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,KAAK,U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AAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EACF,kJAAkJ;IACpJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gCAAgC;SACrD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,WAAW,EAAE,UAAU,CAAC,0BAA0B;IAClD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,MAAM,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC"}
|
|
@@ -134,21 +134,28 @@ describe("workloads test", () => {
|
|
|
134
134
|
});
|
|
135
135
|
//list Workloads
|
|
136
136
|
it("Workloads list test", function () {
|
|
137
|
-
var e_1,
|
|
137
|
+
var _a, e_1, _b, _c;
|
|
138
138
|
return __awaiter(this, void 0, void 0, function* () {
|
|
139
139
|
//list monitors from workloads
|
|
140
140
|
const res = yield client.monitors.list();
|
|
141
141
|
const resArray = [];
|
|
142
142
|
try {
|
|
143
|
-
for (var res_1 = __asyncValues(res), res_1_1; res_1_1 = yield res_1.next(),
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
for (var _d = true, res_1 = __asyncValues(res), res_1_1; res_1_1 = yield res_1.next(), _a = res_1_1.done, !_a;) {
|
|
144
|
+
_c = res_1_1.value;
|
|
145
|
+
_d = false;
|
|
146
|
+
try {
|
|
147
|
+
let item = _c;
|
|
148
|
+
resArray.push(item);
|
|
149
|
+
}
|
|
150
|
+
finally {
|
|
151
|
+
_d = true;
|
|
152
|
+
}
|
|
146
153
|
}
|
|
147
154
|
}
|
|
148
155
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
149
156
|
finally {
|
|
150
157
|
try {
|
|
151
|
-
if (
|
|
158
|
+
if (!_d && !_a && (_b = res_1.return)) yield _b.call(res_1);
|
|
152
159
|
}
|
|
153
160
|
finally { if (e_1) throw e_1.error; }
|
|
154
161
|
}
|
|
@@ -157,20 +164,27 @@ describe("workloads test", () => {
|
|
|
157
164
|
});
|
|
158
165
|
//delete monitors
|
|
159
166
|
it("Workloads delete test", function () {
|
|
160
|
-
var e_2,
|
|
167
|
+
var _a, e_2, _b, _c;
|
|
161
168
|
return __awaiter(this, void 0, void 0, function* () {
|
|
162
169
|
const res = yield client.monitors.beginDeleteAndWait(resourceGroup, monitorName);
|
|
163
170
|
const resArray = new Array();
|
|
164
171
|
try {
|
|
165
|
-
for (var
|
|
166
|
-
|
|
167
|
-
|
|
172
|
+
for (var _d = true, _e = __asyncValues(client.monitors.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
173
|
+
_c = _f.value;
|
|
174
|
+
_d = false;
|
|
175
|
+
try {
|
|
176
|
+
let item = _c;
|
|
177
|
+
resArray.push(item);
|
|
178
|
+
}
|
|
179
|
+
finally {
|
|
180
|
+
_d = true;
|
|
181
|
+
}
|
|
168
182
|
}
|
|
169
183
|
}
|
|
170
184
|
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
171
185
|
finally {
|
|
172
186
|
try {
|
|
173
|
-
if (
|
|
187
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
174
188
|
}
|
|
175
189
|
finally { if (e_2) throw e_2.error; }
|
|
176
190
|
}
|
|
@@ -179,20 +193,27 @@ describe("workloads test", () => {
|
|
|
179
193
|
});
|
|
180
194
|
//delete svi
|
|
181
195
|
it.skip("svi delete test", function () {
|
|
182
|
-
var e_3,
|
|
196
|
+
var _a, e_3, _b, _c;
|
|
183
197
|
return __awaiter(this, void 0, void 0, function* () {
|
|
184
198
|
const res = yield client.sAPVirtualInstances.beginDeleteAndWait(resourceGroup, sapVirtualInstanceName);
|
|
185
199
|
const resArray = new Array();
|
|
186
200
|
try {
|
|
187
|
-
for (var
|
|
188
|
-
|
|
189
|
-
|
|
201
|
+
for (var _d = true, _e = __asyncValues(client.sAPVirtualInstances.listByResourceGroup(resourceGroup)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
|
202
|
+
_c = _f.value;
|
|
203
|
+
_d = false;
|
|
204
|
+
try {
|
|
205
|
+
let item = _c;
|
|
206
|
+
resArray.push(item);
|
|
207
|
+
}
|
|
208
|
+
finally {
|
|
209
|
+
_d = true;
|
|
210
|
+
}
|
|
190
211
|
}
|
|
191
212
|
}
|
|
192
213
|
catch (e_3_1) { e_3 = { error: e_3_1 }; }
|
|
193
214
|
finally {
|
|
194
215
|
try {
|
|
195
|
-
if (
|
|
216
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
|
196
217
|
}
|
|
197
218
|
finally { if (e_3) throw e_3.error; }
|
|
198
219
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workloads_examples.js","sourceRoot":"","sources":["../../test/workloads_examples.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,OAAO,EACL,GAAG,EACH,QAAQ,EAGR,cAAc,GACf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAGxD,MAAM,oBAAoB,GAA2B;IACnD,eAAe,EAAE,iBAAiB;IAClC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,sCAAsC;IACvD,eAAe,EAAE,uBAAuB;CACzC,CAAC;AAEF,MAAM,eAAe,GAAyB;IAC5C,mBAAmB,EAAE,oBAAoB;CAC1C,CAA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AM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;gBAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,aAAa,CAAC,CAAA,IAAA;oBAA7D,cAA6D;oBAA7D,WAA6D;;wBAAzE,IAAI,IAAI,KAAA,CAAA;wBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;iBACrB;;;;;;;;;YACD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC;;KAClC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
"sdk-type": "mgmt",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "A generated SDK for WorkloadsClient.",
|
|
6
|
-
"version": "1.0.0
|
|
6
|
+
"version": "1.0.0",
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=14.0.0"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@azure/core-lro": "^2.
|
|
11
|
+
"@azure/core-lro": "^2.5.0",
|
|
12
12
|
"@azure/abort-controller": "^1.0.0",
|
|
13
13
|
"@azure/core-paging": "^1.2.0",
|
|
14
|
-
"@azure/core-client": "^1.
|
|
14
|
+
"@azure/core-client": "^1.7.0",
|
|
15
15
|
"@azure/core-auth": "^1.3.0",
|
|
16
16
|
"@azure/core-rest-pipeline": "^1.8.0",
|
|
17
17
|
"tslib": "^2.2.0"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"@rollup/plugin-json": "^6.0.0",
|
|
34
34
|
"@rollup/plugin-multi-entry": "^6.0.0",
|
|
35
35
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
36
|
-
"mkdirp": "^1.
|
|
36
|
+
"mkdirp": "^2.1.2",
|
|
37
37
|
"rollup": "^2.66.1",
|
|
38
38
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
39
|
-
"typescript": "~
|
|
39
|
+
"typescript": "~5.0.0",
|
|
40
40
|
"uglify-js": "^3.4.9",
|
|
41
41
|
"rimraf": "^3.0.0",
|
|
42
|
-
"dotenv": "^
|
|
42
|
+
"dotenv": "^16.0.0",
|
|
43
43
|
"@azure/identity": "^2.0.1",
|
|
44
44
|
"@azure-tools/test-recorder": "^3.0.0",
|
|
45
45
|
"@azure-tools/test-credential": "^1.0.0",
|
|
@@ -120,4 +120,4 @@
|
|
|
120
120
|
"disableDocsMs": true,
|
|
121
121
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-workloads?view=azure-node-preview"
|
|
122
122
|
}
|
|
123
|
-
}
|
|
123
|
+
}
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
import * as coreAuth from '@azure/core-auth';
|
|
8
8
|
import * as coreClient from '@azure/core-client';
|
|
9
|
+
import { OperationState } from '@azure/core-lro';
|
|
9
10
|
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
10
|
-
import {
|
|
11
|
-
import { PollOperationState } from '@azure/core-lro';
|
|
11
|
+
import { SimplePollerLike } from '@azure/core-lro';
|
|
12
12
|
|
|
13
13
|
// @public
|
|
14
14
|
export type ActionType = string;
|
|
@@ -289,10 +289,8 @@ export interface HighAvailabilitySoftwareConfiguration {
|
|
|
289
289
|
|
|
290
290
|
// @public
|
|
291
291
|
export interface ImageReference {
|
|
292
|
-
readonly exactVersion?: string;
|
|
293
292
|
offer?: string;
|
|
294
293
|
publisher?: string;
|
|
295
|
-
sharedGalleryImageId?: string;
|
|
296
294
|
sku?: string;
|
|
297
295
|
version?: string;
|
|
298
296
|
}
|
|
@@ -592,9 +590,9 @@ export interface MonitorPropertiesErrors extends ErrorModel {
|
|
|
592
590
|
|
|
593
591
|
// @public
|
|
594
592
|
export interface Monitors {
|
|
595
|
-
beginCreate(resourceGroupName: string, monitorName: string, monitorParameter: Monitor, options?: MonitorsCreateOptionalParams): Promise<
|
|
593
|
+
beginCreate(resourceGroupName: string, monitorName: string, monitorParameter: Monitor, options?: MonitorsCreateOptionalParams): Promise<SimplePollerLike<OperationState<MonitorsCreateResponse>, MonitorsCreateResponse>>;
|
|
596
594
|
beginCreateAndWait(resourceGroupName: string, monitorName: string, monitorParameter: Monitor, options?: MonitorsCreateOptionalParams): Promise<MonitorsCreateResponse>;
|
|
597
|
-
beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<
|
|
595
|
+
beginDelete(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<MonitorsDeleteResponse>, MonitorsDeleteResponse>>;
|
|
598
596
|
beginDeleteAndWait(resourceGroupName: string, monitorName: string, options?: MonitorsDeleteOptionalParams): Promise<MonitorsDeleteResponse>;
|
|
599
597
|
get(resourceGroupName: string, monitorName: string, options?: MonitorsGetOptionalParams): Promise<MonitorsGetResponse>;
|
|
600
598
|
list(options?: MonitorsListOptionalParams): PagedAsyncIterableIterator<Monitor>;
|
|
@@ -857,9 +855,9 @@ export interface ProviderInstancePropertiesErrors extends ErrorModel {
|
|
|
857
855
|
|
|
858
856
|
// @public
|
|
859
857
|
export interface ProviderInstances {
|
|
860
|
-
beginCreate(resourceGroupName: string, monitorName: string, providerInstanceName: string, providerInstanceParameter: ProviderInstance, options?: ProviderInstancesCreateOptionalParams): Promise<
|
|
858
|
+
beginCreate(resourceGroupName: string, monitorName: string, providerInstanceName: string, providerInstanceParameter: ProviderInstance, options?: ProviderInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<ProviderInstancesCreateResponse>, ProviderInstancesCreateResponse>>;
|
|
861
859
|
beginCreateAndWait(resourceGroupName: string, monitorName: string, providerInstanceName: string, providerInstanceParameter: ProviderInstance, options?: ProviderInstancesCreateOptionalParams): Promise<ProviderInstancesCreateResponse>;
|
|
862
|
-
beginDelete(resourceGroupName: string, monitorName: string, providerInstanceName: string, options?: ProviderInstancesDeleteOptionalParams): Promise<
|
|
860
|
+
beginDelete(resourceGroupName: string, monitorName: string, providerInstanceName: string, options?: ProviderInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ProviderInstancesDeleteResponse>, ProviderInstancesDeleteResponse>>;
|
|
863
861
|
beginDeleteAndWait(resourceGroupName: string, monitorName: string, providerInstanceName: string, options?: ProviderInstancesDeleteOptionalParams): Promise<ProviderInstancesDeleteResponse>;
|
|
864
862
|
get(resourceGroupName: string, monitorName: string, providerInstanceName: string, options?: ProviderInstancesGetOptionalParams): Promise<ProviderInstancesGetResponse>;
|
|
865
863
|
list(resourceGroupName: string, monitorName: string, options?: ProviderInstancesListOptionalParams): PagedAsyncIterableIterator<ProviderInstance>;
|
|
@@ -954,15 +952,15 @@ export interface SAPApplicationServerInstanceList {
|
|
|
954
952
|
|
|
955
953
|
// @public
|
|
956
954
|
export interface SAPApplicationServerInstances {
|
|
957
|
-
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesCreateOptionalParams): Promise<
|
|
955
|
+
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SAPApplicationServerInstancesCreateResponse>, SAPApplicationServerInstancesCreateResponse>>;
|
|
958
956
|
beginCreateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesCreateOptionalParams): Promise<SAPApplicationServerInstancesCreateResponse>;
|
|
959
|
-
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesDeleteOptionalParams): Promise<
|
|
957
|
+
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SAPApplicationServerInstancesDeleteResponse>, SAPApplicationServerInstancesDeleteResponse>>;
|
|
960
958
|
beginDeleteAndWait(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesDeleteOptionalParams): Promise<SAPApplicationServerInstancesDeleteResponse>;
|
|
961
|
-
beginStartInstance(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesStartInstanceOptionalParams): Promise<
|
|
959
|
+
beginStartInstance(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesStartInstanceOptionalParams): Promise<SimplePollerLike<OperationState<SAPApplicationServerInstancesStartInstanceResponse>, SAPApplicationServerInstancesStartInstanceResponse>>;
|
|
962
960
|
beginStartInstanceAndWait(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesStartInstanceOptionalParams): Promise<SAPApplicationServerInstancesStartInstanceResponse>;
|
|
963
|
-
beginStopInstance(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesStopInstanceOptionalParams): Promise<
|
|
961
|
+
beginStopInstance(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesStopInstanceOptionalParams): Promise<SimplePollerLike<OperationState<SAPApplicationServerInstancesStopInstanceResponse>, SAPApplicationServerInstancesStopInstanceResponse>>;
|
|
964
962
|
beginStopInstanceAndWait(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesStopInstanceOptionalParams): Promise<SAPApplicationServerInstancesStopInstanceResponse>;
|
|
965
|
-
beginUpdate(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesUpdateOptionalParams): Promise<
|
|
963
|
+
beginUpdate(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SAPApplicationServerInstancesUpdateResponse>, SAPApplicationServerInstancesUpdateResponse>>;
|
|
966
964
|
beginUpdateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesUpdateOptionalParams): Promise<SAPApplicationServerInstancesUpdateResponse>;
|
|
967
965
|
get(resourceGroupName: string, sapVirtualInstanceName: string, applicationInstanceName: string, options?: SAPApplicationServerInstancesGetOptionalParams): Promise<SAPApplicationServerInstancesGetResponse>;
|
|
968
966
|
list(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPApplicationServerInstancesListOptionalParams): PagedAsyncIterableIterator<SAPApplicationServerInstance>;
|
|
@@ -1071,15 +1069,15 @@ export interface SAPCentralInstanceList {
|
|
|
1071
1069
|
|
|
1072
1070
|
// @public
|
|
1073
1071
|
export interface SAPCentralInstances {
|
|
1074
|
-
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesCreateOptionalParams): Promise<
|
|
1072
|
+
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SAPCentralInstancesCreateResponse>, SAPCentralInstancesCreateResponse>>;
|
|
1075
1073
|
beginCreateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesCreateOptionalParams): Promise<SAPCentralInstancesCreateResponse>;
|
|
1076
|
-
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesDeleteOptionalParams): Promise<
|
|
1074
|
+
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SAPCentralInstancesDeleteResponse>, SAPCentralInstancesDeleteResponse>>;
|
|
1077
1075
|
beginDeleteAndWait(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesDeleteOptionalParams): Promise<SAPCentralInstancesDeleteResponse>;
|
|
1078
|
-
beginStartInstance(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesStartInstanceOptionalParams): Promise<
|
|
1076
|
+
beginStartInstance(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesStartInstanceOptionalParams): Promise<SimplePollerLike<OperationState<SAPCentralInstancesStartInstanceResponse>, SAPCentralInstancesStartInstanceResponse>>;
|
|
1079
1077
|
beginStartInstanceAndWait(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesStartInstanceOptionalParams): Promise<SAPCentralInstancesStartInstanceResponse>;
|
|
1080
|
-
beginStopInstance(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesStopInstanceOptionalParams): Promise<
|
|
1078
|
+
beginStopInstance(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesStopInstanceOptionalParams): Promise<SimplePollerLike<OperationState<SAPCentralInstancesStopInstanceResponse>, SAPCentralInstancesStopInstanceResponse>>;
|
|
1081
1079
|
beginStopInstanceAndWait(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesStopInstanceOptionalParams): Promise<SAPCentralInstancesStopInstanceResponse>;
|
|
1082
|
-
beginUpdate(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesUpdateOptionalParams): Promise<
|
|
1080
|
+
beginUpdate(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SAPCentralInstancesUpdateResponse>, SAPCentralInstancesUpdateResponse>>;
|
|
1083
1081
|
beginUpdateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesUpdateOptionalParams): Promise<SAPCentralInstancesUpdateResponse>;
|
|
1084
1082
|
get(resourceGroupName: string, sapVirtualInstanceName: string, centralInstanceName: string, options?: SAPCentralInstancesGetOptionalParams): Promise<SAPCentralInstancesGetResponse>;
|
|
1085
1083
|
list(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPCentralInstancesListOptionalParams): PagedAsyncIterableIterator<SAPCentralServerInstance>;
|
|
@@ -1204,15 +1202,15 @@ export interface SAPDatabaseInstanceList {
|
|
|
1204
1202
|
|
|
1205
1203
|
// @public
|
|
1206
1204
|
export interface SAPDatabaseInstances {
|
|
1207
|
-
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesCreateOptionalParams): Promise<
|
|
1205
|
+
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SAPDatabaseInstancesCreateResponse>, SAPDatabaseInstancesCreateResponse>>;
|
|
1208
1206
|
beginCreateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesCreateOptionalParams): Promise<SAPDatabaseInstancesCreateResponse>;
|
|
1209
|
-
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesDeleteOptionalParams): Promise<
|
|
1207
|
+
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SAPDatabaseInstancesDeleteResponse>, SAPDatabaseInstancesDeleteResponse>>;
|
|
1210
1208
|
beginDeleteAndWait(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesDeleteOptionalParams): Promise<SAPDatabaseInstancesDeleteResponse>;
|
|
1211
|
-
beginStartInstance(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesStartInstanceOptionalParams): Promise<
|
|
1209
|
+
beginStartInstance(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesStartInstanceOptionalParams): Promise<SimplePollerLike<OperationState<SAPDatabaseInstancesStartInstanceResponse>, SAPDatabaseInstancesStartInstanceResponse>>;
|
|
1212
1210
|
beginStartInstanceAndWait(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesStartInstanceOptionalParams): Promise<SAPDatabaseInstancesStartInstanceResponse>;
|
|
1213
|
-
beginStopInstance(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesStopInstanceOptionalParams): Promise<
|
|
1211
|
+
beginStopInstance(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesStopInstanceOptionalParams): Promise<SimplePollerLike<OperationState<SAPDatabaseInstancesStopInstanceResponse>, SAPDatabaseInstancesStopInstanceResponse>>;
|
|
1214
1212
|
beginStopInstanceAndWait(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesStopInstanceOptionalParams): Promise<SAPDatabaseInstancesStopInstanceResponse>;
|
|
1215
|
-
beginUpdate(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesUpdateOptionalParams): Promise<
|
|
1213
|
+
beginUpdate(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<SAPDatabaseInstancesUpdateResponse>, SAPDatabaseInstancesUpdateResponse>>;
|
|
1216
1214
|
beginUpdateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesUpdateOptionalParams): Promise<SAPDatabaseInstancesUpdateResponse>;
|
|
1217
1215
|
get(resourceGroupName: string, sapVirtualInstanceName: string, databaseInstanceName: string, options?: SAPDatabaseInstancesGetOptionalParams): Promise<SAPDatabaseInstancesGetResponse>;
|
|
1218
1216
|
list(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPDatabaseInstancesListOptionalParams): PagedAsyncIterableIterator<SAPDatabaseInstance>;
|
|
@@ -1533,13 +1531,13 @@ export type SapVirtualInstanceProvisioningState = string;
|
|
|
1533
1531
|
|
|
1534
1532
|
// @public
|
|
1535
1533
|
export interface SAPVirtualInstances {
|
|
1536
|
-
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesCreateOptionalParams): Promise<
|
|
1534
|
+
beginCreate(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesCreateOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesCreateResponse>, SAPVirtualInstancesCreateResponse>>;
|
|
1537
1535
|
beginCreateAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesCreateOptionalParams): Promise<SAPVirtualInstancesCreateResponse>;
|
|
1538
|
-
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesDeleteOptionalParams): Promise<
|
|
1536
|
+
beginDelete(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesDeleteResponse>, SAPVirtualInstancesDeleteResponse>>;
|
|
1539
1537
|
beginDeleteAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesDeleteOptionalParams): Promise<SAPVirtualInstancesDeleteResponse>;
|
|
1540
|
-
beginStart(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStartOptionalParams): Promise<
|
|
1538
|
+
beginStart(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesStartResponse>, SAPVirtualInstancesStartResponse>>;
|
|
1541
1539
|
beginStartAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStartOptionalParams): Promise<SAPVirtualInstancesStartResponse>;
|
|
1542
|
-
beginStop(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStopOptionalParams): Promise<
|
|
1540
|
+
beginStop(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStopOptionalParams): Promise<SimplePollerLike<OperationState<SAPVirtualInstancesStopResponse>, SAPVirtualInstancesStopResponse>>;
|
|
1543
1541
|
beginStopAndWait(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesStopOptionalParams): Promise<SAPVirtualInstancesStopResponse>;
|
|
1544
1542
|
get(resourceGroupName: string, sapVirtualInstanceName: string, options?: SAPVirtualInstancesGetOptionalParams): Promise<SAPVirtualInstancesGetResponse>;
|
|
1545
1543
|
listByResourceGroup(resourceGroupName: string, options?: SAPVirtualInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<SAPVirtualInstance>;
|
package/src/lroImpl.ts
CHANGED
|
@@ -6,29 +6,37 @@
|
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
|
+
// Copyright (c) Microsoft Corporation.
|
|
10
|
+
// Licensed under the MIT license.
|
|
11
|
+
|
|
12
|
+
import { AbortSignalLike } from "@azure/abort-controller";
|
|
9
13
|
import { LongRunningOperation, LroResponse } from "@azure/core-lro";
|
|
10
14
|
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
...restSpec
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
15
|
+
export function createLroSpec<T>(inputs: {
|
|
16
|
+
sendOperationFn: (args: any, spec: any) => Promise<LroResponse<T>>;
|
|
17
|
+
args: Record<string, unknown>;
|
|
18
|
+
spec: {
|
|
19
|
+
readonly requestBody?: unknown;
|
|
20
|
+
readonly path?: string;
|
|
21
|
+
readonly httpMethod: string;
|
|
22
|
+
} & Record<string, any>;
|
|
23
|
+
}): LongRunningOperation<T> {
|
|
24
|
+
const { args, spec, sendOperationFn } = inputs;
|
|
25
|
+
return {
|
|
26
|
+
requestMethod: spec.httpMethod,
|
|
27
|
+
requestPath: spec.path!,
|
|
28
|
+
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
29
|
+
sendPollRequest: (
|
|
30
|
+
path: string,
|
|
31
|
+
options?: { abortSignal?: AbortSignalLike }
|
|
32
|
+
) => {
|
|
33
|
+
const { requestBody, ...restSpec } = spec;
|
|
34
|
+
return sendOperationFn(args, {
|
|
35
|
+
...restSpec,
|
|
36
|
+
httpMethod: "GET",
|
|
37
|
+
path,
|
|
38
|
+
abortSignal: options?.abortSignal
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
};
|
|
34
42
|
}
|
package/src/models/index.ts
CHANGED
|
@@ -199,7 +199,7 @@ export interface DiskVolumeConfiguration {
|
|
|
199
199
|
sku?: DiskSku;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
|
-
/** The disk sku. */
|
|
202
|
+
/** The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS. */
|
|
203
203
|
export interface DiskSku {
|
|
204
204
|
/** Defines the disk sku name. */
|
|
205
205
|
name?: DiskSkuName;
|
|
@@ -207,7 +207,7 @@ export interface DiskSku {
|
|
|
207
207
|
|
|
208
208
|
/** The supported disk size details for a disk type. */
|
|
209
209
|
export interface DiskDetails {
|
|
210
|
-
/** The disk sku. */
|
|
210
|
+
/** The type of disk sku. For example, Standard_LRS, Standard_ZRS, Premium_LRS, Premium_ZRS. */
|
|
211
211
|
sku?: DiskSku;
|
|
212
212
|
/** The disk size in GB. */
|
|
213
213
|
sizeGB?: number;
|
|
@@ -247,7 +247,7 @@ export interface SAPAvailabilityZonePair {
|
|
|
247
247
|
zoneB?: number;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
|
-
/**
|
|
250
|
+
/** A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide. */
|
|
251
251
|
export interface UserAssignedServiceIdentity {
|
|
252
252
|
/** Type of manage identity */
|
|
253
253
|
type: ManagedServiceIdentityType;
|
|
@@ -350,7 +350,7 @@ export interface SystemData {
|
|
|
350
350
|
export interface UpdateSAPVirtualInstanceRequest {
|
|
351
351
|
/** Gets or sets the Resource tags. */
|
|
352
352
|
tags?: { [propertyName: string]: string };
|
|
353
|
-
/**
|
|
353
|
+
/** A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide. */
|
|
354
354
|
identity?: UserAssignedServiceIdentity;
|
|
355
355
|
}
|
|
356
356
|
|
|
@@ -653,7 +653,7 @@ export interface ErrorInnerError {
|
|
|
653
653
|
export interface UpdateMonitorRequest {
|
|
654
654
|
/** Gets or sets the Resource tags. */
|
|
655
655
|
tags?: { [propertyName: string]: string };
|
|
656
|
-
/** Managed service identity
|
|
656
|
+
/** [currently not in use] Managed service identity(user assigned identities) */
|
|
657
657
|
identity?: UserAssignedServiceIdentity;
|
|
658
658
|
}
|
|
659
659
|
|
|
@@ -787,13 +787,6 @@ export interface ImageReference {
|
|
|
787
787
|
sku?: string;
|
|
788
788
|
/** Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. */
|
|
789
789
|
version?: string;
|
|
790
|
-
/**
|
|
791
|
-
* Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
|
|
792
|
-
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
793
|
-
*/
|
|
794
|
-
readonly exactVersion?: string;
|
|
795
|
-
/** Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. */
|
|
796
|
-
sharedGalleryImageId?: string;
|
|
797
790
|
}
|
|
798
791
|
|
|
799
792
|
/** Defines the OS configuration. */
|
|
@@ -1340,7 +1333,7 @@ export interface SingleServerFullResourceNames
|
|
|
1340
1333
|
virtualMachine?: VirtualMachineResourceNames;
|
|
1341
1334
|
}
|
|
1342
1335
|
|
|
1343
|
-
/** Gets or sets the single server configuration. */
|
|
1336
|
+
/** Gets or sets the single server configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) */
|
|
1344
1337
|
export interface SingleServerConfiguration extends InfrastructureConfiguration {
|
|
1345
1338
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1346
1339
|
deploymentType: "SingleServer";
|
|
@@ -1358,7 +1351,7 @@ export interface SingleServerConfiguration extends InfrastructureConfiguration {
|
|
|
1358
1351
|
customResourceNames?: SingleServerCustomResourceNamesUnion;
|
|
1359
1352
|
}
|
|
1360
1353
|
|
|
1361
|
-
/** Gets or sets the three tier SAP configuration. */
|
|
1354
|
+
/** Gets or sets the three tier SAP configuration. For prerequisites for creating the infrastructure, please see [here](https://go.microsoft.com/fwlink/?linkid=2212611&clcid=0x409) */
|
|
1362
1355
|
export interface ThreeTierConfiguration extends InfrastructureConfiguration {
|
|
1363
1356
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1364
1357
|
deploymentType: "ThreeTier";
|
|
@@ -1378,24 +1371,24 @@ export interface ThreeTierConfiguration extends InfrastructureConfiguration {
|
|
|
1378
1371
|
customResourceNames?: ThreeTierCustomResourceNamesUnion;
|
|
1379
1372
|
}
|
|
1380
1373
|
|
|
1381
|
-
/** Gets or sets the
|
|
1374
|
+
/** Gets or sets the file share configuration for scenarios where transport directory fileshare is not created or required. */
|
|
1382
1375
|
export interface SkipFileShareConfiguration extends FileShareConfiguration {
|
|
1383
1376
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1384
1377
|
configurationType: "Skip";
|
|
1385
1378
|
}
|
|
1386
1379
|
|
|
1387
|
-
/** Gets or sets the file share configuration
|
|
1380
|
+
/** Gets or sets the file share configuration where the transport directory fileshare is created and mounted as a part of the create infra flow. Please pre-create the resource group you intend to place the transport directory in. The storage account and fileshare will be auto-created by the ACSS and doesn’t need to pre-created. */
|
|
1388
1381
|
export interface CreateAndMountFileShareConfiguration
|
|
1389
1382
|
extends FileShareConfiguration {
|
|
1390
1383
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1391
1384
|
configurationType: "CreateAndMount";
|
|
1392
|
-
/** The name of file share resource group. The app rg is used in case of missing input. */
|
|
1385
|
+
/** The name of transport file share resource group. This should be pre created by the customer. The app rg is used in case of missing input. */
|
|
1393
1386
|
resourceGroup?: string;
|
|
1394
1387
|
/** The name of file share storage account name . A custom name is used in case of missing input. */
|
|
1395
1388
|
storageAccountName?: string;
|
|
1396
1389
|
}
|
|
1397
1390
|
|
|
1398
|
-
/** Gets or sets the file share configuration
|
|
1391
|
+
/** Gets or sets the file share configuration where the transport directory fileshare already exists, and user wishes to mount the fileshare as a part of the create infra flow. */
|
|
1399
1392
|
export interface MountFileShareConfiguration extends FileShareConfiguration {
|
|
1400
1393
|
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1401
1394
|
configurationType: "Mount";
|
|
@@ -1469,7 +1462,7 @@ export interface OperationsDefinitionDisplay
|
|
|
1469
1462
|
|
|
1470
1463
|
/** Define the Virtual Instance for SAP solutions resource. */
|
|
1471
1464
|
export interface SAPVirtualInstance extends TrackedResource {
|
|
1472
|
-
/**
|
|
1465
|
+
/** A pre-created user assigned identity with appropriate roles assigned. To learn more on identity and roles required, visit the ACSS how-to-guide. */
|
|
1473
1466
|
identity?: UserAssignedServiceIdentity;
|
|
1474
1467
|
/** Defines the environment type - Production/Non Production. */
|
|
1475
1468
|
environment: SAPEnvironmentType;
|
|
@@ -1698,7 +1691,7 @@ export interface SAPApplicationServerInstance extends TrackedResource {
|
|
|
1698
1691
|
|
|
1699
1692
|
/** SAP monitor info on Azure (ARM properties and SAP monitor properties) */
|
|
1700
1693
|
export interface Monitor extends TrackedResource {
|
|
1701
|
-
/** Managed service identity
|
|
1694
|
+
/** [currently not in use] Managed service identity(user assigned identities) */
|
|
1702
1695
|
identity?: UserAssignedServiceIdentity;
|
|
1703
1696
|
/**
|
|
1704
1697
|
* State of provisioning of the SAP monitor.
|
|
@@ -1736,7 +1729,7 @@ export interface Monitor extends TrackedResource {
|
|
|
1736
1729
|
|
|
1737
1730
|
/** A provider instance associated with SAP monitor. */
|
|
1738
1731
|
export interface ProviderInstance extends ProxyResource {
|
|
1739
|
-
/** Managed service identity
|
|
1732
|
+
/** [currently not in use] Managed service identity(user assigned identities) */
|
|
1740
1733
|
identity?: UserAssignedServiceIdentity;
|
|
1741
1734
|
/**
|
|
1742
1735
|
* State of provisioning of the provider instance
|
|
@@ -1748,7 +1741,7 @@ export interface ProviderInstance extends ProxyResource {
|
|
|
1748
1741
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1749
1742
|
*/
|
|
1750
1743
|
readonly errors?: ProviderInstancePropertiesErrors;
|
|
1751
|
-
/** Defines the provider
|
|
1744
|
+
/** Defines the provider specific properties. */
|
|
1752
1745
|
providerSettings?: ProviderSpecificPropertiesUnion;
|
|
1753
1746
|
}
|
|
1754
1747
|
|
package/src/models/mappers.ts
CHANGED
|
@@ -1782,19 +1782,6 @@ export const ImageReference: coreClient.CompositeMapper = {
|
|
|
1782
1782
|
type: {
|
|
1783
1783
|
name: "String"
|
|
1784
1784
|
}
|
|
1785
|
-
},
|
|
1786
|
-
exactVersion: {
|
|
1787
|
-
serializedName: "exactVersion",
|
|
1788
|
-
readOnly: true,
|
|
1789
|
-
type: {
|
|
1790
|
-
name: "String"
|
|
1791
|
-
}
|
|
1792
|
-
},
|
|
1793
|
-
sharedGalleryImageId: {
|
|
1794
|
-
serializedName: "sharedGalleryImageId",
|
|
1795
|
-
type: {
|
|
1796
|
-
name: "String"
|
|
1797
|
-
}
|
|
1798
1785
|
}
|
|
1799
1786
|
}
|
|
1800
1787
|
}
|
package/src/models/parameters.ts
CHANGED
|
@@ -103,7 +103,7 @@ export const location: OperationURLParameter = {
|
|
|
103
103
|
export const apiVersion: OperationQueryParameter = {
|
|
104
104
|
parameterPath: "apiVersion",
|
|
105
105
|
mapper: {
|
|
106
|
-
defaultValue: "
|
|
106
|
+
defaultValue: "2023-04-01",
|
|
107
107
|
isConstant: true,
|
|
108
108
|
serializedName: "api-version",
|
|
109
109
|
type: {
|