Поделиться через


PureStoragePoolCollection Class

Definition

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

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

Constructors

PureStoragePoolCollection()

Initializes a new instance of the PureStoragePoolCollection 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, PureStoragePoolData, CancellationToken)

Create a storage pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Create
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
CreateOrUpdateAsync(WaitUntil, String, PureStoragePoolData, CancellationToken)

Create a storage pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Create
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
Get(String, CancellationToken)

Get a storage pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
GetAll(CancellationToken)

List storage pools by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools
  • Operation Id: StoragePool_ListByResourceGroup
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
GetAllAsync(CancellationToken)

List storage pools by resource group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools
  • Operation Id: StoragePool_ListByResourceGroup
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
GetAsync(String, CancellationToken)

Get a storage pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}
  • Operation Id: StoragePool_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStoragePoolResource
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<PureStoragePoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PureStoragePoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to