FeatureSupportOperationsExtensions.ValidateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET