Udostępnij za pośrednictwem


CommunityGalleryImageVersionsOperationsExtensions.GetAsync Method

Definition

Get a community gallery image version.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CommunityGalleryImageVersion> GetAsync (this Microsoft.Azure.Management.Compute.ICommunityGalleryImageVersionsOperations operations, string location, string publicGalleryName, string galleryImageName, string galleryImageVersionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.ICommunityGalleryImageVersionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CommunityGalleryImageVersion>
<Extension()>
Public Function GetAsync (operations As ICommunityGalleryImageVersionsOperations, location As String, publicGalleryName As String, galleryImageName As String, galleryImageVersionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CommunityGalleryImageVersion)

Parameters

operations
ICommunityGalleryImageVersionsOperations

The operations group for this extension method.

location
String

Resource location.

publicGalleryName
String

The public name of the community gallery.

galleryImageName
String

The name of the community gallery image definition.

galleryImageVersionName
String

The name of the community gallery image version. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to