CommunityGalleryResource.GetCommunityGalleryImageAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Rufen Sie ein Communitykatalogimage ab.
- Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
- Vorgang IdCommunityGalleryImages_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CommunityGalleryImageResource>> GetCommunityGalleryImageAsync (string galleryImageName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCommunityGalleryImageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CommunityGalleryImageResource>>
override this.GetCommunityGalleryImageAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.CommunityGalleryImageResource>>
Public Overridable Function GetCommunityGalleryImageAsync (galleryImageName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CommunityGalleryImageResource))
Parameter
- galleryImageName
- String
Der Name der Imagedefinition des Communitykatalogs.
- cancellationToken
- CancellationToken
Das zu verwendende Abbruchtoken.
Gibt zurück
Ausnahmen
galleryImageName
ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.
galleryImageName
ist NULL.