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

定義

指定したロード バランサーの送信規則を取得します。

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

パラメーター

outboundRuleName
String

送信規則の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

outboundRuleName が null です。

適用対象