From 53ec8c901ac837514e1a51927fa83ad32cebbd29 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Wed, 11 Feb 2026 09:06:29 +0000 Subject: [PATCH 1/4] Regenerate repository SDK with TypeSpec build 20260211.1 --- ...tp-client-csharp-mgmt-emitter-package-lock.json | 14 +++++++------- ...ec-http-client-csharp-mgmt-emitter-package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json index 96c8dd8e887d..0b1048d7b1ab 100644 --- a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json +++ b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20260210.3" + "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20260211.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.64.0", @@ -141,9 +141,9 @@ } }, "node_modules/@azure-typespec/http-client-csharp-mgmt": { - "version": "1.0.0-alpha.20260210.3", - "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20260210.3.tgz", - "integrity": "sha512-LN2/ds9aHWlXuMNLJ+FVeO1Sl1RZLif2KtXNnlz9InypyWGydDComHPPYPLa/lXzBOs4KuTTAt2b6FywSvzJDQ==", + "version": "1.0.0-alpha.20260211.1", + "resolved": "https://registry.npmjs.org/@azure-typespec/http-client-csharp-mgmt/-/http-client-csharp-mgmt-1.0.0-alpha.20260211.1.tgz", + "integrity": "sha512-7FbkUa5d2zn9ZMH51pk5aWQss6uCPSCZrUtKWk9v4EptfhuYm8nbriXamsIH+vCvH1oHu9FbPBS6Z0lJ66vhkQ==", "license": "MIT", "dependencies": { "@azure-typespec/http-client-csharp": "1.0.0-alpha.20260131.1" @@ -641,9 +641,9 @@ } }, "node_modules/@typespec/http-client-csharp": { - "version": "1.0.0-alpha.20260210.2", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20260210.2.tgz", - "integrity": "sha512-bvvRB4C5DPm2DdDGl9yOJ6FmdI8X2pUdnES/gkDXl/esroQsB6PyIEamsi0JCUcVViHqg406z9+dyo5PvV69QQ==", + "version": "1.0.0-alpha.20260210.4", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-1.0.0-alpha.20260210.4.tgz", + "integrity": "sha512-NFFt8C2byc34Owu5LRokSjPDisNnEcCbQlGqbq4DaFWbpuDT7uHg0U48xO/uWTodboeTGSO3MpawKoqy1fEXAw==", "license": "MIT", "peer": true, "peerDependencies": { diff --git a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json index 8dc5a88fdf63..846c009a85f5 100644 --- a/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json +++ b/eng/azure-typespec-http-client-csharp-mgmt-emitter-package.json @@ -1,7 +1,7 @@ { "main": "dist/src/index.js", "dependencies": { - "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20260210.3" + "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20260211.1" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.64.0", From e4081f9e3b38b5e54c661faaefe76d0eef33365c Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Wed, 11 Feb 2026 09:27:29 +0000 Subject: [PATCH 2/4] Update SDK code re_wo_4 --- ...ResourcesGetAllAsyncCollectionResultOfT.cs | 2 +- ...eLinkResourcesGetAllCollectionResultOfT.cs | 2 +- .../MockableSignalRResourceGroupResource.cs | 90 --------- .../Generated/Extensions/SignalRExtensions.cs | 40 ---- .../src/Generated/SignalRReplicaResource.cs | 33 ++++ ...SignalRReplicaSharedPrivateLinkResource.cs | 2 +- ...licaSharedPrivateLinkResourceCollection.cs | 176 ++++++++++++------ .../src/Generated/SignalRResource.cs | 37 ---- 8 files changed, 159 insertions(+), 223 deletions(-) diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllAsyncCollectionResultOfT.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllAsyncCollectionResultOfT.cs index cc61f7164abf..13da3945b634 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllAsyncCollectionResultOfT.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllAsyncCollectionResultOfT.cs @@ -71,7 +71,7 @@ public override async IAsyncEnumerable GetNextResponseAsync(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetAllRequest(nextLink, _subscriptionId, _resourceGroupName, _resourceName, _replicaName, _context) : _client.CreateGetAllRequest(_subscriptionId, _resourceGroupName, _resourceName, _replicaName, _context); - using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("MockableSignalRResourceGroupResource.GetSignalRReplicaSharedPrivateLinkResources"); + using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.GetAll"); scope.Start(); try { diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllCollectionResultOfT.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllCollectionResultOfT.cs index d98125ba9857..71609575ddf6 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllCollectionResultOfT.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/CollectionResults/SignalRReplicaSharedPrivateLinkResourcesGetAllCollectionResultOfT.cs @@ -70,7 +70,7 @@ public override IEnumerable> AsPages( private Response GetNextResponse(int? pageSizeHint, Uri nextLink) { HttpMessage message = nextLink != null ? _client.CreateNextGetAllRequest(nextLink, _subscriptionId, _resourceGroupName, _resourceName, _replicaName, _context) : _client.CreateGetAllRequest(_subscriptionId, _resourceGroupName, _resourceName, _replicaName, _context); - using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("MockableSignalRResourceGroupResource.GetSignalRReplicaSharedPrivateLinkResources"); + using DiagnosticScope scope = _client.ClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.GetAll"); scope.Start(); try { diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/MockableSignalRResourceGroupResource.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/MockableSignalRResourceGroupResource.cs index b2bb210e0cf6..cba0b14fd57a 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/MockableSignalRResourceGroupResource.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/MockableSignalRResourceGroupResource.cs @@ -10,7 +10,6 @@ using System.Threading.Tasks; using Azure; using Azure.Core; -using Azure.Core.Pipeline; using Azure.ResourceManager; using Azure.ResourceManager.Resources; using Azure.ResourceManager.SignalR; @@ -20,9 +19,6 @@ namespace Azure.ResourceManager.SignalR.Mocking /// A class to add extension methods to . public partial class MockableSignalRResourceGroupResource : ArmResource { - private ClientDiagnostics _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics; - private SignalRReplicaSharedPrivateLinkResources _signalRReplicaSharedPrivateLinkResourcesRestClient; - /// Initializes a new instance of MockableSignalRResourceGroupResource for mocking. protected MockableSignalRResourceGroupResource() { @@ -35,10 +31,6 @@ internal MockableSignalRResourceGroupResource(ArmClient client, ResourceIdentifi { } - private ClientDiagnostics SignalRReplicaSharedPrivateLinkResourcesClientDiagnostics => _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics ??= new ClientDiagnostics("Azure.ResourceManager.SignalR.Mocking", ProviderConstants.DefaultProviderNamespace, Diagnostics); - - private SignalRReplicaSharedPrivateLinkResources SignalRReplicaSharedPrivateLinkResourcesRestClient => _signalRReplicaSharedPrivateLinkResourcesRestClient ??= new SignalRReplicaSharedPrivateLinkResources(SignalRReplicaSharedPrivateLinkResourcesClientDiagnostics, Pipeline, Endpoint, "2025-01-01-preview"); - /// Gets a collection of SignalRs in the . /// An object representing collection of SignalRs and their operations over a SignalRResource. public virtual SignalRCollection GetSignalRs() @@ -103,87 +95,5 @@ public virtual Response GetSignalR(string resourceName, Cancell return GetSignalRs().Get(resourceName, cancellationToken); } - - /// - /// List shared private link resources - /// - /// - /// Request Path. - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources. - /// - /// - /// Operation Id. - /// SharedPrivateLinkResources_List. - /// - /// - /// Default Api Version. - /// 2025-01-01-preview. - /// - /// - /// - /// The name of the SignalRResource. - /// The name of the Replica. - /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// A collection of that may take multiple service requests to iterate over. - public virtual AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(string resourceName, string replicaName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); - - RequestContext context = new RequestContext - { - CancellationToken = cancellationToken - }; - return new AsyncPageableWrapper(new SignalRReplicaSharedPrivateLinkResourcesGetAllAsyncCollectionResultOfT( - SignalRReplicaSharedPrivateLinkResourcesRestClient, - Guid.Parse(Id.SubscriptionId), - Id.ResourceGroupName, - resourceName, - replicaName, - context), data => new SignalRReplicaSharedPrivateLinkResource(Client, data)); - } - - /// - /// List shared private link resources - /// - /// - /// Request Path. - /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources. - /// - /// - /// Operation Id. - /// SharedPrivateLinkResources_List. - /// - /// - /// Default Api Version. - /// 2025-01-01-preview. - /// - /// - /// - /// The name of the SignalRResource. - /// The name of the Replica. - /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - /// A collection of that may take multiple service requests to iterate over. - public virtual Pageable GetSignalRReplicaSharedPrivateLinkResources(string resourceName, string replicaName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(resourceName, nameof(resourceName)); - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); - - RequestContext context = new RequestContext - { - CancellationToken = cancellationToken - }; - return new PageableWrapper(new SignalRReplicaSharedPrivateLinkResourcesGetAllCollectionResultOfT( - SignalRReplicaSharedPrivateLinkResourcesRestClient, - Guid.Parse(Id.SubscriptionId), - Id.ResourceGroupName, - resourceName, - replicaName, - context), data => new SignalRReplicaSharedPrivateLinkResource(Client, data)); - } } } diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/SignalRExtensions.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/SignalRExtensions.cs index 32ad4550fab2..d97c8466b613 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/SignalRExtensions.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/Extensions/SignalRExtensions.cs @@ -219,46 +219,6 @@ public static Response GetSignalR(this ResourceGroupResource re return GetMockableSignalRResourceGroupResource(resourceGroupResource).GetSignalR(resourceName, cancellationToken); } - /// - /// List shared private link resources - /// - /// Mocking. - /// To mock this method, please mock instead. - /// - /// - /// The the method will execute against. - /// The name of the SignalRResource. - /// The name of the Replica. - /// The cancellation token to use. - /// is null. - /// A collection of that may take multiple service requests to iterate over. - public static AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(this ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); - - return GetMockableSignalRResourceGroupResource(resourceGroupResource).GetSignalRReplicaSharedPrivateLinkResourcesAsync(resourceName, replicaName, cancellationToken); - } - - /// - /// List shared private link resources - /// - /// Mocking. - /// To mock this method, please mock instead. - /// - /// - /// The the method will execute against. - /// The name of the SignalRResource. - /// The name of the Replica. - /// The cancellation token to use. - /// is null. - /// A collection of that may take multiple service requests to iterate over. - public static Pageable GetSignalRReplicaSharedPrivateLinkResources(this ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNull(resourceGroupResource, nameof(resourceGroupResource)); - - return GetMockableSignalRResourceGroupResource(resourceGroupResource).GetSignalRReplicaSharedPrivateLinkResources(resourceName, replicaName, cancellationToken); - } - /// /// Handles requests to list all resources in a subscription. /// diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaResource.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaResource.cs index 19af534cee49..abd8d32fa68a 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaResource.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaResource.cs @@ -857,5 +857,38 @@ public virtual Response RemoveTag(string key, Cancellati throw; } } + + /// Gets a collection of SignalRReplicaSharedPrivateLinkResources in the . + /// An object representing collection of SignalRReplicaSharedPrivateLinkResources and their operations over a SignalRReplicaSharedPrivateLinkResource. + public virtual SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() + { + return GetCachedClient(client => new SignalRReplicaSharedPrivateLinkResourceCollection(client, Id)); + } + + /// Get the specified shared private link resource. + /// The name of the SharedPrivateLinkResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual async Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); + + return await GetSignalRReplicaSharedPrivateLinkResources().GetAsync(sharedPrivateLinkResourceName, cancellationToken).ConfigureAwait(false); + } + + /// Get the specified shared private link resource. + /// The name of the SharedPrivateLinkResource. + /// The cancellation token to use. + /// is null. + /// is an empty string, and was expected to be non-empty. + [ForwardsClientCalls] + public virtual Response GetSignalRReplicaSharedPrivateLinkResource(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + { + Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); + + return GetSignalRReplicaSharedPrivateLinkResources().Get(sharedPrivateLinkResourceName, cancellationToken); + } } } diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResource.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResource.cs index 156a365cb773..c04a1b5ea47c 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResource.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResource.cs @@ -19,7 +19,7 @@ namespace Azure.ResourceManager.SignalR /// /// A class representing a SignalRReplicaSharedPrivateLinkResource 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 GetSignalRReplicaSharedPrivateLinkResources method. + /// Otherwise you can get one from its parent resource using the GetSignalRReplicaSharedPrivateLinkResources method. /// public partial class SignalRReplicaSharedPrivateLinkResource : ArmResource { diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResourceCollection.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResourceCollection.cs index a916fc16e403..f009b2c35d1d 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResourceCollection.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRReplicaSharedPrivateLinkResourceCollection.cs @@ -6,6 +6,8 @@ #nullable disable using System; +using System.Collections; +using System.Collections.Generic; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; @@ -18,10 +20,10 @@ namespace Azure.ResourceManager.SignalR { /// /// A class representing a collection of and their operations. - /// Each in the collection will belong to the same instance of . - /// To get a instance call the GetSignalRReplicaSharedPrivateLinkResources method from an instance of . + /// Each in the collection will belong to the same instance of . + /// To get a instance call the GetSignalRReplicaSharedPrivateLinkResources method from an instance of . /// - public partial class SignalRReplicaSharedPrivateLinkResourceCollection : ArmCollection + public partial class SignalRReplicaSharedPrivateLinkResourceCollection : ArmCollection, IEnumerable, IAsyncEnumerable { private readonly ClientDiagnostics _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics; private readonly SignalRReplicaSharedPrivateLinkResources _signalRReplicaSharedPrivateLinkResourcesRestClient; @@ -46,9 +48,9 @@ internal SignalRReplicaSharedPrivateLinkResourceCollection(ArmClient client, Res [Conditional("DEBUG")] internal static void ValidateResourceId(ResourceIdentifier id) { - if (id.ResourceType != SignalRResource.ResourceType) + if (id.ResourceType != SignalRReplicaResource.ResourceType) { - throw new ArgumentException(string.Format("Invalid resource type {0} expected {1}", id.ResourceType, SignalRResource.ResourceType), id); + throw new ArgumentException(string.Format("Invalid resource type {0} expected {1}", id.ResourceType, SignalRReplicaResource.ResourceType), id); } } @@ -70,15 +72,13 @@ internal static void ValidateResourceId(ResourceIdentifier id) /// /// /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The shared private link resource. /// The cancellation token to use. - /// , or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual async Task> CreateOrUpdateAsync(WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData data, CancellationToken cancellationToken = default) + /// or is null. + /// is an empty string, and was expected to be non-empty. + public virtual async Task> CreateOrUpdateAsync(WaitUntil waitUntil, string sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData data, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); Argument.AssertNotNull(data, nameof(data)); @@ -90,7 +90,7 @@ public virtual async Task> { CancellationToken = cancellationToken }; - HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateCreateOrUpdateRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Name, replicaName, sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData.ToRequestContent(data), context); + HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateCreateOrUpdateRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData.ToRequestContent(data), context); Response response = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); SignalRArmOperation operation = new SignalRArmOperation( new SignalRReplicaSharedPrivateLinkResourceOperationSource(Client), @@ -130,15 +130,13 @@ public virtual async Task> /// /// /// if the method should wait to return until the long-running operation has completed on the service; if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples. - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The shared private link resource. /// The cancellation token to use. - /// , or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData data, CancellationToken cancellationToken = default) + /// or is null. + /// is an empty string, and was expected to be non-empty. + public virtual ArmOperation CreateOrUpdate(WaitUntil waitUntil, string sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData data, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); Argument.AssertNotNull(data, nameof(data)); @@ -150,7 +148,7 @@ public virtual ArmOperation CreateOrUpd { CancellationToken = cancellationToken }; - HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateCreateOrUpdateRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Name, replicaName, sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData.ToRequestContent(data), context); + HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateCreateOrUpdateRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, sharedPrivateLinkResourceName, SignalRSharedPrivateLinkResourceData.ToRequestContent(data), context); Response response = Pipeline.ProcessMessage(message, context); SignalRArmOperation operation = new SignalRArmOperation( new SignalRReplicaSharedPrivateLinkResourceOperationSource(Client), @@ -189,14 +187,12 @@ public virtual ArmOperation CreateOrUpd /// /// /// - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual async Task> GetAsync(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual async Task> GetAsync(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); using DiagnosticScope scope = _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.Get"); @@ -207,7 +203,7 @@ public virtual async Task> Get { CancellationToken = cancellationToken }; - HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Name, replicaName, sharedPrivateLinkResourceName, context); + HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, sharedPrivateLinkResourceName, context); Response result = await Pipeline.ProcessMessageAsync(message, context).ConfigureAwait(false); Response response = Response.FromValue(SignalRSharedPrivateLinkResourceData.FromResponse(result), result); if (response.Value == null) @@ -240,14 +236,12 @@ public virtual async Task> Get /// /// /// - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual Response Get(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual Response Get(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); using DiagnosticScope scope = _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.Get"); @@ -258,7 +252,7 @@ public virtual Response Get(string repl { CancellationToken = cancellationToken }; - HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Name, replicaName, sharedPrivateLinkResourceName, context); + HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, sharedPrivateLinkResourceName, context); Response result = Pipeline.ProcessMessage(message, context); Response response = Response.FromValue(SignalRSharedPrivateLinkResourceData.FromResponse(result), result); if (response.Value == null) @@ -274,6 +268,74 @@ public virtual Response Get(string repl } } + /// + /// List shared private link resources + /// + /// + /// Request Path. + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources. + /// + /// + /// Operation Id. + /// SharedPrivateLinkResources_List. + /// + /// + /// Default Api Version. + /// 2025-01-01-preview. + /// + /// + /// + /// The cancellation token to use. + /// A collection of that may take multiple service requests to iterate over. + public virtual AsyncPageable GetAllAsync(CancellationToken cancellationToken = default) + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + return new AsyncPageableWrapper(new SignalRReplicaSharedPrivateLinkResourcesGetAllAsyncCollectionResultOfT( + _signalRReplicaSharedPrivateLinkResourcesRestClient, + Guid.Parse(Id.SubscriptionId), + Id.ResourceGroupName, + Id.Parent.Name, + Id.Name, + context), data => new SignalRReplicaSharedPrivateLinkResource(Client, data)); + } + + /// + /// List shared private link resources + /// + /// + /// Request Path. + /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/signalR/{resourceName}/replicas/{replicaName}/sharedPrivateLinkResources. + /// + /// + /// Operation Id. + /// SharedPrivateLinkResources_List. + /// + /// + /// Default Api Version. + /// 2025-01-01-preview. + /// + /// + /// + /// The cancellation token to use. + /// A collection of that may take multiple service requests to iterate over. + public virtual Pageable GetAll(CancellationToken cancellationToken = default) + { + RequestContext context = new RequestContext + { + CancellationToken = cancellationToken + }; + return new PageableWrapper(new SignalRReplicaSharedPrivateLinkResourcesGetAllCollectionResultOfT( + _signalRReplicaSharedPrivateLinkResourcesRestClient, + Guid.Parse(Id.SubscriptionId), + Id.ResourceGroupName, + Id.Parent.Name, + Id.Name, + context), data => new SignalRReplicaSharedPrivateLinkResource(Client, data)); + } + /// /// Checks to see if the resource exists in azure. /// @@ -291,14 +353,12 @@ public virtual Response Get(string repl /// /// /// - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual async Task> ExistsAsync(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual async Task> ExistsAsync(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); using DiagnosticScope scope = _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.Exists"); @@ -309,7 +369,7 @@ public virtual async Task> ExistsAsync(string replicaName, string { CancellationToken = cancellationToken }; - HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Name, replicaName, sharedPrivateLinkResourceName, context); + HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, sharedPrivateLinkResourceName, context); await Pipeline.SendAsync(message, context.CancellationToken).ConfigureAwait(false); Response result = message.Response; Response response = default; @@ -350,14 +410,12 @@ public virtual async Task> ExistsAsync(string replicaName, string /// /// /// - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual Response Exists(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual Response Exists(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); using DiagnosticScope scope = _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.Exists"); @@ -368,7 +426,7 @@ public virtual Response Exists(string replicaName, string sharedPrivateLin { CancellationToken = cancellationToken }; - HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Name, replicaName, sharedPrivateLinkResourceName, context); + HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, sharedPrivateLinkResourceName, context); Pipeline.Send(message, context.CancellationToken); Response result = message.Response; Response response = default; @@ -409,14 +467,12 @@ public virtual Response Exists(string replicaName, string sharedPrivateLin /// /// /// - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual async Task> GetIfExistsAsync(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual async Task> GetIfExistsAsync(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); using DiagnosticScope scope = _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.GetIfExists"); @@ -427,7 +483,7 @@ public virtual async Task response = default; @@ -472,14 +528,12 @@ public virtual async Task /// /// - /// The name of the Replica. /// The name of the SharedPrivateLinkResource. /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - public virtual NullableResponse GetIfExists(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) + /// is null. + /// is an empty string, and was expected to be non-empty. + public virtual NullableResponse GetIfExists(string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); using DiagnosticScope scope = _signalRReplicaSharedPrivateLinkResourcesClientDiagnostics.CreateScope("SignalRReplicaSharedPrivateLinkResourceCollection.GetIfExists"); @@ -490,7 +544,7 @@ public virtual NullableResponse GetIfEx { CancellationToken = cancellationToken }; - HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Name, replicaName, sharedPrivateLinkResourceName, context); + HttpMessage message = _signalRReplicaSharedPrivateLinkResourcesRestClient.CreateGetRequest(Guid.Parse(Id.SubscriptionId), Id.ResourceGroupName, Id.Parent.Name, Id.Name, sharedPrivateLinkResourceName, context); Pipeline.Send(message, context.CancellationToken); Response result = message.Response; Response response = default; @@ -517,5 +571,21 @@ public virtual NullableResponse GetIfEx throw; } } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetAll().GetEnumerator(); + } + + IEnumerator IEnumerable.GetEnumerator() + { + return GetAll().GetEnumerator(); + } + + /// The cancellation token to use. + IAsyncEnumerator IAsyncEnumerable.GetAsyncEnumerator(CancellationToken cancellationToken) + { + return GetAllAsync(cancellationToken: cancellationToken).GetAsyncEnumerator(cancellationToken); + } } } diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRResource.cs b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRResource.cs index 65d806191ffd..140130503c17 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRResource.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/src/Generated/SignalRResource.cs @@ -1251,43 +1251,6 @@ public virtual Response GetSignalRReplica(string replica return GetSignalRReplicas().Get(replicaName, cancellationToken); } - /// Gets a collection of SignalRReplicaSharedPrivateLinkResources in the . - /// An object representing collection of SignalRReplicaSharedPrivateLinkResources and their operations over a SignalRReplicaSharedPrivateLinkResource. - public virtual SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() - { - return GetCachedClient(client => new SignalRReplicaSharedPrivateLinkResourceCollection(client, Id)); - } - - /// Get the specified shared private link resource. - /// The name of the Replica. - /// The name of the SharedPrivateLinkResource. - /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual async Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); - Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); - - return await GetSignalRReplicaSharedPrivateLinkResources().GetAsync(replicaName, sharedPrivateLinkResourceName, cancellationToken).ConfigureAwait(false); - } - - /// Get the specified shared private link resource. - /// The name of the Replica. - /// The name of the SharedPrivateLinkResource. - /// The cancellation token to use. - /// or is null. - /// or is an empty string, and was expected to be non-empty. - [ForwardsClientCalls] - public virtual Response GetSignalRReplicaSharedPrivateLinkResource(string replicaName, string sharedPrivateLinkResourceName, CancellationToken cancellationToken = default) - { - Argument.AssertNotNullOrEmpty(replicaName, nameof(replicaName)); - Argument.AssertNotNullOrEmpty(sharedPrivateLinkResourceName, nameof(sharedPrivateLinkResourceName)); - - return GetSignalRReplicaSharedPrivateLinkResources().Get(replicaName, sharedPrivateLinkResourceName, cancellationToken); - } - /// Gets a collection of SignalRSharedPrivateLinkResources in the . /// An object representing collection of SignalRSharedPrivateLinkResources and their operations over a SignalRSharedPrivateLinkResource. public virtual SignalRSharedPrivateLinkResourceCollection GetSignalRSharedPrivateLinkResources() From 6258244226a0d2d56415910469830d0f395e4847 Mon Sep 17 00:00:00 2001 From: azure-sdk Date: Wed, 11 Feb 2026 09:28:23 +0000 Subject: [PATCH 3/4] Update SDK code co_ed_1 --- .../Models/ManagedServiceIdentityType.cs | 81 ------------------- 1 file changed, 81 deletions(-) delete mode 100644 sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Generated/Models/ManagedServiceIdentityType.cs diff --git a/sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Generated/Models/ManagedServiceIdentityType.cs b/sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Generated/Models/ManagedServiceIdentityType.cs deleted file mode 100644 index 75e3be311c06..000000000000 --- a/sdk/dynatrace/Azure.ResourceManager.Dynatrace/src/Generated/Models/ManagedServiceIdentityType.cs +++ /dev/null @@ -1,81 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -// - -#nullable disable - -using System; -using System.ComponentModel; -using Azure.ResourceManager.Dynatrace; - -namespace Azure.ResourceManager.Dynatrace.Models -{ - /// Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). - internal readonly partial struct ManagedServiceIdentityType : IEquatable - { - private readonly string _value; - /// No managed identity. - private const string NoneValue = "None"; - /// System assigned managed identity. - private const string SystemAssignedValue = "SystemAssigned"; - /// User assigned managed identity. - private const string UserAssignedValue = "UserAssigned"; - /// System and user assigned managed identity. - private const string SystemAssignedUserAssignedValue = "SystemAssigned,UserAssigned"; - - /// Initializes a new instance of . - /// The value. - /// is null. - public ManagedServiceIdentityType(string value) - { - Argument.AssertNotNull(value, nameof(value)); - - _value = value; - } - - /// No managed identity. - public static ManagedServiceIdentityType None { get; } = new ManagedServiceIdentityType(NoneValue); - - /// System assigned managed identity. - public static ManagedServiceIdentityType SystemAssigned { get; } = new ManagedServiceIdentityType(SystemAssignedValue); - - /// User assigned managed identity. - public static ManagedServiceIdentityType UserAssigned { get; } = new ManagedServiceIdentityType(UserAssignedValue); - - /// System and user assigned managed identity. - public static ManagedServiceIdentityType SystemAssignedUserAssigned { get; } = new ManagedServiceIdentityType(SystemAssignedUserAssignedValue); - - /// Determines if two values are the same. - /// The left value to compare. - /// The right value to compare. - public static bool operator ==(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => left.Equals(right); - - /// Determines if two values are not the same. - /// The left value to compare. - /// The right value to compare. - public static bool operator !=(ManagedServiceIdentityType left, ManagedServiceIdentityType right) => !left.Equals(right); - - /// Converts a string to a . - /// The value. - public static implicit operator ManagedServiceIdentityType(string value) => new ManagedServiceIdentityType(value); - - /// Converts a string to a . - /// The value. - public static implicit operator ManagedServiceIdentityType?(string value) => value == null ? null : new ManagedServiceIdentityType(value); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override bool Equals(object obj) => obj is ManagedServiceIdentityType other && Equals(other); - - /// - public bool Equals(ManagedServiceIdentityType other) => string.Equals(_value, other._value, StringComparison.InvariantCultureIgnoreCase); - - /// - [EditorBrowsable(EditorBrowsableState.Never)] - public override int GetHashCode() => _value != null ? StringComparer.InvariantCultureIgnoreCase.GetHashCode(_value) : 0; - - /// - public override string ToString() => _value; - } -} From 1cf138712906a84d72b7ad395bef32fb4ce26419 Mon Sep 17 00:00:00 2001 From: Wei Hu Date: Thu, 12 Feb 2026 13:48:56 +0800 Subject: [PATCH 4/4] export API --- .../Azure.ResourceManager.SignalR.net10.0.cs | 33 ++++++++++--------- .../Azure.ResourceManager.SignalR.net8.0.cs | 33 ++++++++++--------- ....ResourceManager.SignalR.netstandard2.0.cs | 33 ++++++++++--------- 3 files changed, 51 insertions(+), 48 deletions(-) diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net10.0.cs b/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net10.0.cs index d365156c8407..065728d60209 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net10.0.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net10.0.cs @@ -180,8 +180,6 @@ public static partial class SignalRExtensions public static Azure.ResourceManager.SignalR.SignalRPrivateEndpointConnectionResource GetSignalRPrivateEndpointConnectionResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRReplicaResource GetSignalRReplicaResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResource GetSignalRReplicaSharedPrivateLinkResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } - public static Azure.Pageable GetSignalRReplicaSharedPrivateLinkResources(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public static Azure.AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.ResourceManager.SignalR.SignalRResource GetSignalRResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRCollection GetSignalRs(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; } public static Azure.Pageable GetSignalRs(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -292,6 +290,9 @@ protected SignalRReplicaResource() { } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetReplicaSkus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetReplicaSkusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetSignalRReplicaSharedPrivateLinkResource(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() { throw null; } public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation Restart(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -323,17 +324,22 @@ protected SignalRReplicaSharedPrivateLinkResource() { } public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SignalRReplicaSharedPrivateLinkResourceCollection : Azure.ResourceManager.ArmCollection + public partial class SignalRReplicaSharedPrivateLinkResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { protected SignalRReplicaSharedPrivateLinkResourceCollection() { } - public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Exists(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExistsAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.NullableResponse GetIfExists(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Exists(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExistsAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.NullableResponse GetIfExists(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public partial class SignalRResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { @@ -364,9 +370,6 @@ protected SignalRResource() { } public virtual Azure.Response GetSignalRReplica(string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRReplicaAsync(string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRReplicaCollection GetSignalRReplicas() { throw null; } - public virtual Azure.Response GetSignalRReplicaSharedPrivateLinkResource(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() { throw null; } public virtual Azure.Response GetSignalRSharedPrivateLinkResource(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRSharedPrivateLinkResourceAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceCollection GetSignalRSharedPrivateLinkResources() { throw null; } @@ -462,8 +465,6 @@ public partial class MockableSignalRResourceGroupResource : Azure.ResourceManage protected MockableSignalRResourceGroupResource() { } public virtual Azure.Response GetSignalR(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRAsync(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetSignalRReplicaSharedPrivateLinkResources(string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRCollection GetSignalRs() { throw null; } } public partial class MockableSignalRSubscriptionResource : Azure.ResourceManager.ArmResource diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net8.0.cs b/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net8.0.cs index d365156c8407..065728d60209 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net8.0.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.net8.0.cs @@ -180,8 +180,6 @@ public static partial class SignalRExtensions public static Azure.ResourceManager.SignalR.SignalRPrivateEndpointConnectionResource GetSignalRPrivateEndpointConnectionResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRReplicaResource GetSignalRReplicaResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResource GetSignalRReplicaSharedPrivateLinkResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } - public static Azure.Pageable GetSignalRReplicaSharedPrivateLinkResources(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public static Azure.AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.ResourceManager.SignalR.SignalRResource GetSignalRResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRCollection GetSignalRs(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; } public static Azure.Pageable GetSignalRs(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -292,6 +290,9 @@ protected SignalRReplicaResource() { } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetReplicaSkus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetReplicaSkusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetSignalRReplicaSharedPrivateLinkResource(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() { throw null; } public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation Restart(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -323,17 +324,22 @@ protected SignalRReplicaSharedPrivateLinkResource() { } public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SignalRReplicaSharedPrivateLinkResourceCollection : Azure.ResourceManager.ArmCollection + public partial class SignalRReplicaSharedPrivateLinkResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { protected SignalRReplicaSharedPrivateLinkResourceCollection() { } - public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Exists(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExistsAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.NullableResponse GetIfExists(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Exists(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExistsAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.NullableResponse GetIfExists(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public partial class SignalRResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { @@ -364,9 +370,6 @@ protected SignalRResource() { } public virtual Azure.Response GetSignalRReplica(string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRReplicaAsync(string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRReplicaCollection GetSignalRReplicas() { throw null; } - public virtual Azure.Response GetSignalRReplicaSharedPrivateLinkResource(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() { throw null; } public virtual Azure.Response GetSignalRSharedPrivateLinkResource(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRSharedPrivateLinkResourceAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceCollection GetSignalRSharedPrivateLinkResources() { throw null; } @@ -462,8 +465,6 @@ public partial class MockableSignalRResourceGroupResource : Azure.ResourceManage protected MockableSignalRResourceGroupResource() { } public virtual Azure.Response GetSignalR(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRAsync(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetSignalRReplicaSharedPrivateLinkResources(string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRCollection GetSignalRs() { throw null; } } public partial class MockableSignalRSubscriptionResource : Azure.ResourceManager.ArmResource diff --git a/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.netstandard2.0.cs b/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.netstandard2.0.cs index d365156c8407..065728d60209 100644 --- a/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.netstandard2.0.cs +++ b/sdk/signalr/Azure.ResourceManager.SignalR/api/Azure.ResourceManager.SignalR.netstandard2.0.cs @@ -180,8 +180,6 @@ public static partial class SignalRExtensions public static Azure.ResourceManager.SignalR.SignalRPrivateEndpointConnectionResource GetSignalRPrivateEndpointConnectionResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRReplicaResource GetSignalRReplicaResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResource GetSignalRReplicaSharedPrivateLinkResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } - public static Azure.Pageable GetSignalRReplicaSharedPrivateLinkResources(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public static Azure.AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public static Azure.ResourceManager.SignalR.SignalRResource GetSignalRResource(this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id) { throw null; } public static Azure.ResourceManager.SignalR.SignalRCollection GetSignalRs(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource) { throw null; } public static Azure.Pageable GetSignalRs(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -292,6 +290,9 @@ protected SignalRReplicaResource() { } public virtual System.Threading.Tasks.Task> GetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Pageable GetReplicaSkus(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.AsyncPageable GetReplicaSkusAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response GetSignalRReplicaSharedPrivateLinkResource(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() { throw null; } public virtual Azure.Response RemoveTag(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> RemoveTagAsync(string key, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.ArmOperation Restart(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } @@ -323,17 +324,22 @@ protected SignalRReplicaSharedPrivateLinkResource() { } public virtual Azure.ResourceManager.ArmOperation Update(Azure.WaitUntil waitUntil, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> UpdateAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } } - public partial class SignalRReplicaSharedPrivateLinkResourceCollection : Azure.ResourceManager.ArmCollection + public partial class SignalRReplicaSharedPrivateLinkResourceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable, System.Collections.Generic.IEnumerable, System.Collections.IEnumerable { protected SignalRReplicaSharedPrivateLinkResourceCollection() { } - public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string replicaName, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Exists(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> ExistsAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Response Get(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.NullableResponse GetIfExists(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.ResourceManager.ArmOperation CreateOrUpdate(Azure.WaitUntil waitUntil, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> CreateOrUpdateAsync(Azure.WaitUntil waitUntil, string sharedPrivateLinkResourceName, Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceData data, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Exists(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> ExistsAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Get(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Pageable GetAll(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.AsyncPageable GetAllAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.NullableResponse GetIfExists(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> GetIfExistsAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + System.Collections.Generic.IAsyncEnumerator System.Collections.Generic.IAsyncEnumerable.GetAsyncEnumerator(System.Threading.CancellationToken cancellationToken) { throw null; } + System.Collections.Generic.IEnumerator System.Collections.Generic.IEnumerable.GetEnumerator() { throw null; } + System.Collections.IEnumerator System.Collections.IEnumerable.GetEnumerator() { throw null; } } public partial class SignalRResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { @@ -364,9 +370,6 @@ protected SignalRResource() { } public virtual Azure.Response GetSignalRReplica(string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRReplicaAsync(string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRReplicaCollection GetSignalRReplicas() { throw null; } - public virtual Azure.Response GetSignalRReplicaSharedPrivateLinkResource(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual System.Threading.Tasks.Task> GetSignalRReplicaSharedPrivateLinkResourceAsync(string replicaName, string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.ResourceManager.SignalR.SignalRReplicaSharedPrivateLinkResourceCollection GetSignalRReplicaSharedPrivateLinkResources() { throw null; } public virtual Azure.Response GetSignalRSharedPrivateLinkResource(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRSharedPrivateLinkResourceAsync(string sharedPrivateLinkResourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRSharedPrivateLinkResourceCollection GetSignalRSharedPrivateLinkResources() { throw null; } @@ -462,8 +465,6 @@ public partial class MockableSignalRResourceGroupResource : Azure.ResourceManage protected MockableSignalRResourceGroupResource() { } public virtual Azure.Response GetSignalR(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> GetSignalRAsync(string resourceName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.Pageable GetSignalRReplicaSharedPrivateLinkResources(string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } - public virtual Azure.AsyncPageable GetSignalRReplicaSharedPrivateLinkResourcesAsync(string resourceName, string replicaName, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.ResourceManager.SignalR.SignalRCollection GetSignalRs() { throw null; } } public partial class MockableSignalRSubscriptionResource : Azure.ResourceManager.ArmResource