Interface SharedGalleryImageVersionsClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<SharedGalleryImageVersionInner> listAsync(String location, String galleryUniqueName, String galleryImageName, SharedToValues sharedTo)
      List shared gallery image versions by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      sharedTo - The query parameter to decide what shared galleries to fetch when doing listing operations.
      Returns:
      the List Shared Gallery Image versions 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<SharedGalleryImageVersionInner> listAsync(String location, String galleryUniqueName, String galleryImageName)
      List shared gallery image versions by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      Returns:
      the List Shared Gallery Image versions 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.
    • list

      com.azure.core.http.rest.PagedIterable<SharedGalleryImageVersionInner> list(String location, String galleryUniqueName, String galleryImageName)
      List shared gallery image versions by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      Returns:
      the List Shared Gallery Image versions 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.
    • list

      com.azure.core.http.rest.PagedIterable<SharedGalleryImageVersionInner> list(String location, String galleryUniqueName, String galleryImageName, SharedToValues sharedTo, com.azure.core.util.Context context)
      List shared gallery image versions by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      sharedTo - The query parameter to decide what shared galleries to fetch when doing listing operations.
      context - The context to associate with this operation.
      Returns:
      the List Shared Gallery Image versions 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<SharedGalleryImageVersionInner>> getWithResponseAsync(String location, String galleryUniqueName, String galleryImageName, String galleryImageVersionName)
      Get a shared gallery image version by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      galleryImageVersionName - The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.
      Returns:
      a shared gallery image version by subscription id or tenant id along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<SharedGalleryImageVersionInner> getAsync(String location, String galleryUniqueName, String galleryImageName, String galleryImageVersionName)
      Get a shared gallery image version by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      galleryImageVersionName - The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.
      Returns:
      a shared gallery image version by subscription id or tenant id on successful completion of Mono.
      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.
    • get

      SharedGalleryImageVersionInner get(String location, String galleryUniqueName, String galleryImageName, String galleryImageVersionName)
      Get a shared gallery image version by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      galleryImageVersionName - The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.
      Returns:
      a shared gallery image version by subscription id or tenant id.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<SharedGalleryImageVersionInner> getWithResponse(String location, String galleryUniqueName, String galleryImageName, String galleryImageVersionName, com.azure.core.util.Context context)
      Get a shared gallery image version by subscription id or tenant id.
      Parameters:
      location - Resource location.
      galleryUniqueName - The unique name of the Shared Gallery.
      galleryImageName - The name of the Shared Gallery Image Definition from which the Image Versions are to be listed.
      galleryImageVersionName - The name of the gallery image version to be created. Needs to follow semantic version name pattern: The allowed characters are digit and period. Digits must be within the range of a 32-bit integer. Format: <MajorVersion>.<MinorVersion>.<Patch>.
      context - The context to associate with this operation.
      Returns:
      a shared gallery image version by subscription id or tenant id along with Response.
      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.