次の方法で共有


ProfileCollection.GetAsync(String, CancellationToken) メソッド

定義

指定したサブスクリプションとリソース グループの下に、指定したプロファイル名を持つ Azure Front Door Standard または Azure Front Door Premium または CDN プロファイルを取得します。

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

パラメーター

profileName
String

リソース グループ内で一意である Azure Front Door Standard または Azure Front Door Premium または CDN プロファイルの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

profileName が null です。

適用対象