PureStorageBlockExtensions.GetPureStoragePoolAsync Method

Definition

Get a storage pool <item> Mocking. To mock this method, please mock GetPureStoragePoolAsync(String, CancellationToken) instead. </item>

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 the method will execute against.

storagePoolName
String

Name of the storage pool.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

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

resourceGroupResource is null.

Applies to