Delen via


MockableSqlVirtualMachineArmClient.GetSqlVmResource Method

Definition

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

public virtual Azure.ResourceManager.SqlVirtualMachine.SqlVmResource GetSqlVmResource (Azure.Core.ResourceIdentifier id);
abstract member GetSqlVmResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SqlVirtualMachine.SqlVmResource
override this.GetSqlVmResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.SqlVirtualMachine.SqlVmResource
Public Overridable Function GetSqlVmResource (id As ResourceIdentifier) As SqlVmResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SqlVmResource object.

Applies to