Share via


MockableCosmosDBForPostgreSqlArmClient.GetCosmosDBForPostgreSqlRoleResource Method

Definition

Gets an object representing a CosmosDBForPostgreSqlRoleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a CosmosDBForPostgreSqlRoleResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CosmosDBForPostgreSqlRoleResource object.

Applies to