Partilhar via


NetworkFabricL2IsolationDomainCollection.GetIfExistsAsync Método

Definição

Tenta obter detalhes desse recurso do serviço.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/l2IsolationDomains/{l2IsolationDomainName}
  • IdL2IsolationDomains_Get de operação
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricL2IsolationDomainResource>> GetIfExistsAsync (string l2IsolationDomainName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricL2IsolationDomainResource>>
override this.GetIfExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricL2IsolationDomainResource>>
Public Overridable Function GetIfExistsAsync (l2IsolationDomainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of NetworkFabricL2IsolationDomainResource))

Parâmetros

l2IsolationDomainName
String

Nome do Domínio de Isolamento L2.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

l2IsolationDomainName é nulo.

Aplica-se a