AzureStorageExtensions.AddQueue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a builder for the AzureQueueStorageQueueResource which can be referenced to get the Azure Storage queue for the storage account.
public static Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureQueueStorageQueueResource> AddQueue(this Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageResource> builder, string name, string? queueName = default);
static member AddQueue : Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureStorageResource> * string * string -> Aspire.Hosting.ApplicationModel.IResourceBuilder<Aspire.Hosting.Azure.AzureQueueStorageQueueResource>
<Extension()>
Public Function AddQueue (builder As IResourceBuilder(Of AzureStorageResource), name As String, Optional queueName As String = Nothing) As IResourceBuilder(Of AzureQueueStorageQueueResource)
Parameters
- builder
- IResourceBuilder<AzureStorageResource>
The IResourceBuilder<T> for AzureStorageResource.
- name
- String
The name of the resource.
- queueName
- String
The name of the queue.
Returns
An IResourceBuilder<T> for the AzureQueueStorageQueueResource.