Freigeben über


RecoveryServicesExtensions.GetRecoveryServiceCapabilitiesAsync Methode

Definition

API zum Abrufen von Details zu funktionen, die von Microsoft.RecoveryServices RP bereitgestellt werden

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/locations/{location}/capabilities
  • Vorgang 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))

Parameter

subscriptionResource
SubscriptionResource

Der SubscriptionResource instance, für den die Methode ausgeführt wird.

location
AzureLocation

Speicherort der Ressource.

input
ResourceCapabilities

Enthält Informationen zu Ressourcentyp und Eigenschaften zum Abrufen von Funktionen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

input ist NULL.

Gilt für: