共用方式為


FeatureSupportOperationsExtensions.ValidateAsync Method

Definition

It will validate if given feature with resource properties is supported in service

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVMResourceFeatureSupportResponse> ValidateAsync (this Microsoft.Azure.Management.RecoveryServices.Backup.IFeatureSupportOperations operations, string azureRegion, Microsoft.Azure.Management.RecoveryServices.Backup.Models.FeatureSupportRequest parameters, System.Threading.CancellationToken cancellationToken = default);
static member ValidateAsync : Microsoft.Azure.Management.RecoveryServices.Backup.IFeatureSupportOperations * string * Microsoft.Azure.Management.RecoveryServices.Backup.Models.FeatureSupportRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.RecoveryServices.Backup.Models.AzureVMResourceFeatureSupportResponse>
<Extension()>
Public Function ValidateAsync (operations As IFeatureSupportOperations, azureRegion As String, parameters As FeatureSupportRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureVMResourceFeatureSupportResponse)

Parameters

operations
IFeatureSupportOperations

The operations group for this extension method.

azureRegion
String

Azure region to hit Api

parameters
FeatureSupportRequest

Feature support request object

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to