-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove useref and Fleet update changes (#29493)
* Remove useref and Fleet update changes * Remove useref * fix spell check * Fix validation errors * suppress casing errors * Fix formatting * Refactor * Remove Fleet Forbidden values * Add additional property suppression. * edit suppressions * Add Suppression for camel casing * Make confidential fields to have create and update visibility only. * update docs * remove format decorator and use url type * Address comments * revert settings change as it is visible. * Address comments * configReference is visible in response. * Add arm-id format to resource ids * Address comments * update provisioningState in examples * update examples * Update location in examples * Update example * Update security posture reference to the latest compute api version. * Fix merge conflicts * Update and add more examples --------- Co-authored-by: Sahil Arora <arorasahil@microsoft.com> Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com>
- Loading branch information
1 parent
50ed446
commit 83f13c5
Showing
32 changed files
with
8,516 additions
and
2,643 deletions.
There are no files selected for viewing
2,340 changes: 2,340 additions & 0 deletions
2,340
specification/azurefleet/AzureFleet.Management/baseVirtualMachineProfile.tsp
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,44 @@ | ||
import "@typespec/http"; | ||
import "@typespec/rest"; | ||
import "@typespec/versioning"; | ||
import "@azure-tools/typespec-autorest"; | ||
import "@azure-tools/typespec-azure-core"; | ||
import "@azure-tools/typespec-azure-resource-manager"; | ||
|
||
using TypeSpec.Http; | ||
using TypeSpec.Rest; | ||
using TypeSpec.Versioning; | ||
using Autorest; | ||
using Azure.ResourceManager; | ||
using OpenAPI; | ||
|
||
namespace Microsoft.AzureFleet; | ||
|
||
@doc("ApiError for Fleet") | ||
@useRef("../../../../../compute/resource-manager/Microsoft.Compute/common-types/v1/common.json#/definitions/ApiError") | ||
model ApiError {} | ||
model ApiError is ApiErrorBase { | ||
@extension("x-ms-identifiers", ["message", "target"]) | ||
@doc("The API error details") | ||
details?: Array<ApiErrorBase>; | ||
|
||
@doc("The API inner error") | ||
innererror?: InnerError; | ||
} | ||
|
||
@doc("API error base.") | ||
model ApiErrorBase { | ||
@doc("The error code.") | ||
code?: string; | ||
|
||
@doc("The target of the particular error.") | ||
target?: string; | ||
|
||
@doc("The error message.") | ||
message?: string; | ||
} | ||
|
||
@doc("Inner error details.") | ||
model InnerError { | ||
@doc("The exception type.") | ||
exceptionType?: string; | ||
|
||
@doc("The internal error message or exception dump.") | ||
errorDetail?: string; | ||
} |
328 changes: 100 additions & 228 deletions
328
...t/AzureFleet.Management/examples/2023-11-01-preview/Fleets_CreateOrUpdate_MaximumSet.json
Large diffs are not rendered by default.
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
Oops, something went wrong.