你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryImageVersion Class

Specifies information about the gallery image version 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 server.

Constructor

GalleryImageVersion(*, location: str, tags: dict[str, str] | None = None, publishing_profile: _models.GalleryImageVersionPublishingProfile | None = None, storage_profile: _models.GalleryImageVersionStorageProfile | None = None, safety_profile: _models.GalleryImageVersionSafetyProfile | None = None, security_profile: _models.ImageVersionSecurityProfile | None = None, restore: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

Resource tags.

Default value: None
location
str

The geo-location where the resource lives. Required.

publishing_profile

The publishing profile of a gallery image Version.

Default value: None
storage_profile

This is the storage profile of a Gallery Image Version.

Default value: None
safety_profile

This is the safety profile of the Gallery Image Version.

Default value: None
security_profile

The security profile of a gallery image version.

Default value: None
restore

Indicates if this is a soft-delete resource restoration request.

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags

Resource tags.

location
str

The geo-location where the resource lives. Required.

publishing_profile

The publishing profile of a gallery image Version.

provisioning_state

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

storage_profile

This is the storage profile of a Gallery Image Version.

safety_profile

This is the safety profile of the Gallery Image Version.

replication_status

This is the replication status of the gallery image version.

security_profile

The security profile of a gallery image version.

restore

Indicates if this is a soft-delete resource restoration request.

validations_profile

This is the validations profile of a Gallery Image Version.