Compartilhar via


NetworkGroupStaticMemberCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém o membro estático especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}
  • Operação IdStaticMembers_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkGroupStaticMemberResource>> GetAsync (string staticMemberName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkGroupStaticMemberResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkGroupStaticMemberResource>>
Public Overridable Function GetAsync (staticMemberName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkGroupStaticMemberResource))

Parâmetros

staticMemberName
String

O nome do membro estático.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

staticMemberName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

staticMemberName é nulo.

Aplica-se a