Operations - List

Listy wszystkich dostępnych operacji interfejsu API REST.

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

Parametry identyfikatora URI

Nazwa W Wymagane Typ Opis
api-version
query True

string

Wersja interfejsu API do użycia dla tej operacji.

Odpowiedzi

Nazwa Typ Opis
200 OK

OperationListResult

OK

Other Status Codes

CloudError

Odpowiedź na błąd opisująca, dlaczego operacja nie powiodła się.

Zabezpieczenia

azure_auth

Przepływ OAuth2 usługi Azure Active Directory

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

Scopes

Nazwa Opis
user_impersonation personifikacja konta użytkownika

Przykłady

OperationList

Sample Request

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

Sample Response

{
  "value": [
    {
      "name": "Microsoft.DBforPostgreSQL/locations/performanceTiers/read",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Performance Tiers",
        "operation": "List Performance Tiers",
        "description": "Returns the list of Performance Tiers available."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/servers/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/servers/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/servers/delete",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "PostgreSQL Server",
        "operation": "Delete PostgreSQL Server",
        "description": "Deletes an existing server."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/performanceTiers/read",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Performance Tiers",
        "operation": "List Performance Tiers",
        "description": "Returns the list of Performance Tiers available."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/servers/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/servers/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/servers/firewallRules/delete",
      "display": {
        "provider": "Microsoft DB for PostgreSQL",
        "resource": "Firewall Rules",
        "operation": "Delete Firewall Rule",
        "description": "Deletes an existing firewall rule."
      }
    },
    {
      "name": "Microsoft.DBforPostgreSQL/servers/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": "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/servers/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/servers/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"
      }
    }
  ]
}

Definicje

Nazwa Opis
CloudError

Odpowiedź na błąd z usługi Batch.

ErrorAdditionalInfo

Dodatkowe informacje o błędzie zarządzania zasobami.

ErrorResponse

Odpowiedź na błąd

Operation

Definicja operacji interfejsu API REST.

OperationDisplay

Wyświetl metadane skojarzone z operacją.

OperationListResult

Lista operacji dostawcy zasobów.

OperationOrigin

Zamierzony wykonawca operacji.

CloudError

Odpowiedź na błąd z usługi Batch.

Nazwa Typ Opis
error

ErrorResponse

Odpowiedź na błąd
Typowa odpowiedź na błąd dla wszystkich interfejsów API usługi Azure Resource Manager zwraca szczegóły błędu dla operacji, które zakończyły się niepowodzeniem. (Jest to również zgodne z formatem odpowiedzi oData).

ErrorAdditionalInfo

Dodatkowe informacje o błędzie zarządzania zasobami.

Nazwa Typ Opis
info

object

Dodatkowe informacje.

type

string

Dodatkowy typ informacji.

ErrorResponse

Odpowiedź na błąd

Nazwa Typ Opis
additionalInfo

ErrorAdditionalInfo[]

Dodatkowe informacje o błędzie.

code

string

Kod błędu.

details

ErrorResponse[]

Szczegóły błędu.

message

string

Komunikat o błędzie.

target

string

Element docelowy błędu.

Operation

Definicja operacji interfejsu API REST.

Nazwa Typ Opis
display

OperationDisplay

Zlokalizowane informacje wyświetlane dla tej konkretnej operacji lub akcji.

name

string

Nazwa operacji wykonywanej na tym konkretnym obiekcie.

origin

OperationOrigin

Zamierzony wykonawca operacji.

properties

object

Dodatkowe opisy operacji.

OperationDisplay

Wyświetl metadane skojarzone z operacją.

Nazwa Typ Opis
description

string

Opis operacji.

operation

string

Zlokalizowana przyjazna nazwa operacji.

provider

string

Nazwa dostawcy zasobów operacji.

resource

string

Zasób, na którym wykonywana jest operacja.

OperationListResult

Lista operacji dostawcy zasobów.

Nazwa Typ Opis
value

Operation[]

Lista operacji dostawcy zasobów.

OperationOrigin

Zamierzony wykonawca operacji.

Nazwa Typ Opis
NotSpecified

string

system

string

user

string