Share via


CosmosDBExtensions.GetCosmosDBSqlClientEncryptionKeyResource Method

Definition

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

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CosmosDBSqlClientEncryptionKeyResource object.

Exceptions

client is null.

Applies to