Share via


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