Microsoft.DBforMySQL (preview:2024-12-01)

2025/06/19 • 64 new methods

AdvancedThreatProtectionSettings_Get (new)
Description Get a server's Advanced Threat Protection state
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
creationTime: string ,
state: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AdvancedThreatProtectionSettings_Update (new)
Description Updates a server's Advanced Threat Protection state.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
{
resourceGroupName: string ,
serverName: string ,
advancedThreatProtectionName: string ,
parameters:
{
properties:
{
state: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
state: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AdvancedThreatProtectionSettings_UpdatePut (new)
Description Updates a server's Advanced Threat Protection state.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/advancedThreatProtectionSettings/{advancedThreatProtectionName}
{
resourceGroupName: string ,
serverName: string ,
advancedThreatProtectionName: string ,
parameters:
{
properties:
{
creationTime: string ,
state: enum ,
provisioningState: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
creationTime: string ,
state: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
creationTime: string ,
state: enum ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
AdvancedThreatProtectionSettings_List (new)
Description Gets a list of server's Advanced Threat Protection states.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
creationTime: string ,
state: enum ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
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 ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ 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 ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
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 ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ 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 ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ 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 ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
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 ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
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_ValidateEstimateHighAvailability (new)
Description Validate a deployment of high availability.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/validateEstimateHighAvailability
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
parameters:
{
estimatedDowntime: integer ,
scheduledStandbyAvailabilityZone: string ,
expectedStandbyAvailabilityZone: string ,
}
,
}

⚐ Response (200)

{
estimatedDowntime: integer ,
scheduledStandbyAvailabilityZone: string ,
expectedStandbyAvailabilityZone: 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 ,
}
,
]
,
}
,
}
Servers_DetachVNet (new)
Description Detach VNet on a server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
sku:
{
name: string ,
tier: enum ,
}
,
properties:
{
administratorLogin: string ,
administratorLoginPassword: string ,
version: enum ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ 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 ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}
,
]
,
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 ,
fullVersion: string ,
availabilityZone: string ,
createMode: enum ,
sourceServerResourceId: string ,
restorePointInTime: string ,
replicationRole: enum ,
replicaCapacity: integer ,
dataEncryption:
{
primaryUserAssignedIdentityId: string ,
primaryKeyURI: string ,
geoBackupUserAssignedIdentityId: string ,
geoBackupKeyURI: string ,
type: enum ,
}
,
state: enum ,
fullyQualifiedDomainName: string ,
databasePort: integer ,
storage:
{
storageSizeGB: integer ,
iops: integer ,
autoGrow: enum ,
logOnDisk: enum ,
storageSku: string ,
autoIoScaling: enum ,
storageRedundancy: enum ,
}
,
backup:
{
backupRetentionDays: integer ,
backupIntervalHours: integer ,
geoRedundantBackup: enum ,
earliestRestoreDate: string ,
}
,
highAvailability:
{
mode: enum ,
state: enum ,
standbyAvailabilityZone: string ,
}
,
network:
{
publicNetworkAccess: enum ,
delegatedSubnetResourceId: string ,
privateDnsZoneResourceId: string ,
}
,
privateEndpointConnections:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
maintenancePolicy:
{
patchStrategy: enum ,
}
,
maintenanceWindow:
{
customWindow: string ,
startHour: integer ,
startMinute: integer ,
dayOfWeek: integer ,
batchOfMaintenance: enum ,
}
,
importSourceProperties:
{
storageType: enum ,
storageUrl: string ,
sasToken: string ,
dataDirPath: string ,
}
,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}
LongRunningBackup_Create (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}/backupsV2/{backupName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
backupName: string ,
parameters:
{
properties:
{
backupNameV2: string ,
backupType: enum ,
completedTime: string ,
source: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
backupNameV2: string ,
backupType: enum ,
completedTime: string ,
source: string ,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
backupNameV2: string ,
backupType: enum ,
completedTime: string ,
source: string ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

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

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
properties:
{
backupNameV2: string ,
backupType: enum ,
completedTime: string ,
source: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
backupNameV2: string ,
backupType: enum ,
completedTime: string ,
source: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maintenances_Read (new)
Description Read maintenance.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
maintenanceType: enum ,
maintenanceState: enum ,
maintenanceStartTime: string ,
maintenanceEndTime: string ,
maintenanceExecutionStartTime: string ,
maintenanceExecutionEndTime: string ,
maintenanceAvailableScheduleMinTime: string ,
maintenanceAvailableScheduleMaxTime: string ,
maintenanceTitle: string ,
maintenanceDescription: string ,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maintenances_Update (new)
Description Update maintenances.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/maintenances/{maintenanceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
serverName: string ,
maintenanceName: string ,
parameters:
{
properties:
{
maintenanceStartTime: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
maintenanceType: enum ,
maintenanceState: enum ,
maintenanceStartTime: string ,
maintenanceEndTime: string ,
maintenanceExecutionStartTime: string ,
maintenanceExecutionEndTime: string ,
maintenanceAvailableScheduleMinTime: string ,
maintenanceAvailableScheduleMaxTime: string ,
maintenanceTitle: string ,
maintenanceDescription: string ,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Maintenances_List (new)
Description List maintenances.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
maintenanceType: enum ,
maintenanceState: enum ,
maintenanceStartTime: string ,
maintenanceEndTime: string ,
maintenanceExecutionStartTime: string ,
maintenanceExecutionEndTime: string ,
maintenanceAvailableScheduleMinTime: string ,
maintenanceAvailableScheduleMaxTime: string ,
maintenanceTitle: string ,
maintenanceDescription: string ,
provisioningState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Get (new)
Description Gets a private endpoint connection.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_CreateOrUpdate (new)
Description Approve or reject a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
{
resourceGroupName: string ,
serverName: string ,
privateEndpointConnectionName: string ,
parameters:
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateEndpointConnections_Delete (new)
Description Deletes a private endpoint connection with a given name.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/privateEndpointConnections/{privateEndpointConnectionName}
{
resourceGroupName: string ,
serverName: string ,
privateEndpointConnectionName: string ,
subscriptionId: string ,
api-version: 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 ,
}
,
]
,
}
,
}
PrivateEndpointConnections_ListByServer (new)
Description Gets all private endpoint connections on a server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
groupIds:
[
string ,
]
,
privateEndpoint:
{
id: string ,
}
,
privateLinkServiceConnectionState:
{
status: enum ,
description: string ,
actionsRequired: string ,
}
,
provisioningState: enum ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_ListByServer (new)
Description Lists the private link resources for MySQL server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
string ,
]
,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
PrivateLinkResources_Get (new)
Description Gets a private link resource for MySQL server.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
groupId: string ,
requiredMembers:
[
string ,
]
,
requiredZoneNames:
[
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 ,
minBackupIntervalHours: integer ,
maxBackupIntervalHours: 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 ,
minBackupIntervalHours: integer ,
maxBackupIntervalHours: integer ,
}
,
]
,
supportedSkus:
[
{
name: string ,
vCores: integer ,
supportedIops: integer ,
supportedMemoryPerVCoreMB: integer ,
supportedZones:
[
string ,
]
,
supportedHAMode:
[
string ,
]
,
}
,
]
,
}
,
]
,
supportedServerVersions:
[
{
name: string ,
}
,
]
,
supportedFeatures:
[
{
featureName: string ,
featureValue: 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 ,
minBackupIntervalHours: integer ,
maxBackupIntervalHours: integer ,
}
,
]
,
supportedSkus:
[
{
name: string ,
vCores: integer ,
supportedIops: integer ,
supportedMemoryPerVCoreMB: integer ,
supportedZones:
[
string ,
]
,
supportedHAMode:
[
string ,
]
,
}
,
]
,
}
,
]
,
supportedServerVersions:
[
{
name: string ,
}
,
]
,
supportedFeatures:
[
{
featureName: string ,
featureValue: 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 ,
}
,
]
,
}
,
}
OperationProgress_Get (new)
Description Get the operation result for a long running operation.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
properties:
{
objectType: enum ,
}
,
}

⚐ 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 ,
}
,
]
,
}
,
}