Microsoft Azure Gallery Images API

The GalleryImages API from Microsoft Azure, for galleryimages.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 11

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages List gallery images in a DevTest lab · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which marketplace gallery images can I use to build VMs in my DevTest Labs lab?”
“Can I filter or sort the gallery images offered in a DevTest lab?”
Tell an agent
List gallery images in DevTest lab {lab} in resource group {resource_group}, subscription {subscription}.
Show the top {top} DevTest lab {lab} gallery images matching {filter}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages List gallery images in a Lab Services lab account · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What gallery images are available in my Azure Lab Services lab account?”
“Can I order the lab account's gallery images by a property?”
Tell an agent
List gallery images in lab account {lab_account} in resource group {resource_group}, subscription {subscription}.
Show Lab Services lab account {lab_account} images ordered by {orderby}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages/{galleryImageName} Get a gallery image in a lab account · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I look up one gallery image in my Lab Services lab account?”
“Is a particular lab account gallery image enabled for lab creators?”
Tell an agent
Get gallery image {image} from lab account {lab_account} in resource group {resource_group}, subscription {subscription}.
Show Lab Services image {image} details in lab account {lab_account}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages/{galleryImageName} Create or replace a gallery image in a lab account · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I add or replace a gallery image in a Lab Services lab account?”
“Can I overwrite an existing lab account gallery image with new properties?”
Tell an agent
Create or replace gallery image {image} in lab account {lab_account}, resource group {resource_group}, subscription {subscription}.
Put Lab Services image {image} into lab account {lab_account} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages/{galleryImageName} Delete a gallery image from a lab account · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I remove a gallery image from my Lab Services lab account?”
“Can I delete a lab account image that lab creators no longer need?”
Tell an agent destructive · confirm first
Delete gallery image {image} from lab account {lab_account} in resource group {resource_group}, subscription {subscription}.
Remove Lab Services image {image} from lab account {lab_account}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages/{galleryImageName} Modify a gallery image in a lab account · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I change properties of an existing gallery image in a lab account?”
“Can I update tags on a Lab Services gallery image without replacing it?”
Tell an agent
Patch gallery image {image} in lab account {lab_account}, resource group {resource_group}, subscription {subscription}.
Set tags {tags} on Lab Services image {image} in lab account {lab_account}.
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName} Create or update a Compute gallery image definition · Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I create a new image definition in an Azure Compute Gallery?”
“Which region do I have to set when defining a gallery image?”
Tell an agent
Create image definition {image} in compute gallery {gallery}, resource group {resource_group}, subscription {subscription}.
Define image {image} in shared gallery {gallery} located in {location}.
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName} Update a Compute gallery image definition · Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I change an existing image definition in my Compute Gallery?”
“Can I patch just the tags on a shared gallery image definition?”
Tell an agent
Update image definition {image} in compute gallery {gallery}, resource group {resource_group}, subscription {subscription}.
Tag the {image} definition in shared gallery {gallery} with {tags}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName} Get a Compute gallery image definition · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I read an image definition from my Azure Compute Gallery?”
“What OS type and publisher info does a shared gallery image definition hold?”
Tell an agent
Get image definition {image} from compute gallery {gallery} in resource group {resource_group}, subscription {subscription}.
Show the {image} definition in shared image gallery {gallery}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName} Delete a Compute gallery image definition · Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I delete an image definition from my Compute Gallery?”
“Can I remove a shared gallery image definition I no longer publish?”
Tell an agent destructive · confirm first
Delete image definition {image} from compute gallery {gallery} in resource group {resource_group}, subscription {subscription}.
Remove the {image} definition from shared image gallery {gallery}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images List image definitions in a Compute gallery · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What image definitions does my Azure Compute Gallery contain?”
“Can I list every image definition in one shared gallery?”
Tell an agent
List image definitions in compute gallery {gallery} in resource group {resource_group}, subscription {subscription}.
Show all definitions published in shared image gallery {gallery}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-galleryimages-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-galleryimages-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2018-09-15'
  title: Microsoft Azure DevTestLabsClient Gallery Images API
  description: The DevTest Labs Client.
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: GalleryImages
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/galleryimages
  : get:
      tags:
      - GalleryImages
      description: List gallery images in a given lab.
      operationId: microsoftAzureGalleryimagesList
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labName
        in: path
        description: The name of the lab.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=author)'''
        schema:
          type: string
      - name: $filter
        in: query
        description: 'The filter to apply to the operation. Example: ''$filter=contains(name,''myName'')'
        schema:
          type: string
      - name: $top
        in: query
        description: 'The maximum number of resources to return from the operation. Example: ''$top=10'''
        schema:
          type: integer
          format: int32
      - name: $orderby
        in: query
        description: 'The ordering expression for the results, using OData notation. Example: ''$orderby=name desc'''
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImageList'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/GalleryImage'
      x-ms-examples:
        GalleryImages_List:
          $ref: ./examples/GalleryImages_List.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages
  : get:
      tags:
      - GalleryImages
      description: List gallery images in a given lab account.
      operationId: microsoftAzureGalleryimagesList
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=author)'''
        required: false
        schema:
          type: string
      - name: $filter
        in: query
        description: The filter to apply to the operation.
        required: false
        schema:
          type: string
      - name: $top
        in: query
        description: The maximum number of resources to return from the operation.
        required: false
        schema:
          type: integer
          format: int32
      - name: $orderby
        in: query
        description: The ordering expression for the results, using OData notation.
        required: false
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseWithContinuation_GalleryImage'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-odata: '#/definitions/GalleryImage'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}/galleryimages/{galleryImageName}
  : get:
      tags:
      - GalleryImages
      description: Get gallery image
      operationId: microsoftAzureGalleryimagesGet
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: galleryImageName
        in: path
        description: The name of the gallery Image.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: 'Specify the $expand query. Example: ''properties($select=author)'''
        required: false
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    put:
      tags:
      - GalleryImages
      description: Create or replace an existing Gallery Image.
      operationId: microsoftAzureGalleryimagesCreateorupdate
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: galleryImageName
        in: path
        description: The name of the gallery Image.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GalleryImage'
        description: Represents an image from the Azure Marketplace
        required: true
    delete:
      tags:
      - GalleryImages
      description: Delete gallery image.
      operationId: microsoftAzureGalleryimagesDelete
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: galleryImageName
        in: path
        description: The name of the gallery Image.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
        '204':
          description: No Content
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
    patch:
      tags:
      - GalleryImages
      description: Modify properties of gallery images.
      operationId: microsoftAzureGalleryimagesUpdate
      parameters:
      - $ref: '#/components/parameters/subscriptionId'
      - $ref: '#/components/parameters/resourceGroupName'
      - name: labAccountName
        in: path
        description: The name of the lab Account.
        required: true
        schema:
          type: string
      - name: galleryImageName
        in: path
        description: The name of the gallery Image.
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/api-version'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      security:
      - azure_auth:
        - user_impersonation
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GalleryImageFragment'
        description: Represents an image from the Azure Marketplace
        required: true
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}
  : put:
      tags:
      - GalleryImages
      operationId: microsoftAzureGalleryimagesCreateorupdate
      description: Create or update a gallery image definition.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: galleryName
        in: path
        required: true
        description: The name of the Shared Image Gallery in which the Image Definition is to be created.
        schema:
          type: string
      - name: galleryImageName
        in: path
        required: true
        description: The name of the gallery image definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        Create or update a simple gallery image.:
          $ref: ./examples/CreateOrUpdateASimpleGalleryImage.json
      summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GalleryImage'
        description: Parameters supplied to the create or update gallery image operation.
        required: true
    patch:
      tags:
      - GalleryImages
      operationId: microsoftAzureGalleryimagesUpdate
      description: Update a gallery image definition.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: galleryName
        in: path
        required: true
        description: The name of the Shared Image Gallery in which the Image Definition is to be updated.
        schema:
          type: string
      - name: galleryImageName
        in: path
        required: true
        description: The name of the gallery image definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        Update a simple gallery image.:
          $ref: ./examples/UpdateASimpleGalleryImage.json
      summary: Microsoft Azure Patch Subscriptions Subscriptionid Resourcegroups…
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GalleryImageUpdate'
        description: Parameters supplied to the update gallery image operation.
        required: true
    get:
      tags:
      - GalleryImages
      operationId: microsoftAzureGalleryimagesGet
      description: Retrieves information about a gallery image definition.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: galleryName
        in: path
        required: true
        description: The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.
        schema:
          type: string
      - name: galleryImageName
        in: path
        required: true
        description: The name of the gallery image definition to be retrieved.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImage'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Get a gallery image.:
          $ref: ./examples/GetAGalleryImage.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
    delete:
      tags:
      - GalleryImages
      operationId: microsoftAzureGalleryimagesDelete
      description: Delete a gallery image.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: galleryName
        in: path
        required: true
        description: The name of the Shared Image Gallery in which the Image Definition is to be deleted.
        schema:
          type: string
      - name: galleryImageName
        in: path
        required: true
        description: The name of the gallery image definition to be deleted.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
        '202':
          description: Accepted
        '204':
          description: No Content
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation: true
      x-ms-examples:
        Delete a gallery image.:
          $ref: ./examples/DeleteAGalleryImage.json
      summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images
  : get:
      tags:
      - GalleryImages
      operationId: microsoftAzureGalleryimagesListbygallery
      description: List gallery image definitions in a gallery.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: galleryName
        in: path
        required: true
        description: The name of the Shared Image Gallery from which Image Definitions are to be listed.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GalleryImageList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        List gallery images in a gallery.:
          $ref: ./examples/ListGalleryImagesInAGallery.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  parameters:
    subscriptionId:
      name: subscriptionId
      in: path
      description: The subscription ID.
      required: true
      schema:
        type: string
    api-version:
      name: api-version
      in: query
      description: Client API version.
      required: true
      schema:
        type: string
        default: '2018-09-15'
    resourceGroupName:
      name: resourceGroupName
      in: path
      description: The name of the resource group.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      required: true
      x-ms-parameter-location: method
      description: The name of the resource group.
      schema:
        type: string
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      required: true
      description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      required: true
      description: Client Api Version.
      schema:
        type: string
  schemas:
    CloudErrorBody:
      description: Body of an error from a REST request.
      type: object
      properties:
        code:
          description: The error code.
          type: string
        message:
          description: The error message.
          type: string
        target:
          description: The error target.
          type: string
        details:
          description: Inner errors.
          type: array
          items:
            $ref: '#/components/schemas/CloudErrorBody'
      x-ms-external: true
    GalleryImageList:
      description: The response of a list operation.
      type: object
      properties:
        value:
          description: Results of the list operation.
          type: array
          items:
            $ref: '#/components/schemas/GalleryImage'
        nextLink:
          description: Link for next set of results.
          type: string
    GalleryImage:
      description: A gallery image.
      required:
      - properties
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/GalleryImageProperties'
          description: The properties of the resource.
          x-ms-client-flatten: true
    CloudError:
      description: Error from a REST request.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: The cloud error that occurred
      x-ms-external: true
    GalleryImageProperties:
      description: Properties of a gallery image.
      type: object
      properties:
        author:
          description: The author of the gallery image.
          type: string
        createdDate:
          format: date-time
          description: The creation date of the gallery image.
          type: string
          readOnly: true
        description:
          description: The description of the gallery image.
          type: string
        imageReference:
          $ref: '#/components/schemas/GalleryImageReference'
          description: The image reference of the gallery image.
        icon:
          description: The icon of the gallery image.
          type: string
        enabled:
          description: Indicates whether this gallery image is enabled.
          type: boolean
        planId:
          description: The third party plan that applies to this image
          type: string
        isPlanAuthorized:
          description: Indicates if the plan has been authorized for programmatic deployment.
          type: boolean
    GalleryImageReference:
      description: The reference information for an Azure Marketplace image.
      type: object
      properties:
        offer:
          description: The offer of the gallery image.
          type: string
        publisher:
          description: The publisher of the gallery image.
          type: string
        sku:
          description: The SKU of the gallery image.
          type: string
        osType:
          description: The OS type of the gallery image.
          type: string
        version:
          description: The version of the gallery image.
          type: string
    Resource:
      description: An Azure resource.
      type: object
      properties:
        id:
          description: The identifier of the resource.
          type: string
          readOnly: true
        name:
          description: The name of the resource.
          type: string
          readOnly: true
        type:
          description: The type of the resource.
          type: string
          readOnly: true
        location:
          description: The location of the resource.
          type: string
        tags:
          description: The tags of the resource.
          type: object
          additionalProperties:
            type: string
      x-ms-azure-resource: true
    GalleryImagePropertiesFragment:
      description: The gallery image properties
      type: object
      properties:
        isEnabled:
          description: Indicates whether this gallery image is enabled.
          type: boolean
        isOverride:
          description: Indicates whether this gallery has been overridden for this lab account
          type: boolean
        isPlanAuthorized:
          description: Indicates if the plan has been authorized for programmatic deployment.
          type: boolean
        provisioningState:
          description: The provisioning status of the resource.
          type: string
        uniqueIdentifier:
          description: The unique immutable identifier of a resource (Guid).
          type: string
    ResponseWithContinuation_GalleryImage:
      description: The response of a list operation.
      type: object
      properties:
        value:
          description: Results of the list operation.
          type: array
          items:
            $ref: '#/components/schemas/GalleryImage'
        nextLink:
          description: Link for next set of results.
          type: string
    LatestOperationResult:
      description: Details of the status of an operation.
      type: object
      properties:
        status:
          description: The current status of the operation.
          type: string
          readOnly: true
        errorCode:
          description: Error code on failure.
          type: string
          readOnly: true
        errorMessage:
          description: The error message.
          type: string
          readOnly: true
        requestUri:
          description: Request URI of the operation.
          type: string
          readOnly: true
        httpMethod:
          description: The HttpMethod - PUT/POST/DELETE for the operation.
          type: string
          readOnly: true
        operationUrl:
          description: The URL to use to check long-running operation status
          type: string
          readOnly: true
    GalleryImageFragment:
      description: Represents an image from the Azure Marketplace
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/GalleryImagePropertiesFragment'
          description: The gallery image properties
          x-ms-client-flatten: true
    ImagePurchasePlan:
      properties:
        name:
          type: string
          description: The plan ID.
        publisher:
          type: string
          description: The publisher ID.
        product:
          type: string
          description: The product ID.
      description: Describes the gallery image definition purchase plan. This is used by marketplace images.
    UpdateResourceDefinition:
      description: The Update Resource model definition.
      properties:
        id:
          readOnly: true
          type: string
          description: Resource Id
        name:
          readOnly: true
          type: string
          description: Resource name
        type:
          readOnly: true
          type: string
          description: Resource type
        tags:
          type: object
          additionalProperties:
            type: string
          description: Resource tags
      x-ms-azure-resource: true
    GalleryImageUpdate:
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/GalleryImageProperties'
      allOf:
      - $ref: '#/components/schemas/UpdateResourceDefinition'
      description: Specifies information about the gallery image definition that you want to update.
    GalleryImageFeature:
      properties:
        name:
          type: string
          description: The name of the gallery image feature.
        value:
          type: string
          description: The value of the gallery image feature.
      description: A feature for gallery image.
    Disallowed:
      properties:
        diskTypes:
          type: array
          items:
            type: string
          description: A list of disk types.
      description: Describes the disallowed disk types.
    ApiError:
      properties:
        details:
          type: array
          items:
            $ref: '#/components/schemas/ApiErrorBase'
          description: The Api error details
        innererror:
          $ref: '#/components/schemas/InnerError'
          description: The Api inner error
        code:
          type: string
          description: The error code.
        target:
          type: string
          description: The target of the particular error.
        message:
          type: string
          description: The error message.
      description: Api error.
    InnerError:
      properties:
        exceptiontype:
          type: string
          description: The exception type.
        errordetail:
          type: string
          description: The internal error message or exception dump.
      description: Inner error details.
    GalleryImageIdentifier:
      properties:
        publisher:
          type: string
          description: The name of the gallery image definition publisher.
        offer:
          type: string
          description: The name of the gallery image definition offer.
        sku:
          type: string
          description: The name of the gallery image definition SKU.
      required:
      - publisher
      - offer
      - sku
      description: This is the gallery image definition identifier.
    ApiErrorBase:
      properties:
        code:
          type: string
          description: The error code.
        target:
          type: string
          description: The target of the particular error.
        message:
          type: string
          description: The error message.
      description: Api error base.
    ResourceRange:
      properties:
        min:
          type: integer
          format: int32
          description: The minimum number of the resource.
        max:
          type: integer
          format: int32
          description: The maximum number of the resource.
      description: Describes the resource range.
    RecommendedMachineConfiguration:
      properties:
        vCPUs:
          $ref: '#/components/schemas/ResourceRange'
        memory:
          $ref: '#/components/schemas/ResourceRange'
      description: The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: Access Microsoft Azure
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: OAuth2 Implicit Grant