Microsoft.DBForPostgreSql (preview:2020-10-05-privatepreview)

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

ServerGroups_List (new)
Description List all the server groups in a given subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_ListByResourceGroup (new)
Description List all the server groups in a given resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_CreateOrUpdate (new)
Description Creates a new server group with servers.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Get (new)
Description Gets information about a server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Delete (new)
Description Deletes a server group together with servers in it.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Update (new)
Description Updates an existing server group. The request body can contain one to many of the properties present in the normal server group definition.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
parameters:
{
location: string ,
properties:
{
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableShardsOnCoordinator: boolean ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Servers_ListByServerGroup (new)
Description Lists servers of a server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: enum ,
haState: enum ,
administratorLogin: string ,
postgresqlVersion: enum ,
citusVersion: enum ,
availabilityZone: string ,
standbyAvailabilityZone: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: enum ,
haState: enum ,
administratorLogin: string ,
postgresqlVersion: enum ,
citusVersion: enum ,
availabilityZone: string ,
standbyAvailabilityZone: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Configurations_ListByServerGroup (new)
Description List all the configurations of a server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Configurations_Update (new)
Description Updates configuration of server role groups in a server group
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
configurationName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Configurations_Get (new)
Description Gets information about single server group configuration.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
firewallRuleName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FirewallRules_Delete (new)
Description Deletes a server group firewall rule.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FirewallRules_Get (new)
Description Gets information about a server group firewall rule.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FirewallRules_ListByServerGroup (new)
Description List all the firewall rules in a given server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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/{serverGroupName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
roleName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Roles_Delete (new)
Description Deletes a server group role.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Roles_ListByServerGroup (new)
Description List all the roles in a given server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Restart (new)
Description Restarts the server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Start (new)
Description Starts the server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Stop (new)
Description Stops the server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_CheckNameAvailability (new)
Description Check the availability of name for resource
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}
ServerGroups_List (removed)
Description List all the server groups in a given subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_ListByResourceGroup (removed)
Description List all the server groups in a given resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_CreateOrUpdate (removed)
Description Creates a new server group with servers.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Get (removed)
Description Gets information about a server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Delete (removed)
Description Deletes a server group together with servers in it.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Update (removed)
Description Updates an existing server group. The request body can contain one to many of the properties present in the normal server group definition.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
parameters:
{
location: string ,
properties:
{
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableShardsOnCoordinator: boolean ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
createMode: enum ,
administratorLogin: string ,
administratorLoginPassword: string ,
backupRetentionDays: integer ,
postgresqlVersion: enum ,
citusVersion: enum ,
enableMx: boolean ,
enableZfs: boolean ,
enableShardsOnCoordinator: boolean ,
state: enum ,
earliestRestoreTime: string ,
resourceProviderType: enum ,
serverRoleGroups:
[
{
name: string ,
role: enum ,
serverCount: integer ,
serverNames:
[
{
name: string ,
fullyQualifiedDomainName: string ,
}
,
]
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
availabilityZone: string ,
standbyAvailabilityZone: string ,
delegatedSubnetArguments:
{
subnetArmResourceId: string ,
}
,
privateDnsZoneArguments:
{
privateDnsZoneArmResourceId: string ,
}
,
readReplicas:
[
string ,
]
,
sourceServerGroup: string ,
sourceSubscriptionId: string ,
sourceResourceGroupName: string ,
sourceServerGroupName: string ,
sourceLocation: string ,
pointInTimeUTC: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Servers_ListByServerGroup (removed)
Description Lists servers of a server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: enum ,
haState: enum ,
administratorLogin: string ,
postgresqlVersion: enum ,
citusVersion: enum ,
availabilityZone: string ,
standbyAvailabilityZone: string ,
}
,
}
,
]
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
fullyQualifiedDomainName: string ,
role: enum ,
state: enum ,
haState: enum ,
administratorLogin: string ,
postgresqlVersion: enum ,
citusVersion: enum ,
availabilityZone: string ,
standbyAvailabilityZone: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
value: string ,
source: string ,
description: string ,
defaultValue: string ,
dataType: enum ,
allowedValues: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Configurations_ListByServerGroup (removed)
Description List all the configurations of a server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Configurations_Update (removed)
Description Updates configuration of server role groups in a server group
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
configurationName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Configurations_Get (removed)
Description Gets information about single server group configuration.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
description: string ,
dataType: enum ,
allowedValues: string ,
serverRoleGroupConfigurations:
[
{
role: enum ,
value: string ,
defaultValue: string ,
source: string ,
}
,
]
,
}
,
}

⚐ Response (default)

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

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
firewallRuleName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FirewallRules_Delete (removed)
Description Deletes a server group firewall rule.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FirewallRules_Get (removed)
Description Gets information about a server group firewall rule.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
FirewallRules_ListByServerGroup (removed)
Description List all the firewall rules in a given server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
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/{serverGroupName}/roles/{roleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverGroupName: string ,
roleName: string ,
parameters:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Roles_Delete (removed)
Description Deletes a server group role.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
Roles_ListByServerGroup (removed)
Description List all the roles in a given server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
password: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Restart (removed)
Description Restarts the server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Start (removed)
Description Starts the server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_Stop (removed)
Description Stops the server group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
}
,
}
ServerGroups_CheckNameAvailability (removed)
Description Check the availability of name for resource
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 ,
]
,
}
,
}
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 ,
]
,
}
,
}