Microsoft Azure Shared Galleries API

The SharedGalleries API from Microsoft Azure, for sharedgalleries.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

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 List galleries shared with me · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute… #
Ask an LLM
“Which compute galleries have been shared with my subscription in a region?”
“Can I see galleries shared at the tenant level instead of the subscription?”
Tell an agent
List shared galleries in {location} for subscription {sub}.
List galleries shared with my {shared_to} in {location}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName} Get a shared gallery · Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute… #
Ask an LLM
“What does a particular gallery shared with me contain?”
“Can I look up a shared gallery by its unique name?”
Tell an agent
Get shared gallery {gallery} in {location} for subscription {sub}.
Show details of shared gallery {gallery} in region {location}.

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-sharedgalleries-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-sharedgalleries-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure SharedGalleryServiceClient Shared Galleries…
  description: Shared Gallery Service Client.
  version: '2020-09-30'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: SharedGalleries
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries:
    get:
      tags:
      - SharedGalleries
      operationId: microsoftAzureSharedgalleriesList
      description: List shared galleries by subscription id or tenant id.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationNameParamter'
      - $ref: '#/components/parameters/ApiVersionParameter'
      - 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/SharedGalleryList'
        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/ListSharedGalleries.json
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute…
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}:
    get:
      tags:
      - SharedGalleries
      operationId: microsoftAzureSharedgalleriesGet
      description: Get a shared gallery by subscription id or tenant id.
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/LocationNameParamter'
      - name: galleryUniqueName
        in: path
        required: true
        description: The unique name of the Shared Gallery.
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SharedGallery'
        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/GetASharedGallery.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute…
components:
  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
  schemas:
    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.
    SharedGallery:
      properties: {}
      allOf:
      - $ref: '#/components/schemas/PirSharedGalleryResource'
      description: Specifies information about the Shared Gallery that you want to create or update.
    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.
    SharedGalleryList:
      description: The List Shared Galleries operation response.
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/SharedGallery'
          description: A list of shared galleries.
        nextLink:
          type: string
          description: The uri to fetch the next page of shared galleries. Call ListNext() with this to fetch the next page of shared galleries.
      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.
  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