Share via


Operations - List

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

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

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

CloudError

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=2017-12-01

Sample Response

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

Eine Fehlerantwort des Batch-Diensts.

ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

ErrorResponse

Fehlerantwort

Operation

Rest-API-Vorgangsdefinition.

OperationDisplay

Zeigt metadaten an, die dem Vorgang zugeordnet sind.

OperationListResult

Eine Liste von Ressourcenanbietervorgängen.

OperationOrigin

Der beabsichtigte Executor des Vorgangs.

CloudError

Eine Fehlerantwort des Batch-Diensts.

Name Typ Beschreibung
error

ErrorResponse

Fehlerantwort
Allgemeine Fehlerantwort für alle Azure Resource Manager-APIs, zur Rückgabe von Fehlerdetails für fehlgeschlagene Vorgänge. (Dies folgt auch dem OData-Fehlerantwortformat.)

ErrorAdditionalInfo

Zusätzliche Informationen zum Ressourcenverwaltungsfehler.

Name Typ Beschreibung
info

object

Zusätzliche Informationen.

type

string

Typ der zusätzlichen Informationen.

ErrorResponse

Fehlerantwort

Name Typ Beschreibung
additionalInfo

ErrorAdditionalInfo[]

Die zusätzlichen Fehlerinformationen.

code

string

Der Fehlercode.

details

ErrorResponse[]

Die Fehlerdetails.

message

string

Die Fehlermeldung.

target

string

Das Fehlerziel.

Operation

Rest-API-Vorgangsdefinition.

Name Typ Beschreibung
display

OperationDisplay

Die lokalisierten Anzeigeinformationen für diesen bestimmten Vorgang oder diese Aktion.

name

string

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

origin

OperationOrigin

Der beabsichtigte Executor des Vorgangs.

properties

object

Zusätzliche Beschreibungen für den Vorgang.

OperationDisplay

Zeigt metadaten an, die dem Vorgang zugeordnet sind.

Name Typ Beschreibung
description

string

Beschreibung des Vorgangs.

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
value

Operation[]

Die Liste der Ressourcenanbietervorgänge.

OperationOrigin

Der beabsichtigte Executor des Vorgangs.

Name Typ Beschreibung
NotSpecified

string

system

string

user

string