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

定義

サービスからこのリソースの詳細を取得しようとします。

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

パラメーター

outboundRuleName
String

送信規則の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

outboundRuleName が null です。

適用対象