Freigeben über


RecoveryServicesBackupExtensions.ValidateFeatureSupportAsync Methode

Definition

Es wird überprüft, ob das angegebene Feature mit Ressourceneigenschaften im Dienst unterstützt wird.

  • Anforderungspfad/Abonnements/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures
  • Vorgangs-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))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance die -Methode ausgeführt wird.

location
AzureLocation

Azure-Region, um api zu erreichen.

content
FeatureSupportContent

Featureunterstützungsanforderungsobjekt.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

content ist NULL.

Gilt für: