@azure/arm-mixedreality 4.0.1 → 4.1.0-alpha.20220427.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +12 -1
  3. package/dist/index.js +667 -105
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.js +34 -0
  10. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.js.map +1 -0
  11. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.js +35 -0
  14. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.js.map +1 -0
  15. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.js +31 -0
  18. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.js.map +1 -0
  19. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.js +31 -0
  22. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.js.map +1 -0
  23. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.js +44 -0
  26. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.js.map +1 -0
  27. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.js +43 -0
  30. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.js.map +1 -0
  31. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.js +31 -0
  34. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.js.map +1 -0
  35. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.js +32 -0
  38. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.js.map +1 -0
  39. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.js +36 -0
  42. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.js.map +1 -0
  43. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  46. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  47. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.js +35 -0
  50. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.js.map +1 -0
  51. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.js +31 -0
  54. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.js.map +1 -0
  55. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.js +31 -0
  58. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.js.map +1 -0
  59. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.js +44 -0
  62. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.js.map +1 -0
  63. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.js +43 -0
  66. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.js.map +1 -0
  67. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.js +31 -0
  70. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.js.map +1 -0
  71. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.js +32 -0
  74. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.js.map +1 -0
  75. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.js +36 -0
  78. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.js.map +1 -0
  79. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.js +34 -0
  82. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.js.map +1 -0
  83. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.js +31 -0
  86. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.js.map +1 -0
  87. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.js +31 -0
  90. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.js.map +1 -0
  91. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.js +44 -0
  94. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.js.map +1 -0
  95. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.js +43 -0
  98. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.js.map +1 -0
  99. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.js +31 -0
  102. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.js.map +1 -0
  103. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.js +32 -0
  106. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.js.map +1 -0
  107. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.js +35 -0
  110. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.js.map +1 -0
  111. package/dist-esm/src/mixedRealityClient.d.ts +2 -1
  112. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -1
  113. package/dist-esm/src/mixedRealityClient.js +23 -4
  114. package/dist-esm/src/mixedRealityClient.js.map +1 -1
  115. package/dist-esm/src/models/index.d.ts +86 -1
  116. package/dist-esm/src/models/index.d.ts.map +1 -1
  117. package/dist-esm/src/models/index.js.map +1 -1
  118. package/dist-esm/src/models/mappers.d.ts +3 -0
  119. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  120. package/dist-esm/src/models/mappers.js +93 -0
  121. package/dist-esm/src/models/mappers.js.map +1 -1
  122. package/dist-esm/src/models/parameters.d.ts +1 -0
  123. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  124. package/dist-esm/src/models/parameters.js +6 -2
  125. package/dist-esm/src/models/parameters.js.map +1 -1
  126. package/dist-esm/src/operations/index.d.ts +1 -0
  127. package/dist-esm/src/operations/index.d.ts.map +1 -1
  128. package/dist-esm/src/operations/index.js +1 -0
  129. package/dist-esm/src/operations/index.js.map +1 -1
  130. package/dist-esm/src/operations/objectAnchorsAccounts.d.ts +98 -0
  131. package/dist-esm/src/operations/objectAnchorsAccounts.d.ts.map +1 -0
  132. package/dist-esm/src/operations/objectAnchorsAccounts.js +422 -0
  133. package/dist-esm/src/operations/objectAnchorsAccounts.js.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  137. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.d.ts +62 -0
  139. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.d.ts.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.js +9 -0
  141. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.js.map +1 -0
  142. package/package.json +30 -15
  143. package/review/arm-mixedreality.api.md +103 -0
  144. package/rollup.config.js +6 -72
  145. package/src/mixedRealityClient.ts +34 -5
  146. package/src/models/index.ts +108 -1
  147. package/src/models/mappers.ts +108 -0
  148. package/src/models/parameters.ts +8 -2
  149. package/src/operations/index.ts +1 -0
  150. package/src/operations/objectAnchorsAccounts.ts +536 -0
  151. package/src/operationsInterfaces/index.ts +1 -0
  152. package/src/operationsInterfaces/objectAnchorsAccounts.ts +119 -0
  153. package/tsconfig.json +18 -5
  154. package/types/arm-mixedreality.d.ts +169 -1
  155. package/types/tsdoc-metadata.json +1 -1
  156. package/LICENSE.txt +0 -21
@@ -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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to List Object Anchors Accounts by Subscription
15
+ *
16
+ * @summary List Object Anchors Accounts by Subscription
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/object-anchors/GetBySubscription.json
18
+ */
19
+ function listObjectAnchorsAccountsBySubscription() {
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.objectAnchorsAccounts.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
+ listObjectAnchorsAccountsBySubscription().catch(console.error);
43
+ //# sourceMappingURL=objectAnchorsAccountsListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccountsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/objectAnchorsAccountsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,uCAAuC;;;QACpD,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,qBAAqB,CAAC,kBAAkB,EAAE,CAAA,IAAA;gBAA7D,IAAI,IAAI,WAAA,CAAA;gBACjB,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACrB;;;;;;;;;QACD,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;;CACvB;AAED,uCAAuC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=objectAnchorsAccountsListKeysSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccountsListKeysSample.d.ts","sourceRoot":"","sources":["../../samples-dev/objectAnchorsAccountsListKeysSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to List Both of the 2 Keys of an object anchors Account
15
+ *
16
+ * @summary List Both of the 2 Keys of an object anchors Account
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/object-anchors/ListKeys.json
18
+ */
19
+ function listObjectAnchorsAccountKey() {
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.objectAnchorsAccounts.listKeys(resourceGroupName, accountName);
27
+ console.log(result);
28
+ });
29
+ }
30
+ listObjectAnchorsAccountKey().catch(console.error);
31
+ //# sourceMappingURL=objectAnchorsAccountsListKeysSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccountsListKeysSample.js","sourceRoot":"","sources":["../../samples-dev/objectAnchorsAccountsListKeysSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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,qBAAqB,CAAC,QAAQ,CACxD,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=objectAnchorsAccountsRegenerateKeysSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccountsRegenerateKeysSample.d.ts","sourceRoot":"","sources":["../../samples-dev/objectAnchorsAccountsRegenerateKeysSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Regenerate specified Key of an object anchors Account
15
+ *
16
+ * @summary Regenerate specified Key of an object anchors Account
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/object-anchors/RegenerateKey.json
18
+ */
19
+ function regenerateObjectAnchorsAccountKeys() {
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.objectAnchorsAccounts.regenerateKeys(resourceGroupName, accountName, regenerate);
28
+ console.log(result);
29
+ });
30
+ }
31
+ regenerateObjectAnchorsAccountKeys().catch(console.error);
32
+ //# sourceMappingURL=objectAnchorsAccountsRegenerateKeysSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccountsRegenerateKeysSample.js","sourceRoot":"","sources":["../../samples-dev/objectAnchorsAccountsRegenerateKeysSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,kCAAkC;;QAC/C,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,qBAAqB,CAAC,cAAc,CAC9D,iBAAiB,EACjB,WAAW,EACX,UAAU,CACX,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,kCAAkC,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=objectAnchorsAccountsUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccountsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/objectAnchorsAccountsUpdateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,36 @@
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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Updating an Object Anchors Account
15
+ *
16
+ * @summary Updating an Object Anchors Account
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/object-anchors/Patch.json
18
+ */
19
+ function updateObjectAnchorsAccount() {
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 objectAnchorsAccount = {
25
+ identity: { type: "SystemAssigned" },
26
+ location: "eastus2euap",
27
+ tags: { hero: "romeo", heroine: "juliet" }
28
+ };
29
+ const credential = new DefaultAzureCredential();
30
+ const client = new MixedRealityClient(credential, subscriptionId);
31
+ const result = yield client.objectAnchorsAccounts.update(resourceGroupName, accountName, objectAnchorsAccount);
32
+ console.log(result);
33
+ });
34
+ }
35
+ updateObjectAnchorsAccount().catch(console.error);
36
+ //# sourceMappingURL=objectAnchorsAccountsUpdateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccountsUpdateSample.js","sourceRoot":"","sources":["../../samples-dev/objectAnchorsAccountsUpdateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,0BAA0B;;QACvC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,oBAAoB,GAAyB;YACjD,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,QAAQ,EAAE,aAAa;YACvB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE;SAC3C,CAAC;QACF,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,qBAAqB,CAAC,MAAM,CACtD,iBAAiB,EACjB,WAAW,EACX,oBAAoB,CACrB,CAAC;QACF,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACtB,CAAC;CAAA;AAED,0BAA0B,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=operationsListSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.d.ts","sourceRoot":"","sources":["../../samples-dev/operationsListSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Exposing Available Operations
15
+ *
16
+ * @summary Exposing Available Operations
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/proxy/ExposingAvailableOperations.json
18
+ */
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=operationsListSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operationsListSample.js","sourceRoot":"","sources":["../../samples-dev/operationsListSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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=remoteRenderingAccountsCreateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsCreateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsCreateSample.ts"],"names":[],"mappings":""}
@@ -0,0 +1,35 @@
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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Creating or Updating a Remote Rendering Account.
15
+ *
16
+ * @summary Creating or Updating a Remote Rendering Account.
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/remote-rendering/Put.json
18
+ */
19
+ function createRemoteRenderingAccount() {
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 remoteRenderingAccount = {
25
+ identity: { type: "SystemAssigned" },
26
+ location: "eastus2euap"
27
+ };
28
+ const credential = new DefaultAzureCredential();
29
+ const client = new MixedRealityClient(credential, subscriptionId);
30
+ const result = yield client.remoteRenderingAccounts.create(resourceGroupName, accountName, remoteRenderingAccount);
31
+ console.log(result);
32
+ });
33
+ }
34
+ createRemoteRenderingAccount().catch(console.error);
35
+ //# sourceMappingURL=remoteRenderingAccountsCreateSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsCreateSample.js","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsCreateSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,SAAe,4BAA4B;;QACzC,MAAM,cAAc,GAAG,sCAAsC,CAAC;QAC9D,MAAM,iBAAiB,GAAG,iBAAiB,CAAC;QAC5C,MAAM,WAAW,GAAG,WAAW,CAAC;QAChC,MAAM,sBAAsB,GAA2B;YACrD,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;YACpC,QAAQ,EAAE,aAAa;SACxB,CAAC;QACF,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,EACX,sBAAsB,CACvB,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=remoteRenderingAccountsDeleteSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsDeleteSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsDeleteSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Delete a Remote Rendering Account.
15
+ *
16
+ * @summary Delete a Remote Rendering Account.
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/remote-rendering/Delete.json
18
+ */
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=remoteRenderingAccountsDeleteSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsDeleteSample.js","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsDeleteSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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=remoteRenderingAccountsGetSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsGetSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsGetSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Retrieve a Remote Rendering Account.
15
+ *
16
+ * @summary Retrieve a Remote Rendering Account.
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/remote-rendering/Get.json
18
+ */
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=remoteRenderingAccountsGetSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsGetSample.js","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsGetSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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=remoteRenderingAccountsListByResourceGroupSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsListByResourceGroupSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsListByResourceGroupSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to List Resources by Resource Group
15
+ *
16
+ * @summary List Resources by Resource Group
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/remote-rendering/GetByResourceGroup.json
18
+ */
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=remoteRenderingAccountsListByResourceGroupSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsListByResourceGroupSample.js","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsListByResourceGroupSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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=remoteRenderingAccountsListBySubscriptionSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsListBySubscriptionSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsListBySubscriptionSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to List Remote Rendering Accounts by Subscription
15
+ *
16
+ * @summary List Remote Rendering Accounts by Subscription
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/remote-rendering/GetBySubscription.json
18
+ */
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=remoteRenderingAccountsListBySubscriptionSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsListBySubscriptionSample.js","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsListBySubscriptionSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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=remoteRenderingAccountsListKeysSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsListKeysSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsListKeysSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to List Both of the 2 Keys of a Remote Rendering Account
15
+ *
16
+ * @summary List Both of the 2 Keys of a Remote Rendering Account
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/remote-rendering/ListKeys.json
18
+ */
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=remoteRenderingAccountsListKeysSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsListKeysSample.js","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsListKeysSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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=remoteRenderingAccountsRegenerateKeysSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsRegenerateKeysSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsRegenerateKeysSample.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
+ import { MixedRealityClient } from "@azure/arm-mixedreality";
12
+ import { DefaultAzureCredential } from "@azure/identity";
13
+ /**
14
+ * This sample demonstrates how to Regenerate specified Key of a Remote Rendering Account
15
+ *
16
+ * @summary Regenerate specified Key of a Remote Rendering Account
17
+ * x-ms-original-file: specification/mixedreality/resource-manager/Microsoft.MixedReality/preview/2021-03-01-preview/examples/remote-rendering/RegenerateKey.json
18
+ */
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=remoteRenderingAccountsRegenerateKeysSample.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsRegenerateKeysSample.js","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsRegenerateKeysSample.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAEH,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,EAEL,kBAAkB,EACnB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;GAKG;AACH,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=remoteRenderingAccountsUpdateSample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remoteRenderingAccountsUpdateSample.d.ts","sourceRoot":"","sources":["../../samples-dev/remoteRenderingAccountsUpdateSample.ts"],"names":[],"mappings":""}