Microsoft.DBForMySql flexibleServers/firewallRules 2020-07-01-preview

The flexibleServers/firewallRules 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/firewallRules resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.DBForMySql/flexibleServers/firewallRules@2020-07-01-preview' = {
  name: 'string'
  properties: {
    endIpAddress: 'string'
    startIpAddress: 'string'
  }
}

Property values

flexibleServers/firewallRules

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.DBForMySql/flexibleServers/firewallRules'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2020-07-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties The properties of a server firewall rule. FirewallRuleProperties (required)

FirewallRuleProperties

Name Description Value
endIpAddress The end IP address of the server firewall rule. Must be IPv4 format. string (required)
startIpAddress The start IP address of the server firewall rule. Must be IPv4 format. string (required)