Compartilhar via


NetworkFabricCollection.GetIfExists(String, CancellationToken) Método

Definição

Tenta obter detalhes desse recurso do serviço.

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

Parâmetros

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