Share via


MockablePostgreSqlArmClient.GetPostgreSqlServerResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PostgreSqlServerResource object.

Applies to