@azure/arm-mixedreality 4.1.0-alpha.20221101.1 → 4.1.0-alpha.20221206.2
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +17 -4
- package/dist/index.js +214 -68
- 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/src/index.d.ts +1 -0
- package/dist-esm/src/index.d.ts.map +1 -1
- package/dist-esm/src/index.js +1 -0
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/mixedRealityClient.d.ts +2 -0
- package/dist-esm/src/mixedRealityClient.d.ts.map +1 -1
- package/dist-esm/src/mixedRealityClient.js +49 -18
- package/dist-esm/src/mixedRealityClient.js.map +1 -1
- package/dist-esm/src/models/index.d.ts +16 -9
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js +6 -0
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/operations/objectAnchorsAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/objectAnchorsAccounts.js +37 -14
- package/dist-esm/src/operations/objectAnchorsAccounts.js.map +1 -1
- package/dist-esm/src/operations/operations.d.ts.map +1 -1
- package/dist-esm/src/operations/operations.js +19 -7
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/remoteRenderingAccounts.js +37 -14
- package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -1
- package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -1
- package/dist-esm/src/operations/spatialAnchorsAccounts.js +37 -14
- package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -1
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/sampleTest.js +11 -13
- package/dist-esm/test/sampleTest.js.map +1 -1
- package/package.json +12 -8
- package/review/arm-mixedreality.api.md +27 -28
- package/src/index.ts +1 -0
- package/src/mixedRealityClient.ts +60 -20
- package/src/models/index.ts +15 -9
- package/src/operations/objectAnchorsAccounts.ts +45 -16
- package/src/operations/operations.ts +21 -8
- package/src/operations/remoteRenderingAccounts.ts +45 -16
- package/src/operations/spatialAnchorsAccounts.ts +45 -16
- package/src/pagingHelper.ts +39 -0
- package/types/arm-mixedreality.d.ts +27 -9
- package/types/tsdoc-metadata.json +1 -1
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +0 -2
- package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +0 -1
- package/dist-esm/samples-dev/checkLocalNameAvailability.js +0 -34
- package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +0 -1
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js +0 -35
- package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +0 -2
- package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js +0 -34
- package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +0 -1
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +0 -31
- package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +0 -2
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +0 -31
- package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +0 -1
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js +0 -31
- package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +0 -2
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +0 -31
- package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +0 -1
- package/dist-esm/samples-dev/listAvailableOperations.d.ts +0 -2
- package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +0 -1
- package/dist-esm/samples-dev/listAvailableOperations.js +0 -43
- package/dist-esm/samples-dev/listAvailableOperations.js.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +0 -2
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +0 -31
- package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +0 -43
- package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +0 -2
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +0 -31
- package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +0 -2
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +0 -44
- package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +0 -2
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +0 -1
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +0 -43
- package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +0 -1
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +0 -2
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +0 -1
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +0 -32
- package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +0 -1
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +0 -2
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +0 -1
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +0 -32
- package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +0 -1
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +0 -2
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +0 -36
- package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +0 -1
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +0 -2
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +0 -1
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +0 -35
- package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +0 -1
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Delete a Spatial Anchors Account.
|
13
|
-
*
|
14
|
-
* @summary Delete a Spatial Anchors Account.
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Delete.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function deleteSpatialAnchorsAccount() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
26
|
-
const result = yield client.spatialAnchorsAccounts.delete(resourceGroupName, accountName);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
deleteSpatialAnchorsAccount().catch(console.error);
|
31
|
-
//# sourceMappingURL=deleteSpatialAnchorsAccount.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"deleteSpatialAnchorsAccount.js","sourceRoot":"","sources":["../../samples-dev/deleteSpatialAnchorsAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,MAAM,CACvD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getRemoteRenderingAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/getRemoteRenderingAccount.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Retrieve a Remote Rendering Account.
|
13
|
-
*
|
14
|
-
* @summary Retrieve a Remote Rendering Account.
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Get.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function getRemoteRenderingAccount() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
26
|
-
const result = yield client.remoteRenderingAccounts.get(resourceGroupName, accountName);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
getRemoteRenderingAccount().catch(console.error);
|
31
|
-
//# sourceMappingURL=getRemoteRenderingAccount.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getRemoteRenderingAccount.js","sourceRoot":"","sources":["../../samples-dev/getRemoteRenderingAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yBAAyB;;QACtC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,GAAG,CACrD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,yBAAyB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getSpatialAnchorsAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/getSpatialAnchorsAccount.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Retrieve a Spatial Anchors Account.
|
13
|
-
*
|
14
|
-
* @summary Retrieve a Spatial Anchors Account.
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/Get.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function getSpatialAnchorsAccount() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
26
|
-
const result = yield client.spatialAnchorsAccounts.get(resourceGroupName, accountName);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
getSpatialAnchorsAccount().catch(console.error);
|
31
|
-
//# sourceMappingURL=getSpatialAnchorsAccount.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"getSpatialAnchorsAccount.js","sourceRoot":"","sources":["../../samples-dev/getSpatialAnchorsAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,wBAAwB;;QACrC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,GAAG,CACpD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,wBAAwB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listAvailableOperations.d.ts","sourceRoot":"","sources":["../../samples-dev/listAvailableOperations.ts"],"names":[],"mappings":""}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Exposing Available Operations
|
13
|
-
*
|
14
|
-
* @summary Exposing Available Operations
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/proxy/ExposingAvailableOperations.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listAvailableOperations() {
|
20
|
-
var e_1, _a;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
|
23
|
-
const credential = new DefaultAzureCredential();
|
24
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
25
|
-
const resArray = new Array();
|
26
|
-
try {
|
27
|
-
for (var _b = __asyncValues(client.operations.list()), _c; _c = yield _b.next(), !_c.done;) {
|
28
|
-
let item = _c.value;
|
29
|
-
resArray.push(item);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
|
-
finally {
|
34
|
-
try {
|
35
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
36
|
-
}
|
37
|
-
finally { if (e_1) throw e_1.error; }
|
38
|
-
}
|
39
|
-
console.log(resArray);
|
40
|
-
});
|
41
|
-
}
|
42
|
-
listAvailableOperations().catch(console.error);
|
43
|
-
//# sourceMappingURL=listAvailableOperations.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listAvailableOperations.js","sourceRoot":"","sources":["../../samples-dev/listAvailableOperations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,uBAAuB;;;QACpC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,CAAA,IAAA;gBAApC,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,uBAAuB,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listRemoteRenderingAccountKey.d.ts","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountKey.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to List Both of the 2 Keys of a Remote Rendering Account
|
13
|
-
*
|
14
|
-
* @summary List Both of the 2 Keys of a Remote Rendering Account
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/ListKeys.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listRemoteRenderingAccountKey() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
26
|
-
const result = yield client.remoteRenderingAccounts.listKeys(resourceGroupName, accountName);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
listRemoteRenderingAccountKey().catch(console.error);
|
31
|
-
//# sourceMappingURL=listRemoteRenderingAccountKey.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listRemoteRenderingAccountKey.js","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountKey.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,6BAA6B;;QAC1C,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,QAAQ,CAC1D,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,6BAA6B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listRemoteRenderingAccountsByResourceGroup.d.ts","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountsByResourceGroup.ts"],"names":[],"mappings":""}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to List Resources by Resource Group
|
13
|
-
*
|
14
|
-
* @summary List Resources by Resource Group
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/GetByResourceGroup.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listRemoteRenderingAccountsByResourceGroup() {
|
20
|
-
var e_1, _a;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
23
|
-
const resourceGroupName = "MyResourceGroup";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
26
|
-
const resArray = new Array();
|
27
|
-
try {
|
28
|
-
for (var _b = __asyncValues(client.remoteRenderingAccounts.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
|
29
|
-
let item = _c.value;
|
30
|
-
resArray.push(item);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
34
|
-
finally {
|
35
|
-
try {
|
36
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
37
|
-
}
|
38
|
-
finally { if (e_1) throw e_1.error; }
|
39
|
-
}
|
40
|
-
console.log(resArray);
|
41
|
-
});
|
42
|
-
}
|
43
|
-
listRemoteRenderingAccountsByResourceGroup().catch(console.error);
|
44
|
-
//# sourceMappingURL=listRemoteRenderingAccountsByResourceGroup.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listRemoteRenderingAccountsByResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountsByResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,0CAA0C;;;QACvD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,uBAAuB,CAAC,mBAAmB,CACvE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,0CAA0C,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listRemoteRenderingAccountsBySubscription.d.ts","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountsBySubscription.ts"],"names":[],"mappings":""}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to List Remote Rendering Accounts by Subscription
|
13
|
-
*
|
14
|
-
* @summary List Remote Rendering Accounts by Subscription
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/GetBySubscription.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listRemoteRenderingAccountsBySubscription() {
|
20
|
-
var e_1, _a;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
23
|
-
const credential = new DefaultAzureCredential();
|
24
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
25
|
-
const resArray = new Array();
|
26
|
-
try {
|
27
|
-
for (var _b = __asyncValues(client.remoteRenderingAccounts.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
|
28
|
-
let item = _c.value;
|
29
|
-
resArray.push(item);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
|
-
finally {
|
34
|
-
try {
|
35
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
36
|
-
}
|
37
|
-
finally { if (e_1) throw e_1.error; }
|
38
|
-
}
|
39
|
-
console.log(resArray);
|
40
|
-
});
|
41
|
-
}
|
42
|
-
listRemoteRenderingAccountsBySubscription().catch(console.error);
|
43
|
-
//# sourceMappingURL=listRemoteRenderingAccountsBySubscription.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listRemoteRenderingAccountsBySubscription.js","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountsBySubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,yCAAyC;;;QACtD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,uBAAuB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA/D,IAAI,IAAI,WAAA,CAAA;gBACjB,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"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listSpatialAnchorAccountKey.d.ts","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorAccountKey.ts"],"names":[],"mappings":""}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to List Both of the 2 Keys of a Spatial Anchors Account
|
13
|
-
*
|
14
|
-
* @summary List Both of the 2 Keys of a Spatial Anchors Account
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/ListKeys.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listSpatialAnchorAccountKey() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
26
|
-
const result = yield client.spatialAnchorsAccounts.listKeys(resourceGroupName, accountName);
|
27
|
-
console.log(result);
|
28
|
-
});
|
29
|
-
}
|
30
|
-
listSpatialAnchorAccountKey().catch(console.error);
|
31
|
-
//# sourceMappingURL=listSpatialAnchorAccountKey.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listSpatialAnchorAccountKey.js","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorAccountKey.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,2BAA2B;;QACxC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,QAAQ,CACzD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,2BAA2B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listSpatialAnchorAccountsByResourceGroup.d.ts","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorAccountsByResourceGroup.ts"],"names":[],"mappings":""}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to List Resources by Resource Group
|
13
|
-
*
|
14
|
-
* @summary List Resources by Resource Group
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/GetByResourceGroup.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listSpatialAnchorAccountsByResourceGroup() {
|
20
|
-
var e_1, _a;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
23
|
-
const resourceGroupName = "MyResourceGroup";
|
24
|
-
const credential = new DefaultAzureCredential();
|
25
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
26
|
-
const resArray = new Array();
|
27
|
-
try {
|
28
|
-
for (var _b = __asyncValues(client.spatialAnchorsAccounts.listByResourceGroup(resourceGroupName)), _c; _c = yield _b.next(), !_c.done;) {
|
29
|
-
let item = _c.value;
|
30
|
-
resArray.push(item);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
34
|
-
finally {
|
35
|
-
try {
|
36
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
37
|
-
}
|
38
|
-
finally { if (e_1) throw e_1.error; }
|
39
|
-
}
|
40
|
-
console.log(resArray);
|
41
|
-
});
|
42
|
-
}
|
43
|
-
listSpatialAnchorAccountsByResourceGroup().catch(console.error);
|
44
|
-
//# sourceMappingURL=listSpatialAnchorAccountsByResourceGroup.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listSpatialAnchorAccountsByResourceGroup.js","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorAccountsByResourceGroup.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,wCAAwC;;;QACrD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,mBAAmB,CACtE,iBAAiB,CAClB,CAAA,IAAA;gBAFU,IAAI,IAAI,WAAA,CAAA;gBAGjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,wCAAwC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listSpatialAnchorsAccountsBySubscription.d.ts","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorsAccountsBySubscription.ts"],"names":[],"mappings":""}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __asyncValues, __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to List Spatial Anchors Accounts by Subscription
|
13
|
-
*
|
14
|
-
* @summary List Spatial Anchors Accounts by Subscription
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/GetBySubscription.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function listSpatialAnchorsAccountsBySubscription() {
|
20
|
-
var e_1, _a;
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
22
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
23
|
-
const credential = new DefaultAzureCredential();
|
24
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
25
|
-
const resArray = new Array();
|
26
|
-
try {
|
27
|
-
for (var _b = __asyncValues(client.spatialAnchorsAccounts.listBySubscription()), _c; _c = yield _b.next(), !_c.done;) {
|
28
|
-
let item = _c.value;
|
29
|
-
resArray.push(item);
|
30
|
-
}
|
31
|
-
}
|
32
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
33
|
-
finally {
|
34
|
-
try {
|
35
|
-
if (_c && !_c.done && (_a = _b.return)) yield _a.call(_b);
|
36
|
-
}
|
37
|
-
finally { if (e_1) throw e_1.error; }
|
38
|
-
}
|
39
|
-
console.log(resArray);
|
40
|
-
});
|
41
|
-
}
|
42
|
-
listSpatialAnchorsAccountsBySubscription().catch(console.error);
|
43
|
-
//# sourceMappingURL=listSpatialAnchorsAccountsBySubscription.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"listSpatialAnchorsAccountsBySubscription.js","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorsAccountsBySubscription.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,wCAAwC;;;QACrD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,QAAQ,GAAG,IAAI,KAAK,EAAE,CAAC;;YAC7B,KAAuB,IAAA,KAAA,cAAA,MAAM,CAAC,sBAAsB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA9D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,wCAAwC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"regenerateRemoteRenderingAccountKeys.d.ts","sourceRoot":"","sources":["../../samples-dev/regenerateRemoteRenderingAccountKeys.ts"],"names":[],"mappings":""}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Regenerate specified Key of a Remote Rendering Account
|
13
|
-
*
|
14
|
-
* @summary Regenerate specified Key of a Remote Rendering Account
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/RegenerateKey.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function regenerateRemoteRenderingAccountKeys() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const regenerate = { serial: 1 };
|
25
|
-
const credential = new DefaultAzureCredential();
|
26
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
27
|
-
const result = yield client.remoteRenderingAccounts.regenerateKeys(resourceGroupName, accountName, regenerate);
|
28
|
-
console.log(result);
|
29
|
-
});
|
30
|
-
}
|
31
|
-
regenerateRemoteRenderingAccountKeys().catch(console.error);
|
32
|
-
//# sourceMappingURL=regenerateRemoteRenderingAccountKeys.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"regenerateRemoteRenderingAccountKeys.js","sourceRoot":"","sources":["../../samples-dev/regenerateRemoteRenderingAccountKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,oCAAoC;;QACjD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAgC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,uBAAuB,CAAC,cAAc,CAChE,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,oCAAoC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"regenerateSpatialAnchorsAccountKeys.d.ts","sourceRoot":"","sources":["../../samples-dev/regenerateSpatialAnchorsAccountKeys.ts"],"names":[],"mappings":""}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) Microsoft Corporation.
|
3
|
-
* Licensed under the MIT License.
|
4
|
-
*
|
5
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
6
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
|
-
*/
|
8
|
-
import { __awaiter } from "tslib";
|
9
|
-
// Copyright (c) Microsoft Corporation.
|
10
|
-
// Licensed under the MIT License.
|
11
|
-
/**
|
12
|
-
* This sample demonstrates how to Regenerate specified Key of a Spatial Anchors Account
|
13
|
-
*
|
14
|
-
* @summary Regenerate specified Key of a Spatial Anchors Account
|
15
|
-
* x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/spatial-anchors/RegenerateKey.json
|
16
|
-
*/
|
17
|
-
import { MixedRealityClient } from "@azure/arm-mixedreality";
|
18
|
-
import { DefaultAzureCredential } from "@azure/identity";
|
19
|
-
function regenerateSpatialAnchorsAccountKeys() {
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
21
|
-
const subscriptionId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
|
22
|
-
const resourceGroupName = "MyResourceGroup";
|
23
|
-
const accountName = "MyAccount";
|
24
|
-
const regenerate = { serial: 1 };
|
25
|
-
const credential = new DefaultAzureCredential();
|
26
|
-
const client = new MixedRealityClient(credential, subscriptionId);
|
27
|
-
const result = yield client.spatialAnchorsAccounts.regenerateKeys(resourceGroupName, accountName, regenerate);
|
28
|
-
console.log(result);
|
29
|
-
});
|
30
|
-
}
|
31
|
-
regenerateSpatialAnchorsAccountKeys().catch(console.error);
|
32
|
-
//# sourceMappingURL=regenerateSpatialAnchorsAccountKeys.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"regenerateSpatialAnchorsAccountKeys.js","sourceRoot":"","sources":["../../samples-dev/regenerateSpatialAnchorsAccountKeys.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC;;;;;GAKG;AACH,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,SAAe,mCAAmC;;QAChD,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,UAAU,GAAgC,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;QAC9D,MAAM,UAAU,GAAG,IAAI,sBAAsB,EAAE,CAAC;QAChD,MAAM,MAAM,GAAG,IAAI,kBAAkB,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;QAClE,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,sBAAsB,CAAC,cAAc,CAC/D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,mCAAmC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"updateRemoteRenderingAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/updateRemoteRenderingAccount.ts"],"names":[],"mappings":""}
|