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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/README.md +12 -1
  3. package/dist/index.js +667 -105
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.d.ts +2 -0
  8. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.d.ts.map +1 -0
  9. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.js +34 -0
  10. package/dist-esm/samples-dev/checkNameAvailabilityLocalSample.js.map +1 -0
  11. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.d.ts +2 -0
  12. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.d.ts.map +1 -0
  13. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.js +35 -0
  14. package/dist-esm/samples-dev/objectAnchorsAccountsCreateSample.js.map +1 -0
  15. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.d.ts +2 -0
  16. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.d.ts.map +1 -0
  17. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.js +31 -0
  18. package/dist-esm/samples-dev/objectAnchorsAccountsDeleteSample.js.map +1 -0
  19. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.d.ts +2 -0
  20. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.d.ts.map +1 -0
  21. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.js +31 -0
  22. package/dist-esm/samples-dev/objectAnchorsAccountsGetSample.js.map +1 -0
  23. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.d.ts +2 -0
  24. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.d.ts.map +1 -0
  25. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.js +44 -0
  26. package/dist-esm/samples-dev/objectAnchorsAccountsListByResourceGroupSample.js.map +1 -0
  27. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.d.ts +2 -0
  28. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.d.ts.map +1 -0
  29. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.js +43 -0
  30. package/dist-esm/samples-dev/objectAnchorsAccountsListBySubscriptionSample.js.map +1 -0
  31. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.d.ts +2 -0
  32. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.d.ts.map +1 -0
  33. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.js +31 -0
  34. package/dist-esm/samples-dev/objectAnchorsAccountsListKeysSample.js.map +1 -0
  35. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.d.ts +2 -0
  36. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.d.ts.map +1 -0
  37. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.js +32 -0
  38. package/dist-esm/samples-dev/objectAnchorsAccountsRegenerateKeysSample.js.map +1 -0
  39. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.d.ts +2 -0
  40. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.d.ts.map +1 -0
  41. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.js +36 -0
  42. package/dist-esm/samples-dev/objectAnchorsAccountsUpdateSample.js.map +1 -0
  43. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  44. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  45. package/dist-esm/samples-dev/operationsListSample.js +43 -0
  46. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  47. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.d.ts +2 -0
  48. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.d.ts.map +1 -0
  49. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.js +35 -0
  50. package/dist-esm/samples-dev/remoteRenderingAccountsCreateSample.js.map +1 -0
  51. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.d.ts +2 -0
  52. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.d.ts.map +1 -0
  53. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.js +31 -0
  54. package/dist-esm/samples-dev/remoteRenderingAccountsDeleteSample.js.map +1 -0
  55. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.d.ts +2 -0
  56. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.d.ts.map +1 -0
  57. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.js +31 -0
  58. package/dist-esm/samples-dev/remoteRenderingAccountsGetSample.js.map +1 -0
  59. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.d.ts +2 -0
  60. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.d.ts.map +1 -0
  61. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.js +44 -0
  62. package/dist-esm/samples-dev/remoteRenderingAccountsListByResourceGroupSample.js.map +1 -0
  63. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.d.ts +2 -0
  64. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.d.ts.map +1 -0
  65. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.js +43 -0
  66. package/dist-esm/samples-dev/remoteRenderingAccountsListBySubscriptionSample.js.map +1 -0
  67. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.d.ts +2 -0
  68. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.d.ts.map +1 -0
  69. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.js +31 -0
  70. package/dist-esm/samples-dev/remoteRenderingAccountsListKeysSample.js.map +1 -0
  71. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.d.ts +2 -0
  72. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.d.ts.map +1 -0
  73. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.js +32 -0
  74. package/dist-esm/samples-dev/remoteRenderingAccountsRegenerateKeysSample.js.map +1 -0
  75. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.d.ts +2 -0
  76. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.d.ts.map +1 -0
  77. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.js +36 -0
  78. package/dist-esm/samples-dev/remoteRenderingAccountsUpdateSample.js.map +1 -0
  79. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.d.ts +2 -0
  80. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.d.ts.map +1 -0
  81. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.js +34 -0
  82. package/dist-esm/samples-dev/spatialAnchorsAccountsCreateSample.js.map +1 -0
  83. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.d.ts +2 -0
  84. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.d.ts.map +1 -0
  85. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.js +31 -0
  86. package/dist-esm/samples-dev/spatialAnchorsAccountsDeleteSample.js.map +1 -0
  87. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.d.ts +2 -0
  88. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.d.ts.map +1 -0
  89. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.js +31 -0
  90. package/dist-esm/samples-dev/spatialAnchorsAccountsGetSample.js.map +1 -0
  91. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.d.ts +2 -0
  92. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.d.ts.map +1 -0
  93. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.js +44 -0
  94. package/dist-esm/samples-dev/spatialAnchorsAccountsListByResourceGroupSample.js.map +1 -0
  95. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.d.ts +2 -0
  96. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.d.ts.map +1 -0
  97. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.js +43 -0
  98. package/dist-esm/samples-dev/spatialAnchorsAccountsListBySubscriptionSample.js.map +1 -0
  99. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.d.ts +2 -0
  100. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.d.ts.map +1 -0
  101. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.js +31 -0
  102. package/dist-esm/samples-dev/spatialAnchorsAccountsListKeysSample.js.map +1 -0
  103. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.d.ts +2 -0
  104. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.d.ts.map +1 -0
  105. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.js +32 -0
  106. package/dist-esm/samples-dev/spatialAnchorsAccountsRegenerateKeysSample.js.map +1 -0
  107. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.d.ts +2 -0
  108. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.d.ts.map +1 -0
  109. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.js +35 -0
  110. package/dist-esm/samples-dev/spatialAnchorsAccountsUpdateSample.js.map +1 -0
  111. package/dist-esm/src/mixedRealityClient.d.ts +2 -1
  112. package/dist-esm/src/mixedRealityClient.d.ts.map +1 -1
  113. package/dist-esm/src/mixedRealityClient.js +23 -4
  114. package/dist-esm/src/mixedRealityClient.js.map +1 -1
  115. package/dist-esm/src/models/index.d.ts +86 -1
  116. package/dist-esm/src/models/index.d.ts.map +1 -1
  117. package/dist-esm/src/models/index.js.map +1 -1
  118. package/dist-esm/src/models/mappers.d.ts +3 -0
  119. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  120. package/dist-esm/src/models/mappers.js +93 -0
  121. package/dist-esm/src/models/mappers.js.map +1 -1
  122. package/dist-esm/src/models/parameters.d.ts +1 -0
  123. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  124. package/dist-esm/src/models/parameters.js +6 -2
  125. package/dist-esm/src/models/parameters.js.map +1 -1
  126. package/dist-esm/src/operations/index.d.ts +1 -0
  127. package/dist-esm/src/operations/index.d.ts.map +1 -1
  128. package/dist-esm/src/operations/index.js +1 -0
  129. package/dist-esm/src/operations/index.js.map +1 -1
  130. package/dist-esm/src/operations/objectAnchorsAccounts.d.ts +98 -0
  131. package/dist-esm/src/operations/objectAnchorsAccounts.d.ts.map +1 -0
  132. package/dist-esm/src/operations/objectAnchorsAccounts.js +422 -0
  133. package/dist-esm/src/operations/objectAnchorsAccounts.js.map +1 -0
  134. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  135. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  136. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  137. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  138. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.d.ts +62 -0
  139. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.d.ts.map +1 -0
  140. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.js +9 -0
  141. package/dist-esm/src/operationsInterfaces/objectAnchorsAccounts.js.map +1 -0
  142. package/package.json +30 -15
  143. package/review/arm-mixedreality.api.md +103 -0
  144. package/rollup.config.js +6 -72
  145. package/src/mixedRealityClient.ts +34 -5
  146. package/src/models/index.ts +108 -1
  147. package/src/models/mappers.ts +108 -0
  148. package/src/models/parameters.ts +8 -2
  149. package/src/operations/index.ts +1 -0
  150. package/src/operations/objectAnchorsAccounts.ts +536 -0
  151. package/src/operationsInterfaces/index.ts +1 -0
  152. package/src/operationsInterfaces/objectAnchorsAccounts.ts +119 -0
  153. package/tsconfig.json +18 -5
  154. package/types/arm-mixedreality.d.ts +169 -1
  155. package/types/tsdoc-metadata.json +1 -1
  156. package/LICENSE.txt +0 -21
@@ -0,0 +1,422 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing ObjectAnchorsAccounts operations. */
14
+ export class ObjectAnchorsAccountsImpl {
15
+ /**
16
+ * Initialize a new instance of the class ObjectAnchorsAccounts class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * List Object Anchors Accounts by Subscription
24
+ * @param options The options parameters.
25
+ */
26
+ listBySubscription(options) {
27
+ const iter = this.listBySubscriptionPagingAll(options);
28
+ return {
29
+ next() {
30
+ return iter.next();
31
+ },
32
+ [Symbol.asyncIterator]() {
33
+ return this;
34
+ },
35
+ byPage: () => {
36
+ return this.listBySubscriptionPagingPage(options);
37
+ }
38
+ };
39
+ }
40
+ listBySubscriptionPagingPage(options) {
41
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
42
+ let result = yield __await(this._listBySubscription(options));
43
+ yield yield __await(result.value || []);
44
+ let continuationToken = result.nextLink;
45
+ while (continuationToken) {
46
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
47
+ continuationToken = result.nextLink;
48
+ yield yield __await(result.value || []);
49
+ }
50
+ });
51
+ }
52
+ listBySubscriptionPagingAll(options) {
53
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
54
+ var e_1, _a;
55
+ try {
56
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
57
+ const page = _c.value;
58
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
59
+ }
60
+ }
61
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
62
+ finally {
63
+ try {
64
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
65
+ }
66
+ finally { if (e_1) throw e_1.error; }
67
+ }
68
+ });
69
+ }
70
+ /**
71
+ * List Resources by Resource Group
72
+ * @param resourceGroupName Name of an Azure resource group.
73
+ * @param options The options parameters.
74
+ */
75
+ listByResourceGroup(resourceGroupName, options) {
76
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
77
+ return {
78
+ next() {
79
+ return iter.next();
80
+ },
81
+ [Symbol.asyncIterator]() {
82
+ return this;
83
+ },
84
+ byPage: () => {
85
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
86
+ }
87
+ };
88
+ }
89
+ listByResourceGroupPagingPage(resourceGroupName, options) {
90
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
91
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
92
+ yield yield __await(result.value || []);
93
+ let continuationToken = result.nextLink;
94
+ while (continuationToken) {
95
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
96
+ continuationToken = result.nextLink;
97
+ yield yield __await(result.value || []);
98
+ }
99
+ });
100
+ }
101
+ listByResourceGroupPagingAll(resourceGroupName, options) {
102
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
103
+ var e_2, _a;
104
+ try {
105
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
106
+ const page = _c.value;
107
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
108
+ }
109
+ }
110
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
111
+ finally {
112
+ try {
113
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
114
+ }
115
+ finally { if (e_2) throw e_2.error; }
116
+ }
117
+ });
118
+ }
119
+ /**
120
+ * List Object Anchors Accounts by Subscription
121
+ * @param options The options parameters.
122
+ */
123
+ _listBySubscription(options) {
124
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
125
+ }
126
+ /**
127
+ * List Resources by Resource Group
128
+ * @param resourceGroupName Name of an Azure resource group.
129
+ * @param options The options parameters.
130
+ */
131
+ _listByResourceGroup(resourceGroupName, options) {
132
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
133
+ }
134
+ /**
135
+ * Delete an Object Anchors Account.
136
+ * @param resourceGroupName Name of an Azure resource group.
137
+ * @param accountName Name of an Mixed Reality Account.
138
+ * @param options The options parameters.
139
+ */
140
+ delete(resourceGroupName, accountName, options) {
141
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, deleteOperationSpec);
142
+ }
143
+ /**
144
+ * Retrieve an Object Anchors Account.
145
+ * @param resourceGroupName Name of an Azure resource group.
146
+ * @param accountName Name of an Mixed Reality Account.
147
+ * @param options The options parameters.
148
+ */
149
+ get(resourceGroupName, accountName, options) {
150
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, getOperationSpec);
151
+ }
152
+ /**
153
+ * Updating an Object Anchors Account
154
+ * @param resourceGroupName Name of an Azure resource group.
155
+ * @param accountName Name of an Mixed Reality Account.
156
+ * @param objectAnchorsAccount Object Anchors Account parameter.
157
+ * @param options The options parameters.
158
+ */
159
+ update(resourceGroupName, accountName, objectAnchorsAccount, options) {
160
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, objectAnchorsAccount, options }, updateOperationSpec);
161
+ }
162
+ /**
163
+ * Creating or Updating an object anchors Account.
164
+ * @param resourceGroupName Name of an Azure resource group.
165
+ * @param accountName Name of an Mixed Reality Account.
166
+ * @param objectAnchorsAccount Object Anchors Account parameter.
167
+ * @param options The options parameters.
168
+ */
169
+ create(resourceGroupName, accountName, objectAnchorsAccount, options) {
170
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, objectAnchorsAccount, options }, createOperationSpec);
171
+ }
172
+ /**
173
+ * List Both of the 2 Keys of an object anchors Account
174
+ * @param resourceGroupName Name of an Azure resource group.
175
+ * @param accountName Name of an Mixed Reality Account.
176
+ * @param options The options parameters.
177
+ */
178
+ listKeys(resourceGroupName, accountName, options) {
179
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, options }, listKeysOperationSpec);
180
+ }
181
+ /**
182
+ * Regenerate specified Key of an object anchors Account
183
+ * @param resourceGroupName Name of an Azure resource group.
184
+ * @param accountName Name of an Mixed Reality Account.
185
+ * @param regenerate Required information for key regeneration.
186
+ * @param options The options parameters.
187
+ */
188
+ regenerateKeys(resourceGroupName, accountName, regenerate, options) {
189
+ return this.client.sendOperationRequest({ resourceGroupName, accountName, regenerate, options }, regenerateKeysOperationSpec);
190
+ }
191
+ /**
192
+ * ListBySubscriptionNext
193
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
194
+ * @param options The options parameters.
195
+ */
196
+ _listBySubscriptionNext(nextLink, options) {
197
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
198
+ }
199
+ /**
200
+ * ListByResourceGroupNext
201
+ * @param resourceGroupName Name of an Azure resource group.
202
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
203
+ * @param options The options parameters.
204
+ */
205
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
206
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
207
+ }
208
+ }
209
+ // Operation Specifications
210
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
211
+ const listBySubscriptionOperationSpec = {
212
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.MixedReality/objectAnchorsAccounts",
213
+ httpMethod: "GET",
214
+ responses: {
215
+ 200: {
216
+ bodyMapper: Mappers.ObjectAnchorsAccountPage
217
+ },
218
+ default: {
219
+ bodyMapper: Mappers.CloudError
220
+ }
221
+ },
222
+ queryParameters: [Parameters.apiVersion],
223
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
224
+ headerParameters: [Parameters.accept],
225
+ serializer
226
+ };
227
+ const listByResourceGroupOperationSpec = {
228
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts",
229
+ httpMethod: "GET",
230
+ responses: {
231
+ 200: {
232
+ bodyMapper: Mappers.ObjectAnchorsAccountPage
233
+ },
234
+ default: {
235
+ bodyMapper: Mappers.CloudError
236
+ }
237
+ },
238
+ queryParameters: [Parameters.apiVersion],
239
+ urlParameters: [
240
+ Parameters.$host,
241
+ Parameters.subscriptionId,
242
+ Parameters.resourceGroupName
243
+ ],
244
+ headerParameters: [Parameters.accept],
245
+ serializer
246
+ };
247
+ const deleteOperationSpec = {
248
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts/{accountName}",
249
+ httpMethod: "DELETE",
250
+ responses: {
251
+ 200: {},
252
+ 204: {},
253
+ default: {
254
+ bodyMapper: Mappers.CloudError
255
+ }
256
+ },
257
+ queryParameters: [Parameters.apiVersion],
258
+ urlParameters: [
259
+ Parameters.$host,
260
+ Parameters.subscriptionId,
261
+ Parameters.resourceGroupName,
262
+ Parameters.accountName
263
+ ],
264
+ headerParameters: [Parameters.accept],
265
+ serializer
266
+ };
267
+ const getOperationSpec = {
268
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts/{accountName}",
269
+ httpMethod: "GET",
270
+ responses: {
271
+ 200: {
272
+ bodyMapper: Mappers.ObjectAnchorsAccount
273
+ },
274
+ default: {
275
+ bodyMapper: Mappers.CloudError
276
+ }
277
+ },
278
+ queryParameters: [Parameters.apiVersion],
279
+ urlParameters: [
280
+ Parameters.$host,
281
+ Parameters.subscriptionId,
282
+ Parameters.resourceGroupName,
283
+ Parameters.accountName
284
+ ],
285
+ headerParameters: [Parameters.accept],
286
+ serializer
287
+ };
288
+ const updateOperationSpec = {
289
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts/{accountName}",
290
+ httpMethod: "PATCH",
291
+ responses: {
292
+ 200: {
293
+ bodyMapper: Mappers.ObjectAnchorsAccount
294
+ },
295
+ default: {
296
+ bodyMapper: Mappers.CloudError
297
+ }
298
+ },
299
+ requestBody: Parameters.objectAnchorsAccount,
300
+ queryParameters: [Parameters.apiVersion],
301
+ urlParameters: [
302
+ Parameters.$host,
303
+ Parameters.subscriptionId,
304
+ Parameters.resourceGroupName,
305
+ Parameters.accountName
306
+ ],
307
+ headerParameters: [Parameters.accept, Parameters.contentType],
308
+ mediaType: "json",
309
+ serializer
310
+ };
311
+ const createOperationSpec = {
312
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts/{accountName}",
313
+ httpMethod: "PUT",
314
+ responses: {
315
+ 200: {
316
+ bodyMapper: Mappers.ObjectAnchorsAccount
317
+ },
318
+ 201: {
319
+ bodyMapper: Mappers.ObjectAnchorsAccount
320
+ },
321
+ default: {
322
+ bodyMapper: Mappers.CloudError
323
+ }
324
+ },
325
+ requestBody: Parameters.objectAnchorsAccount,
326
+ queryParameters: [Parameters.apiVersion],
327
+ urlParameters: [
328
+ Parameters.$host,
329
+ Parameters.subscriptionId,
330
+ Parameters.resourceGroupName,
331
+ Parameters.accountName
332
+ ],
333
+ headerParameters: [Parameters.accept, Parameters.contentType],
334
+ mediaType: "json",
335
+ serializer
336
+ };
337
+ const listKeysOperationSpec = {
338
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts/{accountName}/listKeys",
339
+ httpMethod: "POST",
340
+ responses: {
341
+ 200: {
342
+ bodyMapper: Mappers.AccountKeys
343
+ },
344
+ default: {
345
+ bodyMapper: Mappers.CloudError
346
+ }
347
+ },
348
+ queryParameters: [Parameters.apiVersion],
349
+ urlParameters: [
350
+ Parameters.$host,
351
+ Parameters.subscriptionId,
352
+ Parameters.resourceGroupName,
353
+ Parameters.accountName
354
+ ],
355
+ headerParameters: [Parameters.accept],
356
+ serializer
357
+ };
358
+ const regenerateKeysOperationSpec = {
359
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MixedReality/objectAnchorsAccounts/{accountName}/regenerateKeys",
360
+ httpMethod: "POST",
361
+ responses: {
362
+ 200: {
363
+ bodyMapper: Mappers.AccountKeys
364
+ },
365
+ default: {
366
+ bodyMapper: Mappers.CloudError
367
+ }
368
+ },
369
+ requestBody: Parameters.regenerate,
370
+ queryParameters: [Parameters.apiVersion],
371
+ urlParameters: [
372
+ Parameters.$host,
373
+ Parameters.subscriptionId,
374
+ Parameters.resourceGroupName,
375
+ Parameters.accountName
376
+ ],
377
+ headerParameters: [Parameters.accept, Parameters.contentType],
378
+ mediaType: "json",
379
+ serializer
380
+ };
381
+ const listBySubscriptionNextOperationSpec = {
382
+ path: "{nextLink}",
383
+ httpMethod: "GET",
384
+ responses: {
385
+ 200: {
386
+ bodyMapper: Mappers.ObjectAnchorsAccountPage
387
+ },
388
+ default: {
389
+ bodyMapper: Mappers.CloudError
390
+ }
391
+ },
392
+ queryParameters: [Parameters.apiVersion],
393
+ urlParameters: [
394
+ Parameters.$host,
395
+ Parameters.nextLink,
396
+ Parameters.subscriptionId
397
+ ],
398
+ headerParameters: [Parameters.accept],
399
+ serializer
400
+ };
401
+ const listByResourceGroupNextOperationSpec = {
402
+ path: "{nextLink}",
403
+ httpMethod: "GET",
404
+ responses: {
405
+ 200: {
406
+ bodyMapper: Mappers.ObjectAnchorsAccountPage
407
+ },
408
+ default: {
409
+ bodyMapper: Mappers.CloudError
410
+ }
411
+ },
412
+ queryParameters: [Parameters.apiVersion],
413
+ urlParameters: [
414
+ Parameters.$host,
415
+ Parameters.nextLink,
416
+ Parameters.subscriptionId,
417
+ Parameters.resourceGroupName
418
+ ],
419
+ headerParameters: [Parameters.accept],
420
+ serializer
421
+ };
422
+ //# sourceMappingURL=objectAnchorsAccounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccounts.js","sourceRoot":"","sources":["../../../src/operations/objectAnchorsAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AA0BnD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAA0B;QACpC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,kBAAkB,CACvB,OAA+D;QAE/D,MAAM,IAAI,GAAG,IAAI,CAAC,2BAA2B,CAAC,OAAO,CAAC,CAAC;QACvD,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,4BAA4B,CAAC,OAAO,CAAC,CAAC;YACpD,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,4BAA4B,CACzC,OAA+D;;YAE/D,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAA,CAAC;YACrD,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CA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AAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from "./operations";
2
2
  export * from "./spatialAnchorsAccounts";
3
3
  export * from "./remoteRenderingAccounts";
4
+ export * from "./objectAnchorsAccounts";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
@@ -8,4 +8,5 @@
8
8
  export * from "./operations";
9
9
  export * from "./spatialAnchorsAccounts";
10
10
  export * from "./remoteRenderingAccounts";
11
+ export * from "./objectAnchorsAccounts";
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC"}
@@ -0,0 +1,62 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ObjectAnchorsAccount, ObjectAnchorsAccountsListBySubscriptionOptionalParams, ObjectAnchorsAccountsListByResourceGroupOptionalParams, ObjectAnchorsAccountsDeleteOptionalParams, ObjectAnchorsAccountsGetOptionalParams, ObjectAnchorsAccountsGetResponse, ObjectAnchorsAccountsUpdateOptionalParams, ObjectAnchorsAccountsUpdateResponse, ObjectAnchorsAccountsCreateOptionalParams, ObjectAnchorsAccountsCreateResponse, ObjectAnchorsAccountsListKeysOptionalParams, ObjectAnchorsAccountsListKeysResponse, AccountKeyRegenerateRequest, ObjectAnchorsAccountsRegenerateKeysOptionalParams, ObjectAnchorsAccountsRegenerateKeysResponse } from "../models";
3
+ /** Interface representing a ObjectAnchorsAccounts. */
4
+ export interface ObjectAnchorsAccounts {
5
+ /**
6
+ * List Object Anchors Accounts by Subscription
7
+ * @param options The options parameters.
8
+ */
9
+ listBySubscription(options?: ObjectAnchorsAccountsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ObjectAnchorsAccount>;
10
+ /**
11
+ * List Resources by Resource Group
12
+ * @param resourceGroupName Name of an Azure resource group.
13
+ * @param options The options parameters.
14
+ */
15
+ listByResourceGroup(resourceGroupName: string, options?: ObjectAnchorsAccountsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<ObjectAnchorsAccount>;
16
+ /**
17
+ * Delete an Object Anchors Account.
18
+ * @param resourceGroupName Name of an Azure resource group.
19
+ * @param accountName Name of an Mixed Reality Account.
20
+ * @param options The options parameters.
21
+ */
22
+ delete(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsDeleteOptionalParams): Promise<void>;
23
+ /**
24
+ * Retrieve an Object Anchors Account.
25
+ * @param resourceGroupName Name of an Azure resource group.
26
+ * @param accountName Name of an Mixed Reality Account.
27
+ * @param options The options parameters.
28
+ */
29
+ get(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsGetOptionalParams): Promise<ObjectAnchorsAccountsGetResponse>;
30
+ /**
31
+ * Updating an Object Anchors Account
32
+ * @param resourceGroupName Name of an Azure resource group.
33
+ * @param accountName Name of an Mixed Reality Account.
34
+ * @param objectAnchorsAccount Object Anchors Account parameter.
35
+ * @param options The options parameters.
36
+ */
37
+ update(resourceGroupName: string, accountName: string, objectAnchorsAccount: ObjectAnchorsAccount, options?: ObjectAnchorsAccountsUpdateOptionalParams): Promise<ObjectAnchorsAccountsUpdateResponse>;
38
+ /**
39
+ * Creating or Updating an object anchors Account.
40
+ * @param resourceGroupName Name of an Azure resource group.
41
+ * @param accountName Name of an Mixed Reality Account.
42
+ * @param objectAnchorsAccount Object Anchors Account parameter.
43
+ * @param options The options parameters.
44
+ */
45
+ create(resourceGroupName: string, accountName: string, objectAnchorsAccount: ObjectAnchorsAccount, options?: ObjectAnchorsAccountsCreateOptionalParams): Promise<ObjectAnchorsAccountsCreateResponse>;
46
+ /**
47
+ * List Both of the 2 Keys of an object anchors Account
48
+ * @param resourceGroupName Name of an Azure resource group.
49
+ * @param accountName Name of an Mixed Reality Account.
50
+ * @param options The options parameters.
51
+ */
52
+ listKeys(resourceGroupName: string, accountName: string, options?: ObjectAnchorsAccountsListKeysOptionalParams): Promise<ObjectAnchorsAccountsListKeysResponse>;
53
+ /**
54
+ * Regenerate specified Key of an object anchors Account
55
+ * @param resourceGroupName Name of an Azure resource group.
56
+ * @param accountName Name of an Mixed Reality Account.
57
+ * @param regenerate Required information for key regeneration.
58
+ * @param options The options parameters.
59
+ */
60
+ regenerateKeys(resourceGroupName: string, accountName: string, regenerate: AccountKeyRegenerateRequest, options?: ObjectAnchorsAccountsRegenerateKeysOptionalParams): Promise<ObjectAnchorsAccountsRegenerateKeysResponse>;
61
+ }
62
+ //# sourceMappingURL=objectAnchorsAccounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccounts.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/objectAnchorsAccounts.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,oBAAoB,EACpB,qDAAqD,EACrD,sDAAsD,EACtD,yCAAyC,EACzC,sCAAsC,E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qCAAqC,CAAC,CAAC;IAClD;;;;;;OAMG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EAAE,MAAM,EACnB,UAAU,EAAE,2BAA2B,EACvC,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC,CAAC;CACzD"}
@@ -0,0 +1,9 @@
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
+ export {};
9
+ //# sourceMappingURL=objectAnchorsAccounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"objectAnchorsAccounts.js","sourceRoot":"","sources":["../../../src/operationsInterfaces/objectAnchorsAccounts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG"}
package/package.json CHANGED
@@ -3,29 +3,37 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for MixedRealityClient.",
6
- "version": "4.0.1",
7
- "engines": { "node": ">=12.0.0" },
6
+ "version": "4.1.0-alpha.20220427.1",
7
+ "engines": {
8
+ "node": ">=12.0.0"
9
+ },
8
10
  "dependencies": {
9
11
  "@azure/core-paging": "^1.2.0",
10
- "@azure/core-client": "^1.0.0",
12
+ "@azure/core-client": "^1.5.0",
11
13
  "@azure/core-auth": "^1.3.0",
12
- "@azure/core-rest-pipeline": "^1.1.0",
14
+ "@azure/core-rest-pipeline": "^1.8.0",
13
15
  "tslib": "^2.2.0"
14
16
  },
15
- "keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
17
+ "keywords": [
18
+ "node",
19
+ "azure",
20
+ "typescript",
21
+ "browser",
22
+ "isomorphic"
23
+ ],
16
24
  "license": "MIT",
17
25
  "main": "./dist/index.js",
18
26
  "module": "./dist-esm/src/index.js",
19
27
  "types": "./types/arm-mixedreality.d.ts",
20
28
  "devDependencies": {
21
- "@microsoft/api-extractor": "^7.18.11",
22
- "@rollup/plugin-commonjs": "11.0.2",
23
- "@rollup/plugin-json": "^4.0.0",
24
- "@rollup/plugin-multi-entry": "^3.0.0",
25
- "@rollup/plugin-node-resolve": "^8.0.0",
29
+ "@microsoft/api-extractor": "7.18.11",
30
+ "@rollup/plugin-commonjs": "^21.0.1",
31
+ "@rollup/plugin-json": "^4.1.0",
32
+ "@rollup/plugin-multi-entry": "^4.1.0",
33
+ "@rollup/plugin-node-resolve": "^13.1.3",
26
34
  "mkdirp": "^1.0.4",
27
- "rollup": "^1.16.3",
28
- "rollup-plugin-sourcemaps": "^0.4.2",
35
+ "rollup": "^2.66.1",
36
+ "rollup-plugin-sourcemaps": "^0.6.3",
29
37
  "typescript": "~4.2.0",
30
38
  "uglify-js": "^3.4.9",
31
39
  "rimraf": "^3.0.0",
@@ -39,7 +47,9 @@
39
47
  "type": "git",
40
48
  "url": "https://github.com/Azure/azure-sdk-for-js.git"
41
49
  },
42
- "bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
50
+ "bugs": {
51
+ "url": "https://github.com/Azure/azure-sdk-for-js/issues"
52
+ },
43
53
  "files": [
44
54
  "dist/**/*.js",
45
55
  "dist/**/*.js.map",
@@ -88,13 +98,18 @@
88
98
  "sideEffects": false,
89
99
  "//metadata": {
90
100
  "constantPaths": [
91
- { "path": "src/MixedRealityClient.ts", "prefix": "packageDetails" }
101
+ {
102
+ "path": "src/mixedRealityClient.ts",
103
+ "prefix": "packageDetails"
104
+ }
92
105
  ]
93
106
  },
94
107
  "autoPublish": true,
95
108
  "//sampleConfiguration": {
96
109
  "productName": "",
97
- "productSlugs": ["azure"],
110
+ "productSlugs": [
111
+ "azure"
112
+ ],
98
113
  "disableDocsMs": true,
99
114
  "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-mixedreality?view=azure-node-preview"
100
115
  }