次の方法で共有


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

定義

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

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}
  • 操作IdLiveOutputs_Get
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string liveOutputName, 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 (liveOutputName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

パラメーター

liveOutputName
String

ライブ出力の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

liveOutputName が null です。

適用対象