共用方式為


ComputeExtensions.GetVirtualMachineImagesEdgeZone Method

Definition

Overloads

GetVirtualMachineImagesEdgeZone(SubscriptionResource, 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(SubscriptionResource, 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(SubscriptionResource, SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, CancellationToken)

Source:
ComputeExtensions.cs
Source:
ComputeExtensions.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 static Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage> GetVirtualMachineImagesEdgeZone (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions options, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualMachineImagesEdgeZone : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Compute.Models.SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage>
<Extension()>
Public Function GetVirtualMachineImagesEdgeZone (subscriptionResource As SubscriptionResource, options As SubscriptionResourceGetVirtualMachineImagesEdgeZoneOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualMachineImage)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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

subscriptionResource or options is null.

Applies to

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

Source:
ComputeExtensions.cs
Source:
ComputeExtensions.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 static Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage> GetVirtualMachineImagesEdgeZone (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, string edgeZone, string publisherName, string offer, string skus, string version, System.Threading.CancellationToken cancellationToken = default);
static member GetVirtualMachineImagesEdgeZone : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * string * string * string * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.Models.VirtualMachineImage>
<Extension()>
Public Function GetVirtualMachineImagesEdgeZone (subscriptionResource As SubscriptionResource, 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

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

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