次の方法で共有


ArcScVmmExtensions.GetScVmmVirtualMachines Method

Definition

Overloads

GetScVmmVirtualMachines(ResourceGroupResource)

Gets a collection of ScVmmVirtualMachineResources in the ResourceGroupResource. MockingTo mock this method, please mock GetScVmmVirtualMachines() instead.

GetScVmmVirtualMachines(SubscriptionResource, CancellationToken)

List of VirtualMachines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines
  • Operation Id: VirtualMachines_ListBySubscription

GetScVmmVirtualMachines(ResourceGroupResource)

Source:
ArcScVmmExtensions.cs

Gets a collection of ScVmmVirtualMachineResources in the ResourceGroupResource. MockingTo mock this method, please mock GetScVmmVirtualMachines() instead.

public static Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineCollection GetScVmmVirtualMachines (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetScVmmVirtualMachines : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineCollection
<Extension()>
Public Function GetScVmmVirtualMachines (resourceGroupResource As ResourceGroupResource) As ScVmmVirtualMachineCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of ScVmmVirtualMachineResources and their operations over a ScVmmVirtualMachineResource.

Exceptions

resourceGroupResource is null.

Applies to

GetScVmmVirtualMachines(SubscriptionResource, CancellationToken)

Source:
ArcScVmmExtensions.cs

List of VirtualMachines in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.ScVmm/virtualMachines
  • Operation Id: VirtualMachines_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineResource> GetScVmmVirtualMachines (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetScVmmVirtualMachines : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.ArcScVmm.ScVmmVirtualMachineResource>
<Extension()>
Public Function GetScVmmVirtualMachines (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ScVmmVirtualMachineResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of ScVmmVirtualMachineResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to