共用方式為


HybridComputeMachineExtensionCollection Class

Definition

A class representing a collection of HybridComputeMachineExtensionResource and their operations. Each HybridComputeMachineExtensionResource in the collection will belong to the same instance of HybridComputeMachineResource. To get a HybridComputeMachineExtensionCollection instance call the GetHybridComputeMachineExtensions method from an instance of HybridComputeMachineResource.

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

Constructors

HybridComputeMachineExtensionCollection()

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

The operation to create or update the extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_CreateOrUpdate
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
CreateOrUpdateAsync(WaitUntil, String, HybridComputeMachineExtensionData, CancellationToken)

The operation to create or update the extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_CreateOrUpdate
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_Get
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_Get
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
Get(String, CancellationToken)

The operation to get the extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_Get
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
GetAll(String, CancellationToken)

The operation to get all extensions of a non-Azure machine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions
  • Operation Id: MachineExtensions_List
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
GetAllAsync(String, CancellationToken)

The operation to get all extensions of a non-Azure machine

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions
  • Operation Id: MachineExtensions_List
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
GetAsync(String, CancellationToken)

The operation to get the extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_Get
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_Get
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridCompute/machines/{machineName}/extensions/{extensionName}
  • Operation Id: MachineExtensions_Get
  • Default Api Version: 2024-07-10
  • Resource: HybridComputeMachineExtensionResource
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<HybridComputeMachineExtensionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<HybridComputeMachineExtensionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to