MockableComputeArmClient.GetVirtualMachineRunCommandResource Method

Definition

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

public virtual Azure.ResourceManager.Compute.VirtualMachineRunCommandResource GetVirtualMachineRunCommandResource (Azure.Core.ResourceIdentifier id);
abstract member GetVirtualMachineRunCommandResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.VirtualMachineRunCommandResource
override this.GetVirtualMachineRunCommandResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Compute.VirtualMachineRunCommandResource
Public Overridable Function GetVirtualMachineRunCommandResource (id As ResourceIdentifier) As VirtualMachineRunCommandResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a VirtualMachineRunCommandResource object.

Applies to