你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AzureNetworkSecurityRuleConfigBase.Protocol Property

Definition

[System.Management.Automation.Parameter(HelpMessage="Rule protocol", Mandatory=false)]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.ValidateSet(new System.String[] { "Tcp", "Udp", "Icmp", "Esp", "Ah", "*" }, IgnoreCase=true)]
public string Protocol { get; set; }
[System.Management.Automation.Parameter(HelpMessage="Rule protocol", Mandatory=false)]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.ValidateSet(new System.String[] { "Tcp", "Udp", "*" }, IgnoreCase=true)]
public string Protocol { get; set; }
[<System.Management.Automation.Parameter(HelpMessage="Rule protocol", Mandatory=false)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.ValidateSet(new System.String[] { "Tcp", "Udp", "Icmp", "Esp", "Ah", "*" }, IgnoreCase=true)>]
member this.Protocol : string with get, set
[<System.Management.Automation.Parameter(HelpMessage="Rule protocol", Mandatory=false)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.ValidateSet(new System.String[] { "Tcp", "Udp", "*" }, IgnoreCase=true)>]
member this.Protocol : string with get, set
Public Property Protocol As String

Property Value

Attributes

Applies to