-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate with 2024-03-01-Preview spec
- Loading branch information
Showing
32 changed files
with
769 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT license. | ||
|
||
/** | ||
* Common error response for all Azure Resource Manager APIs to return error details for failed | ||
* operations. (This also follows the OData error response format.). | ||
*/ | ||
export interface ErrorResponse { | ||
/** The error object. */ | ||
error?: ErrorDetail; | ||
} | ||
|
||
/** The error detail. */ | ||
export interface ErrorDetail { | ||
/** | ||
* The error code. | ||
* NOTE: This property will not be serialized. It can only be populated by the server. | ||
*/ | ||
readonly code?: string; | ||
/** | ||
* The error message. | ||
* NOTE: This property will not be serialized. It can only be populated by the server. | ||
*/ | ||
readonly message?: string; | ||
/** | ||
* The error target. | ||
* NOTE: This property will not be serialized. It can only be populated by the server. | ||
*/ | ||
readonly target?: string; | ||
/** | ||
* The error details. | ||
* NOTE: This property will not be serialized. It can only be populated by the server. | ||
*/ | ||
readonly details?: ErrorDetail[]; | ||
/** | ||
* The error additional info. | ||
* NOTE: This property will not be serialized. It can only be populated by the server. | ||
*/ | ||
readonly additionalInfo?: ErrorAdditionalInfo[]; | ||
} | ||
|
||
/** The resource management error additional info. */ | ||
export interface ErrorAdditionalInfo { | ||
/** | ||
* The additional info type. | ||
* NOTE: This property will not be serialized. It can only be populated by the server. | ||
*/ | ||
readonly type?: string; | ||
/** | ||
* The additional info. | ||
* NOTE: This property will not be serialized. It can only be populated by the server. | ||
*/ | ||
readonly info?: Record<string, unknown>; | ||
} |
62 changes: 47 additions & 15 deletions
62
sdk/search/search-documents/src/generated/data/models/index.ts
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.