共用方式為


SecurityRulePropertiesFormatOutput interface

安全性規則資源。

屬性

access

允許或拒絕網路流量。

description

此規則的描述。 限制為140個字元。

destinationAddressPrefix

目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。

destinationAddressPrefixes

目的地位址前置詞。 CIDR 或目的地IP範圍。

destinationApplicationSecurityGroups

指定為目的地的應用程式安全組。

destinationPortRange

目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。

destinationPortRanges

目的地埠範圍。

direction

規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。

priority

規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。

protocol

此規則適用的網路協定。

provisioningState

安全性規則資源的布建狀態。

sourceAddressPrefix

CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。

sourceAddressPrefixes

CIDR 或來源IP範圍。

sourceApplicationSecurityGroups

指定為來源的應用程式安全組。

sourcePortRange

來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。

sourcePortRanges

來源埠範圍。

屬性詳細資料

access

允許或拒絕網路流量。

access: "Allow" | "Deny"

屬性值

"Allow" | "Deny"

description

此規則的描述。 限制為140個字元。

description?: string

屬性值

string

destinationAddressPrefix

目的地位址前置詞。 CIDR 或目的地IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。

destinationAddressPrefix?: string

屬性值

string

destinationAddressPrefixes

目的地位址前置詞。 CIDR 或目的地IP範圍。

destinationAddressPrefixes?: string[]

屬性值

string[]

destinationApplicationSecurityGroups

指定為目的地的應用程式安全組。

destinationApplicationSecurityGroups?: ApplicationSecurityGroupOutput[]

屬性值

destinationPortRange

目的地埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。

destinationPortRange?: string

屬性值

string

destinationPortRanges

目的地埠範圍。

destinationPortRanges?: string[]

屬性值

string[]

direction

規則的方向。 方向會指定規則是否會在傳入或傳出流量上進行評估。

direction: "Inbound" | "Outbound"

屬性值

"Inbound" | "Outbound"

priority

規則的優先順序。 此值可以介於 100 到 4096 之間。 集合中每個規則的優先順序號碼必須是唯一的。 優先順序數位越低,規則的優先順序就越高。

priority?: number

屬性值

number

protocol

此規則適用的網路協定。

protocol: "Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"

屬性值

"Tcp" | "Udp" | "Icmp" | "Esp" | "*" | "Ah"

provisioningState

安全性規則資源的布建狀態。

provisioningState?: "Succeeded" | "Updating" | "Deleting" | "Failed"

屬性值

"Succeeded" | "Updating" | "Deleting" | "Failed"

sourceAddressPrefix

CIDR 或來源IP範圍。 星號 『*』 也可以用來比對所有來源 IP。 您也可以使用默認標籤,例如 'VirtualNetwork'、'AzureLoadBalancer' 和 'Internet'。 如果這是輸入規則,請指定網路流量的來源。

sourceAddressPrefix?: string

屬性值

string

sourceAddressPrefixes

CIDR 或來源IP範圍。

sourceAddressPrefixes?: string[]

屬性值

string[]

sourceApplicationSecurityGroups

指定為來源的應用程式安全組。

sourceApplicationSecurityGroups?: ApplicationSecurityGroupOutput[]

屬性值

sourcePortRange

來源埠或範圍。 介於 0 到 65535 之間的整數或範圍。 星號 『*』 也可以用來比對所有埠。

sourcePortRange?: string

屬性值

string

sourcePortRanges

來源埠範圍。

sourcePortRanges?: string[]

屬性值

string[]