@@ -43,30 +43,6 @@ export interface CheckNameAvailabilityResponse {
4343 message ?: string ;
4444}
4545
46- /**
47- * Response on Error
48- */
49- export interface ErrorResponse {
50- /**
51- * Describes the error in detail and provides debugging information
52- */
53- message : string ;
54- /**
55- * String that can be used to programmatically identify the error.
56- */
57- code : string ;
58- /**
59- * The target of the particular error
60- */
61- target ?: string ;
62- /**
63- * An array of JSON objects that MUST contain name/value pairs for code and message, and MAY
64- * contain a name/value pair for target, as described above.The contents of this section are
65- * service-defined but must adhere to the aforementioned schema.
66- */
67- details ?: string ;
68- }
69-
7046/**
7147 * The object that represents the operation.
7248 */
@@ -145,7 +121,7 @@ export interface TrackedResource extends Resource {
145121 */
146122export interface SpatialAnchorsAccount extends TrackedResource {
147123 /**
148- * unique id of certain Spatial Anchors Account data contract .
124+ * unique id of certain account .
149125 * **NOTE: This property will not be serialized. It can only be populated by the server.**
150126 */
151127 readonly accountId ?: string ;
@@ -157,9 +133,27 @@ export interface SpatialAnchorsAccount extends TrackedResource {
157133}
158134
159135/**
160- * Spatial Anchors Account Keys
136+ * The resource model definition for a ARM proxy resource. It will have everything other than
137+ * required location and tags
138+ */
139+ export interface ProxyResource extends Resource {
140+ }
141+
142+ /**
143+ * The resource model definition for a Azure Resource Manager resource with an etag.
144+ */
145+ export interface AzureEntityResource extends Resource {
146+ /**
147+ * Resource Etag.
148+ * **NOTE: This property will not be serialized. It can only be populated by the server.**
149+ */
150+ readonly etag ?: string ;
151+ }
152+
153+ /**
154+ * Developer Keys of account
161155 */
162- export interface SpatialAnchorsAccountKeys {
156+ export interface AccountKeys {
163157 /**
164158 * value of primary key.
165159 * **NOTE: This property will not be serialized. It can only be populated by the server.**
@@ -173,33 +167,15 @@ export interface SpatialAnchorsAccountKeys {
173167}
174168
175169/**
176- * Spatial Anchors Account Regenerate Key
170+ * Request for account key regeneration
177171 */
178- export interface SpatialAnchorsAccountKeyRegenerateRequest {
172+ export interface AccountKeyRegenerateRequest {
179173 /**
180174 * serial of key to be regenerated. Default value: 1.
181175 */
182176 serial ?: number ;
183177}
184178
185- /**
186- * The resource model definition for a ARM proxy resource. It will have everything other than
187- * required location and tags
188- */
189- export interface ProxyResource extends Resource {
190- }
191-
192- /**
193- * The resource model definition for a Azure Resource Manager resource with an etag.
194- */
195- export interface AzureEntityResource extends Resource {
196- /**
197- * Resource Etag.
198- * **NOTE: This property will not be serialized. It can only be populated by the server.**
199- */
200- readonly etag ?: string ;
201- }
202-
203179/**
204180 * An interface representing MixedRealityClientOptions.
205181 */
@@ -213,7 +189,7 @@ export interface MixedRealityClientOptions extends AzureServiceClientOptions {
213189 * a URL link to get the next set of results.
214190 * @extends Array<Operation>
215191 */
216- export interface OperationList extends Array < Operation > {
192+ export interface OperationPage extends Array < Operation > {
217193 /**
218194 * URL to get the next set of operation list results if there are any.
219195 */
@@ -226,7 +202,7 @@ export interface OperationList extends Array<Operation> {
226202 * to get the next set of results.
227203 * @extends Array<SpatialAnchorsAccount>
228204 */
229- export interface SpatialAnchorsAccountList extends Array < SpatialAnchorsAccount > {
205+ export interface SpatialAnchorsAccountPage extends Array < SpatialAnchorsAccount > {
230206 /**
231207 * URL to get the next set of resource list results if there are any.
232208 */
@@ -252,7 +228,7 @@ export type NameUnavailableReason = 'Invalid' | 'AlreadyExists';
252228/**
253229 * Contains response data for the list operation.
254230 */
255- export type OperationsListResponse = OperationList & {
231+ export type OperationsListResponse = OperationPage & {
256232 /**
257233 * The underlying HTTP response.
258234 */
@@ -265,14 +241,14 @@ export type OperationsListResponse = OperationList & {
265241 /**
266242 * The response body as parsed JSON or XML
267243 */
268- parsedBody : OperationList ;
244+ parsedBody : OperationPage ;
269245 } ;
270246} ;
271247
272248/**
273249 * Contains response data for the listNext operation.
274250 */
275- export type OperationsListNextResponse = OperationList & {
251+ export type OperationsListNextResponse = OperationPage & {
276252 /**
277253 * The underlying HTTP response.
278254 */
@@ -285,7 +261,7 @@ export type OperationsListNextResponse = OperationList & {
285261 /**
286262 * The response body as parsed JSON or XML
287263 */
288- parsedBody : OperationList ;
264+ parsedBody : OperationPage ;
289265 } ;
290266} ;
291267
@@ -312,7 +288,7 @@ export type CheckNameAvailabilityLocalResponse = CheckNameAvailabilityResponse &
312288/**
313289 * Contains response data for the listBySubscription operation.
314290 */
315- export type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAccountList & {
291+ export type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAccountPage & {
316292 /**
317293 * The underlying HTTP response.
318294 */
@@ -325,14 +301,14 @@ export type SpatialAnchorsAccountsListBySubscriptionResponse = SpatialAnchorsAcc
325301 /**
326302 * The response body as parsed JSON or XML
327303 */
328- parsedBody : SpatialAnchorsAccountList ;
304+ parsedBody : SpatialAnchorsAccountPage ;
329305 } ;
330306} ;
331307
332308/**
333309 * Contains response data for the listByResourceGroup operation.
334310 */
335- export type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAccountList & {
311+ export type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAccountPage & {
336312 /**
337313 * The underlying HTTP response.
338314 */
@@ -345,7 +321,7 @@ export type SpatialAnchorsAccountsListByResourceGroupResponse = SpatialAnchorsAc
345321 /**
346322 * The response body as parsed JSON or XML
347323 */
348- parsedBody : SpatialAnchorsAccountList ;
324+ parsedBody : SpatialAnchorsAccountPage ;
349325 } ;
350326} ;
351327
@@ -410,9 +386,9 @@ export type SpatialAnchorsAccountsCreateResponse = SpatialAnchorsAccount & {
410386} ;
411387
412388/**
413- * Contains response data for the getKeys operation.
389+ * Contains response data for the listKeys operation.
414390 */
415- export type SpatialAnchorsAccountsGetKeysResponse = SpatialAnchorsAccountKeys & {
391+ export type SpatialAnchorsAccountsListKeysResponse = AccountKeys & {
416392 /**
417393 * The underlying HTTP response.
418394 */
@@ -425,14 +401,14 @@ export type SpatialAnchorsAccountsGetKeysResponse = SpatialAnchorsAccountKeys &
425401 /**
426402 * The response body as parsed JSON or XML
427403 */
428- parsedBody : SpatialAnchorsAccountKeys ;
404+ parsedBody : AccountKeys ;
429405 } ;
430406} ;
431407
432408/**
433409 * Contains response data for the regenerateKeys operation.
434410 */
435- export type SpatialAnchorsAccountsRegenerateKeysResponse = SpatialAnchorsAccountKeys & {
411+ export type SpatialAnchorsAccountsRegenerateKeysResponse = AccountKeys & {
436412 /**
437413 * The underlying HTTP response.
438414 */
@@ -445,14 +421,14 @@ export type SpatialAnchorsAccountsRegenerateKeysResponse = SpatialAnchorsAccount
445421 /**
446422 * The response body as parsed JSON or XML
447423 */
448- parsedBody : SpatialAnchorsAccountKeys ;
424+ parsedBody : AccountKeys ;
449425 } ;
450426} ;
451427
452428/**
453429 * Contains response data for the listBySubscriptionNext operation.
454430 */
455- export type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchorsAccountList & {
431+ export type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchorsAccountPage & {
456432 /**
457433 * The underlying HTTP response.
458434 */
@@ -465,14 +441,14 @@ export type SpatialAnchorsAccountsListBySubscriptionNextResponse = SpatialAnchor
465441 /**
466442 * The response body as parsed JSON or XML
467443 */
468- parsedBody : SpatialAnchorsAccountList ;
444+ parsedBody : SpatialAnchorsAccountPage ;
469445 } ;
470446} ;
471447
472448/**
473449 * Contains response data for the listByResourceGroupNext operation.
474450 */
475- export type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAnchorsAccountList & {
451+ export type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAnchorsAccountPage & {
476452 /**
477453 * The underlying HTTP response.
478454 */
@@ -485,6 +461,6 @@ export type SpatialAnchorsAccountsListByResourceGroupNextResponse = SpatialAncho
485461 /**
486462 * The response body as parsed JSON or XML
487463 */
488- parsedBody : SpatialAnchorsAccountList ;
464+ parsedBody : SpatialAnchorsAccountPage ;
489465 } ;
490466} ;
0 commit comments