你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MockableComputeResourceGroupResource.GetVirtualMachines Method

Definition

Gets a collection of VirtualMachineResources in the ResourceGroupResource.

public virtual Azure.ResourceManager.Compute.VirtualMachineCollection GetVirtualMachines ();
abstract member GetVirtualMachines : unit -> Azure.ResourceManager.Compute.VirtualMachineCollection
override this.GetVirtualMachines : unit -> Azure.ResourceManager.Compute.VirtualMachineCollection
Public Overridable Function GetVirtualMachines () As VirtualMachineCollection

Returns

An object representing collection of VirtualMachineResources and their operations over a VirtualMachineResource.

Applies to