Az.CosmosDB

The topics in this section document the Azure PowerShell cmdlets for Azure CosmosDB in the Azure Resource Manager (ARM) framework. The cmdlets exist in the Microsoft.Azure.Commands.CosmosDB namespace.

Cosmos DB

Get-AzCosmosDBAccount

Get CosmosDB Account.

Get-AzCosmosDBAccountKey

Get Keys{"ConnectionKeys", "PrimaryReadOnly" or "Keys"} for the given CosmosDB Account.

Get-AzCosmosDBCassandraKeyspace

Gets a CosmosDB Cassandra Keyspace.

Get-AzCosmosDBCassandraKeyspaceThroughput

Gets the throughput value of the Cassandra Keyspace.

Get-AzCosmosDBCassandraTable

Gets a CosmosDB Cassandra Table.

Get-AzCosmosDBCassandraTableThroughput

Gets the throughput value of the Cassandra Table.

Get-AzCosmosDBGremlinDatabase

Gets the CosmosDB Gremlin Database.

Get-AzCosmosDBGremlinDatabaseThroughput

Gets the throughput of a CosmosDB Gremlin Database.

Get-AzCosmosDBGremlinGraph

Gets the CosmosDB Gremlin Graph.

Get-AzCosmosDBGremlinGraphThroughput

Gets the throughput of a CosmosDB Gremlin Graph.

Get-AzCosmosDBMongoDBCollection

Gets the CosmosDB MongoDB Collection.

Get-AzCosmosDBMongoDBCollectionThroughput

Gets the CosmosDB throughput properties of MongoDB Collection.

Get-AzCosmosDBMongoDBDatabase

Gets the CosmosDB MongoDB Database

Get-AzCosmosDBMongoDBDatabaseThroughput

Gets the CosmosDB throughput properties of MongoDB Database.

Get-AzCosmosDBSqlContainer

Gets the CosmosDB Sql Container.

Get-AzCosmosDBSqlContainerThroughput

Gets the throughput settings corresponding to a CosmosDB Sql Container.

Get-AzCosmosDBSqlDatabase

Gets the CosmosDB Sql Database.

Get-AzCosmosDBSqlDatabaseThroughput

Gets the throughput settings corresponding to a CosmosDB Sql Database.

Get-AzCosmosDBSqlStoredProcedure

Gets the CosmosDB Sql StoredProcedure.

Get-AzCosmosDBSqlTrigger

Gets the CosmosDB Sql Trigger.

Get-AzCosmosDBSqlUserDefinedFunction

Gets the CosmosDB Sql User Defined Function.

Get-AzCosmosDBTable

Gets a CosmosDB Table.

Get-AzCosmosDBTableThroughput

Gets the throughput of a CosmosDB Table.

Invoke-AzCosmosDBCassandraKeyspaceThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBCassandraTableThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBGremlinDatabaseThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBGremlinGraphThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBMongoDBCollectionThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBMongoDBDatabaseThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBSqlContainerThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBSqlDatabaseThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

Invoke-AzCosmosDBTableThroughputMigration

Use this to migrate autoscale throughput to manual throughput and vice versa.

New-AzCosmosDBAccount

Create a new CosmosDB Account.

New-AzCosmosDBAccountKey

Regenerate a given CosmosDB Account Key.

New-AzCosmosDBCassandraClusterKey

Creates a new CosmosDB Cassandra Cluster Key.

New-AzCosmosDBCassandraColumn

Creates a new CosmosDB Cassandra Column.

New-AzCosmosDBCassandraKeyspace

Creates a new CosmosDB Cassandra Keyspace.

New-AzCosmosDBCassandraSchema

Creates a new CosmosDB Cassandra Schema.

New-AzCosmosDBCassandraTable

Creates a new CosmosDB Cassandra Table.

New-AzCosmosDBGremlinCompositePath

Creates a new object of type PSCompositePath. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph.

New-AzCosmosDBGremlinConflictResolutionPolicy

Creates a new object of type PSConflictResolutionPolicy. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph.

New-AzCosmosDBGremlinDatabase

Creates a new CosmosDB Gremlin Database.

New-AzCosmosDBGremlinGraph

Creates a new CosmosDB Gremlin Graph.

New-AzCosmosDBGremlinIncludedPath

Creates a new object of type PSIncludedPath. It can be passed as a parameter value for Set-AzCosmosDBGremlinGraph.

New-AzCosmosDBGremlinIncludedPathIndex

Creates a new object of type PSIndexes. It can be passed as a parameter value for Set-AzCosmosDBGremlinIncludedPath.

New-AzCosmosDBGremlinIndexingPolicy

Creates a new CosmosDB IndexingPolicy object.

New-AzCosmosDBGremlinSpatialSpec

Creates a new object of type PSSpatialSpec. It can be passed as a parameter value for Set-AzCosmosDBGremlinIndexingPolicy.

New-AzCosmosDBGremlinUniqueKey

Creates a new CosmosDB UniqueKeyPolicy object.

New-AzCosmosDBGremlinUniqueKeyPolicy

Creates a new CosmosDB UniqueKeyPolicy object.

New-AzCosmosDBLocationObject

Create a new CosmosDB Location Object(PSLocation).

New-AzCosmosDBMongoDBCollection

Creates a new CosmosDB MongoDB Collection.

New-AzCosmosDBMongoDBDatabase

Creates a new CosmosDB MongoDB Database.

New-AzCosmosDBMongoDBIndex

Creates a new CosmosDB MongoDB Index.

New-AzCosmosDBSqlCompositePath

Creates a new object of type PSCompositePath. It can be passed as a parameter value for Set-AzCosmosDBSqlContainer.

New-AzCosmosDBSqlConflictResolutionPolicy

Creates a new object of type PSSqlConflictResolutionPolicy. It can be passed as a parameter value for Set-AzCosmosDBSqlContainer.

New-AzCosmosDBSqlContainer

Creates a new CosmosDB Sql Container.

New-AzCosmosDBSqlDatabase

Creates a new CosmosDB Sql Database.

New-AzCosmosDBSqlIncludedPath

Creates a new object of type PSIncludedPath. It can be passed as a parameter value for Set-AzCosmosDBSqlContainer.

New-AzCosmosDBSqlIncludedPathIndex

Creates a new object of type PSIndexes. It can be passed as a parameter value for Set-AzCosmosDBSqlIncludedPath.

New-AzCosmosDBSqlIndexingPolicy

Creates a new CosmosDB Sql IndexingPolicy object.

New-AzCosmosDBSqlSpatialSpec

Creates a new object of type PSSpatialSpec. It can be passed as a parameter value for Set-AzCosmosDBSqlIndexingPolicy.

New-AzCosmosDBSqlStoredProcedure

Creates a new CosmosDB Sql StoredProcedure.

New-AzCosmosDBSqlTrigger

Creates a new CosmosDB Sql Trigger.

New-AzCosmosDBSqlUniqueKey

Creates a new CosmosDB Sql UniqueKey object.

New-AzCosmosDBSqlUniqueKeyPolicy

Creates a new CosmosDB SqlUniqueKeyPolicy object.

New-AzCosmosDBSqlUserDefinedFunction

Creates a new CosmosDB Sql UserDefinedFunction.

New-AzCosmosDBTable

Creates a new CosmosDB Table.

New-AzCosmosDBVirtualNetworkRule

Create a new CosmosDB VirtualNetworkRule Object(PSVirtualNetworkRule).

Remove-AzCosmosDBAccount

Remove a CosmosDB Account.

Remove-AzCosmosDBCassandraKeyspace

Deletes a CosmosDB Cassandra Keyspace.

Remove-AzCosmosDBCassandraTable

Deletes a CosmosDB Cassandra Table.

Remove-AzCosmosDBGremlinDatabase

Deletes a CosmosDB Gremlin Database.

Remove-AzCosmosDBGremlinGraph

Deletes a CosmosDB Gremlin Graph.

Remove-AzCosmosDBMongoDBCollection

Deletes a CosmosDB MongoDB Collection.

Remove-AzCosmosDBMongoDBDatabase

Deletes a CosmosDB MongoDB Database.

Remove-AzCosmosDBSqlContainer

Deletes the CosmosDB Sql Container.

Remove-AzCosmosDBSqlDatabase

Deletes the CosmosDB Sql Database.

Remove-AzCosmosDBSqlStoredProcedure

Deletes the CosmosDB Sql StoredProcedure.

Remove-AzCosmosDBSqlTrigger

Deletes the CosmosDB Sql Trigger.

Remove-AzCosmosDBSqlUserDefinedFunction

Deletes the CosmosDB Sql UserDefinedFunction.

Remove-AzCosmosDBTable

Deletes the CosmosDB Table.

Update-AzCosmosDBAccount

Update a CosmosDB account attributes.

Update-AzCosmosDBAccountFailoverPriority

{{ Fill in the Synopsis }}

Update-AzCosmosDBAccountRegion

Update Regions of a CosmosDB Account.

Update-AzCosmosDBCassandraKeyspace

Updates the CosmosDB Cassandra Keyspace. Performs a client side patch operation by reading the existing Keyspace.

Update-AzCosmosDBCassandraKeyspaceThroughput

Updates the throughput value of a CosmosDB Cassandra Keyspace.

Update-AzCosmosDBCassandraTable

Updates the CosmosDB Cassandra Table. Performs a client side patch operation by reading the existing Table.

Update-AzCosmosDBCassandraTableThroughput

Updates the throughput value of a CosmosDB Cassandra Table.

Update-AzCosmosDBGremlinDatabase

Updates the CosmosDB Gremlin Database. Performs a client side patch operation by reading the existing Database.

Update-AzCosmosDBGremlinDatabaseThroughput

Updates the throughput value of a CosmosDB Gremlin Database.

Update-AzCosmosDBGremlinGraph

Updates the CosmosDB Gremlin Graph. Performs a client side patch operation by reading the existing Graph.

Update-AzCosmosDBGremlinGraphThroughput

Updates the throughput value of a CosmosDB Gremlin Graph.

Update-AzCosmosDBMongoDBCollection

Updates the CosmosDB MongoDB Collection. Performs a client side patch operation by reading the existing Collection.

Update-AzCosmosDBMongoDBCollectionThroughput

Updates the throughput value of a CosmosDB MongoDB Collection.

Update-AzCosmosDBMongoDBDatabase

Updates the CosmosDB MongoDB Database. Performs a client side patch operation by reading the existing Database.

Update-AzCosmosDBMongoDBDatabaseThroughput

Updates the throughput value of a CosmosDB MongoDB Database.

Update-AzCosmosDBSqlContainer

Updates the CosmosDB Sql Container. Performs a client side patch operation by reading the existing Container.

Update-AzCosmosDBSqlContainerThroughput

Updates the throughput value of a CosmosDB Sql Container.

Update-AzCosmosDBSqlDatabase

Updates the CosmosDB Sql Database. Performs a client side patch operation by reading the existing Database.

Update-AzCosmosDBSqlDatabaseThroughput

Updates the throughput value of a CosmosDB Sql Database.

Update-AzCosmosDBSqlStoredProcedure

Updates the CosmosDB Sql StoredProcedure. Performs a client side patch operation by reading the existing StoredProcedure.

Update-AzCosmosDBSqlTrigger

Updates the CosmosDB Sql Trigger. Performs a client side patch operation by reading the existing Trigger.

Update-AzCosmosDBSqlUserDefinedFunction

Updates the CosmosDB Sql UserDefinedFunction. Performs a client side patch operation by reading the existing UserDefinedFunction.

Update-AzCosmosDBTable

Updates the CosmosDB Table. Performs a client side patch operation by reading the existing Table.

Update-AzCosmosDBTableThroughput

Updates the throughput value of a CosmosDB Table.