編集

次の方法で共有


New-AzCosmosDBCassandraClusterKey

Creates a new CosmosDB Cassandra Cluster Key.

Syntax

New-AzCosmosDBCassandraClusterKey
   -Name <String>
   -OrderBy <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The New-AzCosmosDBCassandraClusterKey creates a new CosmosDB Cassandra Cluster Key.

Examples

Example 1

New-AzCosmosDBCassandraClusterKey -Name "name" -OrderBy "Asc"

Name   OrderBy
----   -------
{name}  Asc

Parameters

-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

-Name

Name of Cassandra Cluster Key.

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

-OrderBy

Ordering of Cassandra Cluster key. Possible values include: 'Asc', 'Desc'

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

Inputs

None

Outputs

PSClusterKey