Compartilhar via


VirtualMachineExtensionImageCollection.GetAllAsync Method

Definition

Overloads

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

GetAllAsync(CancellationToken)

Source:
VirtualMachineExtensionImageCollection.cs
Source:
VirtualMachineExtensionImageCollection.cs

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
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualMachineExtensionImageResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of VirtualMachineExtensionImageResource that may take multiple service requests to iterate over.

Applies to

GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken)

Source:
VirtualMachineExtensionImageCollection.cs
Source:
VirtualMachineExtensionImageCollection.cs

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
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource> GetAllAsync (string type, string filter = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
override this.GetAllAsync : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
Public Overridable Function GetAllAsync (type As String, Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualMachineExtensionImageResource)

Parameters

type
String

The String to use.

filter
String

The filter to apply on the operation.

top
Nullable<Int32>

The Int32? to use.

orderby
String

The String to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of VirtualMachineExtensionImageResource that may take multiple service requests to iterate over.

Exceptions

type is an empty string, and was expected to be non-empty.

type is null.

Applies to