Freigeben über


DataProtectionBackupExtensions.CheckDataProtectionBackupFeatureSupportAsync Methode

Definition

Überprüft, ob ein Feature unterstützt wird.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/checkFeatureSupport
  • Vorgang 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))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Die zu verwendende Zeichenfolge.

content
BackupFeatureValidationContentBase

Featureunterstützungsanforderungsobjekt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: