Edit

Az.DocumentDB Module

Microsoft Azure PowerShell: DocumentDB cmdlets

DocumentDB

Cmdlet Description
Get-AzDocumentDBFirewallRule

Gets information about a mongo cluster firewall rule.

Get-AzDocumentDBMongoCluster

Gets information about a mongo cluster.

Get-AzDocumentDBMongoClusterConnectionString

List mongo cluster connection strings. This includes the default connection string using SCRAM-SHA-256, as well as other connection strings supported by the cluster.

Get-AzDocumentDBReplica

List all the replicas for the mongo cluster.

Get-AzDocumentDBUser

Gets the definition of a Mongo cluster user.

New-AzDocumentDBFirewallRule

Create a new firewall rule or create an existing firewall rule on a mongo cluster.

New-AzDocumentDBMongoCluster

Create a mongo cluster. create overwrites all properties for the resource. To only modify some of the properties, use PATCH.

New-AzDocumentDBReplica

Create a read replica of an existing mongo cluster.

New-AzDocumentDBUser

Create a Microsoft Entra ID user on a mongo cluster.

Remove-AzDocumentDBFirewallRule

Deletes a mongo cluster firewall rule.

Remove-AzDocumentDBMongoCluster

Deletes a mongo cluster.

Remove-AzDocumentDBUser

Deletes a mongo cluster user.

Reset-AzDocumentDBMongoClusterPassword

Reset the administrator password of a mongo cluster.

Restore-AzDocumentDBMongoCluster

Restore a mongo cluster to a new cluster from a point in time.

Switch-AzDocumentDBMongoCluster

Promote a replica mongo cluster to a primary role.

Test-AzDocumentDBMongoClusterNameAvailability

Check if mongo cluster name is available for use.

Update-AzDocumentDBFirewallRule

Update a new firewall rule or update an existing firewall rule on a mongo cluster.

Update-AzDocumentDBMongoCluster

Update a mongo cluster. update overwrites all properties for the resource. To only modify some of the properties, use PATCH.