Share via


BatchAccountPoolCollection Class

Definition

A class representing a collection of BatchAccountPoolResource and their operations. Each BatchAccountPoolResource in the collection will belong to the same instance of BatchAccountResource. To get a BatchAccountPoolCollection instance call the GetBatchAccountPools method from an instance of BatchAccountResource.

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

Constructors

BatchAccountPoolCollection()

Initializes a new instance of the BatchAccountPoolCollection 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

CreateOrUpdate(WaitUntil, String, BatchAccountPoolData, Nullable<ETag>, String, CancellationToken)

Creates a new pool inside the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Create
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
CreateOrUpdateAsync(WaitUntil, String, BatchAccountPoolData, Nullable<ETag>, String, CancellationToken)

Creates a new pool inside the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Create
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
Get(String, CancellationToken)

Gets information about the specified pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
GetAll(Nullable<Int32>, String, String, CancellationToken)

Lists all of the pools in the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools
  • Operation Id: Pool_ListByBatchAccount
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
GetAllAsync(Nullable<Int32>, String, String, CancellationToken)

Lists all of the pools in the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools
  • Operation Id: Pool_ListByBatchAccount
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
GetAsync(String, CancellationToken)

Gets information about the specified pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/pools/{poolName}
  • Operation Id: Pool_Get
  • Default Api Version: 2024-07-01
  • Resource: BatchAccountPoolResource
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<BatchAccountPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<BatchAccountPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to