Share via


MockableRecoveryServicesSubscriptionResource.GetRecoveryServiceCapabilities Method

Definition

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 virtual Azure.Response<Azure.ResourceManager.RecoveryServices.Models.CapabilitiesResult> GetRecoveryServiceCapabilities (Azure.Core.AzureLocation location, Azure.ResourceManager.RecoveryServices.Models.ResourceCapabilities input, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRecoveryServiceCapabilities : Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServices.Models.ResourceCapabilities * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServices.Models.CapabilitiesResult>
override this.GetRecoveryServiceCapabilities : Azure.Core.AzureLocation * Azure.ResourceManager.RecoveryServices.Models.ResourceCapabilities * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServices.Models.CapabilitiesResult>
Public Overridable Function GetRecoveryServiceCapabilities (location As AzureLocation, input As ResourceCapabilities, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CapabilitiesResult)

Parameters

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

input is null.

Applies to