Partilhar via


RecoveryServicesBackupExtensions.ValidateFeatureSupportAsync Método

Definição

Ele validará se há suporte para o recurso fornecido com propriedades de recurso no serviço

  • Caminho da Solicitação/Assinaturas/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{azureRegion}/backupValidateFeatures
  • Operação 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))

Parâmetros

subscriptionResource
SubscriptionResource

A SubscriptionResource instância em que o método será executado.

location
AzureLocation

Região do Azure para atingir a API.

content
FeatureSupportContent

Objeto de solicitação de suporte de recurso.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a