Microsoft.DocumentDB (preview:2024-10-01)

2024/12/04 • 20 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DocumentDB/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_CheckNameAvailability (new)
Description Check if mongo cluster name is available for use.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/checkMongoClusterNameAvailability
{
api-version: string ,
subscriptionId: string ,
location: string ,
body:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_List (new)
Description List all the mongo clusters in a given subscription.
Reference Link ¶

⚼ 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 ,
}
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_ListByResourceGroup (new)
Description List all the mongo clusters in a given resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: 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 ,
}
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_Get (new)
Description Gets information about a mongo cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
}

⚐ Response (200)

{
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 ,
}
,
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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_CreateOrUpdate (new)
Description Create or update a mongo cluster. Update overwrites all properties for the resource. To only modify some of the properties, use PATCH.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
resource:
{
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 ,
}
,
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 ,
}
,
}
,
}

⚐ Response (200)

{
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 ,
}
,
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 ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
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 ,
}
,
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 ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_Update (new)
Description Updates an existing mongo cluster. The request body can contain one to many of the properties present in the normal mongo cluster definition.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
properties:
{
tags: object ,
properties:
{
administrator:
{
userName: string ,
password: string ,
}
,
serverVersion: string ,
publicNetworkAccess: enum ,
highAvailability:
{
targetMode: enum ,
}
,
storage:
{
sizeGb: integer ,
}
,
sharding:
{
shardCount: integer ,
}
,
compute:
{
tier: string ,
}
,
backup:
{
earliestRestoreTime: string ,
}
,
dataApi:
{
mode: enum ,
}
,
previewFeatures:
[
string ,
]
,
}
,
}
,
}

⚐ Response (200)

{
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 ,
}
,
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 ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_Delete (new)
Description Deletes a mongo cluster.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_ListByMongoCluster (new)
Description List all the firewall rules in a given mongo cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
startIpAddress: string ,
endIpAddress: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_Get (new)
Description Gets information about a mongo cluster firewall rule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
firewallRuleName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_CreateOrUpdate (new)
Description Creates a new firewall rule or updates an existing firewall rule on a mongo cluster.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
firewallRuleName: string ,
resource:
{
properties:
{
provisioningState: enum ,
startIpAddress: string ,
endIpAddress: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (201)

{
properties:
{
provisioningState: enum ,
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_Delete (new)
Description Deletes a mongo cluster firewall rule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
firewallRuleName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_ListConnectionStrings (new)
Description 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.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/listConnectionStrings
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
}

⚐ Response (200)

{
connectionStrings:
[
{
connectionString: string ,
description: string ,
name: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListByMongoCluster (new)
Description List existing private connections
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Get (new)
Description Get a specific private connection
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (200)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Create (new)
Description Create a Private endpoint connection
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
privateEndpointConnectionName: string ,
resource:
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Delete (new)
Description Delete the private endpoint connection
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MongoClusters_Promote (new)
Description Promotes a replica mongo cluster to a primary role.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/promote
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: string ,
body:
{
promoteOption: enum ,
mode: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Replicas_ListByParent (new)
Description List all the replicas for the mongo cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/mongoClusters/{mongoClusterName}/replicas
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
mongoClusterName: 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 ,
}
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}