Freigeben über


AzureStorageExtensions.AddTables Method

Definition

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

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

Parameters

name
String

The name of the resource.

Returns

An IResourceBuilder<T> for the AzureTableStorageResource.

Applies to