Share via


MockableKeyVaultArmClient.GetKeyVaultResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a KeyVaultResource object.

Applies to