Share via


Operations - List

Listen alle verfügbaren REST-API-Vorgänge.

GET https://management.azure.com/providers/Microsoft.DBforMySQL/operations?api-version=2023-12-30

URI-Parameter

Name In Erforderlich Typ Beschreibung
api-version
query True

string

Hierbei handelt es sich um die für diesen Vorgang zu verwendende API-Version.

Antworten

Name Typ Beschreibung
200 OK

OperationListResult

OK

Other Status Codes

ErrorResponse

Fehlerantwort mit Beschreibung des Grunds für den Fehler.

Sicherheit

azure_auth

Azure Active Directory-OAuth2-Flow

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

Scopes

Name Beschreibung
user_impersonation Identitätswechsel Ihres Benutzerkontos

Beispiele

OperationList

Sample Request

GET https://management.azure.com/providers/Microsoft.DBforMySQL/operations?api-version=2023-12-30

Sample Response

{
  "value": [
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/firewallRules/read",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "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.DBforMySQL/flexibleServers/firewallRules/write",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "resource": "Firewall Rules",
        "operation": "Create/Update Firewall Rule",
        "description": "Creates a firewall rule with the specified parameters or update an existing rule."
      }
    },
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/firewallRules/delete",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "resource": "Firewall Rules",
        "operation": "Delete Firewall Rule",
        "description": "Deletes an existing firewall rule."
      }
    },
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/read",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "resource": "MySQL Server",
        "operation": "List/Get MySQL Servers",
        "description": "Return the list of servers or gets the properties for the specified server."
      }
    },
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/write",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "resource": "MySQL Server",
        "operation": "Create/Update MySQL Server",
        "description": "Creates a server with the specified parameters or update the properties or tags for the specified server."
      }
    },
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/delete",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "resource": "MySQL Server",
        "operation": "Delete MySQL Server",
        "description": "Deletes an existing server."
      }
    },
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "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": "serverlog_storage_percent",
              "displayName": "Server Log storage percent",
              "displayDescription": "Server Log storage percent",
              "unit": "Percent",
              "aggregationType": "Average"
            },
            {
              "name": "serverlog_storage_usage",
              "displayName": "Server Log storage used",
              "displayDescription": "Server Log storage used",
              "unit": "Bytes",
              "aggregationType": "Average"
            },
            {
              "name": "serverlog_storage_limit",
              "displayName": "Server Log storage limit",
              "displayDescription": "Server Log 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": "seconds_behind_master",
              "displayName": "Replication lag in seconds",
              "displayDescription": "Replication lag in seconds",
              "unit": "Count",
              "aggregationType": "Average",
              "fillGapWithZero": true
            }
          ]
        }
      }
    },
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "resource": "Database Metric Definition",
        "operation": "Read diagnostic setting",
        "description": "Gets the disagnostic setting for the resource"
      }
    },
    {
      "name": "Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write",
      "display": {
        "provider": "Microsoft DB for MySQL",
        "resource": "Database Metric Definition",
        "operation": "Write diagnostic setting",
        "description": "Creates or updates the diagnostic setting for the resource"
      }
    }
  ]
}

Definitionen

Name Beschreibung
ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

ErrorDetail

Die Fehlerdetails.

ErrorResponse

Fehlerantwort

Operation

Rest-API-Vorgangsdefinition.

OperationDisplay

Zeigen Sie metadaten an, die dem Vorgang zugeordnet sind.

OperationListResult

Eine Liste von Ressourcenanbietervorgängen.

ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

Name Typ Beschreibung
info

object

Zusätzliche Informationen.

type

string

Typ der zusätzlichen Informationen.

ErrorDetail

Die Fehlerdetails.

Name Typ Beschreibung
additionalInfo

ErrorAdditionalInfo[]

Die zusätzlichen Fehlerinformationen.

code

string

Der Fehlercode.

details

ErrorDetail[]

Die Fehlerdetails.

message

string

Die Fehlermeldung.

target

string

Das Fehlerziel.

ErrorResponse

Fehlerantwort

Name Typ Beschreibung
error

ErrorDetail

Das Fehlerobjekt.

Operation

Rest-API-Vorgangsdefinition.

Name Typ Beschreibung
display

OperationDisplay

Die lokalisierten Anzeigeinformationen für diese bestimmte Operation oder Aktion.

name

string

Der Name des Vorgangs, der für dieses bestimmte Objekt ausgeführt wird.

origin

string

Der beabsichtigte Executor des Vorgangs.

properties

object

Zusätzliche Beschreibungen für den Vorgang.

OperationDisplay

Zeigen Sie metadaten an, die dem Vorgang zugeordnet sind.

Name Typ Beschreibung
description

string

Vorgangsbeschreibung.

operation

string

Lokalisierter Anzeigename für den Vorgang.

provider

string

Name des Vorgangsressourcenanbieters.

resource

string

Ressource, für die der Vorgang ausgeführt wird.

OperationListResult

Eine Liste von Ressourcenanbietervorgängen.

Name Typ Beschreibung
nextLink

string

Der URL-Client sollte verwenden, um die nächste Seite abzurufen (pro serverseitigem Paging).

value

Operation[]

Sammlung verfügbarer Vorgangsdetails