VirtualMachineExtensionImageCollection.GetAll 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
GetAll(CancellationToken) |
Gets a list of virtual machine extension image types.
|
GetAll(String, String, Nullable<Int32>, String, CancellationToken) |
Gets a list of virtual machine extension image versions.
|
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
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)
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
- filter
- String
The filter to apply on the operation.
- 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
Azure SDK for .NET