swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector CommunityGalleries API schemes: - https tags: - name: CommunityGalleries paths: /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}: get: tags: - CommunityGalleries operationId: microsoftAzureCommunitygalleriesGet description: Get a community gallery by gallery public name. parameters: - $ref: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/LocationNameParameter' - $ref: '#/parameters/PublicGalleryNameParameter' - $ref: '#/parameters/ApiVersionParameter' responses: '200': description: OK schema: $ref: '#/definitions/CommunityGallery' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: Get a gallery.: $ref: ./examples/communityGallery/GetACommunityGallery.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute Locations Location Communitygalleries Publicgalleryname definitions: PirCommunityGalleryResource: properties: name: readOnly: true type: string description: Resource name location: readOnly: true type: string description: Resource location type: readOnly: true type: string description: Resource type identifier: x-ms-client-flatten: true $ref: '#/definitions/CommunityGalleryIdentifier' description: Base information about the community gallery resource in pir. CommunityGallery: properties: {} allOf: - $ref: '#/definitions/PirCommunityGalleryResource' description: Specifies information about the Community Gallery that you want to create or update. CloudError: x-ms-external: true properties: error: $ref: '#/definitions/ApiError' description: An error response from the Compute service. ApiError: properties: details: type: array items: $ref: '#/definitions/ApiErrorBase' x-ms-identifiers: - message - target 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. InnerError: properties: exceptiontype: type: string description: The exception type. errordetail: type: string description: The internal error message or exception dump. description: Inner error details. CommunityGalleryIdentifier: properties: uniqueId: type: string description: The unique id of this community gallery. description: The identifier information of community gallery. parameters: LocationNameParameter: name: location in: path required: true type: string x-ms-parameter-location: method description: Resource location. ApiVersionParameter: name: api-version in: query required: true type: string description: Client Api Version. PublicGalleryNameParameter: name: publicGalleryName in: path required: true type: string x-ms-parameter-location: method description: The public name of the community gallery. 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'