ComputeExtensions.GetOffersVirtualMachineImagesEdgeZones 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.
Gets a list of virtual machine image offers for the specified location, edge zone and publisher. <item> Mocking. To mock this method, please mock GetOffersVirtualMachineImagesEdgeZones(AzureLocation, String, String, CancellationToken) instead. </item>
public static Azure.Pageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase> GetOffersVirtualMachineImagesEdgeZones(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string edgeZone, string publisherName, System.Threading.CancellationToken cancellationToken = default);
static member GetOffersVirtualMachineImagesEdgeZones : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Compute.Models.VirtualMachineImageBase>
<Extension()>
Public Function GetOffersVirtualMachineImagesEdgeZones (subscriptionResource As SubscriptionResource, location As AzureLocation, edgeZone As String, publisherName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of VirtualMachineImageBase)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource the method will execute against.
- location
- AzureLocation
The name of the Azure region.
- edgeZone
- String
The name of the edge zone.
- publisherName
- String
A valid image publisher.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of VirtualMachineImageBase that may take multiple service requests to iterate over.
Exceptions
edgeZone or publisherName is an empty string, and was expected to be non-empty.
subscriptionResource is null.