AzureSubnetResource.withNetworkSecurityGroup
Method
interface AzureSubnetResource { // ... omitted for brevity withNetworkSecurityGroup(nsg: AzureNetworkSecurityGroupResource): AzureSubnetResource;}Signature
method
withNetworkSecurityGroup builderAssociates a Network Security Group with the subnet.
withNetworkSecurityGroup(nsg: AzureNetworkSecurityGroupResource): AzureSubnetResourceParameters
nsgAzureNetworkSecurityGroupResource The Network Security Group to associate with the subnet.Returns
AzureSubnetResource Defined on
This method is defined on the following type: