Share via


RecoveryServicesExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.RecoveryServices.

public static class RecoveryServicesExtensions
type RecoveryServicesExtensions = class
Public Module RecoveryServicesExtensions
Inheritance
RecoveryServicesExtensions

Methods

CheckRecoveryServicesNameAvailability(ResourceGroupResource, AzureLocation, RecoveryServicesNameAvailabilityContent, CancellationToken)

API to check for resource name availability. A name is available if no other resource exists that has the same SubscriptionId, Resource Name and Type or if one or more such resources exist, each of these must be GC'd and their time of deletion be more than 24 Hours Ago

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{___location}/checkNameAvailability
  • Operation Id: RecoveryServices_CheckNameAvailability
  • Default Api Version: 2023-04-01
<item>MockingTo mock this method, please mock CheckRecoveryServicesNameAvailability(AzureLocation, RecoveryServicesNameAvailabilityContent, CancellationToken) instead.</item>
CheckRecoveryServicesNameAvailabilityAsync(ResourceGroupResource, AzureLocation, RecoveryServicesNameAvailabilityContent, CancellationToken)

API to check for resource name availability. A name is available if no other resource exists that has the same SubscriptionId, Resource Name and Type or if one or more such resources exist, each of these must be GC'd and their time of deletion be more than 24 Hours Ago

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/locations/{___location}/checkNameAvailability
  • Operation Id: RecoveryServices_CheckNameAvailability
  • Default Api Version: 2023-04-01
<item>MockingTo mock this method, please mock CheckRecoveryServicesNameAvailability(AzureLocation, RecoveryServicesNameAvailabilityContent, CancellationToken) instead.</item>
GetRecoveryServiceCapabilities(SubscriptionResource, AzureLocation, ResourceCapabilities, CancellationToken)

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
<item>MockingTo mock this method, please mock GetRecoveryServiceCapabilities(AzureLocation, ResourceCapabilities, CancellationToken) instead.</item>
GetRecoveryServiceCapabilitiesAsync(SubscriptionResource, AzureLocation, ResourceCapabilities, CancellationToken)

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
<item>MockingTo mock this method, please mock GetRecoveryServiceCapabilities(AzureLocation, ResourceCapabilities, CancellationToken) instead.</item>
GetRecoveryServicesPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a RecoveryServicesPrivateLinkResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a RecoveryServicesPrivateLinkResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetRecoveryServicesPrivateLinkResource(ResourceIdentifier) instead.</item>

GetRecoveryServicesVault(ResourceGroupResource, String, CancellationToken)

Get the Vault details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}
  • Operation Id: Vaults_Get
  • Default Api Version: 2023-04-01
  • Resource: RecoveryServicesVaultResource
<item>MockingTo mock this method, please mock GetRecoveryServicesVault(String, CancellationToken) instead.</item>
GetRecoveryServicesVaultAsync(ResourceGroupResource, String, CancellationToken)

Get the Vault details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}
  • Operation Id: Vaults_Get
  • Default Api Version: 2023-04-01
  • Resource: RecoveryServicesVaultResource
<item>MockingTo mock this method, please mock GetRecoveryServicesVaultAsync(String, CancellationToken) instead.</item>
GetRecoveryServicesVaultExtendedInfoResource(ArmClient, ResourceIdentifier)

Gets an object representing a RecoveryServicesVaultExtendedInfoResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a RecoveryServicesVaultExtendedInfoResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetRecoveryServicesVaultExtendedInfoResource(ResourceIdentifier) instead.</item>

GetRecoveryServicesVaultResource(ArmClient, ResourceIdentifier)

Gets an object representing a RecoveryServicesVaultResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a RecoveryServicesVaultResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetRecoveryServicesVaultResource(ResourceIdentifier) instead.</item>

GetRecoveryServicesVaults(ResourceGroupResource)

Gets a collection of RecoveryServicesVaultResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetRecoveryServicesVaults() instead.</item>

GetRecoveryServicesVaults(SubscriptionResource, CancellationToken)

Fetches all the resources of the specified type in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults
  • Operation Id: Vaults_ListBySubscriptionId
  • Default Api Version: 2023-04-01
  • Resource: RecoveryServicesVaultResource
<item>MockingTo mock this method, please mock GetRecoveryServicesVaults(CancellationToken) instead.</item>
GetRecoveryServicesVaultsAsync(SubscriptionResource, CancellationToken)

Fetches all the resources of the specified type in the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.RecoveryServices/vaults
  • Operation Id: Vaults_ListBySubscriptionId
  • Default Api Version: 2023-04-01
  • Resource: RecoveryServicesVaultResource
<item>MockingTo mock this method, please mock GetRecoveryServicesVaults(CancellationToken) instead.</item>

Applies to