Editar

Partilhar via


Get-AzManagedCassandraDataCenter

Gets a Azure Managed Instances for Apache Cassandra data center.

Syntax

Get-AzManagedCassandraDataCenter
   -ResourceGroupName <String>
   -ClusterName <String>
   [-DataCenterName <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzManagedCassandraDataCenter
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzManagedCassandraDataCenter
   -InputObject <PSDataCenterResource>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzManagedCassandraDataCenter
   -ParentObject <PSClusterResource>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzManagedCassandraDataCenter cmdlet fetches the properties of an existing managed Cassandra data center.

Examples

Example 1

Get-AzManagedCassandraDataCenter -ResourceGroupName "resourceGroupName" -ClusterName "clusterName" -DataCenterName "dataCenterName"

Example 2

Get-AzManagedCassandraDataCenter -ResourceId "resourceId"

Example 3

$clusterResource | Get-AzManagedCassandraDataCenter

Parameters

-ClusterName

Name of the managed Cassandra cluster.

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

-DataCenterName

Name of the managed Cassandra data center.

Type:String
Position:Named
Default value:None
Required:False
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 Datacenter 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

-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 cluster.

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

Inputs

PSClusterResource

Outputs

PSDataCenterResource