Udostępnij za pośrednictwem


KeyVaultExtensions.GetDeletedKeyVaultResource Method

Definition

Gets an object representing a DeletedKeyVaultResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a DeletedKeyVaultResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDeletedKeyVaultResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.KeyVault.DeletedKeyVaultResource GetDeletedKeyVaultResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetDeletedKeyVaultResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.KeyVault.DeletedKeyVaultResource
<Extension()>
Public Function GetDeletedKeyVaultResource (client As ArmClient, id As ResourceIdentifier) As DeletedKeyVaultResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DeletedKeyVaultResource object.

Exceptions

client is null.

Applies to