次の方法で共有


LoadBalancerResource.GetOutboundRule(String, CancellationToken) メソッド

定義

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

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

パラメーター

outboundRuleName
String

送信規則の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

outboundRuleName が null です。

適用対象