Class AzureFirewallApplicationRuleProtocol
java.lang.Object
com.microsoft.azure.management.network.AzureFirewallApplicationRuleProtocol
Properties of the application rule protocol.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionport()
Get port number for the protocol, cannot be greater than 64000.Get protocol type.Set port number for the protocol, cannot be greater than 64000.withProtocolType
(AzureFirewallApplicationRuleProtocolType protocolType) Set protocol type.
-
Constructor Details
-
AzureFirewallApplicationRuleProtocol
public AzureFirewallApplicationRuleProtocol()
-
-
Method Details
-
protocolType
Get protocol type. Possible values include: 'Http', 'Https', 'Mssql'.- Returns:
- the protocolType value
-
withProtocolType
public AzureFirewallApplicationRuleProtocol withProtocolType(AzureFirewallApplicationRuleProtocolType protocolType) Set protocol type. Possible values include: 'Http', 'Https', 'Mssql'.- Parameters:
protocolType
- the protocolType value to set- Returns:
- the AzureFirewallApplicationRuleProtocol object itself.
-
port
Get port number for the protocol, cannot be greater than 64000. This field is optional.- Returns:
- the port value
-
withPort
Set port number for the protocol, cannot be greater than 64000. This field is optional.- Parameters:
port
- the port value to set- Returns:
- the AzureFirewallApplicationRuleProtocol object itself.
-