@azure/arm-healthcareapis 2.2.1-alpha.20230320.1 → 2.2.1-alpha.20230501.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +144 -60
- 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/dicomServicesListByWorkspaceSample.js +12 -5
- package/dist-esm/samples-dev/dicomServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js +12 -5
- package/dist-esm/samples-dev/fhirDestinationsListByIotConnectorSample.js.map +1 -1
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js +12 -5
- package/dist-esm/samples-dev/fhirServicesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js +12 -5
- package/dist-esm/samples-dev/iotConnectorsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js +12 -5
- package/dist-esm/samples-dev/listAllServicesInResourceGroup.js.map +1 -1
- package/dist-esm/samples-dev/listAllServicesInSubscription.js +12 -5
- package/dist-esm/samples-dev/listAllServicesInSubscription.js.map +1 -1
- package/dist-esm/samples-dev/listOperations.js +12 -5
- package/dist-esm/samples-dev/listOperations.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +12 -5
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionList.js +12 -5
- package/dist-esm/samples-dev/privateEndpointConnectionList.js.map +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js +12 -5
- package/dist-esm/samples-dev/privateEndpointConnectionsListByServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js +12 -5
- package/dist-esm/samples-dev/servicesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/servicesListSample.js +12 -5
- package/dist-esm/samples-dev/servicesListSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js +12 -5
- package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js +12 -5
- package/dist-esm/samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js +12 -5
- package/dist-esm/samples-dev/workspacesListByResourceGroupSample.js.map +1 -1
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js +12 -5
- package/dist-esm/samples-dev/workspacesListBySubscriptionSample.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +62 -62
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/operations/dicomServices.js +12 -5
- package/dist-esm/src/operations/dicomServices.js.map +1 -1
- package/dist-esm/src/operations/fhirDestinations.js +12 -5
- package/dist-esm/src/operations/fhirDestinations.js.map +1 -1
- package/dist-esm/src/operations/fhirServices.js +12 -5
- package/dist-esm/src/operations/fhirServices.js.map +1 -1
- package/dist-esm/src/operations/iotConnectors.js +12 -5
- package/dist-esm/src/operations/iotConnectors.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/privateEndpointConnections.js +12 -5
- package/dist-esm/src/operations/privateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/services.js +24 -10
- package/dist-esm/src/operations/services.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js +12 -5
- package/dist-esm/src/operations/workspacePrivateEndpointConnections.js.map +1 -1
- package/dist-esm/src/operations/workspacePrivateLinkResources.js +12 -5
- package/dist-esm/src/operations/workspacePrivateLinkResources.js.map +1 -1
- package/dist-esm/src/operations/workspaces.js +24 -10
- package/dist-esm/src/operations/workspaces.js.map +1 -1
- package/package.json +2 -2
- package/types/tsdoc-metadata.json +1 -1
@@ -17,7 +17,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/iotconnectors/iotconnector_List.json
|
18
18
|
*/
|
19
19
|
function listIotconnectors() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "testRG";
|
@@ -26,15 +26,22 @@ function listIotconnectors() {
|
|
26
26
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
27
|
const resArray = new Array();
|
28
28
|
try {
|
29
|
-
for (var
|
30
|
-
|
31
|
-
|
29
|
+
for (var _d = true, _e = __asyncValues(client.iotConnectors.listByWorkspace(resourceGroupName, workspaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
30
|
+
_c = _f.value;
|
31
|
+
_d = false;
|
32
|
+
try {
|
33
|
+
let item = _c;
|
34
|
+
resArray.push(item);
|
35
|
+
}
|
36
|
+
finally {
|
37
|
+
_d = true;
|
38
|
+
}
|
32
39
|
}
|
33
40
|
}
|
34
41
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
42
|
finally {
|
36
43
|
try {
|
37
|
-
if (
|
44
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
38
45
|
}
|
39
46
|
finally { if (e_1) throw e_1.error; }
|
40
47
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iotConnectorsListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;;QAC9B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"iotConnectorsListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/iotConnectorsListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,iBAAiB;;;QAC9B,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,aAAa,CAAC,eAAe,CACzD,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,iBAAiB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
17
17
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
18
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
19
|
function listAllServicesInResourceGroup() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "rgname";
|
@@ -25,15 +25,22 @@ function listAllServicesInResourceGroup() {
|
|
25
25
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
26
|
const resArray = new Array();
|
27
27
|
try {
|
28
|
-
for (var
|
29
|
-
|
30
|
-
|
28
|
+
for (var _d = true, _e = __asyncValues(client.services.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
29
|
+
_c = _f.value;
|
30
|
+
_d = false;
|
31
|
+
try {
|
32
|
+
let item = _c;
|
33
|
+
resArray.push(item);
|
34
|
+
}
|
35
|
+
finally {
|
36
|
+
_d = true;
|
37
|
+
}
|
31
38
|
}
|
32
39
|
}
|
33
40
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
34
41
|
finally {
|
35
42
|
try {
|
36
|
-
if (
|
43
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
37
44
|
}
|
38
45
|
finally { if (e_1) throw e_1.error; }
|
39
46
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listAllServicesInResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/listAllServicesInResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"listAllServicesInResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/listAllServicesInResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CACxD,iBAAiB,CAClB,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,22 +17,29 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
17
17
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
18
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
19
|
function listAllServicesInSubscription() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const credential = new DefaultAzureCredential();
|
24
24
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
25
|
const resArray = new Array();
|
26
26
|
try {
|
27
|
-
for (var
|
28
|
-
|
29
|
-
|
27
|
+
for (var _d = true, _e = __asyncValues(client.services.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
28
|
+
_c = _f.value;
|
29
|
+
_d = false;
|
30
|
+
try {
|
31
|
+
let item = _c;
|
32
|
+
resArray.push(item);
|
33
|
+
}
|
34
|
+
finally {
|
35
|
+
_d = true;
|
36
|
+
}
|
30
37
|
}
|
31
38
|
}
|
32
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
40
|
finally {
|
34
41
|
try {
|
35
|
-
if (
|
42
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
36
43
|
}
|
37
44
|
finally { if (e_1) throw e_1.error; }
|
38
45
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listAllServicesInSubscription.js","sourceRoot":"","sources":["../../samples-dev/listAllServicesInSubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"listAllServicesInSubscription.js","sourceRoot":"","sources":["../../samples-dev/listAllServicesInSubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAtB,cAAsB;gBAAtB,WAAsB;;oBAAlC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,22 +17,29 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
17
17
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
18
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
19
|
function listOperations() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
23
23
|
const credential = new DefaultAzureCredential();
|
24
24
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
25
|
const resArray = new Array();
|
26
26
|
try {
|
27
|
-
for (var
|
28
|
-
|
29
|
-
|
27
|
+
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
28
|
+
_c = _f.value;
|
29
|
+
_d = false;
|
30
|
+
try {
|
31
|
+
let item = _c;
|
32
|
+
resArray.push(item);
|
33
|
+
}
|
34
|
+
finally {
|
35
|
+
_d = true;
|
36
|
+
}
|
30
37
|
}
|
31
38
|
}
|
32
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
40
|
finally {
|
34
41
|
try {
|
35
|
-
if (
|
42
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
36
43
|
}
|
37
44
|
finally { if (e_1) throw e_1.error; }
|
38
45
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"listOperations.js","sourceRoot":"","sources":["../../samples-dev/listOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"listOperations.js","sourceRoot":"","sources":["../../samples-dev/listOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAxB,cAAwB;gBAAxB,WAAwB;;oBAApC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,22 +17,29 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/OperationsList.json
|
18
18
|
*/
|
19
19
|
function listOperations() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
23
23
|
const credential = new DefaultAzureCredential();
|
24
24
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
25
|
const resArray = new Array();
|
26
26
|
try {
|
27
|
-
for (var
|
28
|
-
|
29
|
-
|
27
|
+
for (var _d = true, _e = __asyncValues(client.operations.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
28
|
+
_c = _f.value;
|
29
|
+
_d = false;
|
30
|
+
try {
|
31
|
+
let item = _c;
|
32
|
+
resArray.push(item);
|
33
|
+
}
|
34
|
+
finally {
|
35
|
+
_d = true;
|
36
|
+
}
|
30
37
|
}
|
31
38
|
}
|
32
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
40
|
finally {
|
34
41
|
try {
|
35
|
-
if (
|
42
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
36
43
|
}
|
37
44
|
finally { if (e_1) throw e_1.error; }
|
38
45
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,cAAc;;;QAC3B,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAxB,cAAwB;gBAAxB,WAAwB;;oBAApC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,cAAc,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { __asyncValues, __awaiter } from "tslib";
|
|
17
17
|
import { HealthcareApisManagementClient } from "@azure/arm-healthcareapis";
|
18
18
|
import { DefaultAzureCredential } from "@azure/identity";
|
19
19
|
function privateEndpointConnectionList() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "rgname";
|
@@ -26,15 +26,22 @@ function privateEndpointConnectionList() {
|
|
26
26
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
27
|
const resArray = new Array();
|
28
28
|
try {
|
29
|
-
for (var
|
30
|
-
|
31
|
-
|
29
|
+
for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.listByService(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
30
|
+
_c = _f.value;
|
31
|
+
_d = false;
|
32
|
+
try {
|
33
|
+
let item = _c;
|
34
|
+
resArray.push(item);
|
35
|
+
}
|
36
|
+
finally {
|
37
|
+
_d = true;
|
38
|
+
}
|
32
39
|
}
|
33
40
|
}
|
34
41
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
42
|
finally {
|
36
43
|
try {
|
37
|
-
if (
|
44
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
38
45
|
}
|
39
46
|
finally { if (e_1) throw e_1.error; }
|
40
47
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionList.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionList.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"privateEndpointConnectionList.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionList.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,aAAa,CACpE,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceListPrivateEndpointConnections.json
|
18
18
|
*/
|
19
19
|
function privateEndpointConnectionList() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "rgname";
|
@@ -26,15 +26,22 @@ function privateEndpointConnectionList() {
|
|
26
26
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
27
|
const resArray = new Array();
|
28
28
|
try {
|
29
|
-
for (var
|
30
|
-
|
31
|
-
|
29
|
+
for (var _d = true, _e = __asyncValues(client.privateEndpointConnections.listByService(resourceGroupName, resourceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
30
|
+
_c = _f.value;
|
31
|
+
_d = false;
|
32
|
+
try {
|
33
|
+
let item = _c;
|
34
|
+
resArray.push(item);
|
35
|
+
}
|
36
|
+
finally {
|
37
|
+
_d = true;
|
38
|
+
}
|
32
39
|
}
|
33
40
|
}
|
34
41
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
42
|
finally {
|
36
43
|
try {
|
37
|
-
if (
|
44
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
38
45
|
}
|
39
46
|
finally { if (e_1) throw e_1.error; }
|
40
47
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionsListByServiceSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByServiceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"privateEndpointConnectionsListByServiceSample.js","sourceRoot":"","sources":["../../samples-dev/privateEndpointConnectionsListByServiceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,YAAY,GAAG,UAAU,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,0BAA0B,CAAC,aAAa,CACpE,iBAAiB,EACjB,YAAY,CACb,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceListByResourceGroup.json
|
18
18
|
*/
|
19
19
|
function listAllServicesInResourceGroup() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "rgname";
|
@@ -25,15 +25,22 @@ function listAllServicesInResourceGroup() {
|
|
25
25
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
26
|
const resArray = new Array();
|
27
27
|
try {
|
28
|
-
for (var
|
29
|
-
|
30
|
-
|
28
|
+
for (var _d = true, _e = __asyncValues(client.services.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
29
|
+
_c = _f.value;
|
30
|
+
_d = false;
|
31
|
+
try {
|
32
|
+
let item = _c;
|
33
|
+
resArray.push(item);
|
34
|
+
}
|
35
|
+
finally {
|
36
|
+
_d = true;
|
37
|
+
}
|
31
38
|
}
|
32
39
|
}
|
33
40
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
34
41
|
finally {
|
35
42
|
try {
|
36
|
-
if (
|
43
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
37
44
|
}
|
38
45
|
finally { if (e_1) throw e_1.error; }
|
39
46
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"servicesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,8BAA8B;;;QAC3C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,mBAAmB,CACxD,iBAAiB,CAClB,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,8BAA8B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,22 +17,29 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/legacy/ServiceList.json
|
18
18
|
*/
|
19
19
|
function listAllServicesInSubscription() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const credential = new DefaultAzureCredential();
|
24
24
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
25
|
const resArray = new Array();
|
26
26
|
try {
|
27
|
-
for (var
|
28
|
-
|
29
|
-
|
27
|
+
for (var _d = true, _e = __asyncValues(client.services.list()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
28
|
+
_c = _f.value;
|
29
|
+
_d = false;
|
30
|
+
try {
|
31
|
+
let item = _c;
|
32
|
+
resArray.push(item);
|
33
|
+
}
|
34
|
+
finally {
|
35
|
+
_d = true;
|
36
|
+
}
|
30
37
|
}
|
31
38
|
}
|
32
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
40
|
finally {
|
34
41
|
try {
|
35
|
-
if (
|
42
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
36
43
|
}
|
37
44
|
finally { if (e_1) throw e_1.error; }
|
38
45
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"servicesListSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"servicesListSample.js","sourceRoot":"","sources":["../../samples-dev/servicesListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,6BAA6B;;;QAC1C,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAA,IAAA;gBAAtB,cAAsB;gBAAtB,WAAsB;;oBAAlC,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/WorkspaceListPrivateEndpointConnections.json
|
18
18
|
*/
|
19
19
|
function workspacePrivateEndpointConnectionList() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "testRG";
|
@@ -26,15 +26,22 @@ function workspacePrivateEndpointConnectionList() {
|
|
26
26
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
27
|
const resArray = new Array();
|
28
28
|
try {
|
29
|
-
for (var
|
30
|
-
|
31
|
-
|
29
|
+
for (var _d = true, _e = __asyncValues(client.workspacePrivateEndpointConnections.listByWorkspace(resourceGroupName, workspaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
30
|
+
_c = _f.value;
|
31
|
+
_d = false;
|
32
|
+
try {
|
33
|
+
let item = _c;
|
34
|
+
resArray.push(item);
|
35
|
+
}
|
36
|
+
finally {
|
37
|
+
_d = true;
|
38
|
+
}
|
32
39
|
}
|
33
40
|
}
|
34
41
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
42
|
finally {
|
36
43
|
try {
|
37
|
-
if (
|
44
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
38
45
|
}
|
39
46
|
finally { if (e_1) throw e_1.error; }
|
40
47
|
}
|
package/dist-esm/samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacePrivateEndpointConnectionsListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sCAAsC;;;QACnD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"workspacePrivateEndpointConnectionsListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateEndpointConnectionsListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,sCAAsC;;;QACnD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,mCAAmC,CAAC,eAAe,CAC/E,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,sCAAsC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/privatelink/PrivateLinkResourcesListByWorkspace.json
|
18
18
|
*/
|
19
19
|
function workspacePrivateLinkResourcesListGroupIds() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "testRG";
|
@@ -26,15 +26,22 @@ function workspacePrivateLinkResourcesListGroupIds() {
|
|
26
26
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
27
27
|
const resArray = new Array();
|
28
28
|
try {
|
29
|
-
for (var
|
30
|
-
|
31
|
-
|
29
|
+
for (var _d = true, _e = __asyncValues(client.workspacePrivateLinkResources.listByWorkspace(resourceGroupName, workspaceName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
30
|
+
_c = _f.value;
|
31
|
+
_d = false;
|
32
|
+
try {
|
33
|
+
let item = _c;
|
34
|
+
resArray.push(item);
|
35
|
+
}
|
36
|
+
finally {
|
37
|
+
_d = true;
|
38
|
+
}
|
32
39
|
}
|
33
40
|
}
|
34
41
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
35
42
|
finally {
|
36
43
|
try {
|
37
|
-
if (
|
44
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
38
45
|
}
|
39
46
|
finally { if (e_1) throw e_1.error; }
|
40
47
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacePrivateLinkResourcesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"workspacePrivateLinkResourcesListByWorkspaceSample.js","sourceRoot":"","sources":["../../samples-dev/workspacePrivateLinkResourcesListByWorkspaceSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,aAAa,GAAG,YAAY,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,6BAA6B,CAAC,eAAe,CACzE,iBAAiB,EACjB,aAAa,CACd,CAAA,IAAA;gBAHsB,cAGtB;gBAHsB,WAGtB;;oBAHU,IAAI,IAAI,KAAA,CAAA;oBAIjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,yCAAyC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_ListByResourceGroup.json
|
18
18
|
*/
|
19
19
|
function getWorkspacesByResourceGroup() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const resourceGroupName = "testRG";
|
@@ -25,15 +25,22 @@ function getWorkspacesByResourceGroup() {
|
|
25
25
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
26
26
|
const resArray = new Array();
|
27
27
|
try {
|
28
|
-
for (var
|
29
|
-
|
30
|
-
|
28
|
+
for (var _d = true, _e = __asyncValues(client.workspaces.listByResourceGroup(resourceGroupName)), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
29
|
+
_c = _f.value;
|
30
|
+
_d = false;
|
31
|
+
try {
|
32
|
+
let item = _c;
|
33
|
+
resArray.push(item);
|
34
|
+
}
|
35
|
+
finally {
|
36
|
+
_d = true;
|
37
|
+
}
|
31
38
|
}
|
32
39
|
}
|
33
40
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
34
41
|
finally {
|
35
42
|
try {
|
36
|
-
if (
|
43
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
37
44
|
}
|
38
45
|
finally { if (e_1) throw e_1.error; }
|
39
46
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;;QACzC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"workspacesListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;;QACzC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,iBAAiB,GAAG,QAAQ,CAAC;QACnC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,mBAAmB,CAC1D,iBAAiB,CAClB,CAAA,IAAA;gBAFsB,cAEtB;gBAFsB,WAEtB;;oBAFU,IAAI,IAAI,KAAA,CAAA;oBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -17,22 +17,29 @@ import { DefaultAzureCredential } from "@azure/identity";
|
|
17
17
|
* x-ms-original-file: specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2021-11-01/examples/workspaces/Workspaces_ListBySubscription.json
|
18
18
|
*/
|
19
19
|
function getWorkspacesBySubscription() {
|
20
|
-
var e_1,
|
20
|
+
var _a, e_1, _b, _c;
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
22
22
|
const subscriptionId = "subid";
|
23
23
|
const credential = new DefaultAzureCredential();
|
24
24
|
const client = new HealthcareApisManagementClient(credential, subscriptionId);
|
25
25
|
const resArray = new Array();
|
26
26
|
try {
|
27
|
-
for (var
|
28
|
-
|
29
|
-
|
27
|
+
for (var _d = true, _e = __asyncValues(client.workspaces.listBySubscription()), _f; _f = yield _e.next(), _a = _f.done, !_a;) {
|
28
|
+
_c = _f.value;
|
29
|
+
_d = false;
|
30
|
+
try {
|
31
|
+
let item = _c;
|
32
|
+
resArray.push(item);
|
33
|
+
}
|
34
|
+
finally {
|
35
|
+
_d = true;
|
36
|
+
}
|
30
37
|
}
|
31
38
|
}
|
32
39
|
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
40
|
finally {
|
34
41
|
try {
|
35
|
-
if (
|
42
|
+
if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);
|
36
43
|
}
|
37
44
|
finally { if (e_1) throw e_1.error; }
|
38
45
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"workspacesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;;QACxC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,
|
1
|
+
{"version":3,"file":"workspacesListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/workspacesListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,8BAA8B,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,2BAA2B;;;QACxC,MAAM,cAAc,GAAG,OAAO,CAAC;QAC/B,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,8BAA8B,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAC9E,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,eAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAAtC,cAAsC;gBAAtC,WAAsC;;oBAAlD,IAAI,IAAI,KAAA,CAAA;oBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;;;;;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|