Compartilhar via


VirtualMachineScaleSetVmExtensionCollection Class

Definition

A class representing a collection of VirtualMachineScaleSetVmExtensionResource and their operations. Each VirtualMachineScaleSetVmExtensionResource in the collection will belong to the same instance of VirtualMachineScaleSetVmResource. To get a VirtualMachineScaleSetVmExtensionCollection instance call the GetVirtualMachineScaleSetVmExtensions method from an instance of VirtualMachineScaleSetVmResource.

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

Constructors

VirtualMachineScaleSetVmExtensionCollection()

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

The operation to create or update the VMSS VM extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}
  • Operation Id: VirtualMachineScaleSetVMExtensions_CreateOrUpdate
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetVmExtensionResource
CreateOrUpdateAsync(WaitUntil, String, VirtualMachineScaleSetVmExtensionData, CancellationToken)

The operation to create or update the VMSS VM extension.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

The operation to get the VMSS VM extension.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}
  • Operation Id: VirtualMachineScaleSetVMExtensions_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineScaleSetVmExtensionResource
GetAll(String, CancellationToken)

The operation to get all extensions of an instance in Virtual Machine Scaleset.

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

The operation to get all extensions of an instance in Virtual Machine Scaleset.

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

The operation to get the VMSS VM extension.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VirtualMachineScaleSetVmExtensionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to