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
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
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
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
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. MockingTo mock this method, please mock GetRecoveryServicesPrivateLinkResource(ResourceIdentifier) instead.

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
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
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. MockingTo mock this method, please mock GetRecoveryServicesVaultExtendedInfoResource(ResourceIdentifier) instead.

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. MockingTo mock this method, please mock GetRecoveryServicesVaultResource(ResourceIdentifier) instead.

GetRecoveryServicesVaults(ResourceGroupResource)

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

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
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

Applies to