Table of Contents

Class TableResourcesOperationsExtensions

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Extension methods for TableResourcesOperations.

public static class TableResourcesOperationsExtensions
Inheritance
TableResourcesOperationsExtensions
Inherited Members

Methods

BeginCreateUpdateTableAsync(ITableResourcesOperations, string, string, string, TableCreateUpdateParameters, CancellationToken)

Create or update an Azure Cosmos DB Table

public static Task<TableGetResultsInner> BeginCreateUpdateTableAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, TableCreateUpdateParameters createUpdateTableParameters, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

createUpdateTableParameters TableCreateUpdateParameters

The parameters to provide for the current Table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<TableGetResultsInner>

BeginDeleteTableAsync(ITableResourcesOperations, string, string, string, CancellationToken)

Deletes an existing Azure Cosmos DB Table.

public static Task BeginDeleteTableAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

BeginUpdateTableThroughputAsync(ITableResourcesOperations, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)

Update RUs per second of an Azure Cosmos DB Table

public static Task<ThroughputSettingsGetResultsInner> BeginUpdateTableThroughputAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

updateThroughputParameters ThroughputSettingsUpdateParameters

The parameters to provide for the RUs per second of the current Table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>

CreateUpdateTableAsync(ITableResourcesOperations, string, string, string, TableCreateUpdateParameters, CancellationToken)

Create or update an Azure Cosmos DB Table

public static Task<TableGetResultsInner> CreateUpdateTableAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, TableCreateUpdateParameters createUpdateTableParameters, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

createUpdateTableParameters TableCreateUpdateParameters

The parameters to provide for the current Table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<TableGetResultsInner>

DeleteTableAsync(ITableResourcesOperations, string, string, string, CancellationToken)

Deletes an existing Azure Cosmos DB Table.

public static Task DeleteTableAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

GetTableAsync(ITableResourcesOperations, string, string, string, CancellationToken)

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

public static Task<TableGetResultsInner> GetTableAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<TableGetResultsInner>

GetTableThroughputAsync(ITableResourcesOperations, string, string, string, CancellationToken)

Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.

public static Task<ThroughputSettingsGetResultsInner> GetTableThroughputAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>

ListTablesAsync(ITableResourcesOperations, string, string, CancellationToken)

Lists the Tables under an existing Azure Cosmos DB database account.

public static Task<IEnumerable<TableGetResultsInner>> ListTablesAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IEnumerable<TableGetResultsInner>>

UpdateTableThroughputAsync(ITableResourcesOperations, string, string, string, ThroughputSettingsUpdateParameters, CancellationToken)

Update RUs per second of an Azure Cosmos DB Table

public static Task<ThroughputSettingsGetResultsInner> UpdateTableThroughputAsync(this ITableResourcesOperations operations, string resourceGroupName, string accountName, string tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, CancellationToken cancellationToken = default)

Parameters

operations ITableResourcesOperations

The operations group for this extension method.

resourceGroupName string

Name of an Azure resource group.

accountName string

Cosmos DB database account name.

tableName string

Cosmos DB table name.

updateThroughputParameters ThroughputSettingsUpdateParameters

The parameters to provide for the RUs per second of the current Table.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<ThroughputSettingsGetResultsInner>