Share via


PureStorageBlockExtensions.GetPureStoragePoolAsync Method

Definition

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-preview
  • Resource: PureStoragePoolResource
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PureStorageBlock.PureStoragePoolResource>> GetPureStoragePoolAsync(this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string storagePoolName, System.Threading.CancellationToken cancellationToken = default);
static member GetPureStoragePoolAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.PureStorageBlock.PureStoragePoolResource>>
<Extension()>
Public Function GetPureStoragePoolAsync (resourceGroupResource As ResourceGroupResource, storagePoolName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PureStoragePoolResource))

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

storagePoolName
String

Name of the storage pool.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

resourceGroupResource or storagePoolName is null.

storagePoolName is an empty string, and was expected to be non-empty.

Applies to