Interface StorageTaskAssignmentsClient
public interface StorageTaskAssignmentsClient
An instance of this class provides access to all the operations defined in StorageTaskAssignmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.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.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.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.beginDelete(String resourceGroupName, String accountName, String storageTaskAssignmentName) Delete the storage task assignment sub-resource.beginDelete(String resourceGroupName, String accountName, String storageTaskAssignmentName, com.azure.core.util.Context context) Delete the storage task assignment sub-resource.beginDeleteAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName) Delete the storage task assignment sub-resource.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.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.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.create(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters) Asynchronously creates a new storage task assignment sub-resource with the specified parameters.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.createAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentInner parameters) Asynchronously creates a new storage task assignment sub-resource with the specified parameters.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.voidDelete the storage task assignment sub-resource.voiddelete(String resourceGroupName, String accountName, String storageTaskAssignmentName, com.azure.core.util.Context context) Delete the storage task assignment sub-resource.deleteAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName) Delete the storage task assignment sub-resource.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName) Delete the storage task assignment sub-resource.Get the storage task assignment properties.Get the storage task assignment properties.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.Mono<com.azure.core.http.rest.Response<StorageTaskAssignmentInner>> getWithResponseAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName) Get the storage task assignment properties.com.azure.core.http.rest.PagedIterable<StorageTaskAssignmentInner> List all the storage task assignments in an account.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.com.azure.core.http.rest.PagedFlux<StorageTaskAssignmentInner> List all the storage task assignments in an account.com.azure.core.http.rest.PagedFlux<StorageTaskAssignmentInner> List all the storage task assignments in an account.update(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters) Update storage task assignment properties.update(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters, com.azure.core.util.Context context) Update storage task assignment properties.updateAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters) Update storage task assignment properties.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String accountName, String storageTaskAssignmentName, StorageTaskAssignmentUpdateParameters parameters) Update storage task assignment properties.
-
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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
Monothat 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
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.
-