UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 87.5 kB
{"openapi":"3.0.0","info":{"description":"Shared Image Gallery Service Client.","title":"SharedImageGalleryServiceClient","version":"2019-07-01","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/compute/resource-manager/Microsoft.Compute/stable/2019-07-01/gallery.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"compute-gallery","x-tags":["Azure","Microsoft"]},"security":[{"azure_auth":["user_impersonation"]}],"paths":{"/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries":{"get":{"description":"List galleries under a subscription.","operationId":"Galleries_List","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryList"},"examples":{"List galleries in a subscription.":{"$ref":"#/components/examples/List_galleries_in_a_subscription."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Galleries"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries":{"get":{"description":"List galleries under a resource group.","operationId":"Galleries_ListByResourceGroup","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryList"},"examples":{"List galleries in a resource group.":{"$ref":"#/components/examples/List_galleries_in_a_resource_group."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Galleries"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}":{"delete":{"description":"Delete a Shared Image Gallery.","operationId":"Galleries_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery to be deleted.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery.":{"value":"myGalleryName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"202":{"description":"Accepted"},"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Galleries"],"x-ms-long-running-operation":true},"get":{"description":"Retrieves information about a Shared Image Gallery.","operationId":"Galleries_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery.":{"value":"myGalleryName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"},"examples":{"Get a gallery.":{"$ref":"#/components/examples/Get_a_gallery."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Galleries"]},"patch":{"description":"Update a Shared Image Gallery.","operationId":"Galleries_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery.":{"value":"myGalleryName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryUpdate"}}},"description":"Parameters supplied to the update Shared Image Gallery operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"},"examples":{"Update a simple gallery.":{"$ref":"#/components/examples/Update_a_simple_gallery."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Galleries"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a Shared Image Gallery.","operationId":"Galleries_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery. The allowed characters are alphabets and numbers with dots and periods allowed in the middle. The maximum length is 80 characters.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery.":{"value":"myGalleryName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"}}},"description":"Parameters supplied to the create or update Shared Image Gallery operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"},"examples":{"Create or update a simple gallery.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery."}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"},"examples":{"Create or update a simple gallery.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery."}}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Gallery"},"examples":{"Create or update a simple gallery.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["Galleries"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications":{"get":{"description":"List gallery Application Definitions in a gallery.","operationId":"GalleryApplications_ListByGallery","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery from which Application Definitions are to be listed.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"List gallery Applications in a gallery.":{"value":"myGalleryName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationList"},"examples":{"List gallery Applications in a gallery.":{"$ref":"#/components/examples/List_gallery_Applications_in_a_gallery."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplications"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}":{"delete":{"description":"Delete a gallery Application.","operationId":"GalleryApplications_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition is to be deleted.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Application.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition to be deleted.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Application.":{"value":"myGalleryApplicationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"202":{"description":"Accepted"},"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplications"],"x-ms-long-running-operation":true},"get":{"description":"Retrieves information about a gallery Application Definition.","operationId":"GalleryApplications_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery from which the Application Definitions are to be retrieved.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Application.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition to be retrieved.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Application.":{"value":"myGalleryApplicationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplication"},"examples":{"Get a gallery Application.":{"$ref":"#/components/examples/Get_a_gallery_Application."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplications"]},"patch":{"description":"Update a gallery Application Definition.","operationId":"GalleryApplications_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition is to be updated.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery Application.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery Application.":{"value":"myGalleryApplicationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationUpdate"}}},"description":"Parameters supplied to the update gallery Application operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplication"},"examples":{"Update a simple gallery Application.":{"$ref":"#/components/examples/Update_a_simple_gallery_Application."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplications"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a gallery Application Definition.","operationId":"GalleryApplications_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition is to be created.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery Application.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery Application.":{"value":"myGalleryApplicationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplication"}}},"description":"Parameters supplied to the create or update gallery Application operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplication"},"examples":{"Create or update a simple gallery Application.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_Application."}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplication"},"examples":{"Create or update a simple gallery Application.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_Application."}}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplication"},"examples":{"Create or update a simple gallery Application.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_Application."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplications"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions":{"get":{"description":"List gallery Application Versions in a gallery Application Definition.","operationId":"GalleryApplicationVersions_ListByGalleryApplication","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"List gallery Application Versions in a gallery Application Definition.":{"value":"myGalleryName"}}},{"description":"The name of the Shared Application Gallery Application Definition from which the Application Versions are to be listed.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"List gallery Application Versions in a gallery Application Definition.":{"value":"myGalleryApplicationName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersionList"},"examples":{"List gallery Application Versions in a gallery Application Definition.":{"$ref":"#/components/examples/List_gallery_Application_Versions_in_a_gallery_Application_Definition."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplicationVersions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}":{"delete":{"description":"Delete a gallery Application Version.","operationId":"GalleryApplicationVersions_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Application Version.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition in which the Application Version resides.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Application Version.":{"value":"myGalleryApplicationName"}}},{"description":"The name of the gallery Application Version to be deleted.","in":"path","name":"galleryApplicationVersionName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Application Version.":{"value":"1.0.0"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"202":{"description":"Accepted"},"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplicationVersions"],"x-ms-long-running-operation":true},"get":{"description":"Retrieves information about a gallery Application Version.","operationId":"GalleryApplicationVersions_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Application Version with replication status.":{"value":"myGalleryName"},"Get a gallery Application Version.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition in which the Application Version resides.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Application Version with replication status.":{"value":"myGalleryApplicationName"},"Get a gallery Application Version.":{"value":"myGalleryApplicationName"}}},{"description":"The name of the gallery Application Version to be retrieved.","in":"path","name":"galleryApplicationVersionName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Application Version with replication status.":{"value":"1.0.0"},"Get a gallery Application Version.":{"value":"1.0.0"}}},{"description":"The expand expression to apply on the operation.","in":"query","name":"$expand","required":false,"x-ms-enum":{"modelAsString":true,"name":"ReplicationStatusTypes"},"schema":{"type":"string","enum":["ReplicationStatus"]},"examples":{"Get a gallery Application Version with replication status.":{"value":"ReplicationStatus"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersion"},"examples":{"Get a gallery Application Version with replication status.":{"$ref":"#/components/examples/Get_a_gallery_Application_Version_with_replication_status."},"Get a gallery Application Version.":{"$ref":"#/components/examples/Get_a_gallery_Application_Version."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplicationVersions"]},"patch":{"description":"Update a gallery Application Version.","operationId":"GalleryApplicationVersions_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery Application Version.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition in which the Application Version is to be updated.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery Application Version.":{"value":"myGalleryApplicationName"}}},{"description":"The name of the gallery Application Version to be updated. 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>","in":"path","name":"galleryApplicationVersionName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery Application Version.":{"value":"1.0.0"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersionUpdate"}}},"description":"Parameters supplied to the update gallery Application Version operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersion"},"examples":{"Update a simple gallery Application Version.":{"$ref":"#/components/examples/Update_a_simple_gallery_Application_Version."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplicationVersions"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a gallery Application Version.","operationId":"GalleryApplicationVersions_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Application Gallery in which the Application Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery Application Version.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Application Definition in which the Application Version is to be created.","in":"path","name":"galleryApplicationName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery Application Version.":{"value":"myGalleryApplicationName"}}},{"description":"The name of the gallery Application 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>","in":"path","name":"galleryApplicationVersionName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery Application Version.":{"value":"1.0.0"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersion"}}},"description":"Parameters supplied to the create or update gallery Application Version operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersion"},"examples":{"Create or update a simple gallery Application Version.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_Application_Version."}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersion"},"examples":{"Create or update a simple gallery Application Version.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_Application_Version."}}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryApplicationVersion"},"examples":{"Create or update a simple gallery Application Version.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_Application_Version."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryApplicationVersions"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images":{"get":{"description":"List gallery Image Definitions in a gallery.","operationId":"GalleryImages_ListByGallery","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery from which Image Definitions are to be listed.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"List gallery images in a gallery.":{"value":"myGalleryName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageList"},"examples":{"List gallery images in a gallery.":{"$ref":"#/components/examples/List_gallery_images_in_a_gallery."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImages"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}":{"delete":{"description":"Delete a gallery image.","operationId":"GalleryImages_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition is to be deleted.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery image.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition to be deleted.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery image.":{"value":"myGalleryImageName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"202":{"description":"Accepted"},"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImages"],"x-ms-long-running-operation":true},"get":{"description":"Retrieves information about a gallery Image Definition.","operationId":"GalleryImages_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery from which the Image Definitions are to be retrieved.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery image.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition to be retrieved.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery image.":{"value":"myGalleryImageName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImage"},"examples":{"Get a gallery image.":{"$ref":"#/components/examples/Get_a_gallery_image."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImages"]},"patch":{"description":"Update a gallery Image Definition.","operationId":"GalleryImages_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition is to be updated.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery image.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Update a simple gallery image.":{"value":"myGalleryImageName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageUpdate"}}},"description":"Parameters supplied to the update gallery image operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImage"},"examples":{"Update a simple gallery image.":{"$ref":"#/components/examples/Update_a_simple_gallery_image."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImages"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a gallery Image Definition.","operationId":"GalleryImages_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition is to be created.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery image.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple gallery image.":{"value":"myGalleryImageName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImage"}}},"description":"Parameters supplied to the create or update gallery image operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImage"},"examples":{"Create or update a simple gallery image.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_image."}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImage"},"examples":{"Create or update a simple gallery image.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_image."}}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImage"},"examples":{"Create or update a simple gallery image.":{"$ref":"#/components/examples/Create_or_update_a_simple_gallery_image."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImages"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions":{"get":{"description":"List gallery Image Versions in a gallery Image Definition.","operationId":"GalleryImageVersions_ListByGalleryImage","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"List gallery Image Versions in a gallery Image Definition.":{"value":"myGalleryName"}}},{"description":"The name of the Shared Image Gallery Image Definition from which the Image Versions are to be listed.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"List gallery Image Versions in a gallery Image Definition.":{"value":"myGalleryImageName"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersionList"},"examples":{"List gallery Image Versions in a gallery Image Definition.":{"$ref":"#/components/examples/List_gallery_Image_Versions_in_a_gallery_Image_Definition."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImageVersions"],"x-ms-pageable":{"nextLinkName":"nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}":{"delete":{"description":"Delete a gallery Image Version.","operationId":"GalleryImageVersions_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Image Version.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition in which the Image Version resides.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Image Version.":{"value":"myGalleryImageName"}}},{"description":"The name of the gallery Image Version to be deleted.","in":"path","name":"galleryImageVersionName","required":true,"schema":{"type":"string"},"examples":{"Delete a gallery Image Version.":{"value":"1.0.0"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK"},"202":{"description":"Accepted"},"204":{"description":"No Content"},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImageVersions"],"x-ms-long-running-operation":true},"get":{"description":"Retrieves information about a gallery Image Version.","operationId":"GalleryImageVersions_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Image Version with replication status.":{"value":"myGalleryName"},"Get a gallery Image Version with snapshots as a source.":{"value":"myGalleryName"},"Get a gallery Image Version.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition in which the Image Version resides.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Image Version with replication status.":{"value":"myGalleryImageName"},"Get a gallery Image Version with snapshots as a source.":{"value":"myGalleryImageName"},"Get a gallery Image Version.":{"value":"myGalleryImageName"}}},{"description":"The name of the gallery Image Version to be retrieved.","in":"path","name":"galleryImageVersionName","required":true,"schema":{"type":"string"},"examples":{"Get a gallery Image Version with replication status.":{"value":"1.0.0"},"Get a gallery Image Version with snapshots as a source.":{"value":"1.0.0"},"Get a gallery Image Version.":{"value":"1.0.0"}}},{"description":"The expand expression to apply on the operation.","in":"query","name":"$expand","required":false,"x-ms-enum":{"modelAsString":true,"name":"ReplicationStatusTypes"},"schema":{"type":"string","enum":["ReplicationStatus"]},"examples":{"Get a gallery Image Version with replication status.":{"value":"ReplicationStatus"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersion"},"examples":{"Get a gallery Image Version with replication status.":{"$ref":"#/components/examples/Get_a_gallery_Image_Version_with_replication_status."},"Get a gallery Image Version with snapshots as a source.":{"$ref":"#/components/examples/Get_a_gallery_Image_Version_with_snapshots_as_a_source."},"Get a gallery Image Version.":{"$ref":"#/components/examples/Get_a_gallery_Image_Version."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImageVersions"]},"patch":{"description":"Update a gallery Image Version.","operationId":"GalleryImageVersions_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Update a simple Gallery Image Version (Managed Image as source).":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition in which the Image Version is to be updated.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Update a simple Gallery Image Version (Managed Image as source).":{"value":"myGalleryImageName"}}},{"description":"The name of the gallery Image Version to be updated. 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>","in":"path","name":"galleryImageVersionName","required":true,"schema":{"type":"string"},"examples":{"Update a simple Gallery Image Version (Managed Image as source).":{"value":"1.0.0"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersionUpdate"}}},"description":"Parameters supplied to the update gallery Image Version operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersion"},"examples":{"Update a simple Gallery Image Version (Managed Image as source).":{"$ref":"#/components/examples/Update_a_simple_Gallery_Image_Version_Managed_Image_as_source_."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImageVersions"],"x-ms-long-running-operation":true},"put":{"description":"Create or update a gallery Image Version.","operationId":"GalleryImageVersions_CreateOrUpdate","parameters":[{"$ref":"#/components/parameters/SubscriptionIdParameter"},{"$ref":"#/components/parameters/ResourceGroupNameParameter"},{"description":"The name of the Shared Image Gallery in which the Image Definition resides.","in":"path","name":"galleryName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple Gallery Image Version (Managed Image as source).":{"value":"myGalleryName"},"Create or update a simple Gallery Image Version using snapshots as a source.":{"value":"myGalleryName"}}},{"description":"The name of the gallery Image Definition in which the Image Version is to be created.","in":"path","name":"galleryImageName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple Gallery Image Version (Managed Image as source).":{"value":"myGalleryImageName"},"Create or update a simple Gallery Image Version using snapshots as a source.":{"value":"myGalleryImageName"}}},{"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>","in":"path","name":"galleryImageVersionName","required":true,"schema":{"type":"string"},"examples":{"Create or update a simple Gallery Image Version (Managed Image as source).":{"value":"1.0.0"},"Create or update a simple Gallery Image Version using snapshots as a source.":{"value":"1.0.0"}}},{"$ref":"#/components/parameters/ApiVersionParameter"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersion"}}},"description":"Parameters supplied to the create or update gallery Image Version operation.","required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersion"},"examples":{"Create or update a simple Gallery Image Version (Managed Image as source).":{"$ref":"#/components/examples/Create_or_update_a_simple_Gallery_Image_Version_Managed_Image_as_source_."},"Create or update a simple Gallery Image Version using snapshots as a source.":{"$ref":"#/components/examples/Create_or_update_a_simple_Gallery_Image_Version_using_snapshots_as_a_source."}}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersion"},"examples":{"Create or update a simple Gallery Image Version (Managed Image as source).":{"$ref":"#/components/examples/Create_or_update_a_simple_Gallery_Image_Version_Managed_Image_as_source_."},"Create or update a simple Gallery Image Version using snapshots as a source.":{"$ref":"#/components/examples/Create_or_update_a_simple_Gallery_Image_Version_using_snapshots_as_a_source."}}}}},"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GalleryImageVersion"},"examples":{"Create or update a simple Gallery Image Version (Managed Image as source).":{"$ref":"#/components/examples/Create_or_update_a_simple_Gallery_Image_Version_Managed_Image_as_source_."},"Create or update a simple Gallery Image Version using snapshots as a source.":{"$ref":"#/components/examples/Create_or_update_a_simple_Gallery_Image_Version_using_snapshots_as_a_source."}}}}},"default":{"description":"Error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudError"}}}}},"tags":["GalleryImageVersions"],"x-ms-long-running-operation":true}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_galleries_in_a_subscription.":{"value":{"nextLink":"http://svchost:99/subscriptions/{subscriptionId}/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName","value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName","location":"West US","name":"myGalleryName","properties":{"description":"This is the gallery description.","identifier":{"uniqueName":"{subscription-id}-MYGALLERYNAME"},"provisioningState":"Succeeded"}}]}},"List_galleries_in_a_resource_group.":{"value":{"nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName","value":[{"id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName","location":"West US","name":"myGalleryName","properties":{"description":"This is the gallery description.","identifier":{"uniqueName":"{subscription-id}-MYGALLERYNAME"},"provisioningState":"Succeeded"}}]}},"Get_a_gallery.":{"value":{"location":"West US","name":"myGalleryName","properties":{"description":"This is the gallery description.","identifier":{"uniqueName":"{subscription-id}-MYGALLERYNAME"},"provisioningState":"Succeeded"}}},"Update_a_simple_gallery.":{"value":{"location":"West US","name":"myGalleryName","properties":{"description":"This is the gallery description.","identifier":{"uniqueName":"{subscription-id}-MYGALLERYNAME"},"provisioningState":"Updating"}}},"Create_or_update_a_simple_gallery.":{"value":{"location":"West US","name":"myGalleryName","properties":{"description":"This is the gallery description.","identifier":{"uniqueName":"{subscription-id}-MYGALLERYNAME"},"provisioningState":"Updating"}}},"List_gallery_Applications_in_a_gallery.":{"value":{"nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName","value":[{"location":"West US","name":"myGalleryApplicationName","properties":{"description":"This is the gallery application description.","eula":"This is the gallery application EULA.","privacyStatementUri":"myPrivacyStatementUri}","releaseNoteUri":"myReleaseNoteUri","supportedOSType":"Windows"}}]}},"Get_a_gallery_Application.":{"value":{"location":"West US","name":"myGalleryApplicationName","properties":{"description":"This is the gallery application description.","eula":"This is the gallery application EULA.","privacyStatementUri":"myPrivacyStatementUri}","releaseNoteUri":"myReleaseNoteUri","supportedOSType":"Windows"}}},"Update_a_simple_gallery_Application.":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName","location":"West US","name":"myGalleryApplicationName","properties":{"description":"This is the gallery application description.","eula":"This is the gallery application EULA.","privacyStatementUri":"myPrivacyStatementUri}","releaseNoteUri":"myReleaseNoteUri","supportedOSType":"Windows"},"type":"Microsoft.Compute/galleries"}},"Create_or_update_a_simple_gallery_Application.":{"value":{"id":"/subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName","location":"West US","name":"myGalleryApplicationName","properties":{"description":"This is the gallery application description.","eula":"This is the gallery application EULA.","privacyStatementUri":"myPrivacyStatementUri}","releaseNoteUri":"myReleaseNoteUri","supportedOSType":"Windows"},"type":"Microsoft.Compute/galleries"}},"List_gallery_Application_Versions_in_a_gallery_Application_Definition.":{"value":{"nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/applications/myGalleryApplicationName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/applications/myGalleryApplicationName/versions/myGalleryApplicationVersionName","value":[{"id":"/subscriptions/01523d7c-60da-455e-adef-521b547922c4/resourceGroups/galleryPsTestRg98/providers/Microsoft.Compute/galleries/galleryPsTestGallery6165/applications/galleryPsTestGalleryApplication7825/versions/1.0.0","location":"West US","name":"1.0.0","properties":{"provisioningState":"Succeeded","publishingProfile":{"enableHealthCheck":false,"endOfLifeDate":"2019-07-01T07:00:00+00:00","excludeFromLatest":false,"publishedDate":"2019-06-21T17:13:57.5972568+00:00","replicaCount":1,"source":{"fileName":"package.zip","mediaLink":"https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"},"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"}]}},"type":"Microsoft.Compute/galleries/applications/versions"}]}},"Get_a_gallery_Application_Version_with_replication_status.":{"value":{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Succeeded","publishingProfile":{"enableHealthCheck":false,"endOfLifeDate":"2019-07-01T07:00:00+00:00","excludeFromLatest":false,"publishedDate":"2019-06-21T17:13:57.5972568+00:00","replicaCount":1,"source":{"fileName":"package.zip","mediaLink":"https://mystorageaccount.blob.core.windows.net/mycontainer/package.zip?{sasKey}"},"storageAccountT