Operations - List
Visa en lista över åtgärder för providern
GET https://management.azure.com/providers/Microsoft.DBforMySQL/operations?api-version=2024-12-30
URI-parametrar
| Name | I | Obligatorisk | Typ | Description |
|---|---|---|---|---|
|
api-version
|
query | True |
string minLength: 1 |
Den API-version som ska användas för den här åtgärden. |
Svar
| Name | Typ | Description |
|---|---|---|
| 200 OK |
Azure-åtgärden har slutförts. |
|
| Other Status Codes |
Ett oväntat felsvar. |
Säkerhet
azure_auth
Azure Active Directory OAuth2-flöde.
Typ:
oauth2
Flow:
implicit
Auktoriseringswebbadress:
https://login.microsoftonline.com/common/oauth2/authorize
Omfattningar
| Name | Description |
|---|---|
| user_impersonation | personifiera ditt användarkonto |
Exempel
OperationList
Exempelbegäran
GET https://management.azure.com/providers/Microsoft.DBforMySQL/operations?api-version=2024-12-30
Exempelsvar
{
"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"
}
}
]
}
Definitioner
| Name | Description |
|---|---|
|
Error |
Ytterligare information om resurshanteringsfelet. |
|
Error |
Felinformationen. |
|
Error |
Felsvar |
| Operation |
Information om en REST API-åtgärd som returneras från API:et för resursprovideråtgärder |
|
Operation |
Visa metadata som är associerade med åtgärden. |
|
Operation |
De statiska parametrarna för en resursgruppsbaserad resurs |
| Origin |
Den avsedda utföraren av åtgärden; som i Resursbaserad åtkomstkontroll (RBAC) och granskningsloggar UX. Standardvärdet är "user,system" |
ErrorAdditionalInfo
Ytterligare information om resurshanteringsfelet.
| Name | Typ | Description |
|---|---|---|
| info |
object |
Ytterligare information. |
| type |
string |
Ytterligare informationstyp. |
ErrorDetail
Felinformationen.
| Name | Typ | Description |
|---|---|---|
| additionalInfo |
Ytterligare information om felet. |
|
| code |
string |
Felkoden. |
| details |
Felinformationen. |
|
| message |
string |
Felmeddelandet. |
| target |
string |
Felmålet. |
ErrorResponse
Felsvar
| Name | Typ | Description |
|---|---|---|
| error |
Felobjektet. |
Operation
Information om en REST API-åtgärd som returneras från API:et för resursprovideråtgärder
| Name | Typ | Description |
|---|---|---|
| display |
Lokaliserad visningsinformation för den här åtgärden. |
|
| name |
string |
Namnet på åtgärden enligt Resource-Based Åtkomstkontroll (RBAC). Exempel: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" |
| origin |
Den avsedda utföraren av åtgärden; som i Resursbaserad åtkomstkontroll (RBAC) och granskningsloggar UX. Standardvärdet är "user,system" |
|
| properties |
Ytterligare beskrivningar för åtgärden. |
OperationDisplay
Visa metadata som är associerade med åtgärden.
| Name | Typ | Description |
|---|---|---|
| description |
string |
Den korta, lokaliserade egna beskrivningen av åtgärden; lämplig för verktygstips och detaljerade vyer. |
| operation |
string |
Det koncisa, lokaliserade egna namnet för åtgärden. lämplig för listrutor. T.ex. "Skapa eller uppdatera virtuell dator", "Starta om virtuell dator". |
| provider |
string |
Den lokaliserade egna formen av resursproviderns namn, t.ex. "Microsoft Monitoring Insights" eller "Microsoft Compute". |
| resource |
string |
Det lokaliserade egna namnet på resurstypen som är relaterad till den här åtgärden. Till exempel "Virtuella datorer" eller "Jobbschemasamlingar". |
OperationListResult
De statiska parametrarna för en resursgruppsbaserad resurs
| Name | Typ | Description |
|---|---|---|
| nextLink |
string (uri) |
Länken till nästa sida med objekt |
| value |
Åtgärdsobjekten på den här sidan |
Origin
Den avsedda utföraren av åtgärden; som i Resursbaserad åtkomstkontroll (RBAC) och granskningsloggar UX. Standardvärdet är "user,system"
| Värde | Description |
|---|---|
| user |
Anger att åtgärden har initierats av en användare. |
| system |
Indikerar att åtgärden initieras av ett system. |
| user,system |
Indikerar att åtgärden initieras av en användare eller ett system. |