Microsoft.DBforPostgreSQL (stable:2022-11-08)

2025/09/12 • 35 new, 35 deleted methods

Clusters_List (new)
Description Lists all clusters in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Create (new)
Description Creates a new cluster with servers.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
parameters:
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Get (new)
Description Gets information about a cluster such as compute and storage configuration and cluster lifecycle metadata such as cluster creation date and time.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Delete (new)
Description Deletes a cluster together with servers in it.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Update (new)
Description Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
parameters:
{
properties:
{
administratorLoginPassword: string ,
postgresqlVersion: string ,
citusVersion: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
preferredPrimaryZone: string ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_ListByCluster (new)
Description Lists servers of a cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/servers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: string ,
haState: string ,
availabilityZone: string ,
postgresqlVersion: string ,
citusVersion: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/servers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
serverName: string ,
}

⚐ Response (200)

{
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: string ,
haState: string ,
availabilityZone: string ,
postgresqlVersion: string ,
citusVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_ListByServer (new)
Description List all the configurations of a server in cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/servers/{serverName}/configurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_ListByCluster (new)
Description List all the configurations of a cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/configurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_Get (new)
Description Gets information of a configuration for coordinator and nodes.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_GetCoordinator (new)
Description Gets information of a configuration for coordinator.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/coordinatorConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_UpdateOnCoordinator (new)
Description Updates configuration of coordinator in a cluster
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/coordinatorConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
parameters:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_GetNode (new)
Description Gets information of a configuration for worker nodes.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/nodeConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_UpdateOnNode (new)
Description Updates configuration of worker nodes in a cluster
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/nodeConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
parameters:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
firewallRuleName: string ,
parameters:
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
firewallRuleName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
firewallRuleName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_ListByCluster (new)
Description Lists all the firewall rules on cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
roleName: string ,
}

⚐ Response (200)

{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Roles_Create (new)
Description Creates a new role or updates an existing role.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
roleName: string ,
parameters:
{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
roleName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Restart (new)
Description Restarts all nodes in the cluster.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/restart
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Start (new)
Description Starts stopped compute on all cluster nodes.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Stop (new)
Description Stops compute on all cluster nodes.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_PromoteReadReplica (new)
Description Promotes read replica cluster to an independent read-write cluster.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/promote
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_CheckNameAvailability (new)
Description Checks availability of a cluster name. Cluster names should be globally unique; at least 3 characters and at most 40 characters long; they must only contain lowercase letters, numbers, and hyphens; and must not start or end with a hyphen.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
nameAvailabilityRequest:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Lists all of the available REST API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListByCluster (new)
Description Gets list of private endpoint connections on a cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
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_Get (new)
Description Gets private endpoint connection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: 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_CreateOrUpdate (new)
Description Approves or Rejects a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
privateEndpointConnectionName: string ,
parameters:
{
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)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
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_Delete (new)
Description Deletes a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_ListByCluster (new)
Description Gets the private link resources for cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateLinkResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_Get (new)
Description Gets a private link resource for cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateLinkResources/{privateLinkResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
privateLinkResourceName: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_List (removed)
Description Lists all clusters in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_ListByResourceGroup (removed)
Description Lists all clusters in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Create (removed)
Description Creates a new cluster with servers.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
parameters:
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Get (removed)
Description Gets information about a cluster such as compute and storage configuration and cluster lifecycle metadata such as cluster creation date and time.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Delete (removed)
Description Deletes a cluster together with servers in it.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Update (removed)
Description Updates an existing cluster. The request body can contain one or several properties from the cluster definition.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
parameters:
{
properties:
{
administratorLoginPassword: string ,
postgresqlVersion: string ,
citusVersion: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
preferredPrimaryZone: string ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
provisioningState: string ,
state: string ,
postgresqlVersion: string ,
citusVersion: string ,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
preferredPrimaryZone: string ,
enableShardsOnCoordinator: boolean ,
enableHa: boolean ,
coordinatorServerEdition: string ,
coordinatorStorageQuotaInMb: integer ,
coordinatorVCores: integer ,
coordinatorEnablePublicIpAccess: boolean ,
nodeServerEdition: string ,
nodeCount: integer ,
nodeStorageQuotaInMb: integer ,
nodeVCores: integer ,
nodeEnablePublicIpAccess: boolean ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
sourceResourceId: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_ListByCluster (removed)
Description Lists servers of a cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/servers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: string ,
haState: string ,
availabilityZone: string ,
postgresqlVersion: string ,
citusVersion: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/servers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
serverName: string ,
}

⚐ Response (200)

{
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: string ,
haState: string ,
availabilityZone: string ,
postgresqlVersion: string ,
citusVersion: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_ListByServer (removed)
Description List all the configurations of a server in cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/servers/{serverName}/configurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_ListByCluster (removed)
Description List all the configurations of a cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/configurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_Get (removed)
Description Gets information of a configuration for coordinator and nodes.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_GetCoordinator (removed)
Description Gets information of a configuration for coordinator.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/coordinatorConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_UpdateOnCoordinator (removed)
Description Updates configuration of coordinator in a cluster
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/coordinatorConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
parameters:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_GetNode (removed)
Description Gets information of a configuration for worker nodes.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/nodeConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_UpdateOnNode (removed)
Description Updates configuration of worker nodes in a cluster
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/nodeConfigurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
configurationName: string ,
parameters:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
requiresRestart: boolean ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
firewallRuleName: string ,
parameters:
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

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

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
firewallRuleName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
firewallRuleName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_ListByCluster (removed)
Description Lists all the firewall rules on cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/firewallRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
roleName: string ,
}

⚐ Response (200)

{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Roles_Create (removed)
Description Creates a new role or updates an existing role.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
roleName: string ,
parameters:
{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
roleName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Roles_ListByCluster (removed)
Description List all the roles in a given cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/roles
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
password: string ,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Restart (removed)
Description Restarts all nodes in the cluster.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/restart
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Start (removed)
Description Starts stopped compute on all cluster nodes.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_Stop (removed)
Description Stops compute on all cluster nodes.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_PromoteReadReplica (removed)
Description Promotes read replica cluster to an independent read-write cluster.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/promote
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Clusters_CheckNameAvailability (removed)
Description Checks availability of a cluster name. Cluster names should be globally unique; at least 3 characters and at most 40 characters long; they must only contain lowercase letters, numbers, and hyphens; and must not start or end with a hyphen.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforPostgreSQL/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
nameAvailabilityRequest:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
name: string ,
type: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Lists all of the available REST API operations.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListByCluster (removed)
Description Gets list of private endpoint connections on a cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
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_Get (removed)
Description Gets private endpoint connection.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: 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_CreateOrUpdate (removed)
Description Approves or Rejects a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
privateEndpointConnectionName: string ,
parameters:
{
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)

{
$headers:
{
location: string ,
azure-async-operation: string ,
}
,
$schema:
{
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_Delete (removed)
Description Deletes a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateEndpointConnections/{privateEndpointConnectionName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
privateEndpointConnectionName: string ,
}

⚐ Response (202)

{
location: string ,
azure-async-operation: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_ListByCluster (removed)
Description Gets the private link resources for cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateLinkResources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_Get (removed)
Description Gets a private link resource for cluster.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}/privateLinkResources/{privateLinkResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
privateLinkResourceName: string ,
}

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}

⚐ Response (default)

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