GalleryImageUpdate Class
Specifies information about the gallery Image Definition that you want to update.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.compute.v2019_07_01.models._models_py3.UpdateResourceGalleryImageUpdate
Constructor
GalleryImageUpdate(*, tags: Optional[Dict[str, str]] = None, description: Optional[str] = None, eula: Optional[str] = None, privacy_statement_uri: Optional[str] = None, release_note_uri: Optional[str] = None, os_type: Optional[Union[str, azure.mgmt.compute.v2019_07_01.models._compute_management_client_enums.OperatingSystemTypes]] = None, os_state: Optional[Union[str, azure.mgmt.compute.v2019_07_01.models._compute_management_client_enums.OperatingSystemStateTypes]] = None, hyper_v_generation: Optional[Union[str, azure.mgmt.compute.v2019_07_01.models._compute_management_client_enums.HyperVGeneration]] = None, end_of_life_date: Optional[datetime.datetime] = None, identifier: Optional[azure.mgmt.compute.v2019_07_01.models._models_py3.GalleryImageIdentifier] = None, recommended: Optional[azure.mgmt.compute.v2019_07_01.models._models_py3.RecommendedMachineConfiguration] = None, disallowed: Optional[azure.mgmt.compute.v2019_07_01.models._models_py3.Disallowed] = None, purchase_plan: Optional[azure.mgmt.compute.v2019_07_01.models._models_py3.ImagePurchasePlan] = None, **kwargs)
Parameters
- description
- str
The description of this gallery Image Definition resource. This property is updatable.
- os_type
- str or OperatingSystemTypes
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. Possible values
include: "Windows", "Linux".
- os_state
- str or OperatingSystemStateTypes
This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: "Generalized", "Specialized".
- hyper_v_generation
- str or HyperVGeneration
The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: "V1", "V2".
- end_of_life_date
- datetime
The end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.
- recommended
- RecommendedMachineConfiguration
The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
- purchase_plan
- ImagePurchasePlan
Describes the gallery Image Definition purchase plan. This is used by marketplace images.
Variables
- provisioning_state
- str or GalleryImagePropertiesProvisioningState
The provisioning state, which only appears in the response. Possible values include: "Creating", "Updating", "Failed", "Succeeded", "Deleting", "Migrating".
Feedback
Submit and view feedback for