SoftDeletedResourceOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:soft_deleted_resource> attribute.
Constructor
SoftDeletedResourceOperations(*args, **kwargs)
Methods
| list_by_artifact_name |
List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image version of an image. |
list_by_artifact_name
List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image version of an image.
list_by_artifact_name(resource_group_name: str, gallery_name: str, artifact_type: str, artifact_name: str, **kwargs: Any) -> ItemPaged[GallerySoftDeletedResource]
Parameters
| Name | Description |
|---|---|
|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
|
gallery_name
Required
|
The name of the Shared Image Gallery. Required. |
|
artifact_type
Required
|
The type of the artifact to be listed, such as gallery image version. Required. |
|
artifact_name
Required
|
The artifact name to be listed. If artifact type is Images, then the artifact name should be the gallery image name. Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either GallerySoftDeletedResource or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.compute.models' from 'C:\\ToolCache\\Python\\3.11.9\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv89\\Lib\\site-packages\\azure\\mgmt\\compute\\models\\__init__.py'>