NetworkSecurityGroupOperationsExtensions.GetForSubnet Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the Network Security Group applied to a specific subnet.
public static Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse GetForSubnet (this Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations operations, string virtualNetworkName, string subnetName);
static member GetForSubnet : Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations * string * string -> Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse
<Extension()>
Public Function GetForSubnet (operations As INetworkSecurityGroupOperations, virtualNetworkName As String, subnetName As String) As NetworkSecurityGroupGetAssociationResponse
Parameters
- operations
- INetworkSecurityGroupOperations
Reference to the Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations.
- virtualNetworkName
- String
Required.
- subnetName
- String
Required.
Returns
The Network Security Group associated with an entity: subnet, network interface or role.