AzureSubnetResource.WithNetworkSecurityGroup
Method
type AzureSubnetResource interface { // ... 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 The resource builder.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: