Share via


MockablePostgreSqlArmClient.GetPostgreSqlDatabaseResource Method

Definition

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

public virtual Azure.ResourceManager.PostgreSql.PostgreSqlDatabaseResource GetPostgreSqlDatabaseResource (Azure.Core.ResourceIdentifier id);
abstract member GetPostgreSqlDatabaseResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PostgreSql.PostgreSqlDatabaseResource
override this.GetPostgreSqlDatabaseResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PostgreSql.PostgreSqlDatabaseResource
Public Overridable Function GetPostgreSqlDatabaseResource (id As ResourceIdentifier) As PostgreSqlDatabaseResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PostgreSqlDatabaseResource object.

Applies to