Microsoft.MySQLDiscovery (preview:2024-09-30)

2025/03/05 • 17 new methods

MySQLSites_Get (new)
Description Gets the MySQLSites resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
extendedLocation:
{
type: string ,
name: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLSites_CreateOrUpdate (new)
Description Puts the MySQLSites resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
body:
{
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
extendedLocation:
{
type: string ,
name: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
extendedLocation:
{
type: string ,
name: string ,
}
,
}

⚐ Response (201)

{
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
extendedLocation:
{
type: string ,
name: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLSites_Delete (new)
Description Deletes the MySQLSites resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLSites_Update (new)
Description Patch the MySQLSites resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
body:
{
tags: object ,
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
extendedLocation:
{
type: string ,
name: string ,
}
,
}

⚐ Response (202)

{
retry-after: integer ,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLSites_TriggerRefresh (new)
Description Trigger Refresh Refresh action
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/refresh
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLSites_ListByResourceGroup (new)
Description Lits the MySQLSites resource in a resource group.
Reference Link ¶

⚼ Request

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

⚐ Response (200)

{
value:
[
{
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
extendedLocation:
{
type: string ,
name: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLSites_ListBySubscription (new)
Description Lists the MySQLSites resource in a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.MySQLDiscovery/MySQLSites
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
masterSiteId: string ,
migrateProjectId: string ,
provisioningState: enum ,
}
,
extendedLocation:
{
type: string ,
name: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLServers_Get (new)
Description Gets the MySQLServers resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/MySQLServers/{serverName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
serverName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
hostIp:
[
string ,
]
,
machineId: string ,
portNumber: string ,
mysqlVersion: string ,
numberOfDatabase: integer ,
supportStatus: enum ,
edition: enum ,
supportEndIn: string ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
labels: object ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLServers_CreateOrUpdate (new)
Description Puts the MySQLServers resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/MySQLServers/{serverName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
serverName: string ,
api-version: string ,
body:
{
properties:
{
hostName: string ,
hostIp:
[
string ,
]
,
machineId: string ,
portNumber: string ,
mysqlVersion: string ,
numberOfDatabase: integer ,
supportStatus: enum ,
edition: enum ,
supportEndIn: string ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
labels: object ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
hostIp:
[
string ,
]
,
machineId: string ,
portNumber: string ,
mysqlVersion: string ,
numberOfDatabase: integer ,
supportStatus: enum ,
edition: enum ,
supportEndIn: string ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
labels: object ,
}
,
tags: object ,
}

⚐ Response (201)

{
properties:
{
hostName: string ,
hostIp:
[
string ,
]
,
machineId: string ,
portNumber: string ,
mysqlVersion: string ,
numberOfDatabase: integer ,
supportStatus: enum ,
edition: enum ,
supportEndIn: string ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
labels: object ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLServers_Delete (new)
Description Deletes the MySQLServers resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/MySQLServers/{serverName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
serverName: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLServers_Update (new)
Description Patch the MySQLServers resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/MySQLServers/{serverName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
serverName: string ,
api-version: string ,
body:
{
tags: object ,
properties:
{
hostName: string ,
hostIp:
[
string ,
]
,
machineId: string ,
portNumber: string ,
mysqlVersion: string ,
numberOfDatabase: integer ,
supportStatus: enum ,
edition: enum ,
supportEndIn: string ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
labels: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
hostName: string ,
hostIp:
[
string ,
]
,
machineId: string ,
portNumber: string ,
mysqlVersion: string ,
numberOfDatabase: integer ,
supportStatus: enum ,
edition: enum ,
supportEndIn: string ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
labels: object ,
}
,
tags: object ,
}

⚐ Response (202)

{
retry-after: integer ,
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
MySQLServers_ListBySite (new)
Description Lists the MySQLServers resource in MySQLSites.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/MySQLServers
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
hostName: string ,
hostIp:
[
string ,
]
,
machineId: string ,
portNumber: string ,
mysqlVersion: string ,
numberOfDatabase: integer ,
supportStatus: enum ,
edition: enum ,
supportEndIn: string ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
labels: object ,
}
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Summaries_Get (new)
Description Gets the Summaries resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/summaries/{summaryName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
summaryName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
discoveredServers: integer ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Summaries_ListBySite (new)
Description Lists the Summaries resource in MySQLSites.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/summaries
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
discoveredServers: integer ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
}
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ErrorSummaries_Get (new)
Description Gets the ErrorSummaries resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/errorSummaries/{errorSummaryName}
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
errorSummaryName: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
affectedObjectsCount: integer ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
}
,
tags: object ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ErrorSummaries_ListBySite (new)
Description Lists the ErrorSummaries resource in MySQLSites.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MySQLDiscovery/MySQLSites/{siteName}/errorSummaries
{
subscriptionId: string ,
resourceGroupName: string ,
siteName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
affectedObjectsCount: integer ,
errors:
[
{
id: string ,
code: string ,
summaryMessage: string ,
runAsAccountId: string ,
message: string ,
possibleCause: string ,
recommendedAction: string ,
severity: string ,
updatedTimeStamp: string ,
}
,
]
,
provisioningState: enum ,
}
,
tags: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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

⚼ Request

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

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

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