Microsoft.DBforMySQL (preview:2023-06-01)

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

AzureADAdministrators_CreateOrUpdate (new)
Description Creates or updates an existing Azure Active Directory administrator.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
administratorName: string ,
parameters:
{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AzureADAdministrators_Delete (new)
Description Deletes an Azure AD Administrator.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AzureADAdministrators_Get (new)
Description Gets information about an azure ad administrator.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BackupAndExport_Create (new)
Description Exports the backup of the given server by creating a backup if not existing.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
status: enum ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties:
{
datasourceSizeInBytes: integer ,
dataTransferredInBytes: integer ,
backupMetadata: string ,
}
,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BackupAndExport_ValidateBackup (new)
Description Validates if backup can be performed for given server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
numberOfContainers: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Backups_Put (new)
Description Create backup for a given server with specified backup name.
Reference Link ¶

⚼ Request

PUT:  /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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

PUT:  /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 ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
resetAllToDefault: enum ,
}
,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
tags: string ,
keyword: string ,
page: integer ,
pageSize: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
charset: string ,
collation: string ,
}
,
}

⚐ Response (201)

{
properties:
{
charset: string ,
collation: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (201)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLoginPassword: string ,
version: enum ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
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 ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServersMigration_CutoverMigration (new)
Description Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
sizeInKB: integer ,
createdTime: string ,
type: string ,
lastModifiedTime: string ,
url: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LocationBasedCapabilitySet_List (new)
Description Get capabilities at specified location in a given subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
supportedGeoBackupRegions:
[
string ,
]
,
supportedFlexibleServerEditions:
[
{
name: string ,
defaultSku: string ,
defaultStorageSize: integer ,
supportedStorageEditions:
[
{
name: string ,
minStorageSize: integer ,
maxStorageSize: integer ,
minBackupRetentionDays: integer ,
maxBackupRetentionDays: integer ,
}
,
]
,
supportedSkus:
[
{
name: string ,
vCores: integer ,
supportedIops: integer ,
supportedMemoryPerVCoreMB: integer ,
supportedZones:
[
string ,
]
,
supportedHAMode:
[
string ,
]
,
}
,
]
,
}
,
]
,
supportedServerVersions:
[
{
name: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckNameAvailabilityWithoutLocation_Execute (new)
Description Check the availability of name for server
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OperationResults_Get (new)
Description Get the operation result for a long running operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
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:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AzureADAdministrators_CreateOrUpdate (removed)
Description Creates or updates an existing Azure Active Directory administrator.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/administrators/{administratorName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
administratorName: string ,
parameters:
{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}

⚐ Response (201)

{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AzureADAdministrators_Delete (removed)
Description Deletes an Azure AD Administrator.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AzureADAdministrators_Get (removed)
Description Gets information about an azure ad administrator.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
administratorType: enum ,
login: string ,
sid: string ,
tenantId: string ,
identityResourceId: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BackupAndExport_Create (removed)
Description Exports the backup of the given server by creating a backup if not existing.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
status: enum ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties:
{
datasourceSizeInBytes: integer ,
dataTransferredInBytes: integer ,
backupMetadata: string ,
}
,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
BackupAndExport_ValidateBackup (removed)
Description Validates if backup can be performed for given server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
numberOfContainers: integer ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Backups_Put (removed)
Description Create backup for a given server with specified backup name.
Reference Link ¶

⚼ Request

PUT:  /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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

PUT:  /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 ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
resetAllToDefault: enum ,
}
,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
tags: string ,
keyword: string ,
page: integer ,
pageSize: integer ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
value: string ,
currentValue: string ,
description: string ,
documentationLink: string ,
defaultValue: string ,
dataType: string ,
allowedValues: string ,
source: enum ,
isReadOnly: enum ,
isConfigPendingRestart: enum ,
isDynamicConfig: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
charset: string ,
collation: string ,
}
,
}

⚐ Response (201)

{
properties:
{
charset: string ,
collation: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (201)

{
properties:
{
startIpAddress: string ,
endIpAddress: string ,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
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 ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLoginPassword: string ,
version: enum ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
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 ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

{
location: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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 ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServersMigration_CutoverMigration (removed)
Description Cutover migration for MySQL import, it will switch source elastic server DNS to flexible server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
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 ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
azure-asyncoperation: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
sizeInKB: integer ,
createdTime: string ,
type: string ,
lastModifiedTime: string ,
url: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LocationBasedCapabilitySet_List (removed)
Description Get capabilities at specified location in a given subscription.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
supportedGeoBackupRegions:
[
string ,
]
,
supportedFlexibleServerEditions:
[
{
name: string ,
defaultSku: string ,
defaultStorageSize: integer ,
supportedStorageEditions:
[
{
name: string ,
minStorageSize: integer ,
maxStorageSize: integer ,
minBackupRetentionDays: integer ,
maxBackupRetentionDays: integer ,
}
,
]
,
supportedSkus:
[
{
name: string ,
vCores: integer ,
supportedIops: integer ,
supportedMemoryPerVCoreMB: integer ,
supportedZones:
[
string ,
]
,
supportedHAMode:
[
string ,
]
,
}
,
]
,
}
,
]
,
supportedServerVersions:
[
{
name: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CheckNameAvailabilityWithoutLocation_Execute (removed)
Description Check the availability of name for server
Reference Link ¶

⚼ Request

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

⚐ Response (200)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OperationResults_Get (removed)
Description Get the operation result for a long running operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
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:
[
string ,
]
,
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:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}