Partilhar via


VirtualMachineExtensionImageCollection Class

Definition

A class representing a collection of VirtualMachineExtensionImageResource and their operations. Each VirtualMachineExtensionImageResource in the collection will belong to the same instance of SubscriptionResource. To get a VirtualMachineExtensionImageCollection instance call the GetVirtualMachineExtensionImages method from an instance of SubscriptionResource.

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

Constructors

VirtualMachineExtensionImageCollection()

Initializes a new instance of the VirtualMachineExtensionImageCollection 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

Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
Get(String, String, CancellationToken)

Gets a virtual machine extension image.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
GetAll(CancellationToken)

Gets a list of virtual machine extension image types.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types
  • Operation Id: VirtualMachineExtensionImages_ListTypes
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
GetAll(String, String, Nullable<Int32>, String, CancellationToken)

Gets a list of virtual machine extension image versions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions
  • Operation Id: VirtualMachineExtensionImages_ListVersions
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
GetAllAsync(CancellationToken)

Gets a list of virtual machine extension image types.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types
  • Operation Id: VirtualMachineExtensionImages_ListTypes
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken)

Gets a list of virtual machine extension image versions.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions
  • Operation Id: VirtualMachineExtensionImages_ListVersions
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
GetAsync(String, String, CancellationToken)

Gets a virtual machine extension image.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmextension/types/{type}/versions/{version}
  • Operation Id: VirtualMachineExtensionImages_Get
  • Default Api Version: 2024-07-01
  • Resource: VirtualMachineExtensionImageResource
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<VirtualMachineExtensionImageResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VirtualMachineExtensionImageResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to