@azure/arm-mixedreality 3.0.0 → 4.0.1-alpha.20220120.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (205) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -70
  4. package/dist/index.js +2016 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts +2 -0
  9. package/dist-esm/samples-dev/checkLocalNameAvailability.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/checkLocalNameAvailability.js +34 -0
  11. package/dist-esm/samples-dev/checkLocalNameAvailability.js.map +1 -0
  12. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts +2 -0
  13. package/dist-esm/samples-dev/createRemoteRenderingAccount.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/createRemoteRenderingAccount.js +35 -0
  15. package/dist-esm/samples-dev/createRemoteRenderingAccount.js.map +1 -0
  16. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts +2 -0
  17. package/dist-esm/samples-dev/createSpatialAnchorAccount.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/createSpatialAnchorAccount.js +34 -0
  19. package/dist-esm/samples-dev/createSpatialAnchorAccount.js.map +1 -0
  20. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts +2 -0
  21. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js +31 -0
  23. package/dist-esm/samples-dev/deleteRemoteRenderingAccount.js.map +1 -0
  24. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts +2 -0
  25. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js +31 -0
  27. package/dist-esm/samples-dev/deleteSpatialAnchorsAccount.js.map +1 -0
  28. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts +2 -0
  29. package/dist-esm/samples-dev/getRemoteRenderingAccount.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/getRemoteRenderingAccount.js +31 -0
  31. package/dist-esm/samples-dev/getRemoteRenderingAccount.js.map +1 -0
  32. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts +2 -0
  33. package/dist-esm/samples-dev/getSpatialAnchorsAccount.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js +31 -0
  35. package/dist-esm/samples-dev/getSpatialAnchorsAccount.js.map +1 -0
  36. package/dist-esm/samples-dev/listAvailableOperations.d.ts +2 -0
  37. package/dist-esm/samples-dev/listAvailableOperations.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/listAvailableOperations.js +43 -0
  39. package/dist-esm/samples-dev/listAvailableOperations.js.map +1 -0
  40. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts +2 -0
  41. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js +31 -0
  43. package/dist-esm/samples-dev/listRemoteRenderingAccountKey.js.map +1 -0
  44. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts +2 -0
  45. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js +44 -0
  47. package/dist-esm/samples-dev/listRemoteRenderingAccountsByResourceGroup.js.map +1 -0
  48. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts +2 -0
  49. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js +43 -0
  51. package/dist-esm/samples-dev/listRemoteRenderingAccountsBySubscription.js.map +1 -0
  52. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts +2 -0
  53. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js +31 -0
  55. package/dist-esm/samples-dev/listSpatialAnchorAccountKey.js.map +1 -0
  56. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts +2 -0
  57. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js +44 -0
  59. package/dist-esm/samples-dev/listSpatialAnchorAccountsByResourceGroup.js.map +1 -0
  60. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts +2 -0
  61. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js +43 -0
  63. package/dist-esm/samples-dev/listSpatialAnchorsAccountsBySubscription.js.map +1 -0
  64. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts +2 -0
  65. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.d.ts.map +1 -0
  66. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js +32 -0
  67. package/dist-esm/samples-dev/regenerateRemoteRenderingAccountKeys.js.map +1 -0
  68. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts +2 -0
  69. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.d.ts.map +1 -0
  70. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js +32 -0
  71. package/dist-esm/samples-dev/regenerateSpatialAnchorsAccountKeys.js.map +1 -0
  72. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts +2 -0
  73. package/dist-esm/samples-dev/updateRemoteRenderingAccount.d.ts.map +1 -0
  74. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js +36 -0
  75. package/dist-esm/samples-dev/updateRemoteRenderingAccount.js.map +1 -0
  76. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts +2 -0
  77. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.d.ts.map +1 -0
  78. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js +35 -0
  79. package/dist-esm/samples-dev/updateSpatialAnchorsAccount.js.map +1 -0
  80. package/dist-esm/src/index.d.ts +5 -0
  81. package/dist-esm/src/index.d.ts.map +1 -0
  82. package/dist-esm/src/index.js +12 -0
  83. package/dist-esm/src/index.js.map +1 -0
  84. package/dist-esm/src/mixedRealityClient.d.ts +28 -0
  85. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -0
  86. package/dist-esm/src/mixedRealityClient.js +89 -0
  87. package/dist-esm/src/mixedRealityClient.js.map +1 -0
  88. package/dist-esm/src/models/index.d.ts +444 -0
  89. package/dist-esm/src/models/index.d.ts.map +1 -0
  90. package/dist-esm/src/models/index.js +22 -0
  91. package/dist-esm/src/models/index.js.map +1 -0
  92. package/dist-esm/src/models/mappers.d.ts +25 -0
  93. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  94. package/{esm → dist-esm/src}/models/mappers.js +362 -457
  95. package/dist-esm/src/models/mappers.js.map +1 -0
  96. package/dist-esm/src/models/parameters.d.ts +15 -0
  97. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  98. package/dist-esm/src/models/parameters.js +135 -0
  99. package/dist-esm/src/models/parameters.js.map +1 -0
  100. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  101. package/dist-esm/src/operations/index.d.ts.map +1 -0
  102. package/{esm → dist-esm/src}/operations/index.js +1 -2
  103. package/dist-esm/src/operations/index.js.map +1 -0
  104. package/dist-esm/src/operations/operations.d.ts +32 -0
  105. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  106. package/dist-esm/src/operations/operations.js +120 -0
  107. package/dist-esm/src/operations/operations.js.map +1 -0
  108. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts +98 -0
  109. package/dist-esm/src/operations/remoteRenderingAccounts.d.ts.map +1 -0
  110. package/dist-esm/src/operations/remoteRenderingAccounts.js +422 -0
  111. package/dist-esm/src/operations/remoteRenderingAccounts.js.map +1 -0
  112. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts +98 -0
  113. package/dist-esm/src/operations/spatialAnchorsAccounts.d.ts.map +1 -0
  114. package/dist-esm/src/operations/spatialAnchorsAccounts.js +422 -0
  115. package/dist-esm/src/operations/spatialAnchorsAccounts.js.map +1 -0
  116. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  117. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  118. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  119. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  120. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  121. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  122. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/operations.js} +2 -1
  123. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  124. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts +62 -0
  125. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.d.ts.map +1 -0
  126. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js +9 -0
  127. package/dist-esm/src/operationsInterfaces/remoteRenderingAccounts.js.map +1 -0
  128. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts +62 -0
  129. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.d.ts.map +1 -0
  130. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js +9 -0
  131. package/dist-esm/src/operationsInterfaces/spatialAnchorsAccounts.js.map +1 -0
  132. package/dist-esm/test/sampleTest.d.ts +2 -0
  133. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  134. package/dist-esm/test/sampleTest.js +40 -0
  135. package/dist-esm/test/sampleTest.js.map +1 -0
  136. package/package.json +80 -22
  137. package/review/arm-mixedreality.api.md +436 -0
  138. package/rollup.config.js +181 -30
  139. package/src/{models/operationsMappers.ts → index.ts} +4 -11
  140. package/src/mixedRealityClient.ts +102 -74
  141. package/src/models/index.ts +370 -884
  142. package/src/models/mappers.ts +367 -478
  143. package/src/models/parameters.ts +100 -39
  144. package/src/operations/index.ts +1 -2
  145. package/src/operations/operations.ts +85 -73
  146. package/src/operations/remoteRenderingAccounts.ts +319 -392
  147. package/src/operations/spatialAnchorsAccounts.ts +319 -392
  148. package/src/operationsInterfaces/index.ts +11 -0
  149. package/src/operationsInterfaces/operations.ts +22 -0
  150. package/src/operationsInterfaces/remoteRenderingAccounts.ts +119 -0
  151. package/src/operationsInterfaces/spatialAnchorsAccounts.ts +119 -0
  152. package/tsconfig.json +5 -4
  153. package/types/arm-mixedreality.d.ts +674 -0
  154. package/types/tsdoc-metadata.json +11 -0
  155. package/dist/arm-mixedreality.js +0 -2042
  156. package/dist/arm-mixedreality.js.map +0 -1
  157. package/dist/arm-mixedreality.min.js +0 -1
  158. package/dist/arm-mixedreality.min.js.map +0 -1
  159. package/esm/mixedRealityClient.d.ts +0 -42
  160. package/esm/mixedRealityClient.d.ts.map +0 -1
  161. package/esm/mixedRealityClient.js +0 -72
  162. package/esm/mixedRealityClient.js.map +0 -1
  163. package/esm/mixedRealityClientContext.d.ts +0 -17
  164. package/esm/mixedRealityClientContext.d.ts.map +0 -1
  165. package/esm/mixedRealityClientContext.js +0 -56
  166. package/esm/mixedRealityClientContext.js.map +0 -1
  167. package/esm/models/index.d.ts +0 -957
  168. package/esm/models/index.d.ts.map +0 -1
  169. package/esm/models/index.js.map +0 -1
  170. package/esm/models/mappers.d.ts +0 -32
  171. package/esm/models/mappers.d.ts.map +0 -1
  172. package/esm/models/mappers.js.map +0 -1
  173. package/esm/models/operationsMappers.d.ts +0 -2
  174. package/esm/models/operationsMappers.d.ts.map +0 -1
  175. package/esm/models/operationsMappers.js +0 -9
  176. package/esm/models/operationsMappers.js.map +0 -1
  177. package/esm/models/parameters.d.ts +0 -9
  178. package/esm/models/parameters.d.ts.map +0 -1
  179. package/esm/models/parameters.js +0 -95
  180. package/esm/models/parameters.js.map +0 -1
  181. package/esm/models/remoteRenderingAccountsMappers.d.ts +0 -2
  182. package/esm/models/remoteRenderingAccountsMappers.d.ts.map +0 -1
  183. package/esm/models/remoteRenderingAccountsMappers.js +0 -9
  184. package/esm/models/remoteRenderingAccountsMappers.js.map +0 -1
  185. package/esm/models/spatialAnchorsAccountsMappers.d.ts +0 -2
  186. package/esm/models/spatialAnchorsAccountsMappers.d.ts.map +0 -1
  187. package/esm/models/spatialAnchorsAccountsMappers.js +0 -9
  188. package/esm/models/spatialAnchorsAccountsMappers.js.map +0 -1
  189. package/esm/operations/index.d.ts.map +0 -1
  190. package/esm/operations/index.js.map +0 -1
  191. package/esm/operations/operations.d.ts +0 -46
  192. package/esm/operations/operations.d.ts.map +0 -1
  193. package/esm/operations/operations.js +0 -79
  194. package/esm/operations/operations.js.map +0 -1
  195. package/esm/operations/remoteRenderingAccounts.d.ts +0 -217
  196. package/esm/operations/remoteRenderingAccounts.d.ts.map +0 -1
  197. package/esm/operations/remoteRenderingAccounts.js +0 -344
  198. package/esm/operations/remoteRenderingAccounts.js.map +0 -1
  199. package/esm/operations/spatialAnchorsAccounts.d.ts +0 -217
  200. package/esm/operations/spatialAnchorsAccounts.d.ts.map +0 -1
  201. package/esm/operations/spatialAnchorsAccounts.js +0 -344
  202. package/esm/operations/spatialAnchorsAccounts.js.map +0 -1
  203. package/src/mixedRealityClientContext.ts +0 -62
  204. package/src/models/remoteRenderingAccountsMappers.ts +0 -29
  205. package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -0,0 +1,11 @@
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
+
9
+ export * from "./operations";
10
+ export * from "./spatialAnchorsAccounts";
11
+ export * from "./remoteRenderingAccounts";
@@ -0,0 +1,22 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Exposing Available Operations
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,119 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ RemoteRenderingAccount,
12
+ RemoteRenderingAccountsListBySubscriptionOptionalParams,
13
+ RemoteRenderingAccountsListByResourceGroupOptionalParams,
14
+ RemoteRenderingAccountsDeleteOptionalParams,
15
+ RemoteRenderingAccountsGetOptionalParams,
16
+ RemoteRenderingAccountsGetResponse,
17
+ RemoteRenderingAccountsUpdateOptionalParams,
18
+ RemoteRenderingAccountsUpdateResponse,
19
+ RemoteRenderingAccountsCreateOptionalParams,
20
+ RemoteRenderingAccountsCreateResponse,
21
+ RemoteRenderingAccountsListKeysOptionalParams,
22
+ RemoteRenderingAccountsListKeysResponse,
23
+ AccountKeyRegenerateRequest,
24
+ RemoteRenderingAccountsRegenerateKeysOptionalParams,
25
+ RemoteRenderingAccountsRegenerateKeysResponse
26
+ } from "../models";
27
+
28
+ /// <reference lib="esnext.asynciterable" />
29
+ /** Interface representing a RemoteRenderingAccounts. */
30
+ export interface RemoteRenderingAccounts {
31
+ /**
32
+ * List Remote Rendering Accounts by Subscription
33
+ * @param options The options parameters.
34
+ */
35
+ listBySubscription(
36
+ options?: RemoteRenderingAccountsListBySubscriptionOptionalParams
37
+ ): PagedAsyncIterableIterator<RemoteRenderingAccount>;
38
+ /**
39
+ * List Resources by Resource Group
40
+ * @param resourceGroupName Name of an Azure resource group.
41
+ * @param options The options parameters.
42
+ */
43
+ listByResourceGroup(
44
+ resourceGroupName: string,
45
+ options?: RemoteRenderingAccountsListByResourceGroupOptionalParams
46
+ ): PagedAsyncIterableIterator<RemoteRenderingAccount>;
47
+ /**
48
+ * Delete a Remote Rendering Account.
49
+ * @param resourceGroupName Name of an Azure resource group.
50
+ * @param accountName Name of an Mixed Reality Account.
51
+ * @param options The options parameters.
52
+ */
53
+ delete(
54
+ resourceGroupName: string,
55
+ accountName: string,
56
+ options?: RemoteRenderingAccountsDeleteOptionalParams
57
+ ): Promise<void>;
58
+ /**
59
+ * Retrieve a Remote Rendering Account.
60
+ * @param resourceGroupName Name of an Azure resource group.
61
+ * @param accountName Name of an Mixed Reality Account.
62
+ * @param options The options parameters.
63
+ */
64
+ get(
65
+ resourceGroupName: string,
66
+ accountName: string,
67
+ options?: RemoteRenderingAccountsGetOptionalParams
68
+ ): Promise<RemoteRenderingAccountsGetResponse>;
69
+ /**
70
+ * Updating a Remote Rendering Account
71
+ * @param resourceGroupName Name of an Azure resource group.
72
+ * @param accountName Name of an Mixed Reality Account.
73
+ * @param remoteRenderingAccount Remote Rendering Account parameter.
74
+ * @param options The options parameters.
75
+ */
76
+ update(
77
+ resourceGroupName: string,
78
+ accountName: string,
79
+ remoteRenderingAccount: RemoteRenderingAccount,
80
+ options?: RemoteRenderingAccountsUpdateOptionalParams
81
+ ): Promise<RemoteRenderingAccountsUpdateResponse>;
82
+ /**
83
+ * Creating or Updating a Remote Rendering Account.
84
+ * @param resourceGroupName Name of an Azure resource group.
85
+ * @param accountName Name of an Mixed Reality Account.
86
+ * @param remoteRenderingAccount Remote Rendering Account parameter.
87
+ * @param options The options parameters.
88
+ */
89
+ create(
90
+ resourceGroupName: string,
91
+ accountName: string,
92
+ remoteRenderingAccount: RemoteRenderingAccount,
93
+ options?: RemoteRenderingAccountsCreateOptionalParams
94
+ ): Promise<RemoteRenderingAccountsCreateResponse>;
95
+ /**
96
+ * List Both of the 2 Keys of a Remote Rendering Account
97
+ * @param resourceGroupName Name of an Azure resource group.
98
+ * @param accountName Name of an Mixed Reality Account.
99
+ * @param options The options parameters.
100
+ */
101
+ listKeys(
102
+ resourceGroupName: string,
103
+ accountName: string,
104
+ options?: RemoteRenderingAccountsListKeysOptionalParams
105
+ ): Promise<RemoteRenderingAccountsListKeysResponse>;
106
+ /**
107
+ * Regenerate specified Key of a Remote Rendering Account
108
+ * @param resourceGroupName Name of an Azure resource group.
109
+ * @param accountName Name of an Mixed Reality Account.
110
+ * @param regenerate Required information for key regeneration.
111
+ * @param options The options parameters.
112
+ */
113
+ regenerateKeys(
114
+ resourceGroupName: string,
115
+ accountName: string,
116
+ regenerate: AccountKeyRegenerateRequest,
117
+ options?: RemoteRenderingAccountsRegenerateKeysOptionalParams
118
+ ): Promise<RemoteRenderingAccountsRegenerateKeysResponse>;
119
+ }
@@ -0,0 +1,119 @@
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
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ SpatialAnchorsAccount,
12
+ SpatialAnchorsAccountsListBySubscriptionOptionalParams,
13
+ SpatialAnchorsAccountsListByResourceGroupOptionalParams,
14
+ SpatialAnchorsAccountsDeleteOptionalParams,
15
+ SpatialAnchorsAccountsGetOptionalParams,
16
+ SpatialAnchorsAccountsGetResponse,
17
+ SpatialAnchorsAccountsUpdateOptionalParams,
18
+ SpatialAnchorsAccountsUpdateResponse,
19
+ SpatialAnchorsAccountsCreateOptionalParams,
20
+ SpatialAnchorsAccountsCreateResponse,
21
+ SpatialAnchorsAccountsListKeysOptionalParams,
22
+ SpatialAnchorsAccountsListKeysResponse,
23
+ AccountKeyRegenerateRequest,
24
+ SpatialAnchorsAccountsRegenerateKeysOptionalParams,
25
+ SpatialAnchorsAccountsRegenerateKeysResponse
26
+ } from "../models";
27
+
28
+ /// <reference lib="esnext.asynciterable" />
29
+ /** Interface representing a SpatialAnchorsAccounts. */
30
+ export interface SpatialAnchorsAccounts {
31
+ /**
32
+ * List Spatial Anchors Accounts by Subscription
33
+ * @param options The options parameters.
34
+ */
35
+ listBySubscription(
36
+ options?: SpatialAnchorsAccountsListBySubscriptionOptionalParams
37
+ ): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
38
+ /**
39
+ * List Resources by Resource Group
40
+ * @param resourceGroupName Name of an Azure resource group.
41
+ * @param options The options parameters.
42
+ */
43
+ listByResourceGroup(
44
+ resourceGroupName: string,
45
+ options?: SpatialAnchorsAccountsListByResourceGroupOptionalParams
46
+ ): PagedAsyncIterableIterator<SpatialAnchorsAccount>;
47
+ /**
48
+ * Delete a Spatial Anchors Account.
49
+ * @param resourceGroupName Name of an Azure resource group.
50
+ * @param accountName Name of an Mixed Reality Account.
51
+ * @param options The options parameters.
52
+ */
53
+ delete(
54
+ resourceGroupName: string,
55
+ accountName: string,
56
+ options?: SpatialAnchorsAccountsDeleteOptionalParams
57
+ ): Promise<void>;
58
+ /**
59
+ * Retrieve a Spatial Anchors Account.
60
+ * @param resourceGroupName Name of an Azure resource group.
61
+ * @param accountName Name of an Mixed Reality Account.
62
+ * @param options The options parameters.
63
+ */
64
+ get(
65
+ resourceGroupName: string,
66
+ accountName: string,
67
+ options?: SpatialAnchorsAccountsGetOptionalParams
68
+ ): Promise<SpatialAnchorsAccountsGetResponse>;
69
+ /**
70
+ * Updating a Spatial Anchors Account
71
+ * @param resourceGroupName Name of an Azure resource group.
72
+ * @param accountName Name of an Mixed Reality Account.
73
+ * @param spatialAnchorsAccount Spatial Anchors Account parameter.
74
+ * @param options The options parameters.
75
+ */
76
+ update(
77
+ resourceGroupName: string,
78
+ accountName: string,
79
+ spatialAnchorsAccount: SpatialAnchorsAccount,
80
+ options?: SpatialAnchorsAccountsUpdateOptionalParams
81
+ ): Promise<SpatialAnchorsAccountsUpdateResponse>;
82
+ /**
83
+ * Creating or Updating a Spatial Anchors Account.
84
+ * @param resourceGroupName Name of an Azure resource group.
85
+ * @param accountName Name of an Mixed Reality Account.
86
+ * @param spatialAnchorsAccount Spatial Anchors Account parameter.
87
+ * @param options The options parameters.
88
+ */
89
+ create(
90
+ resourceGroupName: string,
91
+ accountName: string,
92
+ spatialAnchorsAccount: SpatialAnchorsAccount,
93
+ options?: SpatialAnchorsAccountsCreateOptionalParams
94
+ ): Promise<SpatialAnchorsAccountsCreateResponse>;
95
+ /**
96
+ * List Both of the 2 Keys of a Spatial Anchors Account
97
+ * @param resourceGroupName Name of an Azure resource group.
98
+ * @param accountName Name of an Mixed Reality Account.
99
+ * @param options The options parameters.
100
+ */
101
+ listKeys(
102
+ resourceGroupName: string,
103
+ accountName: string,
104
+ options?: SpatialAnchorsAccountsListKeysOptionalParams
105
+ ): Promise<SpatialAnchorsAccountsListKeysResponse>;
106
+ /**
107
+ * Regenerate specified Key of a Spatial Anchors Account
108
+ * @param resourceGroupName Name of an Azure resource group.
109
+ * @param accountName Name of an Mixed Reality Account.
110
+ * @param regenerate Required information for key regeneration.
111
+ * @param options The options parameters.
112
+ */
113
+ regenerateKeys(
114
+ resourceGroupName: string,
115
+ accountName: string,
116
+ regenerate: AccountKeyRegenerateRequest,
117
+ options?: SpatialAnchorsAccountsRegenerateKeysOptionalParams
118
+ ): Promise<SpatialAnchorsAccountsRegenerateKeysResponse>;
119
+ }
package/tsconfig.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
@@ -11,9 +11,10 @@
11
11
  "forceConsistentCasingInFileNames": true,
12
12
  "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
15
- "importHelpers": true
14
+ "outDir": "./dist-esm",
15
+ "importHelpers": true,
16
+ "paths": { "@azure/arm-mixedreality": ["./src/index"] }
16
17
  },
17
- "include": ["./src/**/*.ts"],
18
+ "include": ["./src/**/*.ts", "./test/**/*.ts", "samples-dev/**/*.ts"],
18
19
  "exclude": ["node_modules"]
19
20
  }