Share via


MockableDesktopVirtualizationArmClient.GetVirtualDesktopResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualDesktopResource object.

Applies to