다음을 통해 공유


DevCenterResource.GetDevCenterGallery(String, CancellationToken) Method

Definition

Gets a gallery

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/galleries/{galleryName}
  • Operation Id: Galleries_Get
public virtual Azure.Response<Azure.ResourceManager.DevCenter.DevCenterGalleryResource> GetDevCenterGallery (string galleryName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevCenterGallery : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterGalleryResource>
override this.GetDevCenterGallery : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevCenter.DevCenterGalleryResource>
Public Overridable Function GetDevCenterGallery (galleryName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevCenterGalleryResource)

Parameters

galleryName
String

The name of the gallery.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

galleryName is null.

galleryName is an empty string, and was expected to be non-empty.

Applies to