次の方法で共有


ProfileResource.GetFrontDoorRuleSetAsync(String, CancellationToken) メソッド

定義

指定したサブスクリプション、リソース グループ、およびプロファイルの下で、指定したルール セット名を持つ既存の AzureFrontDoor ルール セットを取得します。

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

パラメーター

ruleSetName
String

グローバルに一意のプロファイルの下にあるルール セットの名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

ruleSetName が null です。

適用対象