Partager via


IPAllocationCollection.Get(String, String, CancellationToken) Méthode

Définition

Obtient l’ipAllocation spécifié par groupe de ressources.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • IdIpAllocations_Get d’opération
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)

Paramètres

ipAllocationName
String

Nom de l’ipAllocation.

expand
String

Développe les ressources référencées.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

ipAllocationName est une chaîne vide et devait être non vide.

ipAllocationName a la valeur null.

S’applique à