Microsoft.DBforPostgreSQL (preview:2023-03-02)

2025/08/29 • 27 updated methods

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

⚶ Changes

{
  "#id": "Operations_List",
  "Description": {
    "new": "List the operations for the provider",
    "old": "Lists all of the available REST API operations."
  },
  "$responses": {
    "200": {
      "Description": {
        "new": "A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.",
        "old": "A list of resource provider operations."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "List of operations supported by the resource provider",
            "old": "Collection of available operation details."
          },
          "$items": {
            "Description": {
              "new": "Details of a REST API operation, returned from the Resource Provider Operations API",
              "old": "REST API operation definition."
            },
            "$properties": [
              {
                "#name": "name",
                "Description": {
                  "new": "The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\"",
                  "old": "The name of the operation being performed on this particular object."
                }
              },
              {
                "#name": "isDataAction",
                "Description": {
                  "new": "Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations.",
                  "old": "Indicates whether the operation is a data action."
                }
              },
              {
                "#name": "display",
                "Description": {
                  "new": "Localized display information for this particular operation.",
                  "old": "The localized display information for this particular operation or action."
                },
                "$properties": [
                  {
                    "#name": "provider",
                    "Description": {
                      "new": "The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\".",
                      "old": "Operation resource provider name."
                    }
                  },
                  {
                    "#name": "resource",
                    "Description": {
                      "new": "The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\".",
                      "old": "Resource on which the operation is performed."
                    }
                  },
                  {
                    "#name": "operation",
                    "Description": {
                      "new": "The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\".",
                      "old": "Localized friendly name for the operation."
                    }
                  },
                  {
                    "#name": "description",
                    "Description": {
                      "new": "The short, localized friendly description of the operation; suitable for tool tips and detailed views.",
                      "old": "Operation description."
                    }
                  }
                ]
              },
              {
                "#name": "origin",
                "Description": {
                  "new": "The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\"",
                  "old": "The intended executor of the operation."
                },
                "Enum": {
                  "new": [
                    [
                      "user",
                      ""
                    ],
                    [
                      "system",
                      ""
                    ],
                    [
                      "user,system",
                      ""
                    ]
                  ],
                  "old": [
                    [
                      "NotSpecified",
                      ""
                    ],
                    [
                      "user",
                      ""
                    ],
                    [
                      "system",
                      ""
                    ]
                  ]
                }
              },
              {
                "@added_fe9d8fa890b74ff2afa449daf9467dd8": {
                  "#name": "actionType",
                  "Description": "Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs.",
                  "Enum": [
                    [
                      "Internal",
                      ""
                    ]
                  ],
                  "Required": false,
                  "Type": "string"
                }
              },
              {
                "@removed_b1830a8b0218429588e4d596cbbc47f0": {
                  "#name": "properties",
                  "Description": "Additional descriptions for the operation.",
                  "Required": false,
                  "Type": "object"
                }
              }
            ]
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "URL to get the next set of operation list results (if there are any).",
            "old": "URL client should use to fetch the next page (per server side paging).\r\nIt's null for now, added for future use."
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.DBforPostgreSQL/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 ,
}
,
]
,
}
,
}
Clusters_CheckNameAvailability (updated)
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 ¶

⚶ Changes

{
  "#id": "Clusters_CheckNameAvailability",
  "$parameters": [
    {
      "#name": "nameAvailabilityRequest",
      "Description": {
        "new": "The request body",
        "old": "The required parameters for checking if cluster name is available."
      }
    }
  ]
}

⚼ 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 ,
}
,
]
,
}
,
}
Clusters_List (updated)
Description Lists all clusters in a subscription.
Reference Link ¶

⚶ Changes

{
  "#id": "Clusters_List",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a Cluster list operation.",
        "old": "A list of clusters."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The Cluster items on this page",
            "old": "The list of clusters"
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "The link used to get the next page of cluster list."
          }
        }
      ]
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
aadAuthEnabled: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
dataEncryption:
{
primaryKeyUri: string ,
primaryUserAssignedIdentityId: string ,
type: enum ,
}
,
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 ,
passwordEnabled: enum ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
databaseName: string ,
enableGeoBackup: boolean ,
authConfig:
{
activeDirectoryAuth: enum ,
passwordAuth: enum ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Clusters_ListByResourceGroup",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a Cluster list operation.",
        "old": "A list of clusters."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The Cluster items on this page",
            "old": "The list of clusters"
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "The link used to get the next page of cluster list."
          }
        }
      ]
    }
  }
}

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
aadAuthEnabled: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
dataEncryption:
{
primaryKeyUri: string ,
primaryUserAssignedIdentityId: string ,
type: enum ,
}
,
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 ,
passwordEnabled: enum ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
databaseName: string ,
enableGeoBackup: boolean ,
authConfig:
{
activeDirectoryAuth: enum ,
passwordAuth: enum ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Clusters_Create",
  "$responses": {
    "201": [
      {
        "@added_2bacf576d3164fb7ad268c39c156bae9": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_dc02b6ad6ca0470e9a9241fd70a944ba": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/serverGroupsv2/{clusterName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
clusterName: string ,
parameters:
{
properties:
{
aadAuthEnabled: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
dataEncryption:
{
primaryKeyUri: string ,
primaryUserAssignedIdentityId: string ,
type: enum ,
}
,
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 ,
passwordEnabled: enum ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
databaseName: string ,
enableGeoBackup: boolean ,
authConfig:
{
activeDirectoryAuth: enum ,
passwordAuth: enum ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
aadAuthEnabled: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
dataEncryption:
{
primaryKeyUri: string ,
primaryUserAssignedIdentityId: string ,
type: enum ,
}
,
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 ,
passwordEnabled: enum ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
databaseName: string ,
enableGeoBackup: boolean ,
authConfig:
{
activeDirectoryAuth: enum ,
passwordAuth: enum ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
location: string ,
}
,
$schema:
{
properties:
{
aadAuthEnabled: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
dataEncryption:
{
primaryKeyUri: string ,
primaryUserAssignedIdentityId: string ,
type: enum ,
}
,
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 ,
passwordEnabled: enum ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
databaseName: string ,
enableGeoBackup: boolean ,
authConfig:
{
activeDirectoryAuth: enum ,
passwordAuth: enum ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Clusters_Update",
  "$parameters": {
    "parameters": {
      "$properties": {
        "properties": [
          {
            "#name": "administratorLoginPassword",
            "Description": {
              "new": "The password of the administrator login. Each cluster is created with pre-defined administrative role called \u2018citus\u2019.",
              "old": "The password of the administrator login. Each cluster is created with pre-defined administrative role called \u2018citus\u2019.\u202f"
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "202": [
      {
        "@added_7ea034e926764073ae9c607dce4b9fa2": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_1d13d0094238463d95af592febb56cb1": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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 ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
aadAuthEnabled: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
dataEncryption:
{
primaryKeyUri: string ,
primaryUserAssignedIdentityId: string ,
type: enum ,
}
,
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 ,
passwordEnabled: enum ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
databaseName: string ,
enableGeoBackup: boolean ,
authConfig:
{
activeDirectoryAuth: enum ,
passwordAuth: enum ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{
$headers:
{
azure-asyncoperation: string ,
location: string ,
}
,
$schema:
{
properties:
{
aadAuthEnabled: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
dataEncryption:
{
primaryKeyUri: string ,
primaryUserAssignedIdentityId: string ,
type: enum ,
}
,
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 ,
passwordEnabled: enum ,
pointInTimeUTC: string ,
readReplicas:
[
string ,
]
,
earliestRestoreTime: string ,
privateEndpointConnections:
[
{
properties:
{
privateEndpoint:
{
id: string ,
}
,
groupIds:
[
string ,
]
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
}
,
}
,
]
,
databaseName: string ,
enableGeoBackup: boolean ,
authConfig:
{
activeDirectoryAuth: enum ,
passwordAuth: enum ,
}
,
}
,
identity:
{
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Clusters_Delete",
  "$responses": {
    "202": [
      {
        "@added_501670000eba4e7a82364c24940983ab": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_700709f9e663406781560106bdf455aa": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Configurations_ListByCluster",
  "$responses": {
    "200": {
      "Description": {
        "new": "Pagination result of configurations.",
        "old": "A list of cluster configurations."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The list of configurations.",
            "old": "The list of cluster configurations."
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of results.",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ 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_UpdateOnCoordinator (updated)
Description Updates configuration of coordinator in a cluster
Reference Link ¶

⚶ Changes

{
  "#id": "Configurations_UpdateOnCoordinator",
  "$responses": {
    "201": [
      {
        "@added_f0b96a657f2c44758d0cc0a537dd6ef6": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_1b94c61b55be40e8aacfd659a7799d82": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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:
{
azure-asyncoperation: string ,
location: 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_ListByCluster (updated)
Description Lists all the firewall rules on cluster.
Reference Link ¶

⚶ Changes

{
  "#id": "FirewallRules_ListByCluster",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a FirewallRule list operation.",
        "old": "A list of firewall rules."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The FirewallRule items on this page",
            "old": "The list of firewall rules in a cluster."
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "@added_607c7ef02c0f4e82ae2793a39eefbf2e": {
            "#name": "nextLink",
            "Description": "The link to the next page of items",
            "Format": "uri",
            "Required": false,
            "Type": "string"
          }
        }
      ]
    }
  }
}

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

⚐ Response (default)

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

⚶ Changes

{
  "#id": "FirewallRules_CreateOrUpdate",
  "$responses": {
    "201": [
      {
        "@added_2de5360cec6c4a0d8e3771614f68cedd": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_8d9a9afb81344889ba038be0b4330a10": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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:
{
azure-asyncoperation: string ,
location: 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 (updated)
Description Deletes a cluster firewall rule.
Reference Link ¶

⚶ Changes

{
  "#id": "FirewallRules_Delete",
  "$responses": {
    "202": [
      {
        "@added_a00ccd3516154d95b5bcc6cf3ed059d6": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_af0fbfcdf7d34643b88669c833239007": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Configurations_UpdateOnNode",
  "$responses": {
    "201": [
      {
        "@added_4453202d6737427ebadadc8cc7a6dfa2": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_2798b94d3078487b8e907e3d7c38c10c": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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:
{
azure-asyncoperation: string ,
location: 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 ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListByCluster (updated)
Description Gets list of private endpoint connections on a cluster.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_ListByCluster",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a PrivateEndpointConnection list operation.",
        "old": "List of private endpoint connections associated with the specified resource."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The PrivateEndpointConnection items on this page",
            "old": "Array of private endpoint connections."
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "@added_21851f6e442447ba8be734cf76008181": {
            "#name": "nextLink",
            "Description": "The link to the next page of items",
            "Format": "uri",
            "Required": false,
            "Type": "string"
          }
        }
      ]
    }
  }
}

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Get (updated)
Description Gets private endpoint connection.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_Get",
  "$parameters": [
    {
      "#name": "privateEndpointConnectionName",
      "Description": {
        "new": "The name of the private endpoint connection associated with the Azure resource.",
        "old": "The name of the private endpoint connection associated with the cluster."
      }
    }
  ]
}

⚼ 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 (updated)
Description Approves or Rejects a private endpoint connection with a given name.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_CreateOrUpdate",
  "$parameters": [
    {
      "#name": "privateEndpointConnectionName",
      "Description": {
        "new": "The name of the private endpoint connection associated with the Azure resource.",
        "old": "The name of the private endpoint connection associated with the cluster."
      }
    },
    {
      "#name": "parameters",
      "Description": {
        "new": "Resource create parameters.",
        "old": "The required parameters for approving a private endpoint connection."
      }
    }
  ],
  "$responses": {
    "201": [
      {
        "@added_8853d20d5bec49fb93c00375f8234a4b": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_33e5b709c73a43c2832cfcec2bf6d573": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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:
{
azure-asyncoperation: string ,
location: 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 (updated)
Description Deletes a private endpoint connection with a given name.
Reference Link ¶

⚶ Changes

{
  "#id": "PrivateEndpointConnections_Delete",
  "$parameters": [
    {
      "#name": "privateEndpointConnectionName",
      "Description": {
        "new": "The name of the private endpoint connection associated with the Azure resource.",
        "old": "The name of the private endpoint connection associated with the cluster."
      }
    }
  ],
  "$responses": {
    "202": [
      {
        "@added_5de8db44e0224f81b5da7cb10465c749": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_1be223c316454c8280f6b8ecff98258d": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "PrivateLinkResources_ListByCluster",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a PrivateLinkResource list operation.",
        "old": "A list of private link resources."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The PrivateLinkResource items on this page",
            "old": "Array of private link resources"
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "@added_c47243dbef214c01879575aa6f28bba0": {
            "#name": "nextLink",
            "Description": "The link to the next page of items",
            "Format": "uri",
            "Required": false,
            "Type": "string"
          }
        }
      ]
    }
  }
}

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

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Clusters_PromoteReadReplica",
  "$responses": {
    "202": [
      {
        "@added_f1ca8fb0151d4266a9af4a6657ed6d38": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_ee3ea7c6a3054dddb0521c4c78e4e24b": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ Request

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

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Clusters_Restart",
  "$responses": {
    "202": [
      {
        "@added_06ee3912326b418687fc8355763c9586": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_b5fa86234b6e4bc8b70600befc24cdce": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ Request

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

⚐ Response (202)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Roles_ListByCluster",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a Role list operation.",
        "old": "A list of roles."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The Role items on this page",
            "old": "The list of roles in a cluster."
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "@added_f99ca420f746438194673bce40bb43b7": {
            "#name": "nextLink",
            "Description": "The link to the next page of items",
            "Format": "uri",
            "Required": false,
            "Type": "string"
          }
        }
      ]
    }
  }
}

⚼ 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:
{
roleType: enum ,
password: string ,
externalIdentity:
{
objectId: string ,
principalType: enum ,
tenantId: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Roles_Create",
  "$responses": {
    "201": [
      {
        "@added_b2096a21a63d44dcb3f4c54ee4c660f4": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_75046c7aa3eb4819919d281497791b2c": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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:
{
roleType: enum ,
password: string ,
externalIdentity:
{
objectId: string ,
principalType: enum ,
tenantId: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
roleType: enum ,
password: string ,
externalIdentity:
{
objectId: string ,
principalType: enum ,
tenantId: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
location: string ,
}
,
$schema:
{
properties:
{
roleType: enum ,
password: string ,
externalIdentity:
{
objectId: string ,
principalType: enum ,
tenantId: string ,
}
,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Roles_Delete",
  "$responses": {
    "202": [
      {
        "@added_0570a9a04eab4907a4bfa3de71b3d3b9": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_add8fd47db0a418c9e57801d5778e832": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Servers_ListByCluster",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a ClusterServer list operation.",
        "old": "A list of servers in a cluster."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The ClusterServer items on this page",
            "old": "The list of servers in a cluster."
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "@added_e9cffe45920942fbb2cb7e1c08272e1b": {
            "#name": "nextLink",
            "Description": "The link to the next page of items",
            "Format": "uri",
            "Required": false,
            "Type": "string"
          }
        }
      ]
    }
  }
}

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

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Configurations_ListByServer",
  "$responses": {
    "200": {
      "Description": {
        "new": "The response of a ServerConfiguration list operation.",
        "old": "A list of server configurations."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The ServerConfiguration items on this page",
            "old": "The list of server configurations."
          },
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "#name": "nextLink",
          "Description": {
            "new": "The link to the next page of items",
            "old": "Link to retrieve next page of results."
          }
        }
      ]
    }
  }
}

⚼ 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 ,
}
,
]
,
}
,
}
Clusters_Start (updated)
Description Starts stopped compute on all cluster nodes.
Reference Link ¶

⚶ Changes

{
  "#id": "Clusters_Start",
  "$responses": {
    "202": [
      {
        "@added_7f36aeb255e849c99abba8db42c8c193": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_6b3921138b0f4bd69f1ea1e642072a85": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (default)

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

⚶ Changes

{
  "#id": "Clusters_Stop",
  "$responses": {
    "202": [
      {
        "@added_650ba94bc25e42a6ad8f39f3a7773d5b": {
          "#name": "azure-asyncoperation",
          "Description": "A link to the status monitor",
          "Type": "string"
        }
      },
      {
        "@removed_844d3a9b541c4eaaab227dd4c23b3d9e": {
          "#name": "azure-async-operation",
          "Type": "string"
        }
      }
    ]
  }
}

⚼ 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)

{
azure-asyncoperation: string ,
location: string ,
}

⚐ Response (default)

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