swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector SharedGalleries API schemes: - https 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: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/LocationNameParamter' - $ref: '#/parameters/ApiVersionParameter' - name: sharedTo in: query required: false type: string description: The query parameter to decide what shared galleries to fetch when doing listing operations. enum: - tenant x-ms-enum: name: SharedToValues modelAsString: true responses: '200': description: OK schema: $ref: '#/definitions/SharedGalleryList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/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 Locations Location Sharedgalleries /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: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/LocationNameParamter' - name: galleryUniqueName in: path required: true type: string description: The unique name of the Shared Gallery. - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: OK schema: $ref: '#/definitions/SharedGallery' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: Get a gallery.: $ref: ./examples/GetASharedGallery.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute Locations Location Sharedgalleries Galleryuniquename definitions: SharedGalleryList: description: The List Shared Galleries operation response. properties: value: type: array items: $ref: '#/definitions/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 CloudError: x-ms-external: true properties: error: $ref: '#/definitions/ApiError' description: An error response from the Compute service. PirResource: description: The Resource model definition. properties: name: readOnly: true type: string description: Resource name location: readOnly: true type: string description: Resource location 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: '#/definitions/SharedGalleryIdentifier' allOf: - $ref: '#/definitions/PirResource' description: Base information about the shared gallery resource in pir. InnerError: properties: exceptiontype: type: string description: The exception type. errordetail: type: string description: The internal error message or exception dump. description: Inner error details. ApiError: properties: details: type: array items: $ref: '#/definitions/ApiErrorBase' description: The Api error details innererror: $ref: '#/definitions/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. 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. SharedGallery: properties: {} allOf: - $ref: '#/definitions/PirSharedGalleryResource' description: Specifies information about the Shared Gallery that you want to create or update. parameters: ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. LocationNameParamter: name: location in: path required: true type: string x-ms-parameter-location: method description: Resource location. SubscriptionIdParameter: name: subscriptionId in: path required: true type: string description: Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'