Microsoft.DBforMySQL (preview:2021-05-01)

2025/07/31 • 30 new, 30 deleted methods

Servers_Create (new)
Description Creates a new server or updates an existing server. The update action will overwrite the existing server.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Update (new)
Description Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLoginPassword: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
replicationRole: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Delete (new)
Description Deletes a server.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Get (new)
Description Gets information about a server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_ListByResourceGroup (new)
Description List all the servers in a given resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_List (new)
Description List all the servers in a given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Failover (new)
Description Manual failover a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/failover
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Restart (new)
Description Restarts a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/restart
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
restartWithFailover: enum ,
maxFailoverSeconds: integer ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Start (new)
Description Starts a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Stop (new)
Description Stops a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Replicas_ListByServer (new)
Description List all the replicas for a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/replicas
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Backups_Get (new)
Description List all the backups for a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
backupName: string ,
}

⚐ Response (200)

{
properties:
{
backupType: string ,
completedTime: string ,
source: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Backups_ListByServer (new)
Description List all the backups for a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
backupType: string ,
completedTime: string ,
source: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_CreateOrUpdate (new)
Description Creates a new firewall rule or updates an existing firewall rule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
firewallRuleName: string ,
parameters:
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_Delete (new)
Description Deletes a firewall rule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
firewallRuleName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_Get (new)
Description Gets information about a server firewall rule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
firewallRuleName: string ,
}

⚐ Response (200)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_ListByServer (new)
Description List all the firewall rules in a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_CreateOrUpdate (new)
Description Creates a new database or updates an existing database.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
databaseName: string ,
parameters:
{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_Delete (new)
Description Deletes a database.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
databaseName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_Get (new)
Description Gets information about a database.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
databaseName: string ,
}

⚐ Response (200)

{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_ListByServer (new)
Description List all the databases in a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_Update (new)
Description Updates a configuration of a server.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
configurationName: string ,
parameters:
{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_Get (new)
Description Gets information about a configuration of server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_BatchUpdate (new)
Description Update a list of configurations in a given server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/updateConfigurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
value:
[
{
name: string ,
properties:
{
value: string ,
source: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_ListByServer (new)
Description List all the configurations in a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LocationBasedCapabilities_List (new)
Description Get capabilities at specified location in a given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilities
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
}

⚐ Response (200)

{
value:
[
{
zone: string ,
supportedHAMode:
[
string ,
]
,
supportedGeoBackupRegions:
[
string ,
]
,
supportedFlexibleServerEditions:
[
{
name: string ,
supportedStorageEditions:
[
{
name: string ,
minStorageSize: integer ,
maxStorageSize: integer ,
minBackupRetentionDays: integer ,
maxBackupRetentionDays: integer ,
}
,
]
,
supportedServerVersions:
[
{
name: string ,
supportedSkus:
[
{
name: string ,
vCores: integer ,
supportedIops: integer ,
supportedMemoryPerVCoreMB: integer ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckVirtualNetworkSubnetUsage_Execute (new)
Description Get virtual network subnet usage for a given vNet resource id.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
parameters:
{
virtualNetworkResourceId: string ,
}
,
}

⚐ Response (200)

{
delegatedSubnetsUsage:
[
{
subnetName: string ,
usage: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckNameAvailability_Execute (new)
Description Check the availability of name for server
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
nameAvailabilityRequest:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GetPrivateDnsZoneSuffix_Execute (new)
Description Get private DNS zone suffix in the cloud.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.DBforMySQL/getPrivateDnsZoneSuffix
{
api-version: string ,
}

⚐ Response (200)

{
privateDnsZoneSuffix: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Lists all of the available REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DBforMySQL/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Create (removed)
Description Creates a new server or updates an existing server. The update action will overwrite the existing server.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Update (removed)
Description Updates an existing server. The request body can contain one to many of the properties present in the normal server definition.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLoginPassword: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
replicationRole: enum ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Delete (removed)
Description Deletes a server.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Get (removed)
Description Gets information about a server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_ListByResourceGroup (removed)
Description List all the servers in a given resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_List (removed)
Description List all the servers in a given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/flexibleServers
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Failover (removed)
Description Manual failover a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/failover
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Restart (removed)
Description Restarts a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/restart
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
restartWithFailover: enum ,
maxFailoverSeconds: integer ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Start (removed)
Description Starts a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/start
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Servers_Stop (removed)
Description Stops a server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/stop
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Replicas_ListByServer (removed)
Description List all the replicas for a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/replicas
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
state: enum ,
fullyQualifiedDomainName: string ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
storageSku: string ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Backups_Get (removed)
Description List all the backups for a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
backupName: string ,
}

⚐ Response (200)

{
properties:
{
backupType: string ,
completedTime: string ,
source: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Backups_ListByServer (removed)
Description List all the backups for a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
backupType: string ,
completedTime: string ,
source: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_CreateOrUpdate (removed)
Description Creates a new firewall rule or updates an existing firewall rule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
firewallRuleName: string ,
parameters:
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_Delete (removed)
Description Deletes a firewall rule.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
firewallRuleName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_Get (removed)
Description Gets information about a server firewall rule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
firewallRuleName: string ,
}

⚐ Response (200)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
FirewallRules_ListByServer (removed)
Description List all the firewall rules in a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/firewallRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_CreateOrUpdate (removed)
Description Creates a new database or updates an existing database.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
databaseName: string ,
parameters:
{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_Delete (removed)
Description Deletes a database.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
databaseName: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_Get (removed)
Description Gets information about a database.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases/{databaseName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
databaseName: string ,
}

⚐ Response (200)

{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Databases_ListByServer (removed)
Description List all the databases in a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/databases
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
charset: string ,
collation: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_Update (removed)
Description Updates a configuration of a server.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
configurationName: string ,
parameters:
{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_Get (removed)
Description Gets information about a configuration of server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations/{configurationName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
configurationName: string ,
}

⚐ Response (200)

{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_BatchUpdate (removed)
Description Update a list of configurations in a given server.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/updateConfigurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
value:
[
{
name: string ,
properties:
{
value: string ,
source: string ,
}
,
}
,
]
,
}
,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Configurations_ListByServer (removed)
Description List all the configurations in a given server.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
description: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LocationBasedCapabilities_List (removed)
Description Get capabilities at specified location in a given subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/capabilities
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
}

⚐ Response (200)

{
value:
[
{
zone: string ,
supportedHAMode:
[
string ,
]
,
supportedGeoBackupRegions:
[
string ,
]
,
supportedFlexibleServerEditions:
[
{
name: string ,
supportedStorageEditions:
[
{
name: string ,
minStorageSize: integer ,
maxStorageSize: integer ,
minBackupRetentionDays: integer ,
maxBackupRetentionDays: integer ,
}
,
]
,
supportedServerVersions:
[
{
name: string ,
supportedSkus:
[
{
name: string ,
vCores: integer ,
supportedIops: integer ,
supportedMemoryPerVCoreMB: integer ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckVirtualNetworkSubnetUsage_Execute (removed)
Description Get virtual network subnet usage for a given vNet resource id.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkVirtualNetworkSubnetUsage
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
parameters:
{
virtualNetworkResourceId: string ,
}
,
}

⚐ Response (200)

{
delegatedSubnetsUsage:
[
{
subnetName: string ,
usage: integer ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckNameAvailability_Execute (removed)
Description Check the availability of name for server
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DBforMySQL/locations/{locationName}/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
nameAvailabilityRequest:
{
name: string ,
type: string ,
}
,
}

⚐ Response (200)

{
message: string ,
nameAvailable: boolean ,
reason: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
GetPrivateDnsZoneSuffix_Execute (removed)
Description Get private DNS zone suffix in the cloud.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.DBforMySQL/getPrivateDnsZoneSuffix
{
api-version: string ,
}

⚐ Response (200)

{
privateDnsZoneSuffix: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Lists all of the available REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DBforMySQL/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: string ,
properties: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}