Operations - List

Lists all of the available REST API operations.

GET https://management.azure.com/providers/Microsoft.DBForPostgreSql/operations?api-version=2020-02-14-preview

URI Parameters

Name In Required Type Description
api-version
query True
  • string

The API version to use for this operation.

Responses

Name Type Description
200 OK

OK

Other Status Codes

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

OperationList

Sample Request

GET https://management.azure.com/providers/Microsoft.DBForPostgreSql/operations?api-version=2020-02-14-preview

Sample Response

{
  "value": [
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/read",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "PostgreSQL Server",
        "operation": "List/Get PostgreSQL Servers",
        "description": "Return the list of servers or gets the properties for the specified server."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/write",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "PostgreSQL Server",
        "operation": "Create/Update PostgreSQL Server",
        "description": "Creates a server with the specified parameters or update the properties or tags for the specified server."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/delete",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "PostgreSQL Server",
        "operation": "Delete PostgreSQL Server",
        "description": "Deletes an existing server."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Firewall Rules",
        "operation": "List/Get Firewall Rules",
        "description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/write",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Firewall Rules",
        "operation": "Create/Update Firewall Rule",
        "description": "Creates a firewall rule with the specified parameters or update an existing rule."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/delete",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Firewall Rules",
        "operation": "Delete Firewall Rule",
        "description": "Deletes an existing firewall rule."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Database Metric Definition",
        "operation": "Get database metric definitions",
        "description": "Return types of metrics that are available for databases"
      },
      "properties": {
        "serviceSpecification": {
          "metricSpecifications": [
            {
              "name": "cpu_percent",
              "displayName": "CPU percent",
              "displayDescription": "CPU percent",
              "unit": "Percent",
              "aggregationType": "Average",
              "fillGapWithZero": true
            },
            {
              "name": "compute_limit",
              "displayName": "Compute Unit limit",
              "displayDescription": "Compute Unit limit",
              "unit": "Count",
              "aggregationType": "Average"
            },
            {
              "name": "compute_consumption_percent",
              "displayName": "Compute Unit percentage",
              "displayDescription": "Compute Unit percentage",
              "unit": "Percent",
              "aggregationType": "Average",
              "fillGapWithZero": true
            },
            {
              "name": "memory_percent",
              "displayName": "Memory percent",
              "displayDescription": "Memory percent",
              "unit": "Percent",
              "aggregationType": "Average",
              "fillGapWithZero": true
            },
            {
              "name": "io_consumption_percent",
              "displayName": "IO percent",
              "displayDescription": "IO percent",
              "unit": "Percent",
              "aggregationType": "Average",
              "fillGapWithZero": true
            },
            {
              "name": "storage_percent",
              "displayName": "Storage percentage",
              "displayDescription": "Storage percentage",
              "unit": "Percent",
              "aggregationType": "Average"
            },
            {
              "name": "storage_used",
              "displayName": "Storage used",
              "displayDescription": "Storage used",
              "unit": "Bytes",
              "aggregationType": "Average"
            },
            {
              "name": "storage_limit",
              "displayName": "Storage limit",
              "displayDescription": "Storage limit",
              "unit": "Bytes",
              "aggregationType": "Average"
            },
            {
              "name": "active_connections",
              "displayName": "Total active connections",
              "displayDescription": "Total active connections",
              "unit": "Count",
              "aggregationType": "Average",
              "fillGapWithZero": true
            },
            {
              "name": "connections_failed",
              "displayName": "Total failed connections",
              "displayDescription": "Total failed connections",
              "unit": "Count",
              "aggregationType": "Average",
              "fillGapWithZero": true
            }
          ]
        }
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Database Metric Definition",
        "operation": "Read diagnostic setting",
        "description": "Gets the disagnostic setting for the resource"
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Database Metric Definition",
        "operation": "Write diagnostic setting",
        "description": "Creates or updates the diagnostic setting for the resource"
      }
    }
  ]
}

Definitions

CloudError

An error response from the Batch service.

ErrorAdditionalInfo

The resource management error additional info.

ErrorResponse

Error Response

Operation

REST API operation definition.

OperationDisplay

Display metadata associated with the operation.

OperationListResult

A list of resource provider operations.

OperationOrigin

The intended executor of the operation.

CloudError

An error response from the Batch service.

Name Type Description
error

Error Response
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info
  • object

The additional info.

type
  • string

The additional info type.

ErrorResponse

Error Response

Name Type Description
additionalInfo

The error additional info.

code
  • string

The error code.

details

The error details.

message
  • string

The error message.

target
  • string

The error target.

Operation

REST API operation definition.

Name Type Description
display

The localized display information for this particular operation or action.

isDataAction
  • boolean

Indicates whether the operation is a data action

name
  • string

The name of the operation being performed on this particular object.

origin

The intended executor of the operation.

properties
  • object

Additional descriptions for the operation.

OperationDisplay

Display metadata associated with the operation.

Name Type Description
description
  • string

Operation description.

operation
  • string

Localized friendly name for the operation.

provider
  • string

Operation resource provider name.

resource
  • string

Resource on which the operation is performed.

OperationListResult

A list of resource provider operations.

Name Type Description
nextLink
  • string

URL client should use to fetch the next page (per server side paging). It's null for now, added for future use.

value

Collection of available operation details

OperationOrigin

The intended executor of the operation.

Name Type Description
NotSpecified
  • string
system
  • string
user
  • string