Interface GalleryInVMAccessControlProfilesClient


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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileInner galleryInVMAccessControlProfile)
      Create or update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the create or update gallery inVMAccessControlProfile operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryInVMAccessControlProfileInner>,GalleryInVMAccessControlProfileInner> beginCreateOrUpdateAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileInner galleryInVMAccessControlProfile)
      Create or update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the create or update gallery inVMAccessControlProfile operation.
      Returns:
      the PollerFlux for polling of specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInVMAccessControlProfileInner>,GalleryInVMAccessControlProfileInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileInner galleryInVMAccessControlProfile)
      Create or update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the create or update gallery inVMAccessControlProfile operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInVMAccessControlProfileInner>,GalleryInVMAccessControlProfileInner> beginCreateOrUpdate(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileInner galleryInVMAccessControlProfile, com.azure.core.util.Context context)
      Create or update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the create or update gallery inVMAccessControlProfile operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • createOrUpdateAsync

      Mono<GalleryInVMAccessControlProfileInner> createOrUpdateAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileInner galleryInVMAccessControlProfile)
      Create or update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the create or update gallery inVMAccessControlProfile operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update 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.
    • createOrUpdate

      GalleryInVMAccessControlProfileInner createOrUpdate(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileInner galleryInVMAccessControlProfile)
      Create or update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the create or update gallery inVMAccessControlProfile operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • createOrUpdate

      GalleryInVMAccessControlProfileInner createOrUpdate(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileInner galleryInVMAccessControlProfile, com.azure.core.util.Context context)
      Create or update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be created.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be created or updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the create or update gallery inVMAccessControlProfile operation.
      context - The context to associate with this operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileUpdate galleryInVMAccessControlProfile)
      Update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the update gallery inVMAccessControlProfile operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update 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.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GalleryInVMAccessControlProfileInner>,GalleryInVMAccessControlProfileInner> beginUpdateAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileUpdate galleryInVMAccessControlProfile)
      Update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the update gallery inVMAccessControlProfile operation.
      Returns:
      the PollerFlux for polling of specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInVMAccessControlProfileInner>,GalleryInVMAccessControlProfileInner> beginUpdate(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileUpdate galleryInVMAccessControlProfile)
      Update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the update gallery inVMAccessControlProfile operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GalleryInVMAccessControlProfileInner>,GalleryInVMAccessControlProfileInner> beginUpdate(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileUpdate galleryInVMAccessControlProfile, com.azure.core.util.Context context)
      Update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the update gallery inVMAccessControlProfile operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • updateAsync

      Mono<GalleryInVMAccessControlProfileInner> updateAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileUpdate galleryInVMAccessControlProfile)
      Update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the update gallery inVMAccessControlProfile operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update 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.
    • update

      GalleryInVMAccessControlProfileInner update(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileUpdate galleryInVMAccessControlProfile)
      Update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the update gallery inVMAccessControlProfile operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • update

      GalleryInVMAccessControlProfileInner update(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, GalleryInVMAccessControlProfileUpdate galleryInVMAccessControlProfile, com.azure.core.util.Context context)
      Update a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery in which the InVMAccessControlProfile is to be updated.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be updated. The allowed characters are alphabets and numbers with dots, dashes, and periods allowed in the middle. The maximum length is 80 characters.
      galleryInVMAccessControlProfile - Parameters supplied to the update gallery inVMAccessControlProfile operation.
      context - The context to associate with this operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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<GalleryInVMAccessControlProfileInner>> getWithResponseAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Retrieves information about a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be retrieved.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update 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<GalleryInVMAccessControlProfileInner> getAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Retrieves information about a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be retrieved.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update 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.
    • getWithResponse

      com.azure.core.http.rest.Response<GalleryInVMAccessControlProfileInner> getWithResponse(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, com.azure.core.util.Context context)
      Retrieves information about a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be retrieved.
      context - The context to associate with this operation.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update 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.
    • get

      GalleryInVMAccessControlProfileInner get(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Retrieves information about a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be retrieved.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be retrieved.
      Returns:
      specifies information about the gallery inVMAccessControlProfile that you want to create or update.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Delete a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - he name of the Shared Image Gallery in which the InVMAccessControlProfile resides.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be deleted.
      Returns:
      the 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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Delete a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - he name of the Shared Image Gallery in which the InVMAccessControlProfile resides.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be deleted.
      Returns:
      the PollerFlux for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Delete a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - he name of the Shared Image Gallery in which the InVMAccessControlProfile resides.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be deleted.
      Returns:
      the SyncPoller for polling of long-running operation.
      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.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, com.azure.core.util.Context context)
      Delete a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - he name of the Shared Image Gallery in which the InVMAccessControlProfile resides.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be deleted.
      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.
      ApiErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Delete a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - he name of the Shared Image Gallery in which the InVMAccessControlProfile resides.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be deleted.
      Returns:
      A Mono that completes when a successful response is received.
      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.
    • delete

      void delete(String resourceGroupName, String galleryName, String inVMAccessControlProfileName)
      Delete a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - he name of the Shared Image Gallery in which the InVMAccessControlProfile resides.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be deleted.
      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.
    • delete

      void delete(String resourceGroupName, String galleryName, String inVMAccessControlProfileName, com.azure.core.util.Context context)
      Delete a gallery inVMAccessControlProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - he name of the Shared Image Gallery in which the InVMAccessControlProfile resides.
      inVMAccessControlProfileName - The name of the gallery inVMAccessControlProfile to be deleted.
      context - The context to associate with this operation.
      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.
    • listByGalleryAsync

      com.azure.core.http.rest.PagedFlux<GalleryInVMAccessControlProfileInner> listByGalleryAsync(String resourceGroupName, String galleryName)
      List gallery inVMAccessControlProfiles in a gallery.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be listed.
      Returns:
      the List Gallery InVMAccessControlProfiles 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.
    • listByGallery

      com.azure.core.http.rest.PagedIterable<GalleryInVMAccessControlProfileInner> listByGallery(String resourceGroupName, String galleryName)
      List gallery inVMAccessControlProfiles in a gallery.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be listed.
      Returns:
      the List Gallery InVMAccessControlProfiles 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.
    • listByGallery

      com.azure.core.http.rest.PagedIterable<GalleryInVMAccessControlProfileInner> listByGallery(String resourceGroupName, String galleryName, com.azure.core.util.Context context)
      List gallery inVMAccessControlProfiles in a gallery.
      Parameters:
      resourceGroupName - The name of the resource group.
      galleryName - The name of the Shared Image Gallery from which the InVMAccessControlProfiles are to be listed.
      context - The context to associate with this operation.
      Returns:
      the List Gallery InVMAccessControlProfiles 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.