共用方式為


VirtualMachineExtensionImageCollection.GetAll Method

Definition

Overloads

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

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to

GetAll(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.Pageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource> GetAll (string type, string filter = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
override this.GetAll : string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.VirtualMachineExtensionImageResource>
Public Overridable Function GetAll (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 Pageable(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

A 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