Condividi tramite


HciEdgeDeviceCollection Class

Definition

A class representing a collection of HciEdgeDeviceResource and their operations. Each HciEdgeDeviceResource in the collection will belong to the same instance of ArmResource. To get a HciEdgeDeviceCollection instance call the GetHciEdgeDevices method from an instance of ArmResource.

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

Constructors

HciEdgeDeviceCollection()

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

Create a EdgeDevice

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
CreateOrUpdateAsync(WaitUntil, String, HciEdgeDeviceData, CancellationToken)

Create a EdgeDevice

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_CreateOrUpdate
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
Get(String, CancellationToken)

Get a EdgeDevice

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
GetAll(CancellationToken)

List EdgeDevice resources by parent

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices
  • Operation Id: EdgeDevices_List
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
GetAllAsync(CancellationToken)

List EdgeDevice resources by parent

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices
  • Operation Id: EdgeDevices_List
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
GetAsync(String, CancellationToken)

Get a EdgeDevice

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.AzureStackHCI/edgeDevices/{edgeDeviceName}
  • Operation Id: EdgeDevices_Get
  • Default Api Version: 2024-04-01
  • Resource: HciEdgeDeviceResource
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<HciEdgeDeviceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HciEdgeDeviceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to