次の方法で共有


RecoveryServicesBackupExtensions.ValidateFeatureSupportAsync メソッド

定義

リソース プロパティを持つ特定の機能がサービスでサポートされているかどうかを検証します

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures
  • 操作IdFeatureSupport_Validate
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.VmResourceFeatureSupportResult>> ValidateFeatureSupportAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesBackup.Models.FeatureSupportContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateFeatureSupportAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.FeatureSupportContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.VmResourceFeatureSupportResult>>
<Extension()>
Public Function ValidateFeatureSupportAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, content As FeatureSupportContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VmResourceFeatureSupportResult))

パラメーター

subscriptionResource
SubscriptionResource

SubscriptionResourceメソッドが実行されるインスタンス。

location
AzureLocation

Api をヒットする Azure リージョン。

content
FeatureSupportContent

機能サポート要求オブジェクト。

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象