WithNetworkSecurityGroup
Method
func (AzureSubnetResource) WithNetworkSecurityGroup(nsg AzureNetworkSecurityGroupResource) AzureSubnetResourceSignature
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 The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: