Interface StorageTaskAssignmentsClient


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

    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters)
      Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to create a Storage Task Assignment.
      Returns:
      the storage task assignment along with Response on successful completion of Mono.
      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.
    • beginCreateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<StorageTaskAssignmentInner>,StorageTaskAssignmentInner> beginCreateAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters)
      Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to create a Storage Task Assignment.
      Returns:
      the PollerFlux for polling of the storage task assignment.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageTaskAssignmentInner>,StorageTaskAssignmentInner> beginCreate(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters)
      Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to create a Storage Task Assignment.
      Returns:
      the SyncPoller for polling of the storage task assignment.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageTaskAssignmentInner>,StorageTaskAssignmentInner> beginCreate(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters, com.azure.core.util.Context context)
      Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to create a Storage Task Assignment.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the storage task assignment.
      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.
    • createAsync

      Mono<StorageTaskAssignmentInner> createAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters)
      Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to create a Storage Task Assignment.
      Returns:
      the storage task assignment on successful completion of Mono.
      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.
    • create

      StorageTaskAssignmentInner create(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters)
      Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to create a Storage Task Assignment.
      Returns:
      the storage task assignment.
      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.
    • create

      StorageTaskAssignmentInner create(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters, com.azure.core.util.Context context)
      Asynchronously creates a new storage task assignment sub-resource with the specified parameters. If a storage task assignment is already created and a subsequent create request is issued with different properties, the storage task assignment properties will be updated. If a storage task assignment is already created and a subsequent create or update request is issued with the exact same set of properties, the request will succeed.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to create a Storage Task Assignment.
      context - The context to associate with this operation.
      Returns:
      the storage task assignment.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters)
      Update storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to update a Storage Task Assignment.
      Returns:
      the storage task assignment along with Response on successful completion of Mono.
      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.
    • beginUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<StorageTaskAssignmentInner>,StorageTaskAssignmentInner> beginUpdateAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters)
      Update storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to update a Storage Task Assignment.
      Returns:
      the PollerFlux for polling of the storage task assignment.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageTaskAssignmentInner>,StorageTaskAssignmentInner> beginUpdate(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters)
      Update storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to update a Storage Task Assignment.
      Returns:
      the SyncPoller for polling of the storage task assignment.
      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.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<StorageTaskAssignmentInner>,StorageTaskAssignmentInner> beginUpdate(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters, com.azure.core.util.Context context)
      Update storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to update a Storage Task Assignment.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the storage task assignment.
      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.
    • updateAsync

      Mono<StorageTaskAssignmentInner> updateAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters)
      Update storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to update a Storage Task Assignment.
      Returns:
      the storage task assignment on successful completion of Mono.
      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.
    • update

      StorageTaskAssignmentInner update(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters)
      Update storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to update a Storage Task Assignment.
      Returns:
      the storage task assignment.
      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.
    • update

      StorageTaskAssignmentInner update(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters, com.azure.core.util.Context context)
      Update storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      parameters - The parameters to update a Storage Task Assignment.
      context - The context to associate with this operation.
      Returns:
      the storage task assignment.
      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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<StorageTaskAssignmentInner>> getWithResponseAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName)
      Get the storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      the storage task assignment properties along with Response on successful completion of Mono.
      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.
    • getAsync

      Mono<StorageTaskAssignmentInner> getAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName)
      Get the storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      the storage task assignment properties on successful completion of Mono.
      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<StorageTaskAssignmentInner> getWithResponse(String resourceGroupName, String accountName, String storageTaskAssignmentName, com.azure.core.util.Context context)
      Get the storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      context - The context to associate with this operation.
      Returns:
      the storage task assignment properties 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.
    • get

      StorageTaskAssignmentInner get(String resourceGroupName, String accountName, String storageTaskAssignmentName)
      Get the storage task assignment properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      the storage task assignment properties.
      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.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName)
      Delete the storage task assignment sub-resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      the Response on successful completion of Mono.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName)
      Delete the storage task assignment sub-resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      the PollerFlux 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 accountName, String storageTaskAssignmentName)
      Delete the storage task assignment sub-resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      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 accountName, String storageTaskAssignmentName, com.azure.core.util.Context context)
      Delete the storage task assignment sub-resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName)
      Delete the storage task assignment sub-resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      A Mono that completes when a successful response is received.
      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 accountName, String storageTaskAssignmentName)
      Delete the storage task assignment sub-resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      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 accountName, String storageTaskAssignmentName, com.azure.core.util.Context context)
      Delete the storage task assignment sub-resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      storageTaskAssignmentName - The name of the storage task assignment within the specified resource group. Storage task assignment names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<StorageTaskAssignmentInner> listAsync(String resourceGroupName, String accountName, Integer top)
      List all the storage task assignments in an account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      top - Optional, specifies the maximum number of storage task assignment Ids to be included in the list response.
      Returns:
      list of storage task assignments for the storage account as paginated response with PagedFlux.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<StorageTaskAssignmentInner> listAsync(String resourceGroupName, String accountName)
      List all the storage task assignments in an account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      list of storage task assignments for the storage account as paginated response with PagedFlux.
      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.
    • list

      com.azure.core.http.rest.PagedIterable<StorageTaskAssignmentInner> list(String resourceGroupName, String accountName)
      List all the storage task assignments in an account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      Returns:
      list of storage task assignments for the storage account 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.
    • list

      com.azure.core.http.rest.PagedIterable<StorageTaskAssignmentInner> list(String resourceGroupName, String accountName, Integer top, com.azure.core.util.Context context)
      List all the storage task assignments in an account.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      accountName - The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
      top - Optional, specifies the maximum number of storage task assignment Ids to be included in the list response.
      context - The context to associate with this operation.
      Returns:
      list of storage task assignments for the storage account 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.