RecoveryServicesExtensions.GetRecoveryServiceCapabilitiesAsync 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.
API to get details about capabilities provided by Microsoft.RecoveryServices RP
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{location}/capabilities
- Operation Id: RecoveryServices_Capabilities
- Default Api Version: 2023-04-01
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServices.Models.CapabilitiesResult>> GetRecoveryServiceCapabilitiesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServices.Models.ResourceCapabilities input, System.Threading.CancellationToken cancellationToken = default);
static member GetRecoveryServiceCapabilitiesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServices.Models.ResourceCapabilities * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServices.Models.CapabilitiesResult>>
<Extension()>
Public Function GetRecoveryServiceCapabilitiesAsync (subscriptionResource As SubscriptionResource, location As AzureLocation, input As ResourceCapabilities, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CapabilitiesResult))
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- location
- AzureLocation
Location of the resource.
- input
- ResourceCapabilities
Contains information about Resource type and properties to get capabilities.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
subscriptionResource
or input
is null.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET