@azure/arm-mixedreality 2.0.0 → 4.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.
Files changed (208) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +72 -73
  5. package/dist/index.js +2016 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +2 -0
  10. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +1 -0
  11. package/dist-esm/samples-dev/checkLocalNameAvailability.js +34 -0
  12. package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +1 -0
  13. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +2 -0
  14. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +1 -0
  15. package/dist-esm/samples-dev/createRemoteRenderingAccount.js +35 -0
  16. package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +1 -0
  17. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +2 -0
  18. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +1 -0
  19. package/dist-esm/samples-dev/createSpatialAnchorAccount.js +34 -0
  20. package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +1 -0
  21. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +2 -0
  22. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +1 -0
  23. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +31 -0
  24. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +1 -0
  25. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +2 -0
  26. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +31 -0
  28. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +1 -0
  29. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +2 -0
  30. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/getRemoteRenderingAccount.js +31 -0
  32. package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +1 -0
  33. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +2 -0
  34. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +31 -0
  36. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +1 -0
  37. package/dist-esm/samples-dev/listAvailableOperations.d.ts +2 -0
  38. package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/listAvailableOperations.js +43 -0
  40. package/dist-esm/samples-dev/listAvailableOperations.js.map +1 -0
  41. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +2 -0
  42. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +31 -0
  44. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +1 -0
  45. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +2 -0
  46. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +44 -0
  48. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +1 -0
  49. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +2 -0
  50. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +1 -0
  51. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +43 -0
  52. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +1 -0
  53. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +2 -0
  54. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +1 -0
  55. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +31 -0
  56. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +1 -0
  57. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +2 -0
  58. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +1 -0
  59. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +44 -0
  60. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +1 -0
  61. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +2 -0
  62. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +1 -0
  63. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +43 -0
  64. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +1 -0
  65. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +2 -0
  66. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +1 -0
  67. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +32 -0
  68. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +1 -0
  69. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +2 -0
  70. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +1 -0
  71. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +32 -0
  72. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +1 -0
  73. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +2 -0
  74. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +1 -0
  75. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +36 -0
  76. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +1 -0
  77. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +2 -0
  78. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +1 -0
  79. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +35 -0
  80. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +1 -0
  81. package/dist-esm/src/index.d.ts +5 -0
  82. package/dist-esm/src/index.d.ts.map +1 -0
  83. package/dist-esm/src/index.js +12 -0
  84. package/dist-esm/src/index.js.map +1 -0
  85. package/dist-esm/src/mixedRealityClient.d.ts +28 -0
  86. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -0
  87. package/dist-esm/src/mixedRealityClient.js +89 -0
  88. package/dist-esm/src/mixedRealityClient.js.map +1 -0
  89. package/dist-esm/src/models/index.d.ts +444 -0
  90. package/dist-esm/src/models/index.d.ts.map +1 -0
  91. package/dist-esm/src/models/index.js +22 -0
  92. package/dist-esm/src/models/index.js.map +1 -0
  93. package/dist-esm/src/models/mappers.d.ts +25 -0
  94. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  95. package/{esm → dist-esm/src}/models/mappers.js +473 -288
  96. package/dist-esm/src/models/mappers.js.map +1 -0
  97. package/dist-esm/src/models/parameters.d.ts +15 -0
  98. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  99. package/dist-esm/src/models/parameters.js +135 -0
  100. package/dist-esm/src/models/parameters.js.map +1 -0
  101. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  102. package/dist-esm/src/operations/index.d.ts.map +1 -0
  103. package/{esm → dist-esm/src}/operations/index.js +3 -5
  104. package/dist-esm/src/operations/index.js.map +1 -0
  105. package/dist-esm/src/operations/operations.d.ts +32 -0
  106. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  107. package/dist-esm/src/operations/operations.js +120 -0
  108. package/dist-esm/src/operations/operations.js.map +1 -0
  109. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts +98 -0
  110. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -0
  111. package/dist-esm/src/operations/remoteRenderingAccounts.js +422 -0
  112. package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -0
  113. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts +98 -0
  114. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -0
  115. package/dist-esm/src/operations/spatialAnchorsAccounts.js +422 -0
  116. package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  118. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  119. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  120. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  121. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  122. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  123. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  124. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  125. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts +62 -0
  126. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts.map +1 -0
  127. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js +9 -0
  128. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js.map +1 -0
  129. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts +62 -0
  130. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts.map +1 -0
  131. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js +9 -0
  132. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js.map +1 -0
  133. package/dist-esm/test/sampleTest.d.ts +2 -0
  134. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  135. package/dist-esm/test/sampleTest.js +40 -0
  136. package/dist-esm/test/sampleTest.js.map +1 -0
  137. package/package.json +75 -32
  138. package/review/arm-mixedreality.api.md +436 -0
  139. package/rollup.config.js +181 -30
  140. package/src/index.ts +12 -0
  141. package/src/mixedRealityClient.ts +104 -77
  142. package/src/models/index.ts +405 -735
  143. package/src/models/mappers.ts +478 -295
  144. package/src/models/parameters.ts +93 -47
  145. package/src/operations/index.ts +3 -5
  146. package/src/operations/operations.ts +87 -73
  147. package/src/operations/remoteRenderingAccounts.ts +321 -389
  148. package/src/operations/spatialAnchorsAccounts.ts +321 -389
  149. package/src/operationsInterfaces/index.ts +11 -0
  150. package/src/operationsInterfaces/operations.ts +22 -0
  151. package/src/operationsInterfaces/remoteRenderingAccounts.ts +119 -0
  152. package/src/operationsInterfaces/spatialAnchorsAccounts.ts +119 -0
  153. package/tsconfig.json +5 -4
  154. package/types/arm-mixedreality.d.ts +674 -0
  155. package/types/tsdoc-metadata.json +11 -0
  156. package/dist/arm-mixedreality.js +0 -1756
  157. package/dist/arm-mixedreality.js.map +0 -1
  158. package/dist/arm-mixedreality.min.js +0 -1
  159. package/dist/arm-mixedreality.min.js.map +0 -1
  160. package/esm/mixedRealityClient.d.ts +0 -42
  161. package/esm/mixedRealityClient.d.ts.map +0 -1
  162. package/esm/mixedRealityClient.js +0 -73
  163. package/esm/mixedRealityClient.js.map +0 -1
  164. package/esm/mixedRealityClientContext.d.ts +0 -16
  165. package/esm/mixedRealityClientContext.d.ts.map +0 -1
  166. package/esm/mixedRealityClientContext.js +0 -56
  167. package/esm/mixedRealityClientContext.js.map +0 -1
  168. package/esm/models/index.d.ts +0 -778
  169. package/esm/models/index.d.ts.map +0 -1
  170. package/esm/models/index.js +0 -8
  171. package/esm/models/index.js.map +0 -1
  172. package/esm/models/mappers.d.ts +0 -27
  173. package/esm/models/mappers.d.ts.map +0 -1
  174. package/esm/models/mappers.js.map +0 -1
  175. package/esm/models/operationsMappers.d.ts +0 -2
  176. package/esm/models/operationsMappers.d.ts.map +0 -1
  177. package/esm/models/operationsMappers.js +0 -9
  178. package/esm/models/operationsMappers.js.map +0 -1
  179. package/esm/models/parameters.d.ts +0 -10
  180. package/esm/models/parameters.d.ts.map +0 -1
  181. package/esm/models/parameters.js +0 -110
  182. package/esm/models/parameters.js.map +0 -1
  183. package/esm/models/remoteRenderingAccountsMappers.d.ts +0 -2
  184. package/esm/models/remoteRenderingAccountsMappers.d.ts.map +0 -1
  185. package/esm/models/remoteRenderingAccountsMappers.js +0 -9
  186. package/esm/models/remoteRenderingAccountsMappers.js.map +0 -1
  187. package/esm/models/spatialAnchorsAccountsMappers.d.ts +0 -2
  188. package/esm/models/spatialAnchorsAccountsMappers.d.ts.map +0 -1
  189. package/esm/models/spatialAnchorsAccountsMappers.js +0 -9
  190. package/esm/models/spatialAnchorsAccountsMappers.js.map +0 -1
  191. package/esm/operations/index.d.ts.map +0 -1
  192. package/esm/operations/index.js.map +0 -1
  193. package/esm/operations/operations.d.ts +0 -46
  194. package/esm/operations/operations.d.ts.map +0 -1
  195. package/esm/operations/operations.js +0 -77
  196. package/esm/operations/operations.js.map +0 -1
  197. package/esm/operations/remoteRenderingAccounts.d.ts +0 -217
  198. package/esm/operations/remoteRenderingAccounts.d.ts.map +0 -1
  199. package/esm/operations/remoteRenderingAccounts.js +0 -339
  200. package/esm/operations/remoteRenderingAccounts.js.map +0 -1
  201. package/esm/operations/spatialAnchorsAccounts.d.ts +0 -217
  202. package/esm/operations/spatialAnchorsAccounts.d.ts.map +0 -1
  203. package/esm/operations/spatialAnchorsAccounts.js +0 -339
  204. package/esm/operations/spatialAnchorsAccounts.js.map +0 -1
  205. package/src/mixedRealityClientContext.ts +0 -61
  206. package/src/models/operationsMappers.ts +0 -14
  207. package/src/models/remoteRenderingAccountsMappers.ts +0 -29
  208. package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -0,0 +1,31 @@
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 Remote Rendering Account.
13
+ *
14
+ * @summary Delete a Remote Rendering Account.
15
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/stable/2021-01-01/examples/remote-rendering/Delete.json
16
+ */
17
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
18
+ import { DefaultAzureCredential } from "@azure/identity";
19
+ function deleteRemoteRenderingAccount() {
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.delete(resourceGroupName, accountName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ deleteRemoteRenderingAccount().catch(console.error);
31
+ //# sourceMappingURL=deleteRemoteRenderingAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteRemoteRenderingAccount.js","sourceRoot":"","sources":["../../samples-dev/deleteRemoteRenderingAccount.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,4BAA4B;;QACzC,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,MAAM,CACxD,iBAAiB,EACjB,WAAW,CACZ,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,4BAA4B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=deleteSpatialAnchorsAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteSpatialAnchorsAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/deleteSpatialAnchorsAccount.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getRemoteRenderingAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRemoteRenderingAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/getRemoteRenderingAccount.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=getSpatialAnchorsAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSpatialAnchorsAccount.d.ts","sourceRoot":"","sources":["../../samples-dev/getSpatialAnchorsAccount.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=listAvailableOperations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listAvailableOperations.d.ts","sourceRoot":"","sources":["../../samples-dev/listAvailableOperations.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=listRemoteRenderingAccountKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listRemoteRenderingAccountKey.d.ts","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountKey.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=listRemoteRenderingAccountsByResourceGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listRemoteRenderingAccountsByResourceGroup.d.ts","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountsByResourceGroup.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=listRemoteRenderingAccountsBySubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listRemoteRenderingAccountsBySubscription.d.ts","sourceRoot":"","sources":["../../samples-dev/listRemoteRenderingAccountsBySubscription.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=listSpatialAnchorAccountKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listSpatialAnchorAccountKey.d.ts","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorAccountKey.ts"],"names":[],"mappings":""}
@@ -0,0 +1,31 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=listSpatialAnchorAccountsByResourceGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listSpatialAnchorAccountsByResourceGroup.d.ts","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorAccountsByResourceGroup.ts"],"names":[],"mappings":""}
@@ -0,0 +1,44 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=listSpatialAnchorsAccountsBySubscription.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listSpatialAnchorsAccountsBySubscription.d.ts","sourceRoot":"","sources":["../../samples-dev/listSpatialAnchorsAccountsBySubscription.ts"],"names":[],"mappings":""}
@@ -0,0 +1,43 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=regenerateRemoteRenderingAccountKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regenerateRemoteRenderingAccountKeys.d.ts","sourceRoot":"","sources":["../../samples-dev/regenerateRemoteRenderingAccountKeys.ts"],"names":[],"mappings":""}
@@ -0,0 +1,32 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=regenerateSpatialAnchorsAccountKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"regenerateSpatialAnchorsAccountKeys.d.ts","sourceRoot":"","sources":["../../samples-dev/regenerateSpatialAnchorsAccountKeys.ts"],"names":[],"mappings":""}