Share via


GallerySoftDeletedResource Class

The details information of soft-deleted resource.

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

GallerySoftDeletedResource(*, location: str, tags: dict[str, str] | None = None, resource_arm_id: str | None = None, soft_deleted_artifact_type: str | _models.SoftDeletedArtifactTypes | None = None, soft_deleted_time: str | 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.

resource_arm_id
str

arm id of the soft-deleted resource.

Default value: None
soft_deleted_artifact_type

artifact type of the soft-deleted resource. "Images"

Default value: None
soft_deleted_time
str

The timestamp for when the resource is soft-deleted. In dateTime offset format.

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.

resource_arm_id
str

arm id of the soft-deleted resource.

soft_deleted_artifact_type

artifact type of the soft-deleted resource. "Images"

soft_deleted_time
str

The timestamp for when the resource is soft-deleted. In dateTime offset format.