Operations - List
使用可能なすべての REST API 操作をListsします。
GET https://management.azure.com/providers/Microsoft.DBforMySQL/operations?api-version=2023-12-30
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
api-version
|
query | True |
string |
この操作に使用する API バージョン。 |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
操作に失敗した理由を説明するエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
OperationList
Sample Request
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"
}
}
]
}
定義
名前 | 説明 |
---|---|
Error |
リソース管理エラーの追加情報。 |
Error |
エラーの詳細。 |
Error |
エラー応答 |
Operation |
REST API 操作の定義。 |
Operation |
操作に関連付けられているメタデータを表示します。 |
Operation |
リソース プロバイダー操作の一覧。 |
ErrorAdditionalInfo
リソース管理エラーの追加情報。
名前 | 型 | 説明 |
---|---|---|
info |
object |
追加情報。 |
type |
string |
追加情報の種類。 |
ErrorDetail
エラーの詳細。
名前 | 型 | 説明 |
---|---|---|
additionalInfo |
エラーの追加情報。 |
|
code |
string |
エラー コード。 |
details |
エラーの詳細です。 |
|
message |
string |
エラー メッセージ。 |
target |
string |
エラーのターゲット。 |
ErrorResponse
エラー応答
名前 | 型 | 説明 |
---|---|---|
error |
error オブジェクト。 |
Operation
REST API 操作の定義。
名前 | 型 | 説明 |
---|---|---|
display |
この特定の操作またはアクションのローカライズされた表示情報。 |
|
name |
string |
この特定のオブジェクトに対して実行される操作の名前。 |
origin |
string |
操作の目的の Executor。 |
properties |
object |
操作の追加の説明。 |
OperationDisplay
操作に関連付けられているメタデータを表示します。
名前 | 型 | 説明 |
---|---|---|
description |
string |
操作の説明。 |
operation |
string |
操作のローカライズされたフレンドリ名。 |
provider |
string |
操作リソース プロバイダー名。 |
resource |
string |
操作が実行されるリソース。 |
OperationListResult
リソース プロバイダー操作の一覧。
名前 | 型 | 説明 |
---|---|---|
nextLink |
string |
URL クライアントは、(サーバー側のページングごとに) 次のページをフェッチするために を使用する必要があります。 |
value |
使用可能な操作の詳細のコレクション |