Bearbeiten

Freigeben über


Remove-AzManagedCassandraDataCenter

Deletes a Azure Managed Instances for Apache Cassandra data center.

Syntax

Remove-AzManagedCassandraDataCenter
      -ResourceGroupName <String>
      -ClusterName <String>
      -DataCenterName <String>
      [-AsJob]
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzManagedCassandraDataCenter
      -ResourceId <String>
      [-AsJob]
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzManagedCassandraDataCenter
      -InputObject <PSDataCenterResource>
      [-AsJob]
      [-PassThru]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-AzManagedCassandraDataCenter
      [-AsJob]
      [-PassThru]
      -ParentObject <PSClusterResource>
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-AzManagedCassandraDataCenter cmdlet deletes a managed Cassandra data center.

Examples

Example 1

Remove-AzManagedCassandraDataCenter `
 -ResourceGroupName "resourceGroupName" `
 -ClusterName "clusterName" `
 -DataCenterName "dataCenterName"

Example 2

Remove-AzManagedCassandraDataCenter -ResourceId "dataCenterResourceId"

Example 3

$dataCenterResource | Remove-AzManagedCassandraDataCenter

Parameters

-AsJob

Run cmdlet in the background

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClusterName

Name of the managed Cassandra cluster.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DataCenterName

Name of the managed Cassandra data center.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Managed Cassandra data center object

Type:PSDataCenterResource
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ParentObject

Managed Cassandra Cluster object

Type:PSClusterResource
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-PassThru

To be set to true if the user wants to receive an output. The output is true if the operation was successful and an error is thrown if not.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Name of resource group.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceId

Resource id of the managed Cassandra DataCenter.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

PSDataCenterResource