{"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}"},"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"}]},"replicationStatus":{"aggregatedState":"Completed","summary":[{"details":"","progress":100,"region":"West US","state":"Completed"}]}}}},"Get_a_gallery_Application_Version.":{"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"}},"Update_a_simple_gallery_Application_Version.":{"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":"Updating","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"}},"Create_or_update_a_simple_gallery_Application_Version.":{"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":"Updating","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"}},"List_gallery_images_in_a_gallery.":{"value":{"nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName","value":[{"location":"West US","name":"myGalleryImageName","properties":{"hyperVGeneration":"V1","identifier":{"offer":"myOfferName","publisher":"myPublisherName","sku":"mySkuName"},"osState":"Generalized","osType":"Windows","provisioningState":"Succeeded"}}]}},"Get_a_gallery_image.":{"value":{"location":"West US","name":"myGalleryImageName","properties":{"hyperVGeneration":"V1","identifier":{"offer":"myOfferName","publisher":"myPublisherName","sku":"mySkuName"},"osState":"Generalized","osType":"Windows","provisioningState":"Succeeded"}}},"Update_a_simple_gallery_image.":{"value":{"location":"West US","name":"myGalleryImageName","properties":{"hyperVGeneration":"V1","identifier":{"offer":"myOfferName","publisher":"myPublisherName","sku":"mySkuName"},"osState":"Generalized","osType":"Windows","provisioningState":"Updating"}}},"Create_or_update_a_simple_gallery_image.":{"value":{"location":"West US","name":"myGalleryImageName","properties":{"hyperVGeneration":"V1","identifier":{"offer":"myOfferName","publisher":"myPublisherName","sku":"mySkuName"},"osState":"Generalized","osType":"Windows","provisioningState":"Updating"}}},"List_gallery_Image_Versions_in_a_gallery_Image_Definition.":{"value":{"nextLink":"http://svchost:99/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/galleries/myGalleryName/images/myGalleryImageName/versions?$skiptoken={token}/Subscriptions/{subscriptionId}/ResourceGroups/myResourceGroup/galleries/myGalleryName/images/myGalleryImageName/versions/myGalleryImageVersionName","value":[{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Succeeded","publishingProfile":{"publishedDate":"2018-01-01T00:00:00Z","replicaCount":1,"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East US","regionalReplicaCount":2,"storageAccountType":"Standard_LRS"}]},"storageProfile":{"dataDiskImages":[{"hostCaching":"None","lun":1,"sizeInGB":10}],"osDiskImage":{"hostCaching":"ReadOnly","sizeInGB":10},"source":{"id":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"}}}}]}},"Get_a_gallery_Image_Version_with_replication_status.":{"value":{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Succeeded","publishingProfile":{"publishedDate":"2018-01-01T00:00:00Z","replicaCount":1,"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East US","regionalReplicaCount":2,"storageAccountType":"Standard_LRS"}]},"replicationStatus":{"aggregatedState":"Completed","summary":[{"details":"","progress":100,"region":"West US","state":"Completed"},{"details":"","progress":100,"region":"East US","state":"Completed"}]},"storageProfile":{"dataDiskImages":[{"hostCaching":"None","lun":1,"sizeInGB":10}],"osDiskImage":{"hostCaching":"ReadOnly","sizeInGB":10},"source":{"id":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"}}}}},"Get_a_gallery_Image_Version_with_snapshots_as_a_source.":{"value":{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Succeeded","publishingProfile":{"publishedDate":"2018-01-01T00:00:00Z","replicaCount":1,"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East US","regionalReplicaCount":2,"storageAccountType":"Standard_LRS"}]},"storageProfile":{"dataDiskImages":[{"hostCaching":"None","lun":1,"sizeInGB":10,"source":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}"}],"osDiskImage":{"hostCaching":"ReadOnly","sizeInGB":10,"source":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{snapshotName}"}}}}},"Get_a_gallery_Image_Version.":{"value":{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Succeeded","publishingProfile":{"publishedDate":"2018-01-01T00:00:00Z","replicaCount":1,"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East US","regionalReplicaCount":2,"storageAccountType":"Standard_LRS"}]},"storageProfile":{"dataDiskImages":[{"hostCaching":"None","lun":1,"sizeInGB":10}],"osDiskImage":{"hostCaching":"ReadOnly","sizeInGB":10},"source":{"id":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"}}}}},"Update_a_simple_Gallery_Image_Version_Managed_Image_as_source_.":{"value":{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Updating","publishingProfile":{"publishedDate":"2018-01-01T00:00:00Z","replicaCount":1,"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East US","regionalReplicaCount":2,"storageAccountType":"Standard_ZRS"}]},"storageProfile":{"dataDiskImages":[{"hostCaching":"None","lun":1,"sizeInGB":10}],"osDiskImage":{"hostCaching":"ReadOnly","sizeInGB":10},"source":{"id":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"}}}}},"Create_or_update_a_simple_Gallery_Image_Version_Managed_Image_as_source_.":{"value":{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Updating","publishingProfile":{"publishedDate":"2018-01-01T00:00:00Z","replicaCount":1,"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East US","regionalReplicaCount":2,"storageAccountType":"Standard_ZRS"}]},"storageProfile":{"dataDiskImages":[{"hostCaching":"None","lun":1,"sizeInGB":10}],"osDiskImage":{"hostCaching":"ReadOnly","sizeInGB":10},"source":{"id":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/images/{imageName}"}}}}},"Create_or_update_a_simple_Gallery_Image_Version_using_snapshots_as_a_source.":{"value":{"location":"West US","name":"1.0.0","properties":{"provisioningState":"Updating","publishingProfile":{"publishedDate":"2018-01-01T00:00:00Z","replicaCount":1,"storageAccountType":"Standard_LRS","targetRegions":[{"name":"West US","regionalReplicaCount":1,"storageAccountType":"Standard_LRS"},{"name":"East US","regionalReplicaCount":2,"storageAccountType":"Standard_ZRS"}]},"storageProfile":{"dataDiskImages":[{"hostCaching":"None","lun":1,"sizeInGB":10,"source":{"id":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{diskSnapshotName}"}}],"osDiskImage":{"hostCaching":"ReadOnly","sizeInGB":10,"source":{"id":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/snapshots/{osSnapshotName}"}}}}}}},"parameters":{"ApiVersionParameter":{"description":"Client Api Version.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List galleries in a subscription.":{"value":"2019-07-01"},"List galleries in a resource group.":{"value":"2019-07-01"},"Delete a gallery.":{"value":"2019-07-01"},"Get a gallery.":{"value":"2019-07-01"},"Update a simple gallery.":{"value":"2019-07-01"},"Create or update a simple gallery.":{"value":"2019-07-01"},"List gallery Applications in a gallery.":{"value":"2019-07-01"},"Delete a gallery Application.":{"value":"2019-07-01"},"Get a gallery Application.":{"value":"2019-07-01"},"Update a simple gallery Application.":{"value":"2019-07-01"},"Create or update a simple gallery Application.":{"value":"2019-07-01"},"List gallery Application Versions in a gallery Application Definition.":{"value":"2019-07-01"},"Delete a gallery Application Version.":{"value":"2019-07-01"},"Get a gallery Application Version with replication status.":{"value":"2019-07-01"},"Get a gallery Application Version.":{"value":"2019-07-01"},"Update a simple gallery Application Version.":{"value":"2019-07-01"},"Create or update a simple gallery Application Version.":{"value":"2019-07-01"},"List gallery images in a gallery.":{"value":"2019-07-01"},"Delete a gallery image.":{"value":"2019-07-01"},"Get a gallery image.":{"value":"2019-07-01"},"Update a simple gallery image.":{"value":"2019-07-01"},"Create or update a simple gallery image.":{"value":"2019-07-01"},"List gallery Image Versions in a gallery Image Definition.":{"value":"2019-07-01"},"Delete a gallery Image Version.":{"value":"2019-07-01"},"Get a gallery Image Version with replication status.":{"value":"2019-07-01"},"Get a gallery Image Version with snapshots as a source.":{"value":"2019-07-01"},"Get a gallery Image Version.":{"value":"2019-07-01"},"Update a simple Gallery Image Version (Managed Image as source).":{"value":"2019-07-01"},"Create or update a simple Gallery Image Version (Managed Image as source).":{"value":"2019-07-01"},"Create or update a simple Gallery Image Version using snapshots as a source.":{"value":"2019-07-01"}}},"ResourceGroupNameParameter":{"description":"The name of the resource group.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List galleries in a resource group.":{"value":"myResourceGroup"},"Delete a gallery.":{"value":"myResourceGroup"},"Get a gallery.":{"value":"myResourceGroup"},"Update a simple gallery.":{"value":"myResourceGroup"},"Create or update a simple gallery.":{"value":"myResourceGroup"},"List gallery Applications in a gallery.":{"value":"myResourceGroup"},"Delete a gallery Application.":{"value":"myResourceGroup"},"Get a gallery Application.":{"value":"myResourceGroup"},"Update a simple gallery Application.":{"value":"myResourceGroup"},"Create or update a simple gallery Application.":{"value":"myResourceGroup"},"List gallery Application Versions in a gallery Application Definition.":{"value":"myResourceGroup"},"Delete a gallery Application Version.":{"value":"myResourceGroup"},"Get a gallery Application Version with replication status.":{"value":"myResourceGroup"},"Get a gallery Application Version.":{"value":"myResourceGroup"},"Update a simple gallery Application Version.":{"value":"myResourceGroup"},"Create or update a simple gallery Application Version.":{"value":"myResourceGroup"},"List gallery images in a gallery.":{"value":"myResourceGroup"},"Delete a gallery image.":{"value":"myResourceGroup"},"Get a gallery image.":{"value":"myResourceGroup"},"Update a simple gallery image.":{"value":"myResourceGroup"},"Create or update a simple gallery image.":{"value":"myResourceGroup"},"List gallery Image Versions in a gallery Image Definition.":{"value":"myResourceGroup"},"Delete a gallery Image Version.":{"value":"myResourceGroup"},"Get a gallery Image Version with replication status.":{"value":"myResourceGroup"},"Get a gallery Image Version with snapshots as a source.":{"value":"myResourceGroup"},"Get a gallery Image Version.":{"value":"myResourceGroup"},"Update a simple Gallery Image Version (Managed Image as source).":{"value":"myResourceGroup"},"Create or update a simple Gallery Image Version (Managed Image as source).":{"value":"myResourceGroup"},"Create or update a simple Gallery Image Version using snapshots as a source.":{"value":"myResourceGroup"}}},"SubscriptionIdParameter":{"description":"Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List galleries in a subscription.":{"value":"{subscription-id}"},"List galleries in a resource group.":{"value":"{subscription-id}"},"Delete a gallery.":{"value":"{subscription-id}"},"Get a gallery.":{"value":"{subscription-id}"},"Update a simple gallery.":{"value":"{subscription-id}"},"Create or update a simple gallery.":{"value":"{subscription-id}"},"List gallery Applications in a gallery.":{"value":"{subscription-id}"},"Delete a gallery Application.":{"value":"{subscription-id}"},"Get a gallery Application.":{"value":"{subscription-id}"},"Update a simple gallery Application.":{"value":"{subscription-id}"},"Create or update a simple gallery Application.":{"value":"{subscription-id}"},"List gallery Application Versions in a gallery Application Definition.":{"value":"{subscription-id}"},"Delete a gallery Application Version.":{"value":"{subscription-id}"},"Get a gallery Application Version with replication status.":{"value":"{subscription-id}"},"Get a gallery Application Version.":{"value":"{subscription-id}"},"Update a simple gallery Application Version.":{"value":"{subscription-id}"},"Create or update a simple gallery Application Version.":{"value":"{subscription-id}"},"List gallery images in a gallery.":{"value":"{subscription-id}"},"Delete a gallery image.":{"value":"{subscription-id}"},"Get a gallery image.":{"value":"{subscription-id}"},"Update a simple gallery image.":{"value":"{subscription-id}"},"Create or update a simple gallery image.":{"value":"{subscription-id}"},"List gallery Image Versions in a gallery Image Definition.":{"value":"{subscription-id}"},"Delete a gallery Image Version.":{"value":"{subscription-id}"},"Get a gallery Image Version with replication status.":{"value":"{subscription-id}"},"Get a gallery Image Version with snapshots as a source.":{"value":"{subscription-id}"},"Get a gallery Image Version.":{"value":"{subscription-id}"},"Update a simple Gallery Image Version (Managed Image as source).":{"value":"{subscription-id}"},"Create or update a simple Gallery Image Version (Managed Image as source).":{"value":"{subscription-id}"},"Create or update a simple Gallery Image Version using snapshots as a source.":{"value":"{subscription-id}"}}}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"impersonate your user account"}}}}},"schemas":{"ApiError":{"description":"Api error.","properties":{"code":{"description":"The error code.","type":"string"},"details":{"description":"The Api error details","items":{"$ref":"#/components/schemas/ApiErrorBase"},"type":"array"},"innererror":{"$ref":"#/components/schemas/InnerError"},"message":{"description":"The error message.","type":"string"},"target":{"description":"The target of the particular error.","type":"string"}}},"ApiErrorBase":{"description":"Api error base.","properties":{"code":{"description":"The error code.","type":"string"},"message":{"description":"The error message.","type":"string"},"target":{"description":"The target of the particular error.","type":"string"}}},"CloudError":{"description":"An error response from the Compute service.","properties":{"error":{"$ref":"#/components/schemas/ApiError"}},"x-ms-external":true},"Disallowed":{"description":"Describes the disallowed disk types.","properties":{"diskTypes":{"description":"A list of disk types.","items":{"type":"string"},"type":"array"}}},"Gallery":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Specifies information about the Shared Image Gallery that you want to create or update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryProperties"}}},"GalleryApplication":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Specifies information about the gallery Application Definition that you want to create or update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryApplicationProperties"}}},"GalleryApplicationList":{"description":"The List Gallery Applications operation response.","properties":{"nextLink":{"description":"The uri to fetch the next page of Application Definitions in the Application Gallery. Call ListNext() with this to fetch the next page of gallery Application Definitions.","type":"string"},"value":{"description":"A list of Gallery Applications.","items":{"$ref":"#/components/schemas/GalleryApplication"},"type":"array"}},"required":["value"]},"GalleryApplicationProperties":{"description":"Describes the properties of a gallery Application Definition.","properties":{"description":{"description":"The description of this gallery Application Definition resource. This property is updatable.","type":"string"},"endOfLifeDate":{"description":"The end of life date of the gallery Application Definition. This property can be used for decommissioning purposes. This property is updatable.","format":"date-time","type":"string"},"eula":{"description":"The Eula agreement for the gallery Application Definition.","type":"string"},"privacyStatementUri":{"description":"The privacy statement uri.","type":"string"},"releaseNoteUri":{"description":"The release note uri.","type":"string"},"supportedOSType":{"description":"This property allows you to specify the supported type of the OS that application is built for. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**","enum":["Windows","Linux"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"OperatingSystemTypes"}}},"required":["supportedOSType"]},"GalleryApplicationUpdate":{"allOf":[{"$ref":"#/components/schemas/UpdateResource"}],"description":"Specifies information about the gallery Application Definition that you want to update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryApplicationProperties"}}},"GalleryApplicationVersion":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Specifies information about the gallery Application Version that you want to create or update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryApplicationVersionProperties"}}},"GalleryApplicationVersionList":{"description":"The List Gallery Application version operation response.","properties":{"nextLink":{"description":"The uri to fetch the next page of gallery Application Versions. Call ListNext() with this to fetch the next page of gallery Application Versions.","type":"string"},"value":{"description":"A list of gallery Application Versions.","items":{"$ref":"#/components/schemas/GalleryApplicationVersion"},"type":"array"}},"required":["value"]},"GalleryApplicationVersionProperties":{"description":"Describes the properties of a gallery Image Version.","properties":{"provisioningState":{"description":"The provisioning state, which only appears in the response.","enum":["Creating","Updating","Failed","Succeeded","Deleting","Migrating"],"readOnly":true,"title":"The current state of the gallery Application Version.","type":"string"},"publishingProfile":{"$ref":"#/components/schemas/GalleryApplicationVersionPublishingProfile"},"replicationStatus":{"$ref":"#/components/schemas/ReplicationStatus"}},"required":["publishingProfile"]},"GalleryApplicationVersionPublishingProfile":{"allOf":[{"$ref":"#/components/schemas/GalleryArtifactPublishingProfileBase"}],"description":"The publishing profile of a gallery Image Version.","properties":{"contentType":{"description":"Optional. May be used to help process this file. The type of file contained in the source, e.g. zip, json, etc.","type":"string"},"enableHealthCheck":{"description":"Optional. Whether or not this application reports health.","type":"boolean"},"source":{"$ref":"#/components/schemas/UserArtifactSource"}},"required":["source"]},"GalleryApplicationVersionUpdate":{"allOf":[{"$ref":"#/components/schemas/UpdateResource"}],"description":"Specifies information about the gallery Application Version that you want to update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryApplicationVersionProperties"}}},"GalleryArtifactPublishingProfileBase":{"description":"Describes the basic gallery artifact publishing profile.","properties":{"endOfLifeDate":{"description":"The end of life date of the gallery Image Version. This property can be used for decommissioning purposes. This property is updatable.","format":"date-time","type":"string"},"excludeFromLatest":{"description":"If set to true, Virtual Machines deployed from the latest version of the Image Definition won't use this Image Version.","type":"boolean"},"publishedDate":{"description":"The timestamp for when the gallery Image Version is published.","format":"date-time","readOnly":true,"type":"string"},"replicaCount":{"description":"The number of replicas of the Image Version to be created per region. This property would take effect for a region when regionalReplicaCount is not specified. This property is updatable.","format":"int32","type":"integer"},"storageAccountType":{"description":"Specifies the storage account type to be used to store the image. This property is not updatable.","enum":["Standard_LRS","Standard_ZRS"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"StorageAccountType"}},"targetRegions":{"description":"The target regions where the Image Version is going to be replicated to. This property is updatable.","items":{"$ref":"#/components/schemas/TargetRegion"},"type":"array"}}},"GalleryArtifactSource":{"description":"The source image from which the Image Version is going to be created.","properties":{"managedImage":{"$ref":"#/components/schemas/ManagedArtifact"}},"required":["managedImage"]},"GalleryArtifactVersionSource":{"description":"The gallery artifact version source.","properties":{"id":{"description":"The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, or user image.","type":"string"}},"required":["id"]},"GalleryDataDiskImage":{"allOf":[{"$ref":"#/components/schemas/GalleryDiskImage"}],"description":"This is the data disk image.","properties":{"lun":{"description":"This property specifies the logical unit number of the data disk. This value is used to identify data disks within the Virtual Machine and therefore must be unique for each data disk attached to the Virtual Machine.","format":"int32","type":"integer"}},"required":["lun"]},"GalleryDiskImage":{"description":"This is the disk image base class.","properties":{"hostCaching":{"description":"The host caching of the disk. Valid values are 'None', 'ReadOnly', and 'ReadWrite'","enum":["None","ReadOnly","ReadWrite"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"HostCaching"}},"sizeInGB":{"description":"This property indicates the size of the VHD to be created.","format":"int32","readOnly":true,"type":"integer"},"source":{"$ref":"#/components/schemas/GalleryArtifactVersionSource"}}},"GalleryIdentifier":{"description":"Describes the gallery unique name.","properties":{"uniqueName":{"description":"The unique name of the Shared Image Gallery. This name is generated automatically by Azure.","readOnly":true,"type":"string"}}},"GalleryImage":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Specifies information about the gallery Image Definition that you want to create or update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryImageProperties"}}},"GalleryImageIdentifier":{"description":"This is the gallery Image Definition identifier.","properties":{"offer":{"description":"The name of the gallery Image Definition offer.","type":"string"},"publisher":{"description":"The name of the gallery Image Definition publisher.","type":"string"},"sku":{"description":"The name of the gallery Image Definition SKU.","type":"string"}},"required":["publisher","offer","sku"]},"GalleryImageList":{"description":"The List Gallery Images operation response.","properties":{"nextLink":{"description":"The uri to fetch the next page of Image Definitions in the Shared Image Gallery. Call ListNext() with this to fetch the next page of gallery Image Definitions.","type":"string"},"value":{"description":"A list of Shared Image Gallery images.","items":{"$ref":"#/components/schemas/GalleryImage"},"type":"array"}},"required":["value"]},"GalleryImageProperties":{"description":"Describes the properties of a gallery Image Definition.","properties":{"description":{"description":"The description of this gallery Image Definition resource. This property is updatable.","type":"string"},"disallowed":{"$ref":"#/components/schemas/Disallowed"},"endOfLifeDate":{"description":"The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.","format":"date-time","type":"string"},"eula":{"description":"The Eula agreement for the gallery Image Definition.","type":"string"},"hyperVGeneration":{"description":"The hypervisor generation of the Virtual Machine. Applicable to OS disks only.","enum":["V1","V2"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"HyperVGeneration"}},"identifier":{"$ref":"#/components/schemas/GalleryImageIdentifier"},"osState":{"description":"This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.","enum":["Generalized","Specialized"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"OperatingSystemStateTypes"}},"osType":{"description":"This property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**","enum":["Windows","Linux"],"type":"string","x-ms-enum":{"modelAsString":false,"name":"OperatingSystemTypes"}},"privacyStatementUri":{"description":"The privacy statement uri.","type":"string"},"provisioningState":{"description":"The provisioning state, which only appears in the response.","enum":["Creating","Updating","Failed","Succeeded","Deleting","Migrating"],"readOnly":true,"title":"The current state of the gallery Image Definition.","type":"string"},"purchasePlan":{"$ref":"#/components/schemas/ImagePurchasePlan"},"recommended":{"$ref":"#/components/schemas/RecommendedMachineConfiguration"},"releaseNoteUri":{"description":"The release note uri.","type":"string"}},"required":["osType","osState","identifier"]},"GalleryImageUpdate":{"allOf":[{"$ref":"#/components/schemas/UpdateResource"}],"description":"Specifies information about the gallery Image Definition that you want to update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryImageProperties"}}},"GalleryImageVersion":{"allOf":[{"$ref":"#/components/schemas/Resource"}],"description":"Specifies information about the gallery Image Version that you want to create or update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryImageVersionProperties"}}},"GalleryImageVersionList":{"description":"The List Gallery Image version operation response.","properties":{"nextLink":{"description":"The uri to fetch the next page of gallery Image Versions. Call ListNext() with this to fetch the next page of gallery Image Versions.","type":"string"},"value":{"description":"A list of gallery Image Versions.","items":{"$ref":"#/components/schemas/GalleryImageVersion"},"type":"array"}},"required":["value"]},"GalleryImageVersionProperties":{"description":"Describes the properties of a gallery Image Version.","properties":{"provisioningState":{"description":"The provisioning state, which only appears in the response.","enum":["Creating","Updating","Failed","Succeeded","Deleting","Migrating"],"readOnly":true,"title":"The current state of the gallery Image Version.","type":"string"},"publishingProfile":{"$ref":"#/components/schemas/GalleryImageVersionPublishingProfile"},"replicationStatus":{"$ref":"#/components/schemas/ReplicationStatus"},"storageProfile":{"$ref":"#/components/schemas/GalleryImageVersionStorageProfile"}},"required":["storageProfile"]},"GalleryImageVersionPublishingProfile":{"allOf":[{"$ref":"#/components/schemas/GalleryArtifactPublishingProfileBase"}],"description":"The publishing profile of a gallery Image Version."},"GalleryImageVersionStorageProfile":{"description":"This is the storage profile of a Gallery Image Version.","properties":{"dataDiskImages":{"description":"A list of data disk images.","items":{"$ref":"#/components/schemas/GalleryDataDiskImage"},"type":"array"},"osDiskImage":{"$ref":"#/components/schemas/GalleryOSDiskImage"},"source":{"$ref":"#/components/schemas/GalleryArtifactVersionSource"}}},"GalleryImageVersionUpdate":{"allOf":[{"$ref":"#/components/schemas/UpdateResource"}],"description":"Specifies information about the gallery Image Version that you want to update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryImageVersionProperties"}}},"GalleryList":{"description":"The List Galleries operation response.","properties":{"nextLink":{"description":"The uri to fetch the next page of galleries. Call ListNext() with this to fetch the next page of galleries.","type":"string"},"value":{"description":"A list of galleries.","items":{"$ref":"#/components/schemas/Gallery"},"type":"array"}},"required":["value"]},"GalleryOSDiskImage":{"allOf":[{"$ref":"#/components/schemas/GalleryDiskImage"}],"description":"This is the OS disk image."},"GalleryProperties":{"description":"Describes the properties of a Shared Image Gallery.","properties":{"description":{"description":"The description of this Shared Image Gallery resource. This property is updatable.","type":"string"},"identifier":{"$ref":"#/components/schemas/GalleryIdentifier"},"provisioningState":{"description":"The provisioning state, which only appears in the response.","enum":["Creating","Updating","Failed","Succeeded","Deleting","Migrating"],"readOnly":true,"title":"The current state of the gallery.","type":"string"}}},"GalleryUpdate":{"allOf":[{"$ref":"#/components/schemas/UpdateResource"}],"description":"Specifies information about the Shared Image Gallery that you want to update.","properties":{"properties":{"$ref":"#/components/schemas/GalleryProperties"}}},"ImagePurchasePlan":{"description":"Describes the gallery Image Definition purchase plan. This is used by marketplace images.","properties":{"name":{"description":"The plan ID.","type":"string"},"product":{"description":"The product ID.","type":"string"},"publisher":{"description":"The publisher ID.","type":"string"}}},"InnerError":{"description":"Inner error details.","properties":{"errordetail":{"description":"The internal error message or exception dump.","type":"string"},"exceptiontype":{"description":"The exception type.","type":"string"}}},"ManagedArtifact":{"description":"The managed artifact.","properties":{"id":{"description":"The managed artifact id.","type":"string"}},"required":["id"]},"RecommendedMachineConfiguration":{"description":"The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.","properties":{"memory":{"$ref":"#/components/schemas/ResourceRange"},"vCPUs":{"$ref":"#/components/schemas/ResourceRange"}}},"RegionalReplicationStatus":{"description":"This is the regional replication status.","properties":{"details":{"description":"The details of the replication status.","readOnly":true,"type":"string"},"progress":{"description":"It indicates progress of the replication job.","format":"int32","readOnly":true,"type":"integer"},"region":{"description":"The region to which the gallery Image Version is being replicated to.","readOnly":true,"type":"string"},"state":{"description":"This is the regional replication state.","enum":["Unknown","Replicating","Completed","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"ReplicationState"}}}},"ReplicationStatus":{"description":"This is the replication status of the gallery Image Version.","properties":{"aggregatedState":{"description":"This is the aggregated replication status based on all the regional replication status flags.","enum":["Unknown","InProgress","Completed","Failed"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"AggregatedReplicationState"}},"summary":{"description":"This is a summary of replication status for each region.","items":{"$ref":"#/components/schemas/RegionalReplicationStatus"},"readOnly":true,"type":"array"}}},"Resource":{"description":"The Resource model definition.","properties":{"id":{"description":"Resource Id","readOnly":true,"type":"string"},"location":{"description":"Resource location","type":"string"},"name":{"description":"Resource name","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags","type":"object"},"type":{"description":"Resource type","readOnly":true,"type":"string"}},"required":["location"],"x-ms-azure-resource":true},"ResourceRange":{"description":"Describes the resource range.","properties":{"max":{"description":"The maximum number of the resource.","format":"int32","type":"integer"},"min":{"description":"The minimum number of the resource.","format":"int32","type":"integer"}}},"TargetRegion":{"description":"Describes the target region information.","properties":{"name":{"description":"The name of the region.","type":"string"},"regionalReplicaCount":{"description":"The number of replicas of the Image Version to be created per region. This property is updatable.","format":"int32","type":"integer"},"storageAccountType":{"description":"Specifies the storage account type to be used to store the image. This property is not updatable.","enum":["Standard_LRS","Standard_ZRS"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"StorageAccountType"}}},"required":["name"]},"UpdateResource":{"description":"The Update Resource model definition.","properties":{"id":{"description":"Resource Id","readOnly":true,"type":"string"},"name":{"description":"Resource name","readOnly":true,"type":"string"},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags","type":"object"},"type":{"description":"Resource type","readOnly":true,"type":"string"}},"x-ms-azure-resource":true},"UserArtifactSource":{"description":"The source image from which the Image Version is going to be created.","properties":{"fileName":{"description":"Required. The fileName of the artifact.","type":"string"},"mediaLink":{"description":"Required. The mediaLink of the artifact, must be a readable storage blob.","type":"string"}},"required":["fileName","mediaLink"]}}}}