Compartir a través de


IPAllocationCollection.GetIfExists(String, String, CancellationToken) Método

Definición

Intenta obtener detalles de este recurso del servicio.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • IdIpAllocations_Get de operación
public virtual Azure.NullableResponse<Azure.ResourceManager.Network.IPAllocationResource> GetIfExists (string ipAllocationName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.IPAllocationResource>
override this.GetIfExists : string * string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.Network.IPAllocationResource>
Public Overridable Function GetIfExists (ipAllocationName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of IPAllocationResource)

Parámetros

ipAllocationName
String

Nombre de IpAllocation.

expand
String

Expande los recursos a los que se hace referencia.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

ipAllocationName es una cadena vacía y se esperaba que no estuviera vacía.

ipAllocationName es null.

Se aplica a