Partilhar via


ManagedNetworkFabricExtensions.GetNetworkFabricAsync Método

Definição

Obter detalhes do recurso do Network Fabric.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}
  • IdNetworkFabrics_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource>> GetNetworkFabricAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkFabricName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkFabricAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkFabricResource>>
<Extension()>
Public Function GetNetworkFabricAsync (resourceGroupResource As ResourceGroupResource, networkFabricName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkFabricResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

networkFabricName
String

Nome do Network Fabric.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

networkFabricName é nulo.

Aplica-se a