@azure/arm-mixedreality 2.0.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,1756 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for license information.
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
- (function (global, factory) {
9
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@azure/ms-rest-js'), require('@azure/ms-rest-azure-js')) :
10
- typeof define === 'function' && define.amd ? define(['exports', '@azure/ms-rest-js', '@azure/ms-rest-azure-js'], factory) :
11
- (global = global || self, factory((global.Azure = global.Azure || {}, global.Azure.ArmMixedreality = {}), global.msRest, global.msRestAzure));
12
- }(this, (function (exports, msRest, msRestAzure) { 'use strict';
13
-
14
- /*! *****************************************************************************
15
- Copyright (c) Microsoft Corporation.
16
-
17
- Permission to use, copy, modify, and/or distribute this software for any
18
- purpose with or without fee is hereby granted.
19
-
20
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
21
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
22
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
23
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
24
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
25
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
26
- PERFORMANCE OF THIS SOFTWARE.
27
- ***************************************************************************** */
28
- /* global Reflect, Promise */
29
-
30
- var extendStatics = function(d, b) {
31
- extendStatics = Object.setPrototypeOf ||
32
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
33
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
34
- return extendStatics(d, b);
35
- };
36
-
37
- function __extends(d, b) {
38
- extendStatics(d, b);
39
- function __() { this.constructor = d; }
40
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
41
- }
42
-
43
- var __assign = function() {
44
- __assign = Object.assign || function __assign(t) {
45
- for (var s, i = 1, n = arguments.length; i < n; i++) {
46
- s = arguments[i];
47
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
48
- }
49
- return t;
50
- };
51
- return __assign.apply(this, arguments);
52
- };
53
-
54
- /*
55
- * Copyright (c) Microsoft Corporation. All rights reserved.
56
- * Licensed under the MIT License. See License.txt in the project root for license information.
57
- *
58
- * Code generated by Microsoft (R) AutoRest Code Generator.
59
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
60
- */
61
-
62
- var index = /*#__PURE__*/Object.freeze({
63
- __proto__: null
64
- });
65
-
66
- /*
67
- * Copyright (c) Microsoft Corporation. All rights reserved.
68
- * Licensed under the MIT License. See License.txt in the project root for license information.
69
- *
70
- * Code generated by Microsoft (R) AutoRest Code Generator.
71
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
72
- */
73
- var CloudError = msRestAzure.CloudErrorMapper;
74
- var BaseResource = msRestAzure.BaseResourceMapper;
75
- var CheckNameAvailabilityRequest = {
76
- serializedName: "CheckNameAvailabilityRequest",
77
- type: {
78
- name: "Composite",
79
- className: "CheckNameAvailabilityRequest",
80
- modelProperties: {
81
- name: {
82
- required: true,
83
- serializedName: "name",
84
- type: {
85
- name: "String"
86
- }
87
- },
88
- type: {
89
- required: true,
90
- serializedName: "type",
91
- type: {
92
- name: "String"
93
- }
94
- }
95
- }
96
- }
97
- };
98
- var CheckNameAvailabilityResponse = {
99
- serializedName: "CheckNameAvailabilityResponse",
100
- type: {
101
- name: "Composite",
102
- className: "CheckNameAvailabilityResponse",
103
- modelProperties: {
104
- nameAvailable: {
105
- required: true,
106
- serializedName: "nameAvailable",
107
- type: {
108
- name: "String"
109
- }
110
- },
111
- reason: {
112
- serializedName: "reason",
113
- type: {
114
- name: "String"
115
- }
116
- },
117
- message: {
118
- serializedName: "message",
119
- type: {
120
- name: "String"
121
- }
122
- }
123
- }
124
- }
125
- };
126
- var OperationDisplay = {
127
- serializedName: "OperationDisplay",
128
- type: {
129
- name: "Composite",
130
- className: "OperationDisplay",
131
- modelProperties: {
132
- provider: {
133
- required: true,
134
- serializedName: "provider",
135
- type: {
136
- name: "String"
137
- }
138
- },
139
- resource: {
140
- required: true,
141
- serializedName: "resource",
142
- type: {
143
- name: "String"
144
- }
145
- },
146
- operation: {
147
- required: true,
148
- serializedName: "operation",
149
- type: {
150
- name: "String"
151
- }
152
- },
153
- description: {
154
- required: true,
155
- serializedName: "description",
156
- type: {
157
- name: "String"
158
- }
159
- }
160
- }
161
- }
162
- };
163
- var Operation = {
164
- serializedName: "Operation",
165
- type: {
166
- name: "Composite",
167
- className: "Operation",
168
- modelProperties: {
169
- name: {
170
- serializedName: "name",
171
- type: {
172
- name: "String"
173
- }
174
- },
175
- display: {
176
- serializedName: "display",
177
- type: {
178
- name: "Composite",
179
- className: "OperationDisplay"
180
- }
181
- }
182
- }
183
- }
184
- };
185
- var Resource = {
186
- serializedName: "Resource",
187
- type: {
188
- name: "Composite",
189
- className: "Resource",
190
- modelProperties: {
191
- id: {
192
- readOnly: true,
193
- serializedName: "id",
194
- type: {
195
- name: "String"
196
- }
197
- },
198
- name: {
199
- readOnly: true,
200
- serializedName: "name",
201
- type: {
202
- name: "String"
203
- }
204
- },
205
- type: {
206
- readOnly: true,
207
- serializedName: "type",
208
- type: {
209
- name: "String"
210
- }
211
- }
212
- }
213
- }
214
- };
215
- var TrackedResource = {
216
- serializedName: "TrackedResource",
217
- type: {
218
- name: "Composite",
219
- className: "TrackedResource",
220
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
221
- serializedName: "tags",
222
- type: {
223
- name: "Dictionary",
224
- value: {
225
- type: {
226
- name: "String"
227
- }
228
- }
229
- }
230
- }, location: {
231
- required: true,
232
- serializedName: "location",
233
- type: {
234
- name: "String"
235
- }
236
- } })
237
- }
238
- };
239
- var SpatialAnchorsAccount = {
240
- serializedName: "SpatialAnchorsAccount",
241
- type: {
242
- name: "Composite",
243
- className: "SpatialAnchorsAccount",
244
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { accountId: {
245
- readOnly: true,
246
- serializedName: "properties.accountId",
247
- type: {
248
- name: "String"
249
- }
250
- }, accountDomain: {
251
- readOnly: true,
252
- serializedName: "properties.accountDomain",
253
- type: {
254
- name: "String"
255
- }
256
- } })
257
- }
258
- };
259
- var ProxyResource = {
260
- serializedName: "ProxyResource",
261
- type: {
262
- name: "Composite",
263
- className: "ProxyResource",
264
- modelProperties: __assign({}, Resource.type.modelProperties)
265
- }
266
- };
267
- var AzureEntityResource = {
268
- serializedName: "AzureEntityResource",
269
- type: {
270
- name: "Composite",
271
- className: "AzureEntityResource",
272
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
273
- readOnly: true,
274
- serializedName: "etag",
275
- type: {
276
- name: "String"
277
- }
278
- } })
279
- }
280
- };
281
- var AccountKeys = {
282
- serializedName: "AccountKeys",
283
- type: {
284
- name: "Composite",
285
- className: "AccountKeys",
286
- modelProperties: {
287
- primaryKey: {
288
- readOnly: true,
289
- serializedName: "primaryKey",
290
- type: {
291
- name: "String"
292
- }
293
- },
294
- secondaryKey: {
295
- readOnly: true,
296
- serializedName: "secondaryKey",
297
- type: {
298
- name: "String"
299
- }
300
- }
301
- }
302
- }
303
- };
304
- var AccountKeyRegenerateRequest = {
305
- serializedName: "AccountKeyRegenerateRequest",
306
- type: {
307
- name: "Composite",
308
- className: "AccountKeyRegenerateRequest",
309
- modelProperties: {
310
- serial: {
311
- serializedName: "serial",
312
- defaultValue: 1,
313
- type: {
314
- name: "Number"
315
- }
316
- }
317
- }
318
- }
319
- };
320
- var Identity = {
321
- serializedName: "Identity",
322
- type: {
323
- name: "Composite",
324
- className: "Identity",
325
- modelProperties: {
326
- principalId: {
327
- readOnly: true,
328
- serializedName: "principalId",
329
- type: {
330
- name: "String"
331
- }
332
- },
333
- tenantId: {
334
- readOnly: true,
335
- serializedName: "tenantId",
336
- type: {
337
- name: "String"
338
- }
339
- },
340
- type: {
341
- serializedName: "type",
342
- type: {
343
- name: "Enum",
344
- allowedValues: [
345
- "SystemAssigned"
346
- ]
347
- }
348
- }
349
- }
350
- }
351
- };
352
- var RemoteRenderingAccountIdentity = {
353
- serializedName: "RemoteRenderingAccount_identity",
354
- type: {
355
- name: "Composite",
356
- className: "RemoteRenderingAccountIdentity",
357
- modelProperties: __assign({}, Identity.type.modelProperties)
358
- }
359
- };
360
- var RemoteRenderingAccount = {
361
- serializedName: "RemoteRenderingAccount",
362
- type: {
363
- name: "Composite",
364
- className: "RemoteRenderingAccount",
365
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { identity: {
366
- serializedName: "identity",
367
- type: {
368
- name: "Composite",
369
- className: "RemoteRenderingAccountIdentity"
370
- }
371
- }, accountId: {
372
- readOnly: true,
373
- serializedName: "properties.accountId",
374
- type: {
375
- name: "String"
376
- }
377
- }, accountDomain: {
378
- readOnly: true,
379
- serializedName: "properties.accountDomain",
380
- type: {
381
- name: "String"
382
- }
383
- } })
384
- }
385
- };
386
- var ResourceModelWithAllowedPropertySetIdentity = {
387
- serializedName: "ResourceModelWithAllowedPropertySet_identity",
388
- type: {
389
- name: "Composite",
390
- className: "ResourceModelWithAllowedPropertySetIdentity",
391
- modelProperties: __assign({}, Identity.type.modelProperties)
392
- }
393
- };
394
- var Sku = {
395
- serializedName: "Sku",
396
- type: {
397
- name: "Composite",
398
- className: "Sku",
399
- modelProperties: {
400
- name: {
401
- required: true,
402
- serializedName: "name",
403
- type: {
404
- name: "String"
405
- }
406
- },
407
- tier: {
408
- serializedName: "tier",
409
- type: {
410
- name: "Enum",
411
- allowedValues: [
412
- "Free",
413
- "Basic",
414
- "Standard",
415
- "Premium"
416
- ]
417
- }
418
- },
419
- size: {
420
- serializedName: "size",
421
- type: {
422
- name: "String"
423
- }
424
- },
425
- family: {
426
- serializedName: "family",
427
- type: {
428
- name: "String"
429
- }
430
- },
431
- capacity: {
432
- serializedName: "capacity",
433
- type: {
434
- name: "Number"
435
- }
436
- }
437
- }
438
- }
439
- };
440
- var ResourceModelWithAllowedPropertySetSku = {
441
- serializedName: "ResourceModelWithAllowedPropertySet_sku",
442
- type: {
443
- name: "Composite",
444
- className: "ResourceModelWithAllowedPropertySetSku",
445
- modelProperties: __assign({}, Sku.type.modelProperties)
446
- }
447
- };
448
- var Plan = {
449
- serializedName: "Plan",
450
- type: {
451
- name: "Composite",
452
- className: "Plan",
453
- modelProperties: {
454
- name: {
455
- required: true,
456
- serializedName: "name",
457
- type: {
458
- name: "String"
459
- }
460
- },
461
- publisher: {
462
- required: true,
463
- serializedName: "publisher",
464
- type: {
465
- name: "String"
466
- }
467
- },
468
- product: {
469
- required: true,
470
- serializedName: "product",
471
- type: {
472
- name: "String"
473
- }
474
- },
475
- promotionCode: {
476
- serializedName: "promotionCode",
477
- type: {
478
- name: "String"
479
- }
480
- },
481
- version: {
482
- serializedName: "version",
483
- type: {
484
- name: "String"
485
- }
486
- }
487
- }
488
- }
489
- };
490
- var ResourceModelWithAllowedPropertySetPlan = {
491
- serializedName: "ResourceModelWithAllowedPropertySet_plan",
492
- type: {
493
- name: "Composite",
494
- className: "ResourceModelWithAllowedPropertySetPlan",
495
- modelProperties: __assign({}, Plan.type.modelProperties)
496
- }
497
- };
498
- var ResourceModelWithAllowedPropertySet = {
499
- serializedName: "ResourceModelWithAllowedPropertySet",
500
- type: {
501
- name: "Composite",
502
- className: "ResourceModelWithAllowedPropertySet",
503
- modelProperties: {
504
- id: {
505
- readOnly: true,
506
- serializedName: "id",
507
- type: {
508
- name: "String"
509
- }
510
- },
511
- name: {
512
- readOnly: true,
513
- serializedName: "name",
514
- type: {
515
- name: "String"
516
- }
517
- },
518
- type: {
519
- readOnly: true,
520
- serializedName: "type",
521
- type: {
522
- name: "String"
523
- }
524
- },
525
- location: {
526
- serializedName: "location",
527
- type: {
528
- name: "String"
529
- }
530
- },
531
- managedBy: {
532
- serializedName: "managedBy",
533
- type: {
534
- name: "String"
535
- }
536
- },
537
- kind: {
538
- serializedName: "kind",
539
- constraints: {
540
- Pattern: /^[-\w\._,\(\)]+$/
541
- },
542
- type: {
543
- name: "String"
544
- }
545
- },
546
- etag: {
547
- readOnly: true,
548
- serializedName: "etag",
549
- type: {
550
- name: "String"
551
- }
552
- },
553
- tags: {
554
- serializedName: "tags",
555
- type: {
556
- name: "Dictionary",
557
- value: {
558
- type: {
559
- name: "String"
560
- }
561
- }
562
- }
563
- },
564
- identity: {
565
- serializedName: "identity",
566
- type: {
567
- name: "Composite",
568
- className: "ResourceModelWithAllowedPropertySetIdentity"
569
- }
570
- },
571
- sku: {
572
- serializedName: "sku",
573
- type: {
574
- name: "Composite",
575
- className: "ResourceModelWithAllowedPropertySetSku"
576
- }
577
- },
578
- plan: {
579
- serializedName: "plan",
580
- type: {
581
- name: "Composite",
582
- className: "ResourceModelWithAllowedPropertySetPlan"
583
- }
584
- }
585
- }
586
- }
587
- };
588
- var OperationPage = {
589
- serializedName: "OperationPage",
590
- type: {
591
- name: "Composite",
592
- className: "OperationPage",
593
- modelProperties: {
594
- value: {
595
- serializedName: "",
596
- type: {
597
- name: "Sequence",
598
- element: {
599
- type: {
600
- name: "Composite",
601
- className: "Operation"
602
- }
603
- }
604
- }
605
- },
606
- nextLink: {
607
- serializedName: "nextLink",
608
- type: {
609
- name: "String"
610
- }
611
- }
612
- }
613
- }
614
- };
615
- var SpatialAnchorsAccountPage = {
616
- serializedName: "SpatialAnchorsAccountPage",
617
- type: {
618
- name: "Composite",
619
- className: "SpatialAnchorsAccountPage",
620
- modelProperties: {
621
- value: {
622
- serializedName: "",
623
- type: {
624
- name: "Sequence",
625
- element: {
626
- type: {
627
- name: "Composite",
628
- className: "SpatialAnchorsAccount"
629
- }
630
- }
631
- }
632
- },
633
- nextLink: {
634
- serializedName: "nextLink",
635
- type: {
636
- name: "String"
637
- }
638
- }
639
- }
640
- }
641
- };
642
- var RemoteRenderingAccountPage = {
643
- serializedName: "RemoteRenderingAccountPage",
644
- type: {
645
- name: "Composite",
646
- className: "RemoteRenderingAccountPage",
647
- modelProperties: {
648
- value: {
649
- serializedName: "",
650
- type: {
651
- name: "Sequence",
652
- element: {
653
- type: {
654
- name: "Composite",
655
- className: "RemoteRenderingAccount"
656
- }
657
- }
658
- }
659
- },
660
- nextLink: {
661
- serializedName: "nextLink",
662
- type: {
663
- name: "String"
664
- }
665
- }
666
- }
667
- }
668
- };
669
-
670
- var Mappers = /*#__PURE__*/Object.freeze({
671
- __proto__: null,
672
- CloudError: CloudError,
673
- BaseResource: BaseResource,
674
- CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
675
- CheckNameAvailabilityResponse: CheckNameAvailabilityResponse,
676
- OperationDisplay: OperationDisplay,
677
- Operation: Operation,
678
- Resource: Resource,
679
- TrackedResource: TrackedResource,
680
- SpatialAnchorsAccount: SpatialAnchorsAccount,
681
- ProxyResource: ProxyResource,
682
- AzureEntityResource: AzureEntityResource,
683
- AccountKeys: AccountKeys,
684
- AccountKeyRegenerateRequest: AccountKeyRegenerateRequest,
685
- Identity: Identity,
686
- RemoteRenderingAccountIdentity: RemoteRenderingAccountIdentity,
687
- RemoteRenderingAccount: RemoteRenderingAccount,
688
- ResourceModelWithAllowedPropertySetIdentity: ResourceModelWithAllowedPropertySetIdentity,
689
- Sku: Sku,
690
- ResourceModelWithAllowedPropertySetSku: ResourceModelWithAllowedPropertySetSku,
691
- Plan: Plan,
692
- ResourceModelWithAllowedPropertySetPlan: ResourceModelWithAllowedPropertySetPlan,
693
- ResourceModelWithAllowedPropertySet: ResourceModelWithAllowedPropertySet,
694
- OperationPage: OperationPage,
695
- SpatialAnchorsAccountPage: SpatialAnchorsAccountPage,
696
- RemoteRenderingAccountPage: RemoteRenderingAccountPage
697
- });
698
-
699
- /*
700
- * Copyright (c) Microsoft Corporation. All rights reserved.
701
- * Licensed under the MIT License. See License.txt in the project root for
702
- * license information.
703
- *
704
- * Code generated by Microsoft (R) AutoRest Code Generator.
705
- * Changes may cause incorrect behavior and will be lost if the code is
706
- * regenerated.
707
- */
708
- var acceptLanguage = {
709
- parameterPath: "acceptLanguage",
710
- mapper: {
711
- serializedName: "accept-language",
712
- defaultValue: 'en-US',
713
- type: {
714
- name: "String"
715
- }
716
- }
717
- };
718
- var accountName = {
719
- parameterPath: "accountName",
720
- mapper: {
721
- required: true,
722
- serializedName: "accountName",
723
- constraints: {
724
- MaxLength: 90,
725
- MinLength: 1,
726
- Pattern: /^[-\w\._\(\)]+$/
727
- },
728
- type: {
729
- name: "String"
730
- }
731
- }
732
- };
733
- var apiVersion0 = {
734
- parameterPath: "apiVersion",
735
- mapper: {
736
- required: true,
737
- isConstant: true,
738
- serializedName: "api-version",
739
- defaultValue: '2020-05-01',
740
- type: {
741
- name: "String"
742
- }
743
- }
744
- };
745
- var apiVersion1 = {
746
- parameterPath: "apiVersion",
747
- mapper: {
748
- required: true,
749
- isConstant: true,
750
- serializedName: "api-version",
751
- defaultValue: '2020-04-06-preview',
752
- type: {
753
- name: "String"
754
- }
755
- }
756
- };
757
- var location = {
758
- parameterPath: "location",
759
- mapper: {
760
- required: true,
761
- serializedName: "location",
762
- constraints: {
763
- MaxLength: 90,
764
- MinLength: 1,
765
- Pattern: /^[-\w\._\(\)]+$/
766
- },
767
- type: {
768
- name: "String"
769
- }
770
- }
771
- };
772
- var nextPageLink = {
773
- parameterPath: "nextPageLink",
774
- mapper: {
775
- required: true,
776
- serializedName: "nextLink",
777
- type: {
778
- name: "String"
779
- }
780
- },
781
- skipEncoding: true
782
- };
783
- var resourceGroupName = {
784
- parameterPath: "resourceGroupName",
785
- mapper: {
786
- required: true,
787
- serializedName: "resourceGroupName",
788
- constraints: {
789
- MaxLength: 90,
790
- MinLength: 1,
791
- Pattern: /^[-\w\._\(\)]+$/
792
- },
793
- type: {
794
- name: "String"
795
- }
796
- }
797
- };
798
- var subscriptionId = {
799
- parameterPath: "subscriptionId",
800
- mapper: {
801
- required: true,
802
- serializedName: "subscriptionId",
803
- type: {
804
- name: "String"
805
- }
806
- }
807
- };
808
-
809
- /*
810
- * Copyright (c) Microsoft Corporation. All rights reserved.
811
- * Licensed under the MIT License. See License.txt in the project root for license information.
812
- *
813
- * Code generated by Microsoft (R) AutoRest Code Generator.
814
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
815
- */
816
-
817
- var Mappers$1 = /*#__PURE__*/Object.freeze({
818
- __proto__: null,
819
- CloudError: CloudError,
820
- Operation: Operation,
821
- OperationDisplay: OperationDisplay,
822
- OperationPage: OperationPage
823
- });
824
-
825
- /*
826
- * Copyright (c) Microsoft Corporation. All rights reserved.
827
- * Licensed under the MIT License. See License.txt in the project root for
828
- * license information.
829
- *
830
- * Code generated by Microsoft (R) AutoRest Code Generator.
831
- * Changes may cause incorrect behavior and will be lost if the code is
832
- * regenerated.
833
- */
834
- /** Class representing a Operations. */
835
- var Operations = /** @class */ (function () {
836
- /**
837
- * Create a Operations.
838
- * @param {MixedRealityClientContext} client Reference to the service client.
839
- */
840
- function Operations(client) {
841
- this.client = client;
842
- }
843
- Operations.prototype.list = function (options, callback) {
844
- return this.client.sendOperationRequest({
845
- options: options
846
- }, listOperationSpec, callback);
847
- };
848
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
849
- return this.client.sendOperationRequest({
850
- nextPageLink: nextPageLink,
851
- options: options
852
- }, listNextOperationSpec, callback);
853
- };
854
- return Operations;
855
- }());
856
- // Operation Specifications
857
- var serializer = new msRest.Serializer(Mappers$1);
858
- var listOperationSpec = {
859
- httpMethod: "GET",
860
- path: "providers/Microsoft.MixedReality/operations",
861
- queryParameters: [
862
- apiVersion0
863
- ],
864
- headerParameters: [
865
- acceptLanguage
866
- ],
867
- responses: {
868
- 200: {
869
- bodyMapper: OperationPage
870
- },
871
- default: {
872
- bodyMapper: CloudError
873
- }
874
- },
875
- serializer: serializer
876
- };
877
- var listNextOperationSpec = {
878
- httpMethod: "GET",
879
- baseUrl: "https://management.azure.com",
880
- path: "{nextLink}",
881
- urlParameters: [
882
- nextPageLink
883
- ],
884
- headerParameters: [
885
- acceptLanguage
886
- ],
887
- responses: {
888
- 200: {
889
- bodyMapper: OperationPage
890
- },
891
- default: {
892
- bodyMapper: CloudError
893
- }
894
- },
895
- serializer: serializer
896
- };
897
-
898
- /*
899
- * Copyright (c) Microsoft Corporation. All rights reserved.
900
- * Licensed under the MIT License. See License.txt in the project root for license information.
901
- *
902
- * Code generated by Microsoft (R) AutoRest Code Generator.
903
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
904
- */
905
-
906
- var Mappers$2 = /*#__PURE__*/Object.freeze({
907
- __proto__: null,
908
- AccountKeyRegenerateRequest: AccountKeyRegenerateRequest,
909
- AccountKeys: AccountKeys,
910
- AzureEntityResource: AzureEntityResource,
911
- BaseResource: BaseResource,
912
- CloudError: CloudError,
913
- Identity: Identity,
914
- Plan: Plan,
915
- ProxyResource: ProxyResource,
916
- RemoteRenderingAccount: RemoteRenderingAccount,
917
- RemoteRenderingAccountIdentity: RemoteRenderingAccountIdentity,
918
- Resource: Resource,
919
- ResourceModelWithAllowedPropertySet: ResourceModelWithAllowedPropertySet,
920
- ResourceModelWithAllowedPropertySetIdentity: ResourceModelWithAllowedPropertySetIdentity,
921
- ResourceModelWithAllowedPropertySetPlan: ResourceModelWithAllowedPropertySetPlan,
922
- ResourceModelWithAllowedPropertySetSku: ResourceModelWithAllowedPropertySetSku,
923
- Sku: Sku,
924
- SpatialAnchorsAccount: SpatialAnchorsAccount,
925
- SpatialAnchorsAccountPage: SpatialAnchorsAccountPage,
926
- TrackedResource: TrackedResource
927
- });
928
-
929
- /*
930
- * Copyright (c) Microsoft Corporation. All rights reserved.
931
- * Licensed under the MIT License. See License.txt in the project root for
932
- * license information.
933
- *
934
- * Code generated by Microsoft (R) AutoRest Code Generator.
935
- * Changes may cause incorrect behavior and will be lost if the code is
936
- * regenerated.
937
- */
938
- /** Class representing a SpatialAnchorsAccounts. */
939
- var SpatialAnchorsAccounts = /** @class */ (function () {
940
- /**
941
- * Create a SpatialAnchorsAccounts.
942
- * @param {MixedRealityClientContext} client Reference to the service client.
943
- */
944
- function SpatialAnchorsAccounts(client) {
945
- this.client = client;
946
- }
947
- SpatialAnchorsAccounts.prototype.listBySubscription = function (options, callback) {
948
- return this.client.sendOperationRequest({
949
- options: options
950
- }, listBySubscriptionOperationSpec, callback);
951
- };
952
- SpatialAnchorsAccounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
953
- return this.client.sendOperationRequest({
954
- resourceGroupName: resourceGroupName,
955
- options: options
956
- }, listByResourceGroupOperationSpec, callback);
957
- };
958
- SpatialAnchorsAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
959
- return this.client.sendOperationRequest({
960
- resourceGroupName: resourceGroupName,
961
- accountName: accountName,
962
- options: options
963
- }, deleteMethodOperationSpec, callback);
964
- };
965
- SpatialAnchorsAccounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
966
- return this.client.sendOperationRequest({
967
- resourceGroupName: resourceGroupName,
968
- accountName: accountName,
969
- options: options
970
- }, getOperationSpec, callback);
971
- };
972
- SpatialAnchorsAccounts.prototype.update = function (resourceGroupName, accountName, spatialAnchorsAccount, options, callback) {
973
- return this.client.sendOperationRequest({
974
- resourceGroupName: resourceGroupName,
975
- accountName: accountName,
976
- spatialAnchorsAccount: spatialAnchorsAccount,
977
- options: options
978
- }, updateOperationSpec, callback);
979
- };
980
- SpatialAnchorsAccounts.prototype.create = function (resourceGroupName, accountName, spatialAnchorsAccount, options, callback) {
981
- return this.client.sendOperationRequest({
982
- resourceGroupName: resourceGroupName,
983
- accountName: accountName,
984
- spatialAnchorsAccount: spatialAnchorsAccount,
985
- options: options
986
- }, createOperationSpec, callback);
987
- };
988
- SpatialAnchorsAccounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
989
- return this.client.sendOperationRequest({
990
- resourceGroupName: resourceGroupName,
991
- accountName: accountName,
992
- options: options
993
- }, listKeysOperationSpec, callback);
994
- };
995
- SpatialAnchorsAccounts.prototype.regenerateKeys = function (resourceGroupName, accountName, regenerate, options, callback) {
996
- return this.client.sendOperationRequest({
997
- resourceGroupName: resourceGroupName,
998
- accountName: accountName,
999
- regenerate: regenerate,
1000
- options: options
1001
- }, regenerateKeysOperationSpec, callback);
1002
- };
1003
- SpatialAnchorsAccounts.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
1004
- return this.client.sendOperationRequest({
1005
- nextPageLink: nextPageLink,
1006
- options: options
1007
- }, listBySubscriptionNextOperationSpec, callback);
1008
- };
1009
- SpatialAnchorsAccounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1010
- return this.client.sendOperationRequest({
1011
- nextPageLink: nextPageLink,
1012
- options: options
1013
- }, listByResourceGroupNextOperationSpec, callback);
1014
- };
1015
- return SpatialAnchorsAccounts;
1016
- }());
1017
- // Operation Specifications
1018
- var serializer$1 = new msRest.Serializer(Mappers$2);
1019
- var listBySubscriptionOperationSpec = {
1020
- httpMethod: "GET",
1021
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/spatialAnchorsAccounts",
1022
- urlParameters: [
1023
- subscriptionId
1024
- ],
1025
- queryParameters: [
1026
- apiVersion0
1027
- ],
1028
- headerParameters: [
1029
- acceptLanguage
1030
- ],
1031
- responses: {
1032
- 200: {
1033
- bodyMapper: SpatialAnchorsAccountPage
1034
- },
1035
- default: {
1036
- bodyMapper: CloudError
1037
- }
1038
- },
1039
- serializer: serializer$1
1040
- };
1041
- var listByResourceGroupOperationSpec = {
1042
- httpMethod: "GET",
1043
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts",
1044
- urlParameters: [
1045
- subscriptionId,
1046
- resourceGroupName
1047
- ],
1048
- queryParameters: [
1049
- apiVersion0
1050
- ],
1051
- headerParameters: [
1052
- acceptLanguage
1053
- ],
1054
- responses: {
1055
- 200: {
1056
- bodyMapper: SpatialAnchorsAccountPage
1057
- },
1058
- default: {
1059
- bodyMapper: CloudError
1060
- }
1061
- },
1062
- serializer: serializer$1
1063
- };
1064
- var deleteMethodOperationSpec = {
1065
- httpMethod: "DELETE",
1066
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1067
- urlParameters: [
1068
- subscriptionId,
1069
- resourceGroupName,
1070
- accountName
1071
- ],
1072
- queryParameters: [
1073
- apiVersion0
1074
- ],
1075
- headerParameters: [
1076
- acceptLanguage
1077
- ],
1078
- responses: {
1079
- 200: {},
1080
- 204: {},
1081
- default: {
1082
- bodyMapper: CloudError
1083
- }
1084
- },
1085
- serializer: serializer$1
1086
- };
1087
- var getOperationSpec = {
1088
- httpMethod: "GET",
1089
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1090
- urlParameters: [
1091
- subscriptionId,
1092
- resourceGroupName,
1093
- accountName
1094
- ],
1095
- queryParameters: [
1096
- apiVersion0
1097
- ],
1098
- headerParameters: [
1099
- acceptLanguage
1100
- ],
1101
- responses: {
1102
- 200: {
1103
- bodyMapper: SpatialAnchorsAccount
1104
- },
1105
- default: {
1106
- bodyMapper: CloudError
1107
- }
1108
- },
1109
- serializer: serializer$1
1110
- };
1111
- var updateOperationSpec = {
1112
- httpMethod: "PATCH",
1113
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1114
- urlParameters: [
1115
- subscriptionId,
1116
- resourceGroupName,
1117
- accountName
1118
- ],
1119
- queryParameters: [
1120
- apiVersion0
1121
- ],
1122
- headerParameters: [
1123
- acceptLanguage
1124
- ],
1125
- requestBody: {
1126
- parameterPath: "spatialAnchorsAccount",
1127
- mapper: __assign(__assign({}, SpatialAnchorsAccount), { required: true })
1128
- },
1129
- responses: {
1130
- 200: {
1131
- bodyMapper: SpatialAnchorsAccount
1132
- },
1133
- default: {
1134
- bodyMapper: CloudError
1135
- }
1136
- },
1137
- serializer: serializer$1
1138
- };
1139
- var createOperationSpec = {
1140
- httpMethod: "PUT",
1141
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1142
- urlParameters: [
1143
- subscriptionId,
1144
- resourceGroupName,
1145
- accountName
1146
- ],
1147
- queryParameters: [
1148
- apiVersion0
1149
- ],
1150
- headerParameters: [
1151
- acceptLanguage
1152
- ],
1153
- requestBody: {
1154
- parameterPath: "spatialAnchorsAccount",
1155
- mapper: __assign(__assign({}, SpatialAnchorsAccount), { required: true })
1156
- },
1157
- responses: {
1158
- 200: {
1159
- bodyMapper: SpatialAnchorsAccount
1160
- },
1161
- 201: {
1162
- bodyMapper: SpatialAnchorsAccount
1163
- },
1164
- default: {
1165
- bodyMapper: CloudError
1166
- }
1167
- },
1168
- serializer: serializer$1
1169
- };
1170
- var listKeysOperationSpec = {
1171
- httpMethod: "POST",
1172
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/listKeys",
1173
- urlParameters: [
1174
- subscriptionId,
1175
- resourceGroupName,
1176
- accountName
1177
- ],
1178
- queryParameters: [
1179
- apiVersion0
1180
- ],
1181
- headerParameters: [
1182
- acceptLanguage
1183
- ],
1184
- responses: {
1185
- 200: {
1186
- bodyMapper: AccountKeys
1187
- },
1188
- default: {
1189
- bodyMapper: CloudError
1190
- }
1191
- },
1192
- serializer: serializer$1
1193
- };
1194
- var regenerateKeysOperationSpec = {
1195
- httpMethod: "POST",
1196
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/regenerateKeys",
1197
- urlParameters: [
1198
- subscriptionId,
1199
- resourceGroupName,
1200
- accountName
1201
- ],
1202
- queryParameters: [
1203
- apiVersion0
1204
- ],
1205
- headerParameters: [
1206
- acceptLanguage
1207
- ],
1208
- requestBody: {
1209
- parameterPath: "regenerate",
1210
- mapper: __assign(__assign({}, AccountKeyRegenerateRequest), { required: true })
1211
- },
1212
- responses: {
1213
- 200: {
1214
- bodyMapper: AccountKeys
1215
- },
1216
- default: {
1217
- bodyMapper: CloudError
1218
- }
1219
- },
1220
- serializer: serializer$1
1221
- };
1222
- var listBySubscriptionNextOperationSpec = {
1223
- httpMethod: "GET",
1224
- baseUrl: "https://management.azure.com",
1225
- path: "{nextLink}",
1226
- urlParameters: [
1227
- nextPageLink
1228
- ],
1229
- headerParameters: [
1230
- acceptLanguage
1231
- ],
1232
- responses: {
1233
- 200: {
1234
- bodyMapper: SpatialAnchorsAccountPage
1235
- },
1236
- default: {
1237
- bodyMapper: CloudError
1238
- }
1239
- },
1240
- serializer: serializer$1
1241
- };
1242
- var listByResourceGroupNextOperationSpec = {
1243
- httpMethod: "GET",
1244
- baseUrl: "https://management.azure.com",
1245
- path: "{nextLink}",
1246
- urlParameters: [
1247
- nextPageLink
1248
- ],
1249
- headerParameters: [
1250
- acceptLanguage
1251
- ],
1252
- responses: {
1253
- 200: {
1254
- bodyMapper: SpatialAnchorsAccountPage
1255
- },
1256
- default: {
1257
- bodyMapper: CloudError
1258
- }
1259
- },
1260
- serializer: serializer$1
1261
- };
1262
-
1263
- /*
1264
- * Copyright (c) Microsoft Corporation. All rights reserved.
1265
- * Licensed under the MIT License. See License.txt in the project root for license information.
1266
- *
1267
- * Code generated by Microsoft (R) AutoRest Code Generator.
1268
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1269
- */
1270
-
1271
- var Mappers$3 = /*#__PURE__*/Object.freeze({
1272
- __proto__: null,
1273
- AccountKeyRegenerateRequest: AccountKeyRegenerateRequest,
1274
- AccountKeys: AccountKeys,
1275
- AzureEntityResource: AzureEntityResource,
1276
- BaseResource: BaseResource,
1277
- CloudError: CloudError,
1278
- Identity: Identity,
1279
- Plan: Plan,
1280
- ProxyResource: ProxyResource,
1281
- RemoteRenderingAccount: RemoteRenderingAccount,
1282
- RemoteRenderingAccountIdentity: RemoteRenderingAccountIdentity,
1283
- RemoteRenderingAccountPage: RemoteRenderingAccountPage,
1284
- Resource: Resource,
1285
- ResourceModelWithAllowedPropertySet: ResourceModelWithAllowedPropertySet,
1286
- ResourceModelWithAllowedPropertySetIdentity: ResourceModelWithAllowedPropertySetIdentity,
1287
- ResourceModelWithAllowedPropertySetPlan: ResourceModelWithAllowedPropertySetPlan,
1288
- ResourceModelWithAllowedPropertySetSku: ResourceModelWithAllowedPropertySetSku,
1289
- Sku: Sku,
1290
- SpatialAnchorsAccount: SpatialAnchorsAccount,
1291
- TrackedResource: TrackedResource
1292
- });
1293
-
1294
- /*
1295
- * Copyright (c) Microsoft Corporation. All rights reserved.
1296
- * Licensed under the MIT License. See License.txt in the project root for
1297
- * license information.
1298
- *
1299
- * Code generated by Microsoft (R) AutoRest Code Generator.
1300
- * Changes may cause incorrect behavior and will be lost if the code is
1301
- * regenerated.
1302
- */
1303
- /** Class representing a RemoteRenderingAccounts. */
1304
- var RemoteRenderingAccounts = /** @class */ (function () {
1305
- /**
1306
- * Create a RemoteRenderingAccounts.
1307
- * @param {MixedRealityClientContext} client Reference to the service client.
1308
- */
1309
- function RemoteRenderingAccounts(client) {
1310
- this.client = client;
1311
- }
1312
- RemoteRenderingAccounts.prototype.listBySubscription = function (options, callback) {
1313
- return this.client.sendOperationRequest({
1314
- options: options
1315
- }, listBySubscriptionOperationSpec$1, callback);
1316
- };
1317
- RemoteRenderingAccounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1318
- return this.client.sendOperationRequest({
1319
- resourceGroupName: resourceGroupName,
1320
- options: options
1321
- }, listByResourceGroupOperationSpec$1, callback);
1322
- };
1323
- RemoteRenderingAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
1324
- return this.client.sendOperationRequest({
1325
- resourceGroupName: resourceGroupName,
1326
- accountName: accountName,
1327
- options: options
1328
- }, deleteMethodOperationSpec$1, callback);
1329
- };
1330
- RemoteRenderingAccounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
1331
- return this.client.sendOperationRequest({
1332
- resourceGroupName: resourceGroupName,
1333
- accountName: accountName,
1334
- options: options
1335
- }, getOperationSpec$1, callback);
1336
- };
1337
- RemoteRenderingAccounts.prototype.update = function (resourceGroupName, accountName, remoteRenderingAccount, options, callback) {
1338
- return this.client.sendOperationRequest({
1339
- resourceGroupName: resourceGroupName,
1340
- accountName: accountName,
1341
- remoteRenderingAccount: remoteRenderingAccount,
1342
- options: options
1343
- }, updateOperationSpec$1, callback);
1344
- };
1345
- RemoteRenderingAccounts.prototype.create = function (resourceGroupName, accountName, remoteRenderingAccount, options, callback) {
1346
- return this.client.sendOperationRequest({
1347
- resourceGroupName: resourceGroupName,
1348
- accountName: accountName,
1349
- remoteRenderingAccount: remoteRenderingAccount,
1350
- options: options
1351
- }, createOperationSpec$1, callback);
1352
- };
1353
- RemoteRenderingAccounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
1354
- return this.client.sendOperationRequest({
1355
- resourceGroupName: resourceGroupName,
1356
- accountName: accountName,
1357
- options: options
1358
- }, listKeysOperationSpec$1, callback);
1359
- };
1360
- RemoteRenderingAccounts.prototype.regenerateKeys = function (resourceGroupName, accountName, regenerate, options, callback) {
1361
- return this.client.sendOperationRequest({
1362
- resourceGroupName: resourceGroupName,
1363
- accountName: accountName,
1364
- regenerate: regenerate,
1365
- options: options
1366
- }, regenerateKeysOperationSpec$1, callback);
1367
- };
1368
- RemoteRenderingAccounts.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
1369
- return this.client.sendOperationRequest({
1370
- nextPageLink: nextPageLink,
1371
- options: options
1372
- }, listBySubscriptionNextOperationSpec$1, callback);
1373
- };
1374
- RemoteRenderingAccounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1375
- return this.client.sendOperationRequest({
1376
- nextPageLink: nextPageLink,
1377
- options: options
1378
- }, listByResourceGroupNextOperationSpec$1, callback);
1379
- };
1380
- return RemoteRenderingAccounts;
1381
- }());
1382
- // Operation Specifications
1383
- var serializer$2 = new msRest.Serializer(Mappers$3);
1384
- var listBySubscriptionOperationSpec$1 = {
1385
- httpMethod: "GET",
1386
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
1387
- urlParameters: [
1388
- subscriptionId
1389
- ],
1390
- queryParameters: [
1391
- apiVersion1
1392
- ],
1393
- headerParameters: [
1394
- acceptLanguage
1395
- ],
1396
- responses: {
1397
- 200: {
1398
- bodyMapper: RemoteRenderingAccountPage
1399
- },
1400
- default: {
1401
- bodyMapper: CloudError
1402
- }
1403
- },
1404
- serializer: serializer$2
1405
- };
1406
- var listByResourceGroupOperationSpec$1 = {
1407
- httpMethod: "GET",
1408
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
1409
- urlParameters: [
1410
- subscriptionId,
1411
- resourceGroupName
1412
- ],
1413
- queryParameters: [
1414
- apiVersion1
1415
- ],
1416
- headerParameters: [
1417
- acceptLanguage
1418
- ],
1419
- responses: {
1420
- 200: {
1421
- bodyMapper: RemoteRenderingAccountPage
1422
- },
1423
- default: {
1424
- bodyMapper: CloudError
1425
- }
1426
- },
1427
- serializer: serializer$2
1428
- };
1429
- var deleteMethodOperationSpec$1 = {
1430
- httpMethod: "DELETE",
1431
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1432
- urlParameters: [
1433
- subscriptionId,
1434
- resourceGroupName,
1435
- accountName
1436
- ],
1437
- queryParameters: [
1438
- apiVersion1
1439
- ],
1440
- headerParameters: [
1441
- acceptLanguage
1442
- ],
1443
- responses: {
1444
- 200: {},
1445
- 204: {},
1446
- default: {
1447
- bodyMapper: CloudError
1448
- }
1449
- },
1450
- serializer: serializer$2
1451
- };
1452
- var getOperationSpec$1 = {
1453
- httpMethod: "GET",
1454
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1455
- urlParameters: [
1456
- subscriptionId,
1457
- resourceGroupName,
1458
- accountName
1459
- ],
1460
- queryParameters: [
1461
- apiVersion1
1462
- ],
1463
- headerParameters: [
1464
- acceptLanguage
1465
- ],
1466
- responses: {
1467
- 200: {
1468
- bodyMapper: RemoteRenderingAccount
1469
- },
1470
- default: {
1471
- bodyMapper: CloudError
1472
- }
1473
- },
1474
- serializer: serializer$2
1475
- };
1476
- var updateOperationSpec$1 = {
1477
- httpMethod: "PATCH",
1478
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1479
- urlParameters: [
1480
- subscriptionId,
1481
- resourceGroupName,
1482
- accountName
1483
- ],
1484
- queryParameters: [
1485
- apiVersion1
1486
- ],
1487
- headerParameters: [
1488
- acceptLanguage
1489
- ],
1490
- requestBody: {
1491
- parameterPath: "remoteRenderingAccount",
1492
- mapper: __assign(__assign({}, RemoteRenderingAccount), { required: true })
1493
- },
1494
- responses: {
1495
- 200: {
1496
- bodyMapper: RemoteRenderingAccount
1497
- },
1498
- default: {
1499
- bodyMapper: CloudError
1500
- }
1501
- },
1502
- serializer: serializer$2
1503
- };
1504
- var createOperationSpec$1 = {
1505
- httpMethod: "PUT",
1506
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1507
- urlParameters: [
1508
- subscriptionId,
1509
- resourceGroupName,
1510
- accountName
1511
- ],
1512
- queryParameters: [
1513
- apiVersion1
1514
- ],
1515
- headerParameters: [
1516
- acceptLanguage
1517
- ],
1518
- requestBody: {
1519
- parameterPath: "remoteRenderingAccount",
1520
- mapper: __assign(__assign({}, RemoteRenderingAccount), { required: true })
1521
- },
1522
- responses: {
1523
- 200: {
1524
- bodyMapper: RemoteRenderingAccount
1525
- },
1526
- 201: {
1527
- bodyMapper: RemoteRenderingAccount
1528
- },
1529
- default: {
1530
- bodyMapper: CloudError
1531
- }
1532
- },
1533
- serializer: serializer$2
1534
- };
1535
- var listKeysOperationSpec$1 = {
1536
- httpMethod: "POST",
1537
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys",
1538
- urlParameters: [
1539
- subscriptionId,
1540
- resourceGroupName,
1541
- accountName
1542
- ],
1543
- queryParameters: [
1544
- apiVersion1
1545
- ],
1546
- headerParameters: [
1547
- acceptLanguage
1548
- ],
1549
- responses: {
1550
- 200: {
1551
- bodyMapper: AccountKeys
1552
- },
1553
- default: {
1554
- bodyMapper: CloudError
1555
- }
1556
- },
1557
- serializer: serializer$2
1558
- };
1559
- var regenerateKeysOperationSpec$1 = {
1560
- httpMethod: "POST",
1561
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/regenerateKeys",
1562
- urlParameters: [
1563
- subscriptionId,
1564
- resourceGroupName,
1565
- accountName
1566
- ],
1567
- queryParameters: [
1568
- apiVersion1
1569
- ],
1570
- headerParameters: [
1571
- acceptLanguage
1572
- ],
1573
- requestBody: {
1574
- parameterPath: "regenerate",
1575
- mapper: __assign(__assign({}, AccountKeyRegenerateRequest), { required: true })
1576
- },
1577
- responses: {
1578
- 200: {
1579
- bodyMapper: AccountKeys
1580
- },
1581
- default: {
1582
- bodyMapper: CloudError
1583
- }
1584
- },
1585
- serializer: serializer$2
1586
- };
1587
- var listBySubscriptionNextOperationSpec$1 = {
1588
- httpMethod: "GET",
1589
- baseUrl: "https://management.azure.com",
1590
- path: "{nextLink}",
1591
- urlParameters: [
1592
- nextPageLink
1593
- ],
1594
- headerParameters: [
1595
- acceptLanguage
1596
- ],
1597
- responses: {
1598
- 200: {
1599
- bodyMapper: RemoteRenderingAccountPage
1600
- },
1601
- default: {
1602
- bodyMapper: CloudError
1603
- }
1604
- },
1605
- serializer: serializer$2
1606
- };
1607
- var listByResourceGroupNextOperationSpec$1 = {
1608
- httpMethod: "GET",
1609
- baseUrl: "https://management.azure.com",
1610
- path: "{nextLink}",
1611
- urlParameters: [
1612
- nextPageLink
1613
- ],
1614
- headerParameters: [
1615
- acceptLanguage
1616
- ],
1617
- responses: {
1618
- 200: {
1619
- bodyMapper: RemoteRenderingAccountPage
1620
- },
1621
- default: {
1622
- bodyMapper: CloudError
1623
- }
1624
- },
1625
- serializer: serializer$2
1626
- };
1627
-
1628
- /*
1629
- * Copyright (c) Microsoft Corporation. All rights reserved.
1630
- * Licensed under the MIT License. See License.txt in the project root for
1631
- * license information.
1632
- *
1633
- * Code generated by Microsoft (R) AutoRest Code Generator.
1634
- * Changes may cause incorrect behavior and will be lost if the code is
1635
- * regenerated.
1636
- */
1637
- var packageName = "@azure/arm-mixedreality";
1638
- var packageVersion = "2.0.0";
1639
- var MixedRealityClientContext = /** @class */ (function (_super) {
1640
- __extends(MixedRealityClientContext, _super);
1641
- /**
1642
- * Initializes a new instance of the MixedRealityClient class.
1643
- * @param credentials Credentials needed for the client to connect to Azure.
1644
- * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
1645
- * 00000000-0000-0000-0000-000000000000)
1646
- * @param [options] The parameter options
1647
- */
1648
- function MixedRealityClientContext(credentials, subscriptionId, options) {
1649
- var _this = this;
1650
- if (credentials == undefined) {
1651
- throw new Error('\'credentials\' cannot be null.');
1652
- }
1653
- if (subscriptionId == undefined) {
1654
- throw new Error('\'subscriptionId\' cannot be null.');
1655
- }
1656
- if (!options) {
1657
- options = {};
1658
- }
1659
- if (!options.userAgent) {
1660
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
1661
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
1662
- }
1663
- _this = _super.call(this, credentials, options) || this;
1664
- _this.acceptLanguage = 'en-US';
1665
- _this.longRunningOperationRetryTimeout = 30;
1666
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
1667
- _this.requestContentType = "application/json; charset=utf-8";
1668
- _this.credentials = credentials;
1669
- _this.subscriptionId = subscriptionId;
1670
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
1671
- _this.acceptLanguage = options.acceptLanguage;
1672
- }
1673
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
1674
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
1675
- }
1676
- return _this;
1677
- }
1678
- return MixedRealityClientContext;
1679
- }(msRestAzure.AzureServiceClient));
1680
-
1681
- /*
1682
- * Copyright (c) Microsoft Corporation. All rights reserved.
1683
- * Licensed under the MIT License. See License.txt in the project root for
1684
- * license information.
1685
- *
1686
- * Code generated by Microsoft (R) AutoRest Code Generator.
1687
- * Changes may cause incorrect behavior and will be lost if the code is
1688
- * regenerated.
1689
- */
1690
- var MixedRealityClient = /** @class */ (function (_super) {
1691
- __extends(MixedRealityClient, _super);
1692
- /**
1693
- * Initializes a new instance of the MixedRealityClient class.
1694
- * @param credentials Credentials needed for the client to connect to Azure.
1695
- * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
1696
- * 00000000-0000-0000-0000-000000000000)
1697
- * @param [options] The parameter options
1698
- */
1699
- function MixedRealityClient(credentials, subscriptionId, options) {
1700
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
1701
- _this.operations = new Operations(_this);
1702
- _this.spatialAnchorsAccounts = new SpatialAnchorsAccounts(_this);
1703
- _this.remoteRenderingAccounts = new RemoteRenderingAccounts(_this);
1704
- return _this;
1705
- }
1706
- MixedRealityClient.prototype.checkNameAvailabilityLocal = function (location, checkNameAvailability, options, callback) {
1707
- return this.sendOperationRequest({
1708
- location: location,
1709
- checkNameAvailability: checkNameAvailability,
1710
- options: options
1711
- }, checkNameAvailabilityLocalOperationSpec, callback);
1712
- };
1713
- return MixedRealityClient;
1714
- }(MixedRealityClientContext));
1715
- // Operation Specifications
1716
- var serializer$3 = new msRest.Serializer(Mappers);
1717
- var checkNameAvailabilityLocalOperationSpec = {
1718
- httpMethod: "POST",
1719
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/locations/{location}/checkNameAvailability",
1720
- urlParameters: [
1721
- subscriptionId,
1722
- location
1723
- ],
1724
- queryParameters: [
1725
- apiVersion0
1726
- ],
1727
- headerParameters: [
1728
- acceptLanguage
1729
- ],
1730
- requestBody: {
1731
- parameterPath: "checkNameAvailability",
1732
- mapper: __assign(__assign({}, CheckNameAvailabilityRequest), { required: true })
1733
- },
1734
- responses: {
1735
- 200: {
1736
- bodyMapper: CheckNameAvailabilityResponse
1737
- },
1738
- default: {
1739
- bodyMapper: CloudError
1740
- }
1741
- },
1742
- serializer: serializer$3
1743
- };
1744
-
1745
- exports.MixedRealityClient = MixedRealityClient;
1746
- exports.MixedRealityClientContext = MixedRealityClientContext;
1747
- exports.MixedRealityMappers = Mappers;
1748
- exports.MixedRealityModels = index;
1749
- exports.Operations = Operations;
1750
- exports.RemoteRenderingAccounts = RemoteRenderingAccounts;
1751
- exports.SpatialAnchorsAccounts = SpatialAnchorsAccounts;
1752
-
1753
- Object.defineProperty(exports, '__esModule', { value: true });
1754
-
1755
- })));
1756
- //# sourceMappingURL=arm-mixedreality.js.map