Gallery Class

Specifies information about the Shared Image Gallery that you want to create or update.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.compute.v2021_07_01.models._models_py3.Resource
Gallery

Constructor

Gallery(*, location: str, tags: Optional[Dict[str, str]] = None, description: Optional[str] = None, identifier: Optional[azure.mgmt.compute.v2021_07_01.models._models_py3.GalleryIdentifier] = None, sharing_profile: Optional[azure.mgmt.compute.v2021_07_01.models._models_py3.SharingProfile] = None, soft_delete_policy: Optional[azure.mgmt.compute.v2021_07_01.models._models_py3.SoftDeletePolicy] = None, **kwargs)

Parameters

location
str
Required

Required. Resource location.

tags
dict[str, str]
Required

A set of tags. Resource tags.

description
str
Required

The description of this Shared Image Gallery resource. This property is updatable.

identifier
GalleryIdentifier
Required

Describes the gallery unique name.

sharing_profile
SharingProfile
Required

Profile for gallery sharing to subscription or tenant.

soft_delete_policy
SoftDeletePolicy
Required

Contains information about the soft deletion policy of the gallery.

Variables

id
str

Resource Id.

name
str

Resource name.

type
str

Resource type.

provisioning_state
str or GalleryPropertiesProvisioningState

The provisioning state, which only appears in the response. Possible values include: "Creating", "Updating", "Failed", "Succeeded", "Deleting", "Migrating".