From 8f31efa8da10aaf86563edb104610d6d8353e542 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 08:28:23 +0000 Subject: [PATCH 1/5] Initial plan From de2acf943a53a08bdb587e847e07ed1e8dca6936 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 08:40:39 +0000 Subject: [PATCH 2/5] Fix required+readonly properties in initialization constructor Exclude properties that are both required and readonly from the public initialization constructor. Properties marked with @visibility(Lifecycle.Read) should not be included in the constructor even if they are required. Co-authored-by: ArcturusZhang <10554446+ArcturusZhang@users.noreply.github.com> --- .../Output/Models/Types/SchemaObjectType.cs | 2 +- test/TestProjects/MgmtTypeSpec/main.tsp | 1 + .../MgmtTypeSpec/readonlyRequired.tsp | 34 +++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp diff --git a/src/AutoRest.CSharp/Common/Output/Models/Types/SchemaObjectType.cs b/src/AutoRest.CSharp/Common/Output/Models/Types/SchemaObjectType.cs index 73900c4cd23..c06ecc0fa9e 100644 --- a/src/AutoRest.CSharp/Common/Output/Models/Types/SchemaObjectType.cs +++ b/src/AutoRest.CSharp/Common/Output/Models/Types/SchemaObjectType.cs @@ -310,7 +310,7 @@ protected override ObjectTypeConstructor BuildInitializationConstructor() // Turn constants into initializers initializationValue = BuilderHelpers.ParseConstant(property.InputModelProperty!.ConstantValue.Value, propertyType); } - else if (IsStruct || property.InputModelProperty?.IsRequired == true) + else if ((IsStruct || property.InputModelProperty?.IsRequired == true) && property.InputModelProperty?.IsReadOnly != true) { // For structs all properties become required Constant? defaultParameterValue = null; diff --git a/test/TestProjects/MgmtTypeSpec/main.tsp b/test/TestProjects/MgmtTypeSpec/main.tsp index 40d2bdc6ede..196adaf63b4 100644 --- a/test/TestProjects/MgmtTypeSpec/main.tsp +++ b/test/TestProjects/MgmtTypeSpec/main.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-resource-manager"; import "./PrivateEndpointConnection.tsp"; import "./foo.tsp"; +import "./readonlyRequired.tsp"; using TypeSpec.Versioning; using Azure.ResourceManager; diff --git a/test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp b/test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp new file mode 100644 index 00000000000..176008ce459 --- /dev/null +++ b/test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp @@ -0,0 +1,34 @@ +import "@azure-tools/typespec-client-generator-core"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using Azure.ResourceManager; +using Azure.ClientGenerator.Core; + +namespace MgmtTypeSpec; + +@resource("testReadonlyRequireds") +model TestReadonlyRequired is TrackedResource { + ...ResourceNameParameter; +} + +model TestReadonlyRequiredProperties { + /** Required property */ + a: string; + + /** Optional property */ + b?: string; + + /** Required readonly property - should NOT be in public constructor */ + @visibility(Lifecycle.Read) + c: string; + + /** Optional readonly property */ + @visibility(Lifecycle.Read) + d?: string; +} + +@armResourceOperations +interface TestReadonlyRequireds { + get is ArmResourceRead; +} From 271b2832a1758d99ed44a28160dda0f05aa60702 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 08:43:29 +0000 Subject: [PATCH 3/5] Regenerate test projects with fixed constructor logic Verify that required+readonly properties are correctly excluded from initialization constructors in generated code. Co-authored-by: ArcturusZhang <10554446+ArcturusZhang@users.noreply.github.com> --- .../Properties/launchSettings.json | 500 +++++++++--------- 1 file changed, 250 insertions(+), 250 deletions(-) diff --git a/src/AutoRest.CSharp/Properties/launchSettings.json b/src/AutoRest.CSharp/Properties/launchSettings.json index 8907baf1332..b192cb04220 100644 --- a/src/AutoRest.CSharp/Properties/launchSettings.json +++ b/src/AutoRest.CSharp/Properties/launchSettings.json @@ -2,1003 +2,1003 @@ "profiles": { "Accessibility": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Accessibility\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Accessibility/Generated" }, "Accessibility-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Accessibility-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Accessibility-LowLevel/src/Generated" }, "Accessibility-LowLevel-NoAuth": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Accessibility-LowLevel-NoAuth\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Accessibility-LowLevel-NoAuth/src/Generated" }, "Accessibility-LowLevel-TokenAuth": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Accessibility-LowLevel-TokenAuth\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Accessibility-LowLevel-TokenAuth/src/Generated" }, "additionalProperties": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\additionalProperties\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/additionalProperties/Generated" }, "AdditionalPropertiesEx": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\AdditionalPropertiesEx\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/AdditionalPropertiesEx/Generated" }, "AnomalyDetector": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\AnomalyDetector\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/samples/AnomalyDetector/src/Generated" }, "ApiVersion": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ApiVersion\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ApiVersion/Generated" }, "AppConfiguration": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\AppConfiguration\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/samples/AppConfiguration/Generated" }, "Authoring-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Authoring-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Authoring-TypeSpec/src/Generated -n" }, "azure-parameter-grouping": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\azure-parameter-grouping\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/azure-parameter-grouping/Generated" }, "azure-special-properties": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\azure-special-properties\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/azure-special-properties/Generated" }, "Azure.AI.FormRecognizer": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\Azure.AI.FormRecognizer\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/samples/Azure.AI.FormRecognizer/Generated" }, "Azure.Network.Management.Interface": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\Azure.Network.Management.Interface\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/samples/Azure.Network.Management.Interface/Generated" }, "Azure.NewProject.TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\sdk\\newprojecttypespec\\Azure.NewProject.TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/sdk/newprojecttypespec/Azure.NewProject.TypeSpec/src/Generated -n" }, "AzureSample.Analytics.Purview.Account": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\AzureSample.Analytics.Purview.Account\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/samples/AzureSample.Analytics.Purview.Account/src/Generated" }, "AzureSample.ResourceManager.Sample": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\AzureSample.ResourceManager.Sample\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/samples/AzureSample.ResourceManager.Sample/src/Generated" }, "AzureSample.ResourceManager.Storage": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\AzureSample.ResourceManager.Storage\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/samples/AzureSample.ResourceManager.Storage/src/Generated" }, "AzureSample.Storage.Tables": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\AzureSample.Storage.Tables\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/samples/AzureSample.Storage.Tables/src/Generated" }, "body-array": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-array\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-array/Generated" }, "body-array-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\body-array\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/body-array/src/Generated" }, "body-boolean": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-boolean\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-boolean/Generated" }, "body-byte": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-byte\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-byte/Generated" }, "body-complex": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-complex\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-complex/Generated" }, "body-complex-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\body-complex\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/body-complex/src/Generated" }, "body-date": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-date\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-date/Generated" }, "body-datetime": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-datetime\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-datetime/Generated" }, "body-datetime-rfc1123": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-datetime-rfc1123\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-datetime-rfc1123/Generated" }, "body-dictionary": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-dictionary\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-dictionary/Generated" }, "body-duration": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-duration\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-duration/Generated" }, "body-file": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-file\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-file/Generated" }, "body-file-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\body-file\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/body-file/src/Generated" }, "body-formdata": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-formdata\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-formdata/Generated" }, "body-formdata-urlencoded": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-formdata-urlencoded\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-formdata-urlencoded/Generated" }, "body-integer": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-integer\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-integer/Generated" }, "body-number": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-number\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-number/Generated" }, "body-string": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-string\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-string/Generated" }, "body-string-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\body-string\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/body-string/src/Generated" }, "body-time": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\body-time\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/body-time/Generated" }, "BodyAndPath-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\BodyAndPath-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/BodyAndPath-LowLevel/src/Generated" }, "CognitiveSearch": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\CognitiveSearch\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/samples/CognitiveSearch/Generated" }, "CognitiveServices.TextAnalytics": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\samples\\CognitiveServices.TextAnalytics\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/samples/CognitiveServices.TextAnalytics/Generated" }, "CollapseRequestCondition-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\CollapseRequestCondition-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/CollapseRequestCondition-LowLevel/src/Generated" }, "constants": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\constants\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/constants/Generated" }, "ConvenienceUpdate-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ConvenienceUpdate-TypeSpec\\src\\Generated --existing-project-folder $(SolutionDir)\\test\\TestProjects\\ConvenienceInitial-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ConvenienceUpdate-TypeSpec/src/Generated --existing-project-folder $(SolutionDir)/test/TestProjects/ConvenienceInitial-TypeSpec/src/Generated -n" }, "custom-baseUrl": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\custom-baseUrl\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/custom-baseUrl/Generated" }, "custom-baseUrl-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\custom-baseUrl\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/custom-baseUrl/src/Generated" }, "custom-baseUrl-more-options": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\custom-baseUrl-more-options\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/custom-baseUrl-more-options/Generated" }, "custom-baseUrl-more-options-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\custom-baseUrl-more-options\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/custom-baseUrl-more-options/src/Generated" }, "custom-baseUrl-paging": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\custom-baseUrl-paging\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/custom-baseUrl-paging/Generated" }, "custom-baseUrl-paging-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\custom-baseUrl-paging\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/custom-baseUrl-paging/src/Generated" }, "Customizations-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Customizations-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Customizations-TypeSpec/src/Generated -n" }, "Customized-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\UnbrandedProjects\\Customized-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/UnbrandedProjects/Customized-TypeSpec/src/Generated -n" }, "dpg-customization-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\dpg-customization\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/dpg-customization/src/Generated" }, "dpg-initial-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\dpg-initial\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/dpg-initial/src/Generated" }, "dpg-update1-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\dpg-update1\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/dpg-update1/src/Generated" }, "extensible-enums-swagger": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\extensible-enums-swagger\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/extensible-enums-swagger/Generated" }, "ExtensionClientName": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ExtensionClientName\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ExtensionClientName/Generated" }, "FirstTest-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\FirstTest-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/FirstTest-TypeSpec/src/Generated -n" }, "FlattenedParameters": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\FlattenedParameters\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/FlattenedParameters/Generated" }, "head": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\head\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/head/Generated" }, "head-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\head\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/head/src/Generated" }, "headAsBoolean-typespec-server/path/single": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\server\\path\\single-headAsBoolean\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/server/path/single-headAsBoolean/src/Generated -n" }, "HeadAsBooleanTrue": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\HeadAsBooleanTrue\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/HeadAsBooleanTrue/Generated" }, "HeadAsBooleanTrue-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\HeadAsBooleanTrue-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/HeadAsBooleanTrue-LowLevel/src/Generated" }, "header": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\header\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/header/Generated" }, "header-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\header\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/header/src/Generated" }, "HeaderCollectionPrefix": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\HeaderCollectionPrefix\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/HeaderCollectionPrefix/Generated" }, "HlcConstants": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\HlcConstants\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/HlcConstants/Generated" }, "httpInfrastructure": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\httpInfrastructure\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/httpInfrastructure/Generated" }, "httpInfrastructure-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\httpInfrastructure\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/httpInfrastructure/src/Generated" }, "Inheritance": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Inheritance\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Inheritance/Generated" }, "JsonAsBinary": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\JsonAsBinary\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/JsonAsBinary/Generated" }, "lro": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\lro\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/lro/Generated" }, "lro-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\lro\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/lro/src/Generated" }, "lro-parameterized-endpoints": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\lro-parameterized-endpoints\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/lro-parameterized-endpoints/Generated" }, "media_types": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\media_types\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/media_types/Generated" }, "media_types-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\media_types\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/media_types/src/Generated" }, "MediaTypes-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MediaTypes-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MediaTypes-TypeSpec/src/Generated -n" }, "MgmtAcronymMapping": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtAcronymMapping\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtAcronymMapping/src/Generated" }, "MgmtCollectionParent": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtCollectionParent\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtCollectionParent/src/Generated" }, "MgmtConstants": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtConstants\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtConstants/src/Generated" }, "MgmtCustomizations": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtCustomizations\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtCustomizations/src/Generated" }, "MgmtDiscriminator": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtDiscriminator\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtDiscriminator/src/Generated" }, "MgmtExactMatchFlattenInheritance": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtExactMatchFlattenInheritance\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtExactMatchFlattenInheritance/src/Generated" }, "MgmtExactMatchInheritance": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtExactMatchInheritance\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtExactMatchInheritance/src/Generated" }, "MgmtExpandResourceTypes": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtExpandResourceTypes\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtExpandResourceTypes/src/Generated" }, "MgmtExtensionCommonRestOperation": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtExtensionCommonRestOperation\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtExtensionCommonRestOperation/src/Generated" }, "MgmtExtensionResource": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtExtensionResource\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtExtensionResource/src/Generated" }, "MgmtHierarchicalNonResource": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtHierarchicalNonResource\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtHierarchicalNonResource/src/Generated" }, "MgmtListMethods": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtListMethods\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtListMethods/src/Generated" }, "MgmtLRO": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtLRO\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtLRO/src/Generated" }, "MgmtMockAndSample": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtMockAndSample\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtMockAndSample/src/Generated" }, "MgmtMultipleParentResource": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtMultipleParentResource\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtMultipleParentResource/src/Generated" }, "MgmtNonStringPathVariable": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtNonStringPathVariable\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtNonStringPathVariable/src/Generated" }, "MgmtNoTypeReplacement": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtNoTypeReplacement\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtNoTypeReplacement/src/Generated" }, "MgmtOmitOperationGroups": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtOmitOperationGroups\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtOmitOperationGroups/src/Generated" }, "MgmtOperations": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtOperations\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtOperations/src/Generated" }, "MgmtPagination": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtPagination\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtPagination/src/Generated" }, "MgmtParamOrdering": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtParamOrdering\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtParamOrdering/src/Generated" }, "MgmtParent": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtParent\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtParent/src/Generated" }, "MgmtPartialResource": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtPartialResource\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtPartialResource/src/Generated" }, "MgmtPropertyBag": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtPropertyBag\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtPropertyBag/src/Generated" }, "MgmtPropertyChooser": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtPropertyChooser\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtPropertyChooser/src/Generated" }, "MgmtResourceName": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtResourceName\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtResourceName/src/Generated" }, "MgmtSafeFlatten": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtSafeFlatten\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtSafeFlatten/src/Generated" }, "MgmtScopeResource": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtScopeResource\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtScopeResource/src/Generated" }, "MgmtSingletonResource": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtSingletonResource\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtSingletonResource/src/Generated" }, "MgmtSubscriptionNameParameter": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtSubscriptionNameParameter\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtSubscriptionNameParameter/src/Generated" }, "MgmtSupersetFlattenInheritance": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtSupersetFlattenInheritance\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtSupersetFlattenInheritance/src/Generated" }, "MgmtSupersetInheritance": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtSupersetInheritance\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtSupersetInheritance/src/Generated" }, "MgmtTypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtTypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtTypeSpec/src/Generated -n" }, "MgmtXmlDeserialization": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MgmtXmlDeserialization\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MgmtXmlDeserialization/src/Generated" }, "model-flattening": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\model-flattening\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/model-flattening/Generated" }, "ModelNamespace": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ModelNamespace\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ModelNamespace/Generated" }, "ModelReaderWriterValidation-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ModelReaderWriterValidation-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ModelReaderWriterValidation-TypeSpec/src/Generated -n" }, "ModelShapes": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ModelShapes\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ModelShapes/Generated" }, "ModelWithConverterUsage": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ModelWithConverterUsage\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ModelWithConverterUsage/Generated" }, "multiple-inheritance": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\multiple-inheritance\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/multiple-inheritance/Generated" }, "MultipleInputFiles": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\MultipleInputFiles\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/MultipleInputFiles/Generated" }, "NameConflicts": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\NameConflicts\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/NameConflicts/Generated" }, "NoDocs-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\NoDocs-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/NoDocs-TypeSpec/src/Generated -n" }, "NoDocsUnbranded-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\UnbrandedProjects\\NoDocsUnbranded-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/UnbrandedProjects/NoDocsUnbranded-TypeSpec/Generated" }, "non-string-enum": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\non-string-enum\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/non-string-enum/Generated" }, "NoTest-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\UnbrandedProjects\\NoTest-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/UnbrandedProjects/NoTest-TypeSpec/src/Generated -n" }, "object-type": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\object-type\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/object-type/Generated" }, "PaginationParams-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\PaginationParams-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/PaginationParams-LowLevel/src/Generated" }, "paging": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\paging\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/paging/Generated" }, "paging-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\paging\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/paging/src/Generated" }, "Parameters-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Parameters-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Parameters-LowLevel/src/Generated" }, "Parameters-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\Parameters-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/Parameters-TypeSpec/src/Generated -n" }, "ParameterSequence-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ParameterSequence-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ParameterSequence-LowLevel/src/Generated" }, "ProtocolMethodsInRestClient": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ProtocolMethodsInRestClient\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ProtocolMethodsInRestClient/Generated" }, "PublicClientCtor": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\PublicClientCtor\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/PublicClientCtor/Generated" }, "removedBetaVersion-typespec-versioning/removed": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\removed-betaversion\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/removed-betaversion/src/Generated -n" }, "removedOldVersion-typespec-versioning/removed": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\removed-oldversion\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/removed-oldversion/src/Generated -n" }, "required-optional": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\required-optional\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/required-optional/Generated" }, "ResourceClients-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ResourceClients-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ResourceClients-LowLevel/src/Generated" }, "security-aad-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\security-aad\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/security-aad/src/Generated" }, "security-key-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\security-key\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/security-key/src/Generated" }, "SecurityDefinition-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\SecurityDefinition-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/SecurityDefinition-LowLevel/src/Generated" }, "ServiceVersionOverride-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\ServiceVersionOverride-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/ServiceVersionOverride-LowLevel/src/Generated" }, "SingleTopLevelClientWithOperations-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\SingleTopLevelClientWithOperations-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/SingleTopLevelClientWithOperations-LowLevel/src/Generated" }, "SingleTopLevelClientWithoutOperations-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\SingleTopLevelClientWithoutOperations-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/SingleTopLevelClientWithoutOperations-LowLevel/src/Generated" }, "SubClients-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\SubClients-LowLevel\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/SubClients-LowLevel/src/Generated" }, "subscriptionId-apiVersion": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\subscriptionId-apiVersion\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/subscriptionId-apiVersion/Generated" }, "TypeSchemaMapping": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestProjects\\TypeSchemaMapping\\SomeFolder\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestProjects/TypeSchemaMapping/SomeFolder/Generated" }, "typespec-authentication/api-key": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\authentication\\api-key\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/authentication/api-key/src/Generated -n" }, "typespec-authentication/http/custom": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\authentication\\http\\custom\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/authentication/http/custom/src/Generated -n" }, "typespec-authentication/oauth2": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\authentication\\oauth2\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/authentication/oauth2/src/Generated -n" }, "typespec-authentication/union": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\authentication\\union\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/authentication/union/src/Generated -n" }, "typespec-azure/client-generator-core/access": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\client-generator-core\\access\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/client-generator-core/access/src/Generated -n" }, "typespec-azure/client-generator-core/flatten-property": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\client-generator-core\\flatten-property\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/client-generator-core/flatten-property/src/Generated -n" }, "typespec-azure/client-generator-core/usage": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\client-generator-core\\usage\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/client-generator-core/usage/src/Generated -n" }, "typespec-azure/core/basic": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\core\\basic\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/core/basic/src/Generated -n" }, "typespec-azure/core/lro/rpc": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\core\\lro\\rpc\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/core/lro/rpc/src/Generated -n" }, "typespec-azure/core/lro/standard": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\core\\lro\\standard\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/core/lro/standard/src/Generated -n" }, "typespec-azure/core/model": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\core\\model\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/core/model/src/Generated -n" }, "typespec-azure/core/page": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\core\\page\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/core/page/src/Generated -n" }, "typespec-azure/core/scalar": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\core\\scalar\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/core/scalar/src/Generated -n" }, "typespec-azure/core/traits": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\core\\traits\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/core/traits/src/Generated -n" }, "typespec-azure/encode/duration": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\encode\\duration\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/encode/duration/src/Generated -n" }, "typespec-azure/example/basic": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\example\\basic\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/example/basic/src/Generated -n" }, "typespec-azure/resource-manager/common-properties": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\resource-manager\\common-properties\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/resource-manager/common-properties/src/Generated -n" }, "typespec-azure/resource-manager/non-resource": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\resource-manager\\non-resource\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/resource-manager/non-resource/src/Generated -n" }, "typespec-azure/resource-manager/resources": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\resource-manager\\resources\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/resource-manager/resources/src/Generated -n" }, "typespec-azure/special-headers/client-request-id": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\azure\\special-headers\\client-request-id\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/azure/special-headers/client-request-id/src/Generated -n" }, "typespec-client/naming": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\client\\naming\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/client/naming/src/Generated -n" }, "typespec-client/structure/client-operation-group": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\client\\structure\\client-operation-group\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/client/structure/client-operation-group/src/Generated -n" }, "typespec-client/structure/default": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\client\\structure\\default\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/client/structure/default/src/Generated -n" }, "typespec-client/structure/multi-client": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\client\\structure\\multi-client\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/client/structure/multi-client/src/Generated -n" }, "typespec-client/structure/renamed-operation": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\client\\structure\\renamed-operation\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/client/structure/renamed-operation/src/Generated -n" }, "typespec-client/structure/two-operation-group": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\client\\structure\\two-operation-group\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/client/structure/two-operation-group/src/Generated -n" }, "typespec-encode/bytes": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\encode\\bytes\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/encode/bytes/src/Generated -n" }, "typespec-encode/datetime": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\encode\\datetime\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/encode/datetime/src/Generated -n" }, "typespec-encode/duration": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\encode\\duration\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/encode/duration/src/Generated -n" }, "typespec-encode/numeric": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\encode\\numeric\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/encode/numeric/src/Generated -n" }, "typespec-nonAzure-authentication/api-key": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\authentication\\api-key\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/authentication/api-key/src/Generated -n" }, "typespec-nonAzure-authentication/http/custom": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\authentication\\http\\custom\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/authentication/http/custom/src/Generated -n" }, "typespec-nonAzure-client/naming": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\client\\naming\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/client/naming/src/Generated -n" }, "typespec-nonAzure-parameters/body-optionality": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\parameters\\body-optionality\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/parameters/body-optionality/src/Generated -n" }, "typespec-nonAzure-parameters/spread": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\parameters\\spread\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/parameters/spread/src/Generated -n" }, "typespec-nonAzure-payload/content-negotiation": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\payload\\content-negotiation\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/payload/content-negotiation/src/Generated -n" }, "typespec-nonAzure-payload/multipart": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\payload\\multipart\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/payload/multipart/src/Generated -n" }, "typespec-nonAzure-serialization/encoded-name/json": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\serialization\\encoded-name\\json\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/serialization/encoded-name/json/src/Generated -n" }, "typespec-nonAzure-server/endpoint/not-defined": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\server\\endpoint\\not-defined\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/server/endpoint/not-defined/src/Generated -n" }, "typespec-nonAzure-special-words": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\special-words\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/special-words/src/Generated -n" }, "typespec-nonAzure-type/array": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\array\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/array/src/Generated -n" }, "typespec-nonAzure-type/dictionary": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\dictionary\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/dictionary/src/Generated -n" }, "typespec-nonAzure-type/enum/extensible": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\enum\\extensible\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/enum/extensible/src/Generated -n" }, "typespec-nonAzure-type/enum/fixed": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\enum\\fixed\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/enum/fixed/src/Generated -n" }, "typespec-nonAzure-type/model/empty": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\model\\empty\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/model/empty/src/Generated -n" }, "typespec-nonAzure-type/model/inheritance/enum-discriminator": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\model\\inheritance\\enum-discriminator\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/model/inheritance/enum-discriminator/src/Generated -n" }, "typespec-nonAzure-type/model/inheritance/not-discriminated": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\model\\inheritance\\not-discriminated\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/model/inheritance/not-discriminated/src/Generated -n" }, "typespec-nonAzure-type/model/inheritance/recursive": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\model\\inheritance\\recursive\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/model/inheritance/recursive/src/Generated -n" }, "typespec-nonAzure-type/model/inheritance/single-discriminator": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\model\\inheritance\\single-discriminator\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/model/inheritance/single-discriminator/src/Generated -n" }, "typespec-nonAzure-type/model/usage": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\model\\usage\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/model/usage/src/Generated -n" }, "typespec-nonAzure-type/property/additional-properties": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\property\\additional-properties\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/property/additional-properties/src/Generated -n" }, "typespec-nonAzure-type/property/nullable": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\property\\nullable\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/property/nullable/src/Generated -n" }, "typespec-nonAzure-type/property/optionality": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\property\\optionality\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/property/optionality/src/Generated -n" }, "typespec-nonAzure-type/property/value-types": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\property\\value-types\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/property/value-types/src/Generated -n" }, "typespec-nonAzure-type/scalar": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\scalar\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/scalar/src/Generated -n" }, "typespec-nonAzure-type/union": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjectsNonAzure\\type\\union\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjectsNonAzure/type/union/src/Generated -n" }, "typespec-parameters/basic": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\parameters\\basic\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/parameters/basic/src/Generated -n" }, "typespec-parameters/body-optionality": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\parameters\\body-optionality\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/parameters/body-optionality/src/Generated -n" }, "typespec-parameters/collection-format": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\parameters\\collection-format\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/parameters/collection-format/src/Generated -n" }, "typespec-parameters/spread": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\parameters\\spread\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/parameters/spread/src/Generated -n" }, "typespec-payload/content-negotiation": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\payload\\content-negotiation\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/payload/content-negotiation/src/Generated -n" }, "typespec-payload/media-type": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\payload\\media-type\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/payload/media-type/src/Generated -n" }, "typespec-payload/multipart": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\payload\\multipart\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/payload/multipart/src/Generated -n" }, "typespec-serialization/encoded-name/json": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\serialization\\encoded-name\\json\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/serialization/encoded-name/json/src/Generated -n" }, "typespec-server/endpoint/not-defined": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\server\\endpoint\\not-defined\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/server/endpoint/not-defined/src/Generated -n" }, "typespec-server/path/multiple": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\server\\path\\multiple\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/server/path/multiple/src/Generated -n" }, "typespec-server/path/single": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\server\\path\\single\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/server/path/single/src/Generated -n" }, "typespec-server/versions/not-versioned": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\server\\versions\\not-versioned\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/server/versions/not-versioned/src/Generated -n" }, "typespec-server/versions/versioned": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\server\\versions\\versioned\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/server/versions/versioned/src/Generated -n" }, "typespec-special-headers/conditional-request": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\special-headers\\conditional-request\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/special-headers/conditional-request/src/Generated -n" }, "typespec-special-headers/repeatability": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\special-headers\\repeatability\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/special-headers/repeatability/src/Generated -n" }, "typespec-special-words": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\special-words\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/special-words/src/Generated -n" }, "typespec-type/array": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\array\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/array/src/Generated -n" }, "typespec-type/dictionary": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\dictionary\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/dictionary/src/Generated -n" }, "typespec-type/enum/extensible": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\enum\\extensible\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/enum/extensible/src/Generated -n" }, "typespec-type/enum/fixed": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\enum\\fixed\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/enum/fixed/src/Generated -n" }, "typespec-type/model/empty": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\model\\empty\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/model/empty/src/Generated -n" }, "typespec-type/model/inheritance/enum-discriminator": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\model\\inheritance\\enum-discriminator\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/model/inheritance/enum-discriminator/src/Generated -n" }, "typespec-type/model/inheritance/not-discriminated": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\model\\inheritance\\not-discriminated\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/model/inheritance/not-discriminated/src/Generated -n" }, "typespec-type/model/inheritance/recursive": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\model\\inheritance\\recursive\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/model/inheritance/recursive/src/Generated -n" }, "typespec-type/model/inheritance/single-discriminator": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\model\\inheritance\\single-discriminator\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/model/inheritance/single-discriminator/src/Generated -n" }, "typespec-type/model/usage": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\model\\usage\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/model/usage/src/Generated -n" }, "typespec-type/model/visibility": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\model\\visibility\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/model/visibility/src/Generated -n" }, "typespec-type/property/additional-properties": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\property\\additional-properties\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/property/additional-properties/src/Generated -n" }, "typespec-type/property/nullable": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\property\\nullable\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/property/nullable/src/Generated -n" }, "typespec-type/property/optionality": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\property\\optionality\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/property/optionality/src/Generated -n" }, "typespec-type/property/value-types": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\property\\value-types\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/property/value-types/src/Generated -n" }, "typespec-type/scalar": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\scalar\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/scalar/src/Generated -n" }, "typespec-type/union": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\type\\union\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/type/union/src/Generated -n" }, "typespec-versioning/added": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\added\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/added/src/Generated -n" }, "typespec-versioning/madeOptional": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\madeOptional\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/madeOptional/src/Generated -n" }, "typespec-versioning/removed": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\removed\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/removed/src/Generated -n" }, "typespec-versioning/renamedFrom": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\renamedFrom\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/renamedFrom/src/Generated -n" }, "typespec-versioning/returnTypeChangedFrom": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\returnTypeChangedFrom\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/returnTypeChangedFrom/src/Generated -n" }, "typespec-versioning/typeChangedFrom": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\CadlRanchProjects\\versioning\\typeChangedFrom\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/CadlRanchProjects/versioning/typeChangedFrom/src/Generated -n" }, "Unbranded-TypeSpec": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\UnbrandedProjects\\Unbranded-TypeSpec\\src\\Generated -n" + "commandLineArgs": "--standalone $(SolutionDir)/test/UnbrandedProjects/Unbranded-TypeSpec/src/Generated -n" }, "url": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\url\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/url/Generated" }, "url-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\url\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/url/src/Generated" }, "url-multi-collectionFormat": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\url-multi-collectionFormat\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/url-multi-collectionFormat/Generated" }, "url-multi-collectionFormat-LowLevel": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjectsLowLevel\\url-multi-collectionFormat\\src\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjectsLowLevel/url-multi-collectionFormat/src/Generated" }, "validation": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\validation\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/validation/Generated" }, "xml-service": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\xml-service\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/xml-service/Generated" }, "xms-error-responses": { "commandName": "Project", - "commandLineArgs": "--standalone $(SolutionDir)\\test\\TestServerProjects\\xms-error-responses\\Generated" + "commandLineArgs": "--standalone $(SolutionDir)/test/TestServerProjects/xms-error-responses/Generated" } } } From 6131f51b7539758f0bea11ed955f969ab0742134 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 6 Nov 2025 08:48:17 +0000 Subject: [PATCH 4/5] Remove unused test TypeSpec file The fix is validated by existing test cases in FirstTest-TypeSpec project. Co-authored-by: ArcturusZhang <10554446+ArcturusZhang@users.noreply.github.com> --- test/TestProjects/MgmtTypeSpec/main.tsp | 1 - .../MgmtTypeSpec/readonlyRequired.tsp | 34 - .../typespec-csharp/Configuration.json | 14 + .../typespec-csharp/tspCodeModel.json | 5756 +++++++++++++++++ 4 files changed, 5770 insertions(+), 35 deletions(-) delete mode 100644 test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp create mode 100644 test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json create mode 100644 test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json diff --git a/test/TestProjects/MgmtTypeSpec/main.tsp b/test/TestProjects/MgmtTypeSpec/main.tsp index 196adaf63b4..40d2bdc6ede 100644 --- a/test/TestProjects/MgmtTypeSpec/main.tsp +++ b/test/TestProjects/MgmtTypeSpec/main.tsp @@ -2,7 +2,6 @@ import "@azure-tools/typespec-azure-resource-manager"; import "./PrivateEndpointConnection.tsp"; import "./foo.tsp"; -import "./readonlyRequired.tsp"; using TypeSpec.Versioning; using Azure.ResourceManager; diff --git a/test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp b/test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp deleted file mode 100644 index 176008ce459..00000000000 --- a/test/TestProjects/MgmtTypeSpec/readonlyRequired.tsp +++ /dev/null @@ -1,34 +0,0 @@ -import "@azure-tools/typespec-client-generator-core"; - -using TypeSpec.Http; -using TypeSpec.Rest; -using Azure.ResourceManager; -using Azure.ClientGenerator.Core; - -namespace MgmtTypeSpec; - -@resource("testReadonlyRequireds") -model TestReadonlyRequired is TrackedResource { - ...ResourceNameParameter; -} - -model TestReadonlyRequiredProperties { - /** Required property */ - a: string; - - /** Optional property */ - b?: string; - - /** Required readonly property - should NOT be in public constructor */ - @visibility(Lifecycle.Read) - c: string; - - /** Optional readonly property */ - @visibility(Lifecycle.Read) - d?: string; -} - -@armResourceOperations -interface TestReadonlyRequireds { - get is ArmResourceRead; -} diff --git a/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json b/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json new file mode 100644 index 00000000000..d44936c63b7 --- /dev/null +++ b/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json @@ -0,0 +1,14 @@ +{ + "output-folder": ".", + "namespace": "MgmtTypeSpec", + "library-name": "MgmtTypeSpec", + "flavor": "azure", + "use-model-reader-writer": true, + "shared-source-folders": [ + "../../../../../../../../node_modules/@autorest/csharp/Generator.Shared", + "../../../../../../../../node_modules/@autorest/csharp/Azure.Core.Shared" + ], + "examples-dir": "../../../examples", + "enable-bicep-serialization": true, + "azure-arm": true +} diff --git a/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json b/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json new file mode 100644 index 00000000000..a7ba3f0f6c6 --- /dev/null +++ b/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json @@ -0,0 +1,5756 @@ +{ + "name": "MgmtTypeSpec", + "apiVersions": [ + "2024-05-01" + ], + "enums": [ + { + "$id": "1", + "kind": "enum", + "name": "Origin", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", + "valueType": { + "$id": "2", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "3", + "kind": "enumvalue", + "name": "user", + "value": "user", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user.", + "decorators": [] + }, + { + "$id": "4", + "kind": "enumvalue", + "name": "system", + "value": "system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a system.", + "decorators": [] + }, + { + "$id": "5", + "kind": "enumvalue", + "name": "user,system", + "value": "user,system", + "valueType": { + "$ref": "2" + }, + "enumType": { + "$ref": "1" + }, + "doc": "Indicates the operation is initiated by a user or system.", + "decorators": [] + } + ], + "namespace": "MgmtTypeSpec", + "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "6", + "kind": "enum", + "name": "ActionType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", + "valueType": { + "$id": "7", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "8", + "kind": "enumvalue", + "name": "Internal", + "value": "Internal", + "valueType": { + "$ref": "7" + }, + "enumType": { + "$ref": "6" + }, + "doc": "Actions are for internal-only APIs.", + "decorators": [] + } + ], + "namespace": "MgmtTypeSpec", + "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "9", + "kind": "enum", + "name": "ManagedServiceIdentityType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", + "valueType": { + "$id": "10", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "11", + "kind": "enumvalue", + "name": "None", + "value": "None", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "No managed identity.", + "decorators": [] + }, + { + "$id": "12", + "kind": "enumvalue", + "name": "SystemAssigned", + "value": "SystemAssigned", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "System assigned managed identity.", + "decorators": [] + }, + { + "$id": "13", + "kind": "enumvalue", + "name": "UserAssigned", + "value": "UserAssigned", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "User assigned managed identity.", + "decorators": [] + }, + { + "$id": "14", + "kind": "enumvalue", + "name": "SystemAssigned,UserAssigned", + "value": "SystemAssigned,UserAssigned", + "valueType": { + "$ref": "10" + }, + "enumType": { + "$ref": "9" + }, + "doc": "System and user assigned managed identity.", + "decorators": [] + } + ], + "namespace": "MgmtTypeSpec", + "doc": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", + "decorators": [] + }, + { + "$id": "15", + "kind": "enum", + "name": "createdByType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", + "valueType": { + "$id": "16", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "17", + "kind": "enumvalue", + "name": "User", + "value": "User", + "valueType": { + "$ref": "16" + }, + "enumType": { + "$ref": "15" + }, + "doc": "The entity was created by a user.", + "decorators": [] + }, + { + "$id": "18", + "kind": "enumvalue", + "name": "Application", + "value": "Application", + "valueType": { + "$ref": "16" + }, + "enumType": { + "$ref": "15" + }, + "doc": "The entity was created by an application.", + "decorators": [] + }, + { + "$id": "19", + "kind": "enumvalue", + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "valueType": { + "$ref": "16" + }, + "enumType": { + "$ref": "15" + }, + "doc": "The entity was created by a managed identity.", + "decorators": [] + }, + { + "$id": "20", + "kind": "enumvalue", + "name": "Key", + "value": "Key", + "valueType": { + "$ref": "16" + }, + "enumType": { + "$ref": "15" + }, + "doc": "The entity was created by a key.", + "decorators": [] + } + ], + "namespace": "MgmtTypeSpec", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "21", + "kind": "enum", + "name": "ResourceProvisioningState", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", + "valueType": { + "$id": "22", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "23", + "kind": "enumvalue", + "name": "Succeeded", + "value": "Succeeded", + "valueType": { + "$ref": "22" + }, + "enumType": { + "$ref": "21" + }, + "doc": "Resource has been created.", + "decorators": [] + }, + { + "$id": "24", + "kind": "enumvalue", + "name": "Failed", + "value": "Failed", + "valueType": { + "$ref": "22" + }, + "enumType": { + "$ref": "21" + }, + "doc": "Resource creation failed.", + "decorators": [] + }, + { + "$id": "25", + "kind": "enumvalue", + "name": "Canceled", + "value": "Canceled", + "valueType": { + "$ref": "22" + }, + "enumType": { + "$ref": "21" + }, + "doc": "Resource creation was canceled.", + "decorators": [] + } + ], + "namespace": "MgmtTypeSpec", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "LroPolling", + "decorators": [] + }, + { + "$id": "26", + "kind": "enum", + "name": "ExtendedLocationType", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocationType", + "valueType": { + "$id": "27", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "28", + "kind": "enumvalue", + "name": "EdgeZone", + "value": "EdgeZone", + "valueType": { + "$ref": "27" + }, + "enumType": { + "$ref": "26" + }, + "doc": "Azure Edge Zones location type", + "decorators": [] + }, + { + "$id": "29", + "kind": "enumvalue", + "name": "CustomLocation", + "value": "CustomLocation", + "valueType": { + "$ref": "27" + }, + "enumType": { + "$ref": "26" + }, + "doc": "Azure Custom Locations type", + "decorators": [] + } + ], + "namespace": "MgmtTypeSpec", + "doc": "The supported ExtendedLocation types.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [] + }, + { + "$id": "30", + "kind": "enum", + "name": "Versions", + "crossLanguageDefinitionId": "MgmtTypeSpec.Versions", + "valueType": { + "$id": "31", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "values": [ + { + "$id": "32", + "kind": "enumvalue", + "name": "v2024_05_01", + "value": "2024-05-01", + "valueType": { + "$ref": "31" + }, + "enumType": { + "$ref": "30" + }, + "doc": "Azure Cosmos DB for Mongo vCore clusters api version 2024-03-01-preview.", + "decorators": [] + } + ], + "namespace": "MgmtTypeSpec", + "doc": "The available API versions.", + "isFixed": true, + "isFlags": false, + "usage": "ApiVersionEnum", + "decorators": [] + } + ], + "constants": [ + { + "$id": "33", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "34", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "35", + "kind": "constant", + "name": "listByMongoClusterContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "37", + "kind": "constant", + "name": "startContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "38", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "39", + "kind": "constant", + "name": "startContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "40", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "41", + "kind": "constant", + "name": "startContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "42", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "43", + "kind": "constant", + "name": "startContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "44", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "45", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "46", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "47", + "kind": "constant", + "name": "createOrUpdateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "48", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "49", + "kind": "constant", + "name": "createOrUpdateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "50", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "51", + "kind": "constant", + "name": "createOrUpdateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "52", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "53", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "54", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "55", + "kind": "constant", + "name": "listContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "56", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "57", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "58", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + } + ], + "models": [ + { + "$id": "59", + "kind": "model", + "name": "OperationListResult", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult", + "usage": "Output,Json", + "doc": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", + "decorators": [], + "properties": [ + { + "$id": "60", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "61", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "62", + "kind": "model", + "name": "Operation", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", + "usage": "Output,Json", + "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", + "summary": "REST API Operation", + "decorators": [], + "properties": [ + { + "$id": "63", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"", + "type": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "65", + "kind": "property", + "name": "isDataAction", + "serializedName": "isDataAction", + "doc": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations.", + "type": { + "$id": "66", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", + "serializationOptions": { + "json": { + "name": "isDataAction" + } + }, + "isHttpMetadata": false + }, + { + "$id": "67", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "68", + "kind": "model", + "name": "OperationDisplay", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [], + "properties": [ + { + "$id": "69", + "kind": "property", + "name": "provider", + "serializedName": "provider", + "doc": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".", + "type": { + "$id": "70", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", + "serializationOptions": { + "json": { + "name": "provider" + } + }, + "isHttpMetadata": false + }, + { + "$id": "71", + "kind": "property", + "name": "resource", + "serializedName": "resource", + "doc": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".", + "type": { + "$id": "72", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", + "serializationOptions": { + "json": { + "name": "resource" + } + }, + "isHttpMetadata": false + }, + { + "$id": "73", + "kind": "property", + "name": "operation", + "serializedName": "operation", + "doc": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".", + "type": { + "$id": "74", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", + "serializationOptions": { + "json": { + "name": "operation" + } + }, + "isHttpMetadata": false + }, + { + "$id": "75", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "76", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", + "serializationOptions": { + "json": { + "name": "description" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "json": { + "name": "display" + } + }, + "isHttpMetadata": false + }, + { + "$id": "77", + "kind": "property", + "name": "origin", + "serializedName": "origin", + "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", + "type": { + "$ref": "1" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", + "serializationOptions": { + "json": { + "name": "origin" + } + }, + "isHttpMetadata": false + }, + { + "$id": "78", + "kind": "property", + "name": "actionType", + "serializedName": "actionType", + "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", + "type": { + "$ref": "6" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", + "serializationOptions": { + "json": { + "name": "actionType" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "79", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "80", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "81", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "62" + }, + { + "$ref": "68" + }, + { + "$id": "82", + "kind": "model", + "name": "ErrorResponse", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", + "usage": "Json,Exception", + "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", + "summary": "Error response", + "decorators": [], + "properties": [ + { + "$id": "83", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "84", + "kind": "model", + "name": "ErrorDetail", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The error detail.", + "decorators": [], + "properties": [ + { + "$id": "85", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "86", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { + "json": { + "name": "code" + } + }, + "isHttpMetadata": false + }, + { + "$id": "87", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "88", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "json": { + "name": "message" + } + }, + "isHttpMetadata": false + }, + { + "$id": "89", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "90", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", + "serializationOptions": { + "json": { + "name": "target" + } + }, + "isHttpMetadata": false + }, + { + "$id": "91", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "92", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "84" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { + "json": { + "name": "details" + } + }, + "isHttpMetadata": false + }, + { + "$id": "93", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "94", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "95", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The resource management error additional info.", + "decorators": [], + "properties": [ + { + "$id": "96", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "97", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "98", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "99", + "kind": "unknown", + "name": "unknown", + "crossLanguageDefinitionId": "", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", + "serializationOptions": { + "json": { + "name": "info" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "json": { + "name": "additionalInfo" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "84" + }, + { + "$ref": "95" + }, + { + "$id": "100", + "kind": "model", + "name": "PrivateLinkResourceListResult", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a PrivateLinkResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "101", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The PrivateLinkResource items on this page", + "type": { + "$id": "102", + "kind": "array", + "name": "ArrayPrivateLinkResource", + "valueType": { + "$id": "103", + "kind": "model", + "name": "PrivateLinkResource", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource", + "usage": "Output,Json", + "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "decorators": [], + "baseModel": { + "$id": "104", + "kind": "model", + "name": "ProxyResource", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", + "usage": "Output,Json", + "doc": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "summary": "Proxy Resource", + "decorators": [], + "baseModel": { + "$id": "105", + "kind": "model", + "name": "Resource", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Common fields that are returned in the response for all Azure Resource Manager resources", + "summary": "Resource", + "decorators": [], + "properties": [ + { + "$id": "106", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", + "type": { + "$id": "107", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "108", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "109", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "111", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "112", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "113", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "114", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "115", + "kind": "model", + "name": "SystemData", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [], + "properties": [ + { + "$id": "116", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "117", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", + "serializationOptions": { + "json": { + "name": "createdBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "118", + "kind": "property", + "name": "createdByType", + "serializedName": "createdByType", + "doc": "The type of identity that created the resource.", + "type": { + "$ref": "15" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", + "serializationOptions": { + "json": { + "name": "createdByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "119", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "120", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "121", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", + "serializationOptions": { + "json": { + "name": "createdAt" + } + }, + "isHttpMetadata": false + }, + { + "$id": "122", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "123", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", + "serializationOptions": { + "json": { + "name": "lastModifiedBy" + } + }, + "isHttpMetadata": false + }, + { + "$id": "124", + "kind": "property", + "name": "lastModifiedByType", + "serializedName": "lastModifiedByType", + "doc": "The type of identity that last modified the resource.", + "type": { + "$ref": "15" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", + "serializationOptions": { + "json": { + "name": "lastModifiedByType" + } + }, + "isHttpMetadata": false + }, + { + "$id": "125", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "126", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "127", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", + "serializationOptions": { + "json": { + "name": "lastModifiedAt" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "json": { + "name": "systemData" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [] + }, + "properties": [ + { + "$id": "128", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "129", + "kind": "model", + "name": "PrivateLinkResourceProperties", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties", + "usage": "Output,Json", + "doc": "Properties of a private link resource.", + "decorators": [], + "properties": [ + { + "$id": "130", + "kind": "property", + "name": "groupId", + "serializedName": "groupId", + "doc": "The private link resource group id.", + "type": { + "$id": "131", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.groupId", + "serializationOptions": { + "json": { + "name": "groupId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "132", + "kind": "property", + "name": "requiredMembers", + "serializedName": "requiredMembers", + "doc": "The private link resource required member names.", + "type": { + "$id": "133", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "134", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredMembers", + "serializationOptions": { + "json": { + "name": "requiredMembers" + } + }, + "isHttpMetadata": false + }, + { + "$id": "135", + "kind": "property", + "name": "requiredZoneNames", + "serializedName": "requiredZoneNames", + "doc": "The private link resource private link DNS zone name.", + "type": { + "$ref": "133" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredZoneNames", + "serializationOptions": { + "json": { + "name": "requiredZoneNames" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "136", + "kind": "header", + "name": "name", + "serializedName": "name", + "doc": "The name of the private link associated with the Azure resource.", + "type": { + "$id": "137", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "138", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "139", + "kind": "model", + "name": "ManagedServiceIdentity", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", + "usage": "Output,Json", + "doc": "Managed service identity (system assigned and/or user assigned identities)", + "decorators": [], + "properties": [ + { + "$id": "140", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "type": { + "$id": "141", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "142", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.principalId", + "serializationOptions": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "143", + "kind": "property", + "name": "tenantId", + "serializedName": "tenantId", + "doc": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.", + "type": { + "$id": "144", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "145", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.tenantId", + "serializationOptions": { + "json": { + "name": "tenantId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "146", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of managed identity assigned to this resource.", + "type": { + "$ref": "9" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + }, + { + "$id": "147", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "148", + "kind": "dict", + "keyType": { + "$id": "149", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "150", + "kind": "nullable", + "type": { + "$id": "151", + "kind": "model", + "name": "UserAssignedIdentity", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", + "usage": "Output,Json", + "doc": "User assigned identity properties", + "decorators": [], + "properties": [ + { + "$id": "152", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The principal ID of the assigned identity.", + "type": { + "$id": "153", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "154", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId", + "serializationOptions": { + "json": { + "name": "principalId" + } + }, + "isHttpMetadata": false + }, + { + "$id": "155", + "kind": "property", + "name": "clientId", + "serializedName": "clientId", + "doc": "The client ID of the assigned identity.", + "type": { + "$id": "156", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "157", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId", + "serializationOptions": { + "json": { + "name": "clientId" + } + }, + "isHttpMetadata": false + } + ] + }, + "namespace": "MgmtTypeSpec" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", + "serializationOptions": { + "json": { + "name": "userAssignedIdentities" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + }, + "isHttpMetadata": false + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "158", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "159", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "160", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "103" + }, + { + "$ref": "129" + }, + { + "$ref": "139" + }, + { + "$ref": "151" + }, + { + "$ref": "104" + }, + { + "$ref": "105" + }, + { + "$ref": "115" + }, + { + "$id": "161", + "kind": "model", + "name": "StartParameterBody", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.start.Parameter.body.anonymous", + "usage": "Input", + "decorators": [], + "properties": [ + { + "$id": "162", + "kind": "property", + "name": "body", + "serializedName": "body", + "doc": "SAP Application server instance start request body.", + "type": { + "$id": "163", + "kind": "model", + "name": "StartRequest", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest", + "usage": "Input,Json", + "doc": "Start SAP instance(s) request body.", + "decorators": [], + "properties": [ + { + "$id": "164", + "kind": "property", + "name": "startVm", + "serializedName": "startVm", + "doc": "The boolean value indicates whether to start the virtual machines before starting the SAP instances.", + "type": { + "$id": "165", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest.startVm", + "serializationOptions": { + "json": { + "name": "startVm" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.start.Parameter.body.anonymous.body", + "serializationOptions": {}, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "163" + }, + { + "$id": "166", + "kind": "model", + "name": "OperationStatusResult", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The current status of an async operation.", + "decorators": [], + "properties": [ + { + "$id": "167", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Fully qualified ID for the async operation.", + "type": { + "$id": "168", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "169", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": false + }, + { + "$id": "170", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the async operation.", + "type": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "172", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Operation status.", + "type": { + "$id": "173", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "174", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "Percent of the operation that is complete.", + "type": { + "$id": "175", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.percentComplete", + "serializationOptions": { + "json": { + "name": "percentComplete" + } + }, + "isHttpMetadata": false + }, + { + "$id": "176", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "The start time of the operation.", + "type": { + "$id": "177", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "178", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.startTime", + "serializationOptions": { + "json": { + "name": "startTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "179", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "The end time of the operation.", + "type": { + "$id": "180", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "181", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.endTime", + "serializationOptions": { + "json": { + "name": "endTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "182", + "kind": "property", + "name": "operations", + "serializedName": "operations", + "doc": "The operations list.", + "type": { + "$id": "183", + "kind": "array", + "name": "ArrayOperationStatusResult", + "valueType": { + "$ref": "166" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.operations", + "serializationOptions": { + "json": { + "name": "operations" + } + }, + "isHttpMetadata": false + }, + { + "$id": "184", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "If present, details of the operation error.", + "type": { + "$ref": "84" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + }, + { + "$id": "185", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "Fully qualified ID of the resource against which the original async operation was started.", + "type": { + "$id": "186", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "187", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.resourceId", + "serializationOptions": { + "json": { + "name": "resourceId" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "188", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [], + "properties": [ + { + "$id": "189", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", + "type": { + "$ref": "21" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "json": { + "name": "status" + } + }, + "isHttpMetadata": false + }, + { + "$id": "190", + "kind": "header", + "name": "id", + "serializedName": "id", + "doc": "The unique identifier for the operationStatus resource", + "type": { + "$id": "191", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.id", + "serializationOptions": { + "json": { + "name": "id" + } + }, + "isHttpMetadata": true + }, + { + "$id": "192", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", + "type": { + "$id": "193", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "194", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", + "type": { + "$id": "195", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "196", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", + "serializationOptions": { + "json": { + "name": "startTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "197", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", + "type": { + "$id": "198", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", + "serializationOptions": { + "json": { + "name": "endTime" + } + }, + "isHttpMetadata": false + }, + { + "$id": "200", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", + "type": { + "$id": "201", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "json": { + "name": "percentComplete" + } + }, + "isHttpMetadata": false + }, + { + "$id": "202", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", + "type": { + "$ref": "84" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "json": { + "name": "error" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "203", + "kind": "model", + "name": "Foo", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.Foo", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "decorators": [], + "baseModel": { + "$id": "204", + "kind": "model", + "name": "TrackedResource", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "summary": "Tracked Resource", + "decorators": [], + "baseModel": { + "$ref": "105" + }, + "properties": [ + { + "$id": "205", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "206", + "kind": "dict", + "keyType": { + "$id": "207", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "208", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + }, + "isHttpMetadata": false + }, + { + "$id": "209", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "210", + "kind": "string", + "name": "azureLocation", + "crossLanguageDefinitionId": "Azure.Core.azureLocation", + "baseType": { + "$id": "211", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "json": { + "name": "location" + } + }, + "isHttpMetadata": false + } + ] + }, + "properties": [ + { + "$id": "212", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "213", + "kind": "model", + "name": "FooProperties", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "decorators": [ + { + "name": "Azure.ClientGenerator.Core.@useSystemTextJsonConverter", + "arguments": { + "scope": "csharp" + } + } + ], + "properties": [ + { + "$id": "214", + "kind": "property", + "name": "serviceUrl", + "serializedName": "serviceUrl", + "doc": "the service url", + "type": { + "$id": "215", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [ + { + "name": "Azure.ClientGenerator.Core.@deserializeEmptyStringAsNull", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.serviceUrl", + "serializationOptions": { + "json": { + "name": "serviceUrl" + } + }, + "isHttpMetadata": false + }, + { + "$id": "216", + "kind": "property", + "name": "something", + "serializedName": "something", + "doc": "something", + "type": { + "$id": "217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.something", + "serializationOptions": { + "json": { + "name": "something" + } + }, + "isHttpMetadata": false + }, + { + "$id": "218", + "kind": "property", + "name": "boolValue", + "serializedName": "boolValue", + "doc": "boolean value", + "type": { + "$id": "219", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.boolValue", + "serializationOptions": { + "json": { + "name": "boolValue" + } + }, + "isHttpMetadata": false + }, + { + "$id": "220", + "kind": "property", + "name": "floatValue", + "serializedName": "floatValue", + "doc": "float value", + "type": { + "$id": "221", + "kind": "float32", + "name": "float32", + "crossLanguageDefinitionId": "TypeSpec.float32", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.floatValue", + "serializationOptions": { + "json": { + "name": "floatValue" + } + }, + "isHttpMetadata": false + }, + { + "$id": "222", + "kind": "property", + "name": "doubleValue", + "serializedName": "doubleValue", + "doc": "double value", + "type": { + "$id": "223", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.doubleValue", + "serializationOptions": { + "json": { + "name": "doubleValue" + } + }, + "isHttpMetadata": false + }, + { + "$id": "224", + "kind": "property", + "name": "testResource", + "serializedName": "testResource", + "type": { + "$id": "225", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "226", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.testResource", + "serializationOptions": { + "json": { + "name": "testResource" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "227", + "kind": "header", + "name": "name", + "serializedName": "name", + "doc": "The name of the Foo", + "type": { + "$id": "228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + }, + { + "$id": "229", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", + "type": { + "$id": "230", + "kind": "model", + "name": "ExtendedLocation", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The complex type of the extended location.", + "decorators": [], + "properties": [ + { + "$id": "231", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the extended location.", + "type": { + "$id": "232", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": false + }, + { + "$id": "233", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the extended location.", + "type": { + "$ref": "26" + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.type", + "serializationOptions": { + "json": { + "name": "type" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$ref": "213" + }, + { + "$ref": "230" + }, + { + "$ref": "204" + }, + { + "$id": "234", + "kind": "model", + "name": "FooListResult", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Foo list operation.", + "decorators": [], + "properties": [ + { + "$id": "235", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Foo items on this page", + "type": { + "$id": "236", + "kind": "array", + "name": "ArrayFoo", + "valueType": { + "$ref": "203" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + }, + "isHttpMetadata": false + }, + { + "$id": "237", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "238", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "239", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" + } + }, + "isHttpMetadata": false + } + ] + }, + { + "$id": "240", + "kind": "model", + "name": "TestReadonlyRequired", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequired", + "usage": "Output,Json", + "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", + "decorators": [], + "baseModel": { + "$ref": "204" + }, + "properties": [ + { + "$id": "241", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "242", + "kind": "model", + "name": "TestReadonlyRequiredProperties", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "243", + "kind": "property", + "name": "a", + "serializedName": "a", + "doc": "Required property", + "type": { + "$id": "244", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.a", + "serializationOptions": { + "json": { + "name": "a" + } + }, + "isHttpMetadata": false + }, + { + "$id": "245", + "kind": "property", + "name": "b", + "serializedName": "b", + "doc": "Optional property", + "type": { + "$id": "246", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.b", + "serializationOptions": { + "json": { + "name": "b" + } + }, + "isHttpMetadata": false + }, + { + "$id": "247", + "kind": "property", + "name": "c", + "serializedName": "c", + "doc": "Required readonly property - should NOT be in public constructor", + "type": { + "$id": "248", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.c", + "serializationOptions": { + "json": { + "name": "c" + } + }, + "isHttpMetadata": false + }, + { + "$id": "249", + "kind": "property", + "name": "d", + "serializedName": "d", + "doc": "Optional readonly property", + "type": { + "$id": "250", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.d", + "serializationOptions": { + "json": { + "name": "d" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequired.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "251", + "kind": "header", + "name": "name", + "serializedName": "name", + "doc": "The name of the TestReadonlyRequired", + "type": { + "$id": "252", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequired.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "242" + } + ], + "clients": [ + { + "$id": "253", + "kind": "client", + "name": "MgmtTypeSpecClient", + "namespace": "MgmtTypeSpec", + "methods": [], + "parameters": [ + { + "$id": "254", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "255", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "256", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [ + { + "name": "TypeSpec.@service", + "arguments": { + "options": { + "title": "MgmtTestClient" + } + } + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec", + "apiVersions": [ + "2024-05-01" + ], + "children": [ + { + "$id": "257", + "kind": "client", + "name": "Operations", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "258", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "List the operations for the provider", + "operation": { + "$id": "259", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "public", + "parameters": [ + { + "$id": "260", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "261", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "262", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "263", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "33" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "59" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/providers/MgmtTypeSpec/operations", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "decorators": [] + }, + "parameters": [ + { + "$id": "264", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "33" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "61" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + } + } + ], + "parameters": [ + { + "$id": "265", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "266", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "267", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.Operations", + "apiVersions": [ + "2024-05-01" + ], + "parent": { + "$ref": "253" + } + }, + { + "$id": "268", + "kind": "client", + "name": "PrivateLinks", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "269", + "kind": "paging", + "name": "GetAllPrivateLinkResources", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "list private links on the given resource", + "operation": { + "$id": "270", + "name": "GetAllPrivateLinkResources", + "resourceName": "PrivateLinkResource", + "doc": "list private links on the given resource", + "accessibility": "public", + "parameters": [ + { + "$id": "271", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "272", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "273", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "274", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "275", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "276", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "277", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "278", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "279", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "35" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "100" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/privateLinkResources", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster", + "decorators": [] + }, + "parameters": [ + { + "$id": "280", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "282", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "35" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "102" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + } + }, + { + "$id": "283", + "kind": "lro", + "name": "start", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Starts the SAP Application Server Instance.", + "operation": { + "$id": "284", + "name": "start", + "resourceName": "PrivateLinks", + "doc": "Starts the SAP Application Server Instance.", + "accessibility": "public", + "parameters": [ + { + "$id": "285", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "286", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "287", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "288", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "289", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "290", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "291", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "293", + "name": "privateLinkResourceName", + "nameInRequest": "privateLinkResourceName", + "doc": "The name of the private link associated with the Azure resource.", + "type": { + "$id": "294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "295", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "37" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "296", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "39" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "297", + "name": "body", + "nameInRequest": "body", + "doc": "SAP Application server instance start request body.", + "type": { + "$ref": "163" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "298", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "299", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "166" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "POST", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/privateLinkResources/{privateLinkResourceName}/start", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start", + "decorators": [] + }, + "parameters": [ + { + "$id": "300", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "301", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "302", + "name": "privateLinkResourceName", + "nameInRequest": "privateLinkResourceName", + "doc": "The name of the private link associated with the Azure resource.", + "type": { + "$id": "303", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "304", + "name": "body", + "nameInRequest": "body", + "doc": "The content of the action request", + "type": { + "$ref": "161" + }, + "location": "", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "305", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "41" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "306", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "43" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "166" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "166" + } + } + } + } + ], + "parameters": [ + { + "$id": "307", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "308", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "309", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks", + "apiVersions": [ + "2024-05-01" + ], + "parent": { + "$ref": "253" + } + }, + { + "$id": "310", + "kind": "client", + "name": "Foos", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "311", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Create a Foo", + "operation": { + "$id": "312", + "name": "createOrUpdate", + "resourceName": "Foo", + "doc": "Create a Foo", + "accessibility": "public", + "parameters": [ + { + "$id": "313", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "314", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "315", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "316", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "317", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "318", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "319", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "320", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "321", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "322", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "323", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "45" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "324", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "47" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "325", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "203" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "203" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "203" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "326", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "327", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate", + "decorators": [], + "examples": [ + { + "$id": "328", + "kind": "http", + "name": "Create a foo", + "description": "Create a foo", + "filePath": "2024-05-01/Foos_CreateOrUpdate.json", + "parameters": [ + { + "parameter": { + "$ref": "316" + }, + "value": { + "$id": "329", + "kind": "string", + "type": { + "$ref": "317" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "319" + }, + "value": { + "$id": "330", + "kind": "string", + "type": { + "$ref": "320" + }, + "value": "myRg" + } + }, + { + "parameter": { + "$ref": "321" + }, + "value": { + "$id": "331", + "kind": "string", + "type": { + "$ref": "322" + }, + "value": "myFoo" + } + }, + { + "parameter": { + "$ref": "325" + }, + "value": { + "$id": "332", + "kind": "model", + "type": { + "$ref": "203" + }, + "value": { + "properties": { + "$id": "333", + "kind": "model", + "type": { + "$ref": "213" + }, + "value": { + "serviceUrl": { + "$id": "334", + "kind": "string", + "type": { + "$ref": "215" + }, + "value": "https://myService.com" + }, + "something": { + "$id": "335", + "kind": "string", + "type": { + "$ref": "217" + }, + "value": "for test only" + }, + "boolValue": { + "$id": "336", + "kind": "boolean", + "type": { + "$ref": "219" + }, + "value": true + }, + "floatValue": { + "$id": "337", + "kind": "number", + "type": { + "$ref": "221" + }, + "value": 1.2 + }, + "doubleValue": { + "$id": "338", + "kind": "number", + "type": { + "$ref": "223" + }, + "value": 1.2 + } + } + } + } + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "203" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "339", + "kind": "model", + "type": { + "$ref": "203" + }, + "value": { + "id": { + "$id": "340", + "kind": "string", + "type": { + "$ref": "107" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/MgmtTypeSpec/foos/myFoo" + }, + "name": { + "$id": "341", + "kind": "string", + "type": { + "$ref": "228" + }, + "value": "myFoo" + }, + "type": { + "$id": "342", + "kind": "string", + "type": { + "$ref": "112" + }, + "value": "MgmtTypeSpec/foos" + }, + "properties": { + "$id": "343", + "kind": "model", + "type": { + "$ref": "213" + }, + "value": { + "serviceUrl": { + "$id": "344", + "kind": "string", + "type": { + "$ref": "215" + }, + "value": "https://myService.com" + }, + "something": { + "$id": "345", + "kind": "string", + "type": { + "$ref": "217" + }, + "value": "for test only" + }, + "boolValue": { + "$id": "346", + "kind": "boolean", + "type": { + "$ref": "219" + }, + "value": true + }, + "floatValue": { + "$id": "347", + "kind": "number", + "type": { + "$ref": "221" + }, + "value": 1.2 + }, + "doubleValue": { + "$id": "348", + "kind": "number", + "type": { + "$ref": "223" + }, + "value": 1.2 + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "349", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "350", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "351", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "352", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "353", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "203" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "354", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "49" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "355", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "51" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "203" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "203" + } + } + } + }, + { + "$id": "356", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Get a Foo", + "operation": { + "$id": "357", + "name": "get", + "resourceName": "Foo", + "doc": "Get a Foo", + "accessibility": "public", + "parameters": [ + { + "$id": "358", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "359", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "360", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "361", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "362", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "363", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "364", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "365", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "366", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "367", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "368", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "53" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "203" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get", + "decorators": [], + "examples": [ + { + "$id": "369", + "kind": "http", + "name": "Get a foo", + "description": "Get a foo", + "filePath": "2024-05-01/Foos_Get.json", + "parameters": [ + { + "parameter": { + "$ref": "361" + }, + "value": { + "$id": "370", + "kind": "string", + "type": { + "$ref": "362" + }, + "value": "00000000-0000-0000-0000-000000000000" + } + }, + { + "parameter": { + "$ref": "364" + }, + "value": { + "$id": "371", + "kind": "string", + "type": { + "$ref": "365" + }, + "value": "myRg" + } + }, + { + "parameter": { + "$ref": "366" + }, + "value": { + "$id": "372", + "kind": "string", + "type": { + "$ref": "367" + }, + "value": "myFoo" + } + } + ], + "responses": [ + { + "response": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "203" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + "statusCode": 200, + "bodyValue": { + "$id": "373", + "kind": "model", + "type": { + "$ref": "203" + }, + "value": { + "id": { + "$id": "374", + "kind": "string", + "type": { + "$ref": "107" + }, + "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/MgmtTypeSpec/foos/myFoo" + }, + "name": { + "$id": "375", + "kind": "string", + "type": { + "$ref": "228" + }, + "value": "myFoo" + }, + "type": { + "$id": "376", + "kind": "string", + "type": { + "$ref": "112" + }, + "value": "MgmtTypeSpec/foos" + }, + "properties": { + "$id": "377", + "kind": "model", + "type": { + "$ref": "213" + }, + "value": { + "serviceUrl": { + "$id": "378", + "kind": "string", + "type": { + "$ref": "215" + }, + "value": "https://myService.com" + }, + "something": { + "$id": "379", + "kind": "string", + "type": { + "$ref": "217" + }, + "value": "for test only" + } + } + } + } + } + } + ] + } + ] + }, + "parameters": [ + { + "$id": "380", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "381", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "382", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "383", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "384", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "53" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "203" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get" + }, + { + "$id": "385", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Delete a Foo", + "operation": { + "$id": "386", + "name": "delete", + "resourceName": "Foo", + "doc": "Delete a Foo", + "accessibility": "public", + "parameters": [ + { + "$id": "387", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "388", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "389", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "390", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "391", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "392", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "393", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "394", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "395", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "396", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 202 + ], + "headers": [ + { + "name": "location", + "nameInResponse": "Location", + "doc": "The Location header contains the URL where the status of the long running operation can be checked.", + "type": { + "$id": "397", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + } + }, + { + "name": "retryAfter", + "nameInResponse": "Retry-After", + "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", + "type": { + "$id": "398", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete", + "decorators": [] + }, + "parameters": [ + { + "$id": "399", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "400", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "401", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "402", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "403", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "List Foo resources by resource group", + "operation": { + "$id": "404", + "name": "list", + "resourceName": "Foo", + "doc": "List Foo resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "405", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "406", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "407", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "408", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "409", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "410", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "411", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "412", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "413", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "55" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "234" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list", + "decorators": [] + }, + "parameters": [ + { + "$id": "414", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "415", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "416", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "55" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "236" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + } + } + ], + "parameters": [ + { + "$id": "417", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "418", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "419", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos", + "apiVersions": [ + "2024-05-01" + ], + "parent": { + "$ref": "253" + } + }, + { + "$id": "420", + "kind": "client", + "name": "TestReadonlyRequireds", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "421", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Get a TestReadonlyRequired", + "operation": { + "$id": "422", + "name": "get", + "resourceName": "TestReadonlyRequired", + "doc": "Get a TestReadonlyRequired", + "accessibility": "public", + "parameters": [ + { + "$id": "423", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "424", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Query", + "isApiVersion": true, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "425", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "426", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "427", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "428", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Client", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "429", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "430", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "431", + "name": "testReadonlyRequiredName", + "nameInRequest": "testReadonlyRequiredName", + "doc": "The name of the TestReadonlyRequired", + "type": { + "$id": "432", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "433", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "57" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "240" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/testReadonlyRequireds/{testReadonlyRequiredName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequireds.get", + "decorators": [] + }, + "parameters": [ + { + "$id": "434", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "435", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "436", + "name": "testReadonlyRequiredName", + "nameInRequest": "testReadonlyRequiredName", + "doc": "The name of the TestReadonlyRequired", + "type": { + "$id": "437", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "438", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "57" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "240" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequireds.get" + } + ], + "parameters": [ + { + "$id": "439", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "440", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "location": "Uri", + "isApiVersion": false, + "isContentType": false, + "isRequired": true, + "isEndpoint": true, + "skipUrlEncoding": false, + "explode": false, + "kind": "Client", + "defaultValue": { + "type": { + "$id": "441", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequireds", + "apiVersions": [ + "2024-05-01" + ], + "parent": { + "$ref": "253" + } + } + ] + } + ], + "auth": { + "oAuth2": { + "flows": [ + { + "scopes": [ + "user_impersonation" + ], + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize" + } + ] + } + } +} From 66575abfdc2b7ce9ef690d702b2708442962ed9a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 11 Nov 2025 03:21:06 +0000 Subject: [PATCH 5/5] Remove incorrectly generated tsp-output files Remove test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json and tspCodeModel.json as they were incorrectly added to the repository. Co-authored-by: ArcturusZhang <10554446+ArcturusZhang@users.noreply.github.com> --- .../typespec-csharp/Configuration.json | 14 - .../typespec-csharp/tspCodeModel.json | 5756 ----------------- 2 files changed, 5770 deletions(-) delete mode 100644 test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json delete mode 100644 test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json diff --git a/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json b/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json deleted file mode 100644 index d44936c63b7..00000000000 --- a/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/Configuration.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "output-folder": ".", - "namespace": "MgmtTypeSpec", - "library-name": "MgmtTypeSpec", - "flavor": "azure", - "use-model-reader-writer": true, - "shared-source-folders": [ - "../../../../../../../../node_modules/@autorest/csharp/Generator.Shared", - "../../../../../../../../node_modules/@autorest/csharp/Azure.Core.Shared" - ], - "examples-dir": "../../../examples", - "enable-bicep-serialization": true, - "azure-arm": true -} diff --git a/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json b/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json deleted file mode 100644 index a7ba3f0f6c6..00000000000 --- a/test/TestProjects/MgmtTypeSpec/tsp-output/@azure-tools/typespec-csharp/tspCodeModel.json +++ /dev/null @@ -1,5756 +0,0 @@ -{ - "name": "MgmtTypeSpec", - "apiVersions": [ - "2024-05-01" - ], - "enums": [ - { - "$id": "1", - "kind": "enum", - "name": "Origin", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", - "valueType": { - "$id": "2", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "3", - "kind": "enumvalue", - "name": "user", - "value": "user", - "valueType": { - "$ref": "2" - }, - "enumType": { - "$ref": "1" - }, - "doc": "Indicates the operation is initiated by a user.", - "decorators": [] - }, - { - "$id": "4", - "kind": "enumvalue", - "name": "system", - "value": "system", - "valueType": { - "$ref": "2" - }, - "enumType": { - "$ref": "1" - }, - "doc": "Indicates the operation is initiated by a system.", - "decorators": [] - }, - { - "$id": "5", - "kind": "enumvalue", - "name": "user,system", - "value": "user,system", - "valueType": { - "$ref": "2" - }, - "enumType": { - "$ref": "1" - }, - "doc": "Indicates the operation is initiated by a user or system.", - "decorators": [] - } - ], - "namespace": "MgmtTypeSpec", - "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json", - "decorators": [] - }, - { - "$id": "6", - "kind": "enum", - "name": "ActionType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", - "valueType": { - "$id": "7", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "8", - "kind": "enumvalue", - "name": "Internal", - "value": "Internal", - "valueType": { - "$ref": "7" - }, - "enumType": { - "$ref": "6" - }, - "doc": "Actions are for internal-only APIs.", - "decorators": [] - } - ], - "namespace": "MgmtTypeSpec", - "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json", - "decorators": [] - }, - { - "$id": "9", - "kind": "enum", - "name": "ManagedServiceIdentityType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", - "valueType": { - "$id": "10", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "11", - "kind": "enumvalue", - "name": "None", - "value": "None", - "valueType": { - "$ref": "10" - }, - "enumType": { - "$ref": "9" - }, - "doc": "No managed identity.", - "decorators": [] - }, - { - "$id": "12", - "kind": "enumvalue", - "name": "SystemAssigned", - "value": "SystemAssigned", - "valueType": { - "$ref": "10" - }, - "enumType": { - "$ref": "9" - }, - "doc": "System assigned managed identity.", - "decorators": [] - }, - { - "$id": "13", - "kind": "enumvalue", - "name": "UserAssigned", - "value": "UserAssigned", - "valueType": { - "$ref": "10" - }, - "enumType": { - "$ref": "9" - }, - "doc": "User assigned managed identity.", - "decorators": [] - }, - { - "$id": "14", - "kind": "enumvalue", - "name": "SystemAssigned,UserAssigned", - "value": "SystemAssigned,UserAssigned", - "valueType": { - "$ref": "10" - }, - "enumType": { - "$ref": "9" - }, - "doc": "System and user assigned managed identity.", - "decorators": [] - } - ], - "namespace": "MgmtTypeSpec", - "doc": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json", - "decorators": [] - }, - { - "$id": "15", - "kind": "enum", - "name": "createdByType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", - "valueType": { - "$id": "16", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "17", - "kind": "enumvalue", - "name": "User", - "value": "User", - "valueType": { - "$ref": "16" - }, - "enumType": { - "$ref": "15" - }, - "doc": "The entity was created by a user.", - "decorators": [] - }, - { - "$id": "18", - "kind": "enumvalue", - "name": "Application", - "value": "Application", - "valueType": { - "$ref": "16" - }, - "enumType": { - "$ref": "15" - }, - "doc": "The entity was created by an application.", - "decorators": [] - }, - { - "$id": "19", - "kind": "enumvalue", - "name": "ManagedIdentity", - "value": "ManagedIdentity", - "valueType": { - "$ref": "16" - }, - "enumType": { - "$ref": "15" - }, - "doc": "The entity was created by a managed identity.", - "decorators": [] - }, - { - "$id": "20", - "kind": "enumvalue", - "name": "Key", - "value": "Key", - "valueType": { - "$ref": "16" - }, - "enumType": { - "$ref": "15" - }, - "doc": "The entity was created by a key.", - "decorators": [] - } - ], - "namespace": "MgmtTypeSpec", - "doc": "The kind of entity that created the resource.", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json,LroInitial,LroFinalEnvelope", - "decorators": [] - }, - { - "$id": "21", - "kind": "enum", - "name": "ResourceProvisioningState", - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", - "valueType": { - "$id": "22", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "23", - "kind": "enumvalue", - "name": "Succeeded", - "value": "Succeeded", - "valueType": { - "$ref": "22" - }, - "enumType": { - "$ref": "21" - }, - "doc": "Resource has been created.", - "decorators": [] - }, - { - "$id": "24", - "kind": "enumvalue", - "name": "Failed", - "value": "Failed", - "valueType": { - "$ref": "22" - }, - "enumType": { - "$ref": "21" - }, - "doc": "Resource creation failed.", - "decorators": [] - }, - { - "$id": "25", - "kind": "enumvalue", - "name": "Canceled", - "value": "Canceled", - "valueType": { - "$ref": "22" - }, - "enumType": { - "$ref": "21" - }, - "doc": "Resource creation was canceled.", - "decorators": [] - } - ], - "namespace": "MgmtTypeSpec", - "doc": "The provisioning state of a resource type.", - "isFixed": false, - "isFlags": false, - "usage": "LroPolling", - "decorators": [] - }, - { - "$id": "26", - "kind": "enum", - "name": "ExtendedLocationType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocationType", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "28", - "kind": "enumvalue", - "name": "EdgeZone", - "value": "EdgeZone", - "valueType": { - "$ref": "27" - }, - "enumType": { - "$ref": "26" - }, - "doc": "Azure Edge Zones location type", - "decorators": [] - }, - { - "$id": "29", - "kind": "enumvalue", - "name": "CustomLocation", - "value": "CustomLocation", - "valueType": { - "$ref": "27" - }, - "enumType": { - "$ref": "26" - }, - "doc": "Azure Custom Locations type", - "decorators": [] - } - ], - "namespace": "MgmtTypeSpec", - "doc": "The supported ExtendedLocation types.", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "decorators": [] - }, - { - "$id": "30", - "kind": "enum", - "name": "Versions", - "crossLanguageDefinitionId": "MgmtTypeSpec.Versions", - "valueType": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "32", - "kind": "enumvalue", - "name": "v2024_05_01", - "value": "2024-05-01", - "valueType": { - "$ref": "31" - }, - "enumType": { - "$ref": "30" - }, - "doc": "Azure Cosmos DB for Mongo vCore clusters api version 2024-03-01-preview.", - "decorators": [] - } - ], - "namespace": "MgmtTypeSpec", - "doc": "The available API versions.", - "isFixed": true, - "isFlags": false, - "usage": "ApiVersionEnum", - "decorators": [] - } - ], - "constants": [ - { - "$id": "33", - "kind": "constant", - "name": "listContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "34", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "35", - "kind": "constant", - "name": "listByMongoClusterContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "36", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "37", - "kind": "constant", - "name": "startContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "38", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "39", - "kind": "constant", - "name": "startContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "40", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "41", - "kind": "constant", - "name": "startContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "42", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "43", - "kind": "constant", - "name": "startContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "44", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "45", - "kind": "constant", - "name": "createOrUpdateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "46", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "47", - "kind": "constant", - "name": "createOrUpdateContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "48", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "49", - "kind": "constant", - "name": "createOrUpdateContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "50", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "51", - "kind": "constant", - "name": "createOrUpdateContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "52", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "53", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "54", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "55", - "kind": "constant", - "name": "listContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "56", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "57", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "58", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - } - ], - "models": [ - { - "$id": "59", - "kind": "model", - "name": "OperationListResult", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult", - "usage": "Output,Json", - "doc": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.", - "decorators": [], - "properties": [ - { - "$id": "60", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "The Operation items on this page", - "type": { - "$id": "61", - "kind": "array", - "name": "ArrayOperation", - "valueType": { - "$id": "62", - "kind": "model", - "name": "Operation", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation", - "usage": "Output,Json", - "doc": "Details of a REST API operation, returned from the Resource Provider Operations API", - "summary": "REST API Operation", - "decorators": [], - "properties": [ - { - "$id": "63", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"", - "type": { - "$id": "64", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": false - }, - { - "$id": "65", - "kind": "property", - "name": "isDataAction", - "serializedName": "isDataAction", - "doc": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for Azure Resource Manager/control-plane operations.", - "type": { - "$id": "66", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", - "serializationOptions": { - "json": { - "name": "isDataAction" - } - }, - "isHttpMetadata": false - }, - { - "$id": "67", - "kind": "property", - "name": "display", - "serializedName": "display", - "doc": "Localized display information for this particular operation.", - "type": { - "$id": "68", - "kind": "model", - "name": "OperationDisplay", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", - "usage": "Output,Json", - "doc": "Localized display information for and operation.", - "decorators": [], - "properties": [ - { - "$id": "69", - "kind": "property", - "name": "provider", - "serializedName": "provider", - "doc": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".", - "type": { - "$id": "70", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", - "serializationOptions": { - "json": { - "name": "provider" - } - }, - "isHttpMetadata": false - }, - { - "$id": "71", - "kind": "property", - "name": "resource", - "serializedName": "resource", - "doc": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".", - "type": { - "$id": "72", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", - "serializationOptions": { - "json": { - "name": "resource" - } - }, - "isHttpMetadata": false - }, - { - "$id": "73", - "kind": "property", - "name": "operation", - "serializedName": "operation", - "doc": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".", - "type": { - "$id": "74", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", - "serializationOptions": { - "json": { - "name": "operation" - } - }, - "isHttpMetadata": false - }, - { - "$id": "75", - "kind": "property", - "name": "description", - "serializedName": "description", - "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", - "type": { - "$id": "76", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", - "serializationOptions": { - "json": { - "name": "description" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", - "serializationOptions": { - "json": { - "name": "display" - } - }, - "isHttpMetadata": false - }, - { - "$id": "77", - "kind": "property", - "name": "origin", - "serializedName": "origin", - "doc": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"", - "type": { - "$ref": "1" - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", - "serializationOptions": { - "json": { - "name": "origin" - } - }, - "isHttpMetadata": false - }, - { - "$id": "78", - "kind": "property", - "name": "actionType", - "serializedName": "actionType", - "doc": "Extensible enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.", - "type": { - "$ref": "6" - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", - "serializationOptions": { - "json": { - "name": "actionType" - } - }, - "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", - "serializationOptions": { - "json": { - "name": "value" - } - }, - "isHttpMetadata": false - }, - { - "$id": "79", - "kind": "property", - "name": "nextLink", - "serializedName": "nextLink", - "doc": "The link to the next page of items", - "type": { - "$id": "80", - "kind": "url", - "name": "ResourceLocation", - "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", - "baseType": { - "$id": "81", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", - "serializationOptions": { - "json": { - "name": "nextLink" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "62" - }, - { - "$ref": "68" - }, - { - "$id": "82", - "kind": "model", - "name": "ErrorResponse", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse", - "usage": "Json,Exception", - "doc": "Common error response for all Azure Resource Manager APIs to return error details for failed operations.", - "summary": "Error response", - "decorators": [], - "properties": [ - { - "$id": "83", - "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "The error object.", - "type": { - "$id": "84", - "kind": "model", - "name": "ErrorDetail", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", - "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", - "doc": "The error detail.", - "decorators": [], - "properties": [ - { - "$id": "85", - "kind": "property", - "name": "code", - "serializedName": "code", - "doc": "The error code.", - "type": { - "$id": "86", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", - "serializationOptions": { - "json": { - "name": "code" - } - }, - "isHttpMetadata": false - }, - { - "$id": "87", - "kind": "property", - "name": "message", - "serializedName": "message", - "doc": "The error message.", - "type": { - "$id": "88", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", - "serializationOptions": { - "json": { - "name": "message" - } - }, - "isHttpMetadata": false - }, - { - "$id": "89", - "kind": "property", - "name": "target", - "serializedName": "target", - "doc": "The error target.", - "type": { - "$id": "90", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", - "serializationOptions": { - "json": { - "name": "target" - } - }, - "isHttpMetadata": false - }, - { - "$id": "91", - "kind": "property", - "name": "details", - "serializedName": "details", - "doc": "The error details.", - "type": { - "$id": "92", - "kind": "array", - "name": "ArrayErrorDetail", - "valueType": { - "$ref": "84" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", - "serializationOptions": { - "json": { - "name": "details" - } - }, - "isHttpMetadata": false - }, - { - "$id": "93", - "kind": "property", - "name": "additionalInfo", - "serializedName": "additionalInfo", - "doc": "The error additional info.", - "type": { - "$id": "94", - "kind": "array", - "name": "ArrayErrorAdditionalInfo", - "valueType": { - "$id": "95", - "kind": "model", - "name": "ErrorAdditionalInfo", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", - "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", - "doc": "The resource management error additional info.", - "decorators": [], - "properties": [ - { - "$id": "96", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The additional info type.", - "type": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "98", - "kind": "property", - "name": "info", - "serializedName": "info", - "doc": "The additional info.", - "type": { - "$id": "99", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", - "serializationOptions": { - "json": { - "name": "info" - } - }, - "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", - "serializationOptions": { - "json": { - "name": "additionalInfo" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", - "serializationOptions": { - "json": { - "name": "error" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "84" - }, - { - "$ref": "95" - }, - { - "$id": "100", - "kind": "model", - "name": "PrivateLinkResourceListResult", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", - "usage": "Output,Json", - "doc": "The response of a PrivateLinkResource list operation.", - "decorators": [], - "properties": [ - { - "$id": "101", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "The PrivateLinkResource items on this page", - "type": { - "$id": "102", - "kind": "array", - "name": "ArrayPrivateLinkResource", - "valueType": { - "$id": "103", - "kind": "model", - "name": "PrivateLinkResource", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource", - "usage": "Output,Json", - "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", - "decorators": [], - "baseModel": { - "$id": "104", - "kind": "model", - "name": "ProxyResource", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", - "usage": "Output,Json", - "doc": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", - "summary": "Proxy Resource", - "decorators": [], - "baseModel": { - "$id": "105", - "kind": "model", - "name": "Resource", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource", - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "doc": "Common fields that are returned in the response for all Azure Resource Manager resources", - "summary": "Resource", - "decorators": [], - "properties": [ - { - "$id": "106", - "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}", - "type": { - "$id": "107", - "kind": "string", - "name": "armResourceIdentifier", - "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", - "baseType": { - "$id": "108", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", - "serializationOptions": { - "json": { - "name": "id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "109", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the resource", - "type": { - "$id": "110", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": false - }, - { - "$id": "111", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", - "type": { - "$id": "112", - "kind": "string", - "name": "armResourceType", - "crossLanguageDefinitionId": "Azure.Core.armResourceType", - "baseType": { - "$id": "113", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "114", - "kind": "property", - "name": "systemData", - "serializedName": "systemData", - "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "type": { - "$id": "115", - "kind": "model", - "name": "SystemData", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", - "usage": "Output,Json,LroInitial,LroFinalEnvelope", - "doc": "Metadata pertaining to creation and last modification of the resource.", - "decorators": [], - "properties": [ - { - "$id": "116", - "kind": "property", - "name": "createdBy", - "serializedName": "createdBy", - "doc": "The identity that created the resource.", - "type": { - "$id": "117", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", - "serializationOptions": { - "json": { - "name": "createdBy" - } - }, - "isHttpMetadata": false - }, - { - "$id": "118", - "kind": "property", - "name": "createdByType", - "serializedName": "createdByType", - "doc": "The type of identity that created the resource.", - "type": { - "$ref": "15" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", - "serializationOptions": { - "json": { - "name": "createdByType" - } - }, - "isHttpMetadata": false - }, - { - "$id": "119", - "kind": "property", - "name": "createdAt", - "serializedName": "createdAt", - "doc": "The timestamp of resource creation (UTC).", - "type": { - "$id": "120", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "121", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdAt", - "serializationOptions": { - "json": { - "name": "createdAt" - } - }, - "isHttpMetadata": false - }, - { - "$id": "122", - "kind": "property", - "name": "lastModifiedBy", - "serializedName": "lastModifiedBy", - "doc": "The identity that last modified the resource.", - "type": { - "$id": "123", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", - "serializationOptions": { - "json": { - "name": "lastModifiedBy" - } - }, - "isHttpMetadata": false - }, - { - "$id": "124", - "kind": "property", - "name": "lastModifiedByType", - "serializedName": "lastModifiedByType", - "doc": "The type of identity that last modified the resource.", - "type": { - "$ref": "15" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", - "serializationOptions": { - "json": { - "name": "lastModifiedByType" - } - }, - "isHttpMetadata": false - }, - { - "$id": "125", - "kind": "property", - "name": "lastModifiedAt", - "serializedName": "lastModifiedAt", - "doc": "The timestamp of resource last modification (UTC)", - "type": { - "$id": "126", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "127", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedAt", - "serializationOptions": { - "json": { - "name": "lastModifiedAt" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", - "serializationOptions": { - "json": { - "name": "systemData" - } - }, - "isHttpMetadata": false - } - ] - }, - "properties": [] - }, - "properties": [ - { - "$id": "128", - "kind": "property", - "name": "properties", - "serializedName": "properties", - "doc": "The resource-specific properties for this resource.", - "type": { - "$id": "129", - "kind": "model", - "name": "PrivateLinkResourceProperties", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties", - "usage": "Output,Json", - "doc": "Properties of a private link resource.", - "decorators": [], - "properties": [ - { - "$id": "130", - "kind": "property", - "name": "groupId", - "serializedName": "groupId", - "doc": "The private link resource group id.", - "type": { - "$id": "131", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.groupId", - "serializationOptions": { - "json": { - "name": "groupId" - } - }, - "isHttpMetadata": false - }, - { - "$id": "132", - "kind": "property", - "name": "requiredMembers", - "serializedName": "requiredMembers", - "doc": "The private link resource required member names.", - "type": { - "$id": "133", - "kind": "array", - "name": "Array", - "valueType": { - "$id": "134", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredMembers", - "serializationOptions": { - "json": { - "name": "requiredMembers" - } - }, - "isHttpMetadata": false - }, - { - "$id": "135", - "kind": "property", - "name": "requiredZoneNames", - "serializedName": "requiredZoneNames", - "doc": "The private link resource private link DNS zone name.", - "type": { - "$ref": "133" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredZoneNames", - "serializationOptions": { - "json": { - "name": "requiredZoneNames" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.properties", - "serializationOptions": { - "json": { - "name": "properties" - } - }, - "isHttpMetadata": false - }, - { - "$id": "136", - "kind": "header", - "name": "name", - "serializedName": "name", - "doc": "The name of the private link associated with the Azure resource.", - "type": { - "$id": "137", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": true - }, - { - "$id": "138", - "kind": "property", - "name": "identity", - "serializedName": "identity", - "doc": "The managed service identities assigned to this resource.", - "type": { - "$id": "139", - "kind": "model", - "name": "ManagedServiceIdentity", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", - "usage": "Output,Json", - "doc": "Managed service identity (system assigned and/or user assigned identities)", - "decorators": [], - "properties": [ - { - "$id": "140", - "kind": "property", - "name": "principalId", - "serializedName": "principalId", - "doc": "The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.", - "type": { - "$id": "141", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "142", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.principalId", - "serializationOptions": { - "json": { - "name": "principalId" - } - }, - "isHttpMetadata": false - }, - { - "$id": "143", - "kind": "property", - "name": "tenantId", - "serializedName": "tenantId", - "doc": "The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.", - "type": { - "$id": "144", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "145", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.tenantId", - "serializationOptions": { - "json": { - "name": "tenantId" - } - }, - "isHttpMetadata": false - }, - { - "$id": "146", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of managed identity assigned to this resource.", - "type": { - "$ref": "9" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - }, - { - "$id": "147", - "kind": "property", - "name": "userAssignedIdentities", - "serializedName": "userAssignedIdentities", - "doc": "The identities assigned to this resource by the user.", - "type": { - "$id": "148", - "kind": "dict", - "keyType": { - "$id": "149", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "valueType": { - "$id": "150", - "kind": "nullable", - "type": { - "$id": "151", - "kind": "model", - "name": "UserAssignedIdentity", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", - "usage": "Output,Json", - "doc": "User assigned identity properties", - "decorators": [], - "properties": [ - { - "$id": "152", - "kind": "property", - "name": "principalId", - "serializedName": "principalId", - "doc": "The principal ID of the assigned identity.", - "type": { - "$id": "153", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "154", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId", - "serializationOptions": { - "json": { - "name": "principalId" - } - }, - "isHttpMetadata": false - }, - { - "$id": "155", - "kind": "property", - "name": "clientId", - "serializedName": "clientId", - "doc": "The client ID of the assigned identity.", - "type": { - "$id": "156", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId", - "serializationOptions": { - "json": { - "name": "clientId" - } - }, - "isHttpMetadata": false - } - ] - }, - "namespace": "MgmtTypeSpec" - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", - "serializationOptions": { - "json": { - "name": "userAssignedIdentities" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.identity", - "serializationOptions": { - "json": { - "name": "identity" - } - }, - "isHttpMetadata": false - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", - "serializationOptions": { - "json": { - "name": "value" - } - }, - "isHttpMetadata": false - }, - { - "$id": "158", - "kind": "property", - "name": "nextLink", - "serializedName": "nextLink", - "doc": "The link to the next page of items", - "type": { - "$id": "159", - "kind": "url", - "name": "ResourceLocation", - "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", - "baseType": { - "$id": "160", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", - "serializationOptions": { - "json": { - "name": "nextLink" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "103" - }, - { - "$ref": "129" - }, - { - "$ref": "139" - }, - { - "$ref": "151" - }, - { - "$ref": "104" - }, - { - "$ref": "105" - }, - { - "$ref": "115" - }, - { - "$id": "161", - "kind": "model", - "name": "StartParameterBody", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.start.Parameter.body.anonymous", - "usage": "Input", - "decorators": [], - "properties": [ - { - "$id": "162", - "kind": "property", - "name": "body", - "serializedName": "body", - "doc": "SAP Application server instance start request body.", - "type": { - "$id": "163", - "kind": "model", - "name": "StartRequest", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest", - "usage": "Input,Json", - "doc": "Start SAP instance(s) request body.", - "decorators": [], - "properties": [ - { - "$id": "164", - "kind": "property", - "name": "startVm", - "serializedName": "startVm", - "doc": "The boolean value indicates whether to start the virtual machines before starting the SAP instances.", - "type": { - "$id": "165", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest.startVm", - "serializationOptions": { - "json": { - "name": "startVm" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.start.Parameter.body.anonymous.body", - "serializationOptions": {}, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "163" - }, - { - "$id": "166", - "kind": "model", - "name": "OperationStatusResult", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult", - "usage": "Output,Json,LroInitial,LroFinalEnvelope", - "doc": "The current status of an async operation.", - "decorators": [], - "properties": [ - { - "$id": "167", - "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "Fully qualified ID for the async operation.", - "type": { - "$id": "168", - "kind": "string", - "name": "armResourceIdentifier", - "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", - "baseType": { - "$id": "169", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.id", - "serializationOptions": { - "json": { - "name": "id" - } - }, - "isHttpMetadata": false - }, - { - "$id": "170", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "Name of the async operation.", - "type": { - "$id": "171", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": false - }, - { - "$id": "172", - "kind": "property", - "name": "status", - "serializedName": "status", - "doc": "Operation status.", - "type": { - "$id": "173", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.status", - "serializationOptions": { - "json": { - "name": "status" - } - }, - "isHttpMetadata": false - }, - { - "$id": "174", - "kind": "property", - "name": "percentComplete", - "serializedName": "percentComplete", - "doc": "Percent of the operation that is complete.", - "type": { - "$id": "175", - "kind": "float64", - "name": "float64", - "crossLanguageDefinitionId": "TypeSpec.float64", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.percentComplete", - "serializationOptions": { - "json": { - "name": "percentComplete" - } - }, - "isHttpMetadata": false - }, - { - "$id": "176", - "kind": "property", - "name": "startTime", - "serializedName": "startTime", - "doc": "The start time of the operation.", - "type": { - "$id": "177", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "178", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.startTime", - "serializationOptions": { - "json": { - "name": "startTime" - } - }, - "isHttpMetadata": false - }, - { - "$id": "179", - "kind": "property", - "name": "endTime", - "serializedName": "endTime", - "doc": "The end time of the operation.", - "type": { - "$id": "180", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "181", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.endTime", - "serializationOptions": { - "json": { - "name": "endTime" - } - }, - "isHttpMetadata": false - }, - { - "$id": "182", - "kind": "property", - "name": "operations", - "serializedName": "operations", - "doc": "The operations list.", - "type": { - "$id": "183", - "kind": "array", - "name": "ArrayOperationStatusResult", - "valueType": { - "$ref": "166" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.operations", - "serializationOptions": { - "json": { - "name": "operations" - } - }, - "isHttpMetadata": false - }, - { - "$id": "184", - "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "If present, details of the operation error.", - "type": { - "$ref": "84" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.error", - "serializationOptions": { - "json": { - "name": "error" - } - }, - "isHttpMetadata": false - }, - { - "$id": "185", - "kind": "property", - "name": "resourceId", - "serializedName": "resourceId", - "doc": "Fully qualified ID of the resource against which the original async operation was started.", - "type": { - "$id": "186", - "kind": "string", - "name": "armResourceIdentifier", - "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", - "baseType": { - "$id": "187", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.resourceId", - "serializationOptions": { - "json": { - "name": "resourceId" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "188", - "kind": "model", - "name": "ArmOperationStatusResourceProvisioningState", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", - "usage": "LroPolling", - "doc": "Standard Azure Resource Manager operation status response", - "decorators": [], - "properties": [ - { - "$id": "189", - "kind": "property", - "name": "status", - "serializedName": "status", - "doc": "The operation status", - "type": { - "$ref": "21" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", - "serializationOptions": { - "json": { - "name": "status" - } - }, - "isHttpMetadata": false - }, - { - "$id": "190", - "kind": "header", - "name": "id", - "serializedName": "id", - "doc": "The unique identifier for the operationStatus resource", - "type": { - "$id": "191", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.id", - "serializationOptions": { - "json": { - "name": "id" - } - }, - "isHttpMetadata": true - }, - { - "$id": "192", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the operationStatus resource", - "type": { - "$id": "193", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": false - }, - { - "$id": "194", - "kind": "property", - "name": "startTime", - "serializedName": "startTime", - "doc": "Operation start time", - "type": { - "$id": "195", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "196", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", - "serializationOptions": { - "json": { - "name": "startTime" - } - }, - "isHttpMetadata": false - }, - { - "$id": "197", - "kind": "property", - "name": "endTime", - "serializedName": "endTime", - "doc": "Operation complete time", - "type": { - "$id": "198", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "199", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "crossLanguageDefinitionId": "TypeSpec.utcDateTime", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", - "serializationOptions": { - "json": { - "name": "endTime" - } - }, - "isHttpMetadata": false - }, - { - "$id": "200", - "kind": "property", - "name": "percentComplete", - "serializedName": "percentComplete", - "doc": "The progress made toward completing the operation", - "type": { - "$id": "201", - "kind": "float64", - "name": "float64", - "crossLanguageDefinitionId": "TypeSpec.float64", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", - "serializationOptions": { - "json": { - "name": "percentComplete" - } - }, - "isHttpMetadata": false - }, - { - "$id": "202", - "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "Errors that occurred if the operation ended with Canceled or Failed status", - "type": { - "$ref": "84" - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", - "serializationOptions": { - "json": { - "name": "error" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "203", - "kind": "model", - "name": "Foo", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.Foo", - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", - "decorators": [], - "baseModel": { - "$id": "204", - "kind": "model", - "name": "TrackedResource", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource", - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "doc": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", - "summary": "Tracked Resource", - "decorators": [], - "baseModel": { - "$ref": "105" - }, - "properties": [ - { - "$id": "205", - "kind": "property", - "name": "tags", - "serializedName": "tags", - "doc": "Resource tags.", - "type": { - "$id": "206", - "kind": "dict", - "keyType": { - "$id": "207", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "valueType": { - "$id": "208", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.tags", - "serializationOptions": { - "json": { - "name": "tags" - } - }, - "isHttpMetadata": false - }, - { - "$id": "209", - "kind": "property", - "name": "location", - "serializedName": "location", - "doc": "The geo-location where the resource lives", - "type": { - "$id": "210", - "kind": "string", - "name": "azureLocation", - "crossLanguageDefinitionId": "Azure.Core.azureLocation", - "baseType": { - "$id": "211", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", - "serializationOptions": { - "json": { - "name": "location" - } - }, - "isHttpMetadata": false - } - ] - }, - "properties": [ - { - "$id": "212", - "kind": "property", - "name": "properties", - "serializedName": "properties", - "doc": "The resource-specific properties for this resource.", - "type": { - "$id": "213", - "kind": "model", - "name": "FooProperties", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties", - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "decorators": [ - { - "name": "Azure.ClientGenerator.Core.@useSystemTextJsonConverter", - "arguments": { - "scope": "csharp" - } - } - ], - "properties": [ - { - "$id": "214", - "kind": "property", - "name": "serviceUrl", - "serializedName": "serviceUrl", - "doc": "the service url", - "type": { - "$id": "215", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [ - { - "name": "Azure.ClientGenerator.Core.@deserializeEmptyStringAsNull", - "arguments": {} - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.serviceUrl", - "serializationOptions": { - "json": { - "name": "serviceUrl" - } - }, - "isHttpMetadata": false - }, - { - "$id": "216", - "kind": "property", - "name": "something", - "serializedName": "something", - "doc": "something", - "type": { - "$id": "217", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.something", - "serializationOptions": { - "json": { - "name": "something" - } - }, - "isHttpMetadata": false - }, - { - "$id": "218", - "kind": "property", - "name": "boolValue", - "serializedName": "boolValue", - "doc": "boolean value", - "type": { - "$id": "219", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.boolValue", - "serializationOptions": { - "json": { - "name": "boolValue" - } - }, - "isHttpMetadata": false - }, - { - "$id": "220", - "kind": "property", - "name": "floatValue", - "serializedName": "floatValue", - "doc": "float value", - "type": { - "$id": "221", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.floatValue", - "serializationOptions": { - "json": { - "name": "floatValue" - } - }, - "isHttpMetadata": false - }, - { - "$id": "222", - "kind": "property", - "name": "doubleValue", - "serializedName": "doubleValue", - "doc": "double value", - "type": { - "$id": "223", - "kind": "float64", - "name": "float64", - "crossLanguageDefinitionId": "TypeSpec.float64", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.doubleValue", - "serializationOptions": { - "json": { - "name": "doubleValue" - } - }, - "isHttpMetadata": false - }, - { - "$id": "224", - "kind": "property", - "name": "testResource", - "serializedName": "testResource", - "type": { - "$id": "225", - "kind": "string", - "name": "armResourceType", - "crossLanguageDefinitionId": "Azure.Core.armResourceType", - "baseType": { - "$id": "226", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.testResource", - "serializationOptions": { - "json": { - "name": "testResource" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.properties", - "serializationOptions": { - "json": { - "name": "properties" - } - }, - "isHttpMetadata": false - }, - { - "$id": "227", - "kind": "header", - "name": "name", - "serializedName": "name", - "doc": "The name of the Foo", - "type": { - "$id": "228", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": true - }, - { - "$id": "229", - "kind": "property", - "name": "extendedLocation", - "serializedName": "extendedLocation", - "type": { - "$id": "230", - "kind": "model", - "name": "ExtendedLocation", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation", - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "doc": "The complex type of the extended location.", - "decorators": [], - "properties": [ - { - "$id": "231", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the extended location.", - "type": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": false - }, - { - "$id": "233", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the extended location.", - "type": { - "$ref": "26" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.type", - "serializationOptions": { - "json": { - "name": "type" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.extendedLocation", - "serializationOptions": { - "json": { - "name": "extendedLocation" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$ref": "213" - }, - { - "$ref": "230" - }, - { - "$ref": "204" - }, - { - "$id": "234", - "kind": "model", - "name": "FooListResult", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", - "usage": "Output,Json", - "doc": "The response of a Foo list operation.", - "decorators": [], - "properties": [ - { - "$id": "235", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "The Foo items on this page", - "type": { - "$id": "236", - "kind": "array", - "name": "ArrayFoo", - "valueType": { - "$ref": "203" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", - "serializationOptions": { - "json": { - "name": "value" - } - }, - "isHttpMetadata": false - }, - { - "$id": "237", - "kind": "property", - "name": "nextLink", - "serializedName": "nextLink", - "doc": "The link to the next page of items", - "type": { - "$id": "238", - "kind": "url", - "name": "ResourceLocation", - "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", - "baseType": { - "$id": "239", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", - "serializationOptions": { - "json": { - "name": "nextLink" - } - }, - "isHttpMetadata": false - } - ] - }, - { - "$id": "240", - "kind": "model", - "name": "TestReadonlyRequired", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequired", - "usage": "Output,Json", - "doc": "Concrete tracked resource types can be created by aliasing this type using a specific property type.", - "decorators": [], - "baseModel": { - "$ref": "204" - }, - "properties": [ - { - "$id": "241", - "kind": "property", - "name": "properties", - "serializedName": "properties", - "doc": "The resource-specific properties for this resource.", - "type": { - "$id": "242", - "kind": "model", - "name": "TestReadonlyRequiredProperties", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties", - "usage": "Output,Json", - "decorators": [], - "properties": [ - { - "$id": "243", - "kind": "property", - "name": "a", - "serializedName": "a", - "doc": "Required property", - "type": { - "$id": "244", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.a", - "serializationOptions": { - "json": { - "name": "a" - } - }, - "isHttpMetadata": false - }, - { - "$id": "245", - "kind": "property", - "name": "b", - "serializedName": "b", - "doc": "Optional property", - "type": { - "$id": "246", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.b", - "serializationOptions": { - "json": { - "name": "b" - } - }, - "isHttpMetadata": false - }, - { - "$id": "247", - "kind": "property", - "name": "c", - "serializedName": "c", - "doc": "Required readonly property - should NOT be in public constructor", - "type": { - "$id": "248", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.c", - "serializationOptions": { - "json": { - "name": "c" - } - }, - "isHttpMetadata": false - }, - { - "$id": "249", - "kind": "property", - "name": "d", - "serializedName": "d", - "doc": "Optional readonly property", - "type": { - "$id": "250", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequiredProperties.d", - "serializationOptions": { - "json": { - "name": "d" - } - }, - "isHttpMetadata": false - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequired.properties", - "serializationOptions": { - "json": { - "name": "properties" - } - }, - "isHttpMetadata": false - }, - { - "$id": "251", - "kind": "header", - "name": "name", - "serializedName": "name", - "doc": "The name of the TestReadonlyRequired", - "type": { - "$id": "252", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequired.name", - "serializationOptions": { - "json": { - "name": "name" - } - }, - "isHttpMetadata": true - } - ] - }, - { - "$ref": "242" - } - ], - "clients": [ - { - "$id": "253", - "kind": "client", - "name": "MgmtTypeSpecClient", - "namespace": "MgmtTypeSpec", - "methods": [], - "parameters": [ - { - "$id": "254", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "255", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "256", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "name": "TypeSpec.@service", - "arguments": { - "options": { - "title": "MgmtTestClient" - } - } - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec", - "apiVersions": [ - "2024-05-01" - ], - "children": [ - { - "$id": "257", - "kind": "client", - "name": "Operations", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "258", - "kind": "paging", - "name": "list", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "List the operations for the provider", - "operation": { - "$id": "259", - "name": "list", - "resourceName": "Operations", - "doc": "List the operations for the provider", - "accessibility": "public", - "parameters": [ - { - "$id": "260", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "261", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "262", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "263", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "33" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "59" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "GET", - "uri": "{endpoint}", - "path": "/providers/MgmtTypeSpec/operations", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", - "decorators": [] - }, - "parameters": [ - { - "$id": "264", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "33" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "type": { - "$ref": "61" - }, - "resultSegments": [ - "value" - ] - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", - "pagingMetadata": { - "itemPropertySegments": [ - "value" - ], - "nextLink": { - "responseSegments": [ - "nextLink" - ], - "responseLocation": "Body" - } - } - } - ], - "parameters": [ - { - "$id": "265", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "266", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "267", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Operations", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "253" - } - }, - { - "$id": "268", - "kind": "client", - "name": "PrivateLinks", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "269", - "kind": "paging", - "name": "GetAllPrivateLinkResources", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "list private links on the given resource", - "operation": { - "$id": "270", - "name": "GetAllPrivateLinkResources", - "resourceName": "PrivateLinkResource", - "doc": "list private links on the given resource", - "accessibility": "public", - "parameters": [ - { - "$id": "271", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "272", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "273", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "274", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "275", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "276", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "277", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "278", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "279", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "35" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "100" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "GET", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/privateLinkResources", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster", - "decorators": [] - }, - "parameters": [ - { - "$id": "280", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "281", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "282", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "35" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "type": { - "$ref": "102" - }, - "resultSegments": [ - "value" - ] - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster", - "pagingMetadata": { - "itemPropertySegments": [ - "value" - ], - "nextLink": { - "responseSegments": [ - "nextLink" - ], - "responseLocation": "Body" - } - } - }, - { - "$id": "283", - "kind": "lro", - "name": "start", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Starts the SAP Application Server Instance.", - "operation": { - "$id": "284", - "name": "start", - "resourceName": "PrivateLinks", - "doc": "Starts the SAP Application Server Instance.", - "accessibility": "public", - "parameters": [ - { - "$id": "285", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "286", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "287", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "288", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "289", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "290", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "291", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "292", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "293", - "name": "privateLinkResourceName", - "nameInRequest": "privateLinkResourceName", - "doc": "The name of the private link associated with the Azure resource.", - "type": { - "$id": "294", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "295", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "37" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "296", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "39" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "297", - "name": "body", - "nameInRequest": "body", - "doc": "SAP Application server instance start request body.", - "type": { - "$ref": "163" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 202 - ], - "headers": [ - { - "name": "location", - "nameInResponse": "Location", - "doc": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": { - "$id": "298", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - }, - { - "name": "retryAfter", - "nameInResponse": "Retry-After", - "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": { - "$id": "299", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - } - } - ], - "isErrorResponse": false - }, - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "166" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "POST", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/privateLinkResources/{privateLinkResourceName}/start", - "requestMediaTypes": [ - "application/json" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start", - "decorators": [] - }, - "parameters": [ - { - "$id": "300", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "301", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "302", - "name": "privateLinkResourceName", - "nameInRequest": "privateLinkResourceName", - "doc": "The name of the private link associated with the Azure resource.", - "type": { - "$id": "303", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "304", - "name": "body", - "nameInRequest": "body", - "doc": "The content of the action request", - "type": { - "$ref": "161" - }, - "location": "", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "305", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "41" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "306", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "43" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "type": { - "$ref": "166" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start", - "lroMetadata": { - "finalStateVia": 1, - "finalResponse": { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "166" - } - } - } - } - ], - "parameters": [ - { - "$id": "307", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "308", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "309", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "name": "Azure.ResourceManager.@armResourceOperations", - "arguments": {} - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "253" - } - }, - { - "$id": "310", - "kind": "client", - "name": "Foos", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "311", - "kind": "lro", - "name": "createOrUpdate", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Create a Foo", - "operation": { - "$id": "312", - "name": "createOrUpdate", - "resourceName": "Foo", - "doc": "Create a Foo", - "accessibility": "public", - "parameters": [ - { - "$id": "313", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "314", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "315", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "316", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "317", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "318", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "319", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "320", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "321", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "322", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "323", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "45" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "324", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "47" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "325", - "name": "resource", - "nameInRequest": "resource", - "doc": "Resource create parameters.", - "type": { - "$ref": "203" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "203" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - }, - { - "statusCodes": [ - 201 - ], - "bodyType": { - "$ref": "203" - }, - "headers": [ - { - "name": "azureAsyncOperation", - "nameInResponse": "Azure-AsyncOperation", - "doc": "A link to the status monitor", - "type": { - "$id": "326", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - }, - { - "name": "retryAfter", - "nameInResponse": "Retry-After", - "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": { - "$id": "327", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - } - } - ], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "PUT", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", - "requestMediaTypes": [ - "application/json" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate", - "decorators": [], - "examples": [ - { - "$id": "328", - "kind": "http", - "name": "Create a foo", - "description": "Create a foo", - "filePath": "2024-05-01/Foos_CreateOrUpdate.json", - "parameters": [ - { - "parameter": { - "$ref": "316" - }, - "value": { - "$id": "329", - "kind": "string", - "type": { - "$ref": "317" - }, - "value": "00000000-0000-0000-0000-000000000000" - } - }, - { - "parameter": { - "$ref": "319" - }, - "value": { - "$id": "330", - "kind": "string", - "type": { - "$ref": "320" - }, - "value": "myRg" - } - }, - { - "parameter": { - "$ref": "321" - }, - "value": { - "$id": "331", - "kind": "string", - "type": { - "$ref": "322" - }, - "value": "myFoo" - } - }, - { - "parameter": { - "$ref": "325" - }, - "value": { - "$id": "332", - "kind": "model", - "type": { - "$ref": "203" - }, - "value": { - "properties": { - "$id": "333", - "kind": "model", - "type": { - "$ref": "213" - }, - "value": { - "serviceUrl": { - "$id": "334", - "kind": "string", - "type": { - "$ref": "215" - }, - "value": "https://myService.com" - }, - "something": { - "$id": "335", - "kind": "string", - "type": { - "$ref": "217" - }, - "value": "for test only" - }, - "boolValue": { - "$id": "336", - "kind": "boolean", - "type": { - "$ref": "219" - }, - "value": true - }, - "floatValue": { - "$id": "337", - "kind": "number", - "type": { - "$ref": "221" - }, - "value": 1.2 - }, - "doubleValue": { - "$id": "338", - "kind": "number", - "type": { - "$ref": "223" - }, - "value": 1.2 - } - } - } - } - } - } - ], - "responses": [ - { - "response": { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "203" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - }, - "statusCode": 200, - "bodyValue": { - "$id": "339", - "kind": "model", - "type": { - "$ref": "203" - }, - "value": { - "id": { - "$id": "340", - "kind": "string", - "type": { - "$ref": "107" - }, - "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/MgmtTypeSpec/foos/myFoo" - }, - "name": { - "$id": "341", - "kind": "string", - "type": { - "$ref": "228" - }, - "value": "myFoo" - }, - "type": { - "$id": "342", - "kind": "string", - "type": { - "$ref": "112" - }, - "value": "MgmtTypeSpec/foos" - }, - "properties": { - "$id": "343", - "kind": "model", - "type": { - "$ref": "213" - }, - "value": { - "serviceUrl": { - "$id": "344", - "kind": "string", - "type": { - "$ref": "215" - }, - "value": "https://myService.com" - }, - "something": { - "$id": "345", - "kind": "string", - "type": { - "$ref": "217" - }, - "value": "for test only" - }, - "boolValue": { - "$id": "346", - "kind": "boolean", - "type": { - "$ref": "219" - }, - "value": true - }, - "floatValue": { - "$id": "347", - "kind": "number", - "type": { - "$ref": "221" - }, - "value": 1.2 - }, - "doubleValue": { - "$id": "348", - "kind": "number", - "type": { - "$ref": "223" - }, - "value": 1.2 - } - } - } - } - } - } - ] - } - ] - }, - "parameters": [ - { - "$id": "349", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "350", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "351", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "352", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "353", - "name": "resource", - "nameInRequest": "resource", - "doc": "Resource create parameters.", - "type": { - "$ref": "203" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "354", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "49" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "355", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "51" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "type": { - "$ref": "203" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate", - "lroMetadata": { - "finalStateVia": 0, - "finalResponse": { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "203" - } - } - } - }, - { - "$id": "356", - "kind": "basic", - "name": "get", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Get a Foo", - "operation": { - "$id": "357", - "name": "get", - "resourceName": "Foo", - "doc": "Get a Foo", - "accessibility": "public", - "parameters": [ - { - "$id": "358", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "359", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "360", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "361", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "362", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "363", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "364", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "365", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "366", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "367", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "368", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "53" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "203" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "GET", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get", - "decorators": [], - "examples": [ - { - "$id": "369", - "kind": "http", - "name": "Get a foo", - "description": "Get a foo", - "filePath": "2024-05-01/Foos_Get.json", - "parameters": [ - { - "parameter": { - "$ref": "361" - }, - "value": { - "$id": "370", - "kind": "string", - "type": { - "$ref": "362" - }, - "value": "00000000-0000-0000-0000-000000000000" - } - }, - { - "parameter": { - "$ref": "364" - }, - "value": { - "$id": "371", - "kind": "string", - "type": { - "$ref": "365" - }, - "value": "myRg" - } - }, - { - "parameter": { - "$ref": "366" - }, - "value": { - "$id": "372", - "kind": "string", - "type": { - "$ref": "367" - }, - "value": "myFoo" - } - } - ], - "responses": [ - { - "response": { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "203" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - }, - "statusCode": 200, - "bodyValue": { - "$id": "373", - "kind": "model", - "type": { - "$ref": "203" - }, - "value": { - "id": { - "$id": "374", - "kind": "string", - "type": { - "$ref": "107" - }, - "value": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myRg/providers/MgmtTypeSpec/foos/myFoo" - }, - "name": { - "$id": "375", - "kind": "string", - "type": { - "$ref": "228" - }, - "value": "myFoo" - }, - "type": { - "$id": "376", - "kind": "string", - "type": { - "$ref": "112" - }, - "value": "MgmtTypeSpec/foos" - }, - "properties": { - "$id": "377", - "kind": "model", - "type": { - "$ref": "213" - }, - "value": { - "serviceUrl": { - "$id": "378", - "kind": "string", - "type": { - "$ref": "215" - }, - "value": "https://myService.com" - }, - "something": { - "$id": "379", - "kind": "string", - "type": { - "$ref": "217" - }, - "value": "for test only" - } - } - } - } - } - } - ] - } - ] - }, - "parameters": [ - { - "$id": "380", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "381", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "382", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "383", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "384", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "53" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "type": { - "$ref": "203" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get" - }, - { - "$id": "385", - "kind": "lro", - "name": "delete", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Delete a Foo", - "operation": { - "$id": "386", - "name": "delete", - "resourceName": "Foo", - "doc": "Delete a Foo", - "accessibility": "public", - "parameters": [ - { - "$id": "387", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "388", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "389", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "390", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "391", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "392", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "393", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "394", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "395", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "396", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 202 - ], - "headers": [ - { - "name": "location", - "nameInResponse": "Location", - "doc": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": { - "$id": "397", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - }, - { - "name": "retryAfter", - "nameInResponse": "Retry-After", - "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", - "type": { - "$id": "398", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] - } - } - ], - "isErrorResponse": false - }, - { - "statusCodes": [ - 204 - ], - "headers": [], - "isErrorResponse": false - } - ], - "httpMethod": "DELETE", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete", - "decorators": [] - }, - "parameters": [ - { - "$id": "399", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "400", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "401", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "402", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": {}, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete", - "lroMetadata": { - "finalStateVia": 1, - "finalResponse": { - "statusCodes": [ - 204 - ] - } - } - }, - { - "$id": "403", - "kind": "paging", - "name": "list", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "List Foo resources by resource group", - "operation": { - "$id": "404", - "name": "list", - "resourceName": "Foo", - "doc": "List Foo resources by resource group", - "accessibility": "public", - "parameters": [ - { - "$id": "405", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "406", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "407", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "408", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "409", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "410", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "411", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "412", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "413", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "55" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "234" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "GET", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list", - "decorators": [] - }, - "parameters": [ - { - "$id": "414", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "415", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "416", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "55" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "type": { - "$ref": "236" - }, - "resultSegments": [ - "value" - ] - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list", - "pagingMetadata": { - "itemPropertySegments": [ - "value" - ], - "nextLink": { - "responseSegments": [ - "nextLink" - ], - "responseLocation": "Body" - } - } - } - ], - "parameters": [ - { - "$id": "417", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "418", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "419", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "name": "Azure.ResourceManager.@armResourceOperations", - "arguments": {} - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "253" - } - }, - { - "$id": "420", - "kind": "client", - "name": "TestReadonlyRequireds", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "421", - "kind": "basic", - "name": "get", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Get a TestReadonlyRequired", - "operation": { - "$id": "422", - "name": "get", - "resourceName": "TestReadonlyRequired", - "doc": "Get a TestReadonlyRequired", - "accessibility": "public", - "parameters": [ - { - "$id": "423", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "424", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "425", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "426", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "427", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "428", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "429", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "430", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "431", - "name": "testReadonlyRequiredName", - "nameInRequest": "testReadonlyRequiredName", - "doc": "The name of the TestReadonlyRequired", - "type": { - "$id": "432", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "433", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "57" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "240" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "GET", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/testReadonlyRequireds/{testReadonlyRequiredName}", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequireds.get", - "decorators": [] - }, - "parameters": [ - { - "$id": "434", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "435", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "436", - "name": "testReadonlyRequiredName", - "nameInRequest": "testReadonlyRequiredName", - "doc": "The name of the TestReadonlyRequired", - "type": { - "$id": "437", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "438", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "57" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "type": { - "$ref": "240" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequireds.get" - } - ], - "parameters": [ - { - "$id": "439", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "440", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "type": { - "$id": "441", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "name": "Azure.ResourceManager.@armResourceOperations", - "arguments": {} - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec.TestReadonlyRequireds", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "253" - } - } - ] - } - ], - "auth": { - "oAuth2": { - "flows": [ - { - "scopes": [ - "user_impersonation" - ], - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize" - } - ] - } - } -}