次の方法で共有


DataProtectionBackupExtensions.CheckDataProtectionBackupFeatureSupportAsync メソッド

定義

機能がサポートされているかどうかを検証します

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

パラメーター

subscriptionResource
SubscriptionResource

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

location
AzureLocation

使用する文字列。

content
BackupFeatureValidationContentBase

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

cancellationToken
CancellationToken

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

戻り値

例外

content が null です。

適用対象