Operations - List
列出提供程序的作
GET https://management.azure.com/providers/Microsoft.DBforMySQL/operations?api-version=2024-12-30
URI 参数
| 名称 | 在 | 必需 | 类型 | 说明 |
|---|---|---|---|---|
|
api-version
|
query | True |
string minLength: 1 |
要用于此操作的 API 版本。 |
响应
| 名称 | 类型 | 说明 |
|---|---|---|
| 200 OK |
Azure作已成功完成。 |
|
| Other Status Codes |
意外错误响应。 |
安全性
azure_auth
Azure Active Directory OAuth2 Flow。
类型:
oauth2
流向:
implicit
授权 URL:
https://login.microsoftonline.com/common/oauth2/authorize
作用域
| 名称 | 说明 |
|---|---|
| user_impersonation | 模拟用户帐户 |
示例
OperationList
示例请求
GET https://management.azure.com/providers/Microsoft.DBforMySQL/operations?api-version=2024-12-30
示例响应
{
"value": [
{
"name": "Microsoft.DBforMySQL/flexibleServers/firewallRules/read",
"display": {
"description": "Return the list of firewall rules for a server or gets the properties for the specified firewall rule.",
"operation": "List/Get Firewall Rules",
"provider": "Microsoft DB for MySQL",
"resource": "Firewall Rules"
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/firewallRules/write",
"display": {
"description": "Creates a firewall rule with the specified parameters or update an existing rule.",
"operation": "Create/Update Firewall Rule",
"provider": "Microsoft DB for MySQL",
"resource": "Firewall Rules"
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/firewallRules/delete",
"display": {
"description": "Deletes an existing firewall rule.",
"operation": "Delete Firewall Rule",
"provider": "Microsoft DB for MySQL",
"resource": "Firewall Rules"
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/read",
"display": {
"description": "Return the list of servers or gets the properties for the specified server.",
"operation": "List/Get MySQL Servers",
"provider": "Microsoft DB for MySQL",
"resource": "MySQL Server"
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/write",
"display": {
"description": "Creates a server with the specified parameters or update the properties or tags for the specified server.",
"operation": "Create/Update MySQL Server",
"provider": "Microsoft DB for MySQL",
"resource": "MySQL Server"
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/delete",
"display": {
"description": "Deletes an existing server.",
"operation": "Delete MySQL Server",
"provider": "Microsoft DB for MySQL",
"resource": "MySQL Server"
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/metricDefinitions/read",
"display": {
"description": "Return types of metrics that are available for databases",
"operation": "Get database metric definitions",
"provider": "Microsoft DB for MySQL",
"resource": "Database Metric Definition"
},
"properties": {
"serviceSpecification": {
"metricSpecifications": [
{
"name": "cpu_percent",
"aggregationType": "Average",
"displayDescription": "CPU percent",
"displayName": "CPU percent",
"fillGapWithZero": true,
"unit": "Percent"
},
{
"name": "memory_percent",
"aggregationType": "Average",
"displayDescription": "Memory percent",
"displayName": "Memory percent",
"fillGapWithZero": true,
"unit": "Percent"
},
{
"name": "io_consumption_percent",
"aggregationType": "Average",
"displayDescription": "IO percent",
"displayName": "IO percent",
"fillGapWithZero": true,
"unit": "Percent"
},
{
"name": "storage_percent",
"aggregationType": "Average",
"displayDescription": "Storage percentage",
"displayName": "Storage percentage",
"unit": "Percent"
},
{
"name": "storage_used",
"aggregationType": "Average",
"displayDescription": "Storage used",
"displayName": "Storage used",
"unit": "Bytes"
},
{
"name": "storage_limit",
"aggregationType": "Average",
"displayDescription": "Storage limit",
"displayName": "Storage limit",
"unit": "Bytes"
},
{
"name": "serverlog_storage_percent",
"aggregationType": "Average",
"displayDescription": "Server Log storage percent",
"displayName": "Server Log storage percent",
"unit": "Percent"
},
{
"name": "serverlog_storage_usage",
"aggregationType": "Average",
"displayDescription": "Server Log storage used",
"displayName": "Server Log storage used",
"unit": "Bytes"
},
{
"name": "serverlog_storage_limit",
"aggregationType": "Average",
"displayDescription": "Server Log storage limit",
"displayName": "Server Log storage limit",
"unit": "Bytes"
},
{
"name": "active_connections",
"aggregationType": "Average",
"displayDescription": "Total active connections",
"displayName": "Total active connections",
"fillGapWithZero": true,
"unit": "Count"
},
{
"name": "connections_failed",
"aggregationType": "Average",
"displayDescription": "Total failed connections",
"displayName": "Total failed connections",
"fillGapWithZero": true,
"unit": "Count"
},
{
"name": "seconds_behind_master",
"aggregationType": "Average",
"displayDescription": "Replication lag in seconds",
"displayName": "Replication lag in seconds",
"fillGapWithZero": true,
"unit": "Count"
}
]
}
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/read",
"display": {
"description": "Gets the disagnostic setting for the resource",
"operation": "Read diagnostic setting",
"provider": "Microsoft DB for MySQL",
"resource": "Database Metric Definition"
}
},
{
"name": "Microsoft.DBforMySQL/flexibleServers/providers/Microsoft.Insights/diagnosticSettings/write",
"display": {
"description": "Creates or updates the diagnostic setting for the resource",
"operation": "Write diagnostic setting",
"provider": "Microsoft DB for MySQL",
"resource": "Database Metric Definition"
}
}
]
}
定义
| 名称 | 说明 |
|---|---|
|
Error |
资源管理错误附加信息。 |
|
Error |
错误详细信息。 |
|
Error |
错误响应 |
| Operation |
从资源提供程序操作 API 返回的 REST API 操作的详细信息 |
|
Operation |
显示与操作关联的元数据。 |
|
Operation |
基于资源组的资源的静态参数 |
| Origin |
操作的预期执行程序;与基于资源的访问控制 (RBAC) 和审核日志 UX 中一样。 默认值为“user,system” |
ErrorAdditionalInfo
资源管理错误附加信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| info |
object |
其他信息。 |
| type |
string |
其他信息类型。 |
ErrorDetail
错误详细信息。
| 名称 | 类型 | 说明 |
|---|---|---|
| additionalInfo |
错误附加信息。 |
|
| code |
string |
错误代码。 |
| details |
错误详细信息。 |
|
| message |
string |
错误消息。 |
| target |
string |
错误目标。 |
ErrorResponse
错误响应
| 名称 | 类型 | 说明 |
|---|---|---|
| error |
错误对象。 |
Operation
从资源提供程序操作 API 返回的 REST API 操作的详细信息
| 名称 | 类型 | 说明 |
|---|---|---|
| display |
此特定作的本地化显示信息。 |
|
| name |
string |
作的名称,根据 Resource-Based 访问控制(RBAC)。 示例:“Microsoft.Compute/virtualMachines/write”、“Microsoft.Compute/virtualMachines/capture/action” |
| origin |
操作的预期执行程序;与基于资源的访问控制 (RBAC) 和审核日志 UX 中一样。 默认值为“user,system” |
|
| properties |
作的其他说明。 |
OperationDisplay
显示与操作关联的元数据。
| 名称 | 类型 | 说明 |
|---|---|---|
| description |
string |
作的简短本地化友好说明;适用于工具提示和详细视图。 |
| operation |
string |
作的简洁本地化友好名称;适用于下拉列表。 例如“创建或更新虚拟机”、“重启虚拟机”。 |
| provider |
string |
资源提供程序名称的本地化友好形式,例如“Microsoft Monitoring Insights”或“Microsoft计算”。 |
| resource |
string |
与此作相关的资源类型的本地化友好名称。 例如“虚拟机”或“作业计划集合”。 |
OperationListResult
基于资源组的资源的静态参数
| 名称 | 类型 | 说明 |
|---|---|---|
| nextLink |
string (uri) |
指向下一页项目的链接 |
| value |
本页的作项目 |
Origin
操作的预期执行程序;与基于资源的访问控制 (RBAC) 和审核日志 UX 中一样。 默认值为“user,system”
| 值 | 说明 |
|---|---|
| user |
指示作由用户启动。 |
| system |
指示作由系统启动。 |
| user,system |
指示作由用户或系统启动。 |