Share via


FirewallRule Class

Definition

Represents a server firewall rule.

[Microsoft.Rest.Serialization.JsonTransformation]
public class FirewallRule : Microsoft.Azure.Management.MySQL.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type FirewallRule = class
    inherit ProxyResource
Public Class FirewallRule
Inherits ProxyResource
Inheritance
Attributes

Constructors

FirewallRule()

Initializes a new instance of the FirewallRule class.

FirewallRule(String, String, String, String, String)

Initializes a new instance of the FirewallRule class.

Properties

EndIpAddress

Gets or sets the end IP address of the server firewall rule. Must be IPv4 format.

Id

Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

(Inherited from Resource)
Name

Gets the name of the resource

(Inherited from Resource)
StartIpAddress

Gets or sets the start IP address of the server firewall rule. Must be IPv4 format.

Type

Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

(Inherited from Resource)

Methods

Validate()

Validate the object.

Applies to