MockableComputeSubscriptionResource.GetVirtualMachineImagesEdgeZone Method

Definition

Overloads

GetVirtualMachineImagesEdgeZone(AzureLocation, String, String, String, String, String, CancellationToken)

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
GetVirtualMachineImagesEdgeZone(SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, CancellationToken)

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
  • Default Api Version: 2024-07-01

GetVirtualMachineImagesEdgeZone(AzureLocation, String, String, String, String, String, CancellationToken)

Source:
MockableComputeSubscriptionResource.cs
Source:
MockableComputeSubscriptionResource.cs

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
public virtual Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage> GetVirtualMachineImagesEdgeZone (Azure.Core.AzureLocation location, string edgeZone, string publisherName, string offer, string skus, string version, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineImagesEdgeZone : Azure.Core.AzureLocation * string * string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage>
override this.GetVirtualMachineImagesEdgeZone : Azure.Core.AzureLocation * string * string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage>
Public Overridable Function GetVirtualMachineImagesEdgeZone (location As AzureLocation, edgeZone As String, publisherName As String, offer As String, skus As String, version As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualMachineImage)

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.

version
String

A valid image SKU version.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

edgeZone, publisherName, offer, skus or version is an empty string, and was expected to be non-empty.

edgeZone, publisherName, offer, skus or version is null.

Applies to

GetVirtualMachineImagesEdgeZone(SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, CancellationToken)

Source:
MockableComputeSubscriptionResource.cs
Source:
MockableComputeSubscriptionResource.cs

Gets a virtual machine image in an edge zone.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
  • Operation Id: VirtualMachineImagesEdgeZone_Get
  • Default Api Version: 2024-07-01
public virtual Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage> GetVirtualMachineImagesEdgeZone (Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetVirtualMachineImagesEdgeZone : Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage>
override this.GetVirtualMachineImagesEdgeZone : Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage>
Public Overridable Function GetVirtualMachineImagesEdgeZone (options As SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualMachineImage)

Parameters

options
SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions

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

Exceptions

options is null.

Applies to