CassandraDataCenters interface
Interface representing a CassandraDataCenters.
Methods
Method Details
beginCreateUpdate(string, string, string, DataCenterResource, CassandraDataCentersCreateUpdateOptionalParams)
Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.
function beginCreateUpdate(resourceGroupName: string, clusterName: string, dataCenterName: string, body: DataCenterResource, options?: CassandraDataCentersCreateUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DataCenterResource>, DataCenterResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
- dataCenterName
-
string
Data center name in a managed Cassandra cluster.
- body
- DataCenterResource
Parameters specifying the managed Cassandra data center.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DataCenterResource>, DataCenterResource>>
beginCreateUpdateAndWait(string, string, string, DataCenterResource, CassandraDataCentersCreateUpdateOptionalParams)
Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH.
function beginCreateUpdateAndWait(resourceGroupName: string, clusterName: string, dataCenterName: string, body: DataCenterResource, options?: CassandraDataCentersCreateUpdateOptionalParams): Promise<DataCenterResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
- dataCenterName
-
string
Data center name in a managed Cassandra cluster.
- body
- DataCenterResource
Parameters specifying the managed Cassandra data center.
The options parameters.
Returns
Promise<DataCenterResource>
beginDelete(string, string, string, CassandraDataCentersDeleteOptionalParams)
Delete a managed Cassandra data center.
function beginDelete(resourceGroupName: string, clusterName: string, dataCenterName: string, options?: CassandraDataCentersDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
- dataCenterName
-
string
Data center name in a managed Cassandra cluster.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, CassandraDataCentersDeleteOptionalParams)
Delete a managed Cassandra data center.
function beginDeleteAndWait(resourceGroupName: string, clusterName: string, dataCenterName: string, options?: CassandraDataCentersDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
- dataCenterName
-
string
Data center name in a managed Cassandra cluster.
The options parameters.
Returns
Promise<void>
beginUpdate(string, string, string, DataCenterResource, CassandraDataCentersUpdateOptionalParams)
Update some of the properties of a managed Cassandra data center.
function beginUpdate(resourceGroupName: string, clusterName: string, dataCenterName: string, body: DataCenterResource, options?: CassandraDataCentersUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DataCenterResource>, DataCenterResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
- dataCenterName
-
string
Data center name in a managed Cassandra cluster.
- body
- DataCenterResource
Parameters to provide for specifying the managed Cassandra data center.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<DataCenterResource>, DataCenterResource>>
beginUpdateAndWait(string, string, string, DataCenterResource, CassandraDataCentersUpdateOptionalParams)
Update some of the properties of a managed Cassandra data center.
function beginUpdateAndWait(resourceGroupName: string, clusterName: string, dataCenterName: string, body: DataCenterResource, options?: CassandraDataCentersUpdateOptionalParams): Promise<DataCenterResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
- dataCenterName
-
string
Data center name in a managed Cassandra cluster.
- body
- DataCenterResource
Parameters to provide for specifying the managed Cassandra data center.
The options parameters.
Returns
Promise<DataCenterResource>
get(string, string, string, CassandraDataCentersGetOptionalParams)
Get the properties of a managed Cassandra data center.
function get(resourceGroupName: string, clusterName: string, dataCenterName: string, options?: CassandraDataCentersGetOptionalParams): Promise<DataCenterResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
- dataCenterName
-
string
Data center name in a managed Cassandra cluster.
The options parameters.
Returns
Promise<DataCenterResource>
list(string, string, CassandraDataCentersListOptionalParams)
List all data centers in a particular managed Cassandra cluster.
function list(resourceGroupName: string, clusterName: string, options?: CassandraDataCentersListOptionalParams): PagedAsyncIterableIterator<DataCenterResource, DataCenterResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- clusterName
-
string
Managed Cassandra cluster name.
The options parameters.