diff --git a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/RequestPathPattern.cs b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/RequestPathPattern.cs index a489a0bf1d60..4910099ae28b 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/RequestPathPattern.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/RequestPathPattern.cs @@ -29,18 +29,19 @@ internal class RequestPathPattern : IEquatable, IReadOnlyLis public static readonly RequestPathPattern ManagementGroup = new("/providers/Microsoft.Management/managementGroups/{managementGroupId}"); public static readonly RequestPathPattern ResourceGroup = new("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}"); public static readonly RequestPathPattern Subscription = new("/subscriptions/{subscriptionId}"); - public static readonly RequestPathPattern Extension = new("/{resourceUri}"); - public static readonly RequestPathPattern Tenant = new(string.Empty); - public static RequestPathPattern GetFromScope(ResourceScope scope) + public static RequestPathPattern GetFromScope(ResourceScope scope, RequestPathPattern? path = null) { return scope switch { ResourceScope.ResourceGroup => ResourceGroup, ResourceScope.Subscription => Subscription, ResourceScope.ManagementGroup => ManagementGroup, - ResourceScope.Extension => Extension, + ResourceScope.Extension => + path is null + ? throw new InvalidOperationException("Extension scope requires a path parameter.") + : new RequestPathPattern(path._segments.Take(1)), ResourceScope.Tenant => Tenant, _ => throw new InvalidOperationException($"Unhandled scope {scope}"), }; diff --git a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/ResourceMetadata.cs b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/ResourceMetadata.cs index f24396e27bae..cb89f2a16259 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/ResourceMetadata.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Models/ResourceMetadata.cs @@ -52,7 +52,7 @@ internal static ResourceMetadata DeserializeResourceMetadata(IReadOnlyDictionary } //TODO: handle Extension resource in emitter - if (resourceIdPattern is not null && resourceIdPattern.StartsWith("/{resourceUri}/")) + if (resourceIdPattern is not null && (resourceIdPattern.StartsWith("/{resourceUri}/") || resourceIdPattern.StartsWith("/{scope}/"))) { resourceScope = ResourceScope.Extension; } diff --git a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Providers/ResourceCollectionClientProvider.cs b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Providers/ResourceCollectionClientProvider.cs index 8e1b943e6da1..59e582a7e0c2 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Providers/ResourceCollectionClientProvider.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Providers/ResourceCollectionClientProvider.cs @@ -71,6 +71,15 @@ private static RequestPathPattern GetContextualRequestPattern(ResourceMetadata r return new RequestPathPattern(resourceMetadata.ParentResourceId); } + if (resourceMetadata.ResourceScope == ResourceScope.Extension) + { + if (string.IsNullOrEmpty(resourceMetadata.ResourceIdPattern)) + { + throw new InvalidOperationException("Extension resource's IdPattern can't be empty or null."); + } + return RequestPathPattern.GetFromScope(resourceMetadata.ResourceScope, new RequestPathPattern(resourceMetadata.ResourceIdPattern)); + } + return RequestPathPattern.GetFromScope(resourceMetadata.ResourceScope); } diff --git a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Utilities/ContextualParameterBuilder.cs b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Utilities/ContextualParameterBuilder.cs index a70cbf6bd989..824b91a263b5 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Utilities/ContextualParameterBuilder.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/Azure.Generator.Management/src/Utilities/ContextualParameterBuilder.cs @@ -60,9 +60,10 @@ private static void BuildContextualParameterHierarchy(RequestPathPattern current // using the reference name of the last segment as the parameter name, aka resourceGroupName parameterStack.Push(new ContextualParameter(current[^2].Value, current[^1].VariableName, id => id.ResourceGroupName())); } - else if (current == RequestPathPattern.Extension) + else if (current.Count == 1 && !current[0].IsConstant) // Extension resource case: single variable segment. Here we assume the extension resource's requestPathPattern start with one and only one variable segment { - parameterStack.Push(new ContextualParameter("resourceUri", "resourceUri", id => BuildParentInvocation(parentLayerCount, id))); + // Extension resource case: single variable segment + parameterStack.Push(new ContextualParameter(current[0].VariableName, current[0].VariableName, id => BuildParentInvocation(parentLayerCount, id))); } else { diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/main.tsp b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/main.tsp index 63846603a96f..ee205138c86c 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/main.tsp +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/main.tsp @@ -7,6 +7,7 @@ import "./baz.tsp"; import "./zoo.tsp"; import "./routes.tsp"; import "./endpoint.tsp"; +import "./selfhelp.tsp"; using TypeSpec.Versioning; using Azure.ClientGenerator.Core; diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/selfhelp.tsp b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/selfhelp.tsp new file mode 100644 index 000000000000..146904514395 --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/selfhelp.tsp @@ -0,0 +1,30 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; + +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; + +namespace MgmtTypeSpec; + +model SelfHelpResource + is Azure.ResourceManager.ExtensionResource { + ...ResourceNameParameter< + Resource = SelfHelpResource, + KeyName = "selfHelpName", + SegmentName = "selfHelps", + NamePattern = "" + >; +} + +model SelfHelpResourceProperties { + selfHelpId: string; +} + +#suppress "@azure-tools/typespec-azure-resource-manager/no-resource-delete-operation" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@armResourceOperations +interface SolutionResources { + get is Extension.Read; +} \ No newline at end of file diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MgmtTypeSpecExtensions.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MgmtTypeSpecExtensions.cs index a7e1312b88db..f289c5ecfe2f 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MgmtTypeSpecExtensions.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MgmtTypeSpecExtensions.cs @@ -174,6 +174,58 @@ public static async Task> GetEndpointResourceAsync(th return await GetMockableMgmtTypeSpecArmClient(client).GetEndpointResourceAsync(scope, endpointName, cancellationToken).ConfigureAwait(false); } + /// Gets an object representing a along with the instance operations that can be performed on it but with no data. + /// The the method will execute against. + /// The resource ID of the resource to get. + /// is null. + /// Returns a object. + public static SelfHelpResource GetSelfHelpResource(this ArmClient client, ResourceIdentifier id) + { + Argument.AssertNotNull(client, nameof(client)); + + return GetMockableMgmtTypeSpecArmClient(client).GetSelfHelpResource(id); + } + + /// Gets a collection of objects within the specified scope. + /// The the method will execute against. + /// The scope of the resource collection to get. + /// is null. + /// Returns a collection of objects. + public static SelfHelpResourceCollection GetSelfHelpResources(this ArmClient client, ResourceIdentifier scope) + { + Argument.AssertNotNull(client, nameof(client)); + + return GetMockableMgmtTypeSpecArmClient(client).GetSelfHelpResources(scope); + } + + /// Get a SelfHelpResource. + /// The the method will execute against. + /// The scope of the resource collection to get. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + [ForwardsClientCalls] + public static Response GetSelfHelpResource(this ArmClient client, ResourceIdentifier scope, string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(client, nameof(client)); + + return GetMockableMgmtTypeSpecArmClient(client).GetSelfHelpResource(scope, selfHelpName, cancellationToken); + } + + /// Get a SelfHelpResource. + /// The the method will execute against. + /// The scope of the resource collection to get. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + [ForwardsClientCalls] + public static async Task> GetSelfHelpResourceAsync(this ArmClient client, ResourceIdentifier scope, string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNull(client, nameof(client)); + + return await GetMockableMgmtTypeSpecArmClient(client).GetSelfHelpResourceAsync(scope, selfHelpName, cancellationToken).ConfigureAwait(false); + } + /// Gets a collection of Foos in the . /// The the method will execute against. /// is null. diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MockableMgmtTypeSpecArmClient.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MockableMgmtTypeSpecArmClient.cs index 2f4bab3dcdd0..1438f53c39f3 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MockableMgmtTypeSpecArmClient.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Extensions/MockableMgmtTypeSpecArmClient.cs @@ -137,5 +137,50 @@ public virtual async Task> GetEndpointResourceAsync(R return await GetEndpointResources(scope).GetAsync(endpointName, cancellationToken).ConfigureAwait(false); } + + /// Gets an object representing a along with the instance operations that can be performed on it but with no data. + /// The resource ID of the resource to get. + /// Returns a object. + public virtual SelfHelpResource GetSelfHelpResource(ResourceIdentifier id) + { + SelfHelpResource.ValidateResourceId(id); + return new SelfHelpResource(Client, id); + } + + /// Gets a collection of objects within the specified scope. + /// The scope of the resource collection to get. + /// Returns a collection of objects. + public virtual SelfHelpResourceCollection GetSelfHelpResources(ResourceIdentifier scope) + { + return new SelfHelpResourceCollection(Client, scope); + } + + /// Get a SelfHelpResource. + /// The scope of the resource collection to get. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetSelfHelpResource(ResourceIdentifier scope, string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + return GetSelfHelpResources(scope).Get(selfHelpName, cancellationToken); + } + + /// Get a SelfHelpResource. + /// The scope of the resource collection to get. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetSelfHelpResourceAsync(ResourceIdentifier scope, string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + return await GetSelfHelpResources(scope).GetAsync(selfHelpName, cancellationToken).ConfigureAwait(false); + } } } 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 4f78022e9a6d..2fde2809fc8f 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 @@ -250,6 +250,23 @@ public static EndpointResourceData EndpointResourceData(ResourceIdentifier id = endpointProp is null ? default : new EndpointProperties(endpointProp, new Dictionary())); } + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + /// The name of the resource. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// Gets the SelfHelpId. + /// A new instance for mocking. + public static SelfHelpResourceData SelfHelpResourceData(ResourceIdentifier id = default, string name = default, ResourceType resourceType = default, SystemData systemData = default, string selfHelpId = default) + { + return new SelfHelpResourceData( + id, + name, + resourceType, + systemData, + additionalBinaryDataProperties: null, + selfHelpId is null ? default : new SelfHelpResourceProperties(selfHelpId, new Dictionary())); + } + /// The ZooRecommendation. /// The recommended value. /// The reason for the recommendation. diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/MgmtTypeSpecContext.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/MgmtTypeSpecContext.cs index 84a114374cfc..024b22cbe416 100644 --- a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/MgmtTypeSpecContext.cs +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/MgmtTypeSpecContext.cs @@ -50,6 +50,9 @@ namespace MgmtTypeSpec [ModelReaderWriterBuildable(typeof(FooSettingsUpdateProperties))] [ModelReaderWriterBuildable(typeof(ManagedServiceIdentity))] [ModelReaderWriterBuildable(typeof(OptionalFlattenPropertyType))] + [ModelReaderWriterBuildable(typeof(SelfHelpResource))] + [ModelReaderWriterBuildable(typeof(SelfHelpResourceData))] + [ModelReaderWriterBuildable(typeof(SelfHelpResourceProperties))] [ModelReaderWriterBuildable(typeof(SubResource))] [ModelReaderWriterBuildable(typeof(SystemData))] [ModelReaderWriterBuildable(typeof(UserAssignedIdentity))] diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/SelfHelpResourceProperties.Serialization.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/SelfHelpResourceProperties.Serialization.cs new file mode 100644 index 000000000000..0bf986dae1fc --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/SelfHelpResourceProperties.Serialization.cs @@ -0,0 +1,143 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text.Json; +using MgmtTypeSpec; + +namespace MgmtTypeSpec.Models +{ + /// The SelfHelpResourceProperties. + internal partial class SelfHelpResourceProperties : IJsonModel + { + /// Initializes a new instance of for deserialization. + internal SelfHelpResourceProperties() + { + } + + /// The JSON writer. + /// The client options for reading and writing models. + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SelfHelpResourceProperties)} does not support writing '{format}' format."); + } + writer.WritePropertyName("selfHelpId"u8); + writer.WriteStringValue(SelfHelpId); + if (options.Format != "W" && _additionalBinaryDataProperties != null) + { + foreach (var item in _additionalBinaryDataProperties) + { + writer.WritePropertyName(item.Key); +#if NET6_0_OR_GREATER + writer.WriteRawValue(item.Value); +#else + using (JsonDocument document = JsonDocument.Parse(item.Value)) + { + JsonSerializer.Serialize(writer, document.RootElement); + } +#endif + } + } + } + + /// The JSON reader. + /// The client options for reading and writing models. + SelfHelpResourceProperties IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => JsonModelCreateCore(ref reader, options); + + /// The JSON reader. + /// The client options for reading and writing models. + protected virtual SelfHelpResourceProperties JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SelfHelpResourceProperties)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSelfHelpResourceProperties(document.RootElement, options); + } + + /// The JSON element to deserialize. + /// The client options for reading and writing models. + internal static SelfHelpResourceProperties DeserializeSelfHelpResourceProperties(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + string selfHelpId = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("selfHelpId"u8)) + { + selfHelpId = prop.Value.GetString(); + continue; + } + if (options.Format != "W") + { + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + } + return new SelfHelpResourceProperties(selfHelpId, additionalBinaryDataProperties); + } + + /// The client options for reading and writing models. + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + /// The client options for reading and writing models. + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, MgmtTypeSpecContext.Default); + default: + throw new FormatException($"The model {nameof(SelfHelpResourceProperties)} does not support writing '{options.Format}' format."); + } + } + + /// The data to parse. + /// The client options for reading and writing models. + SelfHelpResourceProperties IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => PersistableModelCreateCore(data, options); + + /// The data to parse. + /// The client options for reading and writing models. + protected virtual SelfHelpResourceProperties PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data)) + { + return DeserializeSelfHelpResourceProperties(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SelfHelpResourceProperties)} does not support reading '{options.Format}' format."); + } + } + + /// The client options for reading and writing models. + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/SelfHelpResourceProperties.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/SelfHelpResourceProperties.cs new file mode 100644 index 000000000000..e20c0f3dc6db --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/Models/SelfHelpResourceProperties.cs @@ -0,0 +1,38 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; + +namespace MgmtTypeSpec.Models +{ + /// The SelfHelpResourceProperties. + internal partial class SelfHelpResourceProperties + { + /// Keeps track of any properties unknown to the library. + private protected readonly IDictionary _additionalBinaryDataProperties; + + /// Initializes a new instance of . + /// + internal SelfHelpResourceProperties(string selfHelpId) + { + SelfHelpId = selfHelpId; + } + + /// Initializes a new instance of . + /// + /// Keeps track of any properties unknown to the library. + internal SelfHelpResourceProperties(string selfHelpId, IDictionary additionalBinaryDataProperties) + { + SelfHelpId = selfHelpId; + _additionalBinaryDataProperties = additionalBinaryDataProperties; + } + + /// Gets the SelfHelpId. + public string SelfHelpId { get; } + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/RestOperations/SolutionResourcesRestOperations.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/RestOperations/SolutionResourcesRestOperations.cs new file mode 100644 index 000000000000..7c779866218e --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/RestOperations/SolutionResourcesRestOperations.cs @@ -0,0 +1,61 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; + +namespace MgmtTypeSpec +{ + internal partial class SolutionResources + { + private readonly Uri _endpoint; + private readonly string _apiVersion; + + /// Initializes a new instance of SolutionResources for mocking. + protected SolutionResources() + { + } + + /// Initializes a new instance of SolutionResources. + /// The ClientDiagnostics is used to provide tracing support for the client library. + /// The HTTP pipeline for sending and receiving REST requests and responses. + /// Service endpoint. + /// + internal SolutionResources(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, Uri endpoint, string apiVersion) + { + ClientDiagnostics = clientDiagnostics; + _endpoint = endpoint; + Pipeline = pipeline; + _apiVersion = apiVersion; + } + + /// The HTTP pipeline for sending and receiving REST requests and responses. + public virtual HttpPipeline Pipeline { get; } + + /// The ClientDiagnostics is used to provide tracing support for the client library. + internal ClientDiagnostics ClientDiagnostics { get; } + + internal HttpMessage CreateGetRequest(string scope, string selfHelpName, RequestContext context) + { + RawRequestUriBuilder uri = new RawRequestUriBuilder(); + uri.Reset(_endpoint); + uri.AppendPath("/", false); + uri.AppendPath(scope, false); + uri.AppendPath("/providers/MgmtTypeSpec/selfHelps/", false); + uri.AppendPath(selfHelpName, true); + uri.AppendQuery("api-version", _apiVersion, true); + HttpMessage message = Pipeline.CreateMessage(); + Request request = message.Request; + request.Uri = uri; + request.Method = RequestMethod.Get; + request.Headers.SetValue("Accept", "application/json"); + return message; + } + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResource.Serialization.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResource.Serialization.cs new file mode 100644 index 000000000000..e564725179f1 --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResource.Serialization.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Text.Json; + +namespace MgmtTypeSpec +{ + /// + public partial class SelfHelpResource : IJsonModel + { + private static IJsonModel s_dataDeserializationInstance; + + private static IJsonModel DataDeserializationInstance => s_dataDeserializationInstance ??= new SelfHelpResourceData(); + + /// The writer to serialize the model to. + /// The client options for reading and writing models. + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) => ((IJsonModel)Data).Write(writer, options); + + /// The reader for deserializing the model. + /// The client options for reading and writing models. + SelfHelpResourceData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => DataDeserializationInstance.Create(ref reader, options); + + /// The client options for reading and writing models. + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => ModelReaderWriter.Write(Data, options, MgmtTypeSpecContext.Default); + + /// The binary data to be processed. + /// The client options for reading and writing models. + SelfHelpResourceData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => ModelReaderWriter.Read(data, options, MgmtTypeSpecContext.Default); + + /// The client options for reading and writing models. + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => DataDeserializationInstance.GetFormatFromOptions(options); + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResource.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResource.cs new file mode 100644 index 000000000000..295bf5121669 --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResource.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Diagnostics; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.ResourceManager; + +namespace MgmtTypeSpec +{ + /// + /// A class representing a SelfHelpResource along with the instance operations that can be performed on it. + /// If you have a you can construct a from an instance of using the GetResource method. + /// Otherwise you can get one from its parent resource using the GetSelfHelpResources method. + /// + public partial class SelfHelpResource : ArmResource + { + private readonly ClientDiagnostics _solutionResourcesClientDiagnostics; + private readonly SolutionResources _solutionResourcesRestClient; + private readonly SelfHelpResourceData _data; + /// Gets the resource type for the operations. + public static readonly ResourceType ResourceType = "MgmtTypeSpec/selfHelps"; + + /// Initializes a new instance of SelfHelpResource for mocking. + protected SelfHelpResource() + { + } + + /// Initializes a new instance of class. + /// The client parameters to use in these operations. + /// The resource that is the target of operations. + internal SelfHelpResource(ArmClient client, SelfHelpResourceData data) : this(client, data.Id) + { + HasData = true; + _data = data; + } + + /// Initializes a new instance of class. + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + internal SelfHelpResource(ArmClient client, ResourceIdentifier id) : base(client, id) + { + TryGetApiVersion(ResourceType, out string selfHelpResourceApiVersion); + _solutionResourcesClientDiagnostics = new ClientDiagnostics("MgmtTypeSpec", ResourceType.Namespace, Diagnostics); + _solutionResourcesRestClient = new SolutionResources(_solutionResourcesClientDiagnostics, Pipeline, Endpoint, selfHelpResourceApiVersion ?? "2024-05-01"); + ValidateResourceId(id); + } + + /// Gets whether or not the current instance has data. + public virtual bool HasData { get; } + + /// Gets the data representing this Feature. + public virtual SelfHelpResourceData Data + { + get + { + if (!HasData) + { + throw new InvalidOperationException("The current instance does not have data, you must call Get first."); + } + return _data; + } + } + + /// Generate the resource identifier for this resource. + /// The scope. + /// The selfHelpName. + public static ResourceIdentifier CreateResourceIdentifier(string scope, string selfHelpName) + { + string resourceId = $"{scope}/providers/MgmtTypeSpec/selfHelps/{selfHelpName}"; + return new ResourceIdentifier(resourceId); + } + + /// + [Conditional("DEBUG")] + internal static void ValidateResourceId(ResourceIdentifier id) + { + if (id.ResourceType != ResourceType) + { + throw new ArgumentException(string.Format("Invalid resource type {0} expected {1}", id.ResourceType, ResourceType), id); + } + } + + /// Get a SelfHelpResource. + /// The cancellation token to use. + public virtual async Task> GetAsync(CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResource.Get"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id.Parent, Id.Name, context); + Response result = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + if (response.Value == null) + { + throw new RequestFailedException(response.GetRawResponse()); + } + return Response.FromValue(new SelfHelpResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a SelfHelpResource. + /// The cancellation token to use. + public virtual Response Get(CancellationToken cancellationToken = default) + { + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResource.Get"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id.Parent, Id.Name, context); + Response result = Pipeline.ProcessMessage(message, context); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + if (response.Value == null) + { + throw new RequestFailedException(response.GetRawResponse()); + } + return Response.FromValue(new SelfHelpResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceCollection.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceCollection.cs new file mode 100644 index 000000000000..15a8752b89b0 --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceCollection.cs @@ -0,0 +1,245 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Diagnostics; +using System.Threading; +using System.Threading.Tasks; +using Azure; +using Azure.Core; +using Azure.Core.Pipeline; +using Azure.ResourceManager; + +namespace MgmtTypeSpec +{ + /// + /// A class representing a collection of and their operations. + /// Each in the collection will belong to the same instance of a parent resource (TODO: add parent resource information). + /// To get a instance call the GetSelfHelpResources method from an instance of the parent resource. + /// + public partial class SelfHelpResourceCollection : ArmCollection + { + private readonly ClientDiagnostics _solutionResourcesClientDiagnostics; + private readonly SolutionResources _solutionResourcesRestClient; + + /// Initializes a new instance of SelfHelpResourceCollection for mocking. + protected SelfHelpResourceCollection() + { + } + + /// Initializes a new instance of class. + /// The client parameters to use in these operations. + /// The identifier of the resource that is the target of operations. + internal SelfHelpResourceCollection(ArmClient client, ResourceIdentifier id) : base(client, id) + { + TryGetApiVersion(SelfHelpResource.ResourceType, out string selfHelpResourceApiVersion); + _solutionResourcesClientDiagnostics = new ClientDiagnostics("MgmtTypeSpec", SelfHelpResource.ResourceType.Namespace, Diagnostics); + _solutionResourcesRestClient = new SolutionResources(_solutionResourcesClientDiagnostics, Pipeline, Endpoint, selfHelpResourceApiVersion ?? "2024-05-01"); + ValidateResourceId(id); + } + + /// + [Conditional("DEBUG")] + internal static void ValidateResourceId(ResourceIdentifier id) + { + if (id.ResourceType != SelfHelpResource.ResourceType) + { + throw new ArgumentException(string.Format("Invalid resource type {0} expected {1}", id.ResourceType, SelfHelpResource.ResourceType), id); + } + } + + /// Get a SelfHelpResource. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual async Task> GetAsync(string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResourceCollection.Get"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id, selfHelpName, context); + Response result = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + if (response.Value == null) + { + throw new RequestFailedException(response.GetRawResponse()); + } + return Response.FromValue(new SelfHelpResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Get a SelfHelpResource. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual Response Get(string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResourceCollection.Get"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id, selfHelpName, context); + Response result = Pipeline.ProcessMessage(message, context); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + if (response.Value == null) + { + throw new RequestFailedException(response.GetRawResponse()); + } + return Response.FromValue(new SelfHelpResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Checks to see if the resource exists in azure. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual async Task> ExistsAsync(string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResourceCollection.Exists"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id, selfHelpName, context); + Response result = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + return Response.FromValue(response.Value != null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Checks to see if the resource exists in azure. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual Response Exists(string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResourceCollection.Exists"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id, selfHelpName, context); + Response result = Pipeline.ProcessMessage(message, context); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + return Response.FromValue(response.Value != null, response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Tries to get details for this resource from the service. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual async Task> GetIfExistsAsync(string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResourceCollection.GetIfExists"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id, selfHelpName, context); + Response result = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + if (response.Value == null) + { + return new NoValueResponse(response.GetRawResponse()); + } + return Response.FromValue(new SelfHelpResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + + /// Tries to get details for this resource from the service. + /// The name of the SelfHelpResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual NullableResponse GetIfExists(string selfHelpName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(selfHelpName, nameof(selfHelpName)); + + using DiagnosticScope scope = _solutionResourcesClientDiagnostics.CreateScope("SelfHelpResourceCollection.GetIfExists"); + scope.Start(); + try + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + HttpMessage message = _solutionResourcesRestClient.CreateGetRequest(Id, selfHelpName, context); + Response result = Pipeline.ProcessMessage(message, context); + Response response = Response.FromValue(SelfHelpResourceData.FromResponse(result), result); + if (response.Value == null) + { + return new NoValueResponse(response.GetRawResponse()); + } + return Response.FromValue(new SelfHelpResource(Client, response.Value), response.GetRawResponse()); + } + catch (Exception e) + { + scope.Failed(e); + throw; + } + } + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceData.Serialization.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceData.Serialization.cs new file mode 100644 index 000000000000..7b4260ec275f --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceData.Serialization.cs @@ -0,0 +1,185 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.ClientModel.Primitives; +using System.Collections.Generic; +using System.Text; +using System.Text.Json; +using Azure; +using Azure.Core; +using Azure.ResourceManager.Models; +using MgmtTypeSpec.Models; + +namespace MgmtTypeSpec +{ + /// Concrete extension resource types can be created by aliasing this type using a specific property type. + public partial class SelfHelpResourceData : IJsonModel + { + /// The JSON writer. + /// The client options for reading and writing models. + void IJsonModel.Write(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + writer.WriteStartObject(); + JsonModelWriteCore(writer, options); + writer.WriteEndObject(); + } + + /// The JSON writer. + /// The client options for reading and writing models. + protected override void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SelfHelpResourceData)} does not support writing '{format}' format."); + } + base.JsonModelWriteCore(writer, options); + if (Optional.IsDefined(Properties)) + { + writer.WritePropertyName("properties"u8); + writer.WriteObjectValue(Properties, options); + } + } + + /// The JSON reader. + /// The client options for reading and writing models. + SelfHelpResourceData IJsonModel.Create(ref Utf8JsonReader reader, ModelReaderWriterOptions options) => (SelfHelpResourceData)JsonModelCreateCore(ref reader, options); + + /// The JSON reader. + /// The client options for reading and writing models. + protected virtual ResourceData JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + if (format != "J") + { + throw new FormatException($"The model {nameof(SelfHelpResourceData)} does not support reading '{format}' format."); + } + using JsonDocument document = JsonDocument.ParseValue(ref reader); + return DeserializeSelfHelpResourceData(document.RootElement, options); + } + + /// The JSON element to deserialize. + /// The client options for reading and writing models. + internal static SelfHelpResourceData DeserializeSelfHelpResourceData(JsonElement element, ModelReaderWriterOptions options) + { + if (element.ValueKind == JsonValueKind.Null) + { + return null; + } + ResourceIdentifier id = default; + string name = default; + ResourceType resourceType = default; + SystemData systemData = default; + IDictionary additionalBinaryDataProperties = new ChangeTrackingDictionary(); + SelfHelpResourceProperties properties = default; + foreach (var prop in element.EnumerateObject()) + { + if (prop.NameEquals("id"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + id = new ResourceIdentifier(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("name"u8)) + { + name = prop.Value.GetString(); + continue; + } + if (prop.NameEquals("type"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + resourceType = new ResourceType(prop.Value.GetString()); + continue; + } + if (prop.NameEquals("systemData"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + systemData = ModelReaderWriter.Read(new BinaryData(Encoding.UTF8.GetBytes(prop.Value.GetRawText())), ModelSerializationExtensions.WireOptions, MgmtTypeSpecContext.Default); + continue; + } + if (prop.NameEquals("properties"u8)) + { + if (prop.Value.ValueKind == JsonValueKind.Null) + { + continue; + } + properties = SelfHelpResourceProperties.DeserializeSelfHelpResourceProperties(prop.Value, options); + continue; + } + if (options.Format != "W") + { + additionalBinaryDataProperties.Add(prop.Name, BinaryData.FromString(prop.Value.GetRawText())); + } + } + return new SelfHelpResourceData( + id, + name, + resourceType, + systemData, + additionalBinaryDataProperties, + properties); + } + + /// The client options for reading and writing models. + BinaryData IPersistableModel.Write(ModelReaderWriterOptions options) => PersistableModelWriteCore(options); + + /// The client options for reading and writing models. + protected virtual BinaryData PersistableModelWriteCore(ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + return ModelReaderWriter.Write(this, options, MgmtTypeSpecContext.Default); + default: + throw new FormatException($"The model {nameof(SelfHelpResourceData)} does not support writing '{options.Format}' format."); + } + } + + /// The data to parse. + /// The client options for reading and writing models. + SelfHelpResourceData IPersistableModel.Create(BinaryData data, ModelReaderWriterOptions options) => (SelfHelpResourceData)PersistableModelCreateCore(data, options); + + /// The data to parse. + /// The client options for reading and writing models. + protected virtual ResourceData PersistableModelCreateCore(BinaryData data, ModelReaderWriterOptions options) + { + string format = options.Format == "W" ? ((IPersistableModel)this).GetFormatFromOptions(options) : options.Format; + switch (format) + { + case "J": + using (JsonDocument document = JsonDocument.Parse(data)) + { + return DeserializeSelfHelpResourceData(document.RootElement, options); + } + default: + throw new FormatException($"The model {nameof(SelfHelpResourceData)} does not support reading '{options.Format}' format."); + } + } + + /// The client options for reading and writing models. + string IPersistableModel.GetFormatFromOptions(ModelReaderWriterOptions options) => "J"; + + /// The to deserialize the from. + internal static SelfHelpResourceData FromResponse(Response result) + { + using Response response = result; + using JsonDocument document = JsonDocument.Parse(response.Content); + return DeserializeSelfHelpResourceData(document.RootElement, ModelSerializationExtensions.WireOptions); + } + } +} diff --git a/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceData.cs b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceData.cs new file mode 100644 index 000000000000..5a2d070fd835 --- /dev/null +++ b/eng/packages/http-client-csharp-mgmt/generator/TestProjects/Local/Mgmt-TypeSpec/src/Generated/SelfHelpResourceData.cs @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +#nullable disable + +using System; +using System.Collections.Generic; +using Azure.Core; +using Azure.ResourceManager.Models; +using MgmtTypeSpec.Models; + +namespace MgmtTypeSpec +{ + /// Concrete extension resource types can be created by aliasing this type using a specific property type. + public partial class SelfHelpResourceData : ResourceData + { + /// Keeps track of any properties unknown to the library. + private protected readonly IDictionary _additionalBinaryDataProperties; + + /// Initializes a new instance of . + internal SelfHelpResourceData() + { + } + + /// Initializes a new instance of . + /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. + /// The name of the resource. + /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". + /// Azure Resource Manager metadata containing createdBy and modifiedBy information. + /// Keeps track of any properties unknown to the library. + /// The resource-specific properties for this resource. + internal SelfHelpResourceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary additionalBinaryDataProperties, SelfHelpResourceProperties properties) : base(id, name, resourceType, systemData) + { + _additionalBinaryDataProperties = additionalBinaryDataProperties; + Properties = properties; + } + + /// The resource-specific properties for this resource. + internal SelfHelpResourceProperties Properties { get; } + + /// Gets the SelfHelpId. + public string SelfHelpId + { + get + { + return Properties.SelfHelpId; + } + } + } +} 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 3909b7d027f3..1e1bbe13d92e 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 @@ -1531,7 +1531,7 @@ { "$id": "172", "kind": "constant", - "name": "updateContentType20", + "name": "getContentType8", "namespace": "", "usage": "None", "valueType": { @@ -1547,7 +1547,7 @@ { "$id": "174", "kind": "constant", - "name": "updateContentType21", + "name": "updateContentType20", "namespace": "", "usage": "None", "valueType": { @@ -1563,7 +1563,7 @@ { "$id": "176", "kind": "constant", - "name": "recommendContentType", + "name": "updateContentType21", "namespace": "", "usage": "None", "valueType": { @@ -1575,11 +1575,27 @@ }, "value": "application/json", "decorators": [] + }, + { + "$id": "178", + "kind": "constant", + "name": "recommendContentType", + "namespace": "", + "usage": "None", + "valueType": { + "$id": "179", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "value": "application/json", + "decorators": [] } ], "models": [ { - "$id": "178", + "$id": "180", "kind": "model", "name": "FooPreviewAction", "namespace": "MgmtTypeSpec", @@ -1588,13 +1604,13 @@ "decorators": [], "properties": [ { - "$id": "179", + "$id": "181", "kind": "property", "name": "action", "serializedName": "action", "doc": "The action to be performed.", "type": { - "$id": "180", + "$id": "182", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1614,12 +1630,12 @@ "isHttpMetadata": false }, { - "$id": "181", + "$id": "183", "kind": "property", "name": "result", "serializedName": "result", "type": { - "$id": "182", + "$id": "184", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1641,7 +1657,7 @@ ] }, { - "$id": "183", + "$id": "185", "kind": "model", "name": "ErrorResponse", "namespace": "MgmtTypeSpec", @@ -1652,13 +1668,13 @@ "decorators": [], "properties": [ { - "$id": "184", + "$id": "186", "kind": "property", "name": "error", "serializedName": "error", "doc": "The error object.", "type": { - "$id": "185", + "$id": "187", "kind": "model", "name": "ErrorDetail", "namespace": "MgmtTypeSpec", @@ -1668,13 +1684,13 @@ "decorators": [], "properties": [ { - "$id": "186", + "$id": "188", "kind": "property", "name": "code", "serializedName": "code", "doc": "The error code.", "type": { - "$id": "187", + "$id": "189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1694,13 +1710,13 @@ "isHttpMetadata": false }, { - "$id": "188", + "$id": "190", "kind": "property", "name": "message", "serializedName": "message", "doc": "The error message.", "type": { - "$id": "189", + "$id": "191", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1720,13 +1736,13 @@ "isHttpMetadata": false }, { - "$id": "190", + "$id": "192", "kind": "property", "name": "target", "serializedName": "target", "doc": "The error target.", "type": { - "$id": "191", + "$id": "193", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1746,17 +1762,17 @@ "isHttpMetadata": false }, { - "$id": "192", + "$id": "194", "kind": "property", "name": "details", "serializedName": "details", "doc": "The error details.", "type": { - "$id": "193", + "$id": "195", "kind": "array", "name": "ArrayErrorDetail", "valueType": { - "$ref": "185" + "$ref": "187" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -1775,17 +1791,17 @@ "isHttpMetadata": false }, { - "$id": "194", + "$id": "196", "kind": "property", "name": "additionalInfo", "serializedName": "additionalInfo", "doc": "The error additional info.", "type": { - "$id": "195", + "$id": "197", "kind": "array", "name": "ArrayErrorAdditionalInfo", "valueType": { - "$id": "196", + "$id": "198", "kind": "model", "name": "ErrorAdditionalInfo", "namespace": "MgmtTypeSpec", @@ -1795,13 +1811,13 @@ "decorators": [], "properties": [ { - "$id": "197", + "$id": "199", "kind": "property", "name": "type", "serializedName": "type", "doc": "The additional info type.", "type": { - "$id": "198", + "$id": "200", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1821,13 +1837,13 @@ "isHttpMetadata": false }, { - "$id": "199", + "$id": "201", "kind": "property", "name": "info", "serializedName": "info", "doc": "The additional info.", "type": { - "$id": "200", + "$id": "202", "kind": "unknown", "name": "unknown", "crossLanguageDefinitionId": "", @@ -1882,13 +1898,13 @@ ] }, { - "$ref": "185" + "$ref": "187" }, { - "$ref": "196" + "$ref": "198" }, { - "$id": "201", + "$id": "203", "kind": "model", "name": "OperationListResult", "namespace": "MgmtTypeSpec", @@ -1898,17 +1914,17 @@ "decorators": [], "properties": [ { - "$id": "202", + "$id": "204", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Operation items on this page", "type": { - "$id": "203", + "$id": "205", "kind": "array", "name": "ArrayOperation", "valueType": { - "$id": "204", + "$id": "206", "kind": "model", "name": "Operation", "namespace": "MgmtTypeSpec", @@ -1919,13 +1935,13 @@ "decorators": [], "properties": [ { - "$id": "205", + "$id": "207", "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": "206", + "$id": "208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -1945,13 +1961,13 @@ "isHttpMetadata": false }, { - "$id": "207", + "$id": "209", "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": "208", + "$id": "210", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -1971,13 +1987,13 @@ "isHttpMetadata": false }, { - "$id": "209", + "$id": "211", "kind": "property", "name": "display", "serializedName": "display", "doc": "Localized display information for this particular operation.", "type": { - "$id": "210", + "$id": "212", "kind": "model", "name": "OperationDisplay", "namespace": "MgmtTypeSpec", @@ -1987,13 +2003,13 @@ "decorators": [], "properties": [ { - "$id": "211", + "$id": "213", "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": "212", + "$id": "214", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2013,13 +2029,13 @@ "isHttpMetadata": false }, { - "$id": "213", + "$id": "215", "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": "214", + "$id": "216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2039,13 +2055,13 @@ "isHttpMetadata": false }, { - "$id": "215", + "$id": "217", "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": "216", + "$id": "218", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2065,13 +2081,13 @@ "isHttpMetadata": false }, { - "$id": "217", + "$id": "219", "kind": "property", "name": "description", "serializedName": "description", "doc": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.", "type": { - "$id": "218", + "$id": "220", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2106,7 +2122,7 @@ "isHttpMetadata": false }, { - "$id": "219", + "$id": "221", "kind": "property", "name": "origin", "serializedName": "origin", @@ -2128,7 +2144,7 @@ "isHttpMetadata": false }, { - "$id": "220", + "$id": "222", "kind": "property", "name": "actionType", "serializedName": "actionType", @@ -2168,18 +2184,18 @@ "isHttpMetadata": false }, { - "$id": "221", + "$id": "223", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "222", + "$id": "224", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "223", + "$id": "225", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2203,13 +2219,13 @@ ] }, { - "$ref": "204" + "$ref": "206" }, { - "$ref": "210" + "$ref": "212" }, { - "$id": "224", + "$id": "226", "kind": "model", "name": "PrivateLinkListResult", "namespace": "MgmtTypeSpec", @@ -2219,17 +2235,17 @@ "decorators": [], "properties": [ { - "$id": "225", + "$id": "227", "kind": "property", "name": "value", "serializedName": "value", "doc": "The PrivateLink items on this page", "type": { - "$id": "226", + "$id": "228", "kind": "array", "name": "ArrayPrivateLink", "valueType": { - "$id": "227", + "$id": "229", "kind": "model", "name": "PrivateLink", "namespace": "MgmtTypeSpec", @@ -2243,7 +2259,7 @@ } ], "baseModel": { - "$id": "228", + "$id": "230", "kind": "model", "name": "ProxyResource", "namespace": "MgmtTypeSpec", @@ -2253,7 +2269,7 @@ "summary": "Proxy Resource", "decorators": [], "baseModel": { - "$id": "229", + "$id": "231", "kind": "model", "name": "Resource", "namespace": "MgmtTypeSpec", @@ -2264,18 +2280,18 @@ "decorators": [], "properties": [ { - "$id": "230", + "$id": "232", "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": "231", + "$id": "233", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "232", + "$id": "234", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2297,13 +2313,13 @@ "isHttpMetadata": false }, { - "$id": "233", + "$id": "235", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the resource", "type": { - "$id": "234", + "$id": "236", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2323,18 +2339,18 @@ "isHttpMetadata": false }, { - "$id": "235", + "$id": "237", "kind": "property", "name": "type", "serializedName": "type", "doc": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", "type": { - "$id": "236", + "$id": "238", "kind": "string", "name": "armResourceType", "crossLanguageDefinitionId": "Azure.Core.armResourceType", "baseType": { - "$id": "237", + "$id": "239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2356,13 +2372,13 @@ "isHttpMetadata": false }, { - "$id": "238", + "$id": "240", "kind": "property", "name": "systemData", "serializedName": "systemData", "doc": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", "type": { - "$id": "239", + "$id": "241", "kind": "model", "name": "SystemData", "namespace": "MgmtTypeSpec", @@ -2372,13 +2388,13 @@ "decorators": [], "properties": [ { - "$id": "240", + "$id": "242", "kind": "property", "name": "createdBy", "serializedName": "createdBy", "doc": "The identity that created the resource.", "type": { - "$id": "241", + "$id": "243", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2398,7 +2414,7 @@ "isHttpMetadata": false }, { - "$id": "242", + "$id": "244", "kind": "property", "name": "createdByType", "serializedName": "createdByType", @@ -2420,18 +2436,18 @@ "isHttpMetadata": false }, { - "$id": "243", + "$id": "245", "kind": "property", "name": "createdAt", "serializedName": "createdAt", "doc": "The timestamp of resource creation (UTC).", "type": { - "$id": "244", + "$id": "246", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "245", + "$id": "247", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2454,13 +2470,13 @@ "isHttpMetadata": false }, { - "$id": "246", + "$id": "248", "kind": "property", "name": "lastModifiedBy", "serializedName": "lastModifiedBy", "doc": "The identity that last modified the resource.", "type": { - "$id": "247", + "$id": "249", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2480,7 +2496,7 @@ "isHttpMetadata": false }, { - "$id": "248", + "$id": "250", "kind": "property", "name": "lastModifiedByType", "serializedName": "lastModifiedByType", @@ -2502,18 +2518,18 @@ "isHttpMetadata": false }, { - "$id": "249", + "$id": "251", "kind": "property", "name": "lastModifiedAt", "serializedName": "lastModifiedAt", "doc": "The timestamp of resource last modification (UTC)", "type": { - "$id": "250", + "$id": "252", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "251", + "$id": "253", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2556,13 +2572,13 @@ }, "properties": [ { - "$id": "252", + "$id": "254", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "253", + "$id": "255", "kind": "model", "name": "PrivateLinkResourceProperties", "namespace": "MgmtTypeSpec", @@ -2572,13 +2588,13 @@ "decorators": [], "properties": [ { - "$id": "254", + "$id": "256", "kind": "property", "name": "groupId", "serializedName": "groupId", "doc": "The private link resource group id.", "type": { - "$id": "255", + "$id": "257", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2598,17 +2614,17 @@ "isHttpMetadata": false }, { - "$id": "256", + "$id": "258", "kind": "property", "name": "requiredMembers", "serializedName": "requiredMembers", "doc": "The private link resource required member names.", "type": { - "$id": "257", + "$id": "259", "kind": "array", "name": "Array", "valueType": { - "$id": "258", + "$id": "260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2631,13 +2647,13 @@ "isHttpMetadata": false }, { - "$id": "259", + "$id": "261", "kind": "property", "name": "requiredZoneNames", "serializedName": "requiredZoneNames", "doc": "The private link resource private link DNS zone name.", "type": { - "$ref": "257" + "$ref": "259" }, "optional": true, "readOnly": false, @@ -2668,13 +2684,13 @@ "isHttpMetadata": false }, { - "$id": "260", + "$id": "262", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the private link associated with the Azure resource.", "type": { - "$id": "261", + "$id": "263", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2694,13 +2710,13 @@ "isHttpMetadata": true }, { - "$id": "262", + "$id": "264", "kind": "property", "name": "identity", "serializedName": "identity", "doc": "The managed service identities assigned to this resource.", "type": { - "$id": "263", + "$id": "265", "kind": "model", "name": "ManagedServiceIdentity", "namespace": "MgmtTypeSpec", @@ -2710,18 +2726,18 @@ "decorators": [], "properties": [ { - "$id": "264", + "$id": "266", "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": "265", + "$id": "267", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "266", + "$id": "268", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2743,18 +2759,18 @@ "isHttpMetadata": false }, { - "$id": "267", + "$id": "269", "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": "268", + "$id": "270", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "269", + "$id": "271", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2776,7 +2792,7 @@ "isHttpMetadata": false }, { - "$id": "270", + "$id": "272", "kind": "property", "name": "type", "serializedName": "type", @@ -2798,26 +2814,26 @@ "isHttpMetadata": false }, { - "$id": "271", + "$id": "273", "kind": "property", "name": "userAssignedIdentities", "serializedName": "userAssignedIdentities", "doc": "The identities assigned to this resource by the user.", "type": { - "$id": "272", + "$id": "274", "kind": "dict", "keyType": { - "$id": "273", + "$id": "275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "274", + "$id": "276", "kind": "nullable", "type": { - "$id": "275", + "$id": "277", "kind": "model", "name": "UserAssignedIdentity", "namespace": "MgmtTypeSpec", @@ -2827,18 +2843,18 @@ "decorators": [], "properties": [ { - "$id": "276", + "$id": "278", "kind": "property", "name": "principalId", "serializedName": "principalId", "doc": "The principal ID of the assigned identity.", "type": { - "$id": "277", + "$id": "279", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "278", + "$id": "280", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2860,18 +2876,18 @@ "isHttpMetadata": false }, { - "$id": "279", + "$id": "281", "kind": "property", "name": "clientId", "serializedName": "clientId", "doc": "The client ID of the assigned identity.", "type": { - "$id": "280", + "$id": "282", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "281", + "$id": "283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -2945,18 +2961,18 @@ "isHttpMetadata": false }, { - "$id": "282", + "$id": "284", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "283", + "$id": "285", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "284", + "$id": "286", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -2980,28 +2996,28 @@ ] }, { - "$ref": "227" + "$ref": "229" }, { - "$ref": "253" + "$ref": "255" }, { - "$ref": "263" + "$ref": "265" }, { - "$ref": "275" + "$ref": "277" }, { - "$ref": "228" + "$ref": "230" }, { - "$ref": "229" + "$ref": "231" }, { - "$ref": "239" + "$ref": "241" }, { - "$id": "285", + "$id": "287", "kind": "model", "name": "StartParameterBody", "namespace": "MgmtTypeSpec", @@ -3010,12 +3026,12 @@ "decorators": [], "properties": [ { - "$id": "286", + "$id": "288", "kind": "property", "name": "body", "doc": "SAP Application server instance start request body.", "type": { - "$id": "287", + "$id": "289", "kind": "model", "name": "StartRequest", "namespace": "MgmtTypeSpec", @@ -3025,13 +3041,13 @@ "decorators": [], "properties": [ { - "$id": "288", + "$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": "289", + "$id": "291", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -3064,10 +3080,10 @@ ] }, { - "$ref": "287" + "$ref": "289" }, { - "$id": "290", + "$id": "292", "kind": "model", "name": "OperationStatusResult", "namespace": "MgmtTypeSpec", @@ -3077,18 +3093,18 @@ "decorators": [], "properties": [ { - "$id": "291", + "$id": "293", "kind": "property", "name": "id", "serializedName": "id", "doc": "Fully qualified ID for the async operation.", "type": { - "$id": "292", + "$id": "294", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "293", + "$id": "295", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3110,13 +3126,13 @@ "isHttpMetadata": false }, { - "$id": "294", + "$id": "296", "kind": "property", "name": "name", "serializedName": "name", "doc": "Name of the async operation.", "type": { - "$id": "295", + "$id": "297", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3136,13 +3152,13 @@ "isHttpMetadata": false }, { - "$id": "296", + "$id": "298", "kind": "property", "name": "status", "serializedName": "status", "doc": "Operation status.", "type": { - "$id": "297", + "$id": "299", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3162,13 +3178,13 @@ "isHttpMetadata": false }, { - "$id": "298", + "$id": "300", "kind": "property", "name": "percentComplete", "serializedName": "percentComplete", "doc": "Percent of the operation that is complete.", "type": { - "$id": "299", + "$id": "301", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -3188,18 +3204,18 @@ "isHttpMetadata": false }, { - "$id": "300", + "$id": "302", "kind": "property", "name": "startTime", "serializedName": "startTime", "doc": "The start time of the operation.", "type": { - "$id": "301", + "$id": "303", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "302", + "$id": "304", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3222,18 +3238,18 @@ "isHttpMetadata": false }, { - "$id": "303", + "$id": "305", "kind": "property", "name": "endTime", "serializedName": "endTime", "doc": "The end time of the operation.", "type": { - "$id": "304", + "$id": "306", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "305", + "$id": "307", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3256,17 +3272,17 @@ "isHttpMetadata": false }, { - "$id": "306", + "$id": "308", "kind": "property", "name": "operations", "serializedName": "operations", "doc": "The operations list.", "type": { - "$id": "307", + "$id": "309", "kind": "array", "name": "ArrayOperationStatusResult", "valueType": { - "$ref": "290" + "$ref": "292" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -3285,13 +3301,13 @@ "isHttpMetadata": false }, { - "$id": "308", + "$id": "310", "kind": "property", "name": "error", "serializedName": "error", "doc": "If present, details of the operation error.", "type": { - "$ref": "185" + "$ref": "187" }, "optional": true, "readOnly": false, @@ -3307,18 +3323,18 @@ "isHttpMetadata": false }, { - "$id": "309", + "$id": "311", "kind": "property", "name": "resourceId", "serializedName": "resourceId", "doc": "Fully qualified ID of the resource against which the original async operation was started.", "type": { - "$id": "310", + "$id": "312", "kind": "string", "name": "armResourceIdentifier", "crossLanguageDefinitionId": "Azure.Core.armResourceIdentifier", "baseType": { - "$id": "311", + "$id": "313", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3342,7 +3358,7 @@ ] }, { - "$id": "312", + "$id": "314", "kind": "model", "name": "ArmOperationStatusResourceProvisioningState", "namespace": "MgmtTypeSpec", @@ -3352,7 +3368,7 @@ "decorators": [], "properties": [ { - "$id": "313", + "$id": "315", "kind": "property", "name": "status", "serializedName": "status", @@ -3374,13 +3390,13 @@ "isHttpMetadata": false }, { - "$id": "314", + "$id": "316", "kind": "property", "name": "id", "serializedName": "id", "doc": "The unique identifier for the operationStatus resource", "type": { - "$id": "315", + "$id": "317", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3400,13 +3416,13 @@ "isHttpMetadata": true }, { - "$id": "316", + "$id": "318", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the operationStatus resource", "type": { - "$id": "317", + "$id": "319", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3426,18 +3442,18 @@ "isHttpMetadata": false }, { - "$id": "318", + "$id": "320", "kind": "property", "name": "startTime", "serializedName": "startTime", "doc": "Operation start time", "type": { - "$id": "319", + "$id": "321", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "320", + "$id": "322", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3460,18 +3476,18 @@ "isHttpMetadata": false }, { - "$id": "321", + "$id": "323", "kind": "property", "name": "endTime", "serializedName": "endTime", "doc": "Operation complete time", "type": { - "$id": "322", + "$id": "324", "kind": "utcDateTime", "name": "utcDateTime", "encode": "rfc3339", "wireType": { - "$id": "323", + "$id": "325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3494,13 +3510,13 @@ "isHttpMetadata": false }, { - "$id": "324", + "$id": "326", "kind": "property", "name": "percentComplete", "serializedName": "percentComplete", "doc": "The progress made toward completing the operation", "type": { - "$id": "325", + "$id": "327", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -3520,13 +3536,13 @@ "isHttpMetadata": false }, { - "$id": "326", + "$id": "328", "kind": "property", "name": "error", "serializedName": "error", "doc": "Errors that occurred if the operation ended with Canceled or Failed status", "type": { - "$ref": "185" + "$ref": "187" }, "optional": true, "readOnly": true, @@ -3544,7 +3560,7 @@ ] }, { - "$id": "327", + "$id": "329", "kind": "model", "name": "Foo", "namespace": "MgmtTypeSpec", @@ -3563,7 +3579,7 @@ "resourceType": "MgmtTypeSpec/foos", "methods": [ { - "$id": "328", + "$id": "330", "methodId": "MgmtTypeSpec.Foos.createOrUpdate", "kind": "Create", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", @@ -3571,7 +3587,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}" }, { - "$id": "329", + "$id": "331", "methodId": "MgmtTypeSpec.Foos.get", "kind": "Get", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", @@ -3579,7 +3595,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}" }, { - "$id": "330", + "$id": "332", "methodId": "MgmtTypeSpec.Foos.delete", "kind": "Delete", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", @@ -3587,7 +3603,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}" }, { - "$id": "331", + "$id": "333", "methodId": "MgmtTypeSpec.Foos.update", "kind": "Update", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}", @@ -3595,14 +3611,14 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}" }, { - "$id": "332", + "$id": "334", "methodId": "MgmtTypeSpec.Foos.list", "kind": "List", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos", "operationScope": "ResourceGroup" }, { - "$id": "333", + "$id": "335", "methodId": "MgmtTypeSpec.Foos.listBySubscription", "kind": "List", "operationPath": "/subscriptions/{subscriptionId}/providers/MgmtTypeSpec/foos", @@ -3615,7 +3631,7 @@ } ], "baseModel": { - "$id": "334", + "$id": "336", "kind": "model", "name": "TrackedResource", "namespace": "MgmtTypeSpec", @@ -3625,27 +3641,27 @@ "summary": "Tracked Resource", "decorators": [], "baseModel": { - "$ref": "229" + "$ref": "231" }, "properties": [ { - "$id": "335", + "$id": "337", "kind": "property", "name": "tags", "serializedName": "tags", "doc": "Resource tags.", "type": { - "$id": "336", + "$id": "338", "kind": "dict", "keyType": { - "$id": "337", + "$id": "339", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] }, "valueType": { - "$id": "338", + "$id": "340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3667,13 +3683,13 @@ "isHttpMetadata": false }, { - "$id": "339", + "$id": "341", "kind": "property", "name": "location", "serializedName": "location", "doc": "The geo-location where the resource lives", "type": { - "$id": "340", + "$id": "342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3696,13 +3712,13 @@ }, "properties": [ { - "$id": "341", + "$id": "343", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "342", + "$id": "344", "kind": "model", "name": "FooProperties", "namespace": "MgmtTypeSpec", @@ -3718,13 +3734,13 @@ ], "properties": [ { - "$id": "343", + "$id": "345", "kind": "property", "name": "serviceUrl", "serializedName": "serviceUrl", "doc": "the service url", "type": { - "$id": "344", + "$id": "346", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -3744,13 +3760,13 @@ "isHttpMetadata": false }, { - "$id": "345", + "$id": "347", "kind": "property", "name": "something", "serializedName": "something", "doc": "something", "type": { - "$id": "346", + "$id": "348", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3770,13 +3786,13 @@ "isHttpMetadata": false }, { - "$id": "347", + "$id": "349", "kind": "property", "name": "boolValue", "serializedName": "boolValue", "doc": "boolean value", "type": { - "$id": "348", + "$id": "350", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -3796,13 +3812,13 @@ "isHttpMetadata": false }, { - "$id": "349", + "$id": "351", "kind": "property", "name": "floatValue", "serializedName": "floatValue", "doc": "float value", "type": { - "$id": "350", + "$id": "352", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -3822,13 +3838,13 @@ "isHttpMetadata": false }, { - "$id": "351", + "$id": "353", "kind": "property", "name": "doubleValue", "serializedName": "doubleValue", "doc": "double value", "type": { - "$id": "352", + "$id": "354", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -3863,13 +3879,13 @@ "isHttpMetadata": false }, { - "$id": "353", + "$id": "355", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the Foo", "type": { - "$id": "354", + "$id": "356", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3889,12 +3905,12 @@ "isHttpMetadata": true }, { - "$id": "355", + "$id": "357", "kind": "property", "name": "extendedLocation", "serializedName": "extendedLocation", "type": { - "$id": "356", + "$id": "358", "kind": "model", "name": "ExtendedLocation", "namespace": "MgmtTypeSpec", @@ -3904,13 +3920,13 @@ "decorators": [], "properties": [ { - "$id": "357", + "$id": "359", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the extended location.", "type": { - "$id": "358", + "$id": "360", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -3930,7 +3946,7 @@ "isHttpMetadata": false }, { - "$id": "359", + "$id": "361", "kind": "property", "name": "type", "serializedName": "type", @@ -3969,16 +3985,16 @@ ] }, { - "$ref": "342" + "$ref": "344" }, { - "$ref": "356" + "$ref": "358" }, { - "$ref": "334" + "$ref": "336" }, { - "$id": "360", + "$id": "362", "kind": "model", "name": "FooListResult", "namespace": "MgmtTypeSpec", @@ -3988,17 +4004,17 @@ "decorators": [], "properties": [ { - "$id": "361", + "$id": "363", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Foo items on this page", "type": { - "$id": "362", + "$id": "364", "kind": "array", "name": "ArrayFoo", "valueType": { - "$ref": "327" + "$ref": "329" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4017,18 +4033,18 @@ "isHttpMetadata": false }, { - "$id": "363", + "$id": "365", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "364", + "$id": "366", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "365", + "$id": "367", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -4052,7 +4068,7 @@ ] }, { - "$id": "366", + "$id": "368", "kind": "model", "name": "FooSettings", "namespace": "MgmtTypeSpec", @@ -4075,7 +4091,7 @@ "resourceType": "MgmtTypeSpec/FooSettings", "methods": [ { - "$id": "367", + "$id": "369", "methodId": "MgmtTypeSpec.FooSettingsOperations.get", "kind": "Get", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", @@ -4083,7 +4099,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default" }, { - "$id": "368", + "$id": "370", "methodId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate", "kind": "Create", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", @@ -4091,7 +4107,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default" }, { - "$id": "369", + "$id": "371", "methodId": "MgmtTypeSpec.FooSettingsOperations.update", "kind": "Update", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", @@ -4099,7 +4115,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default" }, { - "$id": "370", + "$id": "372", "methodId": "MgmtTypeSpec.FooSettingsOperations.delete", "kind": "Delete", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/FooSettings/default", @@ -4114,17 +4130,17 @@ } ], "baseModel": { - "$ref": "228" + "$ref": "230" }, "properties": [ { - "$id": "371", + "$id": "373", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "372", + "$id": "374", "kind": "model", "name": "FooSettingsProperties", "namespace": "MgmtTypeSpec", @@ -4133,12 +4149,12 @@ "decorators": [], "properties": [ { - "$id": "373", + "$id": "375", "kind": "property", "name": "accessControlEnabled", "serializedName": "accessControlEnabled", "type": { - "$id": "374", + "$id": "376", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4158,7 +4174,7 @@ "isHttpMetadata": false }, { - "$id": "375", + "$id": "377", "kind": "property", "name": "provisioningState", "serializedName": "provisioningState", @@ -4179,12 +4195,12 @@ "isHttpMetadata": false }, { - "$id": "376", + "$id": "378", "kind": "property", "name": "metaData", "serializedName": "metaData", "type": { - "$id": "377", + "$id": "379", "kind": "model", "name": "FooSettingsPropertiesMetaData", "namespace": "MgmtTypeSpec", @@ -4193,12 +4209,12 @@ "decorators": [], "properties": [ { - "$id": "378", + "$id": "380", "kind": "property", "name": "metaDatas", "serializedName": "metaDatas", "type": { - "$ref": "257" + "$ref": "259" }, "optional": true, "readOnly": false, @@ -4244,13 +4260,13 @@ "isHttpMetadata": false }, { - "$id": "379", + "$id": "381", "kind": "property", "name": "name", "serializedName": "name", "doc": "The default Foo settings.", "type": { - "$id": "380", + "$id": "382", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4272,13 +4288,13 @@ ] }, { - "$ref": "372" + "$ref": "374" }, { - "$ref": "377" + "$ref": "379" }, { - "$id": "381", + "$id": "383", "kind": "model", "name": "FooSettingsUpdate", "namespace": "MgmtTypeSpec", @@ -4288,13 +4304,13 @@ "decorators": [], "properties": [ { - "$id": "382", + "$id": "384", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "383", + "$id": "385", "kind": "model", "name": "FooSettingsUpdateProperties", "namespace": "MgmtTypeSpec", @@ -4304,12 +4320,12 @@ "decorators": [], "properties": [ { - "$id": "384", + "$id": "386", "kind": "property", "name": "accessControlEnabled", "serializedName": "accessControlEnabled", "type": { - "$id": "385", + "$id": "387", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4346,10 +4362,10 @@ ] }, { - "$ref": "383" + "$ref": "385" }, { - "$id": "386", + "$id": "388", "kind": "model", "name": "Bar", "namespace": "MgmtTypeSpec", @@ -4372,7 +4388,7 @@ "resourceType": "MgmtTypeSpec/foos/bars", "methods": [ { - "$id": "387", + "$id": "389", "methodId": "MgmtTypeSpec.Bars.createOrUpdate", "kind": "Create", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}", @@ -4380,7 +4396,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}" }, { - "$id": "388", + "$id": "390", "methodId": "MgmtTypeSpec.Bars.delete", "kind": "Delete", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}", @@ -4388,7 +4404,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}" }, { - "$id": "389", + "$id": "391", "methodId": "MgmtTypeSpec.Bars.list", "kind": "List", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars", @@ -4396,7 +4412,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}" }, { - "$id": "390", + "$id": "392", "methodId": "MgmtTypeSpec.Bars.get", "kind": "Get", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}", @@ -4404,7 +4420,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}" }, { - "$id": "391", + "$id": "393", "methodId": "MgmtTypeSpec.Bars.update", "kind": "Update", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}", @@ -4419,17 +4435,17 @@ } ], "baseModel": { - "$ref": "334" + "$ref": "336" }, "properties": [ { - "$id": "392", + "$id": "394", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "393", + "$id": "395", "kind": "model", "name": "BarProperties", "namespace": "MgmtTypeSpec", @@ -4438,13 +4454,13 @@ "decorators": [], "properties": [ { - "$id": "394", + "$id": "396", "kind": "property", "name": "serviceUrl", "serializedName": "serviceUrl", "doc": "the service url", "type": { - "$id": "395", + "$id": "397", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -4464,13 +4480,13 @@ "isHttpMetadata": false }, { - "$id": "396", + "$id": "398", "kind": "property", "name": "something", "serializedName": "something", "doc": "something", "type": { - "$id": "397", + "$id": "399", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4490,13 +4506,13 @@ "isHttpMetadata": false }, { - "$id": "398", + "$id": "400", "kind": "property", "name": "boolValue", "serializedName": "boolValue", "doc": "boolean value", "type": { - "$id": "399", + "$id": "401", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4516,13 +4532,13 @@ "isHttpMetadata": false }, { - "$id": "400", + "$id": "402", "kind": "property", "name": "floatValue", "serializedName": "floatValue", "doc": "float value", "type": { - "$id": "401", + "$id": "403", "kind": "float32", "name": "float32", "crossLanguageDefinitionId": "TypeSpec.float32", @@ -4542,13 +4558,13 @@ "isHttpMetadata": false }, { - "$id": "402", + "$id": "404", "kind": "property", "name": "doubleValue", "serializedName": "doubleValue", "doc": "double value", "type": { - "$id": "403", + "$id": "405", "kind": "float64", "name": "float64", "crossLanguageDefinitionId": "TypeSpec.float64", @@ -4583,13 +4599,13 @@ "isHttpMetadata": false }, { - "$id": "404", + "$id": "406", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the Bar", "type": { - "$id": "405", + "$id": "407", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4611,10 +4627,10 @@ ] }, { - "$ref": "393" + "$ref": "395" }, { - "$id": "406", + "$id": "408", "kind": "model", "name": "BarListResult", "namespace": "MgmtTypeSpec", @@ -4624,17 +4640,17 @@ "decorators": [], "properties": [ { - "$id": "407", + "$id": "409", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Bar items on this page", "type": { - "$id": "408", + "$id": "410", "kind": "array", "name": "ArrayBar", "valueType": { - "$ref": "386" + "$ref": "388" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -4653,18 +4669,18 @@ "isHttpMetadata": false }, { - "$id": "409", + "$id": "411", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "410", + "$id": "412", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "411", + "$id": "413", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -4688,7 +4704,7 @@ ] }, { - "$id": "412", + "$id": "414", "kind": "model", "name": "BarSettingsResource", "namespace": "MgmtTypeSpec", @@ -4717,7 +4733,7 @@ "resourceType": "MgmtTypeSpec/foos/bars/settings", "methods": [ { - "$id": "413", + "$id": "415", "methodId": "MgmtTypeSpec.BarSettingsOperations.createOrUpdate", "kind": "Create", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}/settings/current", @@ -4725,7 +4741,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}/settings/current" }, { - "$id": "414", + "$id": "416", "methodId": "MgmtTypeSpec.BarSettingsOperations.get", "kind": "Get", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}/settings/current", @@ -4741,17 +4757,17 @@ } ], "baseModel": { - "$ref": "228" + "$ref": "230" }, "properties": [ { - "$id": "415", + "$id": "417", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "416", + "$id": "418", "kind": "model", "name": "BarSettingsProperties", "namespace": "MgmtTypeSpec", @@ -4760,13 +4776,13 @@ "decorators": [], "properties": [ { - "$id": "417", + "$id": "419", "kind": "property", "name": "isEnabled", "serializedName": "isEnabled", "doc": "enabled", "type": { - "$id": "418", + "$id": "420", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -4801,13 +4817,13 @@ "isHttpMetadata": false }, { - "$id": "419", + "$id": "421", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the BarSettingsResource", "type": { - "$id": "420", + "$id": "422", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -4827,12 +4843,12 @@ "isHttpMetadata": true }, { - "$id": "421", + "$id": "423", "kind": "property", "name": "stringArray", "serializedName": "stringArray", "type": { - "$ref": "257" + "$ref": "259" }, "optional": true, "readOnly": false, @@ -4848,12 +4864,12 @@ "isHttpMetadata": false }, { - "$id": "422", + "$id": "424", "kind": "property", "name": "property", "serializedName": "property", "type": { - "$id": "423", + "$id": "425", "kind": "model", "name": "BarQuotaProperties", "namespace": "MgmtTypeSpec", @@ -4862,13 +4878,13 @@ "decorators": [], "properties": [ { - "$id": "424", + "$id": "426", "kind": "property", "name": "left", "serializedName": "left", "doc": "enabled", "type": { - "$id": "425", + "$id": "427", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4903,12 +4919,12 @@ "isHttpMetadata": false }, { - "$id": "426", + "$id": "428", "kind": "property", "name": "anotherProperty", "serializedName": "anotherProperty", "type": { - "$ref": "423" + "$ref": "425" }, "optional": false, "readOnly": false, @@ -4924,12 +4940,12 @@ "isHttpMetadata": false }, { - "$id": "427", + "$id": "429", "kind": "property", "name": "flattenedNestedProperty", "serializedName": "flattenedNestedProperty", "type": { - "$id": "428", + "$id": "430", "kind": "model", "name": "BarNestedQuotaProperties", "namespace": "MgmtTypeSpec", @@ -4937,7 +4953,7 @@ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", "decorators": [], "baseModel": { - "$id": "429", + "$id": "431", "kind": "model", "name": "BarMiddleNestedQuotaProperties", "namespace": "MgmtTypeSpec", @@ -4945,7 +4961,7 @@ "usage": "Input,Output,Json,LroInitial,LroFinalEnvelope", "decorators": [], "baseModel": { - "$id": "430", + "$id": "432", "kind": "model", "name": "BarDeeplyNestedQuotaProperties", "namespace": "MgmtTypeSpec", @@ -4954,12 +4970,12 @@ "decorators": [], "properties": [ { - "$id": "431", + "$id": "433", "kind": "property", "name": "innerProp1", "serializedName": "innerProp1", "type": { - "$id": "432", + "$id": "434", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -4979,12 +4995,12 @@ "isHttpMetadata": false }, { - "$id": "433", + "$id": "435", "kind": "property", "name": "innerProp2", "serializedName": "innerProp2", "type": { - "$id": "434", + "$id": "436", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5007,12 +5023,12 @@ }, "properties": [ { - "$id": "435", + "$id": "437", "kind": "property", "name": "middleProp1", "serializedName": "middleProp1", "type": { - "$id": "436", + "$id": "438", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5032,12 +5048,12 @@ "isHttpMetadata": false }, { - "$id": "437", + "$id": "439", "kind": "property", "name": "middleProp2", "serializedName": "middleProp2", "type": { - "$ref": "336" + "$ref": "338" }, "optional": false, "readOnly": false, @@ -5056,12 +5072,12 @@ }, "properties": [ { - "$id": "438", + "$id": "440", "kind": "property", "name": "prop1", "serializedName": "prop1", "type": { - "$ref": "257" + "$ref": "259" }, "optional": false, "readOnly": false, @@ -5077,12 +5093,12 @@ "isHttpMetadata": false }, { - "$id": "439", + "$id": "441", "kind": "property", "name": "prop2", "serializedName": "prop2", "type": { - "$id": "440", + "$id": "442", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -5122,12 +5138,12 @@ "isHttpMetadata": false }, { - "$id": "441", + "$id": "443", "kind": "property", "name": "optionalFlattenProperty", "serializedName": "optionalFlattenProperty", "type": { - "$id": "442", + "$id": "444", "kind": "model", "name": "optionalFlattenPropertyType", "namespace": "MgmtTypeSpec", @@ -5136,12 +5152,12 @@ "decorators": [], "properties": [ { - "$id": "443", + "$id": "445", "kind": "property", "name": "randomCollectionProp", "serializedName": "randomCollectionProp", "type": { - "$ref": "257" + "$ref": "259" }, "optional": false, "readOnly": false, @@ -5174,25 +5190,25 @@ ] }, { - "$ref": "416" + "$ref": "418" }, { - "$ref": "423" + "$ref": "425" }, { - "$ref": "428" + "$ref": "430" }, { - "$ref": "429" + "$ref": "431" }, { - "$ref": "430" + "$ref": "432" }, { - "$ref": "442" + "$ref": "444" }, { - "$id": "444", + "$id": "446", "kind": "model", "name": "BarQuotaResource", "namespace": "MgmtTypeSpec", @@ -5215,7 +5231,7 @@ "resourceType": "MgmtTypeSpec/foos/bars/quotas", "methods": [ { - "$id": "445", + "$id": "447", "methodId": "MgmtTypeSpec.BarQuotaOperations.get", "kind": "Get", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}/quotas/{barQuotaResourceName}", @@ -5223,7 +5239,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}/quotas/{barQuotaResourceName}" }, { - "$id": "446", + "$id": "448", "methodId": "MgmtTypeSpec.BarQuotaOperations.update", "kind": "Update", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/foos/{fooName}/bars/{barName}/quotas/{barQuotaResourceName}", @@ -5238,17 +5254,17 @@ } ], "baseModel": { - "$ref": "228" + "$ref": "230" }, "properties": [ { - "$id": "447", + "$id": "449", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$ref": "423" + "$ref": "425" }, "optional": true, "readOnly": false, @@ -5264,7 +5280,7 @@ "isHttpMetadata": false }, { - "$id": "448", + "$id": "450", "kind": "property", "name": "name", "serializedName": "name", @@ -5288,7 +5304,7 @@ ] }, { - "$id": "449", + "$id": "451", "kind": "model", "name": "Baz", "namespace": "MgmtTypeSpec", @@ -5307,7 +5323,7 @@ "resourceType": "MgmtTypeSpec/bazs", "methods": [ { - "$id": "450", + "$id": "452", "methodId": "MgmtTypeSpec.Bazs.createOrUpdate", "kind": "Create", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}", @@ -5315,7 +5331,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}" }, { - "$id": "451", + "$id": "453", "methodId": "MgmtTypeSpec.Bazs.get", "kind": "Get", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}", @@ -5323,7 +5339,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}" }, { - "$id": "452", + "$id": "454", "methodId": "MgmtTypeSpec.Bazs.delete", "kind": "Delete", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}", @@ -5331,7 +5347,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}" }, { - "$id": "453", + "$id": "455", "methodId": "MgmtTypeSpec.Bazs.update", "kind": "Update", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}", @@ -5339,14 +5355,14 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs/{bazName}" }, { - "$id": "454", + "$id": "456", "methodId": "MgmtTypeSpec.Bazs.list", "kind": "List", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/bazs", "operationScope": "ResourceGroup" }, { - "$id": "455", + "$id": "457", "methodId": "MgmtTypeSpec.Bazs.listBySubscription", "kind": "List", "operationPath": "/subscriptions/{subscriptionId}/providers/MgmtTypeSpec/bazs", @@ -5359,17 +5375,17 @@ } ], "baseModel": { - "$ref": "334" + "$ref": "336" }, "properties": [ { - "$id": "456", + "$id": "458", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "457", + "$id": "459", "kind": "model", "name": "BazProperties", "namespace": "MgmtTypeSpec", @@ -5378,13 +5394,13 @@ "decorators": [], "properties": [ { - "$id": "458", + "$id": "460", "kind": "property", "name": "something", "serializedName": "something", "doc": "something", "type": { - "$id": "459", + "$id": "461", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5404,13 +5420,13 @@ "isHttpMetadata": false }, { - "$id": "460", + "$id": "462", "kind": "property", "name": "boolValue", "serializedName": "boolValue", "doc": "boolean value", "type": { - "$id": "461", + "$id": "463", "kind": "boolean", "name": "boolean", "crossLanguageDefinitionId": "TypeSpec.boolean", @@ -5445,13 +5461,13 @@ "isHttpMetadata": false }, { - "$id": "462", + "$id": "464", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the Baz", "type": { - "$id": "463", + "$id": "465", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5473,10 +5489,10 @@ ] }, { - "$ref": "457" + "$ref": "459" }, { - "$id": "464", + "$id": "466", "kind": "model", "name": "BazListResult", "namespace": "MgmtTypeSpec", @@ -5486,17 +5502,17 @@ "decorators": [], "properties": [ { - "$id": "465", + "$id": "467", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Baz items on this page", "type": { - "$id": "466", + "$id": "468", "kind": "array", "name": "ArrayBaz", "valueType": { - "$ref": "449" + "$ref": "451" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -5515,18 +5531,18 @@ "isHttpMetadata": false }, { - "$id": "467", + "$id": "469", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "468", + "$id": "470", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "469", + "$id": "471", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -5550,7 +5566,7 @@ ] }, { - "$id": "470", + "$id": "472", "kind": "model", "name": "Zoo", "namespace": "MgmtTypeSpec", @@ -5569,7 +5585,7 @@ "resourceType": "MgmtTypeSpec/zoos", "methods": [ { - "$id": "471", + "$id": "473", "methodId": "MgmtTypeSpec.Zoos.createOrUpdate", "kind": "Create", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}", @@ -5577,7 +5593,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}" }, { - "$id": "472", + "$id": "474", "methodId": "MgmtTypeSpec.Zoos.get", "kind": "Get", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}", @@ -5585,7 +5601,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}" }, { - "$id": "473", + "$id": "475", "methodId": "MgmtTypeSpec.Zoos.delete", "kind": "Delete", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}", @@ -5593,7 +5609,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}" }, { - "$id": "474", + "$id": "476", "methodId": "MgmtTypeSpec.Zoos.update", "kind": "Update", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}", @@ -5601,21 +5617,21 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}" }, { - "$id": "475", + "$id": "477", "methodId": "MgmtTypeSpec.Zoos.list", "kind": "List", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos", "operationScope": "ResourceGroup" }, { - "$id": "476", + "$id": "478", "methodId": "MgmtTypeSpec.Zoos.listBySubscription", "kind": "List", "operationPath": "/subscriptions/{subscriptionId}/providers/MgmtTypeSpec/zoos", "operationScope": "Subscription" }, { - "$id": "477", + "$id": "479", "methodId": "MgmtTypeSpec.Zoos.zooAddressList", "kind": "Action", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}/zooAddressList", @@ -5623,7 +5639,7 @@ "resourceScope": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}" }, { - "$id": "478", + "$id": "480", "methodId": "MgmtTypeSpec.Zoos.recommend", "kind": "Action", "operationPath": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/MgmtTypeSpec/zoos/{zooName}/recommend", @@ -5637,17 +5653,17 @@ } ], "baseModel": { - "$ref": "334" + "$ref": "336" }, "properties": [ { - "$id": "479", + "$id": "481", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "480", + "$id": "482", "kind": "model", "name": "ZooProperties", "namespace": "MgmtTypeSpec", @@ -5663,13 +5679,13 @@ ], "properties": [ { - "$id": "481", + "$id": "483", "kind": "property", "name": "something", "serializedName": "something", "doc": "something", "type": { - "$id": "482", + "$id": "484", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5704,13 +5720,13 @@ "isHttpMetadata": false }, { - "$id": "483", + "$id": "485", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the Zoo", "type": { - "$id": "484", + "$id": "486", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5730,12 +5746,12 @@ "isHttpMetadata": true }, { - "$id": "485", + "$id": "487", "kind": "property", "name": "extendedLocation", "serializedName": "extendedLocation", "type": { - "$ref": "356" + "$ref": "358" }, "optional": true, "readOnly": false, @@ -5753,10 +5769,10 @@ ] }, { - "$ref": "480" + "$ref": "482" }, { - "$id": "486", + "$id": "488", "kind": "model", "name": "ZooUpdate", "namespace": "MgmtTypeSpec", @@ -5766,13 +5782,13 @@ "decorators": [], "properties": [ { - "$id": "487", + "$id": "489", "kind": "property", "name": "tags", "serializedName": "tags", "doc": "Resource tags.", "type": { - "$ref": "336" + "$ref": "338" }, "optional": true, "readOnly": false, @@ -5788,13 +5804,13 @@ "isHttpMetadata": false }, { - "$id": "488", + "$id": "490", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "489", + "$id": "491", "kind": "model", "name": "ZooUpdateProperties", "namespace": "MgmtTypeSpec", @@ -5804,13 +5820,13 @@ "decorators": [], "properties": [ { - "$id": "490", + "$id": "492", "kind": "property", "name": "something", "serializedName": "something", "doc": "something", "type": { - "$id": "491", + "$id": "493", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -5847,10 +5863,10 @@ ] }, { - "$ref": "489" + "$ref": "491" }, { - "$id": "492", + "$id": "494", "kind": "model", "name": "ZooListResult", "namespace": "MgmtTypeSpec", @@ -5860,17 +5876,17 @@ "decorators": [], "properties": [ { - "$id": "493", + "$id": "495", "kind": "property", "name": "value", "serializedName": "value", "doc": "The Zoo items on this page", "type": { - "$id": "494", + "$id": "496", "kind": "array", "name": "ArrayZoo", "valueType": { - "$ref": "470" + "$ref": "472" }, "crossLanguageDefinitionId": "TypeSpec.Array", "decorators": [] @@ -5889,18 +5905,18 @@ "isHttpMetadata": false }, { - "$id": "495", + "$id": "497", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "496", + "$id": "498", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "497", + "$id": "499", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -5924,7 +5940,7 @@ ] }, { - "$id": "498", + "$id": "500", "kind": "model", "name": "ZooAddressListListResult", "namespace": "MgmtTypeSpec", @@ -5934,17 +5950,17 @@ "decorators": [], "properties": [ { - "$id": "499", + "$id": "501", "kind": "property", "name": "value", "serializedName": "value", "doc": "The ZooAddress items on this page", "type": { - "$id": "500", + "$id": "502", "kind": "array", "name": "ArraySubResource", "valueType": { - "$id": "501", + "$id": "503", "kind": "model", "name": "SubResource", "namespace": "MgmtTypeSpec", @@ -5970,18 +5986,18 @@ "isHttpMetadata": false }, { - "$id": "502", + "$id": "504", "kind": "property", "name": "nextLink", "serializedName": "nextLink", "doc": "The link to the next page of items", "type": { - "$id": "503", + "$id": "505", "kind": "url", "name": "ResourceLocation", "crossLanguageDefinitionId": "TypeSpec.Rest.ResourceLocation", "baseType": { - "$id": "504", + "$id": "506", "kind": "url", "name": "url", "crossLanguageDefinitionId": "TypeSpec.url", @@ -6005,10 +6021,10 @@ ] }, { - "$ref": "501" + "$ref": "503" }, { - "$id": "505", + "$id": "507", "kind": "model", "name": "EndpointResource", "namespace": "MgmtTypeSpec", @@ -6027,7 +6043,7 @@ "resourceType": "MgmtTypeSpec/endpoints", "methods": [ { - "$id": "506", + "$id": "508", "methodId": "MgmtTypeSpec.EndpointResources.get", "kind": "Get", "operationPath": "/{resourceUri}/providers/MgmtTypeSpec/endpoints/{endpointName}", @@ -6035,7 +6051,7 @@ "resourceScope": "/{resourceUri}/providers/MgmtTypeSpec/endpoints/{endpointName}" }, { - "$id": "507", + "$id": "509", "methodId": "MgmtTypeSpec.EndpointResources.createOrUpdate", "kind": "Create", "operationPath": "/{resourceUri}/providers/MgmtTypeSpec/endpoints/{endpointName}", @@ -6043,7 +6059,7 @@ "resourceScope": "/{resourceUri}/providers/MgmtTypeSpec/endpoints/{endpointName}" }, { - "$id": "508", + "$id": "510", "methodId": "MgmtTypeSpec.EndpointResources.update", "kind": "Update", "operationPath": "/{resourceUri}/providers/MgmtTypeSpec/endpoints/{endpointName}", @@ -6051,7 +6067,7 @@ "resourceScope": "/{resourceUri}/providers/MgmtTypeSpec/endpoints/{endpointName}" }, { - "$id": "509", + "$id": "511", "methodId": "MgmtTypeSpec.EndpointResources.delete", "kind": "Delete", "operationPath": "/{resourceUri}/providers/MgmtTypeSpec/endpoints/{endpointName}", @@ -6065,7 +6081,7 @@ } ], "baseModel": { - "$id": "510", + "$id": "512", "kind": "model", "name": "ExtensionResource", "namespace": "MgmtTypeSpec", @@ -6074,19 +6090,19 @@ "doc": "The base extension resource.", "decorators": [], "baseModel": { - "$ref": "229" + "$ref": "231" }, "properties": [] }, "properties": [ { - "$id": "511", + "$id": "513", "kind": "property", "name": "properties", "serializedName": "properties", "doc": "The resource-specific properties for this resource.", "type": { - "$id": "512", + "$id": "514", "kind": "model", "name": "EndpointProperties", "namespace": "MgmtTypeSpec", @@ -6095,12 +6111,12 @@ "decorators": [], "properties": [ { - "$id": "513", + "$id": "515", "kind": "property", "name": "prop", "serializedName": "prop", "type": { - "$id": "514", + "$id": "516", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6135,13 +6151,13 @@ "isHttpMetadata": false }, { - "$id": "515", + "$id": "517", "kind": "property", "name": "name", "serializedName": "name", "doc": "The name of the EndpointResource", "type": { - "$id": "516", + "$id": "518", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6163,29 +6179,152 @@ ] }, { - "$ref": "512" + "$ref": "514" }, { - "$ref": "510" + "$ref": "512" }, { - "$id": "517", + "$id": "519", "kind": "model", - "name": "ZooRecommendation", + "name": "SelfHelpResource", "namespace": "MgmtTypeSpec", - "crossLanguageDefinitionId": "MgmtTypeSpec.ZooRecommendation", + "crossLanguageDefinitionId": "MgmtTypeSpec.SelfHelpResource", "usage": "Output,Json", - "decorators": [], + "doc": "Concrete extension resource types can be created by aliasing this type using a specific property type.", + "decorators": [ + { + "name": "Azure.ResourceManager.Private.@armResourceInternal", + "arguments": {} + }, + { + "name": "Azure.ClientGenerator.Core.@resourceSchema", + "arguments": { + "resourceIdPattern": "/{scope}/providers/MgmtTypeSpec/selfHelps/{selfHelpName}", + "resourceType": "MgmtTypeSpec/selfHelps", + "methods": [ + { + "$id": "520", + "methodId": "MgmtTypeSpec.SolutionResources.get", + "kind": "Get", + "operationPath": "/{scope}/providers/MgmtTypeSpec/selfHelps/{selfHelpName}", + "operationScope": "Tenant", + "resourceScope": "/{scope}/providers/MgmtTypeSpec/selfHelps/{selfHelpName}" + } + ], + "resourceScope": "ResourceGroup", + "resourceName": "SelfHelpResource" + } + } + ], + "baseModel": { + "$ref": "512" + }, "properties": [ { - "$id": "518", + "$id": "521", "kind": "property", - "name": "recommendedValue", - "serializedName": "recommendedValue", - "doc": "The recommended value", - "type": { - "$id": "519", - "kind": "string", + "name": "properties", + "serializedName": "properties", + "doc": "The resource-specific properties for this resource.", + "type": { + "$id": "522", + "kind": "model", + "name": "SelfHelpResourceProperties", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.SelfHelpResourceProperties", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "523", + "kind": "property", + "name": "selfHelpId", + "serializedName": "selfHelpId", + "type": { + "$id": "524", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.SelfHelpResourceProperties.selfHelpId", + "serializationOptions": { + "json": { + "name": "selfHelpId" + } + }, + "isHttpMetadata": false + } + ] + }, + "optional": true, + "readOnly": false, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.SelfHelpResource.properties", + "serializationOptions": { + "json": { + "name": "properties" + } + }, + "isHttpMetadata": false + }, + { + "$id": "525", + "kind": "property", + "name": "name", + "serializedName": "name", + "doc": "The name of the SelfHelpResource", + "type": { + "$id": "526", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "optional": false, + "readOnly": true, + "discriminator": false, + "flatten": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.SelfHelpResource.name", + "serializationOptions": { + "json": { + "name": "name" + } + }, + "isHttpMetadata": true + } + ] + }, + { + "$ref": "522" + }, + { + "$id": "527", + "kind": "model", + "name": "ZooRecommendation", + "namespace": "MgmtTypeSpec", + "crossLanguageDefinitionId": "MgmtTypeSpec.ZooRecommendation", + "usage": "Output,Json", + "decorators": [], + "properties": [ + { + "$id": "528", + "kind": "property", + "name": "recommendedValue", + "serializedName": "recommendedValue", + "doc": "The recommended value", + "type": { + "$id": "529", + "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", "decorators": [] @@ -6204,13 +6343,13 @@ "isHttpMetadata": false }, { - "$id": "520", + "$id": "530", "kind": "property", "name": "reason", "serializedName": "reason", "doc": "The reason for the recommendation", "type": { - "$id": "521", + "$id": "531", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6234,13 +6373,13 @@ ], "clients": [ { - "$id": "522", + "$id": "532", "kind": "client", "name": "MgmtTypeSpecClient", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "523", + "$id": "533", "kind": "basic", "name": "previewActions", "accessibility": "public", @@ -6249,20 +6388,20 @@ ], "doc": "Runs the input conditions against input object metadata properties and designates matched objects in response.", "operation": { - "$id": "524", + "$id": "534", "name": "previewActions", "resourceName": "MgmtTypeSpec", "doc": "Runs the input conditions against input object metadata properties and designates matched objects in response.", "accessibility": "public", "parameters": [ { - "$id": "525", + "$id": "535", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "526", + "$id": "536", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6272,7 +6411,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "527", + "$id": "537", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6286,18 +6425,18 @@ "readOnly": false }, { - "$id": "528", + "$id": "538", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "529", + "$id": "539", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "530", + "$id": "540", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6317,17 +6456,17 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.previewActions.subscriptionId" }, { - "$id": "531", + "$id": "541", "kind": "path", "name": "location", "serializedName": "location", "type": { - "$id": "532", + "$id": "542", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "533", + "$id": "543", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6347,7 +6486,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.previewActions.location" }, { - "$id": "534", + "$id": "544", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -6364,7 +6503,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.previewActions.contentType" }, { - "$id": "535", + "$id": "545", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -6380,13 +6519,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.previewActions.accept" }, { - "$id": "536", + "$id": "546", "kind": "body", "name": "body", "serializedName": "body", "doc": "The request body", "type": { - "$ref": "178" + "$ref": "180" }, "isApiVersion": false, "contentTypes": [ @@ -6406,7 +6545,7 @@ 200 ], "bodyType": { - "$ref": "178" + "$ref": "180" }, "headers": [], "isErrorResponse": false, @@ -6429,17 +6568,17 @@ }, "parameters": [ { - "$id": "537", + "$id": "547", "kind": "method", "name": "location", "serializedName": "location", "type": { - "$id": "538", + "$id": "548", "kind": "string", "name": "azureLocation", "crossLanguageDefinitionId": "Azure.Core.azureLocation", "baseType": { - "$id": "539", + "$id": "549", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6457,13 +6596,13 @@ "decorators": [] }, { - "$id": "540", + "$id": "550", "kind": "method", "name": "body", "serializedName": "body", "doc": "The request body", "type": { - "$ref": "178" + "$ref": "180" }, "location": "Body", "isApiVersion": false, @@ -6475,7 +6614,7 @@ "decorators": [] }, { - "$id": "541", + "$id": "551", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -6493,7 +6632,7 @@ "decorators": [] }, { - "$id": "542", + "$id": "552", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -6512,7 +6651,7 @@ ], "response": { "type": { - "$ref": "178" + "$ref": "180" } }, "isOverride": false, @@ -6523,13 +6662,13 @@ ], "parameters": [ { - "$id": "543", + "$id": "553", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "544", + "$id": "554", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6540,7 +6679,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "545", + "$id": "555", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6582,13 +6721,13 @@ ], "children": [ { - "$id": "546", + "$id": "556", "kind": "client", "name": "Operations", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "547", + "$id": "557", "kind": "paging", "name": "list", "accessibility": "public", @@ -6597,20 +6736,20 @@ ], "doc": "List the operations for the provider", "operation": { - "$id": "548", + "$id": "558", "name": "list", "resourceName": "Operations", "doc": "List the operations for the provider", "accessibility": "public", "parameters": [ { - "$id": "549", + "$id": "559", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "550", + "$id": "560", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6620,7 +6759,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "551", + "$id": "561", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6634,7 +6773,7 @@ "readOnly": false }, { - "$id": "552", + "$id": "562", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -6656,7 +6795,7 @@ 200 ], "bodyType": { - "$ref": "201" + "$ref": "203" }, "headers": [], "isErrorResponse": false, @@ -6676,7 +6815,7 @@ }, "parameters": [ { - "$id": "553", + "$id": "563", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -6695,7 +6834,7 @@ ], "response": { "type": { - "$ref": "203" + "$ref": "205" }, "resultSegments": [ "value" @@ -6720,13 +6859,13 @@ ], "parameters": [ { - "$id": "554", + "$id": "564", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "555", + "$id": "565", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -6737,7 +6876,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "556", + "$id": "566", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6756,17 +6895,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "557", + "$id": "567", "kind": "client", "name": "PrivateLinks", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "558", + "$id": "568", "kind": "paging", "name": "GetAllPrivateLinkResources", "accessibility": "public", @@ -6775,20 +6914,20 @@ ], "doc": "list private links on the given resource", "operation": { - "$id": "559", + "$id": "569", "name": "GetAllPrivateLinkResources", "resourceName": "PrivateLink", "doc": "list private links on the given resource", "accessibility": "public", "parameters": [ { - "$id": "560", + "$id": "570", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "561", + "$id": "571", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6798,7 +6937,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "562", + "$id": "572", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -6812,18 +6951,18 @@ "readOnly": false }, { - "$id": "563", + "$id": "573", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "564", + "$id": "574", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "565", + "$id": "575", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6843,13 +6982,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster.subscriptionId" }, { - "$id": "566", + "$id": "576", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "567", + "$id": "577", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6867,7 +7006,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.listByMongoCluster.resourceGroupName" }, { - "$id": "568", + "$id": "578", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -6889,7 +7028,7 @@ 200 ], "bodyType": { - "$ref": "224" + "$ref": "226" }, "headers": [], "isErrorResponse": false, @@ -6914,13 +7053,13 @@ }, "parameters": [ { - "$id": "569", + "$id": "579", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "570", + "$id": "580", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -6936,7 +7075,7 @@ "decorators": [] }, { - "$id": "571", + "$id": "581", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -6955,7 +7094,7 @@ ], "response": { "type": { - "$ref": "226" + "$ref": "228" }, "resultSegments": [ "value" @@ -6978,7 +7117,7 @@ } }, { - "$id": "572", + "$id": "582", "kind": "lro", "name": "start", "accessibility": "public", @@ -6987,20 +7126,20 @@ ], "doc": "Starts the SAP Application Server Instance.", "operation": { - "$id": "573", + "$id": "583", "name": "start", "resourceName": "PrivateLinks", "doc": "Starts the SAP Application Server Instance.", "accessibility": "public", "parameters": [ { - "$id": "574", + "$id": "584", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "575", + "$id": "585", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7010,7 +7149,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "576", + "$id": "586", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7024,18 +7163,18 @@ "readOnly": false }, { - "$id": "577", + "$id": "587", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "578", + "$id": "588", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "579", + "$id": "589", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7055,13 +7194,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start.subscriptionId" }, { - "$id": "580", + "$id": "590", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "581", + "$id": "591", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7079,13 +7218,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start.resourceGroupName" }, { - "$id": "582", + "$id": "592", "kind": "path", "name": "privateLinkResourceName", "serializedName": "privateLinkResourceName", "doc": "The name of the private link associated with the Azure resource.", "type": { - "$id": "583", + "$id": "593", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7103,7 +7242,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start.privateLinkResourceName" }, { - "$id": "584", + "$id": "594", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7120,7 +7259,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start.contentType" }, { - "$id": "585", + "$id": "595", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7136,13 +7275,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.PrivateLinks.start.accept" }, { - "$id": "586", + "$id": "596", "kind": "body", "name": "body", "serializedName": "body", "doc": "SAP Application server instance start request body.", "type": { - "$ref": "287" + "$ref": "289" }, "isApiVersion": false, "contentTypes": [ @@ -7167,7 +7306,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "587", + "$id": "597", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7179,7 +7318,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "588", + "$id": "598", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -7194,7 +7333,7 @@ 200 ], "bodyType": { - "$ref": "290" + "$ref": "292" }, "headers": [], "isErrorResponse": false, @@ -7222,13 +7361,13 @@ }, "parameters": [ { - "$id": "589", + "$id": "599", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "590", + "$id": "600", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7244,13 +7383,13 @@ "decorators": [] }, { - "$id": "591", + "$id": "601", "kind": "method", "name": "privateLinkResourceName", "serializedName": "privateLinkResourceName", "doc": "The name of the private link associated with the Azure resource.", "type": { - "$id": "592", + "$id": "602", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7266,13 +7405,13 @@ "decorators": [] }, { - "$id": "593", + "$id": "603", "kind": "method", "name": "body", "serializedName": "body", "doc": "The content of the action request", "type": { - "$ref": "285" + "$ref": "287" }, "location": "", "isApiVersion": false, @@ -7284,7 +7423,7 @@ "decorators": [] }, { - "$id": "594", + "$id": "604", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7302,7 +7441,7 @@ "decorators": [] }, { - "$id": "595", + "$id": "605", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7321,7 +7460,7 @@ ], "response": { "type": { - "$ref": "290" + "$ref": "292" } }, "isOverride": false, @@ -7335,7 +7474,7 @@ 200 ], "bodyType": { - "$ref": "290" + "$ref": "292" } } } @@ -7343,13 +7482,13 @@ ], "parameters": [ { - "$id": "596", + "$id": "606", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "597", + "$id": "607", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -7360,7 +7499,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "598", + "$id": "608", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7384,17 +7523,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "599", + "$id": "609", "kind": "client", "name": "Foos", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "600", + "$id": "610", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -7403,20 +7542,20 @@ ], "doc": "Create a Foo", "operation": { - "$id": "601", + "$id": "611", "name": "createOrUpdate", "resourceName": "Foo", "doc": "Create a Foo", "accessibility": "public", "parameters": [ { - "$id": "602", + "$id": "612", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "603", + "$id": "613", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7426,7 +7565,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "604", + "$id": "614", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7440,18 +7579,18 @@ "readOnly": false }, { - "$id": "605", + "$id": "615", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "606", + "$id": "616", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "607", + "$id": "617", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7471,13 +7610,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate.subscriptionId" }, { - "$id": "608", + "$id": "618", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "609", + "$id": "619", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7495,13 +7634,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate.resourceGroupName" }, { - "$id": "610", + "$id": "620", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "611", + "$id": "621", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7519,7 +7658,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate.fooName" }, { - "$id": "612", + "$id": "622", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -7536,7 +7675,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate.contentType" }, { - "$id": "613", + "$id": "623", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7552,13 +7691,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.createOrUpdate.accept" }, { - "$id": "614", + "$id": "624", "kind": "body", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "327" + "$ref": "329" }, "isApiVersion": false, "contentTypes": [ @@ -7578,7 +7717,7 @@ 200 ], "bodyType": { - "$ref": "327" + "$ref": "329" }, "headers": [], "isErrorResponse": false, @@ -7591,7 +7730,7 @@ 201 ], "bodyType": { - "$ref": "327" + "$ref": "329" }, "headers": [ { @@ -7599,7 +7738,7 @@ "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "615", + "$id": "625", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7611,7 +7750,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "616", + "$id": "626", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -7644,13 +7783,13 @@ }, "parameters": [ { - "$id": "617", + "$id": "627", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "618", + "$id": "628", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7666,13 +7805,13 @@ "decorators": [] }, { - "$id": "619", + "$id": "629", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "620", + "$id": "630", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7688,13 +7827,13 @@ "decorators": [] }, { - "$id": "621", + "$id": "631", "kind": "method", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "327" + "$ref": "329" }, "location": "Body", "isApiVersion": false, @@ -7706,7 +7845,7 @@ "decorators": [] }, { - "$id": "622", + "$id": "632", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -7724,7 +7863,7 @@ "decorators": [] }, { - "$id": "623", + "$id": "633", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7743,7 +7882,7 @@ ], "response": { "type": { - "$ref": "327" + "$ref": "329" } }, "isOverride": false, @@ -7757,13 +7896,13 @@ 200 ], "bodyType": { - "$ref": "327" + "$ref": "329" } } } }, { - "$id": "624", + "$id": "634", "kind": "basic", "name": "get", "accessibility": "public", @@ -7772,20 +7911,20 @@ ], "doc": "Get a Foo", "operation": { - "$id": "625", + "$id": "635", "name": "get", "resourceName": "Foo", "doc": "Get a Foo", "accessibility": "public", "parameters": [ { - "$id": "626", + "$id": "636", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "627", + "$id": "637", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7795,7 +7934,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "628", + "$id": "638", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -7809,18 +7948,18 @@ "readOnly": false }, { - "$id": "629", + "$id": "639", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "630", + "$id": "640", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "631", + "$id": "641", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7840,13 +7979,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get.subscriptionId" }, { - "$id": "632", + "$id": "642", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "633", + "$id": "643", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7864,13 +8003,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get.resourceGroupName" }, { - "$id": "634", + "$id": "644", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "635", + "$id": "645", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7888,7 +8027,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get.fooName" }, { - "$id": "636", + "$id": "646", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -7910,7 +8049,7 @@ 200 ], "bodyType": { - "$ref": "327" + "$ref": "329" }, "headers": [], "isErrorResponse": false, @@ -7935,13 +8074,13 @@ }, "parameters": [ { - "$id": "637", + "$id": "647", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "638", + "$id": "648", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7957,13 +8096,13 @@ "decorators": [] }, { - "$id": "639", + "$id": "649", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "640", + "$id": "650", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -7979,7 +8118,7 @@ "decorators": [] }, { - "$id": "641", + "$id": "651", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -7998,7 +8137,7 @@ ], "response": { "type": { - "$ref": "327" + "$ref": "329" } }, "isOverride": false, @@ -8007,7 +8146,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.get" }, { - "$id": "642", + "$id": "652", "kind": "lro", "name": "delete", "accessibility": "public", @@ -8016,20 +8155,20 @@ ], "doc": "Delete a Foo", "operation": { - "$id": "643", + "$id": "653", "name": "delete", "resourceName": "Foo", "doc": "Delete a Foo", "accessibility": "public", "parameters": [ { - "$id": "644", + "$id": "654", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "645", + "$id": "655", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8039,7 +8178,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "646", + "$id": "656", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8053,18 +8192,18 @@ "readOnly": false }, { - "$id": "647", + "$id": "657", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "648", + "$id": "658", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "649", + "$id": "659", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8084,13 +8223,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete.subscriptionId" }, { - "$id": "650", + "$id": "660", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "651", + "$id": "661", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8108,13 +8247,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.delete.resourceGroupName" }, { - "$id": "652", + "$id": "662", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "653", + "$id": "663", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8143,7 +8282,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "654", + "$id": "664", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8155,7 +8294,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "655", + "$id": "665", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -8189,13 +8328,13 @@ }, "parameters": [ { - "$id": "656", + "$id": "666", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "657", + "$id": "667", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8211,13 +8350,13 @@ "decorators": [] }, { - "$id": "658", + "$id": "668", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "659", + "$id": "669", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8248,7 +8387,7 @@ } }, { - "$id": "660", + "$id": "670", "kind": "lro", "name": "update", "accessibility": "public", @@ -8257,20 +8396,20 @@ ], "doc": "Update a Foo", "operation": { - "$id": "661", + "$id": "671", "name": "update", "resourceName": "Foo", "doc": "Update a Foo", "accessibility": "public", "parameters": [ { - "$id": "662", + "$id": "672", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "663", + "$id": "673", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8280,7 +8419,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "664", + "$id": "674", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8294,18 +8433,18 @@ "readOnly": false }, { - "$id": "665", + "$id": "675", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "666", + "$id": "676", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "667", + "$id": "677", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8325,13 +8464,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update.subscriptionId" }, { - "$id": "668", + "$id": "678", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "669", + "$id": "679", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8349,13 +8488,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update.resourceGroupName" }, { - "$id": "670", + "$id": "680", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "671", + "$id": "681", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8373,7 +8512,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update.fooName" }, { - "$id": "672", + "$id": "682", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -8390,7 +8529,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update.contentType" }, { - "$id": "673", + "$id": "683", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8406,13 +8545,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.update.accept" }, { - "$id": "674", + "$id": "684", "kind": "body", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "327" + "$ref": "329" }, "isApiVersion": false, "contentTypes": [ @@ -8432,7 +8571,7 @@ 200 ], "bodyType": { - "$ref": "327" + "$ref": "329" }, "headers": [], "isErrorResponse": false, @@ -8450,7 +8589,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "675", + "$id": "685", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8462,7 +8601,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "676", + "$id": "686", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -8492,13 +8631,13 @@ }, "parameters": [ { - "$id": "677", + "$id": "687", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "678", + "$id": "688", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8514,13 +8653,13 @@ "decorators": [] }, { - "$id": "679", + "$id": "689", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "680", + "$id": "690", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8536,13 +8675,13 @@ "decorators": [] }, { - "$id": "681", + "$id": "691", "kind": "method", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "327" + "$ref": "329" }, "location": "Body", "isApiVersion": false, @@ -8554,7 +8693,7 @@ "decorators": [] }, { - "$id": "682", + "$id": "692", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -8572,7 +8711,7 @@ "decorators": [] }, { - "$id": "683", + "$id": "693", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8591,7 +8730,7 @@ ], "response": { "type": { - "$ref": "327" + "$ref": "329" } }, "isOverride": false, @@ -8605,13 +8744,13 @@ 200 ], "bodyType": { - "$ref": "327" + "$ref": "329" } } } }, { - "$id": "684", + "$id": "694", "kind": "paging", "name": "list", "accessibility": "public", @@ -8620,20 +8759,20 @@ ], "doc": "List Foo resources by resource group", "operation": { - "$id": "685", + "$id": "695", "name": "list", "resourceName": "Foo", "doc": "List Foo resources by resource group", "accessibility": "public", "parameters": [ { - "$id": "686", + "$id": "696", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "687", + "$id": "697", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8643,7 +8782,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "688", + "$id": "698", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8657,18 +8796,18 @@ "readOnly": false }, { - "$id": "689", + "$id": "699", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "690", + "$id": "700", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "691", + "$id": "701", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8688,13 +8827,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list.subscriptionId" }, { - "$id": "692", + "$id": "702", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "693", + "$id": "703", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8712,7 +8851,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.list.resourceGroupName" }, { - "$id": "694", + "$id": "704", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8734,7 +8873,7 @@ 200 ], "bodyType": { - "$ref": "360" + "$ref": "362" }, "headers": [], "isErrorResponse": false, @@ -8759,13 +8898,13 @@ }, "parameters": [ { - "$id": "695", + "$id": "705", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "696", + "$id": "706", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8781,7 +8920,7 @@ "decorators": [] }, { - "$id": "697", + "$id": "707", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8800,7 +8939,7 @@ ], "response": { "type": { - "$ref": "362" + "$ref": "364" }, "resultSegments": [ "value" @@ -8823,7 +8962,7 @@ } }, { - "$id": "698", + "$id": "708", "kind": "paging", "name": "listBySubscription", "accessibility": "public", @@ -8832,20 +8971,20 @@ ], "doc": "List Foo resources by subscription ID", "operation": { - "$id": "699", + "$id": "709", "name": "listBySubscription", "resourceName": "Foo", "doc": "List Foo resources by subscription ID", "accessibility": "public", "parameters": [ { - "$id": "700", + "$id": "710", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "701", + "$id": "711", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8855,7 +8994,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "702", + "$id": "712", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -8869,18 +9008,18 @@ "readOnly": false }, { - "$id": "703", + "$id": "713", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "704", + "$id": "714", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "705", + "$id": "715", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -8900,7 +9039,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Foos.listBySubscription.subscriptionId" }, { - "$id": "706", + "$id": "716", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -8922,7 +9061,7 @@ 200 ], "bodyType": { - "$ref": "360" + "$ref": "362" }, "headers": [], "isErrorResponse": false, @@ -8947,7 +9086,7 @@ }, "parameters": [ { - "$id": "707", + "$id": "717", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -8966,7 +9105,7 @@ ], "response": { "type": { - "$ref": "362" + "$ref": "364" }, "resultSegments": [ "value" @@ -8991,13 +9130,13 @@ ], "parameters": [ { - "$id": "708", + "$id": "718", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "709", + "$id": "719", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9008,7 +9147,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "710", + "$id": "720", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9032,17 +9171,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "711", + "$id": "721", "kind": "client", "name": "FooSettingsOperations", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "712", + "$id": "722", "kind": "basic", "name": "get", "accessibility": "public", @@ -9051,20 +9190,20 @@ ], "doc": "Get a FooSettings", "operation": { - "$id": "713", + "$id": "723", "name": "get", "resourceName": "FooSettings", "doc": "Get a FooSettings", "accessibility": "public", "parameters": [ { - "$id": "714", + "$id": "724", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "715", + "$id": "725", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9074,7 +9213,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "716", + "$id": "726", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9088,18 +9227,18 @@ "readOnly": false }, { - "$id": "717", + "$id": "727", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "718", + "$id": "728", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "719", + "$id": "729", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9119,13 +9258,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.get.subscriptionId" }, { - "$id": "720", + "$id": "730", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "721", + "$id": "731", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9143,7 +9282,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.get.resourceGroupName" }, { - "$id": "722", + "$id": "732", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9165,7 +9304,7 @@ 200 ], "bodyType": { - "$ref": "366" + "$ref": "368" }, "headers": [], "isErrorResponse": false, @@ -9190,13 +9329,13 @@ }, "parameters": [ { - "$id": "723", + "$id": "733", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "724", + "$id": "734", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9212,7 +9351,7 @@ "decorators": [] }, { - "$id": "725", + "$id": "735", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9231,7 +9370,7 @@ ], "response": { "type": { - "$ref": "366" + "$ref": "368" } }, "isOverride": false, @@ -9240,7 +9379,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.get" }, { - "$id": "726", + "$id": "736", "kind": "basic", "name": "createOrUpdate", "accessibility": "public", @@ -9249,20 +9388,20 @@ ], "doc": "Create a FooSettings", "operation": { - "$id": "727", + "$id": "737", "name": "createOrUpdate", "resourceName": "FooSettings", "doc": "Create a FooSettings", "accessibility": "public", "parameters": [ { - "$id": "728", + "$id": "738", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "729", + "$id": "739", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9272,7 +9411,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "730", + "$id": "740", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9286,18 +9425,18 @@ "readOnly": false }, { - "$id": "731", + "$id": "741", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "732", + "$id": "742", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "733", + "$id": "743", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9317,13 +9456,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate.subscriptionId" }, { - "$id": "734", + "$id": "744", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "735", + "$id": "745", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9341,7 +9480,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate.resourceGroupName" }, { - "$id": "736", + "$id": "746", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -9358,7 +9497,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate.contentType" }, { - "$id": "737", + "$id": "747", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9374,13 +9513,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate.accept" }, { - "$id": "738", + "$id": "748", "kind": "body", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "366" + "$ref": "368" }, "isApiVersion": false, "contentTypes": [ @@ -9400,7 +9539,7 @@ 200 ], "bodyType": { - "$ref": "366" + "$ref": "368" }, "headers": [], "isErrorResponse": false, @@ -9413,7 +9552,7 @@ 201 ], "bodyType": { - "$ref": "366" + "$ref": "368" }, "headers": [], "isErrorResponse": false, @@ -9441,13 +9580,13 @@ }, "parameters": [ { - "$id": "739", + "$id": "749", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "740", + "$id": "750", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9463,13 +9602,13 @@ "decorators": [] }, { - "$id": "741", + "$id": "751", "kind": "method", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "366" + "$ref": "368" }, "location": "Body", "isApiVersion": false, @@ -9481,7 +9620,7 @@ "decorators": [] }, { - "$id": "742", + "$id": "752", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -9499,7 +9638,7 @@ "decorators": [] }, { - "$id": "743", + "$id": "753", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9518,7 +9657,7 @@ ], "response": { "type": { - "$ref": "366" + "$ref": "368" } }, "isOverride": false, @@ -9527,7 +9666,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.createOrUpdate" }, { - "$id": "744", + "$id": "754", "kind": "basic", "name": "update", "accessibility": "public", @@ -9536,20 +9675,20 @@ ], "doc": "Update a FooSettings", "operation": { - "$id": "745", + "$id": "755", "name": "update", "resourceName": "FooSettings", "doc": "Update a FooSettings", "accessibility": "public", "parameters": [ { - "$id": "746", + "$id": "756", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "747", + "$id": "757", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9559,7 +9698,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "748", + "$id": "758", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9573,18 +9712,18 @@ "readOnly": false }, { - "$id": "749", + "$id": "759", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "750", + "$id": "760", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "751", + "$id": "761", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9604,13 +9743,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update.subscriptionId" }, { - "$id": "752", + "$id": "762", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "753", + "$id": "763", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9628,7 +9767,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update.resourceGroupName" }, { - "$id": "754", + "$id": "764", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -9645,7 +9784,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update.contentType" }, { - "$id": "755", + "$id": "765", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -9661,13 +9800,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update.accept" }, { - "$id": "756", + "$id": "766", "kind": "body", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "381" + "$ref": "383" }, "isApiVersion": false, "contentTypes": [ @@ -9687,7 +9826,7 @@ 200 ], "bodyType": { - "$ref": "366" + "$ref": "368" }, "headers": [], "isErrorResponse": false, @@ -9715,13 +9854,13 @@ }, "parameters": [ { - "$id": "757", + "$id": "767", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "758", + "$id": "768", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9737,13 +9876,13 @@ "decorators": [] }, { - "$id": "759", + "$id": "769", "kind": "method", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "381" + "$ref": "383" }, "location": "Body", "isApiVersion": false, @@ -9755,7 +9894,7 @@ "decorators": [] }, { - "$id": "760", + "$id": "770", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -9773,7 +9912,7 @@ "decorators": [] }, { - "$id": "761", + "$id": "771", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -9792,7 +9931,7 @@ ], "response": { "type": { - "$ref": "366" + "$ref": "368" } }, "isOverride": false, @@ -9801,7 +9940,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.update" }, { - "$id": "762", + "$id": "772", "kind": "basic", "name": "delete", "accessibility": "public", @@ -9810,20 +9949,20 @@ ], "doc": "Delete a FooSettings", "operation": { - "$id": "763", + "$id": "773", "name": "delete", "resourceName": "FooSettings", "doc": "Delete a FooSettings", "accessibility": "public", "parameters": [ { - "$id": "764", + "$id": "774", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "765", + "$id": "775", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9833,7 +9972,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "766", + "$id": "776", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -9847,18 +9986,18 @@ "readOnly": false }, { - "$id": "767", + "$id": "777", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "768", + "$id": "778", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "769", + "$id": "779", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9878,13 +10017,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.FooSettingsOperations.delete.subscriptionId" }, { - "$id": "770", + "$id": "780", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "771", + "$id": "781", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9934,13 +10073,13 @@ }, "parameters": [ { - "$id": "772", + "$id": "782", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "773", + "$id": "783", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -9965,13 +10104,13 @@ ], "parameters": [ { - "$id": "774", + "$id": "784", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "775", + "$id": "785", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -9982,7 +10121,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "776", + "$id": "786", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10006,17 +10145,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "777", + "$id": "787", "kind": "client", "name": "Bars", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "778", + "$id": "788", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -10025,20 +10164,20 @@ ], "doc": "Create a Bar", "operation": { - "$id": "779", + "$id": "789", "name": "createOrUpdate", "resourceName": "Bar", "doc": "Create a Bar", "accessibility": "public", "parameters": [ { - "$id": "780", + "$id": "790", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "781", + "$id": "791", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10048,7 +10187,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "782", + "$id": "792", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10062,18 +10201,18 @@ "readOnly": false }, { - "$id": "783", + "$id": "793", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "784", + "$id": "794", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "785", + "$id": "795", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10093,13 +10232,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.createOrUpdate.subscriptionId" }, { - "$id": "786", + "$id": "796", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "787", + "$id": "797", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10117,13 +10256,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.createOrUpdate.resourceGroupName" }, { - "$id": "788", + "$id": "798", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "789", + "$id": "799", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10141,13 +10280,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.createOrUpdate.fooName" }, { - "$id": "790", + "$id": "800", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "791", + "$id": "801", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10165,7 +10304,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.createOrUpdate.barName" }, { - "$id": "792", + "$id": "802", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -10182,7 +10321,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.createOrUpdate.contentType" }, { - "$id": "793", + "$id": "803", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10198,13 +10337,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.createOrUpdate.accept" }, { - "$id": "794", + "$id": "804", "kind": "body", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "386" + "$ref": "388" }, "isApiVersion": false, "contentTypes": [ @@ -10224,7 +10363,7 @@ 200 ], "bodyType": { - "$ref": "386" + "$ref": "388" }, "headers": [], "isErrorResponse": false, @@ -10237,7 +10376,7 @@ 201 ], "bodyType": { - "$ref": "386" + "$ref": "388" }, "headers": [ { @@ -10245,7 +10384,7 @@ "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "795", + "$id": "805", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10257,7 +10396,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "796", + "$id": "806", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -10290,13 +10429,13 @@ }, "parameters": [ { - "$id": "797", + "$id": "807", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "798", + "$id": "808", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10312,13 +10451,13 @@ "decorators": [] }, { - "$id": "799", + "$id": "809", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "800", + "$id": "810", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10334,13 +10473,13 @@ "decorators": [] }, { - "$id": "801", + "$id": "811", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "802", + "$id": "812", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10356,13 +10495,13 @@ "decorators": [] }, { - "$id": "803", + "$id": "813", "kind": "method", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "386" + "$ref": "388" }, "location": "Body", "isApiVersion": false, @@ -10374,7 +10513,7 @@ "decorators": [] }, { - "$id": "804", + "$id": "814", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -10392,7 +10531,7 @@ "decorators": [] }, { - "$id": "805", + "$id": "815", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10411,7 +10550,7 @@ ], "response": { "type": { - "$ref": "386" + "$ref": "388" } }, "isOverride": false, @@ -10425,13 +10564,13 @@ 200 ], "bodyType": { - "$ref": "386" + "$ref": "388" } } } }, { - "$id": "806", + "$id": "816", "kind": "lro", "name": "delete", "accessibility": "public", @@ -10440,20 +10579,20 @@ ], "doc": "Delete a Bar", "operation": { - "$id": "807", + "$id": "817", "name": "delete", "resourceName": "Bar", "doc": "Delete a Bar", "accessibility": "public", "parameters": [ { - "$id": "808", + "$id": "818", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "809", + "$id": "819", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10463,7 +10602,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "810", + "$id": "820", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10477,18 +10616,18 @@ "readOnly": false }, { - "$id": "811", + "$id": "821", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "812", + "$id": "822", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "813", + "$id": "823", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10508,13 +10647,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.delete.subscriptionId" }, { - "$id": "814", + "$id": "824", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "815", + "$id": "825", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10532,13 +10671,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.delete.resourceGroupName" }, { - "$id": "816", + "$id": "826", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "817", + "$id": "827", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10556,13 +10695,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.delete.fooName" }, { - "$id": "818", + "$id": "828", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "819", + "$id": "829", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10591,7 +10730,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "820", + "$id": "830", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10603,7 +10742,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "821", + "$id": "831", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -10637,13 +10776,13 @@ }, "parameters": [ { - "$id": "822", + "$id": "832", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "823", + "$id": "833", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10659,13 +10798,13 @@ "decorators": [] }, { - "$id": "824", + "$id": "834", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "825", + "$id": "835", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10681,13 +10820,13 @@ "decorators": [] }, { - "$id": "826", + "$id": "836", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "827", + "$id": "837", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10718,7 +10857,7 @@ } }, { - "$id": "828", + "$id": "838", "kind": "paging", "name": "list", "accessibility": "public", @@ -10727,20 +10866,20 @@ ], "doc": "List Bar resources by Foo", "operation": { - "$id": "829", + "$id": "839", "name": "list", "resourceName": "Bar", "doc": "List Bar resources by Foo", "accessibility": "public", "parameters": [ { - "$id": "830", + "$id": "840", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "831", + "$id": "841", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10750,7 +10889,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "832", + "$id": "842", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -10764,18 +10903,18 @@ "readOnly": false }, { - "$id": "833", + "$id": "843", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "834", + "$id": "844", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "835", + "$id": "845", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10795,13 +10934,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.list.subscriptionId" }, { - "$id": "836", + "$id": "846", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "837", + "$id": "847", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10819,13 +10958,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.list.resourceGroupName" }, { - "$id": "838", + "$id": "848", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "839", + "$id": "849", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10843,7 +10982,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.list.fooName" }, { - "$id": "840", + "$id": "850", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -10865,7 +11004,7 @@ 200 ], "bodyType": { - "$ref": "406" + "$ref": "408" }, "headers": [], "isErrorResponse": false, @@ -10890,13 +11029,13 @@ }, "parameters": [ { - "$id": "841", + "$id": "851", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "842", + "$id": "852", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10912,13 +11051,13 @@ "decorators": [] }, { - "$id": "843", + "$id": "853", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "844", + "$id": "854", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -10934,7 +11073,7 @@ "decorators": [] }, { - "$id": "845", + "$id": "855", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -10953,7 +11092,7 @@ ], "response": { "type": { - "$ref": "408" + "$ref": "410" }, "resultSegments": [ "value" @@ -10978,13 +11117,13 @@ ], "parameters": [ { - "$id": "846", + "$id": "856", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "847", + "$id": "857", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -10995,7 +11134,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "848", + "$id": "858", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -11019,17 +11158,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "849", + "$id": "859", "kind": "client", "name": "BarSettingsOperations", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "850", + "$id": "860", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -11038,20 +11177,20 @@ ], "doc": "Create a BarSettingsResource", "operation": { - "$id": "851", + "$id": "861", "name": "createOrUpdate", "resourceName": "BarSettingsResource", "doc": "Create a BarSettingsResource", "accessibility": "public", "parameters": [ { - "$id": "852", + "$id": "862", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "853", + "$id": "863", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11061,7 +11200,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "854", + "$id": "864", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -11075,18 +11214,18 @@ "readOnly": false }, { - "$id": "855", + "$id": "865", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "856", + "$id": "866", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "857", + "$id": "867", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11106,13 +11245,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.createOrUpdate.subscriptionId" }, { - "$id": "858", + "$id": "868", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "859", + "$id": "869", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11130,13 +11269,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.createOrUpdate.resourceGroupName" }, { - "$id": "860", + "$id": "870", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "861", + "$id": "871", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11154,13 +11293,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.createOrUpdate.fooName" }, { - "$id": "862", + "$id": "872", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "863", + "$id": "873", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11178,7 +11317,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.createOrUpdate.barName" }, { - "$id": "864", + "$id": "874", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -11195,7 +11334,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.createOrUpdate.contentType" }, { - "$id": "865", + "$id": "875", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11211,13 +11350,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.createOrUpdate.accept" }, { - "$id": "866", + "$id": "876", "kind": "body", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "412" + "$ref": "414" }, "isApiVersion": false, "contentTypes": [ @@ -11237,7 +11376,7 @@ 200 ], "bodyType": { - "$ref": "412" + "$ref": "414" }, "headers": [], "isErrorResponse": false, @@ -11250,7 +11389,7 @@ 201 ], "bodyType": { - "$ref": "412" + "$ref": "414" }, "headers": [ { @@ -11258,7 +11397,7 @@ "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "867", + "$id": "877", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11270,7 +11409,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "868", + "$id": "878", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -11303,13 +11442,13 @@ }, "parameters": [ { - "$id": "869", + "$id": "879", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "870", + "$id": "880", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11325,13 +11464,13 @@ "decorators": [] }, { - "$id": "871", + "$id": "881", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "872", + "$id": "882", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11347,13 +11486,13 @@ "decorators": [] }, { - "$id": "873", + "$id": "883", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "874", + "$id": "884", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11369,13 +11508,13 @@ "decorators": [] }, { - "$id": "875", + "$id": "885", "kind": "method", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "412" + "$ref": "414" }, "location": "Body", "isApiVersion": false, @@ -11387,7 +11526,7 @@ "decorators": [] }, { - "$id": "876", + "$id": "886", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -11405,7 +11544,7 @@ "decorators": [] }, { - "$id": "877", + "$id": "887", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11424,7 +11563,7 @@ ], "response": { "type": { - "$ref": "412" + "$ref": "414" } }, "isOverride": false, @@ -11438,13 +11577,13 @@ 200 ], "bodyType": { - "$ref": "412" + "$ref": "414" } } } }, { - "$id": "878", + "$id": "888", "kind": "basic", "name": "get", "accessibility": "public", @@ -11453,20 +11592,20 @@ ], "doc": "Get a BarSettingsResource", "operation": { - "$id": "879", + "$id": "889", "name": "get", "resourceName": "BarSettingsResource", "doc": "Get a BarSettingsResource", "accessibility": "public", "parameters": [ { - "$id": "880", + "$id": "890", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "881", + "$id": "891", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11476,7 +11615,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "882", + "$id": "892", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -11490,18 +11629,18 @@ "readOnly": false }, { - "$id": "883", + "$id": "893", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "884", + "$id": "894", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "885", + "$id": "895", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11521,13 +11660,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.get.subscriptionId" }, { - "$id": "886", + "$id": "896", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "887", + "$id": "897", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11545,13 +11684,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.get.resourceGroupName" }, { - "$id": "888", + "$id": "898", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "889", + "$id": "899", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11569,13 +11708,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.get.fooName" }, { - "$id": "890", + "$id": "900", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "891", + "$id": "901", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11593,7 +11732,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarSettingsOperations.get.barName" }, { - "$id": "892", + "$id": "902", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11615,7 +11754,7 @@ 200 ], "bodyType": { - "$ref": "412" + "$ref": "414" }, "headers": [], "isErrorResponse": false, @@ -11640,13 +11779,13 @@ }, "parameters": [ { - "$id": "893", + "$id": "903", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "894", + "$id": "904", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11662,13 +11801,13 @@ "decorators": [] }, { - "$id": "895", + "$id": "905", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "896", + "$id": "906", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11684,13 +11823,13 @@ "decorators": [] }, { - "$id": "897", + "$id": "907", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "898", + "$id": "908", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11706,7 +11845,7 @@ "decorators": [] }, { - "$id": "899", + "$id": "909", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -11725,7 +11864,7 @@ ], "response": { "type": { - "$ref": "412" + "$ref": "414" } }, "isOverride": false, @@ -11736,13 +11875,13 @@ ], "parameters": [ { - "$id": "900", + "$id": "910", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "901", + "$id": "911", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -11753,7 +11892,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "902", + "$id": "912", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -11777,17 +11916,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "903", + "$id": "913", "kind": "client", "name": "BarQuotaOperations", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "904", + "$id": "914", "kind": "basic", "name": "get", "accessibility": "public", @@ -11796,20 +11935,20 @@ ], "doc": "Get a BarQuotaResource", "operation": { - "$id": "905", + "$id": "915", "name": "get", "resourceName": "BarQuotaResource", "doc": "Get a BarQuotaResource", "accessibility": "public", "parameters": [ { - "$id": "906", + "$id": "916", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "907", + "$id": "917", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11819,7 +11958,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "908", + "$id": "918", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -11833,18 +11972,18 @@ "readOnly": false }, { - "$id": "909", + "$id": "919", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "910", + "$id": "920", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "911", + "$id": "921", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11864,13 +12003,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.get.subscriptionId" }, { - "$id": "912", + "$id": "922", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "913", + "$id": "923", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11888,13 +12027,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.get.resourceGroupName" }, { - "$id": "914", + "$id": "924", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "915", + "$id": "925", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11912,13 +12051,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.get.fooName" }, { - "$id": "916", + "$id": "926", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "917", + "$id": "927", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -11936,7 +12075,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.get.barName" }, { - "$id": "918", + "$id": "928", "kind": "path", "name": "barQuotaResourceName", "serializedName": "barQuotaResourceName", @@ -11956,7 +12095,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.get.barQuotaResourceName" }, { - "$id": "919", + "$id": "929", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -11978,7 +12117,7 @@ 200 ], "bodyType": { - "$ref": "444" + "$ref": "446" }, "headers": [], "isErrorResponse": false, @@ -12003,13 +12142,13 @@ }, "parameters": [ { - "$id": "920", + "$id": "930", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "921", + "$id": "931", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12025,13 +12164,13 @@ "decorators": [] }, { - "$id": "922", + "$id": "932", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "923", + "$id": "933", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12047,13 +12186,13 @@ "decorators": [] }, { - "$id": "924", + "$id": "934", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "925", + "$id": "935", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12069,7 +12208,7 @@ "decorators": [] }, { - "$id": "926", + "$id": "936", "kind": "method", "name": "barQuotaResourceName", "serializedName": "barQuotaResourceName", @@ -12087,7 +12226,7 @@ "decorators": [] }, { - "$id": "927", + "$id": "937", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12106,7 +12245,7 @@ ], "response": { "type": { - "$ref": "444" + "$ref": "446" } }, "isOverride": false, @@ -12115,7 +12254,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.get" }, { - "$id": "928", + "$id": "938", "kind": "lro", "name": "update", "accessibility": "public", @@ -12124,20 +12263,20 @@ ], "doc": "Update a BarQuotaResource", "operation": { - "$id": "929", + "$id": "939", "name": "update", "resourceName": "BarQuotaResource", "doc": "Update a BarQuotaResource", "accessibility": "public", "parameters": [ { - "$id": "930", + "$id": "940", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "931", + "$id": "941", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12147,7 +12286,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "932", + "$id": "942", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -12161,18 +12300,18 @@ "readOnly": false }, { - "$id": "933", + "$id": "943", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "934", + "$id": "944", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "935", + "$id": "945", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12192,13 +12331,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.update.subscriptionId" }, { - "$id": "936", + "$id": "946", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "937", + "$id": "947", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12216,13 +12355,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.update.resourceGroupName" }, { - "$id": "938", + "$id": "948", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "939", + "$id": "949", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12240,13 +12379,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.update.fooName" }, { - "$id": "940", + "$id": "950", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "941", + "$id": "951", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12264,7 +12403,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.update.barName" }, { - "$id": "942", + "$id": "952", "kind": "path", "name": "barQuotaResourceName", "serializedName": "barQuotaResourceName", @@ -12284,7 +12423,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.update.barQuotaResourceName" }, { - "$id": "943", + "$id": "953", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12301,7 +12440,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.update.contentType" }, { - "$id": "944", + "$id": "954", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12317,13 +12456,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.BarQuotaOperations.update.accept" }, { - "$id": "945", + "$id": "955", "kind": "body", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "444" + "$ref": "446" }, "isApiVersion": false, "contentTypes": [ @@ -12343,7 +12482,7 @@ 200 ], "bodyType": { - "$ref": "444" + "$ref": "446" }, "headers": [], "isErrorResponse": false, @@ -12361,7 +12500,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "946", + "$id": "956", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12373,7 +12512,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "947", + "$id": "957", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -12403,13 +12542,13 @@ }, "parameters": [ { - "$id": "948", + "$id": "958", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "949", + "$id": "959", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12425,13 +12564,13 @@ "decorators": [] }, { - "$id": "950", + "$id": "960", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "951", + "$id": "961", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12447,13 +12586,13 @@ "decorators": [] }, { - "$id": "952", + "$id": "962", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "953", + "$id": "963", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12469,7 +12608,7 @@ "decorators": [] }, { - "$id": "954", + "$id": "964", "kind": "method", "name": "barQuotaResourceName", "serializedName": "barQuotaResourceName", @@ -12487,13 +12626,13 @@ "decorators": [] }, { - "$id": "955", + "$id": "965", "kind": "method", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "444" + "$ref": "446" }, "location": "Body", "isApiVersion": false, @@ -12505,7 +12644,7 @@ "decorators": [] }, { - "$id": "956", + "$id": "966", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12523,7 +12662,7 @@ "decorators": [] }, { - "$id": "957", + "$id": "967", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12542,7 +12681,7 @@ ], "response": { "type": { - "$ref": "444" + "$ref": "446" } }, "isOverride": false, @@ -12556,7 +12695,7 @@ 200 ], "bodyType": { - "$ref": "444" + "$ref": "446" } } } @@ -12564,13 +12703,13 @@ ], "parameters": [ { - "$id": "958", + "$id": "968", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "959", + "$id": "969", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -12581,7 +12720,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "960", + "$id": "970", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -12605,17 +12744,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "961", + "$id": "971", "kind": "client", "name": "Bazs", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "962", + "$id": "972", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -12624,20 +12763,20 @@ ], "doc": "Create a Baz", "operation": { - "$id": "963", + "$id": "973", "name": "createOrUpdate", "resourceName": "Baz", "doc": "Create a Baz", "accessibility": "public", "parameters": [ { - "$id": "964", + "$id": "974", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "965", + "$id": "975", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12647,7 +12786,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "966", + "$id": "976", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -12661,18 +12800,18 @@ "readOnly": false }, { - "$id": "967", + "$id": "977", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "968", + "$id": "978", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "969", + "$id": "979", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12692,13 +12831,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.createOrUpdate.subscriptionId" }, { - "$id": "970", + "$id": "980", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "971", + "$id": "981", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12716,13 +12855,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.createOrUpdate.resourceGroupName" }, { - "$id": "972", + "$id": "982", "kind": "path", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "973", + "$id": "983", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12740,7 +12879,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.createOrUpdate.bazName" }, { - "$id": "974", + "$id": "984", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -12757,7 +12896,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.createOrUpdate.contentType" }, { - "$id": "975", + "$id": "985", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -12773,13 +12912,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.createOrUpdate.accept" }, { - "$id": "976", + "$id": "986", "kind": "body", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "449" + "$ref": "451" }, "isApiVersion": false, "contentTypes": [ @@ -12799,7 +12938,7 @@ 200 ], "bodyType": { - "$ref": "449" + "$ref": "451" }, "headers": [], "isErrorResponse": false, @@ -12812,7 +12951,7 @@ 201 ], "bodyType": { - "$ref": "449" + "$ref": "451" }, "headers": [ { @@ -12820,7 +12959,7 @@ "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "977", + "$id": "987", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12832,7 +12971,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "978", + "$id": "988", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -12865,13 +13004,13 @@ }, "parameters": [ { - "$id": "979", + "$id": "989", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "980", + "$id": "990", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12887,13 +13026,13 @@ "decorators": [] }, { - "$id": "981", + "$id": "991", "kind": "method", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "982", + "$id": "992", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -12909,13 +13048,13 @@ "decorators": [] }, { - "$id": "983", + "$id": "993", "kind": "method", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "449" + "$ref": "451" }, "location": "Body", "isApiVersion": false, @@ -12927,7 +13066,7 @@ "decorators": [] }, { - "$id": "984", + "$id": "994", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -12945,7 +13084,7 @@ "decorators": [] }, { - "$id": "985", + "$id": "995", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -12964,7 +13103,7 @@ ], "response": { "type": { - "$ref": "449" + "$ref": "451" } }, "isOverride": false, @@ -12978,13 +13117,13 @@ 200 ], "bodyType": { - "$ref": "449" + "$ref": "451" } } } }, { - "$id": "986", + "$id": "996", "kind": "basic", "name": "get", "accessibility": "public", @@ -12993,20 +13132,20 @@ ], "doc": "Get a Baz", "operation": { - "$id": "987", + "$id": "997", "name": "get", "resourceName": "Baz", "doc": "Get a Baz", "accessibility": "public", "parameters": [ { - "$id": "988", + "$id": "998", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "989", + "$id": "999", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13016,7 +13155,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "990", + "$id": "1000", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -13030,18 +13169,18 @@ "readOnly": false }, { - "$id": "991", + "$id": "1001", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "992", + "$id": "1002", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "993", + "$id": "1003", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13061,13 +13200,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.get.subscriptionId" }, { - "$id": "994", + "$id": "1004", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "995", + "$id": "1005", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13085,13 +13224,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.get.resourceGroupName" }, { - "$id": "996", + "$id": "1006", "kind": "path", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "997", + "$id": "1007", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13109,7 +13248,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.get.bazName" }, { - "$id": "998", + "$id": "1008", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13131,7 +13270,7 @@ 200 ], "bodyType": { - "$ref": "449" + "$ref": "451" }, "headers": [], "isErrorResponse": false, @@ -13156,13 +13295,13 @@ }, "parameters": [ { - "$id": "999", + "$id": "1009", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1000", + "$id": "1010", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13178,13 +13317,13 @@ "decorators": [] }, { - "$id": "1001", + "$id": "1011", "kind": "method", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "1002", + "$id": "1012", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13200,7 +13339,7 @@ "decorators": [] }, { - "$id": "1003", + "$id": "1013", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13219,7 +13358,7 @@ ], "response": { "type": { - "$ref": "449" + "$ref": "451" } }, "isOverride": false, @@ -13228,7 +13367,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.get" }, { - "$id": "1004", + "$id": "1014", "kind": "lro", "name": "delete", "accessibility": "public", @@ -13237,20 +13376,20 @@ ], "doc": "Delete a Baz", "operation": { - "$id": "1005", + "$id": "1015", "name": "delete", "resourceName": "Baz", "doc": "Delete a Baz", "accessibility": "public", "parameters": [ { - "$id": "1006", + "$id": "1016", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1007", + "$id": "1017", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13260,7 +13399,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1008", + "$id": "1018", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -13274,18 +13413,18 @@ "readOnly": false }, { - "$id": "1009", + "$id": "1019", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1010", + "$id": "1020", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1011", + "$id": "1021", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13305,13 +13444,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.delete.subscriptionId" }, { - "$id": "1012", + "$id": "1022", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1013", + "$id": "1023", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13329,13 +13468,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.delete.resourceGroupName" }, { - "$id": "1014", + "$id": "1024", "kind": "path", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "1015", + "$id": "1025", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13364,7 +13503,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "1016", + "$id": "1026", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13376,7 +13515,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "1017", + "$id": "1027", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -13410,13 +13549,13 @@ }, "parameters": [ { - "$id": "1018", + "$id": "1028", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1019", + "$id": "1029", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13432,13 +13571,13 @@ "decorators": [] }, { - "$id": "1020", + "$id": "1030", "kind": "method", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "1021", + "$id": "1031", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13469,7 +13608,7 @@ } }, { - "$id": "1022", + "$id": "1032", "kind": "lro", "name": "update", "accessibility": "public", @@ -13478,20 +13617,20 @@ ], "doc": "Update a Baz", "operation": { - "$id": "1023", + "$id": "1033", "name": "update", "resourceName": "Baz", "doc": "Update a Baz", "accessibility": "public", "parameters": [ { - "$id": "1024", + "$id": "1034", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1025", + "$id": "1035", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13501,7 +13640,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1026", + "$id": "1036", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -13515,18 +13654,18 @@ "readOnly": false }, { - "$id": "1027", + "$id": "1037", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1028", + "$id": "1038", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1029", + "$id": "1039", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13546,13 +13685,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.update.subscriptionId" }, { - "$id": "1030", + "$id": "1040", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1031", + "$id": "1041", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13570,13 +13709,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.update.resourceGroupName" }, { - "$id": "1032", + "$id": "1042", "kind": "path", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "1033", + "$id": "1043", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13594,7 +13733,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.update.bazName" }, { - "$id": "1034", + "$id": "1044", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -13611,7 +13750,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.update.contentType" }, { - "$id": "1035", + "$id": "1045", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13627,13 +13766,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.update.accept" }, { - "$id": "1036", + "$id": "1046", "kind": "body", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "449" + "$ref": "451" }, "isApiVersion": false, "contentTypes": [ @@ -13653,7 +13792,7 @@ 200 ], "bodyType": { - "$ref": "449" + "$ref": "451" }, "headers": [], "isErrorResponse": false, @@ -13671,7 +13810,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "1037", + "$id": "1047", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13683,7 +13822,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "1038", + "$id": "1048", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -13713,13 +13852,13 @@ }, "parameters": [ { - "$id": "1039", + "$id": "1049", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1040", + "$id": "1050", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13735,13 +13874,13 @@ "decorators": [] }, { - "$id": "1041", + "$id": "1051", "kind": "method", "name": "bazName", "serializedName": "bazName", "doc": "The name of the Baz", "type": { - "$id": "1042", + "$id": "1052", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13757,13 +13896,13 @@ "decorators": [] }, { - "$id": "1043", + "$id": "1053", "kind": "method", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "449" + "$ref": "451" }, "location": "Body", "isApiVersion": false, @@ -13775,7 +13914,7 @@ "decorators": [] }, { - "$id": "1044", + "$id": "1054", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -13793,7 +13932,7 @@ "decorators": [] }, { - "$id": "1045", + "$id": "1055", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -13812,7 +13951,7 @@ ], "response": { "type": { - "$ref": "449" + "$ref": "451" } }, "isOverride": false, @@ -13826,13 +13965,13 @@ 200 ], "bodyType": { - "$ref": "449" + "$ref": "451" } } } }, { - "$id": "1046", + "$id": "1056", "kind": "paging", "name": "list", "accessibility": "public", @@ -13841,20 +13980,20 @@ ], "doc": "List Baz resources by resource group", "operation": { - "$id": "1047", + "$id": "1057", "name": "list", "resourceName": "Baz", "doc": "List Baz resources by resource group", "accessibility": "public", "parameters": [ { - "$id": "1048", + "$id": "1058", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1049", + "$id": "1059", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13864,7 +14003,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1050", + "$id": "1060", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -13878,18 +14017,18 @@ "readOnly": false }, { - "$id": "1051", + "$id": "1061", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1052", + "$id": "1062", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1053", + "$id": "1063", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13909,13 +14048,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.list.subscriptionId" }, { - "$id": "1054", + "$id": "1064", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1055", + "$id": "1065", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -13933,7 +14072,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.list.resourceGroupName" }, { - "$id": "1056", + "$id": "1066", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -13955,7 +14094,7 @@ 200 ], "bodyType": { - "$ref": "464" + "$ref": "466" }, "headers": [], "isErrorResponse": false, @@ -13980,13 +14119,13 @@ }, "parameters": [ { - "$id": "1057", + "$id": "1067", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1058", + "$id": "1068", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14002,7 +14141,7 @@ "decorators": [] }, { - "$id": "1059", + "$id": "1069", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -14021,7 +14160,7 @@ ], "response": { "type": { - "$ref": "466" + "$ref": "468" }, "resultSegments": [ "value" @@ -14044,7 +14183,7 @@ } }, { - "$id": "1060", + "$id": "1070", "kind": "paging", "name": "listBySubscription", "accessibility": "public", @@ -14053,20 +14192,20 @@ ], "doc": "List Baz resources by subscription ID", "operation": { - "$id": "1061", + "$id": "1071", "name": "listBySubscription", "resourceName": "Baz", "doc": "List Baz resources by subscription ID", "accessibility": "public", "parameters": [ { - "$id": "1062", + "$id": "1072", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1063", + "$id": "1073", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14076,7 +14215,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1064", + "$id": "1074", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -14090,18 +14229,18 @@ "readOnly": false }, { - "$id": "1065", + "$id": "1075", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1066", + "$id": "1076", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1067", + "$id": "1077", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14121,7 +14260,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bazs.listBySubscription.subscriptionId" }, { - "$id": "1068", + "$id": "1078", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -14143,7 +14282,7 @@ 200 ], "bodyType": { - "$ref": "464" + "$ref": "466" }, "headers": [], "isErrorResponse": false, @@ -14168,7 +14307,7 @@ }, "parameters": [ { - "$id": "1069", + "$id": "1079", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -14187,7 +14326,7 @@ ], "response": { "type": { - "$ref": "466" + "$ref": "468" }, "resultSegments": [ "value" @@ -14212,13 +14351,13 @@ ], "parameters": [ { - "$id": "1070", + "$id": "1080", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "1071", + "$id": "1081", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -14229,7 +14368,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "1072", + "$id": "1082", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -14253,17 +14392,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "1073", + "$id": "1083", "kind": "client", "name": "Zoos", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "1074", + "$id": "1084", "kind": "lro", "name": "createOrUpdate", "accessibility": "public", @@ -14272,20 +14411,20 @@ ], "doc": "Create a Zoo", "operation": { - "$id": "1075", + "$id": "1085", "name": "createOrUpdate", "resourceName": "Zoo", "doc": "Create a Zoo", "accessibility": "public", "parameters": [ { - "$id": "1076", + "$id": "1086", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1077", + "$id": "1087", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14295,7 +14434,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1078", + "$id": "1088", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -14309,18 +14448,18 @@ "readOnly": false }, { - "$id": "1079", + "$id": "1089", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1080", + "$id": "1090", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1081", + "$id": "1091", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14340,13 +14479,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.createOrUpdate.subscriptionId" }, { - "$id": "1082", + "$id": "1092", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1083", + "$id": "1093", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14364,13 +14503,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.createOrUpdate.resourceGroupName" }, { - "$id": "1084", + "$id": "1094", "kind": "path", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1085", + "$id": "1095", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14388,7 +14527,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.createOrUpdate.zooName" }, { - "$id": "1086", + "$id": "1096", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -14405,7 +14544,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.createOrUpdate.contentType" }, { - "$id": "1087", + "$id": "1097", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -14421,13 +14560,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.createOrUpdate.accept" }, { - "$id": "1088", + "$id": "1098", "kind": "body", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "470" + "$ref": "472" }, "isApiVersion": false, "contentTypes": [ @@ -14447,7 +14586,7 @@ 200 ], "bodyType": { - "$ref": "470" + "$ref": "472" }, "headers": [], "isErrorResponse": false, @@ -14460,7 +14599,7 @@ 201 ], "bodyType": { - "$ref": "470" + "$ref": "472" }, "headers": [ { @@ -14468,7 +14607,7 @@ "nameInResponse": "Azure-AsyncOperation", "doc": "A link to the status monitor", "type": { - "$id": "1089", + "$id": "1099", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14480,7 +14619,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "1090", + "$id": "1100", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -14513,13 +14652,13 @@ }, "parameters": [ { - "$id": "1091", + "$id": "1101", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1092", + "$id": "1102", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14535,13 +14674,13 @@ "decorators": [] }, { - "$id": "1093", + "$id": "1103", "kind": "method", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1094", + "$id": "1104", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14557,13 +14696,13 @@ "decorators": [] }, { - "$id": "1095", + "$id": "1105", "kind": "method", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "470" + "$ref": "472" }, "location": "Body", "isApiVersion": false, @@ -14575,7 +14714,7 @@ "decorators": [] }, { - "$id": "1096", + "$id": "1106", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -14593,7 +14732,7 @@ "decorators": [] }, { - "$id": "1097", + "$id": "1107", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -14612,7 +14751,7 @@ ], "response": { "type": { - "$ref": "470" + "$ref": "472" } }, "isOverride": false, @@ -14626,13 +14765,13 @@ 200 ], "bodyType": { - "$ref": "470" + "$ref": "472" } } } }, { - "$id": "1098", + "$id": "1108", "kind": "basic", "name": "get", "accessibility": "public", @@ -14641,20 +14780,20 @@ ], "doc": "Get a Zoo", "operation": { - "$id": "1099", + "$id": "1109", "name": "get", "resourceName": "Zoo", "doc": "Get a Zoo", "accessibility": "public", "parameters": [ { - "$id": "1100", + "$id": "1110", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1101", + "$id": "1111", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14664,7 +14803,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1102", + "$id": "1112", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -14678,18 +14817,18 @@ "readOnly": false }, { - "$id": "1103", + "$id": "1113", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1104", + "$id": "1114", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1105", + "$id": "1115", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14709,13 +14848,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.get.subscriptionId" }, { - "$id": "1106", + "$id": "1116", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1107", + "$id": "1117", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14733,13 +14872,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.get.resourceGroupName" }, { - "$id": "1108", + "$id": "1118", "kind": "path", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1109", + "$id": "1119", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14757,7 +14896,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.get.zooName" }, { - "$id": "1110", + "$id": "1120", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -14779,7 +14918,7 @@ 200 ], "bodyType": { - "$ref": "470" + "$ref": "472" }, "headers": [], "isErrorResponse": false, @@ -14804,13 +14943,13 @@ }, "parameters": [ { - "$id": "1111", + "$id": "1121", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1112", + "$id": "1122", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14826,13 +14965,13 @@ "decorators": [] }, { - "$id": "1113", + "$id": "1123", "kind": "method", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1114", + "$id": "1124", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14848,7 +14987,7 @@ "decorators": [] }, { - "$id": "1115", + "$id": "1125", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -14867,7 +15006,7 @@ ], "response": { "type": { - "$ref": "470" + "$ref": "472" } }, "isOverride": false, @@ -14876,7 +15015,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.get" }, { - "$id": "1116", + "$id": "1126", "kind": "lro", "name": "delete", "accessibility": "public", @@ -14885,20 +15024,20 @@ ], "doc": "Delete a Zoo", "operation": { - "$id": "1117", + "$id": "1127", "name": "delete", "resourceName": "Zoo", "doc": "Delete a Zoo", "accessibility": "public", "parameters": [ { - "$id": "1118", + "$id": "1128", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1119", + "$id": "1129", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14908,7 +15047,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1120", + "$id": "1130", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -14922,18 +15061,18 @@ "readOnly": false }, { - "$id": "1121", + "$id": "1131", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1122", + "$id": "1132", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1123", + "$id": "1133", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14953,13 +15092,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.delete.subscriptionId" }, { - "$id": "1124", + "$id": "1134", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1125", + "$id": "1135", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -14977,13 +15116,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.delete.resourceGroupName" }, { - "$id": "1126", + "$id": "1136", "kind": "path", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1127", + "$id": "1137", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15012,7 +15151,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "1128", + "$id": "1138", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15024,7 +15163,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "1129", + "$id": "1139", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -15058,13 +15197,13 @@ }, "parameters": [ { - "$id": "1130", + "$id": "1140", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1131", + "$id": "1141", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15080,13 +15219,13 @@ "decorators": [] }, { - "$id": "1132", + "$id": "1142", "kind": "method", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1133", + "$id": "1143", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15117,7 +15256,7 @@ } }, { - "$id": "1134", + "$id": "1144", "kind": "lro", "name": "update", "accessibility": "public", @@ -15126,20 +15265,20 @@ ], "doc": "Update a Zoo", "operation": { - "$id": "1135", + "$id": "1145", "name": "update", "resourceName": "Zoo", "doc": "Update a Zoo", "accessibility": "public", "parameters": [ { - "$id": "1136", + "$id": "1146", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1137", + "$id": "1147", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15149,7 +15288,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1138", + "$id": "1148", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -15163,18 +15302,18 @@ "readOnly": false }, { - "$id": "1139", + "$id": "1149", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1140", + "$id": "1150", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1141", + "$id": "1151", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15194,13 +15333,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.update.subscriptionId" }, { - "$id": "1142", + "$id": "1152", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1143", + "$id": "1153", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15218,13 +15357,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.update.resourceGroupName" }, { - "$id": "1144", + "$id": "1154", "kind": "path", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1145", + "$id": "1155", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15242,7 +15381,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.update.zooName" }, { - "$id": "1146", + "$id": "1156", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -15259,7 +15398,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.update.contentType" }, { - "$id": "1147", + "$id": "1157", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -15275,13 +15414,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.update.accept" }, { - "$id": "1148", + "$id": "1158", "kind": "body", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "486" + "$ref": "488" }, "isApiVersion": false, "contentTypes": [ @@ -15301,7 +15440,7 @@ 200 ], "bodyType": { - "$ref": "470" + "$ref": "472" }, "headers": [], "isErrorResponse": false, @@ -15319,7 +15458,7 @@ "nameInResponse": "Location", "doc": "The Location header contains the URL where the status of the long running operation can be checked.", "type": { - "$id": "1149", + "$id": "1159", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15331,7 +15470,7 @@ "nameInResponse": "Retry-After", "doc": "The Retry-After header can indicate how long the client should wait before polling the operation status.", "type": { - "$id": "1150", + "$id": "1160", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -15361,13 +15500,13 @@ }, "parameters": [ { - "$id": "1151", + "$id": "1161", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1152", + "$id": "1162", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15383,13 +15522,13 @@ "decorators": [] }, { - "$id": "1153", + "$id": "1163", "kind": "method", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1154", + "$id": "1164", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15405,13 +15544,13 @@ "decorators": [] }, { - "$id": "1155", + "$id": "1165", "kind": "method", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "486" + "$ref": "488" }, "location": "Body", "isApiVersion": false, @@ -15423,7 +15562,7 @@ "decorators": [] }, { - "$id": "1156", + "$id": "1166", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -15441,7 +15580,7 @@ "decorators": [] }, { - "$id": "1157", + "$id": "1167", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -15460,7 +15599,7 @@ ], "response": { "type": { - "$ref": "470" + "$ref": "472" } }, "isOverride": false, @@ -15474,13 +15613,13 @@ 200 ], "bodyType": { - "$ref": "470" + "$ref": "472" } } } }, { - "$id": "1158", + "$id": "1168", "kind": "paging", "name": "list", "accessibility": "public", @@ -15489,20 +15628,20 @@ ], "doc": "List Zoo resources by resource group", "operation": { - "$id": "1159", + "$id": "1169", "name": "list", "resourceName": "Zoo", "doc": "List Zoo resources by resource group", "accessibility": "public", "parameters": [ { - "$id": "1160", + "$id": "1170", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1161", + "$id": "1171", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15512,7 +15651,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1162", + "$id": "1172", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -15526,18 +15665,18 @@ "readOnly": false }, { - "$id": "1163", + "$id": "1173", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1164", + "$id": "1174", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1165", + "$id": "1175", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15557,13 +15696,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.list.subscriptionId" }, { - "$id": "1166", + "$id": "1176", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1167", + "$id": "1177", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15581,7 +15720,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.list.resourceGroupName" }, { - "$id": "1168", + "$id": "1178", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -15603,7 +15742,7 @@ 200 ], "bodyType": { - "$ref": "492" + "$ref": "494" }, "headers": [], "isErrorResponse": false, @@ -15628,13 +15767,13 @@ }, "parameters": [ { - "$id": "1169", + "$id": "1179", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1170", + "$id": "1180", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15650,7 +15789,7 @@ "decorators": [] }, { - "$id": "1171", + "$id": "1181", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -15669,7 +15808,7 @@ ], "response": { "type": { - "$ref": "494" + "$ref": "496" }, "resultSegments": [ "value" @@ -15692,7 +15831,7 @@ } }, { - "$id": "1172", + "$id": "1182", "kind": "paging", "name": "listBySubscription", "accessibility": "public", @@ -15701,20 +15840,20 @@ ], "doc": "List Zoo resources by subscription ID", "operation": { - "$id": "1173", + "$id": "1183", "name": "listBySubscription", "resourceName": "Zoo", "doc": "List Zoo resources by subscription ID", "accessibility": "public", "parameters": [ { - "$id": "1174", + "$id": "1184", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1175", + "$id": "1185", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15724,7 +15863,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1176", + "$id": "1186", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -15738,18 +15877,18 @@ "readOnly": false }, { - "$id": "1177", + "$id": "1187", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1178", + "$id": "1188", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1179", + "$id": "1189", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15769,7 +15908,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.listBySubscription.subscriptionId" }, { - "$id": "1180", + "$id": "1190", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -15791,7 +15930,7 @@ 200 ], "bodyType": { - "$ref": "492" + "$ref": "494" }, "headers": [], "isErrorResponse": false, @@ -15816,7 +15955,7 @@ }, "parameters": [ { - "$id": "1181", + "$id": "1191", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -15835,7 +15974,7 @@ ], "response": { "type": { - "$ref": "494" + "$ref": "496" }, "resultSegments": [ "value" @@ -15858,7 +15997,7 @@ } }, { - "$id": "1182", + "$id": "1192", "kind": "basic", "name": "zooAddressList", "accessibility": "public", @@ -15867,20 +16006,20 @@ ], "doc": "A synchronous resource action.", "operation": { - "$id": "1183", + "$id": "1193", "name": "zooAddressList", "resourceName": "Zoos", "doc": "A synchronous resource action.", "accessibility": "public", "parameters": [ { - "$id": "1184", + "$id": "1194", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1185", + "$id": "1195", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15890,7 +16029,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1186", + "$id": "1196", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -15904,18 +16043,18 @@ "readOnly": false }, { - "$id": "1187", + "$id": "1197", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1188", + "$id": "1198", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1189", + "$id": "1199", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15935,13 +16074,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.zooAddressList.subscriptionId" }, { - "$id": "1190", + "$id": "1200", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1191", + "$id": "1201", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15959,13 +16098,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.zooAddressList.resourceGroupName" }, { - "$id": "1192", + "$id": "1202", "kind": "path", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1193", + "$id": "1203", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -15983,12 +16122,12 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.zooAddressList.zooName" }, { - "$id": "1194", + "$id": "1204", "kind": "query", "name": "$maxpagesize", "serializedName": "$maxpagesize", "type": { - "$id": "1195", + "$id": "1205", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -16003,7 +16142,7 @@ "readOnly": false }, { - "$id": "1196", + "$id": "1206", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -16025,7 +16164,7 @@ 200 ], "bodyType": { - "$ref": "498" + "$ref": "500" }, "headers": [], "isErrorResponse": false, @@ -16050,13 +16189,13 @@ }, "parameters": [ { - "$id": "1197", + "$id": "1207", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1198", + "$id": "1208", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16072,13 +16211,13 @@ "decorators": [] }, { - "$id": "1199", + "$id": "1209", "kind": "method", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1200", + "$id": "1210", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16094,12 +16233,12 @@ "decorators": [] }, { - "$id": "1201", + "$id": "1211", "kind": "method", "name": "$maxpagesize", "serializedName": "$maxpagesize", "type": { - "$id": "1202", + "$id": "1212", "kind": "int32", "name": "int32", "crossLanguageDefinitionId": "TypeSpec.int32", @@ -16115,7 +16254,7 @@ "decorators": [] }, { - "$id": "1203", + "$id": "1213", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -16134,7 +16273,7 @@ ], "response": { "type": { - "$ref": "498" + "$ref": "500" } }, "isOverride": false, @@ -16145,13 +16284,13 @@ ], "parameters": [ { - "$id": "1204", + "$id": "1214", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "1205", + "$id": "1215", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -16162,7 +16301,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "1206", + "$id": "1216", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -16186,17 +16325,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "1207", + "$id": "1217", "kind": "client", "name": "EndpointResources", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "1208", + "$id": "1218", "kind": "basic", "name": "get", "accessibility": "public", @@ -16205,20 +16344,20 @@ ], "doc": "Gets the endpoint to the resource.", "operation": { - "$id": "1209", + "$id": "1219", "name": "get", "resourceName": "EndpointResource", "doc": "Gets the endpoint to the resource.", "accessibility": "public", "parameters": [ { - "$id": "1210", + "$id": "1220", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1211", + "$id": "1221", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16228,7 +16367,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1212", + "$id": "1222", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -16242,13 +16381,13 @@ "readOnly": false }, { - "$id": "1213", + "$id": "1223", "kind": "path", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1214", + "$id": "1224", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16266,13 +16405,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.get.resourceUri" }, { - "$id": "1215", + "$id": "1225", "kind": "path", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1216", + "$id": "1226", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16290,7 +16429,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.get.endpointName" }, { - "$id": "1217", + "$id": "1227", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -16312,7 +16451,7 @@ 200 ], "bodyType": { - "$ref": "505" + "$ref": "507" }, "headers": [], "isErrorResponse": false, @@ -16337,13 +16476,13 @@ }, "parameters": [ { - "$id": "1218", + "$id": "1228", "kind": "method", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1219", + "$id": "1229", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16359,13 +16498,13 @@ "decorators": [] }, { - "$id": "1220", + "$id": "1230", "kind": "method", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1221", + "$id": "1231", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16381,7 +16520,7 @@ "decorators": [] }, { - "$id": "1222", + "$id": "1232", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -16400,7 +16539,7 @@ ], "response": { "type": { - "$ref": "505" + "$ref": "507" } }, "isOverride": false, @@ -16409,7 +16548,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.get" }, { - "$id": "1223", + "$id": "1233", "kind": "basic", "name": "createOrUpdate", "accessibility": "public", @@ -16418,20 +16557,20 @@ ], "doc": "Create or update the endpoint to the target resource.", "operation": { - "$id": "1224", + "$id": "1234", "name": "createOrUpdate", "resourceName": "EndpointResource", "doc": "Create or update the endpoint to the target resource.", "accessibility": "public", "parameters": [ { - "$id": "1225", + "$id": "1235", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1226", + "$id": "1236", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16441,7 +16580,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1227", + "$id": "1237", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -16455,13 +16594,13 @@ "readOnly": false }, { - "$id": "1228", + "$id": "1238", "kind": "path", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1229", + "$id": "1239", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16479,13 +16618,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.createOrUpdate.resourceUri" }, { - "$id": "1230", + "$id": "1240", "kind": "path", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1231", + "$id": "1241", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16503,7 +16642,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.createOrUpdate.endpointName" }, { - "$id": "1232", + "$id": "1242", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -16520,7 +16659,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.createOrUpdate.contentType" }, { - "$id": "1233", + "$id": "1243", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -16536,13 +16675,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.createOrUpdate.accept" }, { - "$id": "1234", + "$id": "1244", "kind": "body", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "505" + "$ref": "507" }, "isApiVersion": false, "contentTypes": [ @@ -16562,7 +16701,7 @@ 200 ], "bodyType": { - "$ref": "505" + "$ref": "507" }, "headers": [], "isErrorResponse": false, @@ -16590,13 +16729,13 @@ }, "parameters": [ { - "$id": "1235", + "$id": "1245", "kind": "method", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1236", + "$id": "1246", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16612,13 +16751,13 @@ "decorators": [] }, { - "$id": "1237", + "$id": "1247", "kind": "method", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1238", + "$id": "1248", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16634,13 +16773,13 @@ "decorators": [] }, { - "$id": "1239", + "$id": "1249", "kind": "method", "name": "resource", "serializedName": "resource", "doc": "Resource create parameters.", "type": { - "$ref": "505" + "$ref": "507" }, "location": "Body", "isApiVersion": false, @@ -16652,7 +16791,7 @@ "decorators": [] }, { - "$id": "1240", + "$id": "1250", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -16670,7 +16809,7 @@ "decorators": [] }, { - "$id": "1241", + "$id": "1251", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -16689,7 +16828,7 @@ ], "response": { "type": { - "$ref": "505" + "$ref": "507" } }, "isOverride": false, @@ -16698,7 +16837,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.createOrUpdate" }, { - "$id": "1242", + "$id": "1252", "kind": "basic", "name": "update", "accessibility": "public", @@ -16707,20 +16846,20 @@ ], "doc": "Update the endpoint to the target resource.", "operation": { - "$id": "1243", + "$id": "1253", "name": "update", "resourceName": "EndpointResource", "doc": "Update the endpoint to the target resource.", "accessibility": "public", "parameters": [ { - "$id": "1244", + "$id": "1254", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1245", + "$id": "1255", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16730,7 +16869,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1246", + "$id": "1256", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -16744,13 +16883,13 @@ "readOnly": false }, { - "$id": "1247", + "$id": "1257", "kind": "path", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1248", + "$id": "1258", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16768,13 +16907,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.update.resourceUri" }, { - "$id": "1249", + "$id": "1259", "kind": "path", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1250", + "$id": "1260", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16792,7 +16931,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.update.endpointName" }, { - "$id": "1251", + "$id": "1261", "kind": "header", "name": "contentType", "serializedName": "Content-Type", @@ -16809,7 +16948,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.update.contentType" }, { - "$id": "1252", + "$id": "1262", "kind": "header", "name": "accept", "serializedName": "Accept", @@ -16825,13 +16964,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.update.accept" }, { - "$id": "1253", + "$id": "1263", "kind": "body", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "505" + "$ref": "507" }, "isApiVersion": false, "contentTypes": [ @@ -16851,7 +16990,7 @@ 200 ], "bodyType": { - "$ref": "505" + "$ref": "507" }, "headers": [], "isErrorResponse": false, @@ -16879,13 +17018,13 @@ }, "parameters": [ { - "$id": "1254", + "$id": "1264", "kind": "method", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1255", + "$id": "1265", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16901,13 +17040,13 @@ "decorators": [] }, { - "$id": "1256", + "$id": "1266", "kind": "method", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1257", + "$id": "1267", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -16923,13 +17062,13 @@ "decorators": [] }, { - "$id": "1258", + "$id": "1268", "kind": "method", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "505" + "$ref": "507" }, "location": "Body", "isApiVersion": false, @@ -16941,7 +17080,7 @@ "decorators": [] }, { - "$id": "1259", + "$id": "1269", "kind": "method", "name": "contentType", "serializedName": "Content-Type", @@ -16959,7 +17098,7 @@ "decorators": [] }, { - "$id": "1260", + "$id": "1270", "kind": "method", "name": "accept", "serializedName": "Accept", @@ -16978,7 +17117,7 @@ ], "response": { "type": { - "$ref": "505" + "$ref": "507" } }, "isOverride": false, @@ -16987,7 +17126,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.update" }, { - "$id": "1261", + "$id": "1271", "kind": "basic", "name": "delete", "accessibility": "public", @@ -16996,20 +17135,20 @@ ], "doc": "Deletes the endpoint access to the target resource.", "operation": { - "$id": "1262", + "$id": "1272", "name": "delete", "resourceName": "EndpointResource", "doc": "Deletes the endpoint access to the target resource.", "accessibility": "public", "parameters": [ { - "$id": "1263", + "$id": "1273", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1264", + "$id": "1274", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17019,7 +17158,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1265", + "$id": "1275", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -17033,13 +17172,13 @@ "readOnly": false }, { - "$id": "1266", + "$id": "1276", "kind": "path", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1267", + "$id": "1277", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17057,13 +17196,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.EndpointResources.delete.resourceUri" }, { - "$id": "1268", + "$id": "1278", "kind": "path", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1269", + "$id": "1279", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17113,13 +17252,13 @@ }, "parameters": [ { - "$id": "1270", + "$id": "1280", "kind": "method", "name": "resourceUri", "serializedName": "resourceUri", "doc": "The fully qualified Azure Resource manager identifier of the resource.", "type": { - "$id": "1271", + "$id": "1281", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17135,13 +17274,13 @@ "decorators": [] }, { - "$id": "1272", + "$id": "1282", "kind": "method", "name": "endpointName", "serializedName": "endpointName", "doc": "The name of the EndpointResource", "type": { - "$id": "1273", + "$id": "1283", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17166,13 +17305,13 @@ ], "parameters": [ { - "$id": "1274", + "$id": "1284", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "1275", + "$id": "1285", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -17183,7 +17322,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "1276", + "$id": "1286", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -17207,17 +17346,283 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "1277", + "$id": "1287", + "kind": "client", + "name": "SolutionResources", + "namespace": "MgmtTypeSpec", + "methods": [ + { + "$id": "1288", + "kind": "basic", + "name": "get", + "accessibility": "public", + "apiVersions": [ + "2024-05-01" + ], + "doc": "Get a SelfHelpResource", + "operation": { + "$id": "1289", + "name": "get", + "resourceName": "SelfHelpResource", + "doc": "Get a SelfHelpResource", + "accessibility": "public", + "parameters": [ + { + "$id": "1290", + "kind": "query", + "name": "apiVersion", + "serializedName": "api-version", + "doc": "The API version to use for this operation.", + "type": { + "$id": "1291", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": true, + "explode": false, + "defaultValue": { + "type": { + "$id": "1292", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "2024-05-01" + }, + "optional": false, + "scope": "Client", + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get.apiVersion", + "readOnly": false + }, + { + "$id": "1293", + "kind": "path", + "name": "scope", + "serializedName": "scope", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1294", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": true, + "skipUrlEncoding": true, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get.scope" + }, + { + "$id": "1295", + "kind": "path", + "name": "selfHelpName", + "serializedName": "selfHelpName", + "doc": "The name of the SelfHelpResource", + "type": { + "$id": "1296", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "isApiVersion": false, + "explode": false, + "style": "simple", + "allowReserved": false, + "skipUrlEncoding": false, + "optional": false, + "scope": "Method", + "decorators": [], + "readOnly": false, + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get.selfHelpName" + }, + { + "$id": "1297", + "kind": "header", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "170" + }, + "isApiVersion": false, + "optional": false, + "isContentType": false, + "scope": "Constant", + "readOnly": false, + "decorators": [], + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get.accept" + } + ], + "responses": [ + { + "statusCodes": [ + 200 + ], + "bodyType": { + "$ref": "519" + }, + "headers": [], + "isErrorResponse": false, + "contentTypes": [ + "application/json" + ] + } + ], + "httpMethod": "GET", + "uri": "{endpoint}", + "path": "/{scope}/providers/MgmtTypeSpec/selfHelps/{selfHelpName}", + "bufferResponse": true, + "generateProtocolMethod": true, + "generateConvenienceMethod": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get", + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceRead", + "arguments": {} + } + ] + }, + "parameters": [ + { + "$id": "1298", + "kind": "method", + "name": "scope", + "serializedName": "scope", + "doc": "The fully qualified Azure Resource manager identifier of the resource.", + "type": { + "$id": "1299", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get.scope", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1300", + "kind": "method", + "name": "selfHelpName", + "serializedName": "selfHelpName", + "doc": "The name of the SelfHelpResource", + "type": { + "$id": "1301", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string", + "decorators": [] + }, + "location": "Path", + "isApiVersion": false, + "optional": false, + "scope": "Method", + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get.selfHelpName", + "readOnly": false, + "access": "public", + "decorators": [] + }, + { + "$id": "1302", + "kind": "method", + "name": "accept", + "serializedName": "Accept", + "type": { + "$ref": "170" + }, + "location": "Header", + "isApiVersion": false, + "optional": false, + "scope": "Constant", + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get.accept", + "readOnly": false, + "access": "public", + "decorators": [] + } + ], + "response": { + "type": { + "$ref": "519" + } + }, + "isOverride": false, + "generateConvenient": true, + "generateProtocol": true, + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources.get" + } + ], + "parameters": [ + { + "$id": "1303", + "kind": "endpoint", + "name": "endpoint", + "serializedName": "endpoint", + "doc": "Service host", + "type": { + "$id": "1304", + "kind": "url", + "name": "endpoint", + "crossLanguageDefinitionId": "TypeSpec.url" + }, + "isApiVersion": false, + "optional": false, + "scope": "Client", + "isEndpoint": true, + "defaultValue": { + "type": { + "$id": "1305", + "kind": "string", + "name": "string", + "crossLanguageDefinitionId": "TypeSpec.string" + }, + "value": "https://management.azure.com" + }, + "serverUrlTemplate": "{endpoint}", + "skipUrlEncoding": false, + "readOnly": false, + "crossLanguageDefinitionId": "MgmtTypeSpec.endpoint" + } + ], + "decorators": [ + { + "name": "Azure.ResourceManager.@armResourceOperations", + "arguments": {} + } + ], + "crossLanguageDefinitionId": "MgmtTypeSpec.SolutionResources", + "apiVersions": [ + "2024-05-01" + ], + "parent": { + "$ref": "532" + } + }, + { + "$id": "1306", "kind": "client", "name": "Bar", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "1278", + "$id": "1307", "kind": "basic", "name": "get", "accessibility": "public", @@ -17226,20 +17631,20 @@ ], "doc": "Get a Bar", "operation": { - "$id": "1279", + "$id": "1308", "name": "get", "resourceName": "Bar", "doc": "Get a Bar", "accessibility": "public", "parameters": [ { - "$id": "1280", + "$id": "1309", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1281", + "$id": "1310", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17249,7 +17654,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1282", + "$id": "1311", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -17263,18 +17668,18 @@ "readOnly": false }, { - "$id": "1283", + "$id": "1312", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1284", + "$id": "1313", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1285", + "$id": "1314", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17294,13 +17699,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.get.subscriptionId" }, { - "$id": "1286", + "$id": "1315", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1287", + "$id": "1316", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17318,13 +17723,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.get.resourceGroupName" }, { - "$id": "1288", + "$id": "1317", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "1289", + "$id": "1318", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17342,13 +17747,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.get.fooName" }, { - "$id": "1290", + "$id": "1319", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "1291", + "$id": "1320", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17366,12 +17771,12 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.get.barName" }, { - "$id": "1292", + "$id": "1321", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "170" + "$ref": "172" }, "isApiVersion": false, "optional": false, @@ -17388,7 +17793,7 @@ 200 ], "bodyType": { - "$ref": "386" + "$ref": "388" }, "headers": [], "isErrorResponse": false, @@ -17413,13 +17818,13 @@ }, "parameters": [ { - "$id": "1293", + "$id": "1322", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1294", + "$id": "1323", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17435,13 +17840,13 @@ "decorators": [] }, { - "$id": "1295", + "$id": "1324", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "1296", + "$id": "1325", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17457,13 +17862,13 @@ "decorators": [] }, { - "$id": "1297", + "$id": "1326", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "1298", + "$id": "1327", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17479,12 +17884,12 @@ "decorators": [] }, { - "$id": "1299", + "$id": "1328", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "170" + "$ref": "172" }, "location": "Header", "isApiVersion": false, @@ -17498,7 +17903,7 @@ ], "response": { "type": { - "$ref": "386" + "$ref": "388" } }, "isOverride": false, @@ -17507,7 +17912,7 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.get" }, { - "$id": "1300", + "$id": "1329", "kind": "basic", "name": "update", "accessibility": "public", @@ -17516,20 +17921,20 @@ ], "doc": "Update a Bar", "operation": { - "$id": "1301", + "$id": "1330", "name": "update", "resourceName": "Bar", "doc": "Update a Bar", "accessibility": "public", "parameters": [ { - "$id": "1302", + "$id": "1331", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1303", + "$id": "1332", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17539,7 +17944,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1304", + "$id": "1333", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -17553,18 +17958,18 @@ "readOnly": false }, { - "$id": "1305", + "$id": "1334", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1306", + "$id": "1335", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1307", + "$id": "1336", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17584,13 +17989,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.update.subscriptionId" }, { - "$id": "1308", + "$id": "1337", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1309", + "$id": "1338", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17608,13 +18013,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.update.resourceGroupName" }, { - "$id": "1310", + "$id": "1339", "kind": "path", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "1311", + "$id": "1340", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17632,13 +18037,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.update.fooName" }, { - "$id": "1312", + "$id": "1341", "kind": "path", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "1313", + "$id": "1342", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17656,13 +18061,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.update.barName" }, { - "$id": "1314", + "$id": "1343", "kind": "header", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "172" + "$ref": "174" }, "isApiVersion": false, "optional": false, @@ -17673,12 +18078,12 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.update.contentType" }, { - "$id": "1315", + "$id": "1344", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "174" + "$ref": "176" }, "isApiVersion": false, "optional": false, @@ -17689,13 +18094,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Bars.update.accept" }, { - "$id": "1316", + "$id": "1345", "kind": "body", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "386" + "$ref": "388" }, "isApiVersion": false, "contentTypes": [ @@ -17715,7 +18120,7 @@ 200 ], "bodyType": { - "$ref": "386" + "$ref": "388" }, "headers": [], "isErrorResponse": false, @@ -17743,13 +18148,13 @@ }, "parameters": [ { - "$id": "1317", + "$id": "1346", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1318", + "$id": "1347", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17765,13 +18170,13 @@ "decorators": [] }, { - "$id": "1319", + "$id": "1348", "kind": "method", "name": "fooName", "serializedName": "fooName", "doc": "The name of the Foo", "type": { - "$id": "1320", + "$id": "1349", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17787,13 +18192,13 @@ "decorators": [] }, { - "$id": "1321", + "$id": "1350", "kind": "method", "name": "barName", "serializedName": "barName", "doc": "The name of the Bar", "type": { - "$id": "1322", + "$id": "1351", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17809,13 +18214,13 @@ "decorators": [] }, { - "$id": "1323", + "$id": "1352", "kind": "method", "name": "properties", "serializedName": "properties", "doc": "The resource properties to be updated.", "type": { - "$ref": "386" + "$ref": "388" }, "location": "Body", "isApiVersion": false, @@ -17827,13 +18232,13 @@ "decorators": [] }, { - "$id": "1324", + "$id": "1353", "kind": "method", "name": "contentType", "serializedName": "Content-Type", "doc": "Body parameter's content type. Known values are application/json", "type": { - "$ref": "172" + "$ref": "174" }, "location": "Header", "isApiVersion": false, @@ -17845,12 +18250,12 @@ "decorators": [] }, { - "$id": "1325", + "$id": "1354", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "174" + "$ref": "176" }, "location": "Header", "isApiVersion": false, @@ -17864,7 +18269,7 @@ ], "response": { "type": { - "$ref": "386" + "$ref": "388" } }, "isOverride": false, @@ -17875,13 +18280,13 @@ ], "parameters": [ { - "$id": "1326", + "$id": "1355", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "1327", + "$id": "1356", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -17892,7 +18297,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "1328", + "$id": "1357", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -17911,17 +18316,17 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } }, { - "$id": "1329", + "$id": "1358", "kind": "client", "name": "ZooRecommendation", "namespace": "MgmtTypeSpec", "methods": [ { - "$id": "1330", + "$id": "1359", "kind": "basic", "name": "recommend", "accessibility": "public", @@ -17930,20 +18335,20 @@ ], "doc": "A synchronous resource action.", "operation": { - "$id": "1331", + "$id": "1360", "name": "recommend", "resourceName": "Zoos", "doc": "A synchronous resource action.", "accessibility": "public", "parameters": [ { - "$id": "1332", + "$id": "1361", "kind": "query", "name": "apiVersion", "serializedName": "api-version", "doc": "The API version to use for this operation.", "type": { - "$id": "1333", + "$id": "1362", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17953,7 +18358,7 @@ "explode": false, "defaultValue": { "type": { - "$id": "1334", + "$id": "1363", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -17967,18 +18372,18 @@ "readOnly": false }, { - "$id": "1335", + "$id": "1364", "kind": "path", "name": "subscriptionId", "serializedName": "subscriptionId", "doc": "The ID of the target subscription. The value must be an UUID.", "type": { - "$id": "1336", + "$id": "1365", "kind": "string", "name": "uuid", "crossLanguageDefinitionId": "Azure.Core.uuid", "baseType": { - "$id": "1337", + "$id": "1366", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -17998,13 +18403,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.recommend.subscriptionId" }, { - "$id": "1338", + "$id": "1367", "kind": "path", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1339", + "$id": "1368", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18022,13 +18427,13 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.recommend.resourceGroupName" }, { - "$id": "1340", + "$id": "1369", "kind": "path", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1341", + "$id": "1370", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18046,12 +18451,12 @@ "crossLanguageDefinitionId": "MgmtTypeSpec.Zoos.recommend.zooName" }, { - "$id": "1342", + "$id": "1371", "kind": "header", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "176" + "$ref": "178" }, "isApiVersion": false, "optional": false, @@ -18068,7 +18473,7 @@ 200 ], "bodyType": { - "$ref": "517" + "$ref": "527" }, "headers": [], "isErrorResponse": false, @@ -18093,13 +18498,13 @@ }, "parameters": [ { - "$id": "1343", + "$id": "1372", "kind": "method", "name": "resourceGroupName", "serializedName": "resourceGroupName", "doc": "The name of the resource group. The name is case insensitive.", "type": { - "$id": "1344", + "$id": "1373", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18115,13 +18520,13 @@ "decorators": [] }, { - "$id": "1345", + "$id": "1374", "kind": "method", "name": "zooName", "serializedName": "zooName", "doc": "The name of the Zoo", "type": { - "$id": "1346", + "$id": "1375", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string", @@ -18137,12 +18542,12 @@ "decorators": [] }, { - "$id": "1347", + "$id": "1376", "kind": "method", "name": "accept", "serializedName": "Accept", "type": { - "$ref": "176" + "$ref": "178" }, "location": "Header", "isApiVersion": false, @@ -18156,7 +18561,7 @@ ], "response": { "type": { - "$ref": "517" + "$ref": "527" } }, "isOverride": false, @@ -18167,13 +18572,13 @@ ], "parameters": [ { - "$id": "1348", + "$id": "1377", "kind": "endpoint", "name": "endpoint", "serializedName": "endpoint", "doc": "Service host", "type": { - "$id": "1349", + "$id": "1378", "kind": "url", "name": "endpoint", "crossLanguageDefinitionId": "TypeSpec.url" @@ -18184,7 +18589,7 @@ "isEndpoint": true, "defaultValue": { "type": { - "$id": "1350", + "$id": "1379", "kind": "string", "name": "string", "crossLanguageDefinitionId": "TypeSpec.string" @@ -18203,7 +18608,7 @@ "2024-05-01" ], "parent": { - "$ref": "522" + "$ref": "532" } } ]