Gallery Images - List

List gallery images in a given lab.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages?api-version=2018-09-15
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages?$expand={$expand}&$filter={$filter}&$top={$top}&$orderby={$orderby}&api-version=2018-09-15

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The subscription ID.

resourceGroupName
path True
  • string

The name of the resource group.

labName
path True
  • string

The name of the lab.

$expand
query
  • string

Specify the $expand query. Example: 'properties($select=author)'

$filter
query
  • string

The filter to apply to the operation. Example: '$filter=contains(name,'myName')

$top
query
  • integer
int32

The maximum number of resources to return from the operation. Example: '$top=10'

$orderby
query
  • string

The ordering expression for the results, using OData notation. Example: '$orderby=name desc'

api-version
query True
  • string

Client API version.

Responses

Name Type Description
200 OK

OK

Other Status Codes

BadRequest

Security

azure_auth

OAuth2 Implicit Grant

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation Access Microsoft Azure

Definitions

CloudError

Error from a REST request.

CloudErrorBody

Body of an error from a REST request.

GalleryImage

A gallery image.

GalleryImageList

The response of a list operation.

GalleryImageReference

The reference information for an Azure Marketplace image.

CloudError

Error from a REST request.

Name Type Description
error

The cloud error that occurred

CloudErrorBody

Body of an error from a REST request.

Name Type Description
code
  • string

The error code.

details

Inner errors.

message
  • string

The error message.

target
  • string

The error target.

GalleryImage

A gallery image.

Name Type Description
id
  • string

The identifier of the resource.

location
  • string

The location of the resource.

name
  • string

The name of the resource.

properties.author
  • string

The author of the gallery image.

properties.createdDate
  • string

The creation date of the gallery image.

properties.description
  • string

The description of the gallery image.

properties.enabled
  • boolean

Indicates whether this gallery image is enabled.

properties.icon
  • string

The icon of the gallery image.

properties.imageReference

The image reference of the gallery image.

properties.isPlanAuthorized
  • boolean

Indicates if the plan has been authorized for programmatic deployment.

properties.planId
  • string

The third party plan that applies to this image

tags
  • object

The tags of the resource.

type
  • string

The type of the resource.

GalleryImageList

The response of a list operation.

Name Type Description
nextLink
  • string

Link for next set of results.

value

Results of the list operation.

GalleryImageReference

The reference information for an Azure Marketplace image.

Name Type Description
offer
  • string

The offer of the gallery image.

osType
  • string

The OS type of the gallery image.

publisher
  • string

The publisher of the gallery image.

sku
  • string

The SKU of the gallery image.

version
  • string

The version of the gallery image.