INetworkSecurityGroupOperations.GetForSubnetAsync 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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse> GetForSubnetAsync (string virtualNetworkName, string subnetName, System.Threading.CancellationToken cancellationToken);
abstract member GetForSubnetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse>
Public Function GetForSubnetAsync (virtualNetworkName As String, subnetName As String, cancellationToken As CancellationToken) As Task(Of NetworkSecurityGroupGetAssociationResponse)
Parameters
- virtualNetworkName
- String
- subnetName
- String
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Network Security Group associated with an entity: subnet, network interface or role.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET