Operations - List

Wyświetla listę wszystkich dostępnych operacji interfejsu API REST SQL.

GET https://management.azure.com/providers/Microsoft.Sql/operations?api-version=2025-01-01

Parametry identyfikatora URI

Nazwa W Wymagane Typ Opis
api-version
query True

string

minLength: 1

Wersja interfejsu API do użycia dla tej operacji.

Odpowiedzi

Nazwa Typ Opis
200 OK

OperationListResult

Operacja Azure zakończyła się pomyślnie.

Other Status Codes

ErrorResponse

Nieoczekiwana odpowiedź na błąd.

Zabezpieczenia

azure_auth

Azure Active Directory OAuth2 Flow.

Typ: oauth2
Flow: implicit
Adres URL autoryzacji: https://login.microsoftonline.com/common/oauth2/authorize

Zakresy

Nazwa Opis
user_impersonation personifikacja konta użytkownika

Przykłady

Lists all of the available SQL Rest API operations

Przykładowe żądanie

GET https://management.azure.com/providers/Microsoft.Sql/operations?api-version=2025-01-01

Przykładowa odpowiedź

{
  "value": [
    {
      "name": "Microsoft.Sql/servers/read",
      "display": {
        "description": "Return the list of servers or gets the properties for the specified server.",
        "operation": "List/Get Azure SQL Server(s)",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Server"
      }
    },
    {
      "name": "Microsoft.Sql/servers/write",
      "display": {
        "description": "Creates a server with the specified parameters or update the properties or tags for the specified server.",
        "operation": "Create/Update Azure SQL Server",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Server"
      }
    },
    {
      "name": "Microsoft.Sql/servers/delete",
      "display": {
        "description": "Deletes an existing server.",
        "operation": "Delete Azure SQL Server",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Server"
      }
    },
    {
      "name": "Microsoft.Sql/servers/databases/read",
      "display": {
        "description": "Return the list of databases or gets the properties for the specified database.",
        "operation": "List/Get Azure SQL Database(s)",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/servers/databases/write",
      "display": {
        "description": "Creates a database with the specified parameters or update the properties or tags for the specified database.",
        "operation": "Create/Update Azure SQL Database",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/servers/databases/delete",
      "display": {
        "description": "Deletes an existing database.",
        "operation": "Delete Azure SQL Database",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/servers/elasticPools/databases/read",
      "display": {
        "description": "Gets a list of databases for an elastic pool",
        "operation": "Gets a list of databases for an elastic pool",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/servers/databases/failover/action",
      "display": {
        "description": "Customer initiated database failover.",
        "operation": "Issue failover on the database.",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/servers/inaccessibleDatabases/read",
      "display": {
        "description": "Return a list of inaccessible database(s) in a logical server.",
        "operation": "List Azure database(s) with inaccessible status in a logical server.",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/servers/databases/pause/action",
      "display": {
        "description": "Pause Azure SQL Datawarehouse Database",
        "operation": "Pause a Datawarehouse database.",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/servers/databases/resume/action",
      "display": {
        "description": "Resume Azure SQL Datawarehouse Database",
        "operation": "Resume a Datawarehouse database.",
        "provider": "Microsoft SQL Database",
        "resource": "Azure SQL Database"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterAssociationProxyOperationResults/read",
      "display": {
        "description": "Get network security perimeter operation result",
        "operation": "Get network security perimeter operation result",
        "provider": "Microsoft SQL Database",
        "resource": "Network Security Perimeter Association Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterAssociationProxyAzureAsyncOperation/read",
      "display": {
        "description": "Get network security perimeter proxy azure async operation",
        "operation": "Get network security perimeter proxy azure async operation",
        "provider": "Microsoft SQL Database",
        "resource": "Network Security Perimeter Association Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/servers/restorableDroppedDatabases/read",
      "display": {
        "description": "Get a list of databases that were dropped on a given server that are still within retention policy.",
        "operation": "Get a list of restorable dropped databases",
        "provider": "Microsoft SQL Database",
        "resource": "Restorable Dropped Database"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/profileProxies/accessRuleProxies/read",
      "display": {
        "description": "Get NSP Access Rule Proxy",
        "operation": "Get NSP Access Rule Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "NSP Access Rule Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/profileProxies/accessRuleProxies/write",
      "display": {
        "description": "Create or Update NSP Access Rule Proxy",
        "operation": "Create or Update NSP Access Rule Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "NSP Access Rule Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/profileProxies/accessRuleProxies/delete",
      "display": {
        "description": "Delete NSP Access Rule Proxy",
        "operation": "Delete NSP Access Rule Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "NSP Access Rule Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/profileProxies/read",
      "display": {
        "description": "Get NSP Profile Proxy",
        "operation": "Get NSP Profile Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "NSP Profile Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/profileProxies/write",
      "display": {
        "description": "Create or Update NSP Profile Proxy",
        "operation": "Create or Update NSP Profile Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "NSP Profile Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/profileProxies/delete",
      "display": {
        "description": "Delete NSP Proxy",
        "operation": "Delete NSP Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "NSP Profile Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/read",
      "display": {
        "description": "Get NSP Proxy",
        "operation": "Get NSP Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "Network Security Perimeter Proxy"
      }
    },
    {
      "name": "Microsoft.Sql/locations/networkSecurityPerimeterProxies/write",
      "display": {
        "description": "Create or Update NSP Proxy",
        "operation": "Create or Update NSP Proxy",
        "provider": "Microsoft SQL Database",
        "resource": "Network Security Perimeter Proxy"
      }
    }
  ]
}

Definicje

Nazwa Opis
ErrorAdditionalInfo

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

ErrorDetail

Szczegóły błędu.

ErrorResponse

Odpowiedź na błąd

Operation

Definicja operacji interfejsu API REST SQL.

OperationDisplay

Wyświetl metadane skojarzone z operacją.

OperationListResult

Wynik żądania, aby wyświetlić listę operacji SQL.

OperationOrigin

Zamierzony wykonawca operacji.

ErrorAdditionalInfo

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

Nazwa Typ Opis
info

object

Dodatkowe informacje.

type

string

Dodatkowy typ informacji.

ErrorDetail

Szczegóły błędu.

Nazwa Typ Opis
additionalInfo

ErrorAdditionalInfo[]

Błąd dodatkowe informacje.

code

string

Kod błędu.

details

ErrorDetail[]

Szczegóły błędu.

message

string

Komunikat o błędzie.

target

string

Cel błędu.

ErrorResponse

Odpowiedź na błąd

Nazwa Typ Opis
error

ErrorDetail

Obiekt błędu.

Operation

Definicja operacji interfejsu API REST SQL.

Nazwa Typ Opis
display

OperationDisplay

Zlokalizowane informacje o wyświetlaniu dla tej konkretnej operacji / akcji.

name

string

Nazwa operacji wykonywanej na tym konkretnym obiekcie.

origin

OperationOrigin

Zamierzony wykonawca operacji.

properties

Dodatkowe opisy operacji.

OperationDisplay

Wyświetl metadane skojarzone z operacją.

Nazwa Typ Opis
description

string

Zlokalizowany przyjazny opis operacji.

operation

string

Zlokalizowana przyjazna nazwa operacji.

provider

string

Zlokalizowana przyjazna forma nazwy dostawcy zasobów.

resource

string

Zlokalizowana przyjazna forma typu zasobu powiązana z tą akcją/operacją.

OperationListResult

Wynik żądania, aby wyświetlić listę operacji SQL.

Nazwa Typ Opis
nextLink

string

Łącze, aby pobrać następną stronę wyników.

value

Operation[]

Tablica wyników.

OperationOrigin

Zamierzony wykonawca operacji.

Wartość Opis
user

użytkownik

system

system