Partilhar via


INetworkWatcher.GetSecurityGroupViewAsync(String, CancellationToken) Método

Definição

Obtém as regras de grupo de segurança configuradas e efetivas na VM especificada de forma assíncrona.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.ISecurityGroupView> GetSecurityGroupViewAsync (string vmId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityGroupViewAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Fluent.ISecurityGroupView>
Public Function GetSecurityGroupViewAsync (vmId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ISecurityGroupView)

Parâmetros

vmId
String

ID da VM de destino.

cancellationToken
CancellationToken

Retornos

Aplica-se a