PureStorageBlockExtensions.GetPureStoragePool Method

Definition

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

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