Share via


MockableDesktopVirtualizationArmClient.GetUserSessionResource Method

Definition

Gets an object representing an UserSessionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String) to create an UserSessionResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a UserSessionResource object.

Applies to