Share via


MockableSqlArmClient.GetSqlDatabaseResource(ResourceIdentifier) Method

Definition

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

public virtual Azure.ResourceManager.Sql.SqlDatabaseResource GetSqlDatabaseResource (Azure.Core.ResourceIdentifier id);
abstract member GetSqlDatabaseResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.SqlDatabaseResource
override this.GetSqlDatabaseResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.SqlDatabaseResource
Public Overridable Function GetSqlDatabaseResource (id As ResourceIdentifier) As SqlDatabaseResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SqlDatabaseResource object.

Applies to