@azure/arm-mixedreality 3.1.1 → 4.0.1-alpha.20220201.1

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 +69 -80
  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 -23
  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 -80
  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 -2052
  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 -48
  160. package/esm/mixedRealityClient.d.ts.map +0 -1
  161. package/esm/mixedRealityClient.js +0 -77
  162. package/esm/mixedRealityClient.js.map +0 -1
  163. package/esm/mixedRealityClientContext.d.ts +0 -23
  164. package/esm/mixedRealityClientContext.d.ts.map +0 -1
  165. package/esm/mixedRealityClientContext.js +0 -61
  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 -68
  204. package/src/models/remoteRenderingAccountsMappers.ts +0 -29
  205. package/src/models/spatialAnchorsAccountsMappers.ts +0 -29
@@ -1,2052 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
- (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.
56
- * Licensed under the MIT License.
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.
68
- * Licensed under the MIT License.
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: "Boolean"
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 LogSpecification = {
164
- serializedName: "LogSpecification",
165
- type: {
166
- name: "Composite",
167
- className: "LogSpecification",
168
- modelProperties: {
169
- name: {
170
- serializedName: "name",
171
- type: {
172
- name: "String"
173
- }
174
- },
175
- displayName: {
176
- serializedName: "displayName",
177
- type: {
178
- name: "String"
179
- }
180
- },
181
- blobDuration: {
182
- serializedName: "blobDuration",
183
- type: {
184
- name: "String"
185
- }
186
- }
187
- }
188
- }
189
- };
190
- var MetricDimension = {
191
- serializedName: "MetricDimension",
192
- type: {
193
- name: "Composite",
194
- className: "MetricDimension",
195
- modelProperties: {
196
- name: {
197
- serializedName: "name",
198
- type: {
199
- name: "String"
200
- }
201
- },
202
- displayName: {
203
- serializedName: "displayName",
204
- type: {
205
- name: "String"
206
- }
207
- },
208
- internalName: {
209
- serializedName: "internalName",
210
- type: {
211
- name: "String"
212
- }
213
- }
214
- }
215
- }
216
- };
217
- var MetricSpecification = {
218
- serializedName: "MetricSpecification",
219
- type: {
220
- name: "Composite",
221
- className: "MetricSpecification",
222
- modelProperties: {
223
- name: {
224
- serializedName: "name",
225
- type: {
226
- name: "String"
227
- }
228
- },
229
- displayName: {
230
- serializedName: "displayName",
231
- type: {
232
- name: "String"
233
- }
234
- },
235
- displayDescription: {
236
- serializedName: "displayDescription",
237
- type: {
238
- name: "String"
239
- }
240
- },
241
- unit: {
242
- serializedName: "unit",
243
- type: {
244
- name: "String"
245
- }
246
- },
247
- aggregationType: {
248
- serializedName: "aggregationType",
249
- type: {
250
- name: "String"
251
- }
252
- },
253
- internalMetricName: {
254
- serializedName: "internalMetricName",
255
- type: {
256
- name: "String"
257
- }
258
- },
259
- dimensions: {
260
- serializedName: "dimensions",
261
- type: {
262
- name: "Sequence",
263
- element: {
264
- type: {
265
- name: "Composite",
266
- className: "MetricDimension"
267
- }
268
- }
269
- }
270
- }
271
- }
272
- }
273
- };
274
- var ServiceSpecification = {
275
- serializedName: "ServiceSpecification",
276
- type: {
277
- name: "Composite",
278
- className: "ServiceSpecification",
279
- modelProperties: {
280
- logSpecifications: {
281
- serializedName: "logSpecifications",
282
- type: {
283
- name: "Sequence",
284
- element: {
285
- type: {
286
- name: "Composite",
287
- className: "LogSpecification"
288
- }
289
- }
290
- }
291
- },
292
- metricSpecifications: {
293
- serializedName: "metricSpecifications",
294
- type: {
295
- name: "Sequence",
296
- element: {
297
- type: {
298
- name: "Composite",
299
- className: "MetricSpecification"
300
- }
301
- }
302
- }
303
- }
304
- }
305
- }
306
- };
307
- var OperationProperties = {
308
- serializedName: "OperationProperties",
309
- type: {
310
- name: "Composite",
311
- className: "OperationProperties",
312
- modelProperties: {
313
- serviceSpecification: {
314
- serializedName: "serviceSpecification",
315
- type: {
316
- name: "Composite",
317
- className: "ServiceSpecification"
318
- }
319
- }
320
- }
321
- }
322
- };
323
- var Operation = {
324
- serializedName: "Operation",
325
- type: {
326
- name: "Composite",
327
- className: "Operation",
328
- modelProperties: {
329
- name: {
330
- serializedName: "name",
331
- type: {
332
- name: "String"
333
- }
334
- },
335
- display: {
336
- serializedName: "display",
337
- type: {
338
- name: "Composite",
339
- className: "OperationDisplay"
340
- }
341
- },
342
- isDataAction: {
343
- serializedName: "isDataAction",
344
- type: {
345
- name: "Boolean"
346
- }
347
- },
348
- origin: {
349
- serializedName: "origin",
350
- type: {
351
- name: "String"
352
- }
353
- },
354
- properties: {
355
- serializedName: "properties",
356
- type: {
357
- name: "Composite",
358
- className: "OperationProperties"
359
- }
360
- }
361
- }
362
- }
363
- };
364
- var Identity = {
365
- serializedName: "Identity",
366
- type: {
367
- name: "Composite",
368
- className: "Identity",
369
- modelProperties: {
370
- principalId: {
371
- readOnly: true,
372
- serializedName: "principalId",
373
- type: {
374
- name: "String"
375
- }
376
- },
377
- tenantId: {
378
- readOnly: true,
379
- serializedName: "tenantId",
380
- type: {
381
- name: "String"
382
- }
383
- },
384
- type: {
385
- serializedName: "type",
386
- type: {
387
- name: "Enum",
388
- allowedValues: [
389
- "SystemAssigned"
390
- ]
391
- }
392
- }
393
- }
394
- }
395
- };
396
- var Sku = {
397
- serializedName: "Sku",
398
- type: {
399
- name: "Composite",
400
- className: "Sku",
401
- modelProperties: {
402
- name: {
403
- required: true,
404
- serializedName: "name",
405
- type: {
406
- name: "String"
407
- }
408
- },
409
- tier: {
410
- serializedName: "tier",
411
- type: {
412
- name: "Enum",
413
- allowedValues: [
414
- "Free",
415
- "Basic",
416
- "Standard",
417
- "Premium"
418
- ]
419
- }
420
- },
421
- size: {
422
- serializedName: "size",
423
- type: {
424
- name: "String"
425
- }
426
- },
427
- family: {
428
- serializedName: "family",
429
- type: {
430
- name: "String"
431
- }
432
- },
433
- capacity: {
434
- serializedName: "capacity",
435
- type: {
436
- name: "Number"
437
- }
438
- }
439
- }
440
- }
441
- };
442
- var SystemData = {
443
- serializedName: "systemData",
444
- type: {
445
- name: "Composite",
446
- className: "SystemData",
447
- modelProperties: {
448
- createdBy: {
449
- serializedName: "createdBy",
450
- type: {
451
- name: "String"
452
- }
453
- },
454
- createdByType: {
455
- serializedName: "createdByType",
456
- type: {
457
- name: "String"
458
- }
459
- },
460
- createdAt: {
461
- serializedName: "createdAt",
462
- type: {
463
- name: "DateTime"
464
- }
465
- },
466
- lastModifiedBy: {
467
- serializedName: "lastModifiedBy",
468
- type: {
469
- name: "String"
470
- }
471
- },
472
- lastModifiedByType: {
473
- serializedName: "lastModifiedByType",
474
- type: {
475
- name: "String"
476
- }
477
- },
478
- lastModifiedAt: {
479
- serializedName: "lastModifiedAt",
480
- type: {
481
- name: "DateTime"
482
- }
483
- }
484
- }
485
- }
486
- };
487
- var Resource = {
488
- serializedName: "Resource",
489
- type: {
490
- name: "Composite",
491
- className: "Resource",
492
- modelProperties: {
493
- id: {
494
- readOnly: true,
495
- serializedName: "id",
496
- type: {
497
- name: "String"
498
- }
499
- },
500
- name: {
501
- readOnly: true,
502
- serializedName: "name",
503
- type: {
504
- name: "String"
505
- }
506
- },
507
- type: {
508
- readOnly: true,
509
- serializedName: "type",
510
- type: {
511
- name: "String"
512
- }
513
- }
514
- }
515
- }
516
- };
517
- var TrackedResource = {
518
- serializedName: "TrackedResource",
519
- type: {
520
- name: "Composite",
521
- className: "TrackedResource",
522
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { tags: {
523
- serializedName: "tags",
524
- type: {
525
- name: "Dictionary",
526
- value: {
527
- type: {
528
- name: "String"
529
- }
530
- }
531
- }
532
- }, location: {
533
- required: true,
534
- serializedName: "location",
535
- type: {
536
- name: "String"
537
- }
538
- } })
539
- }
540
- };
541
- var SpatialAnchorsAccount = {
542
- serializedName: "SpatialAnchorsAccount",
543
- type: {
544
- name: "Composite",
545
- className: "SpatialAnchorsAccount",
546
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { storageAccountName: {
547
- serializedName: "properties.storageAccountName",
548
- type: {
549
- name: "String"
550
- }
551
- }, accountId: {
552
- readOnly: true,
553
- serializedName: "properties.accountId",
554
- type: {
555
- name: "String"
556
- }
557
- }, accountDomain: {
558
- readOnly: true,
559
- serializedName: "properties.accountDomain",
560
- type: {
561
- name: "String"
562
- }
563
- }, identity: {
564
- serializedName: "identity",
565
- type: {
566
- name: "Composite",
567
- className: "Identity"
568
- }
569
- }, plan: {
570
- serializedName: "plan",
571
- type: {
572
- name: "Composite",
573
- className: "Identity"
574
- }
575
- }, sku: {
576
- serializedName: "sku",
577
- type: {
578
- name: "Composite",
579
- className: "Sku"
580
- }
581
- }, kind: {
582
- serializedName: "kind",
583
- type: {
584
- name: "Composite",
585
- className: "Sku"
586
- }
587
- }, systemData: {
588
- serializedName: "systemData",
589
- type: {
590
- name: "Composite",
591
- className: "SystemData"
592
- }
593
- } })
594
- }
595
- };
596
- var ResourceModelWithAllowedPropertySetIdentity = {
597
- serializedName: "ResourceModelWithAllowedPropertySet_identity",
598
- type: {
599
- name: "Composite",
600
- className: "ResourceModelWithAllowedPropertySetIdentity",
601
- modelProperties: __assign({}, Identity.type.modelProperties)
602
- }
603
- };
604
- var ResourceModelWithAllowedPropertySetSku = {
605
- serializedName: "ResourceModelWithAllowedPropertySet_sku",
606
- type: {
607
- name: "Composite",
608
- className: "ResourceModelWithAllowedPropertySetSku",
609
- modelProperties: __assign({}, Sku.type.modelProperties)
610
- }
611
- };
612
- var Plan = {
613
- serializedName: "Plan",
614
- type: {
615
- name: "Composite",
616
- className: "Plan",
617
- modelProperties: {
618
- name: {
619
- required: true,
620
- serializedName: "name",
621
- type: {
622
- name: "String"
623
- }
624
- },
625
- publisher: {
626
- required: true,
627
- serializedName: "publisher",
628
- type: {
629
- name: "String"
630
- }
631
- },
632
- product: {
633
- required: true,
634
- serializedName: "product",
635
- type: {
636
- name: "String"
637
- }
638
- },
639
- promotionCode: {
640
- serializedName: "promotionCode",
641
- type: {
642
- name: "String"
643
- }
644
- },
645
- version: {
646
- serializedName: "version",
647
- type: {
648
- name: "String"
649
- }
650
- }
651
- }
652
- }
653
- };
654
- var ResourceModelWithAllowedPropertySetPlan = {
655
- serializedName: "ResourceModelWithAllowedPropertySet_plan",
656
- type: {
657
- name: "Composite",
658
- className: "ResourceModelWithAllowedPropertySetPlan",
659
- modelProperties: __assign({}, Plan.type.modelProperties)
660
- }
661
- };
662
- var ResourceModelWithAllowedPropertySet = {
663
- serializedName: "ResourceModelWithAllowedPropertySet",
664
- type: {
665
- name: "Composite",
666
- className: "ResourceModelWithAllowedPropertySet",
667
- modelProperties: {
668
- id: {
669
- readOnly: true,
670
- serializedName: "id",
671
- type: {
672
- name: "String"
673
- }
674
- },
675
- name: {
676
- readOnly: true,
677
- serializedName: "name",
678
- type: {
679
- name: "String"
680
- }
681
- },
682
- type: {
683
- readOnly: true,
684
- serializedName: "type",
685
- type: {
686
- name: "String"
687
- }
688
- },
689
- location: {
690
- serializedName: "location",
691
- type: {
692
- name: "String"
693
- }
694
- },
695
- managedBy: {
696
- serializedName: "managedBy",
697
- type: {
698
- name: "String"
699
- }
700
- },
701
- kind: {
702
- serializedName: "kind",
703
- constraints: {
704
- Pattern: /^[-\w\._,\(\)]+$/
705
- },
706
- type: {
707
- name: "String"
708
- }
709
- },
710
- etag: {
711
- readOnly: true,
712
- serializedName: "etag",
713
- type: {
714
- name: "String"
715
- }
716
- },
717
- tags: {
718
- serializedName: "tags",
719
- type: {
720
- name: "Dictionary",
721
- value: {
722
- type: {
723
- name: "String"
724
- }
725
- }
726
- }
727
- },
728
- identity: {
729
- serializedName: "identity",
730
- type: {
731
- name: "Composite",
732
- className: "ResourceModelWithAllowedPropertySetIdentity"
733
- }
734
- },
735
- sku: {
736
- serializedName: "sku",
737
- type: {
738
- name: "Composite",
739
- className: "ResourceModelWithAllowedPropertySetSku"
740
- }
741
- },
742
- plan: {
743
- serializedName: "plan",
744
- type: {
745
- name: "Composite",
746
- className: "ResourceModelWithAllowedPropertySetPlan"
747
- }
748
- }
749
- }
750
- }
751
- };
752
- var ProxyResource = {
753
- serializedName: "ProxyResource",
754
- type: {
755
- name: "Composite",
756
- className: "ProxyResource",
757
- modelProperties: __assign({}, Resource.type.modelProperties)
758
- }
759
- };
760
- var AzureEntityResource = {
761
- serializedName: "AzureEntityResource",
762
- type: {
763
- name: "Composite",
764
- className: "AzureEntityResource",
765
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { etag: {
766
- readOnly: true,
767
- serializedName: "etag",
768
- type: {
769
- name: "String"
770
- }
771
- } })
772
- }
773
- };
774
- var AccountKeys = {
775
- serializedName: "AccountKeys",
776
- type: {
777
- name: "Composite",
778
- className: "AccountKeys",
779
- modelProperties: {
780
- primaryKey: {
781
- readOnly: true,
782
- serializedName: "primaryKey",
783
- type: {
784
- name: "String"
785
- }
786
- },
787
- secondaryKey: {
788
- readOnly: true,
789
- serializedName: "secondaryKey",
790
- type: {
791
- name: "String"
792
- }
793
- }
794
- }
795
- }
796
- };
797
- var AccountKeyRegenerateRequest = {
798
- serializedName: "AccountKeyRegenerateRequest",
799
- type: {
800
- name: "Composite",
801
- className: "AccountKeyRegenerateRequest",
802
- modelProperties: {
803
- serial: {
804
- serializedName: "serial",
805
- defaultValue: 1,
806
- type: {
807
- name: "Number"
808
- }
809
- }
810
- }
811
- }
812
- };
813
- var RemoteRenderingAccount = {
814
- serializedName: "RemoteRenderingAccount",
815
- type: {
816
- name: "Composite",
817
- className: "RemoteRenderingAccount",
818
- modelProperties: __assign(__assign({}, TrackedResource.type.modelProperties), { storageAccountName: {
819
- serializedName: "properties.storageAccountName",
820
- type: {
821
- name: "String"
822
- }
823
- }, accountId: {
824
- readOnly: true,
825
- serializedName: "properties.accountId",
826
- type: {
827
- name: "String"
828
- }
829
- }, accountDomain: {
830
- readOnly: true,
831
- serializedName: "properties.accountDomain",
832
- type: {
833
- name: "String"
834
- }
835
- }, identity: {
836
- serializedName: "identity",
837
- type: {
838
- name: "Composite",
839
- className: "Identity"
840
- }
841
- }, plan: {
842
- serializedName: "plan",
843
- type: {
844
- name: "Composite",
845
- className: "Identity"
846
- }
847
- }, sku: {
848
- serializedName: "sku",
849
- type: {
850
- name: "Composite",
851
- className: "Sku"
852
- }
853
- }, kind: {
854
- serializedName: "kind",
855
- type: {
856
- name: "Composite",
857
- className: "Sku"
858
- }
859
- }, systemData: {
860
- serializedName: "systemData",
861
- type: {
862
- name: "Composite",
863
- className: "SystemData"
864
- }
865
- } })
866
- }
867
- };
868
- var OperationPage = {
869
- serializedName: "OperationPage",
870
- type: {
871
- name: "Composite",
872
- className: "OperationPage",
873
- modelProperties: {
874
- value: {
875
- serializedName: "",
876
- type: {
877
- name: "Sequence",
878
- element: {
879
- type: {
880
- name: "Composite",
881
- className: "Operation"
882
- }
883
- }
884
- }
885
- },
886
- nextLink: {
887
- serializedName: "nextLink",
888
- type: {
889
- name: "String"
890
- }
891
- }
892
- }
893
- }
894
- };
895
- var SpatialAnchorsAccountPage = {
896
- serializedName: "SpatialAnchorsAccountPage",
897
- type: {
898
- name: "Composite",
899
- className: "SpatialAnchorsAccountPage",
900
- modelProperties: {
901
- value: {
902
- serializedName: "",
903
- type: {
904
- name: "Sequence",
905
- element: {
906
- type: {
907
- name: "Composite",
908
- className: "SpatialAnchorsAccount"
909
- }
910
- }
911
- }
912
- },
913
- nextLink: {
914
- serializedName: "nextLink",
915
- type: {
916
- name: "String"
917
- }
918
- }
919
- }
920
- }
921
- };
922
- var RemoteRenderingAccountPage = {
923
- serializedName: "RemoteRenderingAccountPage",
924
- type: {
925
- name: "Composite",
926
- className: "RemoteRenderingAccountPage",
927
- modelProperties: {
928
- value: {
929
- serializedName: "",
930
- type: {
931
- name: "Sequence",
932
- element: {
933
- type: {
934
- name: "Composite",
935
- className: "RemoteRenderingAccount"
936
- }
937
- }
938
- }
939
- },
940
- nextLink: {
941
- serializedName: "nextLink",
942
- type: {
943
- name: "String"
944
- }
945
- }
946
- }
947
- }
948
- };
949
-
950
- var Mappers = /*#__PURE__*/Object.freeze({
951
- __proto__: null,
952
- CloudError: CloudError,
953
- BaseResource: BaseResource,
954
- CheckNameAvailabilityRequest: CheckNameAvailabilityRequest,
955
- CheckNameAvailabilityResponse: CheckNameAvailabilityResponse,
956
- OperationDisplay: OperationDisplay,
957
- LogSpecification: LogSpecification,
958
- MetricDimension: MetricDimension,
959
- MetricSpecification: MetricSpecification,
960
- ServiceSpecification: ServiceSpecification,
961
- OperationProperties: OperationProperties,
962
- Operation: Operation,
963
- Identity: Identity,
964
- Sku: Sku,
965
- SystemData: SystemData,
966
- Resource: Resource,
967
- TrackedResource: TrackedResource,
968
- SpatialAnchorsAccount: SpatialAnchorsAccount,
969
- ResourceModelWithAllowedPropertySetIdentity: ResourceModelWithAllowedPropertySetIdentity,
970
- ResourceModelWithAllowedPropertySetSku: ResourceModelWithAllowedPropertySetSku,
971
- Plan: Plan,
972
- ResourceModelWithAllowedPropertySetPlan: ResourceModelWithAllowedPropertySetPlan,
973
- ResourceModelWithAllowedPropertySet: ResourceModelWithAllowedPropertySet,
974
- ProxyResource: ProxyResource,
975
- AzureEntityResource: AzureEntityResource,
976
- AccountKeys: AccountKeys,
977
- AccountKeyRegenerateRequest: AccountKeyRegenerateRequest,
978
- RemoteRenderingAccount: RemoteRenderingAccount,
979
- OperationPage: OperationPage,
980
- SpatialAnchorsAccountPage: SpatialAnchorsAccountPage,
981
- RemoteRenderingAccountPage: RemoteRenderingAccountPage
982
- });
983
-
984
- /*
985
- * Copyright (c) Microsoft Corporation.
986
- * Licensed under the MIT License.
987
- *
988
- * Code generated by Microsoft (R) AutoRest Code Generator.
989
- * Changes may cause incorrect behavior and will be lost if the code is
990
- * regenerated.
991
- */
992
- var acceptLanguage = {
993
- parameterPath: "acceptLanguage",
994
- mapper: {
995
- serializedName: "accept-language",
996
- defaultValue: 'en-US',
997
- type: {
998
- name: "String"
999
- }
1000
- }
1001
- };
1002
- var accountName = {
1003
- parameterPath: "accountName",
1004
- mapper: {
1005
- required: true,
1006
- serializedName: "accountName",
1007
- constraints: {
1008
- MaxLength: 90,
1009
- MinLength: 1,
1010
- Pattern: /^[-\w\._\(\)]+$/
1011
- },
1012
- type: {
1013
- name: "String"
1014
- }
1015
- }
1016
- };
1017
- var apiVersion = {
1018
- parameterPath: "apiVersion",
1019
- mapper: {
1020
- required: true,
1021
- serializedName: "api-version",
1022
- type: {
1023
- name: "String"
1024
- }
1025
- }
1026
- };
1027
- var location = {
1028
- parameterPath: "location",
1029
- mapper: {
1030
- required: true,
1031
- serializedName: "location",
1032
- constraints: {
1033
- MaxLength: 90,
1034
- MinLength: 1,
1035
- Pattern: /^[-\w\._\(\)]+$/
1036
- },
1037
- type: {
1038
- name: "String"
1039
- }
1040
- }
1041
- };
1042
- var nextPageLink = {
1043
- parameterPath: "nextPageLink",
1044
- mapper: {
1045
- required: true,
1046
- serializedName: "nextLink",
1047
- type: {
1048
- name: "String"
1049
- }
1050
- },
1051
- skipEncoding: true
1052
- };
1053
- var resourceGroupName = {
1054
- parameterPath: "resourceGroupName",
1055
- mapper: {
1056
- required: true,
1057
- serializedName: "resourceGroupName",
1058
- constraints: {
1059
- MaxLength: 90,
1060
- MinLength: 1,
1061
- Pattern: /^[-\w\._\(\)]+$/
1062
- },
1063
- type: {
1064
- name: "String"
1065
- }
1066
- }
1067
- };
1068
- var subscriptionId = {
1069
- parameterPath: "subscriptionId",
1070
- mapper: {
1071
- required: true,
1072
- serializedName: "subscriptionId",
1073
- type: {
1074
- name: "String"
1075
- }
1076
- }
1077
- };
1078
-
1079
- /*
1080
- * Copyright (c) Microsoft Corporation.
1081
- * Licensed under the MIT License.
1082
- *
1083
- * Code generated by Microsoft (R) AutoRest Code Generator.
1084
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1085
- */
1086
-
1087
- var Mappers$1 = /*#__PURE__*/Object.freeze({
1088
- __proto__: null,
1089
- CloudError: CloudError,
1090
- LogSpecification: LogSpecification,
1091
- MetricDimension: MetricDimension,
1092
- MetricSpecification: MetricSpecification,
1093
- Operation: Operation,
1094
- OperationDisplay: OperationDisplay,
1095
- OperationPage: OperationPage,
1096
- OperationProperties: OperationProperties,
1097
- ServiceSpecification: ServiceSpecification
1098
- });
1099
-
1100
- /*
1101
- * Copyright (c) Microsoft Corporation.
1102
- * Licensed under the MIT License.
1103
- *
1104
- * Code generated by Microsoft (R) AutoRest Code Generator.
1105
- * Changes may cause incorrect behavior and will be lost if the code is
1106
- * regenerated.
1107
- */
1108
- /** Class representing a Operations. */
1109
- var Operations = /** @class */ (function () {
1110
- /**
1111
- * Create a Operations.
1112
- * @param {MixedRealityClientContext} client Reference to the service client.
1113
- */
1114
- function Operations(client) {
1115
- this.client = client;
1116
- }
1117
- Operations.prototype.list = function (options, callback) {
1118
- return this.client.sendOperationRequest({
1119
- options: options
1120
- }, listOperationSpec, callback);
1121
- };
1122
- Operations.prototype.listNext = function (nextPageLink, options, callback) {
1123
- return this.client.sendOperationRequest({
1124
- nextPageLink: nextPageLink,
1125
- options: options
1126
- }, listNextOperationSpec, callback);
1127
- };
1128
- return Operations;
1129
- }());
1130
- // Operation Specifications
1131
- var serializer = new msRest.Serializer(Mappers$1);
1132
- var listOperationSpec = {
1133
- httpMethod: "GET",
1134
- path: "providers/Microsoft.MixedReality/operations",
1135
- queryParameters: [
1136
- apiVersion
1137
- ],
1138
- headerParameters: [
1139
- acceptLanguage
1140
- ],
1141
- responses: {
1142
- 200: {
1143
- bodyMapper: OperationPage
1144
- },
1145
- default: {
1146
- bodyMapper: CloudError
1147
- }
1148
- },
1149
- serializer: serializer
1150
- };
1151
- var listNextOperationSpec = {
1152
- httpMethod: "GET",
1153
- baseUrl: "https://management.azure.com",
1154
- path: "{nextLink}",
1155
- urlParameters: [
1156
- nextPageLink
1157
- ],
1158
- queryParameters: [
1159
- apiVersion
1160
- ],
1161
- headerParameters: [
1162
- acceptLanguage
1163
- ],
1164
- responses: {
1165
- 200: {
1166
- bodyMapper: OperationPage
1167
- },
1168
- default: {
1169
- bodyMapper: CloudError
1170
- }
1171
- },
1172
- serializer: serializer
1173
- };
1174
-
1175
- /*
1176
- * Copyright (c) Microsoft Corporation.
1177
- * Licensed under the MIT License.
1178
- *
1179
- * Code generated by Microsoft (R) AutoRest Code Generator.
1180
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1181
- */
1182
-
1183
- var Mappers$2 = /*#__PURE__*/Object.freeze({
1184
- __proto__: null,
1185
- AccountKeyRegenerateRequest: AccountKeyRegenerateRequest,
1186
- AccountKeys: AccountKeys,
1187
- AzureEntityResource: AzureEntityResource,
1188
- BaseResource: BaseResource,
1189
- CloudError: CloudError,
1190
- Identity: Identity,
1191
- Plan: Plan,
1192
- ProxyResource: ProxyResource,
1193
- RemoteRenderingAccount: RemoteRenderingAccount,
1194
- Resource: Resource,
1195
- ResourceModelWithAllowedPropertySet: ResourceModelWithAllowedPropertySet,
1196
- ResourceModelWithAllowedPropertySetIdentity: ResourceModelWithAllowedPropertySetIdentity,
1197
- ResourceModelWithAllowedPropertySetPlan: ResourceModelWithAllowedPropertySetPlan,
1198
- ResourceModelWithAllowedPropertySetSku: ResourceModelWithAllowedPropertySetSku,
1199
- Sku: Sku,
1200
- SpatialAnchorsAccount: SpatialAnchorsAccount,
1201
- SpatialAnchorsAccountPage: SpatialAnchorsAccountPage,
1202
- SystemData: SystemData,
1203
- TrackedResource: TrackedResource
1204
- });
1205
-
1206
- /*
1207
- * Copyright (c) Microsoft Corporation.
1208
- * Licensed under the MIT License.
1209
- *
1210
- * Code generated by Microsoft (R) AutoRest Code Generator.
1211
- * Changes may cause incorrect behavior and will be lost if the code is
1212
- * regenerated.
1213
- */
1214
- /** Class representing a SpatialAnchorsAccounts. */
1215
- var SpatialAnchorsAccounts = /** @class */ (function () {
1216
- /**
1217
- * Create a SpatialAnchorsAccounts.
1218
- * @param {MixedRealityClientContext} client Reference to the service client.
1219
- */
1220
- function SpatialAnchorsAccounts(client) {
1221
- this.client = client;
1222
- }
1223
- SpatialAnchorsAccounts.prototype.listBySubscription = function (options, callback) {
1224
- return this.client.sendOperationRequest({
1225
- options: options
1226
- }, listBySubscriptionOperationSpec, callback);
1227
- };
1228
- SpatialAnchorsAccounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1229
- return this.client.sendOperationRequest({
1230
- resourceGroupName: resourceGroupName,
1231
- options: options
1232
- }, listByResourceGroupOperationSpec, callback);
1233
- };
1234
- SpatialAnchorsAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
1235
- return this.client.sendOperationRequest({
1236
- resourceGroupName: resourceGroupName,
1237
- accountName: accountName,
1238
- options: options
1239
- }, deleteMethodOperationSpec, callback);
1240
- };
1241
- SpatialAnchorsAccounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
1242
- return this.client.sendOperationRequest({
1243
- resourceGroupName: resourceGroupName,
1244
- accountName: accountName,
1245
- options: options
1246
- }, getOperationSpec, callback);
1247
- };
1248
- SpatialAnchorsAccounts.prototype.update = function (resourceGroupName, accountName, spatialAnchorsAccount, options, callback) {
1249
- return this.client.sendOperationRequest({
1250
- resourceGroupName: resourceGroupName,
1251
- accountName: accountName,
1252
- spatialAnchorsAccount: spatialAnchorsAccount,
1253
- options: options
1254
- }, updateOperationSpec, callback);
1255
- };
1256
- SpatialAnchorsAccounts.prototype.create = function (resourceGroupName, accountName, spatialAnchorsAccount, options, callback) {
1257
- return this.client.sendOperationRequest({
1258
- resourceGroupName: resourceGroupName,
1259
- accountName: accountName,
1260
- spatialAnchorsAccount: spatialAnchorsAccount,
1261
- options: options
1262
- }, createOperationSpec, callback);
1263
- };
1264
- SpatialAnchorsAccounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
1265
- return this.client.sendOperationRequest({
1266
- resourceGroupName: resourceGroupName,
1267
- accountName: accountName,
1268
- options: options
1269
- }, listKeysOperationSpec, callback);
1270
- };
1271
- SpatialAnchorsAccounts.prototype.regenerateKeys = function (resourceGroupName, accountName, regenerate, options, callback) {
1272
- return this.client.sendOperationRequest({
1273
- resourceGroupName: resourceGroupName,
1274
- accountName: accountName,
1275
- regenerate: regenerate,
1276
- options: options
1277
- }, regenerateKeysOperationSpec, callback);
1278
- };
1279
- SpatialAnchorsAccounts.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
1280
- return this.client.sendOperationRequest({
1281
- nextPageLink: nextPageLink,
1282
- options: options
1283
- }, listBySubscriptionNextOperationSpec, callback);
1284
- };
1285
- SpatialAnchorsAccounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1286
- return this.client.sendOperationRequest({
1287
- nextPageLink: nextPageLink,
1288
- options: options
1289
- }, listByResourceGroupNextOperationSpec, callback);
1290
- };
1291
- return SpatialAnchorsAccounts;
1292
- }());
1293
- // Operation Specifications
1294
- var serializer$1 = new msRest.Serializer(Mappers$2);
1295
- var listBySubscriptionOperationSpec = {
1296
- httpMethod: "GET",
1297
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/spatialAnchorsAccounts",
1298
- urlParameters: [
1299
- subscriptionId
1300
- ],
1301
- queryParameters: [
1302
- apiVersion
1303
- ],
1304
- headerParameters: [
1305
- acceptLanguage
1306
- ],
1307
- responses: {
1308
- 200: {
1309
- bodyMapper: SpatialAnchorsAccountPage
1310
- },
1311
- default: {
1312
- bodyMapper: CloudError
1313
- }
1314
- },
1315
- serializer: serializer$1
1316
- };
1317
- var listByResourceGroupOperationSpec = {
1318
- httpMethod: "GET",
1319
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts",
1320
- urlParameters: [
1321
- subscriptionId,
1322
- resourceGroupName
1323
- ],
1324
- queryParameters: [
1325
- apiVersion
1326
- ],
1327
- headerParameters: [
1328
- acceptLanguage
1329
- ],
1330
- responses: {
1331
- 200: {
1332
- bodyMapper: SpatialAnchorsAccountPage
1333
- },
1334
- default: {
1335
- bodyMapper: CloudError
1336
- }
1337
- },
1338
- serializer: serializer$1
1339
- };
1340
- var deleteMethodOperationSpec = {
1341
- httpMethod: "DELETE",
1342
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1343
- urlParameters: [
1344
- subscriptionId,
1345
- resourceGroupName,
1346
- accountName
1347
- ],
1348
- queryParameters: [
1349
- apiVersion
1350
- ],
1351
- headerParameters: [
1352
- acceptLanguage
1353
- ],
1354
- responses: {
1355
- 200: {},
1356
- 204: {},
1357
- default: {
1358
- bodyMapper: CloudError
1359
- }
1360
- },
1361
- serializer: serializer$1
1362
- };
1363
- var getOperationSpec = {
1364
- httpMethod: "GET",
1365
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1366
- urlParameters: [
1367
- subscriptionId,
1368
- resourceGroupName,
1369
- accountName
1370
- ],
1371
- queryParameters: [
1372
- apiVersion
1373
- ],
1374
- headerParameters: [
1375
- acceptLanguage
1376
- ],
1377
- responses: {
1378
- 200: {
1379
- bodyMapper: SpatialAnchorsAccount
1380
- },
1381
- default: {
1382
- bodyMapper: CloudError
1383
- }
1384
- },
1385
- serializer: serializer$1
1386
- };
1387
- var updateOperationSpec = {
1388
- httpMethod: "PATCH",
1389
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1390
- urlParameters: [
1391
- subscriptionId,
1392
- resourceGroupName,
1393
- accountName
1394
- ],
1395
- queryParameters: [
1396
- apiVersion
1397
- ],
1398
- headerParameters: [
1399
- acceptLanguage
1400
- ],
1401
- requestBody: {
1402
- parameterPath: "spatialAnchorsAccount",
1403
- mapper: __assign(__assign({}, SpatialAnchorsAccount), { required: true })
1404
- },
1405
- responses: {
1406
- 200: {
1407
- bodyMapper: SpatialAnchorsAccount
1408
- },
1409
- default: {
1410
- bodyMapper: CloudError
1411
- }
1412
- },
1413
- serializer: serializer$1
1414
- };
1415
- var createOperationSpec = {
1416
- httpMethod: "PUT",
1417
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}",
1418
- urlParameters: [
1419
- subscriptionId,
1420
- resourceGroupName,
1421
- accountName
1422
- ],
1423
- queryParameters: [
1424
- apiVersion
1425
- ],
1426
- headerParameters: [
1427
- acceptLanguage
1428
- ],
1429
- requestBody: {
1430
- parameterPath: "spatialAnchorsAccount",
1431
- mapper: __assign(__assign({}, SpatialAnchorsAccount), { required: true })
1432
- },
1433
- responses: {
1434
- 200: {
1435
- bodyMapper: SpatialAnchorsAccount
1436
- },
1437
- 201: {
1438
- bodyMapper: SpatialAnchorsAccount
1439
- },
1440
- default: {
1441
- bodyMapper: CloudError
1442
- }
1443
- },
1444
- serializer: serializer$1
1445
- };
1446
- var listKeysOperationSpec = {
1447
- httpMethod: "POST",
1448
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/listKeys",
1449
- urlParameters: [
1450
- subscriptionId,
1451
- resourceGroupName,
1452
- accountName
1453
- ],
1454
- queryParameters: [
1455
- apiVersion
1456
- ],
1457
- headerParameters: [
1458
- acceptLanguage
1459
- ],
1460
- responses: {
1461
- 200: {
1462
- bodyMapper: AccountKeys
1463
- },
1464
- default: {
1465
- bodyMapper: CloudError
1466
- }
1467
- },
1468
- serializer: serializer$1
1469
- };
1470
- var regenerateKeysOperationSpec = {
1471
- httpMethod: "POST",
1472
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/spatialAnchorsAccounts/{accountName}/regenerateKeys",
1473
- urlParameters: [
1474
- subscriptionId,
1475
- resourceGroupName,
1476
- accountName
1477
- ],
1478
- queryParameters: [
1479
- apiVersion
1480
- ],
1481
- headerParameters: [
1482
- acceptLanguage
1483
- ],
1484
- requestBody: {
1485
- parameterPath: "regenerate",
1486
- mapper: __assign(__assign({}, AccountKeyRegenerateRequest), { required: true })
1487
- },
1488
- responses: {
1489
- 200: {
1490
- bodyMapper: AccountKeys
1491
- },
1492
- default: {
1493
- bodyMapper: CloudError
1494
- }
1495
- },
1496
- serializer: serializer$1
1497
- };
1498
- var listBySubscriptionNextOperationSpec = {
1499
- httpMethod: "GET",
1500
- baseUrl: "https://management.azure.com",
1501
- path: "{nextLink}",
1502
- urlParameters: [
1503
- nextPageLink
1504
- ],
1505
- queryParameters: [
1506
- apiVersion
1507
- ],
1508
- headerParameters: [
1509
- acceptLanguage
1510
- ],
1511
- responses: {
1512
- 200: {
1513
- bodyMapper: SpatialAnchorsAccountPage
1514
- },
1515
- default: {
1516
- bodyMapper: CloudError
1517
- }
1518
- },
1519
- serializer: serializer$1
1520
- };
1521
- var listByResourceGroupNextOperationSpec = {
1522
- httpMethod: "GET",
1523
- baseUrl: "https://management.azure.com",
1524
- path: "{nextLink}",
1525
- urlParameters: [
1526
- nextPageLink
1527
- ],
1528
- queryParameters: [
1529
- apiVersion
1530
- ],
1531
- headerParameters: [
1532
- acceptLanguage
1533
- ],
1534
- responses: {
1535
- 200: {
1536
- bodyMapper: SpatialAnchorsAccountPage
1537
- },
1538
- default: {
1539
- bodyMapper: CloudError
1540
- }
1541
- },
1542
- serializer: serializer$1
1543
- };
1544
-
1545
- /*
1546
- * Copyright (c) Microsoft Corporation.
1547
- * Licensed under the MIT License.
1548
- *
1549
- * Code generated by Microsoft (R) AutoRest Code Generator.
1550
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1551
- */
1552
-
1553
- var Mappers$3 = /*#__PURE__*/Object.freeze({
1554
- __proto__: null,
1555
- AccountKeyRegenerateRequest: AccountKeyRegenerateRequest,
1556
- AccountKeys: AccountKeys,
1557
- AzureEntityResource: AzureEntityResource,
1558
- BaseResource: BaseResource,
1559
- CloudError: CloudError,
1560
- Identity: Identity,
1561
- Plan: Plan,
1562
- ProxyResource: ProxyResource,
1563
- RemoteRenderingAccount: RemoteRenderingAccount,
1564
- RemoteRenderingAccountPage: RemoteRenderingAccountPage,
1565
- Resource: Resource,
1566
- ResourceModelWithAllowedPropertySet: ResourceModelWithAllowedPropertySet,
1567
- ResourceModelWithAllowedPropertySetIdentity: ResourceModelWithAllowedPropertySetIdentity,
1568
- ResourceModelWithAllowedPropertySetPlan: ResourceModelWithAllowedPropertySetPlan,
1569
- ResourceModelWithAllowedPropertySetSku: ResourceModelWithAllowedPropertySetSku,
1570
- Sku: Sku,
1571
- SpatialAnchorsAccount: SpatialAnchorsAccount,
1572
- SystemData: SystemData,
1573
- TrackedResource: TrackedResource
1574
- });
1575
-
1576
- /*
1577
- * Copyright (c) Microsoft Corporation.
1578
- * Licensed under the MIT License.
1579
- *
1580
- * Code generated by Microsoft (R) AutoRest Code Generator.
1581
- * Changes may cause incorrect behavior and will be lost if the code is
1582
- * regenerated.
1583
- */
1584
- /** Class representing a RemoteRenderingAccounts. */
1585
- var RemoteRenderingAccounts = /** @class */ (function () {
1586
- /**
1587
- * Create a RemoteRenderingAccounts.
1588
- * @param {MixedRealityClientContext} client Reference to the service client.
1589
- */
1590
- function RemoteRenderingAccounts(client) {
1591
- this.client = client;
1592
- }
1593
- RemoteRenderingAccounts.prototype.listBySubscription = function (options, callback) {
1594
- return this.client.sendOperationRequest({
1595
- options: options
1596
- }, listBySubscriptionOperationSpec$1, callback);
1597
- };
1598
- RemoteRenderingAccounts.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
1599
- return this.client.sendOperationRequest({
1600
- resourceGroupName: resourceGroupName,
1601
- options: options
1602
- }, listByResourceGroupOperationSpec$1, callback);
1603
- };
1604
- RemoteRenderingAccounts.prototype.deleteMethod = function (resourceGroupName, accountName, options, callback) {
1605
- return this.client.sendOperationRequest({
1606
- resourceGroupName: resourceGroupName,
1607
- accountName: accountName,
1608
- options: options
1609
- }, deleteMethodOperationSpec$1, callback);
1610
- };
1611
- RemoteRenderingAccounts.prototype.get = function (resourceGroupName, accountName, options, callback) {
1612
- return this.client.sendOperationRequest({
1613
- resourceGroupName: resourceGroupName,
1614
- accountName: accountName,
1615
- options: options
1616
- }, getOperationSpec$1, callback);
1617
- };
1618
- RemoteRenderingAccounts.prototype.update = function (resourceGroupName, accountName, remoteRenderingAccount, options, callback) {
1619
- return this.client.sendOperationRequest({
1620
- resourceGroupName: resourceGroupName,
1621
- accountName: accountName,
1622
- remoteRenderingAccount: remoteRenderingAccount,
1623
- options: options
1624
- }, updateOperationSpec$1, callback);
1625
- };
1626
- RemoteRenderingAccounts.prototype.create = function (resourceGroupName, accountName, remoteRenderingAccount, options, callback) {
1627
- return this.client.sendOperationRequest({
1628
- resourceGroupName: resourceGroupName,
1629
- accountName: accountName,
1630
- remoteRenderingAccount: remoteRenderingAccount,
1631
- options: options
1632
- }, createOperationSpec$1, callback);
1633
- };
1634
- RemoteRenderingAccounts.prototype.listKeys = function (resourceGroupName, accountName, options, callback) {
1635
- return this.client.sendOperationRequest({
1636
- resourceGroupName: resourceGroupName,
1637
- accountName: accountName,
1638
- options: options
1639
- }, listKeysOperationSpec$1, callback);
1640
- };
1641
- RemoteRenderingAccounts.prototype.regenerateKeys = function (resourceGroupName, accountName, regenerate, options, callback) {
1642
- return this.client.sendOperationRequest({
1643
- resourceGroupName: resourceGroupName,
1644
- accountName: accountName,
1645
- regenerate: regenerate,
1646
- options: options
1647
- }, regenerateKeysOperationSpec$1, callback);
1648
- };
1649
- RemoteRenderingAccounts.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
1650
- return this.client.sendOperationRequest({
1651
- nextPageLink: nextPageLink,
1652
- options: options
1653
- }, listBySubscriptionNextOperationSpec$1, callback);
1654
- };
1655
- RemoteRenderingAccounts.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
1656
- return this.client.sendOperationRequest({
1657
- nextPageLink: nextPageLink,
1658
- options: options
1659
- }, listByResourceGroupNextOperationSpec$1, callback);
1660
- };
1661
- return RemoteRenderingAccounts;
1662
- }());
1663
- // Operation Specifications
1664
- var serializer$2 = new msRest.Serializer(Mappers$3);
1665
- var listBySubscriptionOperationSpec$1 = {
1666
- httpMethod: "GET",
1667
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
1668
- urlParameters: [
1669
- subscriptionId
1670
- ],
1671
- queryParameters: [
1672
- apiVersion
1673
- ],
1674
- headerParameters: [
1675
- acceptLanguage
1676
- ],
1677
- responses: {
1678
- 200: {
1679
- bodyMapper: RemoteRenderingAccountPage
1680
- },
1681
- default: {
1682
- bodyMapper: CloudError
1683
- }
1684
- },
1685
- serializer: serializer$2
1686
- };
1687
- var listByResourceGroupOperationSpec$1 = {
1688
- httpMethod: "GET",
1689
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts",
1690
- urlParameters: [
1691
- subscriptionId,
1692
- resourceGroupName
1693
- ],
1694
- queryParameters: [
1695
- apiVersion
1696
- ],
1697
- headerParameters: [
1698
- acceptLanguage
1699
- ],
1700
- responses: {
1701
- 200: {
1702
- bodyMapper: RemoteRenderingAccountPage
1703
- },
1704
- default: {
1705
- bodyMapper: CloudError
1706
- }
1707
- },
1708
- serializer: serializer$2
1709
- };
1710
- var deleteMethodOperationSpec$1 = {
1711
- httpMethod: "DELETE",
1712
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1713
- urlParameters: [
1714
- subscriptionId,
1715
- resourceGroupName,
1716
- accountName
1717
- ],
1718
- queryParameters: [
1719
- apiVersion
1720
- ],
1721
- headerParameters: [
1722
- acceptLanguage
1723
- ],
1724
- responses: {
1725
- 200: {},
1726
- 204: {},
1727
- default: {
1728
- bodyMapper: CloudError
1729
- }
1730
- },
1731
- serializer: serializer$2
1732
- };
1733
- var getOperationSpec$1 = {
1734
- httpMethod: "GET",
1735
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1736
- urlParameters: [
1737
- subscriptionId,
1738
- resourceGroupName,
1739
- accountName
1740
- ],
1741
- queryParameters: [
1742
- apiVersion
1743
- ],
1744
- headerParameters: [
1745
- acceptLanguage
1746
- ],
1747
- responses: {
1748
- 200: {
1749
- bodyMapper: RemoteRenderingAccount
1750
- },
1751
- default: {
1752
- bodyMapper: CloudError
1753
- }
1754
- },
1755
- serializer: serializer$2
1756
- };
1757
- var updateOperationSpec$1 = {
1758
- httpMethod: "PATCH",
1759
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1760
- urlParameters: [
1761
- subscriptionId,
1762
- resourceGroupName,
1763
- accountName
1764
- ],
1765
- queryParameters: [
1766
- apiVersion
1767
- ],
1768
- headerParameters: [
1769
- acceptLanguage
1770
- ],
1771
- requestBody: {
1772
- parameterPath: "remoteRenderingAccount",
1773
- mapper: __assign(__assign({}, RemoteRenderingAccount), { required: true })
1774
- },
1775
- responses: {
1776
- 200: {
1777
- bodyMapper: RemoteRenderingAccount
1778
- },
1779
- default: {
1780
- bodyMapper: CloudError
1781
- }
1782
- },
1783
- serializer: serializer$2
1784
- };
1785
- var createOperationSpec$1 = {
1786
- httpMethod: "PUT",
1787
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}",
1788
- urlParameters: [
1789
- subscriptionId,
1790
- resourceGroupName,
1791
- accountName
1792
- ],
1793
- queryParameters: [
1794
- apiVersion
1795
- ],
1796
- headerParameters: [
1797
- acceptLanguage
1798
- ],
1799
- requestBody: {
1800
- parameterPath: "remoteRenderingAccount",
1801
- mapper: __assign(__assign({}, RemoteRenderingAccount), { required: true })
1802
- },
1803
- responses: {
1804
- 200: {
1805
- bodyMapper: RemoteRenderingAccount
1806
- },
1807
- 201: {
1808
- bodyMapper: RemoteRenderingAccount
1809
- },
1810
- default: {
1811
- bodyMapper: CloudError
1812
- }
1813
- },
1814
- serializer: serializer$2
1815
- };
1816
- var listKeysOperationSpec$1 = {
1817
- httpMethod: "POST",
1818
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/listKeys",
1819
- urlParameters: [
1820
- subscriptionId,
1821
- resourceGroupName,
1822
- accountName
1823
- ],
1824
- queryParameters: [
1825
- apiVersion
1826
- ],
1827
- headerParameters: [
1828
- acceptLanguage
1829
- ],
1830
- responses: {
1831
- 200: {
1832
- bodyMapper: AccountKeys
1833
- },
1834
- default: {
1835
- bodyMapper: CloudError
1836
- }
1837
- },
1838
- serializer: serializer$2
1839
- };
1840
- var regenerateKeysOperationSpec$1 = {
1841
- httpMethod: "POST",
1842
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/remoteRenderingAccounts/{accountName}/regenerateKeys",
1843
- urlParameters: [
1844
- subscriptionId,
1845
- resourceGroupName,
1846
- accountName
1847
- ],
1848
- queryParameters: [
1849
- apiVersion
1850
- ],
1851
- headerParameters: [
1852
- acceptLanguage
1853
- ],
1854
- requestBody: {
1855
- parameterPath: "regenerate",
1856
- mapper: __assign(__assign({}, AccountKeyRegenerateRequest), { required: true })
1857
- },
1858
- responses: {
1859
- 200: {
1860
- bodyMapper: AccountKeys
1861
- },
1862
- default: {
1863
- bodyMapper: CloudError
1864
- }
1865
- },
1866
- serializer: serializer$2
1867
- };
1868
- var listBySubscriptionNextOperationSpec$1 = {
1869
- httpMethod: "GET",
1870
- baseUrl: "https://management.azure.com",
1871
- path: "{nextLink}",
1872
- urlParameters: [
1873
- nextPageLink
1874
- ],
1875
- queryParameters: [
1876
- apiVersion
1877
- ],
1878
- headerParameters: [
1879
- acceptLanguage
1880
- ],
1881
- responses: {
1882
- 200: {
1883
- bodyMapper: RemoteRenderingAccountPage
1884
- },
1885
- default: {
1886
- bodyMapper: CloudError
1887
- }
1888
- },
1889
- serializer: serializer$2
1890
- };
1891
- var listByResourceGroupNextOperationSpec$1 = {
1892
- httpMethod: "GET",
1893
- baseUrl: "https://management.azure.com",
1894
- path: "{nextLink}",
1895
- urlParameters: [
1896
- nextPageLink
1897
- ],
1898
- queryParameters: [
1899
- apiVersion
1900
- ],
1901
- headerParameters: [
1902
- acceptLanguage
1903
- ],
1904
- responses: {
1905
- 200: {
1906
- bodyMapper: RemoteRenderingAccountPage
1907
- },
1908
- default: {
1909
- bodyMapper: CloudError
1910
- }
1911
- },
1912
- serializer: serializer$2
1913
- };
1914
-
1915
- /*
1916
- * Copyright (c) Microsoft Corporation.
1917
- * Licensed under the MIT License.
1918
- *
1919
- * Code generated by Microsoft (R) AutoRest Code Generator.
1920
- * Changes may cause incorrect behavior and will be lost if the code is
1921
- * regenerated.
1922
- */
1923
- var packageName = "@azure/arm-mixedreality";
1924
- var packageVersion = "3.1.1";
1925
- var MixedRealityClientContext = /** @class */ (function (_super) {
1926
- __extends(MixedRealityClientContext, _super);
1927
- /**
1928
- * Initializes a new instance of the MixedRealityClient class.
1929
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
1930
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
1931
- * more information about these credentials, see
1932
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
1933
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
1934
- * @azure/ms-rest-browserauth are also supported.
1935
- * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
1936
- * 00000000-0000-0000-0000-000000000000)
1937
- * @param [options] The parameter options
1938
- */
1939
- function MixedRealityClientContext(credentials, subscriptionId, options) {
1940
- var _this = this;
1941
- if (credentials == undefined) {
1942
- throw new Error('\'credentials\' cannot be null.');
1943
- }
1944
- if (subscriptionId == undefined) {
1945
- throw new Error('\'subscriptionId\' cannot be null.');
1946
- }
1947
- if (!options) {
1948
- options = {};
1949
- }
1950
- if (!options.userAgent) {
1951
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
1952
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
1953
- }
1954
- _this = _super.call(this, credentials, options) || this;
1955
- _this.apiVersion = '2021-01-01';
1956
- _this.acceptLanguage = 'en-US';
1957
- _this.longRunningOperationRetryTimeout = 30;
1958
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
1959
- _this.requestContentType = "application/json; charset=utf-8";
1960
- _this.credentials = credentials;
1961
- _this.subscriptionId = subscriptionId;
1962
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
1963
- _this.acceptLanguage = options.acceptLanguage;
1964
- }
1965
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
1966
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
1967
- }
1968
- return _this;
1969
- }
1970
- return MixedRealityClientContext;
1971
- }(msRestAzure.AzureServiceClient));
1972
-
1973
- /*
1974
- * Copyright (c) Microsoft Corporation.
1975
- * Licensed under the MIT License.
1976
- *
1977
- * Code generated by Microsoft (R) AutoRest Code Generator.
1978
- * Changes may cause incorrect behavior and will be lost if the code is
1979
- * regenerated.
1980
- */
1981
- var MixedRealityClient = /** @class */ (function (_super) {
1982
- __extends(MixedRealityClient, _super);
1983
- /**
1984
- * Initializes a new instance of the MixedRealityClient class.
1985
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
1986
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
1987
- * more information about these credentials, see
1988
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
1989
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
1990
- * @azure/ms-rest-browserauth are also supported.
1991
- * @param subscriptionId The Azure subscription ID. This is a GUID-formatted string (e.g.
1992
- * 00000000-0000-0000-0000-000000000000)
1993
- * @param [options] The parameter options
1994
- */
1995
- function MixedRealityClient(credentials, subscriptionId, options) {
1996
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
1997
- _this.operations = new Operations(_this);
1998
- _this.spatialAnchorsAccounts = new SpatialAnchorsAccounts(_this);
1999
- _this.remoteRenderingAccounts = new RemoteRenderingAccounts(_this);
2000
- return _this;
2001
- }
2002
- MixedRealityClient.prototype.checkNameAvailabilityLocal = function (location, checkNameAvailability, options, callback) {
2003
- return this.sendOperationRequest({
2004
- location: location,
2005
- checkNameAvailability: checkNameAvailability,
2006
- options: options
2007
- }, checkNameAvailabilityLocalOperationSpec, callback);
2008
- };
2009
- return MixedRealityClient;
2010
- }(MixedRealityClientContext));
2011
- // Operation Specifications
2012
- var serializer$3 = new msRest.Serializer(Mappers);
2013
- var checkNameAvailabilityLocalOperationSpec = {
2014
- httpMethod: "POST",
2015
- path: "subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/locations/{location}/checkNameAvailability",
2016
- urlParameters: [
2017
- subscriptionId,
2018
- location
2019
- ],
2020
- queryParameters: [
2021
- apiVersion
2022
- ],
2023
- headerParameters: [
2024
- acceptLanguage
2025
- ],
2026
- requestBody: {
2027
- parameterPath: "checkNameAvailability",
2028
- mapper: __assign(__assign({}, CheckNameAvailabilityRequest), { required: true })
2029
- },
2030
- responses: {
2031
- 200: {
2032
- bodyMapper: CheckNameAvailabilityResponse
2033
- },
2034
- default: {
2035
- bodyMapper: CloudError
2036
- }
2037
- },
2038
- serializer: serializer$3
2039
- };
2040
-
2041
- exports.MixedRealityClient = MixedRealityClient;
2042
- exports.MixedRealityClientContext = MixedRealityClientContext;
2043
- exports.MixedRealityMappers = Mappers;
2044
- exports.MixedRealityModels = index;
2045
- exports.Operations = Operations;
2046
- exports.RemoteRenderingAccounts = RemoteRenderingAccounts;
2047
- exports.SpatialAnchorsAccounts = SpatialAnchorsAccounts;
2048
-
2049
- Object.defineProperty(exports, '__esModule', { value: true });
2050
-
2051
- })));
2052
- //# sourceMappingURL=arm-mixedreality.js.map