Поделиться через


PureStorageAvsVmCollection Class

Definition

A class representing a collection of PureStorageAvsVmResource and their operations. Each PureStorageAvsVmResource in the collection will belong to the same instance of PureStoragePoolResource. To get a PureStorageAvsVmCollection instance call the GetPureStorageAvsVms method from an instance of PureStoragePoolResource.

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

Constructors

PureStorageAvsVmCollection()

Initializes a new instance of the PureStorageAvsVmCollection 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

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms/{avsVmId}
  • Operation Id: AvsVm_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms/{avsVmId}
  • Operation Id: AvsVm_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
Get(String, CancellationToken)

Get an AVS VM

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms/{avsVmId}
  • Operation Id: AvsVm_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
GetAll(CancellationToken)

List AVS VMs by storage pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms
  • Operation Id: AvsVm_ListByStoragePool
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
GetAllAsync(CancellationToken)

List AVS VMs by storage pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms
  • Operation Id: AvsVm_ListByStoragePool
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
GetAsync(String, CancellationToken)

Get an AVS VM

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms/{avsVmId}
  • Operation Id: AvsVm_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms/{avsVmId}
  • Operation Id: AvsVm_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/PureStorage.Block/storagePools/{storagePoolName}/avsVms/{avsVmId}
  • Operation Id: AvsVm_Get
  • Default Api Version: 2024-11-01
  • Resource: PureStorageAvsVmResource
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<PureStorageAvsVmResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PureStorageAvsVmResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to