Compartilhar via


SecurityRulePropertiesFormat Class

Definition

Security rule resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.SecurityRulePropertiesFormatTypeConverter))]
public class SecurityRulePropertiesFormat : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ISecurityRulePropertiesFormat
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.SecurityRulePropertiesFormatTypeConverter))>]
type SecurityRulePropertiesFormat = class
    interface ISecurityRulePropertiesFormat
    interface IJsonSerializable
Public Class SecurityRulePropertiesFormat
Implements ISecurityRulePropertiesFormat
Inheritance
SecurityRulePropertiesFormat
Attributes
Implements

Constructors

SecurityRulePropertiesFormat()

Creates an new SecurityRulePropertiesFormat instance.

Properties

Access

The network traffic is allowed or denied.

Description

A description for this rule. Restricted to 140 chars.

DestinationAddressPrefix

The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used.

DestinationAddressPrefixes

The destination address prefixes. CIDR or destination IP ranges.

DestinationApplicationSecurityGroup

The application security group specified as destination.

DestinationPortRange

The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.

DestinationPortRanges

The destination port ranges.

Direction

The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.

Priority

The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.

Protocol

Network protocol this rule applies to.

ProvisioningState

The provisioning state of the security rule resource.

SourceAddressPrefix

The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from.

SourceAddressPrefixes

The CIDR or source IP ranges.

SourceApplicationSecurityGroup

The application security group specified as source.

SourcePortRange

The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports.

SourcePortRanges

The source port ranges.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecurityRulePropertiesFormat.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecurityRulePropertiesFormat.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ISecurityRulePropertiesFormat.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecurityRulePropertiesFormat into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to