swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector SharedGalleryImageVersions API schemes: - https 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: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/LocationNameParamter' - $ref: '#/parameters/ApiVersionParameter' - name: galleryUniqueName in: path required: true type: string description: The unique name of the Shared Gallery. - name: galleryImageName in: path required: true type: string description: The name of the Shared Gallery Image Definition from which the Image Versions are to be listed. - 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/SharedGalleryImageVersionList' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/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 Locations Location Sharedgalleries Galleryuniquename Images Galleryimagename Versions ? /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: '#/parameters/SubscriptionIdParameter' - $ref: '#/parameters/LocationNameParamter' - $ref: '#/parameters/ApiVersionParameter' - name: galleryUniqueName in: path required: true type: string description: The unique name of the Shared Gallery. - name: galleryImageName in: path required: true type: string description: The name of the Shared Gallery Image Definition from which the Image Versions are to be listed. - name: galleryImageVersionName in: path required: true type: string 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: ..' responses: '200': description: OK schema: $ref: '#/definitions/SharedGalleryImageVersion' default: description: Error response describing why the operation failed. schema: $ref: '#/definitions/CloudError' x-ms-examples: Get a gallery.: $ref: ./examples/GetASharedGalleryImageVersion.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Compute Locations Location Sharedgalleries Galleryuniquename Images Galleryimagename Versions Galleryimageversionname definitions: SharedGalleryImageVersion: properties: properties: x-ms-client-flatten: true $ref: '#/definitions/SharedGalleryImageVersionProperties' allOf: - $ref: '#/definitions/PirSharedGalleryResource' description: Specifies information about the gallery image version 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. 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. 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. 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. InnerError: properties: exceptiontype: type: string description: The exception type. errordetail: type: string description: The internal error message or exception dump. description: Inner error details. SharedGalleryImageVersionList: description: The List Shared Gallery Image versions operation response. properties: value: type: array items: $ref: '#/definitions/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 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'