Interface GalleriesClient


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

    • listByDevCenter

      com.azure.core.http.rest.PagedIterable<GalleryInner> listByDevCenter(String resourceGroupName, String devCenterName)
      Lists galleries for a devcenter.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      Returns:
      results of the gallery list operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByDevCenter

      com.azure.core.http.rest.PagedIterable<GalleryInner> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context)
      Lists galleries for a devcenter.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      top - The maximum number of resources to return from the operation. Example: '$top=10'.
      context - The context to associate with this operation.
      Returns:
      results of the gallery list operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      GalleryInner get(String resourceGroupName, String devCenterName, String galleryName)
      Gets a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      Returns:
      a gallery.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - 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<GalleryInner> getWithResponse(String resourceGroupName, String devCenterName, String galleryName, com.azure.core.util.Context context)
      Gets a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      context - The context to associate with this operation.
      Returns:
      a gallery along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> beginCreateOrUpdate(String resourceGroupName, String devCenterName, String galleryName, GalleryInner body)
      Creates or updates a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      body - Represents a gallery.
      Returns:
      the SyncPoller for polling of represents a gallery.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInner>,GalleryInner> beginCreateOrUpdate(String resourceGroupName, String devCenterName, String galleryName, GalleryInner body, com.azure.core.util.Context context)
      Creates or updates a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      body - Represents a gallery.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of represents a gallery.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      GalleryInner createOrUpdate(String resourceGroupName, String devCenterName, String galleryName, GalleryInner body)
      Creates or updates a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      body - Represents a gallery.
      Returns:
      represents a gallery.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      GalleryInner createOrUpdate(String resourceGroupName, String devCenterName, String galleryName, GalleryInner body, com.azure.core.util.Context context)
      Creates or updates a gallery.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      body - Represents a gallery.
      context - The context to associate with this operation.
      Returns:
      represents a gallery.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String devCenterName, String galleryName)
      Deletes a gallery resource.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String devCenterName, String galleryName, com.azure.core.util.Context context)
      Deletes a gallery resource.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String devCenterName, String galleryName)
      Deletes a gallery resource.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String devCenterName, String galleryName, com.azure.core.util.Context context)
      Deletes a gallery resource.
      Parameters:
      resourceGroupName - Name of the resource group within the Azure subscription.
      devCenterName - The name of the devcenter.
      galleryName - The name of the gallery.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.