MockableComputeSubscriptionResource.GetVirtualMachineImagesEdgeZonesAsync 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
GetVirtualMachineImagesEdgeZonesAsync(SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions, CancellationToken) |
Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
|
GetVirtualMachineImagesEdgeZonesAsync(AzureLocation, String, String, String, String, String, Nullable<Int32>, String, CancellationToken) |
Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
|
GetVirtualMachineImagesEdgeZonesAsync(SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions, CancellationToken)
Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
- Operation Id: VirtualMachineImagesEdgeZone_List
- Default Api Version: 2024-07-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase> GetVirtualMachineImagesEdgeZonesAsync (Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineImagesEdgeZonesAsync : Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase>
override this.GetVirtualMachineImagesEdgeZonesAsync : Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase>
Public Overridable Function GetVirtualMachineImagesEdgeZonesAsync (options As SubscriptionResourceGetVirtualMachineImagesEdgeZonesOptions, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualMachineImageBase)
Parameters
A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of VirtualMachineImageBase that may take multiple service requests to iterate over.
Exceptions
options
is null.
Applies to
GetVirtualMachineImagesEdgeZonesAsync(AzureLocation, String, String, String, String, String, Nullable<Int32>, String, CancellationToken)
Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
- Operation Id: VirtualMachineImagesEdgeZone_List
public virtual Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase> GetVirtualMachineImagesEdgeZonesAsync (Azure.Core.AzureLocation location, string edgeZone, string publisherName, string offer, string skus, string expand = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineImagesEdgeZonesAsync : Azure.Core.AzureLocation * string * string * string * string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase>
override this.GetVirtualMachineImagesEdgeZonesAsync : Azure.Core.AzureLocation * string * string * string * string * string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase>
Public Overridable Function GetVirtualMachineImagesEdgeZonesAsync (location As AzureLocation, edgeZone As String, publisherName As String, offer As String, skus As String, Optional expand As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of VirtualMachineImageBase)
Parameters
- location
- AzureLocation
The name of a supported Azure region.
- edgeZone
- String
The name of the edge zone.
- publisherName
- String
A valid image publisher.
- offer
- String
A valid image publisher offer.
- skus
- String
A valid image SKU.
- expand
- String
The expand expression to apply on the operation.
An integer value specifying the number of images to return that matches supplied values.
- orderby
- String
Specifies the order of the results returned. Formatted as an OData query.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of VirtualMachineImageBase that may take multiple service requests to iterate over.
Exceptions
edgeZone
, publisherName
, offer
or skus
is an empty string, and was expected to be non-empty.
edgeZone
, publisherName
, offer
or skus
is null.
Applies to
Azure SDK for .NET