| Description | : List all the servers in a given subscription. |
| Reference | : Link ¶ |
⚶ Changes
{
"#id": "Servers_List",
"$responses": {
"200": {
"$properties": {
"value": {
"$properties": {
"properties": [
{
"#name": "version",
"Enum": {
"new": [
[
"5.7",
""
],
[
"8.0.21",
""
],
[
"8.4",
""
]
],
"old": [
[
"5.7",
""
],
[
"8.0.21",
""
]
]
}
}
]
}
}
}
}
}
}
⚼ Request
GET:
/subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers
{
api-version:
string
,
subscriptionId:
string
,
}
⚐ Response (200)
{
value:
[
]
,
{
,
properties:
{
,
administratorLogin:
string
,
administratorLoginPassword:
string
,
version:
enum
,
fullVersion:
string
,
availabilityZone:
string
,
createMode:
enum
,
sourceServerResourceId:
string
,
restorePointInTime:
string
,
replicationRole:
enum
,
replicaCapacity:
integer
,
dataEncryption:
{
,
primaryUserAssignedIdentityId:
string
,
primaryKeyURI:
string
,
geoBackupUserAssignedIdentityId:
string
,
geoBackupKeyURI:
string
,
type:
enum
,
}
state:
enum
,
fullyQualifiedDomainName:
string
,
databasePort:
integer
,
storage:
{
,
storageSizeGB:
integer
,
iops:
integer
,
autoGrow:
enum
,
logOnDisk:
enum
,
storageSku:
string
,
autoIoScaling:
enum
,
storageRedundancy:
enum
,
}
backup:
{
,
backupRetentionDays:
integer
,
backupIntervalHours:
integer
,
geoRedundantBackup:
enum
,
earliestRestoreDate:
string
,
}
highAvailability:
{
,
mode:
enum
,
state:
enum
,
standbyAvailabilityZone:
string
,
replicationMode:
enum
,
}
network:
{
,
publicNetworkAccess:
enum
,
delegatedSubnetResourceId:
string
,
privateDnsZoneResourceId:
string
,
}
privateEndpointConnections:
[
]
,
{
,
properties:
}
{
,
groupIds:
[
,
string
,
]
privateEndpoint:
{
,
id:
string
,
}
privateLinkServiceConnectionState:
{
,
status:
enum
,
description:
string
,
actionsRequired:
string
,
}
provisioningState:
enum
,
}
maintenancePolicy:
{
,
patchStrategy:
enum
,
}
maintenanceWindow:
{
,
customWindow:
string
,
startHour:
integer
,
startMinute:
integer
,
dayOfWeek:
integer
,
batchOfMaintenance:
enum
,
}
importSourceProperties:
{
,
storageType:
enum
,
storageUrl:
string
,
sasToken:
string
,
dataDirPath:
string
,
}
lowerCaseTableNames:
integer
,
}
identity:
{
,
principalId:
string
,
tenantId:
string
,
type:
enum
,
userAssignedIdentities:
object
,
}
sku:
}
{
,
name:
string
,
tier:
enum
,
}
nextLink:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
target:
string
,
details:
[
,
string
,
]
additionalInfo:
}
[
]
,
{
,
type:
string
,
info:
object
,
}