Share via


HciClusterUpdateCollection Class

Definition

A class representing a collection of HciClusterUpdateResource and their operations. Each HciClusterUpdateResource in the collection will belong to the same instance of HciClusterResource. To get a HciClusterUpdateCollection instance call the GetHciClusterUpdates method from an instance of HciClusterResource.

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

Constructors

HciClusterUpdateCollection()

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

Put specified Update

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Put
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
CreateOrUpdateAsync(WaitUntil, String, HciClusterUpdateData, CancellationToken)

Put specified Update

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Put
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
Get(String, CancellationToken)

Get specified Update

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
GetAll(CancellationToken)

List all Updates

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates
  • Operation Id: Updates_List
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
GetAllAsync(CancellationToken)

List all Updates

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates
  • Operation Id: Updates_List
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
GetAsync(String, CancellationToken)

Get specified Update

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/updates/{updateName}
  • Operation Id: Updates_Get
  • Default Api Version: 2024-04-01
  • Resource: HciClusterUpdateResource
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<HciClusterUpdateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HciClusterUpdateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to