共用方式為


MockableSqlArmClient.GetSqlServerResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SqlServerResource object.

Applies to