Package version:

Interface SoftDeletedResource

Interface representing a SoftDeletedResource.

interface SoftDeletedResource {
    listByArtifactName(resourceGroupName: string, galleryName: string, artifactType: string, artifactName: string, options?: SoftDeletedResourceListByArtifactNameOptionalParams): PagedAsyncIterableIterator<GallerySoftDeletedResource>;
}

Methods

  • List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image version of an image.

    Parameters

    • resourceGroupName: string

      The name of the resource group.

    • galleryName: string

      The name of the Gallery in which the soft-deleted resources resides.

    • artifactType: string

      The type of the artifact to be listed, such as gallery image version.

    • artifactName: string

      The artifact name to be listed. If artifact type is Images, then the artifact name should be the gallery image name.

    • Optionaloptions: SoftDeletedResourceListByArtifactNameOptionalParams

      The options parameters.

    Returns PagedAsyncIterableIterator<GallerySoftDeletedResource>