IPAllocationCollection.GetAsync(String, String, CancellationToken) メソッド

定義

指定した IpAllocation をリソース グループ別に取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}
  • 操作IdIpAllocations_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.IPAllocationResource>> GetAsync (string ipAllocationName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.IPAllocationResource>>
override this.GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.IPAllocationResource>>
Public Overridable Function GetAsync (ipAllocationName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IPAllocationResource))

パラメーター

ipAllocationName
String

IpAllocation の名前。

expand
String

参照先のリソースを展開します。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

ipAllocationName は空の文字列であり、空でないと想定されていました。

ipAllocationName が null です。

適用対象