ProfileResourceFormatCollection.Exists メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/profiles/{profileName}
  • 操作IdProfiles_Get
public virtual Azure.Response<bool> Exists (string profileName, string localeCode = default, System.Threading.CancellationToken cancellationToken = default);
abstract member Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
override this.Exists : string * string * System.Threading.CancellationToken -> Azure.Response<bool>
Public Overridable Function Exists (profileName As String, Optional localeCode As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Boolean)

パラメーター

profileName
String

プロファイルの名前。

localeCode
String

取得するプロファイルのロケール。既定値は en-us です。

cancellationToken
CancellationToken

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

戻り値

例外

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

profileName が null です。

適用対象