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