Microsoft Azure Shared Gallery Image Versions API

The SharedGalleryImageVersions API from Microsoft Azure, for sharedgalleryimageversions.

GitHub OpenAPI

Operations 2

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}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions List versions of an image in a shared gallery · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute… #
Ask an LLM
“Which versions of an image have been shared with my subscription or tenant?”
“Can I list shared gallery image versions shared at the tenant level?”
Tell an agent
List versions of image {galleryImageName} in shared gallery {galleryUniqueName} at {location} for subscription {subscriptionId}.
Show image {galleryImageName} versions in shared gallery {galleryUniqueName} shared to {sharedTo}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName} Get a shared gallery image version · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute… #
Ask an LLM
“How do I read the details of one version of an image someone shared with me?”
“What does a shared gallery image version expose?”
Tell an agent
Get version {galleryImageVersionName} of image {galleryImageName} in shared gallery {galleryUniqueName} at {location}, subscription {subscriptionId}.
Show shared image version {galleryImageVersionName} of {galleryImageName}.

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-sharedgalleryimageversions-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-sharedgalleryimageversions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure SharedGalleryServiceClient Shared Gallery…
  description: Shared Gallery Service Client.
  version: '2020-09-30'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: SharedGalleryImageVersions
paths:
  ? /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions
  : get:
      tags:
      - SharedGalleryImageVersions
      operationId: microsoftAzureSharedgalleryimageversionsList
      description: List shared gallery image versions by subscription id or tenant id.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationNameParamter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: galleryUniqueName
        in: path
        required: true
        description: The unique name of the Shared Gallery.
        schema:
          type: string
      - name: galleryImageName
        in: path
        required: true
        description: The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
        schema:
          type: string
      - name: sharedTo
        in: query
        required: false
        description: The query parameter to decide what shared galleries to fetch when doing listing operations.
        x-ms-enum:
          name: SharedToValues
          modelAsString: true
        schema:
          type: string
          enum:
          - tenant
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedGalleryImageVersionList'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Get a gallery.:
          $ref: ./examples/ListSharedGalleryImageVersions.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute…
  ? /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  : get:
      tags:
      - SharedGalleryImageVersions
      operationId: microsoftAzureSharedgalleryimageversionsGet
      description: Get a shared gallery image version by subscription id or tenant id.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationNameParamter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      - name: galleryUniqueName
        in: path
        required: true
        description: The unique name of the Shared Gallery.
        schema:
          type: string
      - name: galleryImageName
        in: path
        required: true
        description: The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
        schema:
          type: string
      - name: galleryImageVersionName
        in: path
        required: true
        description: 'The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>'
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedGalleryImageVersion'
        default:
          description: Error response describing why the operation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-examples:
        Get a gallery.:
          $ref: ./examples/GetASharedGalleryImageVersion.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute…
components:
  schemas:
    SharedGalleryImageVersion:
      properties:
        properties:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/SharedGalleryImageVersionProperties'
      allOf:
      - $ref: '#/components/schemas/PirSharedGalleryResource'
      description: Specifies information about the gallery image version that you want to create or update.
    InnerError:
      properties:
        exceptiontype:
          type: string
          description: The exception type.
        errordetail:
          type: string
          description: The internal error message or exception dump.
      description: Inner error details.
    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.
    PirResource:
      description: The Resource model definition.
      properties:
        name:
          readOnly: true
          type: string
          description: Resource name
        location:
          readOnly: true
          type: string
          description: Resource location
    CloudError:
      x-ms-external: true
      properties:
        error:
          $ref: '#/components/schemas/ApiError'
      description: An error response from the Compute service.
    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.
    SharedGalleryImageVersionList:
      description: The List Shared Gallery Image versions operation response.
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/SharedGalleryImageVersion'
          description: A list of shared gallery images versions.
        nextLink:
          type: string
          description: The uri to fetch the next page of shared gallery image versions. Call ListNext() with this to fetch the next page of shared gallery image versions.
      required:
      - value
    SharedGalleryIdentifier:
      properties:
        uniqueId:
          type: string
          description: The unique id of this shared gallery.
      description: The identifier information of shared gallery.
    PirSharedGalleryResource:
      properties:
        identifier:
          x-ms-client-flatten: true
          $ref: '#/components/schemas/SharedGalleryIdentifier'
      allOf:
      - $ref: '#/components/schemas/PirResource'
      description: Base information about the shared gallery resource in pir.
    SharedGalleryImageVersionProperties:
      properties:
        publishedDate:
          type: string
          format: date-time
          description: The published date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
        endOfLifeDate:
          type: string
          format: date-time
          description: The end of life date of the gallery image version Definition. This property can be used for decommissioning purposes. This property is updatable.
      description: Describes the properties of a gallery image version.
  parameters:
    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
    LocationNameParamter:
      name: location
      in: path
      required: true
      x-ms-parameter-location: method
      description: Resource location.
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow