Sdílet prostřednictvím


Operations - List

Seznamy všechny dostupné operace rozhraní REST API.

GET https://management.azure.com/providers/Microsoft.DBforPostgreSQL/operations?api-version=2022-12-01

Parametry identifikátoru URI

Name V Vyžadováno Typ Description
api-version
query True

string

Verze rozhraní API, která se má použít pro tuto operaci.

Odpovědi

Name Typ Description
200 OK

OperationListResult

OK

Other Status Codes

ErrorResponse

Chybová odpověď popisující, proč operace selhala.

Zabezpečení

azure_auth

Tok Azure Active Directory OAuth2

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

Scopes

Name Description
user_impersonation zosobnění uživatelského účtu

Příklady

OperationList

Sample Request

GET https://management.azure.com/providers/Microsoft.DBforPostgreSQL/operations?api-version=2022-12-01

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"
      }
    }
  ]
}

Definice

Name Description
ErrorAdditionalInfo

Další informace o chybě správy prostředků

ErrorDetail

Podrobnosti o chybě

ErrorResponse

Chybová odpověď

Operation

Definice operace rozhraní REST API

OperationDisplay

Zobrazí metadata přidružená k operaci.

OperationListResult

Seznam operací poskytovatele prostředků.

OperationOrigin

Zamýšlený exekutor operace.

ErrorAdditionalInfo

Další informace o chybě správy prostředků

Name Typ Description
info

object

Další informace.

type

string

Typ další informace.

ErrorDetail

Podrobnosti o chybě

Name Typ Description
additionalInfo

ErrorAdditionalInfo[]

Další informace o chybě.

code

string

Kód chyby

details

ErrorDetail[]

Podrobnosti o chybě.

message

string

Chybová zpráva

target

string

Cíl chyby.

ErrorResponse

Chybová odpověď

Name Typ Description
error

ErrorDetail

Objekt chyby.

Operation

Definice operace rozhraní REST API

Name Typ Description
display

OperationDisplay

Lokalizované informace o zobrazení pro tuto konkrétní operaci nebo akci.

isDataAction

boolean

Určuje, jestli je operace datovou akcí.

name

string

Název operace prováděné s tímto konkrétním objektem.

origin

OperationOrigin

Zamýšlený exekutor operace.

properties

object

Další popisy operace

OperationDisplay

Zobrazí metadata přidružená k operaci.

Name Typ Description
description

string

Popis operace.

operation

string

Lokalizovaný popisný název operace

provider

string

Název poskytovatele prostředků operace.

resource

string

Prostředek, na kterém se operace provádí.

OperationListResult

Seznam operací poskytovatele prostředků.

Name Typ Description
nextLink

string

Klient adresy URL by měl použít k načtení další stránky (stránkování na straně serveru). Prozatím má hodnotu null a je přidaná pro budoucí použití.

value

Operation[]

Shromažďování dostupných podrobností o operaci

OperationOrigin

Zamýšlený exekutor operace.

Name Typ Description
NotSpecified

string

system

string

user

string