Interface TableResourcesClient
-
public interface TableResourcesClientAn instance of this class provides access to all the operations defined in TableResourcesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableGetResultsInner>,TableGetResultsInner>beginCreateUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)Create or update an Azure Cosmos DB Table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableGetResultsInner>,TableGetResultsInner>beginCreateUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters, com.azure.core.util.Context context)Create or update an Azure Cosmos DB Table.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TableGetResultsInner>,TableGetResultsInner>beginCreateUpdateTableAsync(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)Create or update an Azure Cosmos DB Table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteTable(String resourceGroupName, String accountName, String tableName)Deletes an existing Azure Cosmos DB Table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteTable(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Deletes an existing Azure Cosmos DB Table.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteTableAsync(String resourceGroupName, String accountName, String tableName)Deletes an existing Azure Cosmos DB Table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginMigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from manual throughput to autoscale.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginMigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Migrate an Azure Cosmos DB Table from manual throughput to autoscale.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginMigrateTableToAutoscaleAsync(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from manual throughput to autoscale.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginMigrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from autoscale to manual throughput.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginMigrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Migrate an Azure Cosmos DB Table from autoscale to manual throughput.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginMigrateTableToManualThroughputAsync(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from autoscale to manual throughput.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginUpdateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)Update RUs per second of an Azure Cosmos DB Table.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginUpdateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, com.azure.core.util.Context context)Update RUs per second of an Azure Cosmos DB Table.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner>beginUpdateTableThroughputAsync(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)Update RUs per second of an Azure Cosmos DB Table.TableGetResultsInnercreateUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)Create or update an Azure Cosmos DB Table.TableGetResultsInnercreateUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters, com.azure.core.util.Context context)Create or update an Azure Cosmos DB Table.Mono<TableGetResultsInner>createUpdateTableAsync(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)Create or update an Azure Cosmos DB Table.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createUpdateTableWithResponseAsync(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)Create or update an Azure Cosmos DB Table.voiddeleteTable(String resourceGroupName, String accountName, String tableName)Deletes an existing Azure Cosmos DB Table.voiddeleteTable(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Deletes an existing Azure Cosmos DB Table.Mono<Void>deleteTableAsync(String resourceGroupName, String accountName, String tableName)Deletes an existing Azure Cosmos DB Table.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteTableWithResponseAsync(String resourceGroupName, String accountName, String tableName)Deletes an existing Azure Cosmos DB Table.TableGetResultsInnergetTable(String resourceGroupName, String accountName, String tableName)Gets the Tables under an existing Azure Cosmos DB database account with the provided name.Mono<TableGetResultsInner>getTableAsync(String resourceGroupName, String accountName, String tableName)Gets the Tables under an existing Azure Cosmos DB database account with the provided name.ThroughputSettingsGetResultsInnergetTableThroughput(String resourceGroupName, String accountName, String tableName)Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.Mono<ThroughputSettingsGetResultsInner>getTableThroughputAsync(String resourceGroupName, String accountName, String tableName)Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner>getTableThroughputWithResponse(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.Mono<com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner>>getTableThroughputWithResponseAsync(String resourceGroupName, String accountName, String tableName)Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.com.azure.core.http.rest.Response<TableGetResultsInner>getTableWithResponse(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Gets the Tables under an existing Azure Cosmos DB database account with the provided name.Mono<com.azure.core.http.rest.Response<TableGetResultsInner>>getTableWithResponseAsync(String resourceGroupName, String accountName, String tableName)Gets the Tables under an existing Azure Cosmos DB database account with the provided name.com.azure.core.http.rest.PagedIterable<TableGetResultsInner>listTables(String resourceGroupName, String accountName)Lists the Tables under an existing Azure Cosmos DB database account.com.azure.core.http.rest.PagedIterable<TableGetResultsInner>listTables(String resourceGroupName, String accountName, com.azure.core.util.Context context)Lists the Tables under an existing Azure Cosmos DB database account.com.azure.core.http.rest.PagedFlux<TableGetResultsInner>listTablesAsync(String resourceGroupName, String accountName)Lists the Tables under an existing Azure Cosmos DB database account.ThroughputSettingsGetResultsInnermigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from manual throughput to autoscale.ThroughputSettingsGetResultsInnermigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Migrate an Azure Cosmos DB Table from manual throughput to autoscale.Mono<ThroughputSettingsGetResultsInner>migrateTableToAutoscaleAsync(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from manual throughput to autoscale.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>migrateTableToAutoscaleWithResponseAsync(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from manual throughput to autoscale.ThroughputSettingsGetResultsInnermigrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from autoscale to manual throughput.ThroughputSettingsGetResultsInnermigrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)Migrate an Azure Cosmos DB Table from autoscale to manual throughput.Mono<ThroughputSettingsGetResultsInner>migrateTableToManualThroughputAsync(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from autoscale to manual throughput.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>migrateTableToManualThroughputWithResponseAsync(String resourceGroupName, String accountName, String tableName)Migrate an Azure Cosmos DB Table from autoscale to manual throughput.ThroughputSettingsGetResultsInnerupdateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)Update RUs per second of an Azure Cosmos DB Table.ThroughputSettingsGetResultsInnerupdateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, com.azure.core.util.Context context)Update RUs per second of an Azure Cosmos DB Table.Mono<ThroughputSettingsGetResultsInner>updateTableThroughputAsync(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)Update RUs per second of an Azure Cosmos DB Table.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>updateTableThroughputWithResponseAsync(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)Update RUs per second of an Azure Cosmos DB Table.
-
-
-
Method Detail
-
listTablesAsync
com.azure.core.http.rest.PagedFlux<TableGetResultsInner> listTablesAsync(String resourceGroupName, String accountName)
Lists the Tables under an existing Azure Cosmos DB database account.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.- Returns:
- the List operation response, that contains the Table and their properties.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listTables
com.azure.core.http.rest.PagedIterable<TableGetResultsInner> listTables(String resourceGroupName, String accountName)
Lists the Tables under an existing Azure Cosmos DB database account.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.- Returns:
- the List operation response, that contains the Table and their properties.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listTables
com.azure.core.http.rest.PagedIterable<TableGetResultsInner> listTables(String resourceGroupName, String accountName, com.azure.core.util.Context context)
Lists the Tables under an existing Azure Cosmos DB database account.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.context- The context to associate with this operation.- Returns:
- the List operation response, that contains the Table and their properties.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTableWithResponseAsync
Mono<com.azure.core.http.rest.Response<TableGetResultsInner>> getTableWithResponseAsync(String resourceGroupName, String accountName, String tableName)
Gets the Tables under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the Tables under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTableAsync
Mono<TableGetResultsInner> getTableAsync(String resourceGroupName, String accountName, String tableName)
Gets the Tables under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the Tables under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTable
TableGetResultsInner getTable(String resourceGroupName, String accountName, String tableName)
Gets the Tables under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the Tables under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTableWithResponse
com.azure.core.http.rest.Response<TableGetResultsInner> getTableWithResponse(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Gets the Tables under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Returns:
- the Tables under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdateTableWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateTableWithResponseAsync(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)
Create or update an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.createUpdateTableParameters- The parameters to provide for the current Table.- Returns:
- an Azure Cosmos DB Table.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateUpdateTableAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TableGetResultsInner>,TableGetResultsInner> beginCreateUpdateTableAsync(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)
Create or update an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.createUpdateTableParameters- The parameters to provide for the current Table.- Returns:
- an Azure Cosmos DB Table.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateUpdateTable
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableGetResultsInner>,TableGetResultsInner> beginCreateUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)
Create or update an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.createUpdateTableParameters- The parameters to provide for the current Table.- Returns:
- an Azure Cosmos DB Table.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateUpdateTable
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TableGetResultsInner>,TableGetResultsInner> beginCreateUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters, com.azure.core.util.Context context)
Create or update an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.createUpdateTableParameters- The parameters to provide for the current Table.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB Table.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdateTableAsync
Mono<TableGetResultsInner> createUpdateTableAsync(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)
Create or update an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.createUpdateTableParameters- The parameters to provide for the current Table.- Returns:
- an Azure Cosmos DB Table.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdateTable
TableGetResultsInner createUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters)
Create or update an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.createUpdateTableParameters- The parameters to provide for the current Table.- Returns:
- an Azure Cosmos DB Table.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createUpdateTable
TableGetResultsInner createUpdateTable(String resourceGroupName, String accountName, String tableName, TableCreateUpdateParameters createUpdateTableParameters, com.azure.core.util.Context context)
Create or update an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.createUpdateTableParameters- The parameters to provide for the current Table.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB Table.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteTableWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteTableWithResponseAsync(String resourceGroupName, String accountName, String tableName)
Deletes an existing Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteTableAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteTableAsync(String resourceGroupName, String accountName, String tableName)
Deletes an existing Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteTable
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteTable(String resourceGroupName, String accountName, String tableName)
Deletes an existing Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteTable
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteTable(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Deletes an existing Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteTableAsync
Mono<Void> deleteTableAsync(String resourceGroupName, String accountName, String tableName)
Deletes an existing Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the completion.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteTable
void deleteTable(String resourceGroupName, String accountName, String tableName)
Deletes an existing Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteTable
void deleteTable(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Deletes an existing Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTableThroughputWithResponseAsync
Mono<com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner>> getTableThroughputWithResponseAsync(String resourceGroupName, String accountName, String tableName)
Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTableThroughputAsync
Mono<ThroughputSettingsGetResultsInner> getTableThroughputAsync(String resourceGroupName, String accountName, String tableName)
Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTableThroughput
ThroughputSettingsGetResultsInner getTableThroughput(String resourceGroupName, String accountName, String tableName)
Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getTableThroughputWithResponse
com.azure.core.http.rest.Response<ThroughputSettingsGetResultsInner> getTableThroughputWithResponse(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Returns:
- the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTableThroughputWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTableThroughputWithResponseAsync(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)
Update RUs per second of an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.updateThroughputParameters- The parameters to provide for the RUs per second of the current Table.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTableThroughputAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginUpdateTableThroughputAsync(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)
Update RUs per second of an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.updateThroughputParameters- The parameters to provide for the RUs per second of the current Table.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTableThroughput
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginUpdateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)
Update RUs per second of an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.updateThroughputParameters- The parameters to provide for the RUs per second of the current Table.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdateTableThroughput
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginUpdateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, com.azure.core.util.Context context)
Update RUs per second of an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.updateThroughputParameters- The parameters to provide for the RUs per second of the current Table.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTableThroughputAsync
Mono<ThroughputSettingsGetResultsInner> updateTableThroughputAsync(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)
Update RUs per second of an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.updateThroughputParameters- The parameters to provide for the RUs per second of the current Table.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTableThroughput
ThroughputSettingsGetResultsInner updateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters)
Update RUs per second of an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.updateThroughputParameters- The parameters to provide for the RUs per second of the current Table.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateTableThroughput
ThroughputSettingsGetResultsInner updateTableThroughput(String resourceGroupName, String accountName, String tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, com.azure.core.util.Context context)
Update RUs per second of an Azure Cosmos DB Table.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.updateThroughputParameters- The parameters to provide for the RUs per second of the current Table.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToAutoscaleWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateTableToAutoscaleWithResponseAsync(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from manual throughput to autoscale.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginMigrateTableToAutoscaleAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginMigrateTableToAutoscaleAsync(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from manual throughput to autoscale.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginMigrateTableToAutoscale
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginMigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from manual throughput to autoscale.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginMigrateTableToAutoscale
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginMigrateTableToAutoscale(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Migrate an Azure Cosmos DB Table from manual throughput to autoscale.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToAutoscaleAsync
Mono<ThroughputSettingsGetResultsInner> migrateTableToAutoscaleAsync(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from manual throughput to autoscale.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToAutoscale
ThroughputSettingsGetResultsInner migrateTableToAutoscale(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from manual throughput to autoscale.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToAutoscale
ThroughputSettingsGetResultsInner migrateTableToAutoscale(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Migrate an Azure Cosmos DB Table from manual throughput to autoscale.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToManualThroughputWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> migrateTableToManualThroughputWithResponseAsync(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from autoscale to manual throughput.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginMigrateTableToManualThroughputAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginMigrateTableToManualThroughputAsync(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from autoscale to manual throughput.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginMigrateTableToManualThroughput
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginMigrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from autoscale to manual throughput.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginMigrateTableToManualThroughput
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ThroughputSettingsGetResultsInner>,ThroughputSettingsGetResultsInner> beginMigrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Migrate an Azure Cosmos DB Table from autoscale to manual throughput.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToManualThroughputAsync
Mono<ThroughputSettingsGetResultsInner> migrateTableToManualThroughputAsync(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from autoscale to manual throughput.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToManualThroughput
ThroughputSettingsGetResultsInner migrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName)
Migrate an Azure Cosmos DB Table from autoscale to manual throughput.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
migrateTableToManualThroughput
ThroughputSettingsGetResultsInner migrateTableToManualThroughput(String resourceGroupName, String accountName, String tableName, com.azure.core.util.Context context)
Migrate an Azure Cosmos DB Table from autoscale to manual throughput.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- Cosmos DB database account name.tableName- Cosmos DB table name.context- The context to associate with this operation.- Returns:
- an Azure Cosmos DB resource throughput.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
-