Share via


MockableDesktopVirtualizationArmClient.GetSessionHostResource Method

Definition

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

public virtual Azure.ResourceManager.DesktopVirtualization.SessionHostResource GetSessionHostResource (Azure.Core.ResourceIdentifier id);
abstract member GetSessionHostResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DesktopVirtualization.SessionHostResource
override this.GetSessionHostResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.DesktopVirtualization.SessionHostResource
Public Overridable Function GetSessionHostResource (id As ResourceIdentifier) As SessionHostResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SessionHostResource object.

Applies to