Freigeben über


IPAllocationCollection.Get(String, String, CancellationToken) Methode

Definition

Ruft die angegebene IpAllocation nach Ressourcengruppe ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • Vorgangs-IdIpAllocations_Get
public virtual Azure.Response<Azure.ResourceManager.Network.IPAllocationResource> Get (string ipAllocationName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.IPAllocationResource>
override this.Get : string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.IPAllocationResource>
Public Overridable Function Get (ipAllocationName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of IPAllocationResource)

Parameter

ipAllocationName
String

Der Name der IpAllocation.

expand
String

Erweitert die referenzierten Ressourcen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

ipAllocationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

ipAllocationName ist NULL.

Gilt für: