Delen via


TableResourcesOperationsExtensions.GetTableAsync Method

Definition

Gets the Tables under an existing Azure Cosmos DB database account with the provided name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.TableGetResults> GetTableAsync (this Microsoft.Azure.Management.CosmosDB.ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, System.Threading.CancellationToken cancellationToken = default);
static member GetTableAsync : Microsoft.Azure.Management.CosmosDB.ITableResourcesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Models.TableGetResults>
<Extension()>
Public Function GetTableAsync (operations As ITableResourcesOperations, resourceGroupName As String, accountName As String, tableName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TableGetResults)

Parameters

operations
ITableResourcesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

accountName
String

Cosmos DB database account name.

tableName
String

Cosmos DB table name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to