Microsoft Azure Hyperscale Citus Management Client

The Microsoft Azure Hyperscale Citus Management Client is a tool designed to help users efficiently manage their distributed databases in the cloud. This client provides a user-friendly interface for monitoring and controlling various aspects of the databases, such as scaling, performance tuning, and backup management. With the Citus Management Client, users can easily add or remove nodes, allocate resources, and troubleshoot any issues that may arise.

OpenAPI Specification

hyperscalecitusmanagementclient-openapi-original.yml Raw ↑
swagger: '2.0'
info:
  title: Microsoft Azure HyperscaleCitusManagementClient
  description: >-
    The Microsoft Azure management API provides create, read, update, and delete
    functionality for Azure PostgreSQL Hyperscale (Citus) resources including
    server groups, servers, databases, firewall rules, VNET rules, security
    alert policies, log files and configurations.
  version: 2020-10-05-privatepreview
host: management.azure.com
schemes:
  - https
consumes:
  - application/json
produces:
  - application/json
security:
  - azure_auth:
      - user_impersonation
securityDefinitions:
  azure_auth:
    type: oauth2
    authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
    flow: implicit
    description: Azure Active Directory OAuth2 Flow
    scopes:
      user_impersonation: impersonate your user account
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.DBForPostgreSql/serverGroupsv2:
    get:
      tags:
        - ServerGroups
      operationId: microsoftAzureServergroupsList
      x-ms-examples:
        List all the server groups:
          $ref: ./examples/ServerGroupList.json
      description: List all the server groups in a given subscription.
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroupListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Dbforpostgresql Servergroupsv2
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2:
    get:
      tags:
        - ServerGroups
      operationId: microsoftAzureServergroupsListbyresourcegroup
      x-ms-examples:
        List the server groups by resource group:
          $ref: ./examples/ServerGroupListByResourceGroup.json
      description: List all the server groups in a given resource group.
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroupListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}
  : put:
      description: Creates a new server group with servers.
      tags:
        - ServerGroups
      operationId: microsoftAzureServergroupsCreateorupdate
      x-ms-long-running-operation: true
      x-ms-examples:
        Create a new server group:
          $ref: ./examples/ServerGroupCreate.json
        Create a new server group as a point in time restore:
          $ref: ./examples/ServerGroupCreatePITR.json
        Create a new server group as a read replica:
          $ref: ./examples/ServerGroupCreateReadReplica.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/ServerGroup'
          description: The required parameters for creating or updating a server group.
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroup'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/ServerGroup'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname
    get:
      description: Gets information about a server group.
      tags:
        - ServerGroups
      operationId: microsoftAzureServergroupsGet
      x-ms-examples:
        Get the server group:
          $ref: ./examples/ServerGroupGet.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroup'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname
    delete:
      description: Deletes a server group together with servers in it.
      tags:
        - ServerGroups
      operationId: microsoftAzureServergroupsDelete
      x-ms-long-running-operation: true
      x-ms-examples:
        Delete the server group:
          $ref: ./examples/ServerGroupDelete.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname
    patch:
      description: >-
        Updates an existing server group. The request body can contain one to
        many of the properties present in the normal server group definition.
      tags:
        - ServerGroups
      operationId: microsoftAzureServergroupsUpdate
      x-ms-long-running-operation: true
      x-ms-examples:
        Update the server group:
          $ref: ./examples/ServerGroupUpdate.json
        Scale compute:
          $ref: ./examples/ServerGroupScaleCompute.json
        Scale storage:
          $ref: ./examples/ServerGroupScaleStorage.json
        Add new worker nodes:
          $ref: ./examples/ServerGroupAddNode.json
        Update customer maintenance window:
          $ref: ./examples/ServerGroupUpdateMaintenanceWindow.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/ServerGroupForUpdate'
          description: The parameters for updating a server group.
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroup'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/servers
  : get:
      description: Lists servers of a server group.
      tags:
        - Servers
      operationId: microsoftAzureServersListbyservergroup
      x-ms-examples:
        List servers of the server group:
          $ref: ./examples/ServerListByServerGroup.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroupServerListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName:
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Servers
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/servers/{serverName}
  : get:
      description: Gets information about a server in server group.
      tags:
        - Servers
      operationId: microsoftAzureServersGet
      x-ms-examples:
        Get the server of server group:
          $ref: ./examples/ServerGet.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/ServerNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroupServer'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Servers Servername
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/servers/{serverName}/configurations
  : get:
      description: List all the configurations of a server in server group.
      tags:
        - Configurations
      operationId: microsoftAzureConfigurationsListbyserver
      x-ms-examples:
        List configurations of the server that in the server group:
          $ref: ./examples/ConfigurationListByServer.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/ServerNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerConfigurationListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Servers Servername Configurations
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/configurations
  : get:
      description: List all the configurations of a server group.
      tags:
        - Configurations
      operationId: microsoftAzureConfigurationsListbyservergroup
      x-ms-examples:
        List configurations of the server group:
          $ref: ./examples/ConfigurationListByServerGroup.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroupConfigurationListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Configurations
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/configurations/{configurationName}
  : patch:
      description: Updates configuration of server role groups in a server group
      tags:
        - Configurations
      operationId: microsoftAzureConfigurationsUpdate
      x-ms-long-running-operation: true
      x-ms-examples:
        Update single configuration of the server group:
          $ref: ./examples/ConfigurationUpdate.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/ConfigurationNameParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/ServerGroupConfiguration'
          description: The required parameters for updating a server group configuration.
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroupConfiguration'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Configurations Configurationname
    get:
      description: Gets information about single server group configuration.
      tags:
        - Configurations
      operationId: microsoftAzureConfigurationsGet
      x-ms-examples:
        Get single configuration of the server group:
          $ref: ./examples/ConfigurationGet.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/ConfigurationNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/ServerGroupConfiguration'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Configurations Configurationname
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/firewallRules/{firewallRuleName}
  : put:
      description: Creates a new firewall rule or updates an existing firewall rule.
      tags:
        - FirewallRules
      operationId: microsoftAzureFirewallrulesCreateorupdate
      x-ms-long-running-operation: true
      x-ms-examples:
        Create a firewall rule of the server group:
          $ref: ./examples/FirewallRuleCreate.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/FirewallRuleNameParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/FirewallRule'
          description: The required parameters for creating or updating a firewall rule.
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/FirewallRule'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/FirewallRule'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Firewallrules Firewallrulename
    delete:
      description: Deletes a server group firewall rule.
      tags:
        - FirewallRules
      operationId: microsoftAzureFirewallrulesDelete
      x-ms-long-running-operation: true
      x-ms-examples:
        Delete the firewall rule of the server group:
          $ref: ./examples/FirewallRuleDelete.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/FirewallRuleNameParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Firewallrules Firewallrulename
    get:
      description: Gets information about a server group firewall rule.
      tags:
        - FirewallRules
      operationId: microsoftAzureFirewallrulesGet
      x-ms-examples:
        Get the firewall rule of the server group:
          $ref: ./examples/FirewallRuleGet.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/FirewallRuleNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/FirewallRule'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Firewallrules Firewallrulename
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/firewallRules
  : get:
      description: List all the firewall rules in a given server group.
      tags:
        - FirewallRules
      operationId: microsoftAzureFirewallrulesListbyservergroup
      x-ms-examples:
        List firewall rules of the server group:
          $ref: ./examples/FirewallRuleListByServerGroup.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/FirewallRuleListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName:
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Firewallrules
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/roles/{roleName}
  : put:
      tags:
        - Roles
      operationId: microsoftAzureRolesCreate
      x-ms-long-running-operation: true
      x-ms-examples:
        RoleCreate:
          $ref: ./examples/RoleCreate.json
      description: Creates a new role or updates an existing role.
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/RoleNameParameter'
        - name: parameters
          in: body
          required: true
          schema:
            $ref: '#/definitions/Role'
          description: The required parameters for creating or updating a role.
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/Role'
        '201':
          description: Created
          schema:
            $ref: '#/definitions/Role'
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Roles Rolename
    delete:
      tags:
        - Roles
      operationId: microsoftAzureRolesDelete
      x-ms-long-running-operation: true
      x-ms-examples:
        RoleDelete:
          $ref: ./examples/RoleDelete.json
      description: Deletes a server group role.
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
        - $ref: '#/parameters/RoleNameParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '204':
          description: NoContent
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Roles Rolename
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/roles
  : get:
      tags:
        - Roles
      operationId: microsoftAzureRolesListbyservergroup
      x-ms-examples:
        RoleList:
          $ref: ./examples/RoleListByServerGroup.json
      description: List all the roles in a given server group.
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/RoleListResult'
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      x-ms-pageable:
        nextLinkName:
      summary: >-
        Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Roles
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/restart
  : post:
      description: Restarts the server group.
      tags:
        - ServerGroupOperations
      operationId: microsoftAzureServergroupsRestart
      x-ms-long-running-operation: true
      x-ms-examples:
        Restart all servers in the server group:
          $ref: ./examples/ServerGroupRestart.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Restart
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/start
  : post:
      description: Starts the server group.
      tags:
        - ServerGroupOperations
      operationId: microsoftAzureServergroupsStart
      x-ms-long-running-operation: true
      x-ms-examples:
        Start all servers in the server group:
          $ref: ./examples/ServerGroupStart.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: Error response describing why the operation failed.
          schema:
            $ref: '#/definitions/CloudError'
      summary: >-
        Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Dbforpostgresql Servergroupsv2 Servergroupname Start
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBForPostgreSql/serverGroupsv2/{serverGroupName}/stop
  : post:
      description: Stops the server group.
      tags:
        - ServerGroupOperations
      operationId: microsoftAzureServergroupsStop
      x-ms-long-running-operation: true
      x-ms-examples:
        Stop all servers in the server group:
          $ref: ./examples/ServerGroupStop.json
      parameters:
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter
        - $ref: >-
            ../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter
        - $ref: '#/parameters/ServerGroupNameParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        default:
          description: Er

# --- truncated at 32 KB (60 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-azure/refs/heads/main/openapi/hyperscalecitusmanagementclient-openapi-original.yml