Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The MySQLSites resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.MySQLDiscovery/MySQLSites resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.MySQLDiscovery/MySQLSites@2024-09-30-preview' = {
extendedLocation: {
name: 'string'
type: 'string'
}
location: 'string'
name: 'string'
properties: {
masterSiteId: 'string'
migrateProjectId: 'string'
provisioningState: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.MySQLDiscovery/MySQLSites
| Name | Description | Value |
|---|---|---|
| extendedLocation | The extended location. | ExtendedLocation (required) |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-zA-Z0-9-]*$ (required) |
| properties | Resource properties. | MySQLSiteProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
MySQLSiteProperties
| Name | Description | Value |
|---|---|---|
| masterSiteId | The mapped master Site Id. | string (required) |
| migrateProjectId | The mapped migrate project Id. | string (required) |
| provisioningState | Gets or sets the provisioning state. | 'Canceled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Unknown' 'Updating' |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The MySQLSites resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.MySQLDiscovery/MySQLSites resource, add the following JSON to your template.
{
"type": "Microsoft.MySQLDiscovery/MySQLSites",
"apiVersion": "2024-09-30-preview",
"name": "string",
"extendedLocation": {
"name": "string",
"type": "string"
},
"location": "string",
"properties": {
"masterSiteId": "string",
"migrateProjectId": "string",
"provisioningState": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.MySQLDiscovery/MySQLSites
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2024-09-30-preview' |
| extendedLocation | The extended location. | ExtendedLocation (required) |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-zA-Z0-9-]*$ (required) |
| properties | Resource properties. | MySQLSiteProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.MySQLDiscovery/MySQLSites' |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
MySQLSiteProperties
| Name | Description | Value |
|---|---|---|
| masterSiteId | The mapped master Site Id. | string (required) |
| migrateProjectId | The mapped migrate project Id. | string (required) |
| provisioningState | Gets or sets the provisioning state. | 'Canceled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Unknown' 'Updating' |
TrackedResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The MySQLSites resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.MySQLDiscovery/MySQLSites resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.MySQLDiscovery/MySQLSites@2024-09-30-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
extendedLocation = {
name = "string"
type = "string"
}
properties = {
masterSiteId = "string"
migrateProjectId = "string"
provisioningState = "string"
}
}
}
Property Values
Microsoft.MySQLDiscovery/MySQLSites
| Name | Description | Value |
|---|---|---|
| extendedLocation | The extended location. | ExtendedLocation (required) |
| location | The geo-location where the resource lives | string (required) |
| name | The resource name | string Constraints: Min length = 3 Max length = 63 Pattern = ^[a-zA-Z0-9-]*$ (required) |
| properties | Resource properties. | MySQLSiteProperties (required) |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.MySQLDiscovery/MySQLSites@2024-09-30-preview" |
ExtendedLocation
| Name | Description | Value |
|---|---|---|
| name | The extended location name. | string |
| type | The extended location type. | string |
MySQLSiteProperties
| Name | Description | Value |
|---|---|---|
| masterSiteId | The mapped master Site Id. | string (required) |
| migrateProjectId | The mapped migrate project Id. | string (required) |
| provisioningState | Gets or sets the provisioning state. | 'Canceled' 'Creating' 'Deleting' 'Failed' 'Succeeded' 'Unknown' 'Updating' |
TrackedResourceTags
| Name | Description | Value |
|---|