withSecurityRule
Method
interface AzureNetworkSecurityGroupResource { // ... omitted for brevity withSecurityRule(rule: AzureSecurityRule): AzureNetworkSecurityGroupResource;}Signature
method
withSecurityRule builder Adds a security rule to the Network Security Group.
withSecurityRule(rule: AzureSecurityRule): AzureNetworkSecurityGroupResourceParameters
rule AzureSecurityRule Returns
AzureNetworkSecurityGroupResource Applies to
This method applies to the following types: