Partager via


AzureStorageExtensions.AddQueues Method

Definition

Creates a builder for the AzureQueueStorageResource which can be referenced to get the Azure Storage queues endpoint for the storage account.

public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureQueueStorageResource> AddQueues (this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageResource> builder, string name);
static member AddQueues : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageResource> * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureQueueStorageResource>
<Extension()>
Public Function AddQueues (builder As IResourceBuilder(Of AzureStorageResource), name As String) As IResourceBuilder(Of AzureQueueStorageResource)

Parameters

name
String

The name of the resource.

Returns

An IResourceBuilder<T> for the AzureQueueStorageResource.

Applies to