CommunityGalleryImagesOperationsExtensions.GetAsync 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.
Get a community gallery image.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CommunityGalleryImage> GetAsync (this Microsoft.Azure.Management.Compute.ICommunityGalleryImagesOperations operations, string location, string publicGalleryName, string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Compute.ICommunityGalleryImagesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.CommunityGalleryImage>
<Extension()>
Public Function GetAsync (operations As ICommunityGalleryImagesOperations, location As String, publicGalleryName As String, galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CommunityGalleryImage)
Parameters
- operations
- ICommunityGalleryImagesOperations
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.
- cancellationToken
- CancellationToken
The cancellation token.