CassandraResourcesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:cassandra_resources> attribute.
- Inheritance
-
builtins.objectCassandraResourcesOperations
Constructor
CassandraResourcesOperations(*args, **kwargs)
Methods
| begin_create_update_cassandra_keyspace |
Create or update an Azure Cosmos DB Cassandra keyspace. |
| begin_create_update_cassandra_table |
Create or update an Azure Cosmos DB Cassandra Table. |
| begin_delete_cassandra_keyspace |
Deletes an existing Azure Cosmos DB Cassandra keyspace. |
| begin_delete_cassandra_table |
Deletes an existing Azure Cosmos DB Cassandra table. |
| begin_migrate_cassandra_keyspace_to_autoscale |
Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale. |
| begin_migrate_cassandra_keyspace_to_manual_throughput |
Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput. |
| begin_migrate_cassandra_table_to_autoscale |
Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale. |
| begin_migrate_cassandra_table_to_manual_throughput |
Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput. |
| begin_update_cassandra_keyspace_throughput |
Update RUs per second of an Azure Cosmos DB Cassandra Keyspace. |
| begin_update_cassandra_table_throughput |
Update RUs per second of an Azure Cosmos DB Cassandra table. |
| get_cassandra_keyspace |
Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. |
| get_cassandra_keyspace_throughput |
Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name. |
| get_cassandra_table |
Gets the Cassandra table under an existing Azure Cosmos DB database account. |
| get_cassandra_table_throughput |
Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name. |
| list_cassandra_keyspaces |
Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account. |
| list_cassandra_tables |
Lists the Cassandra table under an existing Azure Cosmos DB database account. |
begin_create_update_cassandra_keyspace
Create or update an Azure Cosmos DB Cassandra keyspace.
begin_create_update_cassandra_keyspace(resource_group_name: str, account_name: str, keyspace_name: str, create_update_cassandra_keyspace_parameters: azure.mgmt.cosmosdb.models._models_py3.CassandraKeyspaceCreateUpdateParameters, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.CassandraKeyspaceGetResults]
Parameters
- create_update_cassandra_keyspace_parameters
- CassandraKeyspaceCreateUpdateParameters
The parameters to provide for the current Cassandra keyspace.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either CassandraKeyspaceGetResults or the result of cls(response)
Return type
Exceptions
begin_create_update_cassandra_table
Create or update an Azure Cosmos DB Cassandra Table.
begin_create_update_cassandra_table(resource_group_name: str, account_name: str, keyspace_name: str, table_name: str, create_update_cassandra_table_parameters: azure.mgmt.cosmosdb.models._models_py3.CassandraTableCreateUpdateParameters, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.CassandraTableGetResults]
Parameters
- create_update_cassandra_table_parameters
- CassandraTableCreateUpdateParameters
The parameters to provide for the current Cassandra Table.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either CassandraTableGetResults or the result of cls(response)
Return type
Exceptions
begin_delete_cassandra_keyspace
Deletes an existing Azure Cosmos DB Cassandra keyspace.
begin_delete_cassandra_keyspace(resource_group_name: str, account_name: str, keyspace_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_delete_cassandra_table
Deletes an existing Azure Cosmos DB Cassandra table.
begin_delete_cassandra_table(resource_group_name: str, account_name: str, keyspace_name: str, table_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[None]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either None or the result of cls(response)
Return type
Exceptions
begin_migrate_cassandra_keyspace_to_autoscale
Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale.
begin_migrate_cassandra_keyspace_to_autoscale(resource_group_name: str, account_name: str, keyspace_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response)
Return type
Exceptions
begin_migrate_cassandra_keyspace_to_manual_throughput
Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput.
begin_migrate_cassandra_keyspace_to_manual_throughput(resource_group_name: str, account_name: str, keyspace_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response)
Return type
Exceptions
begin_migrate_cassandra_table_to_autoscale
Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale.
begin_migrate_cassandra_table_to_autoscale(resource_group_name: str, account_name: str, keyspace_name: str, table_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response)
Return type
Exceptions
begin_migrate_cassandra_table_to_manual_throughput
Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput.
begin_migrate_cassandra_table_to_manual_throughput(resource_group_name: str, account_name: str, keyspace_name: str, table_name: str, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response)
Return type
Exceptions
begin_update_cassandra_keyspace_throughput
Update RUs per second of an Azure Cosmos DB Cassandra Keyspace.
begin_update_cassandra_keyspace_throughput(resource_group_name: str, account_name: str, keyspace_name: str, update_throughput_parameters: azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsUpdateParameters, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults]
Parameters
- update_throughput_parameters
- ThroughputSettingsUpdateParameters
The RUs per second of the parameters to provide for the current Cassandra Keyspace.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response)
Return type
Exceptions
begin_update_cassandra_table_throughput
Update RUs per second of an Azure Cosmos DB Cassandra table.
begin_update_cassandra_table_throughput(resource_group_name: str, account_name: str, keyspace_name: str, table_name: str, update_throughput_parameters: azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsUpdateParameters, **kwargs: Any) -> azure.core.polling._poller.LROPoller[azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults]
Parameters
- update_throughput_parameters
- ThroughputSettingsUpdateParameters
The RUs per second of the parameters to provide for the current Cassandra table.
- cls
- callable
A custom type or function that will be passed the direct response
- continuation_token
- str
A continuation token to restart a poller from a saved state.
- polling
- bool or PollingMethod
By default, your polling method will be ARMPolling. Pass in False for this operation to not poll, or pass in your own initialized polling object for a personal polling strategy.
- polling_interval
- int
Default waiting time between two polls for LRO operations if no Retry-After header is present.
Returns
An instance of LROPoller that returns either ThroughputSettingsGetResults or the result of cls(response)
Return type
Exceptions
get_cassandra_keyspace
Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name.
get_cassandra_keyspace(resource_group_name: str, account_name: str, keyspace_name: str, **kwargs: Any) -> azure.mgmt.cosmosdb.models._models_py3.CassandraKeyspaceGetResults
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
CassandraKeyspaceGetResults, or the result of cls(response)
Return type
Exceptions
get_cassandra_keyspace_throughput
Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name.
get_cassandra_keyspace_throughput(resource_group_name: str, account_name: str, keyspace_name: str, **kwargs: Any) -> azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ThroughputSettingsGetResults, or the result of cls(response)
Return type
Exceptions
get_cassandra_table
Gets the Cassandra table under an existing Azure Cosmos DB database account.
get_cassandra_table(resource_group_name: str, account_name: str, keyspace_name: str, table_name: str, **kwargs: Any) -> azure.mgmt.cosmosdb.models._models_py3.CassandraTableGetResults
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
CassandraTableGetResults, or the result of cls(response)
Return type
Exceptions
get_cassandra_table_throughput
Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name.
get_cassandra_table_throughput(resource_group_name: str, account_name: str, keyspace_name: str, table_name: str, **kwargs: Any) -> azure.mgmt.cosmosdb.models._models_py3.ThroughputSettingsGetResults
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
ThroughputSettingsGetResults, or the result of cls(response)
Return type
Exceptions
list_cassandra_keyspaces
Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account.
list_cassandra_keyspaces(resource_group_name: str, account_name: str, **kwargs: Any) -> Iterable[azure.mgmt.cosmosdb.models._models_py3.CassandraKeyspaceListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either CassandraKeyspaceListResult or the result of cls(response)
Return type
Exceptions
list_cassandra_tables
Lists the Cassandra table under an existing Azure Cosmos DB database account.
list_cassandra_tables(resource_group_name: str, account_name: str, keyspace_name: str, **kwargs: Any) -> Iterable[azure.mgmt.cosmosdb.models._models_py3.CassandraTableListResult]
Parameters
- cls
- callable
A custom type or function that will be passed the direct response
Returns
An iterator like instance of either CassandraTableListResult or the result of cls(response)
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.cosmosdb.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\cosmosdb\\models\\__init__.py'>
Feedback
Submit and view feedback for