Freigeben über


RecoveryServicesBackupExtensions.ValidateFeatureSupport Methode

Definition

Es wird überprüft, ob ein bestimmtes Feature mit Ressourceneigenschaften im Dienst unterstützt wird.

  • Request Path/Subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures
  • Vorgang IdFeatureSupport_Validate
public static Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.VmResourceFeatureSupportResult> ValidateFeatureSupport (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServicesBackup.Models.FeatureSupportContent content, System.Threading.CancellationToken cancellationToken = default);
static member ValidateFeatureSupport : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServicesBackup.Models.FeatureSupportContent * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesBackup.Models.VmResourceFeatureSupportResult>
<Extension()>
Public Function ValidateFeatureSupport (subscriptionResource As SubscriptionResource, location As AzureLocation, content As FeatureSupportContent, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VmResourceFeatureSupportResult)

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den 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: