Share via


VirtualMachineScaleSetExtensionCollection Class

Definition

A class representing a collection of VirtualMachineScaleSetExtensionResource and their operations. Each VirtualMachineScaleSetExtensionResource in the collection will belong to the same instance of VirtualMachineScaleSetResource. To get a VirtualMachineScaleSetExtensionCollection instance call the GetVirtualMachineScaleSetExtensions method from an instance of VirtualMachineScaleSetResource.

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

Constructors

VirtualMachineScaleSetExtensionCollection()

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

The operation to create or update an extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
CreateOrUpdateAsync(WaitUntil, String, VirtualMachineScaleSetExtensionData, CancellationToken)

The operation to create or update an extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
Get(String, String, CancellationToken)

The operation to get the extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
GetAll(CancellationToken)

Gets a list of all extensions in a VM scale set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions
  • Operation Id: VirtualMachineScaleSetExtensions_List
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
GetAllAsync(CancellationToken)

Gets a list of all extensions in a VM scale set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions
  • Operation Id: VirtualMachineScaleSetExtensions_List
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
GetAsync(String, String, CancellationToken)

The operation to get the extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/extensions/{vmssExtensionName}
  • Operation Id: VirtualMachineScaleSetExtensions_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetExtensionResource
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<VirtualMachineScaleSetExtensionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VirtualMachineScaleSetExtensionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to