CommunityGalleryImageProperties Class

Describes the properties of a gallery image definition.

Constructor

CommunityGalleryImageProperties(*args: Any, **kwargs: Any)

Variables

Name Description
os_type

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. Possible values are: Windows, Linux.. Required. Known values are: "Windows" and "Linux".

os_state

This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Required. Known values are: "Generalized" and "Specialized".

end_of_life_date

The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.

identifier

This is the community gallery image definition identifier. Required.

recommended

The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.

disallowed

Describes the disallowed disk types.

hyper_v_generation

The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Known values are: "V1" and "V2".

features

A list of gallery image features.

purchase_plan

Describes the gallery image definition purchase plan. This is used by marketplace images.

architecture

The architecture of the image. Applicable to OS disks only. Known values are: "x64" and "Arm64".

privacy_statement_uri
str

Privacy statement URI for the current community gallery image.

eula
str

The end-user license agreement for the current community gallery image.

disclaimer
str

The disclaimer for a community gallery resource.

artifact_tags

The artifact tags of a community gallery resource.

Attributes

architecture

"x64" and "Arm64".

architecture: str | _models.Architecture | None

artifact_tags

The artifact tags of a community gallery resource.

artifact_tags: dict[str, str] | None

disallowed

Describes the disallowed disk types.

disallowed: _models.Disallowed | None

disclaimer

The disclaimer for a community gallery resource.

disclaimer: str | None

end_of_life_date

The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.

end_of_life_date: datetime | None

eula

The end-user license agreement for the current community gallery image.

eula: str | None

features

A list of gallery image features.

features: list['_models.GalleryImageFeature'] | None

hyper_v_generation

The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Known values are: "V1" and "V2".

hyper_v_generation: str | _models.HyperVGeneration | None

identifier

This is the community gallery image definition identifier. Required.

identifier: _models.CommunityGalleryImageIdentifier

os_state

This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Required. Known values are: "Generalized" and "Specialized".

os_state: str | _models.OperatingSystemStateTypes

os_type

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. Possible values are: Windows, Linux.. Required. Known values are: "Windows" and "Linux".

os_type: str | _models.OperatingSystemTypes

privacy_statement_uri

Privacy statement URI for the current community gallery image.

privacy_statement_uri: str | None

purchase_plan

Describes the gallery image definition purchase plan. This is used by marketplace images.

purchase_plan: _models.ImagePurchasePlan | None

The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.

recommended: _models.RecommendedMachineConfiguration | None