Partilhar via


RecoveryServicesExtensions.GetRecoveryServiceCapabilitiesAsync Método

Definição

API para obter detalhes sobre os recursos fornecidos pelo RP Microsoft.RecoveryServices

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{location}/capabilities
  • Operação IdRecoveryServices_Capabilities
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))

Parâmetros

subscriptionResource
SubscriptionResource

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

location
AzureLocation

Local do recurso.

input
ResourceCapabilities

Contém informações sobre o tipo de recurso e as propriedades para obter recursos.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

input é nulo.

Aplica-se a