Interface SoftDeletedResourcesClient


public interface SoftDeletedResourcesClient
An instance of this class provides access to all the operations defined in SoftDeletedResourcesClient.
  • Method Details

    • listByArtifactNameAsync

      com.azure.core.http.rest.PagedFlux<GallerySoftDeletedResourceInner> listByArtifactNameAsync(String resourceGroupName, String galleryName, String artifactType, String artifactName)
      List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image version of an image.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      artifactType - The type of the artifact to be listed, such as gallery image version.
      artifactName - The artifact name to be listed. If artifact type is Images, then the artifact name should be the gallery image name.
      Returns:
      the List Soft-deleted Resources operation response as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByArtifactName

      com.azure.core.http.rest.PagedIterable<GallerySoftDeletedResourceInner> listByArtifactName(String resourceGroupName, String galleryName, String artifactType, String artifactName)
      List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image version of an image.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      artifactType - The type of the artifact to be listed, such as gallery image version.
      artifactName - The artifact name to be listed. If artifact type is Images, then the artifact name should be the gallery image name.
      Returns:
      the List Soft-deleted Resources operation response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByArtifactName

      com.azure.core.http.rest.PagedIterable<GallerySoftDeletedResourceInner> listByArtifactName(String resourceGroupName, String galleryName, String artifactType, String artifactName, com.azure.core.util.Context context)
      List soft-deleted resources of an artifact in the gallery, such as soft-deleted gallery image version of an image.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      galleryName - The name of the Shared Image Gallery.
      artifactType - The type of the artifact to be listed, such as gallery image version.
      artifactName - The artifact name to be listed. If artifact type is Images, then the artifact name should be the gallery image name.
      context - The context to associate with this operation.
      Returns:
      the List Soft-deleted Resources operation response as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.