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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
createUpdateTableParameters
TableCreateUpdateParametersThe parameters to provide for the current Table.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe parameters to provide for the RUs per second of the current Table.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
createUpdateTableParameters
TableCreateUpdateParametersThe parameters to provide for the current Table.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
cancellationToken
CancellationTokenThe cancellation token.
Returns
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
ITableResourcesOperationsThe operations group for this extension method.
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
tableName
stringCosmos DB table name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe parameters to provide for the RUs per second of the current Table.
cancellationToken
CancellationTokenThe cancellation token.