Share via


LargeInstanceExtensions.GetLargeInstances Method

Definition

Overloads

GetLargeInstances(ResourceGroupResource)

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

GetLargeInstances(SubscriptionResource, CancellationToken)

Gets a list of Azure Large Instances in the specified subscription. The operations returns various properties of each Azure Large Instance.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeInstances
  • Operation Id: AzureLargeInstance_ListBySubscription
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource

GetLargeInstances(ResourceGroupResource)

Source:
LargeInstanceExtensions.cs

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

public static Azure.ResourceManager.LargeInstance.LargeInstanceCollection GetLargeInstances (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetLargeInstances : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.LargeInstance.LargeInstanceCollection
<Extension()>
Public Function GetLargeInstances (resourceGroupResource As ResourceGroupResource) As LargeInstanceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of LargeInstanceResources and their operations over a LargeInstanceResource.

Exceptions

resourceGroupResource is null.

Applies to

GetLargeInstances(SubscriptionResource, CancellationToken)

Source:
LargeInstanceExtensions.cs

Gets a list of Azure Large Instances in the specified subscription. The operations returns various properties of each Azure Large Instance.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzureLargeInstance/azureLargeInstances
  • Operation Id: AzureLargeInstance_ListBySubscription
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
public static Azure.Pageable<Azure.ResourceManager.LargeInstance.LargeInstanceResource> GetLargeInstances (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetLargeInstances : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.LargeInstance.LargeInstanceResource>
<Extension()>
Public Function GetLargeInstances (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of LargeInstanceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to