Interface ICassandraResourcesOperations
- Namespace
- Microsoft.Azure.Management.CosmosDB.Fluent
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
CassandraResourcesOperations operations.
public interface ICassandraResourcesOperations
- Extension Methods
Methods
BeginCreateUpdateCassandraKeyspaceWithHttpMessagesAsync(string, string, string, CassandraKeyspaceCreateUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Create or update an Azure Cosmos DB Cassandra keyspace
Task<AzureOperationResponse<CassandraKeyspaceGetResultsInner>> BeginCreateUpdateCassandraKeyspaceWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, CassandraKeyspaceCreateUpdateParameters createUpdateCassandraKeyspaceParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
createUpdateCassandraKeyspaceParameters
CassandraKeyspaceCreateUpdateParametersThe parameters to provide for the current Cassandra keyspace.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<CassandraKeyspaceGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
BeginCreateUpdateCassandraTableWithHttpMessagesAsync(string, string, string, string, CassandraTableCreateUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Create or update an Azure Cosmos DB Cassandra Table
Task<AzureOperationResponse<CassandraTableGetResultsInner>> BeginCreateUpdateCassandraTableWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, CassandraTableCreateUpdateParameters createUpdateCassandraTableParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
createUpdateCassandraTableParameters
CassandraTableCreateUpdateParametersThe parameters to provide for the current Cassandra Table.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<CassandraTableGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
BeginDeleteCassandraKeyspaceWithHttpMessagesAsync(string, string, string, Dictionary<string, List<string>>, CancellationToken)
Deletes an existing Azure Cosmos DB Cassandra keyspace.
Task<AzureOperationResponse> BeginDeleteCassandraKeyspaceWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
BeginDeleteCassandraTableWithHttpMessagesAsync(string, string, string, string, Dictionary<string, List<string>>, CancellationToken)
Deletes an existing Azure Cosmos DB Cassandra table.
Task<AzureOperationResponse> BeginDeleteCassandraTableWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
BeginUpdateCassandraKeyspaceThroughputWithHttpMessagesAsync(string, string, string, ThroughputSettingsUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>> BeginUpdateCassandraKeyspaceThroughputWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, ThroughputSettingsUpdateParameters updateThroughputParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Cassandra Keyspace.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
BeginUpdateCassandraTableThroughputWithHttpMessagesAsync(string, string, string, string, ThroughputSettingsUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Update RUs per second of an Azure Cosmos DB Cassandra table
Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>> BeginUpdateCassandraTableThroughputWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Cassandra table.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
CreateUpdateCassandraKeyspaceWithHttpMessagesAsync(string, string, string, CassandraKeyspaceCreateUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Create or update an Azure Cosmos DB Cassandra keyspace
Task<AzureOperationResponse<CassandraKeyspaceGetResultsInner>> CreateUpdateCassandraKeyspaceWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, CassandraKeyspaceCreateUpdateParameters createUpdateCassandraKeyspaceParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
createUpdateCassandraKeyspaceParameters
CassandraKeyspaceCreateUpdateParametersThe parameters to provide for the current Cassandra keyspace.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<CassandraKeyspaceGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
CreateUpdateCassandraTableWithHttpMessagesAsync(string, string, string, string, CassandraTableCreateUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Create or update an Azure Cosmos DB Cassandra Table
Task<AzureOperationResponse<CassandraTableGetResultsInner>> CreateUpdateCassandraTableWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, CassandraTableCreateUpdateParameters createUpdateCassandraTableParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
createUpdateCassandraTableParameters
CassandraTableCreateUpdateParametersThe parameters to provide for the current Cassandra Table.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<CassandraTableGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
DeleteCassandraKeyspaceWithHttpMessagesAsync(string, string, string, Dictionary<string, List<string>>, CancellationToken)
Deletes an existing Azure Cosmos DB Cassandra keyspace.
Task<AzureOperationResponse> DeleteCassandraKeyspaceWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
DeleteCassandraTableWithHttpMessagesAsync(string, string, string, string, Dictionary<string, List<string>>, CancellationToken)
Deletes an existing Azure Cosmos DB Cassandra table.
Task<AzureOperationResponse> DeleteCassandraTableWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
GetCassandraKeyspaceThroughputWithHttpMessagesAsync(string, string, string, Dictionary<string, List<string>>, CancellationToken)
Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>> GetCassandraKeyspaceThroughputWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
GetCassandraKeyspaceWithHttpMessagesAsync(string, string, string, Dictionary<string, List<string>>, CancellationToken)
Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
Task<AzureOperationResponse<CassandraKeyspaceGetResultsInner>> GetCassandraKeyspaceWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<CassandraKeyspaceGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
GetCassandraTableThroughputWithHttpMessagesAsync(string, string, string, string, Dictionary<string, List<string>>, CancellationToken)
Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>> GetCassandraTableThroughputWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
GetCassandraTableWithHttpMessagesAsync(string, string, string, string, Dictionary<string, List<string>>, CancellationToken)
Gets the Cassandra table under an existing Azure Cosmos DB database account.
Task<AzureOperationResponse<CassandraTableGetResultsInner>> GetCassandraTableWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<CassandraTableGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
ListCassandraKeyspacesWithHttpMessagesAsync(string, string, Dictionary<string, List<string>>, CancellationToken)
Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
Task<AzureOperationResponse<IEnumerable<CassandraKeyspaceGetResultsInner>>> ListCassandraKeyspacesWithHttpMessagesAsync(string resourceGroupName, string accountName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<IEnumerable<CassandraKeyspaceGetResultsInner>>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
ListCassandraTablesWithHttpMessagesAsync(string, string, string, Dictionary<string, List<string>>, CancellationToken)
Lists the Cassandra table under an existing Azure Cosmos DB database account.
Task<AzureOperationResponse<IEnumerable<CassandraTableGetResultsInner>>> ListCassandraTablesWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<IEnumerable<CassandraTableGetResultsInner>>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
UpdateCassandraKeyspaceThroughputWithHttpMessagesAsync(string, string, string, ThroughputSettingsUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Update RUs per second of an Azure Cosmos DB Cassandra Keyspace
Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>> UpdateCassandraKeyspaceThroughputWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, ThroughputSettingsUpdateParameters updateThroughputParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Cassandra Keyspace.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null
UpdateCassandraTableThroughputWithHttpMessagesAsync(string, string, string, string, ThroughputSettingsUpdateParameters, Dictionary<string, List<string>>, CancellationToken)
Update RUs per second of an Azure Cosmos DB Cassandra table
Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>> UpdateCassandraTableThroughputWithHttpMessagesAsync(string resourceGroupName, string accountName, string keyspaceName, string tableName, ThroughputSettingsUpdateParameters updateThroughputParameters, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default)
Parameters
resourceGroupName
stringName of an Azure resource group.
accountName
stringCosmos DB database account name.
keyspaceName
stringCosmos DB keyspace name.
tableName
stringCosmos DB table name.
updateThroughputParameters
ThroughputSettingsUpdateParametersThe RUs per second of the parameters to provide for the current Cassandra table.
customHeaders
Dictionary<string, List<string>>The headers that will be added to request.
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<AzureOperationResponse<ThroughputSettingsGetResultsInner>>
Exceptions
- Microsoft.Rest.Azure.CloudException
Thrown when the operation returned an invalid status code
- Microsoft.Rest.SerializationException
Thrown when unable to deserialize the response
- Microsoft.Rest.ValidationException
Thrown when a required parameter is null