Compartilhar via


NetworkGroupStaticMemberCollection.GetIfExists Método

Definição

Tenta obter detalhes desse recurso do serviço.

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