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

PS C:\> New-AzCosmosDBCassandraClusterKey -Name  -OrderBy 

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
Accept pipeline input:False
Accept wildcard characters:False
-Name

Name of Cassandra Cluster Key.

Type:String
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.Azure.Commands.CosmosDB.Models.PSClusterKey