Sdílet prostřednictvím


ISecurityRule Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.SecurityRuleTypeConverter))]
public interface ISecurityRule : Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.ISubResourceAutoGenerated
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.CloudService.Models.Api20210301.SecurityRuleTypeConverter))>]
type ISecurityRule = interface
    interface IJsonSerializable
    interface ISubResourceAutoGenerated
Public Interface ISecurityRule
Implements ISubResourceAutoGenerated
Derived
Attributes
Implements

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.

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.

Direction

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

Etag

A unique read-only string that changes whenever the resource is updated.

Id

Resource ID.

(Inherited from ISubResourceAutoGenerated)
Name

The name of the resource that is unique within a resource group. This name can be used to access the resource.

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.

PropertiesDestinationAddressPrefixes

The destination address prefixes. CIDR or destination IP ranges.

PropertiesDestinationPortRanges

The destination port ranges.

PropertiesSourceAddressPrefixes

The CIDR or source IP ranges.

PropertiesSourcePortRanges

The source port ranges.

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.

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.

Type

The type of the resource.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to