Share via


MockableCosmosDBForPostgreSqlArmClient.GetCosmosDBForPostgreSqlClusterResource Method

Definition

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

public virtual Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlClusterResource GetCosmosDBForPostgreSqlClusterResource (Azure.Core.ResourceIdentifier id);
abstract member GetCosmosDBForPostgreSqlClusterResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlClusterResource
override this.GetCosmosDBForPostgreSqlClusterResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CosmosDBForPostgreSql.CosmosDBForPostgreSqlClusterResource
Public Overridable Function GetCosmosDBForPostgreSqlClusterResource (id As ResourceIdentifier) As CosmosDBForPostgreSqlClusterResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CosmosDBForPostgreSqlClusterResource object.

Applies to