Microsoft.DBForMySql flexibleServers 2020-07-01-preview
The flexibleServers resource type can be deployed to: Resource groups.
To learn about resource group deployments, see Bicep or ARM template.
Template format
To create a Microsoft.DBForMySql/flexibleServers resource, add the following Bicep or JSON to your template.
resource symbolicname 'Microsoft.DBForMySql/flexibleServers@2020-07-01-preview' = {
name: 'string'
location: 'string'
tags: {
tagName1: 'tagValue1'
tagName2: 'tagValue2'
}
sku: {
name: 'string'
tier: 'string'
}
identity: {
type: 'SystemAssigned'
}
properties: {
administratorLogin: 'string'
administratorLoginPassword: 'string'
availabilityZone: 'string'
createMode: 'string'
delegatedSubnetArguments: {
subnetArmResourceId: 'string'
}
haEnabled: 'string'
infrastructureEncryption: 'string'
maintenanceWindow: {
customWindow: 'string'
dayOfWeek: int
startHour: int
startMinute: int
}
privateDnsZoneArguments: {
privateDnsZoneArmResourceId: 'string'
}
replicationRole: 'string'
restorePointInTime: 'string'
sourceServerId: 'string'
sslEnforcement: 'string'
storageProfile: {
backupRetentionDays: int
storageAutogrow: 'string'
storageIops: int
storageMB: int
}
tags: {}
version: '5.7'
}
}
Property values
flexibleServers
| Name | Description | Value |
|---|---|---|
| type | The resource type For Bicep, set this value in the resource declaration. |
'Microsoft.DBForMySql/flexibleServers' |
| apiVersion | The resource api version For Bicep, set this value in the resource declaration. |
'2020-07-01-preview' |
| name | The resource name | string (required) |
| location | The geo-location where the resource lives | string (required) |
| tags | Resource tags. | Dictionary of tag names and values. See Tags in templates |
| sku | Billing information related properties of a server. | Sku |
| identity | Identity for the resource. | Identity |
| properties | The properties of a server. | ServerProperties |
Identity
| Name | Description | Value |
|---|---|---|
| type | The identity type. | 'SystemAssigned' |
ServerProperties
| Name | Description | Value |
|---|---|---|
| administratorLogin | The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation). | string |
| administratorLoginPassword | The password of the administrator login (required for server creation). | string |
| availabilityZone | availability Zone information of the server. | string |
| createMode | The mode to create a new MySQL server. | 'Default' 'PointInTimeRestore' 'Replica' |
| delegatedSubnetArguments | Delegated subnet arguments of a server | DelegatedSubnetArguments |
| haEnabled | Whether or not HA is enabled for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled' | 'Disabled' 'Enabled' |
| infrastructureEncryption | Add a second layer of encryption for your data using new encryption algorithm which gives additional data protection. Value is optional but if passed in, must be 'Disabled' or 'Enabled'. | 'Disabled' 'Enabled' |
| maintenanceWindow | Maintenance window of a server. | MaintenanceWindow |
| privateDnsZoneArguments | Private DNS zone arguments of a server | PrivateDnsZoneArguments |
| replicationRole | The replication role. | string |
| restorePointInTime | Restore point creation time (ISO8601 format), specifying the time to restore from. | string |
| sourceServerId | The source MySQL server id. | string |
| sslEnforcement | Enable ssl enforcement or not when connect to server. | 'Disabled' 'Enabled' |
| storageProfile | Storage Profile properties of a server | StorageProfile |
| tags | Application-specific metadata in the form of key-value pairs. | object |
| version | The version of a server. | '5.7' |
DelegatedSubnetArguments
| Name | Description | Value |
|---|---|---|
| subnetArmResourceId | delegated subnet arm resource id. | string |
MaintenanceWindow
| Name | Description | Value |
|---|---|---|
| customWindow | indicates whether custom window is enabled or disabled | string |
| dayOfWeek | day of week for maintenance window | int |
| startHour | start hour for maintenance window | int |
| startMinute | start minute for maintenance window | int |
PrivateDnsZoneArguments
| Name | Description | Value |
|---|---|---|
| privateDnsZoneArmResourceId | private dns zone arm resource id. | string |
StorageProfile
| Name | Description | Value |
|---|---|---|
| backupRetentionDays | Backup retention days for the server. | int |
| storageAutogrow | Enable Storage Auto Grow. | 'Disabled' 'Enabled' |
| storageIops | Storage IOPS for a server. | int |
| storageMB | Max storage allowed for a server. | int |
Sku
| Name | Description | Value |
|---|---|---|
| name | The name of the sku, e.g. Standard_D32s_v3. | string (required) |
| tier | The tier of the particular SKU, e.g. GeneralPurpose. | 'Burstable' 'GeneralPurpose' 'MemoryOptimized' |