Share via


MockableRecoveryServicesArmClient.GetRecoveryServicesVaultResource Method

Definition

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.

public virtual Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource GetRecoveryServicesVaultResource (Azure.Core.ResourceIdentifier id);
abstract member GetRecoveryServicesVaultResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource
override this.GetRecoveryServicesVaultResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.RecoveryServices.RecoveryServicesVaultResource
Public Overridable Function GetRecoveryServicesVaultResource (id As ResourceIdentifier) As RecoveryServicesVaultResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a RecoveryServicesVaultResource object.

Applies to