diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 79443a865ea5..581c733123a8 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -451,6 +451,6 @@ 1.0.0-dev.20250501.1 1.0.0-alpha.20250627.2 - 1.0.0-alpha.20250625.3 + 1.0.0-alpha.20250629.1 diff --git a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/ManagementClientGenerator.cs b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/ManagementClientGenerator.cs index 679bb20a400b..7e340c61f4c6 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/ManagementClientGenerator.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/ManagementClientGenerator.cs @@ -52,6 +52,7 @@ protected override void Configure() AddVisitor(new RestClientVisitor()); AddVisitor(new ResourceVisitor()); AddVisitor(new InheritableSystemObjectModelVisitor()); + AddVisitor(new NameVisitor()); } } } diff --git a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/NameVisitor.cs b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/NameVisitor.cs new file mode 100644 index 000000000000..b9a65aad3982 --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/NameVisitor.cs @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Microsoft.TypeSpec.Generator.ClientModel; +using Microsoft.TypeSpec.Generator.Input; +using Microsoft.TypeSpec.Generator.Providers; +using System; +using System.Diagnostics.CodeAnalysis; + +namespace Azure.Generator.Management +{ + internal class NameVisitor : ScmLibraryVisitor + { + protected override ModelProvider? PreVisitModel(InputModelType model, ModelProvider? type) + { + if (type is not null && TryTransformUrlToUri(model.Name, out var newName)) + { + type.Update(name: newName); + } + + foreach (var property in model.Properties) + { + if (property is InputModelProperty modelProperty && TryTransformUrlToUri(property.Name, out var newPropertyName)) + { + modelProperty.Update(name: newPropertyName); + } + } + return base.PreVisitModel(model, type); + } + + private bool TryTransformUrlToUri(string name, [MaybeNullWhen(false)] out string newName) + { + const char i = 'i'; + const string UrlSuffix = "Url"; + newName = null; + if (name.Length < UrlSuffix.Length) + { + return false; + } + + var span = name.AsSpan(); + // check if this ends with `Url` + if (span.EndsWith(UrlSuffix.AsSpan(), StringComparison.Ordinal)) + { + Span newSpan = span.ToArray(); + newSpan[^1] = i; + + newName = new string(newSpan); + return true; + } + + return false; + } + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/test/NameVisitorTests.cs b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/test/NameVisitorTests.cs new file mode 100644 index 000000000000..8fbe132fc398 --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/test/NameVisitorTests.cs @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Azure.Generator.Management; +using Azure.Generator.Management.Tests.TestHelpers; +using Azure.Generator.Tests.Common; +using Microsoft.TypeSpec.Generator.Input; +using Microsoft.TypeSpec.Generator.Providers; +using NUnit.Framework; + +namespace Azure.Generator.Mgmt.Tests +{ + internal class NameVisitorTests + { + private const string TestClientName = "TestClient"; + private const string TestModelName = "TestModelUrl"; + private const string TestProtyName = "TestPropertyUrl"; + + [Test] + public void TestTransformUrlToUri() + { + var modelProperty = InputFactory.Property(TestProtyName, InputPrimitiveType.String, serializedName: "testName", isRequired: true); + var model = InputFactory.Model(TestModelName, properties: [modelProperty]); + var responseType = InputFactory.OperationResponse(statusCodes: [200], bodytype: model); + var testNameParameter = InputFactory.Parameter("testName", InputPrimitiveType.String, location: InputRequestLocation.Path); + var operation = InputFactory.Operation(name: "get", responses: [responseType], parameters: [testNameParameter], path: "/providers/a/test/{testName}", decorators: []); + + var client = InputFactory.Client( + TestClientName, + methods: [InputFactory.BasicServiceMethod("Get", operation, parameters: [testNameParameter])], + crossLanguageDefinitionId: $"Test.{TestClientName}", + decorators: []); + + var plugin = ManagementMockHelpers.LoadMockPlugin(inputModels: () => [model], clients: () => [client]); + var visitor = new TestVisitor(); + var type = plugin.Object.TypeFactory.CreateModel(model); + var transformedModel = visitor.InvokeVisit(model, type); + Assert.That(transformedModel?.Name, Is.EqualTo(TestModelName.Replace("Url", "Uri"))); + Assert.That(transformedModel?.Properties[0].Name, Is.EqualTo(TestProtyName.Replace("Url", "Uri"))); + } + + private class TestVisitor : NameVisitor + { + public ModelProvider? InvokeVisit(InputModelType model, ModelProvider? type) + { + return base.PreVisitModel(model, type); + } + } + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/MgmtTypeSpecModelFactory.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/MgmtTypeSpecModelFactory.cs index 082ae1d094a1..fe1b5578b930 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/MgmtTypeSpecModelFactory.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/MgmtTypeSpecModelFactory.cs @@ -46,16 +46,16 @@ public static FooData FooData(ResourceIdentifier id = default, string @type = de } /// The FooProperties. - /// the service url. + /// the service url. /// something. /// boolean value. /// float value. /// double value. /// A new instance for mocking. - public static FooProperties FooProperties(Uri serviceUrl = default, string something = default, bool? boolValue = default, float? floatValue = default, double? doubleValue = default) + public static FooProperties FooProperties(Uri serviceUri = default, string something = default, bool? boolValue = default, float? floatValue = default, double? doubleValue = default) { return new FooProperties( - serviceUrl, + serviceUri, something, boolValue, floatValue, diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.Serialization.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.Serialization.cs index 3405de588ff0..0966687ba920 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.Serialization.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.Serialization.cs @@ -34,10 +34,10 @@ protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWrit { throw new FormatException($"The model {nameof(FooProperties)} does not support writing '{format}' format."); } - if (Optional.IsDefined(ServiceUrl)) + if (Optional.IsDefined(ServiceUri)) { writer.WritePropertyName("serviceUrl"u8); - writer.WriteStringValue(ServiceUrl.AbsoluteUri); + writer.WriteStringValue(ServiceUri.AbsoluteUri); } if (Optional.IsDefined(Something)) { @@ -101,7 +101,7 @@ internal static FooProperties DeserializeFooProperties(JsonElement element, Mode { return null; } - Uri serviceUrl = default; + Uri serviceUri = default; string something = default; bool? boolValue = default; float? floatValue = default; @@ -115,7 +115,7 @@ internal static FooProperties DeserializeFooProperties(JsonElement element, Mode { continue; } - serviceUrl = new Uri(prop.Value.GetString()); + serviceUri = new Uri(prop.Value.GetString()); continue; } if (prop.NameEquals("something"u8)) @@ -156,7 +156,7 @@ internal static FooProperties DeserializeFooProperties(JsonElement element, Mode } } return new FooProperties( - serviceUrl, + serviceUri, something, boolValue, floatValue, diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.cs index 6f0a403d25d9..6016815bd5a9 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/FooProperties.cs @@ -22,15 +22,15 @@ public FooProperties() } /// Initializes a new instance of . - /// the service url. + /// the service url. /// something. /// boolean value. /// float value. /// double value. /// Keeps track of any properties unknown to the library. - internal FooProperties(Uri serviceUrl, string something, bool? boolValue, float? floatValue, double? doubleValue, IDictionary additionalBinaryDataProperties) + internal FooProperties(Uri serviceUri, string something, bool? boolValue, float? floatValue, double? doubleValue, IDictionary additionalBinaryDataProperties) { - ServiceUrl = serviceUrl; + ServiceUri = serviceUri; Something = something; BoolValue = boolValue; FloatValue = floatValue; @@ -39,7 +39,7 @@ internal FooProperties(Uri serviceUrl, string something, bool? boolValue, float? } /// the service url. - public Uri ServiceUrl { get; set; } + public Uri ServiceUri { get; set; } /// something. public string Something { get; set; } diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/tspCodeModel.json b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/tspCodeModel.json index 1df5c2c9be4a..8c23d30546e8 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/tspCodeModel.json +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/tspCodeModel.json @@ -1,6952 +1,6610 @@ { - "$id": "1", - "name": "MgmtTypeSpec", - "apiVersions": [ - "2024-05-01" - ], - "enums": [ - { - "$id": "2", - "kind": "enum", - "name": "Origin", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Origin", - "valueType": { - "$id": "3", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + "name": "MgmtTypeSpec", + "apiVersions": [ + "2024-05-01" + ], + "enums": [ { - "$id": "4", - "kind": "enumvalue", - "name": "user", - "value": "user", - "valueType": { - "$id": "5", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$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": "Azure.ResourceManager.CommonTypes", + "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": [] - }, - "enumType": { - "$ref": "2" - }, - "doc": "Indicates the operation is initiated by a user.", - "decorators": [] }, { - "$id": "6", - "kind": "enumvalue", - "name": "system", - "value": "system", - "valueType": { - "$id": "7", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$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": "Azure.ResourceManager.CommonTypes", + "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": [] - }, - "enumType": { - "$ref": "2" - }, - "doc": "Indicates the operation is initiated by a system.", - "decorators": [] }, { - "$id": "8", - "kind": "enumvalue", - "name": "user,system", - "value": "user,system", - "valueType": { "$id": "9", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "enumType": { - "$ref": "2" - }, - "doc": "Indicates the operation is initiated by a user or system.", - "decorators": [] - } - ], - "namespace": "Azure.ResourceManager.CommonTypes", - "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": "10", - "kind": "enum", - "name": "ActionType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ActionType", - "valueType": { - "$id": "11", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "12", - "kind": "enumvalue", - "name": "Internal", - "value": "Internal", - "valueType": { - "$id": "13", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "enumType": { - "$ref": "10" - }, - "doc": "Actions are for internal-only APIs.", - "decorators": [] - } - ], - "namespace": "Azure.ResourceManager.CommonTypes", - "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": "14", - "kind": "enum", - "name": "ManagedServiceIdentityType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentityType", - "valueType": { - "$id": "15", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "16", - "kind": "enumvalue", - "name": "None", - "value": "None", - "valueType": { - "$id": "17", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "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": "Azure.ResourceManager.CommonTypes", + "doc": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json", "decorators": [] - }, - "enumType": { - "$ref": "14" - }, - "doc": "No managed identity.", - "decorators": [] }, { - "$id": "18", - "kind": "enumvalue", - "name": "SystemAssigned", - "value": "SystemAssigned", - "valueType": { - "$id": "19", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$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": "Azure.ResourceManager.CommonTypes", + "doc": "The kind of entity that created the resource.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroInitial,LroFinalEnvelope", "decorators": [] - }, - "enumType": { - "$ref": "14" - }, - "doc": "System assigned managed identity.", - "decorators": [] }, { - "$id": "20", - "kind": "enumvalue", - "name": "UserAssigned", - "value": "UserAssigned", - "valueType": { "$id": "21", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "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": "Azure.ResourceManager", + "doc": "The provisioning state of a resource type.", + "isFixed": false, + "isFlags": false, + "usage": "Output,Json,LroPolling", "decorators": [] - }, - "enumType": { - "$ref": "14" - }, - "doc": "User assigned managed identity.", - "decorators": [] }, { - "$id": "22", - "kind": "enumvalue", - "name": "SystemAssigned,UserAssigned", - "value": "SystemAssigned,UserAssigned", - "valueType": { - "$id": "23", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "enumType": { - "$ref": "14" - }, - "doc": "System and user assigned managed identity.", - "decorators": [] - } - ], - "namespace": "Azure.ResourceManager.CommonTypes", - "doc": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json", - "decorators": [] - }, - { - "$id": "24", - "kind": "enum", - "name": "createdByType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.createdByType", - "valueType": { - "$id": "25", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ - { - "$id": "26", - "kind": "enumvalue", - "name": "User", - "value": "User", - "valueType": { - "$id": "27", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$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": "Azure.ResourceManager.CommonTypes", + "doc": "The supported ExtendedLocation types.", + "isFixed": false, + "isFlags": false, + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", "decorators": [] - }, - "enumType": { - "$ref": "24" - }, - "doc": "The entity was created by a user.", - "decorators": [] }, { - "$id": "28", - "kind": "enumvalue", - "name": "Application", - "value": "Application", - "valueType": { - "$id": "29", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$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": [] - }, - "enumType": { - "$ref": "24" - }, - "doc": "The entity was created by an application.", - "decorators": [] - }, + } + ], + "constants": [ { - "$id": "30", - "kind": "enumvalue", - "name": "ManagedIdentity", - "value": "ManagedIdentity", - "valueType": { - "$id": "31", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "33", + "kind": "constant", + "name": "listContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "34", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "24" - }, - "doc": "The entity was created by a managed identity.", - "decorators": [] }, { - "$id": "32", - "kind": "enumvalue", - "name": "Key", - "value": "Key", - "valueType": { - "$id": "33", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "35", + "kind": "constant", + "name": "listByMongoClusterContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "36", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "24" - }, - "doc": "The entity was created by a key.", - "decorators": [] - } - ], - "namespace": "Azure.ResourceManager.CommonTypes", - "doc": "The kind of entity that created the resource.", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json,LroInitial,LroFinalEnvelope", - "decorators": [] - }, - { - "$id": "34", - "kind": "enum", - "name": "ResourceProvisioningState", - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceProvisioningState", - "valueType": { - "$id": "35", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, { - "$id": "36", - "kind": "enumvalue", - "name": "Succeeded", - "value": "Succeeded", - "valueType": { "$id": "37", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "kind": "constant", + "name": "startContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "38", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "34" - }, - "doc": "Resource has been created.", - "decorators": [] }, { - "$id": "38", - "kind": "enumvalue", - "name": "Failed", - "value": "Failed", - "valueType": { "$id": "39", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "kind": "constant", + "name": "startContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "40", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "34" - }, - "doc": "Resource creation failed.", - "decorators": [] }, { - "$id": "40", - "kind": "enumvalue", - "name": "Canceled", - "value": "Canceled", - "valueType": { "$id": "41", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "kind": "constant", + "name": "startContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "42", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "34" - }, - "doc": "Resource creation was canceled.", - "decorators": [] - } - ], - "namespace": "Azure.ResourceManager", - "doc": "The provisioning state of a resource type.", - "isFixed": false, - "isFlags": false, - "usage": "Output,Json,LroPolling", - "decorators": [] - }, - { - "$id": "42", - "kind": "enum", - "name": "ExtendedLocationType", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocationType", - "valueType": { - "$id": "43", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, + { + "$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": "44", - "kind": "enumvalue", - "name": "EdgeZone", - "value": "EdgeZone", - "valueType": { "$id": "45", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "kind": "constant", + "name": "createOrUpdateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "46", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "42" - }, - "doc": "Azure Edge Zones location type", - "decorators": [] }, { - "$id": "46", - "kind": "enumvalue", - "name": "CustomLocation", - "value": "CustomLocation", - "valueType": { "$id": "47", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "kind": "constant", + "name": "createOrUpdateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "48", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "42" - }, - "doc": "Azure Custom Locations type", - "decorators": [] - } - ], - "namespace": "Azure.ResourceManager.CommonTypes", - "doc": "The supported ExtendedLocation types.", - "isFixed": false, - "isFlags": false, - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "decorators": [] - }, - { - "$id": "48", - "kind": "enum", - "name": "Versions", - "crossLanguageDefinitionId": "MgmtTypeSpec.Versions", - "valueType": { - "$id": "49", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "values": [ + }, + { + "$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": "50", - "kind": "enumvalue", - "name": "v2024_05_01", - "value": "2024-05-01", - "valueType": { "$id": "51", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "kind": "constant", + "name": "createOrUpdateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "52", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", "decorators": [] - }, - "enumType": { - "$ref": "48" - }, - "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": "52", - "kind": "constant", - "name": "listContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "53", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "54", - "kind": "constant", - "name": "listByMongoClusterContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "55", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "56", - "kind": "constant", - "name": "startContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "57", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "58", - "kind": "constant", - "name": "startContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "59", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "60", - "kind": "constant", - "name": "startContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "61", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "62", - "kind": "constant", - "name": "startContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "63", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "64", - "kind": "constant", - "name": "createOrUpdateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "65", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "66", - "kind": "constant", - "name": "createOrUpdateContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "67", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "68", - "kind": "constant", - "name": "createOrUpdateContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "69", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "70", - "kind": "constant", - "name": "createOrUpdateContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "71", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "72", - "kind": "constant", - "name": "getContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "73", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "74", - "kind": "constant", - "name": "deleteContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "75", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "76", - "kind": "constant", - "name": "deleteContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "77", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "78", - "kind": "constant", - "name": "updateContentType", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "79", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "80", - "kind": "constant", - "name": "updateContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "81", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "82", - "kind": "constant", - "name": "updateContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "83", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "84", - "kind": "constant", - "name": "updateContentType3", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "85", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "86", - "kind": "constant", - "name": "listContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "87", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "88", - "kind": "constant", - "name": "getContentType1", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "89", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "90", - "kind": "constant", - "name": "createOrUpdateContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "91", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "92", - "kind": "constant", - "name": "createOrUpdateContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "93", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "94", - "kind": "constant", - "name": "updateContentType4", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "95", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "96", - "kind": "constant", - "name": "updateContentType5", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "97", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - }, - { - "$id": "98", - "kind": "constant", - "name": "deleteContentType2", - "namespace": "", - "usage": "None", - "valueType": { - "$id": "99", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "value": "application/json", - "decorators": [] - } - ], - "models": [ - { - "$id": "100", - "kind": "model", - "name": "OperationListResult", - "namespace": "Azure.ResourceManager.CommonTypes", - "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": "101", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "The Operation items on this page", - "type": { - "$id": "102", - "kind": "array", - "name": "ArrayOperation", + "$id": "53", + "kind": "constant", + "name": "getContentType", + "namespace": "", + "usage": "None", "valueType": { - "$id": "103", - "kind": "model", - "name": "Operation", - "namespace": "Azure.ResourceManager.CommonTypes", - "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": "104", - "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": "105", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.name", - "serializationOptions": { - "$id": "106", - "json": { - "$id": "107", - "name": "name" - } - } - }, - { - "$id": "108", - "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": "109", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.isDataAction", - "serializationOptions": { - "$id": "110", - "json": { - "$id": "111", - "name": "isDataAction" - } - } - }, - { - "$id": "112", - "kind": "property", - "name": "display", - "serializedName": "display", - "doc": "Localized display information for this particular operation.", - "type": { - "$id": "113", - "kind": "model", - "name": "OperationDisplay", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", - "usage": "Output,Json", - "doc": "Localized display information for and operation.", - "decorators": [], - "properties": [ - { - "$id": "114", - "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": "115", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.provider", - "serializationOptions": { - "$id": "116", - "json": { - "$id": "117", - "name": "provider" - } - } - }, - { - "$id": "118", - "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": "119", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.resource", - "serializationOptions": { - "$id": "120", - "json": { - "$id": "121", - "name": "resource" - } - } - }, - { - "$id": "122", - "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": "123", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.operation", - "serializationOptions": { - "$id": "124", - "json": { - "$id": "125", - "name": "operation" - } - } - }, - { - "$id": "126", - "kind": "property", - "name": "description", - "serializedName": "description", - "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", - "type": { - "$id": "127", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay.description", - "serializationOptions": { - "$id": "128", - "json": { - "$id": "129", - "name": "description" - } - } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", - "serializationOptions": { - "$id": "130", - "json": { - "$id": "131", - "name": "display" - } - } - }, - { - "$id": "132", - "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": "2" - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.origin", - "serializationOptions": { - "$id": "133", - "json": { - "$id": "134", - "name": "origin" - } - } - }, - { - "$id": "135", - "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": "10" - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.actionType", - "serializationOptions": { - "$id": "136", - "json": { - "$id": "137", - "name": "actionType" - } - } - } - ] + "$id": "54", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "55", + "kind": "constant", + "name": "deleteContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "56", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "57", + "kind": "constant", + "name": "deleteContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "58", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "59", + "kind": "constant", + "name": "updateContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "60", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "61", + "kind": "constant", + "name": "updateContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "62", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "63", + "kind": "constant", + "name": "updateContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "64", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "65", + "kind": "constant", + "name": "updateContentType3", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "66", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "67", + "kind": "constant", + "name": "listContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "68", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "69", + "kind": "constant", + "name": "getContentType1", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "70", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "71", + "kind": "constant", + "name": "createOrUpdateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "72", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "73", + "kind": "constant", + "name": "createOrUpdateContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "74", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "75", + "kind": "constant", + "name": "updateContentType4", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "76", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] + }, + { + "$id": "77", + "kind": "constant", + "name": "updateContentType5", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "78", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - "crossLanguageDefinitionId": "TypeSpec.Array", + "value": "application/json", "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", - "serializationOptions": { - "$id": "138", - "json": { - "$id": "139", - "name": "value" - } - } }, { - "$id": "140", - "kind": "property", - "name": "nextLink", - "serializedName": "nextLink", - "doc": "The link to the next page of items", - "type": { - "$id": "141", - "kind": "url", - "name": "ResourceLocation", - "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", - "baseType": { - "$id": "142", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] + "$id": "79", + "kind": "constant", + "name": "deleteContentType2", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "80", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, + "value": "application/json", "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", - "serializationOptions": { - "$id": "143", - "json": { - "$id": "144", - "name": "nextLink" - } - } } - ] - }, - { - "$ref": "103" - }, - { - "$ref": "113" - }, - { - "$id": "145", - "kind": "model", - "name": "ErrorResponse", - "namespace": "Azure.ResourceManager.CommonTypes", - "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": [ + ], + "models": [ { - "$id": "146", - "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "The error object.", - "type": { - "$id": "147", + "$id": "81", "kind": "model", - "name": "ErrorDetail", + "name": "OperationListResult", "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", - "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", - "doc": "The error detail.", + "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": "148", - "kind": "property", - "name": "code", - "serializedName": "code", - "doc": "The error code.", - "type": { - "$id": "149", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", - "serializationOptions": { - "$id": "150", - "json": { - "$id": "151", - "name": "code" - } - } - }, - { - "$id": "152", - "kind": "property", - "name": "message", - "serializedName": "message", - "doc": "The error message.", - "type": { - "$id": "153", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", - "serializationOptions": { - "$id": "154", - "json": { - "$id": "155", - "name": "message" - } - } - }, - { - "$id": "156", - "kind": "property", - "name": "target", - "serializedName": "target", - "doc": "The error target.", - "type": { - "$id": "157", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.target", - "serializationOptions": { - "$id": "158", - "json": { - "$id": "159", - "name": "target" - } - } - }, - { - "$id": "160", - "kind": "property", - "name": "details", - "serializedName": "details", - "doc": "The error details.", - "type": { - "$id": "161", - "kind": "array", - "name": "ArrayErrorDetail", - "valueType": { - "$ref": "147" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", - "serializationOptions": { - "$id": "162", - "json": { - "$id": "163", - "name": "details" - } - } - }, - { - "$id": "164", - "kind": "property", - "name": "additionalInfo", - "serializedName": "additionalInfo", - "doc": "The error additional info.", - "type": { - "$id": "165", - "kind": "array", - "name": "ArrayErrorAdditionalInfo", - "valueType": { - "$id": "166", - "kind": "model", - "name": "ErrorAdditionalInfo", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", - "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", - "doc": "The resource management error additional info.", - "decorators": [], - "properties": [ - { - "$id": "167", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The additional info type.", - "type": { - "$id": "168", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.type", - "serializationOptions": { - "$id": "169", - "json": { - "$id": "170", - "name": "type" - } - } - }, - { - "$id": "171", - "kind": "property", - "name": "info", - "serializedName": "info", - "doc": "The additional info.", - "type": { - "$id": "172", - "kind": "unknown", - "name": "unknown", - "crossLanguageDefinitionId": "", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo.info", - "serializationOptions": { - "$id": "173", - "json": { - "$id": "174", - "name": "info" - } - } - } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", - "serializationOptions": { - "$id": "175", - "json": { - "$id": "176", - "name": "additionalInfo" - } - } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", - "serializationOptions": { - "$id": "177", - "json": { - "$id": "178", - "name": "error" - } - } - } - ] - }, - { - "$ref": "147" - }, - { - "$ref": "166" - }, - { - "$id": "179", - "kind": "model", - "name": "PrivateLinkResourceListResult", - "namespace": "Azure.ResourceManager", - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", - "usage": "Output,Json", - "doc": "The response of a PrivateLinkResource list operation.", - "decorators": [], - "properties": [ - { - "$id": "180", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "The PrivateLinkResource items on this page", - "type": { - "$id": "181", - "kind": "array", - "name": "ArrayPrivateLinkResource", - "valueType": { - "$id": "182", - "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": [ { - "$id": "183", - "name": "Azure.ResourceManager.Private.@armResourceInternal", - "arguments": { - "$id": "184" - } - } - ], - "baseModel": { - "$id": "185", - "kind": "model", - "name": "ProxyResource", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", - "usage": "Input,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": "186", - "kind": "model", - "name": "Resource", - "namespace": "Azure.ResourceManager.CommonTypes", - "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": "187", - "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": "188", - "kind": "string", - "name": "armResourceIdentifier", - "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", - "baseType": { - "$id": "189", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "82", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Operation items on this page", + "type": { + "$id": "83", + "kind": "array", + "name": "ArrayOperation", + "valueType": { + "$id": "84", + "kind": "model", + "name": "Operation", + "namespace": "Azure.ResourceManager.CommonTypes", + "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": "85", + "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": "86", + "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" + } + } + }, + { + "$id": "87", + "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": "88", + "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" + } + } + }, + { + "$id": "89", + "kind": "property", + "name": "display", + "serializedName": "display", + "doc": "Localized display information for this particular operation.", + "type": { + "$id": "90", + "kind": "model", + "name": "OperationDisplay", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationDisplay", + "usage": "Output,Json", + "doc": "Localized display information for and operation.", + "decorators": [], + "properties": [ + { + "$id": "91", + "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": "92", + "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" + } + } + }, + { + "$id": "93", + "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": "94", + "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" + } + } + }, + { + "$id": "95", + "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": "96", + "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" + } + } + }, + { + "$id": "97", + "kind": "property", + "name": "description", + "serializedName": "description", + "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", + "type": { + "$id": "98", + "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" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Operation.display", + "serializationOptions": { + "json": { + "name": "display" + } + } + }, + { + "$id": "99", + "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" + } + } + }, + { + "$id": "100", + "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" + } + } + } + ] }, + "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.id", - "serializationOptions": { - "$id": "190", - "json": { - "$id": "191", - "name": "id" - } - } }, - { - "$id": "192", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the resource", - "type": { - "$id": "193", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.name", - "serializationOptions": { - "$id": "194", + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.value", + "serializationOptions": { "json": { - "$id": "195", - "name": "name" + "name": "value" } - } - }, - { - "$id": "196", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", - "type": { - "$id": "197", - "kind": "string", - "name": "armResourceType", - "crossLanguageDefinitionId": "Azure.Core.armResourceType", + } + }, + { + "$id": "101", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "102", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "198", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "103", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] }, "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.type", - "serializationOptions": { - "$id": "199", + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationListResult.nextLink", + "serializationOptions": { "json": { - "$id": "200", - "name": "type" + "name": "nextLink" } - } - }, - { - "$id": "201", - "kind": "property", - "name": "systemData", - "serializedName": "systemData", - "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", - "type": { - "$id": "202", - "kind": "model", - "name": "SystemData", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", - "usage": "Output,Json,LroInitial,LroFinalEnvelope", - "doc": "Metadata pertaining to creation and last modification of the resource.", - "decorators": [], - "properties": [ - { - "$id": "203", - "kind": "property", - "name": "createdBy", - "serializedName": "createdBy", - "doc": "The identity that created the resource.", - "type": { - "$id": "204", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdBy", - "serializationOptions": { - "$id": "205", - "json": { - "$id": "206", - "name": "createdBy" - } - } - }, - { - "$id": "207", - "kind": "property", - "name": "createdByType", - "serializedName": "createdByType", - "doc": "The type of identity that created the resource.", - "type": { - "$ref": "24" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.createdByType", - "serializationOptions": { - "$id": "208", - "json": { - "$id": "209", - "name": "createdByType" - } - } - }, - { - "$id": "210", - "kind": "property", - "name": "createdAt", - "serializedName": "createdAt", - "doc": "The timestamp of resource creation (UTC).", - "type": { - "$id": "211", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "212", - "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": { - "$id": "213", - "json": { - "$id": "214", - "name": "createdAt" - } - } - }, - { - "$id": "215", - "kind": "property", - "name": "lastModifiedBy", - "serializedName": "lastModifiedBy", - "doc": "The identity that last modified the resource.", - "type": { - "$id": "216", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedBy", - "serializationOptions": { - "$id": "217", - "json": { - "$id": "218", - "name": "lastModifiedBy" - } - } - }, - { - "$id": "219", - "kind": "property", - "name": "lastModifiedByType", - "serializedName": "lastModifiedByType", - "doc": "The type of identity that last modified the resource.", - "type": { - "$ref": "24" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData.lastModifiedByType", - "serializationOptions": { - "$id": "220", - "json": { - "$id": "221", - "name": "lastModifiedByType" - } - } - }, - { - "$id": "222", - "kind": "property", - "name": "lastModifiedAt", - "serializedName": "lastModifiedAt", - "doc": "The timestamp of resource last modification (UTC)", - "type": { - "$id": "223", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "224", - "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": { - "$id": "225", - "json": { - "$id": "226", - "name": "lastModifiedAt" - } - } - } - ] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", - "serializationOptions": { - "$id": "227", - "json": { - "$id": "228", - "name": "systemData" - } - } - } - ] - }, - "properties": [] - }, - "properties": [ - { - "$id": "229", - "kind": "property", - "name": "properties", - "serializedName": "properties", - "doc": "The resource-specific properties for this resource.", - "type": { - "$id": "230", - "kind": "model", - "name": "PrivateLinkResourceProperties", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties", - "usage": "Output,Json", - "doc": "Properties of a private link resource.", - "decorators": [], - "properties": [ - { - "$id": "231", - "kind": "property", - "name": "groupId", - "serializedName": "groupId", - "doc": "The private link resource group id.", - "type": { - "$id": "232", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.groupId", - "serializationOptions": { - "$id": "233", - "json": { - "$id": "234", - "name": "groupId" - } - } - }, - { - "$id": "235", - "kind": "property", - "name": "requiredMembers", - "serializedName": "requiredMembers", - "doc": "The private link resource required member names.", - "type": { - "$id": "236", - "kind": "array", - "name": "Array", - "valueType": { - "$id": "237", - "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": { - "$id": "238", - "json": { - "$id": "239", - "name": "requiredMembers" - } - } - }, - { - "$id": "240", - "kind": "property", - "name": "requiredZoneNames", - "serializedName": "requiredZoneNames", - "doc": "The private link resource private link DNS zone name.", - "type": { - "$ref": "236" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredZoneNames", - "serializationOptions": { - "$id": "241", - "json": { - "$id": "242", - "name": "requiredZoneNames" - } - } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.properties", - "serializationOptions": { - "$id": "243", - "json": { - "$id": "244", - "name": "properties" } - } - }, - { - "$id": "245", - "kind": "path", - "name": "name", - "serializedName": "name", - "doc": "The name of the private link associated with the Azure resource.", - "type": { - "$id": "246", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": true, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.name", - "explode": false, - "style": "simple", - "allowReserved": false, - "correspondingMethodParams": [] - }, + } + ] + }, + { + "$ref": "84" + }, + { + "$ref": "90" + }, + { + "$id": "104", + "kind": "model", + "name": "ErrorResponse", + "namespace": "Azure.ResourceManager.CommonTypes", + "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": "247", - "kind": "property", - "name": "identity", - "serializedName": "identity", - "doc": "The managed service identities assigned to this resource.", - "type": { - "$id": "248", - "kind": "model", - "name": "ManagedServiceIdentity", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", - "usage": "Output,Json", - "doc": "Managed service identity (system assigned and/or user assigned identities)", - "decorators": [], - "properties": [ - { - "$id": "249", - "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": "250", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "251", - "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": { - "$id": "252", - "json": { - "$id": "253", - "name": "principalId" - } - } - }, - { - "$id": "254", - "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": "255", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "256", - "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": { - "$id": "257", - "json": { - "$id": "258", - "name": "tenantId" - } - } - }, - { - "$id": "259", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of managed identity assigned to this resource.", - "type": { - "$ref": "14" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, + "$id": "105", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "The error object.", + "type": { + "$id": "106", + "kind": "model", + "name": "ErrorDetail", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The error detail.", "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.type", - "serializationOptions": { - "$id": "260", - "json": { - "$id": "261", - "name": "type" - } - } - }, - { - "$id": "262", - "kind": "property", - "name": "userAssignedIdentities", - "serializedName": "userAssignedIdentities", - "doc": "The identities assigned to this resource by the user.", - "type": { - "$id": "263", - "kind": "dict", - "keyType": { - "$id": "264", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "valueType": { - "$id": "265", - "kind": "nullable", - "type": { - "$id": "266", - "kind": "model", - "name": "UserAssignedIdentity", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", - "usage": "Output,Json", - "doc": "User assigned identity properties", - "decorators": [], - "properties": [ - { - "$id": "267", - "kind": "property", - "name": "principalId", - "serializedName": "principalId", - "doc": "The principal ID of the assigned identity.", - "type": { - "$id": "268", + "properties": [ + { + "$id": "107", + "kind": "property", + "name": "code", + "serializedName": "code", + "doc": "The error code.", + "type": { + "$id": "108", "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "269", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.principalId", - "serializationOptions": { - "$id": "270", + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.code", + "serializationOptions": { "json": { - "$id": "271", - "name": "principalId" + "name": "code" } - } + } + }, + { + "$id": "109", + "kind": "property", + "name": "message", + "serializedName": "message", + "doc": "The error message.", + "type": { + "$id": "110", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, - { - "$id": "272", - "kind": "property", - "name": "clientId", - "serializedName": "clientId", - "doc": "The client ID of the assigned identity.", - "type": { - "$id": "273", + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.message", + "serializationOptions": { + "json": { + "name": "message" + } + } + }, + { + "$id": "111", + "kind": "property", + "name": "target", + "serializedName": "target", + "doc": "The error target.", + "type": { + "$id": "112", "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "274", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "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" + } + } + }, + { + "$id": "113", + "kind": "property", + "name": "details", + "serializedName": "details", + "doc": "The error details.", + "type": { + "$id": "114", + "kind": "array", + "name": "ArrayErrorDetail", + "valueType": { + "$ref": "106" }, + "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity.clientId", - "serializationOptions": { - "$id": "275", + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.details", + "serializationOptions": { "json": { - "$id": "276", - "name": "clientId" + "name": "details" } - } } - ] }, - "namespace": "" - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", - "serializationOptions": { - "$id": "277", - "json": { - "$id": "278", - "name": "userAssignedIdentities" - } + { + "$id": "115", + "kind": "property", + "name": "additionalInfo", + "serializedName": "additionalInfo", + "doc": "The error additional info.", + "type": { + "$id": "116", + "kind": "array", + "name": "ArrayErrorAdditionalInfo", + "valueType": { + "$id": "117", + "kind": "model", + "name": "ErrorAdditionalInfo", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorAdditionalInfo", + "usage": "Output,Json,Exception,LroInitial,LroPolling,LroFinalEnvelope", + "doc": "The resource management error additional info.", + "decorators": [], + "properties": [ + { + "$id": "118", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The additional info type.", + "type": { + "$id": "119", + "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" + } + } + }, + { + "$id": "120", + "kind": "property", + "name": "info", + "serializedName": "info", + "doc": "The additional info.", + "type": { + "$id": "121", + "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" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorDetail.additionalInfo", + "serializationOptions": { + "json": { + "name": "additionalInfo" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ErrorResponse.error", + "serializationOptions": { + "json": { + "name": "error" } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.identity", - "serializationOptions": { - "$id": "279", - "json": { - "$id": "280", - "name": "identity" } - } } - ] - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", - "serializationOptions": { - "$id": "281", - "json": { - "$id": "282", - "name": "value" - } - } + ] }, { - "$id": "283", - "kind": "property", - "name": "nextLink", - "serializedName": "nextLink", - "doc": "The link to the next page of items", - "type": { - "$id": "284", - "kind": "url", - "name": "ResourceLocation", - "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", - "baseType": { - "$id": "285", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", - "serializationOptions": { - "$id": "286", - "json": { - "$id": "287", - "name": "nextLink" - } - } - } - ] - }, - { - "$ref": "182" - }, - { - "$ref": "230" - }, - { - "$ref": "248" - }, - { - "$ref": "266" - }, - { - "$ref": "185" - }, - { - "$ref": "186" - }, - { - "$ref": "202" - }, - { - "$id": "288", - "kind": "model", - "name": "StartParameterBody", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.start.Parameter.body.anonymous", - "usage": "Input", - "decorators": [], - "properties": [] - }, - { - "$id": "289", - "kind": "model", - "name": "StartRequest", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest", - "usage": "Input,Json", - "doc": "Start SAP instance(s) request body.", - "decorators": [], - "properties": [ - { - "$id": "290", - "kind": "property", - "name": "startVm", - "serializedName": "startVm", - "doc": "The boolean value indicates whether to start the virtual machines before starting the SAP instances.", - "type": { - "$id": "291", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest.startVm", - "serializationOptions": { - "$id": "292", - "json": { - "$id": "293", - "name": "startVm" - } - } - } - ] - }, - { - "$id": "294", - "kind": "model", - "name": "OperationStatusResult", - "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult", - "usage": "Output,Json,LroInitial,LroFinalEnvelope", - "doc": "The current status of an async operation.", - "decorators": [], - "properties": [ - { - "$id": "295", - "kind": "property", - "name": "id", - "serializedName": "id", - "doc": "Fully qualified ID for the async operation.", - "type": { - "$id": "296", - "kind": "string", - "name": "armResourceIdentifier", - "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", - "baseType": { - "$id": "297", - "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": { - "$id": "298", - "json": { - "$id": "299", - "name": "id" - } - } + "$ref": "106" }, { - "$id": "300", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "Name of the async operation.", - "type": { - "$id": "301", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.name", - "serializationOptions": { - "$id": "302", - "json": { - "$id": "303", - "name": "name" - } - } + "$ref": "117" }, { - "$id": "304", - "kind": "property", - "name": "status", - "serializedName": "status", - "doc": "Operation status.", - "type": { - "$id": "305", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.status", - "serializationOptions": { - "$id": "306", - "json": { - "$id": "307", - "name": "status" - } - } + "$id": "122", + "kind": "model", + "name": "PrivateLinkResourceListResult", + "namespace": "Azure.ResourceManager", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a PrivateLinkResource list operation.", + "decorators": [], + "properties": [ + { + "$id": "123", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The PrivateLinkResource items on this page", + "type": { + "$id": "124", + "kind": "array", + "name": "ArrayPrivateLinkResource", + "valueType": { + "$id": "125", + "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": [ + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + } + ], + "baseModel": { + "$id": "126", + "kind": "model", + "name": "ProxyResource", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ProxyResource", + "usage": "Input,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": "127", + "kind": "model", + "name": "Resource", + "namespace": "Azure.ResourceManager.CommonTypes", + "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": "128", + "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": "129", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "130", + "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" + } + } + }, + { + "$id": "131", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the resource", + "type": { + "$id": "132", + "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" + } + } + }, + { + "$id": "133", + "kind": "property", + "name": "type", + "serializedName": "type", + "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "type": { + "$id": "134", + "kind": "string", + "name": "armResourceType", + "crossLanguageDefinitionId": "Azure.Core.armResourceType", + "baseType": { + "$id": "135", + "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" + } + } + }, + { + "$id": "136", + "kind": "property", + "name": "systemData", + "serializedName": "systemData", + "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "type": { + "$id": "137", + "kind": "model", + "name": "SystemData", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.SystemData", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "Metadata pertaining to creation and last modification of the resource.", + "decorators": [], + "properties": [ + { + "$id": "138", + "kind": "property", + "name": "createdBy", + "serializedName": "createdBy", + "doc": "The identity that created the resource.", + "type": { + "$id": "139", + "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" + } + } + }, + { + "$id": "140", + "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" + } + } + }, + { + "$id": "141", + "kind": "property", + "name": "createdAt", + "serializedName": "createdAt", + "doc": "The timestamp of resource creation (UTC).", + "type": { + "$id": "142", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "143", + "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" + } + } + }, + { + "$id": "144", + "kind": "property", + "name": "lastModifiedBy", + "serializedName": "lastModifiedBy", + "doc": "The identity that last modified the resource.", + "type": { + "$id": "145", + "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" + } + } + }, + { + "$id": "146", + "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" + } + } + }, + { + "$id": "147", + "kind": "property", + "name": "lastModifiedAt", + "serializedName": "lastModifiedAt", + "doc": "The timestamp of resource last modification (UTC)", + "type": { + "$id": "148", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "149", + "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" + } + } + } + ] + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.Resource.systemData", + "serializationOptions": { + "json": { + "name": "systemData" + } + } + } + ] + }, + "properties": [] + }, + "properties": [ + { + "$id": "150", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "151", + "kind": "model", + "name": "PrivateLinkResourceProperties", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties", + "usage": "Output,Json", + "doc": "Properties of a private link resource.", + "decorators": [], + "properties": [ + { + "$id": "152", + "kind": "property", + "name": "groupId", + "serializedName": "groupId", + "doc": "The private link resource group id.", + "type": { + "$id": "153", + "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" + } + } + }, + { + "$id": "154", + "kind": "property", + "name": "requiredMembers", + "serializedName": "requiredMembers", + "doc": "The private link resource required member names.", + "type": { + "$id": "155", + "kind": "array", + "name": "Array", + "valueType": { + "$id": "156", + "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" + } + } + }, + { + "$id": "157", + "kind": "property", + "name": "requiredZoneNames", + "serializedName": "requiredZoneNames", + "doc": "The private link resource private link DNS zone name.", + "type": { + "$ref": "155" + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.PrivateLinkResourceProperties.requiredZoneNames", + "serializationOptions": { + "json": { + "name": "requiredZoneNames" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + } + }, + { + "$id": "158", + "kind": "path", + "name": "name", + "serializedName": "name", + "doc": "The name of the private link associated with the Azure resource.", + "type": { + "$id": "159", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.name", + "explode": false, + "style": "simple", + "allowReserved": false, + "correspondingMethodParams": [] + }, + { + "$id": "160", + "kind": "property", + "name": "identity", + "serializedName": "identity", + "doc": "The managed service identities assigned to this resource.", + "type": { + "$id": "161", + "kind": "model", + "name": "ManagedServiceIdentity", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity", + "usage": "Output,Json", + "doc": "Managed service identity (system assigned and/or user assigned identities)", + "decorators": [], + "properties": [ + { + "$id": "162", + "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": "163", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "164", + "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" + } + } + }, + { + "$id": "165", + "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": "166", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "167", + "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" + } + } + }, + { + "$id": "168", + "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" + } + } + }, + { + "$id": "169", + "kind": "property", + "name": "userAssignedIdentities", + "serializedName": "userAssignedIdentities", + "doc": "The identities assigned to this resource by the user.", + "type": { + "$id": "170", + "kind": "dict", + "keyType": { + "$id": "171", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "172", + "kind": "nullable", + "type": { + "$id": "173", + "kind": "model", + "name": "UserAssignedIdentity", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.UserAssignedIdentity", + "usage": "Output,Json", + "doc": "User assigned identity properties", + "decorators": [], + "properties": [ + { + "$id": "174", + "kind": "property", + "name": "principalId", + "serializedName": "principalId", + "doc": "The principal ID of the assigned identity.", + "type": { + "$id": "175", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "176", + "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" + } + } + }, + { + "$id": "177", + "kind": "property", + "name": "clientId", + "serializedName": "clientId", + "doc": "The client ID of the assigned identity.", + "type": { + "$id": "178", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "179", + "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" + } + } + } + ] + }, + "namespace": "" + }, + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ManagedServiceIdentity.userAssignedIdentities", + "serializationOptions": { + "json": { + "name": "userAssignedIdentities" + } + } + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinkResource.identity", + "serializationOptions": { + "json": { + "name": "identity" + } + } + } + ] + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + } + }, + { + "$id": "180", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", + "type": { + "$id": "181", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "182", + "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" + } + } + } + ] }, { - "$id": "308", - "kind": "property", - "name": "percentComplete", - "serializedName": "percentComplete", - "doc": "Percent of the operation that is complete.", - "type": { - "$id": "309", - "kind": "float64", - "name": "float64", - "crossLanguageDefinitionId": "TypeSpec.float64", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.percentComplete", - "serializationOptions": { - "$id": "310", - "json": { - "$id": "311", - "name": "percentComplete" - } - } + "$ref": "125" }, { - "$id": "312", - "kind": "property", - "name": "startTime", - "serializedName": "startTime", - "doc": "The start time of the operation.", - "type": { - "$id": "313", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "314", - "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": { - "$id": "315", - "json": { - "$id": "316", - "name": "startTime" - } - } + "$ref": "151" }, { - "$id": "317", - "kind": "property", - "name": "endTime", - "serializedName": "endTime", - "doc": "The end time of the operation.", - "type": { - "$id": "318", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "319", - "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": { - "$id": "320", - "json": { - "$id": "321", - "name": "endTime" - } - } + "$ref": "161" }, { - "$id": "322", - "kind": "property", - "name": "operations", - "serializedName": "operations", - "doc": "The operations list.", - "type": { - "$id": "323", - "kind": "array", - "name": "ArrayOperationStatusResult", - "valueType": { - "$ref": "294" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.operations", - "serializationOptions": { - "$id": "324", - "json": { - "$id": "325", - "name": "operations" - } - } + "$ref": "173" }, { - "$id": "326", - "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "If present, details of the operation error.", - "type": { - "$ref": "147" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.error", - "serializationOptions": { - "$id": "327", - "json": { - "$id": "328", - "name": "error" - } - } + "$ref": "126" }, { - "$id": "329", - "kind": "property", - "name": "resourceId", - "serializedName": "resourceId", - "doc": "Fully qualified ID of the resource against which the original async operation was started.", - "type": { - "$id": "330", - "kind": "string", - "name": "armResourceIdentifier", - "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", - "baseType": { - "$id": "331", - "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": { - "$id": "332", - "json": { - "$id": "333", - "name": "resourceId" - } - } - } - ] - }, - { - "$id": "334", - "kind": "model", - "name": "ArmOperationStatusResourceProvisioningState", - "namespace": "Azure.ResourceManager", - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", - "usage": "LroPolling", - "doc": "Standard Azure Resource Manager operation status response", - "decorators": [], - "properties": [ - { - "$id": "335", - "kind": "property", - "name": "status", - "serializedName": "status", - "doc": "The operation status", - "type": { - "$ref": "34" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", - "serializationOptions": { - "$id": "336", - "json": { - "$id": "337", - "name": "status" - } - } + "$ref": "127" }, { - "$id": "338", - "kind": "path", - "name": "id", - "serializedName": "id", - "doc": "The unique identifier for the operationStatus resource", - "type": { - "$id": "339", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.id", - "explode": false, - "style": "simple", - "allowReserved": false, - "correspondingMethodParams": [] + "$ref": "137" }, { - "$id": "340", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the operationStatus resource", - "type": { - "$id": "341", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", - "serializationOptions": { - "$id": "342", - "json": { - "$id": "343", - "name": "name" - } - } + "$id": "183", + "kind": "model", + "name": "StartParameterBody", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.start.Parameter.body.anonymous", + "usage": "Input", + "decorators": [], + "properties": [] }, { - "$id": "344", - "kind": "property", - "name": "startTime", - "serializedName": "startTime", - "doc": "Operation start time", - "type": { - "$id": "345", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "346", - "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": { - "$id": "347", - "json": { - "$id": "348", - "name": "startTime" - } - } + "$id": "184", + "kind": "model", + "name": "StartRequest", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.StartRequest", + "usage": "Input,Json", + "doc": "Start SAP instance(s) request body.", + "decorators": [], + "properties": [ + { + "$id": "185", + "kind": "property", + "name": "startVm", + "serializedName": "startVm", + "doc": "The boolean value indicates whether to start the virtual machines before starting the SAP instances.", + "type": { + "$id": "186", + "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" + } + } + } + ] }, { - "$id": "349", - "kind": "property", - "name": "endTime", - "serializedName": "endTime", - "doc": "Operation complete time", - "type": { - "$id": "350", - "kind": "utcDateTime", - "name": "utcDateTime", - "encode": "rfc3339", - "wireType": { - "$id": "351", - "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": { - "$id": "352", - "json": { - "$id": "353", - "name": "endTime" - } - } - }, - { - "$id": "354", - "kind": "property", - "name": "percentComplete", - "serializedName": "percentComplete", - "doc": "The progress made toward completing the operation", - "type": { - "$id": "355", - "kind": "float64", - "name": "float64", - "crossLanguageDefinitionId": "TypeSpec.float64", - "decorators": [] - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", - "serializationOptions": { - "$id": "356", - "json": { - "$id": "357", - "name": "percentComplete" - } - } - }, - { - "$id": "358", - "kind": "property", - "name": "error", - "serializedName": "error", - "doc": "Errors that occurred if the operation ended with Canceled or Failed status", - "type": { - "$ref": "147" - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", - "serializationOptions": { - "$id": "359", - "json": { - "$id": "360", - "name": "error" - } - } - } - ] - }, - { - "$id": "361", - "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": [ - { - "$id": "362", - "name": "Azure.ResourceManager.Private.@armResourceInternal", - "arguments": { - "$id": "363" - } - } - ], - "baseModel": { - "$id": "364", - "kind": "model", - "name": "TrackedResource", - "namespace": "Azure.ResourceManager.CommonTypes", - "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": "186" - }, - "properties": [ - { - "$id": "365", - "kind": "property", - "name": "tags", - "serializedName": "tags", - "doc": "Resource tags.", - "type": { - "$id": "366", - "kind": "dict", - "keyType": { - "$id": "367", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "valueType": { - "$id": "368", - "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": { - "$id": "369", - "json": { - "$id": "370", - "name": "tags" - } - } - }, - { - "$id": "371", - "kind": "property", - "name": "location", - "serializedName": "location", - "doc": "The geo-location where the resource lives", - "type": { - "$id": "372", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", - "serializationOptions": { - "$id": "373", - "json": { - "$id": "374", - "name": "location" - } - } - } - ] - }, - "properties": [ - { - "$id": "375", - "kind": "property", - "name": "properties", - "serializedName": "properties", - "doc": "The resource-specific properties for this resource.", - "type": { - "$id": "376", - "kind": "model", - "name": "FooProperties", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties", - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "decorators": [ - { - "$id": "377", - "name": "Azure.ClientGenerator.Core.@useSystemTextJsonConverter", - "arguments": { - "$id": "378", - "scope": "csharp" - } - } - ], - "properties": [ - { - "$id": "379", - "kind": "property", - "name": "serviceUrl", - "serializedName": "serviceUrl", - "doc": "the service url", - "type": { - "$id": "380", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.serviceUrl", - "serializationOptions": { - "$id": "381", - "json": { - "$id": "382", - "name": "serviceUrl" - } - } - }, - { - "$id": "383", - "kind": "property", - "name": "something", - "serializedName": "something", - "doc": "something", - "type": { - "$id": "384", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.something", - "serializationOptions": { - "$id": "385", - "json": { - "$id": "386", - "name": "something" - } - } - }, - { - "$id": "387", - "kind": "property", - "name": "boolValue", - "serializedName": "boolValue", - "doc": "boolean value", - "type": { - "$id": "388", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.boolValue", - "serializationOptions": { - "$id": "389", - "json": { - "$id": "390", - "name": "boolValue" - } - } - }, - { - "$id": "391", - "kind": "property", - "name": "floatValue", - "serializedName": "floatValue", - "doc": "float value", - "type": { - "$id": "392", - "kind": "float32", - "name": "float32", - "crossLanguageDefinitionId": "TypeSpec.float32", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.floatValue", - "serializationOptions": { - "$id": "393", - "json": { - "$id": "394", - "name": "floatValue" - } - } - }, - { - "$id": "395", - "kind": "property", - "name": "doubleValue", - "serializedName": "doubleValue", - "doc": "double value", - "type": { - "$id": "396", - "kind": "float64", - "name": "float64", - "crossLanguageDefinitionId": "TypeSpec.float64", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.doubleValue", - "serializationOptions": { - "$id": "397", - "json": { - "$id": "398", - "name": "doubleValue" - } - } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.properties", - "serializationOptions": { - "$id": "399", - "json": { - "$id": "400", - "name": "properties" - } - } - }, - { - "$id": "401", - "kind": "path", - "name": "name", - "serializedName": "name", - "doc": "The name of the Foo", - "type": { - "$id": "402", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": true, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.name", - "explode": false, - "style": "simple", - "allowReserved": false, - "correspondingMethodParams": [] - }, - { - "$id": "403", - "kind": "property", - "name": "extendedLocation", - "serializedName": "extendedLocation", - "type": { - "$id": "404", + "$id": "187", "kind": "model", - "name": "ExtendedLocation", + "name": "OperationStatusResult", "namespace": "Azure.ResourceManager.CommonTypes", - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation", - "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", - "doc": "The complex type of the extended location.", - "decorators": [], - "properties": [ - { - "$id": "405", - "kind": "property", - "name": "name", - "serializedName": "name", - "doc": "The name of the extended location.", - "type": { - "$id": "406", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.name", - "serializationOptions": { - "$id": "407", - "json": { - "$id": "408", - "name": "name" - } - } - }, - { - "$id": "409", - "kind": "property", - "name": "type", - "serializedName": "type", - "doc": "The type of the extended location.", - "type": { - "$ref": "42" - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation.type", - "serializationOptions": { - "$id": "410", - "json": { - "$id": "411", - "name": "type" - } - } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.extendedLocation", - "serializationOptions": { - "$id": "412", - "json": { - "$id": "413", - "name": "extendedLocation" - } - } - } - ] - }, - { - "$ref": "376" - }, - { - "$ref": "404" - }, - { - "$ref": "364" - }, - { - "$id": "414", - "kind": "model", - "name": "FooTagsUpdate", - "namespace": "Azure.ResourceManager.Foundations", - "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.TagsUpdateModel", - "usage": "Input,Json", - "doc": "The type used for updating tags in Foo resources.", - "decorators": [], - "properties": [ - { - "$id": "415", - "kind": "property", - "name": "tags", - "serializedName": "tags", - "doc": "Resource tags.", - "type": { - "$ref": "366" - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.TagsUpdateModel.tags", - "serializationOptions": { - "$id": "416", - "json": { - "$id": "417", - "name": "tags" - } - } - } - ] - }, - { - "$id": "418", - "kind": "model", - "name": "FooListResult", - "namespace": "Azure.ResourceManager", - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", - "usage": "Output,Json", - "doc": "The response of a Foo list operation.", - "decorators": [], - "properties": [ - { - "$id": "419", - "kind": "property", - "name": "value", - "serializedName": "value", - "doc": "The Foo items on this page", - "type": { - "$id": "420", - "kind": "array", - "name": "ArrayFoo", - "valueType": { - "$ref": "361" - }, - "crossLanguageDefinitionId": "TypeSpec.Array", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", - "serializationOptions": { - "$id": "421", - "json": { - "$id": "422", - "name": "value" - } - } - }, - { - "$id": "423", - "kind": "property", - "name": "nextLink", - "serializedName": "nextLink", - "doc": "The link to the next page of items", - "type": { - "$id": "424", - "kind": "url", - "name": "ResourceLocation", - "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", - "baseType": { - "$id": "425", - "kind": "url", - "name": "url", - "crossLanguageDefinitionId": "TypeSpec.url", - "decorators": [] - }, - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", - "serializationOptions": { - "$id": "426", - "json": { - "$id": "427", - "name": "nextLink" - } - } - } - ] - }, - { - "$id": "428", - "kind": "model", - "name": "FooSettings", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettings", - "usage": "Input,Output,Json", - "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", - "decorators": [ - { - "$id": "429", - "name": "Azure.ResourceManager.Private.@armResourceInternal", - "arguments": { - "$id": "430" - } - }, - { - "$id": "431", - "name": "Azure.ResourceManager.@singleton", - "arguments": { - "$id": "432" - } - } - ], - "baseModel": { - "$ref": "185" - }, - "properties": [ - { - "$id": "433", - "kind": "property", - "name": "properties", - "serializedName": "properties", - "doc": "The resource-specific properties for this resource.", - "type": { - "$id": "434", - "kind": "model", - "name": "FooSettingsProperties", - "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsProperties", - "usage": "Input,Output,Json", - "decorators": [], - "properties": [ - { - "$id": "435", - "kind": "property", - "name": "accessControlEnabled", - "serializedName": "accessControlEnabled", - "type": { - "$id": "436", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": false, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsProperties.accessControlEnabled", - "serializationOptions": { - "$id": "437", - "json": { - "$id": "438", - "name": "accessControlEnabled" - } - } - }, - { - "$id": "439", - "kind": "property", - "name": "provisioningState", - "serializedName": "provisioningState", - "type": { - "$ref": "34" - }, - "optional": true, - "readOnly": true, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsProperties.provisioningState", - "serializationOptions": { - "$id": "440", - "json": { - "$id": "441", - "name": "provisioningState" - } - } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettings.properties", - "serializationOptions": { - "$id": "442", - "json": { - "$id": "443", - "name": "properties" - } - } - }, - { - "$id": "444", - "kind": "path", - "name": "name", - "serializedName": "name", - "doc": "The default Foo settings.", - "type": { - "$id": "445", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "optional": false, - "readOnly": true, - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettings.name", - "explode": false, - "style": "simple", - "allowReserved": false, - "correspondingMethodParams": [] - } - ] - }, - { - "$ref": "434" - }, - { - "$id": "446", - "kind": "model", - "name": "FooSettingsUpdate", - "namespace": "Azure.ResourceManager.Foundations", - "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", - "usage": "Input,Json", - "doc": "The type used for update operations of the FooSettings.", - "decorators": [], - "properties": [ - { - "$id": "447", - "kind": "property", - "name": "properties", - "serializedName": "properties", - "doc": "The resource-specific properties for this resource.", - "type": { - "$id": "448", - "kind": "model", - "name": "FooSettingsUpdateProperties", - "namespace": "Azure.ResourceManager.Foundations", - "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", - "usage": "Input,Json", - "doc": "The updatable properties of the FooSettings.", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult", + "usage": "Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The current status of an async operation.", "decorators": [], "properties": [ - { - "$id": "449", - "kind": "property", - "name": "accessControlEnabled", - "serializedName": "accessControlEnabled", - "type": { - "$id": "450", - "kind": "boolean", - "name": "boolean", - "crossLanguageDefinitionId": "TypeSpec.boolean", - "decorators": [] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.accessControlEnabled", - "serializationOptions": { - "$id": "451", - "json": { - "$id": "452", - "name": "accessControlEnabled" - } - } - } - ] - }, - "optional": true, - "readOnly": false, - "discriminator": false, - "flatten": false, - "decorators": [], - "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", - "serializationOptions": { - "$id": "453", - "json": { - "$id": "454", - "name": "properties" - } - } - } - ] - }, - { - "$ref": "448" - } - ], - "clients": [ - { - "$id": "455", - "kind": "client", - "name": "MgmtTypeSpecClient", - "namespace": "MgmtTypeSpec", - "methods": [], - "parameters": [ - { - "$id": "456", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "457", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "$id": "458", - "type": { - "$id": "459", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "$id": "460", - "name": "Azure.ResourceManager.@armProviderNamespace", - "arguments": { - "$id": "461" - } - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec", - "apiVersions": [ - "2024-05-01" - ], - "children": [ - { - "$id": "462", - "kind": "client", - "name": "Operations", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "463", - "kind": "paging", - "name": "list", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "List the operations for the provider", - "operation": { - "$id": "464", - "name": "list", - "resourceName": "Operations", - "doc": "List the operations for the provider", - "accessibility": "public", - "parameters": [ - { - "$id": "465", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", + { + "$id": "188", + "kind": "property", + "name": "id", + "serializedName": "id", + "doc": "Fully qualified ID for the async operation.", "type": { - "$id": "466", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "467", - "type": { - "$id": "468", + "$id": "189", "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "469", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "52" + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "190", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "470", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "100" - }, - "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": "471", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "52" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "472", - "type": { - "$ref": "102" - }, - "resultSegments": [ - "value" - ] - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", - "pagingMetadata": { - "$id": "473", - "itemPropertySegments": [ - "value" - ], - "nextLink": { - "$id": "474", - "responseSegments": [ - "nextLink" - ], - "responseLocation": "Body" - } - } - } - ], - "parameters": [ - { - "$id": "475", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "476", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "$id": "477", - "type": { - "$id": "478", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.id", + "serializationOptions": { + "json": { + "name": "id" + } + } }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [], - "crossLanguageDefinitionId": "MgmtTypeSpec.Operations", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "455" - } - }, - { - "$id": "479", - "kind": "client", - "name": "PrivateLinks", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "480", - "kind": "paging", - "name": "GetAllPrivateLinkResources", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "list private links on the given resource", - "operation": { - "$id": "481", - "name": "GetAllPrivateLinkResources", - "resourceName": "PrivateLinkResource", - "doc": "list private links on the given resource", - "accessibility": "public", - "parameters": [ - { - "$id": "482", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", + { + "$id": "191", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "Name of the async operation.", "type": { - "$id": "483", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "484", - "type": { - "$id": "485", + "$id": "192", "kind": "string", "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "486", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.name", + "serializationOptions": { + "json": { + "name": "name" + } + } + }, + { + "$id": "193", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "Operation status.", "type": { - "$id": "487", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "488", + "$id": "194", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] - }, - "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "489", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.status", + "serializationOptions": { + "json": { + "name": "status" + } + } + }, + { + "$id": "195", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "Percent of the operation that is complete.", "type": { - "$id": "490", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "196", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "491", - "name": "accept", - "nameInRequest": "Accept", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.percentComplete", + "serializationOptions": { + "json": { + "name": "percentComplete" + } + } + }, + { + "$id": "197", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "The start time of the operation.", "type": { - "$ref": "54" + "$id": "198", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "199", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "492", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "179" - }, - "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": "493", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "494", - "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 + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.startTime", + "serializationOptions": { + "json": { + "name": "startTime" + } + } }, { - "$id": "495", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "54" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "496", - "type": { - "$ref": "181" - }, - "resultSegments": [ - "value" - ] - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster", - "pagingMetadata": { - "$id": "497", - "itemPropertySegments": [ - "value" - ], - "nextLink": { - "$id": "498", - "responseSegments": [ - "nextLink" - ], - "responseLocation": "Body" - } - } - }, - { - "$id": "499", - "kind": "lro", - "name": "start", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Starts the SAP Application Server Instance.", - "operation": { - "$id": "500", - "name": "start", - "resourceName": "PrivateLinks", - "doc": "Starts the SAP Application Server Instance.", - "accessibility": "public", - "parameters": [ - { - "$id": "501", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", + "$id": "200", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "The end time of the operation.", "type": { - "$id": "502", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "503", - "type": { - "$id": "504", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" + "$id": "201", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "202", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "505", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.endTime", + "serializationOptions": { + "json": { + "name": "endTime" + } + } + }, + { + "$id": "203", + "kind": "property", + "name": "operations", + "serializedName": "operations", + "doc": "The operations list.", "type": { - "$id": "506", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "507", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "204", + "kind": "array", + "name": "ArrayOperationStatusResult", + "valueType": { + "$ref": "187" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] - }, - "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "508", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.operations", + "serializationOptions": { + "json": { + "name": "operations" + } + } + }, + { + "$id": "205", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "If present, details of the operation error.", "type": { - "$id": "509", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$ref": "106" }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "510", - "name": "privateLinkResourceName", - "nameInRequest": "privateLinkResourceName", - "doc": "The name of the private link associated with the Azure resource.", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.error", + "serializationOptions": { + "json": { + "name": "error" + } + } + }, + { + "$id": "206", + "kind": "property", + "name": "resourceId", + "serializedName": "resourceId", + "doc": "Fully qualified ID of the resource against which the original async operation was started.", "type": { - "$id": "511", - "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": "512", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "56" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "513", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "58" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "514", - "name": "body", - "nameInRequest": "body", - "doc": "SAP Application server instance start request body.", - "type": { - "$ref": "289" + "$id": "207", + "kind": "string", + "name": "armResourceIdentifier", + "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", + "baseType": { + "$id": "208", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "decorators": [] }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Method", + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "515", - "statusCodes": [ - 202 - ], - "headers": [ - { - "$id": "516", - "name": "location", - "nameInResponse": "Location", - "doc": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": { - "$id": "517", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - }, - { - "$id": "518", - "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": "519", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.OperationStatusResult.resourceId", + "serializationOptions": { + "json": { + "name": "resourceId" } - } - ], - "isErrorResponse": false - }, - { - "$id": "520", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "294" - }, - "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": "521", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "522", - "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": "523", - "name": "privateLinkResourceName", - "nameInRequest": "privateLinkResourceName", - "doc": "The name of the private link associated with the Azure resource.", - "type": { - "$id": "524", - "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": "525", - "name": "body", - "nameInRequest": "body", - "doc": "The content of the action request", - "type": { - "$ref": "288" - }, - "location": "", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "526", - "name": "contentType", - "nameInRequest": "contentType", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "60" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": false, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "527", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "62" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "528", - "type": { - "$ref": "294" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start", - "lroMetadata": { - "$id": "529", - "finalStateVia": 1, - "finalResponse": { - "$id": "530", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "294" - } + } } - } - } - ], - "parameters": [ - { - "$id": "531", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "532", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "$id": "533", - "type": { - "$id": "534", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "$id": "535", - "name": "Azure.ResourceManager.@armResourceOperations", - "arguments": { - "$id": "536" - } - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "455" - } + ] }, { - "$id": "537", - "kind": "client", - "name": "Foos", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "538", - "kind": "lro", - "name": "createOrUpdate", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Create a Foo", - "operation": { - "$id": "539", - "name": "createOrUpdate", - "resourceName": "Foo", - "doc": "Create a Foo", - "accessibility": "public", - "parameters": [ - { - "$id": "540", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", + "$id": "209", + "kind": "model", + "name": "ArmOperationStatusResourceProvisioningState", + "namespace": "Azure.ResourceManager", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus", + "usage": "LroPolling", + "doc": "Standard Azure Resource Manager operation status response", + "decorators": [], + "properties": [ + { + "$id": "210", + "kind": "property", + "name": "status", + "serializedName": "status", + "doc": "The operation status", "type": { - "$id": "541", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "542", - "type": { - "$id": "543", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" + "$ref": "21" }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "544", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.status", + "serializationOptions": { + "json": { + "name": "status" + } + } + }, + { + "$id": "211", + "kind": "path", + "name": "id", + "serializedName": "id", + "doc": "The unique identifier for the operationStatus resource", "type": { - "$id": "545", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "546", + "$id": "212", "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": "547", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "548", - "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": "549", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "550", - "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": "551", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "64" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "552", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "66" }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": false, + "readOnly": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "553", - "name": "resource", - "nameInRequest": "resource", - "doc": "Resource create parameters.", - "type": { - "$ref": "361" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.id", "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "554", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "361" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - }, - { - "$id": "555", - "statusCodes": [ - 201 - ], - "bodyType": { - "$ref": "361" - }, - "headers": [ - { - "$id": "556", - "name": "azureAsyncOperation", - "nameInResponse": "Azure-AsyncOperation", - "doc": "A link to the status monitor", - "type": { - "$id": "557", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - }, - { - "$id": "558", - "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": "559", - "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": [ - { - "$id": "560", - "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", - "arguments": { - "$id": "561" - } - } - ] - }, - "parameters": [ - { - "$id": "562", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "563", - "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": "564", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "565", - "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": "566", - "name": "resource", - "nameInRequest": "resource", - "doc": "Resource create parameters.", - "type": { - "$ref": "361" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "567", - "name": "contentType", - "nameInRequest": "contentType", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "68" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "style": "simple", + "allowReserved": false, + "correspondingMethodParams": [] }, { - "$id": "568", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "70" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "569", - "type": { - "$ref": "361" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate", - "lroMetadata": { - "$id": "570", - "finalStateVia": 0, - "finalResponse": { - "$id": "571", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "361" - } - } - } - }, - { - "$id": "572", - "kind": "basic", - "name": "get", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Get a Foo", - "operation": { - "$id": "573", - "name": "get", - "resourceName": "Foo", - "doc": "Get a Foo", - "accessibility": "public", - "parameters": [ - { - "$id": "574", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "575", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "576", - "type": { - "$id": "577", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "578", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "$id": "213", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the operationStatus resource", "type": { - "$id": "579", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "580", + "$id": "214", "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": "581", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "582", - "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": "583", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "584", - "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": "585", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "72" }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "586", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "361" - }, - "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": [ - { - "$id": "587", - "name": "Azure.ResourceManager.@armResourceRead", - "arguments": { - "$id": "588" + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.name", + "serializationOptions": { + "json": { + "name": "name" + } } - } - ] - }, - "parameters": [ - { - "$id": "589", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "590", - "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": "591", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "592", - "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": "593", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "72" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "594", - "type": { - "$ref": "361" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get" - }, - { - "$id": "595", - "kind": "lro", - "name": "delete", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Delete a Foo", - "operation": { - "$id": "596", - "name": "delete", - "resourceName": "Foo", - "doc": "Delete a Foo", - "accessibility": "public", - "parameters": [ - { - "$id": "597", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "598", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "599", - "type": { - "$id": "600", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "601", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "$id": "215", + "kind": "property", + "name": "startTime", + "serializedName": "startTime", + "doc": "Operation start time", "type": { - "$id": "602", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "603", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", + "$id": "216", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "217", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", "decorators": [] - }, - "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "604", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.startTime", + "serializationOptions": { + "json": { + "name": "startTime" + } + } + }, + { + "$id": "218", + "kind": "property", + "name": "endTime", + "serializedName": "endTime", + "doc": "Operation complete time", "type": { - "$id": "605", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "219", + "kind": "utcDateTime", + "name": "utcDateTime", + "encode": "rfc3339", + "wireType": { + "$id": "220", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "crossLanguageDefinitionId": "TypeSpec.utcDateTime", + "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "606", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.endTime", + "serializationOptions": { + "json": { + "name": "endTime" + } + } + }, + { + "$id": "221", + "kind": "property", + "name": "percentComplete", + "serializedName": "percentComplete", + "doc": "The progress made toward completing the operation", "type": { - "$id": "607", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "222", + "kind": "float64", + "name": "float64", + "crossLanguageDefinitionId": "TypeSpec.float64", + "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "608", - "name": "accept", - "nameInRequest": "Accept", + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.percentComplete", + "serializationOptions": { + "json": { + "name": "percentComplete" + } + } + }, + { + "$id": "223", + "kind": "property", + "name": "error", + "serializedName": "error", + "doc": "Errors that occurred if the operation ended with Canceled or Failed status", "type": { - "$ref": "74" + "$ref": "106" }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "609", - "statusCodes": [ - 202 - ], - "headers": [ - { - "$id": "610", - "name": "location", - "nameInResponse": "Location", - "doc": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": { - "$id": "611", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - }, - { - "$id": "612", - "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": "613", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "crossLanguageDefinitionId": "Azure.ResourceManager.ArmOperationStatus.error", + "serializationOptions": { + "json": { + "name": "error" } - } - ], - "isErrorResponse": false - }, - { - "$id": "614", - "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": "615", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "616", - "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": "617", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "618", - "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": "619", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "76" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + } } - ], - "response": { - "$id": "620" - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete", - "lroMetadata": { - "$id": "621", - "finalStateVia": 1, - "finalResponse": { - "$id": "622", - "statusCodes": [ - 204 - ] + ] + }, + { + "$id": "224", + "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": [ + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} } - } + ], + "baseModel": { + "$id": "225", + "kind": "model", + "name": "TrackedResource", + "namespace": "Azure.ResourceManager.CommonTypes", + "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": "127" + }, + "properties": [ + { + "$id": "226", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", + "type": { + "$id": "227", + "kind": "dict", + "keyType": { + "$id": "228", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "valueType": { + "$id": "229", + "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" + } + } + }, + { + "$id": "230", + "kind": "property", + "name": "location", + "serializedName": "location", + "doc": "The geo-location where the resource lives", + "type": { + "$id": "231", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.TrackedResource.location", + "serializationOptions": { + "json": { + "name": "location" + } + } + } + ] }, - { - "$id": "623", - "kind": "lro", - "name": "update", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Update a Foo", - "operation": { - "$id": "624", - "name": "update", - "resourceName": "Foo", - "doc": "Update a Foo", - "accessibility": "public", - "parameters": [ - { - "$id": "625", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", + "properties": [ + { + "$id": "232", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", "type": { - "$id": "626", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "627", - "type": { - "$id": "628", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" + "$id": "233", + "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": "234", + "kind": "property", + "name": "serviceUrl", + "serializedName": "serviceUrl", + "doc": "the service url", + "type": { + "$id": "235", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooProperties.serviceUrl", + "serializationOptions": { + "json": { + "name": "serviceUrl" + } + } + }, + { + "$id": "236", + "kind": "property", + "name": "something", + "serializedName": "something", + "doc": "something", + "type": { + "$id": "237", + "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" + } + } + }, + { + "$id": "238", + "kind": "property", + "name": "boolValue", + "serializedName": "boolValue", + "doc": "boolean value", + "type": { + "$id": "239", + "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" + } + } + }, + { + "$id": "240", + "kind": "property", + "name": "floatValue", + "serializedName": "floatValue", + "doc": "float value", + "type": { + "$id": "241", + "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" + } + } + }, + { + "$id": "242", + "kind": "property", + "name": "doubleValue", + "serializedName": "doubleValue", + "doc": "double value", + "type": { + "$id": "243", + "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" + } + } + } + ] }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "629", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + } + }, + { + "$id": "244", + "kind": "path", + "name": "name", + "serializedName": "name", + "doc": "The name of the Foo", "type": { - "$id": "630", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "631", + "$id": "245", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] - }, - "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", + "optional": false, + "readOnly": true, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "632", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "633", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.name", "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "634", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", + "style": "simple", + "allowReserved": false, + "correspondingMethodParams": [] + }, + { + "$id": "246", + "kind": "property", + "name": "extendedLocation", + "serializedName": "extendedLocation", "type": { - "$id": "635", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] + "$id": "247", + "kind": "model", + "name": "ExtendedLocation", + "namespace": "Azure.ResourceManager.CommonTypes", + "crossLanguageDefinitionId": "Azure.ResourceManager.CommonTypes.ExtendedLocation", + "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", + "doc": "The complex type of the extended location.", + "decorators": [], + "properties": [ + { + "$id": "248", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the extended location.", + "type": { + "$id": "249", + "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" + } + } + }, + { + "$id": "250", + "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" + } + } + } + ] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "636", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", + "crossLanguageDefinitionId": "MgmtTypeSpec.Foo.extendedLocation", + "serializationOptions": { + "json": { + "name": "extendedLocation" + } + } + } + ] + }, + { + "$ref": "233" + }, + { + "$ref": "247" + }, + { + "$ref": "225" + }, + { + "$id": "251", + "kind": "model", + "name": "FooTagsUpdate", + "namespace": "Azure.ResourceManager.Foundations", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.TagsUpdateModel", + "usage": "Input,Json", + "doc": "The type used for updating tags in Foo resources.", + "decorators": [], + "properties": [ + { + "$id": "252", + "kind": "property", + "name": "tags", + "serializedName": "tags", + "doc": "Resource tags.", "type": { - "$ref": "78" + "$ref": "227" }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "637", - "name": "accept", - "nameInRequest": "Accept", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.TagsUpdateModel.tags", + "serializationOptions": { + "json": { + "name": "tags" + } + } + } + ] + }, + { + "$id": "253", + "kind": "model", + "name": "FooListResult", + "namespace": "Azure.ResourceManager", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult", + "usage": "Output,Json", + "doc": "The response of a Foo list operation.", + "decorators": [], + "properties": [ + { + "$id": "254", + "kind": "property", + "name": "value", + "serializedName": "value", + "doc": "The Foo items on this page", "type": { - "$ref": "80" + "$id": "255", + "kind": "array", + "name": "ArrayFoo", + "valueType": { + "$ref": "224" + }, + "crossLanguageDefinitionId": "TypeSpec.Array", + "decorators": [] }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "638", - "name": "properties", - "nameInRequest": "properties", - "doc": "The resource properties to be updated.", + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.value", + "serializationOptions": { + "json": { + "name": "value" + } + } + }, + { + "$id": "256", + "kind": "property", + "name": "nextLink", + "serializedName": "nextLink", + "doc": "The link to the next page of items", "type": { - "$ref": "414" + "$id": "257", + "kind": "url", + "name": "ResourceLocation", + "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", + "baseType": { + "$id": "258", + "kind": "url", + "name": "url", + "crossLanguageDefinitionId": "TypeSpec.url", + "decorators": [] + }, + "decorators": [] }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "639", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "361" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - }, - { - "$id": "640", - "statusCodes": [ - 202 - ], - "headers": [ - { - "$id": "641", - "name": "location", - "nameInResponse": "Location", - "doc": "The Location header contains the URL where the status of the long running operation can be checked.", - "type": { - "$id": "642", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - } - }, - { - "$id": "643", - "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": "644", - "kind": "int32", - "name": "int32", - "crossLanguageDefinitionId": "TypeSpec.int32", - "decorators": [] + "crossLanguageDefinitionId": "Azure.ResourceManager.ResourceListResult.nextLink", + "serializationOptions": { + "json": { + "name": "nextLink" } - } - ], - "isErrorResponse": false - } - ], - "httpMethod": "PATCH", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", - "requestMediaTypes": [ - "application/json" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update", - "decorators": [] - }, - "parameters": [ - { - "$id": "645", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "646", - "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": "647", - "name": "fooName", - "nameInRequest": "fooName", - "doc": "The name of the Foo", - "type": { - "$id": "648", - "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": "649", - "name": "properties", - "nameInRequest": "properties", - "doc": "The resource properties to be updated.", - "type": { - "$ref": "414" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, + } + } + ] + }, + { + "$id": "259", + "kind": "model", + "name": "FooSettings", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettings", + "usage": "Input,Output,Json", + "doc": "Concrete proxy resource types can be created by aliasing this type using a specific property type.", + "decorators": [ { - "$id": "650", - "name": "contentType", - "nameInRequest": "contentType", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "82" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} }, { - "$id": "651", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "84" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "name": "Azure.ResourceManager.@singleton", + "arguments": {} } - ], - "response": { - "$id": "652", - "type": { - "$ref": "361" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update", - "lroMetadata": { - "$id": "653", - "finalStateVia": 1, - "finalResponse": { - "$id": "654", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "361" - } - } - } + ], + "baseModel": { + "$ref": "126" }, - { - "$id": "655", - "kind": "paging", - "name": "list", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "List Foo resources by resource group", - "operation": { - "$id": "656", - "name": "list", - "resourceName": "Foo", - "doc": "List Foo resources by resource group", - "accessibility": "public", - "parameters": [ - { - "$id": "657", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "658", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "659", - "type": { - "$id": "660", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "661", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "properties": [ + { + "$id": "260", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", "type": { - "$id": "662", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "663", - "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": "664", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "665", - "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": "666", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "86" + "$id": "261", + "kind": "model", + "name": "FooSettingsProperties", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsProperties", + "usage": "Input,Output,Json", + "decorators": [], + "properties": [ + { + "$id": "262", + "kind": "property", + "name": "accessControlEnabled", + "serializedName": "accessControlEnabled", + "type": { + "$id": "263", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsProperties.accessControlEnabled", + "serializationOptions": { + "json": { + "name": "accessControlEnabled" + } + } + }, + { + "$id": "264", + "kind": "property", + "name": "provisioningState", + "serializedName": "provisioningState", + "type": { + "$ref": "21" + }, + "optional": true, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsProperties.provisioningState", + "serializationOptions": { + "json": { + "name": "provisioningState" + } + } + } + ] }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "667", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "418" - }, - "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": "668", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "669", - "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 + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettings.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + } }, { - "$id": "670", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "86" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "671", - "type": { - "$ref": "420" - }, - "resultSegments": [ - "value" - ] - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list", - "pagingMetadata": { - "$id": "672", - "itemPropertySegments": [ - "value" - ], - "nextLink": { - "$id": "673", - "responseSegments": [ - "nextLink" - ], - "responseLocation": "Body" - } - } - } - ], - "parameters": [ - { - "$id": "674", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "675", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "$id": "676", - "type": { - "$id": "677", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "$id": "678", - "name": "Azure.ResourceManager.@armResourceOperations", - "arguments": { - "$id": "679" - } - }, - { - "$id": "680", - "name": "Azure.ClientGenerator.Core.@resourceSchema", - "arguments": { - "$id": "681", - "resourceModel": "MgmtTypeSpec.Foo", - "resourceClient": "MgmtTypeSpec.Foos", - "isSingleton": false, - "resourceType": "MgmtTypeSpec/foos", - "resourceScope": "ResourceGroup" - } - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec.Foos", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "455" - } - }, - { - "$id": "682", - "kind": "client", - "name": "FooSettingsOperations", - "namespace": "MgmtTypeSpec", - "methods": [ - { - "$id": "683", - "kind": "basic", - "name": "get", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Get a FooSettings", - "operation": { - "$id": "684", - "name": "get", - "resourceName": "FooSettings", - "doc": "Get a FooSettings", - "accessibility": "public", - "parameters": [ - { - "$id": "685", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "686", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "687", - "type": { - "$id": "688", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "689", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", + "$id": "265", + "kind": "path", + "name": "name", + "serializedName": "name", + "doc": "The default Foo settings.", "type": { - "$id": "690", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "691", + "$id": "266", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] - }, - "decorators": [] }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", + "optional": false, + "readOnly": true, "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "692", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "693", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Path", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettings.name", "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "694", - "name": "accept", - "nameInRequest": "Accept", + "style": "simple", + "allowReserved": false, + "correspondingMethodParams": [] + } + ] + }, + { + "$ref": "261" + }, + { + "$id": "267", + "kind": "model", + "name": "FooSettingsUpdate", + "namespace": "Azure.ResourceManager.Foundations", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel", + "usage": "Input,Json", + "doc": "The type used for update operations of the FooSettings.", + "decorators": [], + "properties": [ + { + "$id": "268", + "kind": "property", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", "type": { - "$ref": "88" + "$id": "269", + "kind": "model", + "name": "FooSettingsUpdateProperties", + "namespace": "Azure.ResourceManager.Foundations", + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties", + "usage": "Input,Json", + "doc": "The updatable properties of the FooSettings.", + "decorators": [], + "properties": [ + { + "$id": "270", + "kind": "property", + "name": "accessControlEnabled", + "serializedName": "accessControlEnabled", + "type": { + "$id": "271", + "kind": "boolean", + "name": "boolean", + "crossLanguageDefinitionId": "TypeSpec.boolean", + "decorators": [] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModelProperties.accessControlEnabled", + "serializationOptions": { + "json": { + "name": "accessControlEnabled" + } + } + } + ] }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "695", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "428" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "GET", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.get", - "decorators": [ - { - "$id": "696", - "name": "Azure.ResourceManager.@armResourceRead", - "arguments": { - "$id": "697" + "crossLanguageDefinitionId": "Azure.ResourceManager.Foundations.ResourceUpdateModel.properties", + "serializationOptions": { + "json": { + "name": "properties" + } } - } - ] - }, - "parameters": [ - { - "$id": "698", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "699", - "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": "700", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "88" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "701", - "type": { - "$ref": "428" } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.get" - }, - { - "$id": "702", - "kind": "basic", - "name": "createOrUpdate", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Create a FooSettings", - "operation": { - "$id": "703", - "name": "createOrUpdate", - "resourceName": "FooSettings", - "doc": "Create a FooSettings", - "accessibility": "public", - "parameters": [ - { - "$id": "704", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "705", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "706", - "type": { - "$id": "707", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "708", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "709", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "710", - "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": "711", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "712", - "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": "713", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "90" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "714", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "92" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "715", - "name": "resource", - "nameInRequest": "resource", - "doc": "Resource create parameters.", + ] + }, + { + "$ref": "269" + } + ], + "clients": [ + { + "$id": "272", + "kind": "client", + "name": "MgmtTypeSpecClient", + "namespace": "MgmtTypeSpec", + "methods": [], + "parameters": [ + { + "$id": "273", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", "type": { - "$ref": "428" + "$id": "274", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" }, - "location": "Body", + "location": "Uri", "isApiVersion": false, "isContentType": false, - "isEndpoint": false, - "explode": false, "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "716", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "428" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - }, - { - "$id": "717", - "statusCodes": [ - 201 - ], - "bodyType": { - "$ref": "428" - }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "PUT", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", - "requestMediaTypes": [ - "application/json" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate", - "decorators": [ - { - "$id": "718", - "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", - "arguments": { - "$id": "719" - } - } - ] - }, - "parameters": [ - { - "$id": "720", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "721", - "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": "722", - "name": "resource", - "nameInRequest": "resource", - "doc": "Resource create parameters.", - "type": { - "$ref": "428" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "723", - "name": "contentType", - "nameInRequest": "contentType", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "90" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "724", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "92" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - } - ], - "response": { - "$id": "725", - "type": { - "$ref": "428" - } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate" - }, - { - "$id": "726", - "kind": "basic", - "name": "update", - "accessibility": "public", - "apiVersions": [ - "2024-05-01" - ], - "doc": "Update a FooSettings", - "operation": { - "$id": "727", - "name": "update", - "resourceName": "FooSettings", - "doc": "Update a FooSettings", - "accessibility": "public", - "parameters": [ - { - "$id": "728", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "729", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, + "isEndpoint": true, + "skipUrlEncoding": false, "explode": false, - "isRequired": true, "kind": "Client", "defaultValue": { - "$id": "730", - "type": { - "$id": "731", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "732", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "733", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "734", - "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": "735", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "736", - "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": "737", - "name": "contentType", - "nameInRequest": "Content-Type", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "94" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": true, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "738", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "96" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "739", - "name": "properties", - "nameInRequest": "properties", - "doc": "The resource properties to be updated.", - "type": { - "$ref": "446" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "740", - "statusCodes": [ - 200 - ], - "bodyType": { - "$ref": "428" + "type": { + "$id": "275", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" }, - "headers": [], - "isErrorResponse": false, - "contentTypes": [ - "application/json" - ] - } - ], - "httpMethod": "PATCH", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", - "requestMediaTypes": [ - "application/json" - ], - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": false, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update", - "decorators": [] - }, - "parameters": [ - { - "$id": "741", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "742", - "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": "743", - "name": "properties", - "nameInRequest": "properties", - "doc": "The resource properties to be updated.", - "type": { - "$ref": "446" - }, - "location": "Body", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Method", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "744", - "name": "contentType", - "nameInRequest": "contentType", - "doc": "Body parameter's content type. Known values are application/json", - "type": { - "$ref": "94" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "745", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "96" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "serverUrlTemplate": "{endpoint}" } - ], - "response": { - "$id": "746", - "type": { - "$ref": "428" + ], + "decorators": [ + { + "name": "Azure.ResourceManager.@armProviderNamespace", + "arguments": {} } - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update" - }, - { - "$id": "747", - "kind": "basic", - "name": "delete", - "accessibility": "public", - "apiVersions": [ + ], + "crossLanguageDefinitionId": "MgmtTypeSpec", + "apiVersions": [ "2024-05-01" - ], - "doc": "Delete a FooSettings", - "operation": { - "$id": "748", - "name": "delete", - "resourceName": "FooSettings", - "doc": "Delete a FooSettings", - "accessibility": "public", - "parameters": [ - { - "$id": "749", - "name": "apiVersion", - "nameInRequest": "api-version", - "doc": "The API version to use for this operation.", - "type": { - "$id": "750", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string", - "decorators": [] - }, - "location": "Query", - "isApiVersion": true, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Client", - "defaultValue": { - "$id": "751", - "type": { - "$id": "752", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "2024-05-01" - }, - "decorators": [], - "skipUrlEncoding": false - }, - { - "$id": "753", - "name": "subscriptionId", - "nameInRequest": "subscriptionId", - "doc": "The ID of the target subscription. The value must be an UUID.", - "type": { - "$id": "754", - "kind": "string", - "name": "uuid", - "crossLanguageDefinitionId": "Azure.Core.uuid", - "baseType": { - "$id": "755", - "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": "756", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "757", - "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": "758", - "name": "accept", - "nameInRequest": "Accept", - "type": { - "$ref": "98" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", + ], + "children": [ + { + "$id": "276", + "kind": "client", + "name": "Operations", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "277", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "List the operations for the provider", + "operation": { + "$id": "278", + "name": "list", + "resourceName": "Operations", + "doc": "List the operations for the provider", + "accessibility": "public", + "parameters": [ + { + "$id": "279", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "280", + "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": "281", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "282", + "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": "81" + }, + "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": "283", + "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": "83" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "Azure.ResourceManager.Operations.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + } + } + ], + "parameters": [ + { + "$id": "284", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "285", + "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": "286", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], "decorators": [], - "skipUrlEncoding": false - } - ], - "responses": [ - { - "$id": "759", - "statusCodes": [ - 200 + "crossLanguageDefinitionId": "MgmtTypeSpec.Operations", + "apiVersions": [ + "2024-05-01" ], - "headers": [], - "isErrorResponse": false - }, - { - "$id": "760", - "statusCodes": [ - 204 + "parent": { + "$ref": "272" + } + }, + { + "$id": "287", + "kind": "client", + "name": "PrivateLinks", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "288", + "kind": "paging", + "name": "GetAllPrivateLinkResources", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "list private links on the given resource", + "operation": { + "$id": "289", + "name": "GetAllPrivateLinkResources", + "resourceName": "PrivateLinkResource", + "doc": "list private links on the given resource", + "accessibility": "public", + "parameters": [ + { + "$id": "290", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "291", + "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": "292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "293", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "294", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "295", + "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": "296", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "297", + "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": "298", + "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": "122" + }, + "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": "299", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "300", + "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": "301", + "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": "124" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + } + }, + { + "$id": "302", + "kind": "lro", + "name": "start", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Starts the SAP Application Server Instance.", + "operation": { + "$id": "303", + "name": "start", + "resourceName": "PrivateLinks", + "doc": "Starts the SAP Application Server Instance.", + "accessibility": "public", + "parameters": [ + { + "$id": "304", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "305", + "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": "306", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "307", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "308", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "309", + "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": "310", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "311", + "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": "312", + "name": "privateLinkResourceName", + "nameInRequest": "privateLinkResourceName", + "doc": "The name of the private link associated with the Azure resource.", + "type": { + "$id": "313", + "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": "314", + "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": "315", + "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": "316", + "name": "body", + "nameInRequest": "body", + "doc": "SAP Application server instance start request body.", + "type": { + "$ref": "184" + }, + "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": "317", + "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": "318", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + }, + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "187" + }, + "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": "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": "privateLinkResourceName", + "nameInRequest": "privateLinkResourceName", + "doc": "The name of the private link associated with the Azure resource.", + "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": "body", + "nameInRequest": "body", + "doc": "The content of the action request", + "type": { + "$ref": "183" + }, + "location": "", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "324", + "name": "contentType", + "nameInRequest": "contentType", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "41" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": false, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "325", + "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": "187" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "187" + } + } + } + } ], - "headers": [], - "isErrorResponse": false - } - ], - "httpMethod": "DELETE", - "uri": "{endpoint}", - "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", - "bufferResponse": true, - "generateProtocolMethod": true, - "generateConvenienceMethod": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.delete", - "decorators": [] - }, - "parameters": [ + "parameters": [ + { + "$id": "326", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "327", + "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": "328", + "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": "272" + } + }, { - "$id": "761", - "name": "resourceGroupName", - "nameInRequest": "resourceGroupName", - "doc": "The name of the resource group. The name is case insensitive.", - "type": { - "$id": "762", - "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": "329", + "kind": "client", + "name": "Foos", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "330", + "kind": "lro", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Create a Foo", + "operation": { + "$id": "331", + "name": "createOrUpdate", + "resourceName": "Foo", + "doc": "Create a Foo", + "accessibility": "public", + "parameters": [ + { + "$id": "332", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "333", + "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": "334", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "335", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "336", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "337", + "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": "338", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "339", + "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": "340", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "341", + "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": "342", + "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": "343", + "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": "344", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "224" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "224" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "224" + }, + "headers": [ + { + "name": "azureAsyncOperation", + "nameInResponse": "Azure-AsyncOperation", + "doc": "A link to the status monitor", + "type": { + "$id": "345", + "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": "346", + "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": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ] + }, + "parameters": [ + { + "$id": "347", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "348", + "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": "349", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "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": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "224" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "352", + "name": "contentType", + "nameInRequest": "contentType", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "49" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "353", + "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": "224" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate", + "lroMetadata": { + "finalStateVia": 0, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "224" + } + } + } + }, + { + "$id": "354", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Get a Foo", + "operation": { + "$id": "355", + "name": "get", + "resourceName": "Foo", + "doc": "Get a Foo", + "accessibility": "public", + "parameters": [ + { + "$id": "356", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "357", + "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": "358", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "359", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "360", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "361", + "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": "362", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "363", + "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": "364", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "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": "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": "224" + }, + "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": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ] + }, + "parameters": [ + { + "$id": "367", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "368", + "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": "369", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "370", + "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": "371", + "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": "224" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get" + }, + { + "$id": "372", + "kind": "lro", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Delete a Foo", + "operation": { + "$id": "373", + "name": "delete", + "resourceName": "Foo", + "doc": "Delete a Foo", + "accessibility": "public", + "parameters": [ + { + "$id": "374", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "375", + "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": "376", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "377", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "378", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "379", + "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": "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": "55" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "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": "385", + "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": "386", + "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": "387", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "388", + "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": "389", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "390", + "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": "391", + "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": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 204 + ] + } + } + }, + { + "$id": "392", + "kind": "lro", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Update a Foo", + "operation": { + "$id": "393", + "name": "update", + "resourceName": "Foo", + "doc": "Update a Foo", + "accessibility": "public", + "parameters": [ + { + "$id": "394", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "395", + "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": "396", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "397", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "398", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "399", + "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": "400", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "401", + "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": "402", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "type": { + "$id": "403", + "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": "404", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "59" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "405", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "61" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "406", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "251" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "224" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "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": "407", + "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": "408", + "kind": "int32", + "name": "int32", + "crossLanguageDefinitionId": "TypeSpec.int32", + "decorators": [] + } + } + ], + "isErrorResponse": false + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update", + "decorators": [] + }, + "parameters": [ + { + "$id": "409", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "410", + "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": "411", + "name": "fooName", + "nameInRequest": "fooName", + "doc": "The name of the Foo", + "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": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "251" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "414", + "name": "contentType", + "nameInRequest": "contentType", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "63" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "415", + "name": "accept", + "nameInRequest": "accept", + "type": { + "$ref": "65" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "224" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update", + "lroMetadata": { + "finalStateVia": 1, + "finalResponse": { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "224" + } + } + } + }, + { + "$id": "416", + "kind": "paging", + "name": "list", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "List Foo resources by resource group", + "operation": { + "$id": "417", + "name": "list", + "resourceName": "Foo", + "doc": "List Foo resources by resource group", + "accessibility": "public", + "parameters": [ + { + "$id": "418", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "419", + "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": "420", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "421", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "422", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "423", + "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": "424", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "425", + "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": "426", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "67" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "253" + }, + "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": "427", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "428", + "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": "429", + "name": "accept", + "nameInRequest": "accept", + "type": { + "$ref": "67" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "255" + }, + "resultSegments": [ + "value" + ] + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list", + "pagingMetadata": { + "itemPropertySegments": [ + "value" + ], + "nextLink": { + "responseSegments": [ + "nextLink" + ], + "responseLocation": "Body" + } + } + } + ], + "parameters": [ + { + "$id": "430", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "431", + "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": "432", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceModel": "MgmtTypeSpec.Foo", + "resourceClient": "MgmtTypeSpec.Foos", + "isSingleton": false, + "resourceType": "MgmtTypeSpec/foos", + "resourceScope": "ResourceGroup" + } + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec.Foos", + "apiVersions": [ + "2024-05-01" + ], + "parent": { + "$ref": "272" + } }, { - "$id": "763", - "name": "accept", - "nameInRequest": "accept", - "type": { - "$ref": "98" - }, - "location": "Header", - "isApiVersion": false, - "isContentType": false, - "isEndpoint": false, - "explode": false, - "isRequired": true, - "kind": "Constant", - "decorators": [], - "skipUrlEncoding": false + "$id": "433", + "kind": "client", + "name": "FooSettingsOperations", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "434", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Get a FooSettings", + "operation": { + "$id": "435", + "name": "get", + "resourceName": "FooSettings", + "doc": "Get a FooSettings", + "accessibility": "public", + "parameters": [ + { + "$id": "436", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "437", + "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": "438", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "439", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "440", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "441", + "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": "442", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "443", + "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": "444", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "69" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "259" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ] + }, + "parameters": [ + { + "$id": "445", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "446", + "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": "447", + "name": "accept", + "nameInRequest": "accept", + "type": { + "$ref": "69" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "259" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.get" + }, + { + "$id": "448", + "kind": "basic", + "name": "createOrUpdate", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Create a FooSettings", + "operation": { + "$id": "449", + "name": "createOrUpdate", + "resourceName": "FooSettings", + "doc": "Create a FooSettings", + "accessibility": "public", + "parameters": [ + { + "$id": "450", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "451", + "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": "452", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "453", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "454", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "455", + "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": "456", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "457", + "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": "458", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "71" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "459", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "73" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "460", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "259" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "259" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + }, + { + "statusCodes": [ + 201 + ], + "bodyType": { + "$ref": "259" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PUT", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceCreateOrUpdate", + "arguments": {} + } + ] + }, + "parameters": [ + { + "$id": "461", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "462", + "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": "463", + "name": "resource", + "nameInRequest": "resource", + "doc": "Resource create parameters.", + "type": { + "$ref": "259" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "464", + "name": "contentType", + "nameInRequest": "contentType", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "71" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "465", + "name": "accept", + "nameInRequest": "accept", + "type": { + "$ref": "73" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "259" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate" + }, + { + "$id": "466", + "kind": "basic", + "name": "update", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Update a FooSettings", + "operation": { + "$id": "467", + "name": "update", + "resourceName": "FooSettings", + "doc": "Update a FooSettings", + "accessibility": "public", + "parameters": [ + { + "$id": "468", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "469", + "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": "470", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "471", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "472", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "473", + "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": "474", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "475", + "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": "476", + "name": "contentType", + "nameInRequest": "Content-Type", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "75" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": true, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "477", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "77" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "478", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "267" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "259" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "PATCH", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", + "requestMediaTypes": [ + "application/json" + ], + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": false, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update", + "decorators": [] + }, + "parameters": [ + { + "$id": "479", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "480", + "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": "481", + "name": "properties", + "nameInRequest": "properties", + "doc": "The resource properties to be updated.", + "type": { + "$ref": "267" + }, + "location": "Body", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Method", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "482", + "name": "contentType", + "nameInRequest": "contentType", + "doc": "Body parameter's content type. Known values are application/json", + "type": { + "$ref": "75" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "483", + "name": "accept", + "nameInRequest": "accept", + "type": { + "$ref": "77" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": { + "type": { + "$ref": "259" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update" + }, + { + "$id": "484", + "kind": "basic", + "name": "delete", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Delete a FooSettings", + "operation": { + "$id": "485", + "name": "delete", + "resourceName": "FooSettings", + "doc": "Delete a FooSettings", + "accessibility": "public", + "parameters": [ + { + "$id": "486", + "name": "apiVersion", + "nameInRequest": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "487", + "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": "488", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "decorators": [], + "skipUrlEncoding": false + }, + { + "$id": "489", + "name": "subscriptionId", + "nameInRequest": "subscriptionId", + "doc": "The ID of the target subscription. The value must be an UUID.", + "type": { + "$id": "490", + "kind": "string", + "name": "uuid", + "crossLanguageDefinitionId": "Azure.Core.uuid", + "baseType": { + "$id": "491", + "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": "492", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "493", + "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": "494", + "name": "accept", + "nameInRequest": "Accept", + "type": { + "$ref": "79" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "headers": [], + "isErrorResponse": false + }, + { + "statusCodes": [ + 204 + ], + "headers": [], + "isErrorResponse": false + } + ], + "httpMethod": "DELETE", + "uri": "{endpoint}", + "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.delete", + "decorators": [] + }, + "parameters": [ + { + "$id": "495", + "name": "resourceGroupName", + "nameInRequest": "resourceGroupName", + "doc": "The name of the resource group. The name is case insensitive.", + "type": { + "$id": "496", + "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": "497", + "name": "accept", + "nameInRequest": "accept", + "type": { + "$ref": "79" + }, + "location": "Header", + "isApiVersion": false, + "isContentType": false, + "isEndpoint": false, + "explode": false, + "isRequired": true, + "kind": "Constant", + "decorators": [], + "skipUrlEncoding": false + } + ], + "response": {}, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.delete" + } + ], + "parameters": [ + { + "$id": "498", + "name": "endpoint", + "nameInRequest": "endpoint", + "doc": "Service host", + "type": { + "$id": "499", + "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": "500", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}" + } + ], + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceModel": "MgmtTypeSpec.FooSettings", + "resourceClient": "MgmtTypeSpec.FooSettingsOperations", + "isSingleton": true, + "resourceType": "MgmtTypeSpec/FooSettings", + "resourceScope": "ResourceGroup" + } + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations", + "apiVersions": [ + "2024-05-01" + ], + "parent": { + "$ref": "272" + } } - ], - "response": { - "$id": "764" - }, - "isOverride": false, - "generateConvenient": true, - "generateProtocol": true, - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.delete" - } - ], - "parameters": [ - { - "$id": "765", - "name": "endpoint", - "nameInRequest": "endpoint", - "doc": "Service host", - "type": { - "$id": "766", - "kind": "url", - "name": "endpoint", - "crossLanguageDefinitionId": "TypeSpec.url" - }, - "location": "Uri", - "isApiVersion": false, - "isContentType": false, - "isRequired": true, - "isEndpoint": true, - "skipUrlEncoding": false, - "explode": false, - "kind": "Client", - "defaultValue": { - "$id": "767", - "type": { - "$id": "768", - "kind": "string", - "name": "string", - "crossLanguageDefinitionId": "TypeSpec.string" - }, - "value": "https://management.azure.com" - }, - "serverUrlTemplate": "{endpoint}" - } - ], - "decorators": [ - { - "$id": "769", - "name": "Azure.ResourceManager.@armResourceOperations", - "arguments": { - "$id": "770" - } - }, - { - "$id": "771", - "name": "Azure.ClientGenerator.Core.@resourceSchema", - "arguments": { - "$id": "772", - "resourceModel": "MgmtTypeSpec.FooSettings", - "resourceClient": "MgmtTypeSpec.FooSettingsOperations", - "isSingleton": true, - "resourceType": "MgmtTypeSpec/FooSettings", - "resourceScope": "ResourceGroup" - } - } - ], - "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations", - "apiVersions": [ - "2024-05-01" - ], - "parent": { - "$ref": "455" - } + ] + } + ], + "auth": { + "oAuth2": { + "scopes": [ + "user_impersonation" + ] } - ] - } - ], - "auth": { - "$id": "773", - "oAuth2": { - "$id": "774", - "scopes": [ - "user_impersonation" - ] } - } } diff --git a/eng/packages/http-client-csharp-mgmt/package-lock.json b/eng/packages/http-client-csharp-mgmt/package-lock.json index b5c4faba1cbc..d6397341fe5c 100644 --- a/eng/packages/http-client-csharp-mgmt/package-lock.json +++ b/eng/packages/http-client-csharp-mgmt/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250625.3" + "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250629.1" }, "devDependencies": { "@azure-tools/azure-http-specs": "0.1.0-alpha.19", @@ -215,12 +215,12 @@ "dev": true }, "node_modules/@azure-typespec/http-client-csharp": { - "version": "1.0.0-alpha.20250625.3", - "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250625.3.tgz", - "integrity": "sha512-UqV4ROg1V36DXZBbdfgWj5JpIjcFnHCzVUd/1948MTFyxCDa1JrSOnLIznKmhIwsjPOX1LU0gKAnmZwSoXQMpg==", + "version": "1.0.0-alpha.20250629.1", + "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250629.1.tgz", + "integrity": "sha512-vF3gOuXudy69vOeJ5G5YkTY3Vi+mHVErGPZjtOJ3psrLZz23OiF1bnVwNtOF1WAJ4FGbixAOF1ZHCxAk+zfixA==", "license": "MIT", "dependencies": { - "@typespec/http-client-csharp": "1.0.0-alpha.20250625.1" + "@typespec/http-client-csharp": "1.0.0-alpha.20250627.2" } }, "node_modules/@azure/abort-controller": { @@ -2513,13 +2513,10 @@ } }, "node_modules/@typespec/http-client-csharp": { - "version": "1.0.0-alpha.20250625.1", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250625.1.tgz", - "integrity": "sha512-tvtFsr2cyDFfxTiKENMx17IEkzziUoSkuC2ebArYKWyz5JeFDI9Hr0byunhhtDs/yBlZF4LoKZPQMw4wK9Yo6w==", + "version": "1.0.0-alpha.20250627.2", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20250627.2.tgz", + "integrity": "sha512-zHsY1nglHUKq9VV3yxadUrkRUVwlxETWjfnMjdjhWWTDEFSsgk/OZV/CFnilC/G2GvoMPfEhPA4d6ntu6HOJZA==", "license": "MIT", - "dependencies": { - "json-serialize-refs": "0.1.0-0" - }, "peerDependencies": { "@azure-tools/typespec-azure-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", "@azure-tools/typespec-client-generator-core": ">=0.57.0 <0.58.0 || ~0.58.0-0", @@ -5579,12 +5576,6 @@ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", "license": "MIT" }, - "node_modules/json-serialize-refs": { - "version": "0.1.0-0", - "resolved": "https://registry.npmjs.org/json-serialize-refs/-/json-serialize-refs-0.1.0-0.tgz", - "integrity": "sha512-SnNMfW2RRPDXIMKa8zdLb59UjMSI1UFZCtIb8ae68GcZ0a6x8b77lIWqqTOdq1azzmkXupD6UWriPLd0JCrFng==", - "license": "MIT" - }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", diff --git a/eng/packages/http-client-csharp-mgmt/package.json b/eng/packages/http-client-csharp-mgmt/package.json index 0c07a32a20c0..0feeb87e5cc4 100644 --- a/eng/packages/http-client-csharp-mgmt/package.json +++ b/eng/packages/http-client-csharp-mgmt/package.json @@ -37,7 +37,7 @@ "dist/**" ], "dependencies": { - "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250625.3" + "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250629.1" }, "devDependencies": { "@azure-tools/azure-http-specs": "0.1.0-alpha.19",