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