NetworkTapRuleCollection.GetIfExists(String, CancellationToken) メソッド

定義

サービスからこのリソースの詳細の取得を試みます。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkTapRules/{networkTapRuleName}
  • 操作IdNetworkTapRules_Get
public virtual Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource> GetIfExists (string networkTapRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>
override this.GetIfExists : string * System.Threading.CancellationToken -> Azure.NullableResponse<Azure.ResourceManager.ManagedNetworkFabric.NetworkTapRuleResource>
Public Overridable Function GetIfExists (networkTapRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As NullableResponse(Of NetworkTapRuleResource)

パラメーター

networkTapRuleName
String

ネットワーク タップ規則の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

networkTapRuleName が null です。

適用対象