Share via


StoragePoolExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.StoragePool.

public static class StoragePoolExtensions
type StoragePoolExtensions = class
Public Module StoragePoolExtensions
Inheritance
StoragePoolExtensions

Methods

GetDiskPool(ResourceGroupResource, String, CancellationToken)

Get a Disk pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}
  • Operation Id: DiskPools_Get
GetDiskPoolAsync(ResourceGroupResource, String, CancellationToken)

Get a Disk pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}
  • Operation Id: DiskPools_Get
GetDiskPoolIscsiTargetResource(ArmClient, ResourceIdentifier)

Gets an object representing a DiskPoolIscsiTargetResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a DiskPoolIscsiTargetResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiskPoolIscsiTargetResource(ResourceIdentifier) instead.

GetDiskPoolResource(ArmClient, ResourceIdentifier)

Gets an object representing a DiskPoolResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DiskPoolResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDiskPoolResource(ResourceIdentifier) instead.

GetDiskPools(ResourceGroupResource)

Gets a collection of DiskPoolResources in the ResourceGroupResource. MockingTo mock this method, please mock GetDiskPools() instead.

GetDiskPools(SubscriptionResource, CancellationToken)

Gets a list of Disk Pools in a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools
  • Operation Id: DiskPools_ListBySubscription
GetDiskPoolsAsync(SubscriptionResource, CancellationToken)

Gets a list of Disk Pools in a subscription

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/diskPools
  • Operation Id: DiskPools_ListBySubscription
GetDiskPoolZones(SubscriptionResource, AzureLocation, CancellationToken)

Lists available Disk Pool Skus in an Azure location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones
  • Operation Id: DiskPoolZones_List
GetDiskPoolZonesAsync(SubscriptionResource, AzureLocation, CancellationToken)

Lists available Disk Pool Skus in an Azure location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/diskPoolZones
  • Operation Id: DiskPoolZones_List
GetResourceSkus(SubscriptionResource, AzureLocation, CancellationToken)

Lists available StoragePool resources and skus in an Azure location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/skus
  • Operation Id: ResourceSkus_List
GetResourceSkusAsync(SubscriptionResource, AzureLocation, CancellationToken)

Lists available StoragePool resources and skus in an Azure location.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.StoragePool/locations/{location}/skus
  • Operation Id: ResourceSkus_List

Applies to