Description | : List all the mongo clusters in a given subscription. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "MongoClusters_List", "$responses": { "200": { "$properties": { "value": { "$properties": { "properties": [ { "authConfig": [ { "allowedModes": { "Enum": { "new": [ [ "NativeAuth", "Native mongo authentication mode using username and password with auth mechanism 'SCRAM-SHA-256'." ], [ "MicrosoftEntraID", "Microsoft Entra ID authentication mode using Entra users assigned to the cluster and auth mechanism 'MONGODB-OIDC'." ] ], "old": [ [ "NativeAuth", "Native mongo authentication mode using username and password with auth mechanism 'SCRAM-SHA-256'." ], [ "MicrosoftEntraID", "Microsot Entra ID authentication mode using Entra users assigned to the cluster and auth mechanism 'MONGODB-OIDC'." ] ] } } } ] } ] } } } } } }
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/mongoClusters
{
api-version:
string
,
subscriptionId:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
properties:
}
{
,
createMode:
enum
,
restoreParameters:
{
,
pointInTimeUTC:
string
,
sourceResourceId:
string
,
}
replicaParameters:
{
,
sourceResourceId:
string
,
sourceLocation:
string
,
}
administrator:
{
,
userName:
string
,
password:
string
,
}
serverVersion:
string
,
connectionString:
string
,
provisioningState:
enum
,
clusterStatus:
enum
,
publicNetworkAccess:
enum
,
highAvailability:
{
,
targetMode:
enum
,
}
storage:
{
,
sizeGb:
integer
,
type:
enum
,
iops:
integer
,
throughput:
integer
,
}
sharding:
{
,
shardCount:
integer
,
}
compute:
{
,
tier:
string
,
}
backup:
{
,
earliestRestoreTime:
string
,
}
dataApi:
{
,
mode:
enum
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
}
{
,
groupIds:
[
,
string
,
]
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
provisioningState:
enum
,
}
previewFeatures:
[
,
string
,
]
replica:
{
,
sourceResourceId:
string
,
role:
enum
,
replicationState:
enum
,
}
infrastructureVersion:
string
,
authConfig:
}
{
,
allowedModes:
}
[
,
string
,
]
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}