Share via


LargeInstanceCollection Class

Definition

A class representing a collection of LargeInstanceResource and their operations. Each LargeInstanceResource in the collection will belong to the same instance of ResourceGroupResource. To get a LargeInstanceCollection instance call the GetLargeInstances method from an instance of ResourceGroupResource.

public class LargeInstanceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.LargeInstance.LargeInstanceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.LargeInstance.LargeInstanceResource>
type LargeInstanceCollection = class
    inherit ArmCollection
    interface seq<LargeInstanceResource>
    interface IEnumerable
    interface IAsyncEnumerable<LargeInstanceResource>
Public Class LargeInstanceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of LargeInstanceResource), IEnumerable(Of LargeInstanceResource)
Inheritance
LargeInstanceCollection
Implements

Constructors

LargeInstanceCollection()

Initializes a new instance of the LargeInstanceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}
  • Operation Id: AzureLargeInstance_Get
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}
  • Operation Id: AzureLargeInstance_Get
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
Get(String, CancellationToken)

Gets an Azure Large Instance for the specified subscription, resource group, and instance name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}
  • Operation Id: AzureLargeInstance_Get
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
GetAll(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances
  • Operation Id: AzureLargeInstance_ListByResourceGroup
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
GetAllAsync(CancellationToken)

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances
  • Operation Id: AzureLargeInstance_ListByResourceGroup
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
GetAsync(String, CancellationToken)

Gets an Azure Large Instance for the specified subscription, resource group, and instance name.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}
  • Operation Id: AzureLargeInstance_Get
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}
  • Operation Id: AzureLargeInstance_Get
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureLargeInstance/azureLargeInstances/{azureLargeInstanceName}
  • Operation Id: AzureLargeInstance_Get
  • Default Api Version: 2023-07-20-preview
  • Resource: LargeInstanceResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<LargeInstanceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<LargeInstanceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to