通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Operations - List

列出所有可用的 SQL Rest API作。

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

URI 参数

名称 必需 类型 说明
api-version
query True

string

minLength: 1

用于此作的 API 版本。

响应

名称 类型 说明
200 OK

OperationListResult

Azure 运营顺利完成。

Other Status Codes

ErrorResponse

意外的错误响应。

安全性

azure_auth

Azure Active Directory OAuth2 Flow.

类型: oauth2
流向: implicit
授权 URL: https://login.microsoftonline.com/common/oauth2/authorize

作用域

名称 说明
user_impersonation 模拟用户帐户

示例

Lists all of the available SQL Rest API operations

示例请求

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

示例响应

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

定义

名称 说明
ErrorAdditionalInfo

资源管理错误附加信息。

ErrorDetail

错误详细信息。

ErrorResponse

错误响应

Operation

SQL REST API作定义。

OperationDisplay

显示与作关联的元数据。

OperationListResult

列出 SQL作的请求的结果。

OperationOrigin

作的预期执行者。

ErrorAdditionalInfo

资源管理错误附加信息。

名称 类型 说明
info

object

附加信息。

type

string

附加信息类型。

ErrorDetail

错误详细信息。

名称 类型 说明
additionalInfo

ErrorAdditionalInfo[]

错误附加信息。

code

string

错误代码。

details

ErrorDetail[]

错误详细信息。

message

string

错误消息。

target

string

错误目标。

ErrorResponse

错误响应

名称 类型 说明
error

ErrorDetail

错误对象。

Operation

SQL REST API作定义。

名称 类型 说明
display

OperationDisplay

此特定作/作的本地化显示信息。

name

string

正在对此特定对象执行的作的名称。

origin

OperationOrigin

作的预期执行者。

properties

作的其他说明。

OperationDisplay

显示与作关联的元数据。

名称 类型 说明
description

string

作的本地化友好说明。

operation

string

操作的本地化友好名称。

provider

string

资源提供程序名称的本地化友好形式。

resource

string

与此作/作相关的资源类型的本地化友好形式。

OperationListResult

列出 SQL作的请求的结果。

名称 类型 说明
nextLink

string

用于检索下一页结果的链接。

value

Operation[]

结果数组。

OperationOrigin

作的预期执行者。

说明
user

用户

system

system