FirewallRule Class

Definition

Represents a server firewall rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.FirewallRuleTypeConverter))]
public class FirewallRule : Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IFirewallRule, Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.FirewallRuleTypeConverter))>]
type FirewallRule = class
    interface IFirewallRule
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class FirewallRule
Implements IFirewallRule, IValidates
Inheritance
FirewallRule
Attributes
Implements

Constructors

FirewallRule()

Creates an new FirewallRule instance.

Properties

EndIPAddress

The end IP address of the server firewall rule. Must be IPv4 format.

Id

Resource ID

Name

Resource name.

StartIPAddress

The start IP address of the server firewall rule. Must be IPv4 format.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of FirewallRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of FirewallRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MariaDb.Models.Api20180601Preview.IFirewallRule.

FromJsonString(String)

Creates a new instance of FirewallRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of FirewallRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to