FrontDoorExperimentCollection.ExistsAsync(String, CancellationToken) メソッド

定義

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/NetworkExperimentProfiles/{profileName}/Experiments/{experimentName}
  • 操作IdExperiments_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string experimentName, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (experimentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

パラメーター

experimentName
String

実験に関連付けられている実験識別子。

cancellationToken
CancellationToken

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

戻り値

例外

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

experimentName が null です。

適用対象