Partilhar via


NetworkFabricIPPrefixCollection.GetIfExists(String, CancellationToken) Método

Definição

Tenta obter detalhes para esse recurso do serviço.

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

Parâmetros

ipPrefixName
String

Nome do Prefixo de IP.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

ipPrefixName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

ipPrefixName é nulo.

Aplica-se a