Udostępnij za pośrednictwem


DiskPoolCollection Class

Definition

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

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

Constructors

DiskPoolCollection()

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

Create or Update Disk pool. This create or update operation can take 15 minutes to complete. This is expected service behavior.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}
  • Operation Id: DiskPools_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, DiskPoolCreateOrUpdateContent, CancellationToken)

Create or Update Disk pool. This create or update operation can take 15 minutes to complete. This is expected service behavior.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Get a Disk pool.

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

Gets a list of DiskPools in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools
  • Operation Id: DiskPools_ListByResourceGroup
GetAllAsync(CancellationToken)

Gets a list of DiskPools in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools
  • Operation Id: DiskPools_ListByResourceGroup
GetAsync(String, CancellationToken)

Get a Disk pool.

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

Tries to get details for this resource from the service.

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

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StoragePool/diskPools/{diskPoolName}
  • Operation Id: DiskPools_Get
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<DiskPoolResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DiskPoolResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to