Share via


MockableKeyVaultArmClient.GetManagedHsmResource(ResourceIdentifier) Method

Definition

Gets an object representing a ManagedHsmResource 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 ManagedHsmResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.KeyVault.ManagedHsmResource GetManagedHsmResource (Azure.Core.ResourceIdentifier id);
abstract member GetManagedHsmResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.KeyVault.ManagedHsmResource
override this.GetManagedHsmResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.KeyVault.ManagedHsmResource
Public Overridable Function GetManagedHsmResource (id As ResourceIdentifier) As ManagedHsmResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a ManagedHsmResource object.

Applies to