VirtualMachineExtensionImageCollection.GetAllAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAllAsync(CancellationToken) |
Gets a list of virtual machine extension image types.
|
GetAllAsync(String, String, Nullable<Int32>, String, CancellationToken) |
Gets a list of virtual machine extension image versions.
|
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
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)
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
- filter
- String
The filter to apply on the operation.
- 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
Azure SDK for .NET