Interface TasksClient
public interface TasksClient
An instance of this class provides access to all the operations defined in TasksClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>, TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>, TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, com.azure.core.util.Context context) Creates a task for a container registry with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TaskInner>, TaskInner> beginCreateAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.beginDelete(String resourceGroupName, String registryName, String taskName) Deletes a specified task.beginDelete(String resourceGroupName, String registryName, String taskName, com.azure.core.util.Context context) Deletes a specified task.beginDeleteAsync(String resourceGroupName, String registryName, String taskName) Deletes a specified task.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>, TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>, TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, com.azure.core.util.Context context) Updates a task with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TaskInner>, TaskInner> beginUpdateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, com.azure.core.util.Context context) Creates a task for a container registry with the specified parameters.createAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.voidDeletes a specified task.voiddelete(String resourceGroupName, String registryName, String taskName, com.azure.core.util.Context context) Deletes a specified task.deleteAsync(String resourceGroupName, String registryName, String taskName) Deletes a specified task.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String taskName) Deletes a specified task.Get the properties of a specified task.Get the properties of a specified task.getDetails(String resourceGroupName, String registryName, String taskName) Returns a task with extended information that includes all secrets.getDetailsAsync(String resourceGroupName, String registryName, String taskName) Returns a task with extended information that includes all secrets.com.azure.core.http.rest.Response<TaskInner> getDetailsWithResponse(String resourceGroupName, String registryName, String taskName, com.azure.core.util.Context context) Returns a task with extended information that includes all secrets.getDetailsWithResponseAsync(String resourceGroupName, String registryName, String taskName) Returns a task with extended information that includes all secrets.com.azure.core.http.rest.Response<TaskInner> getWithResponse(String resourceGroupName, String registryName, String taskName, com.azure.core.util.Context context) Get the properties of a specified task.getWithResponseAsync(String resourceGroupName, String registryName, String taskName) Get the properties of a specified task.com.azure.core.http.rest.PagedIterable<TaskInner> Lists all the tasks for a specified container registry.com.azure.core.http.rest.PagedIterable<TaskInner> Lists all the tasks for a specified container registry.com.azure.core.http.rest.PagedFlux<TaskInner> Lists all the tasks for a specified container registry.update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, com.azure.core.util.Context context) Updates a task with the specified parameters.updateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<TaskInner> listAsync(String resourceGroupName, String registryName) Lists all the tasks for a specified container registry.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.- Returns:
- the collection of tasks 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<TaskInner> list(String resourceGroupName, String registryName) Lists all the tasks for a specified container registry.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.- Returns:
- the collection of tasks 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<TaskInner> list(String resourceGroupName, String registryName, com.azure.core.util.Context context) Lists all the tasks for a specified container registry.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.context- The context to associate with this operation.- Returns:
- the collection of tasks 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<TaskInner>> getWithResponseAsync(String resourceGroupName, String registryName, String taskName) Get the properties of a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- Returns:
- the properties of a specified task 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
Get the properties of a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- Returns:
- the properties of a specified task 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<TaskInner> getWithResponse(String resourceGroupName, String registryName, String taskName, com.azure.core.util.Context context) Get the properties of a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.context- The context to associate with this operation.- Returns:
- the properties of a specified task 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
Get the properties of a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- Returns:
- the properties of a specified task.
- 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.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskCreateParameters- The parameters for creating a task.- Returns:
- the task that has the ARM resource and task 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.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TaskInner>,TaskInner> beginCreateAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskCreateParameters- The parameters for creating a task.- Returns:
- the
PollerFluxfor polling of the task that has the ARM resource and task 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskCreateParameters- The parameters for creating a task.- Returns:
- the
SyncPollerfor polling of the task that has the ARM resource and task 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,TaskInner> beginCreate(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, com.azure.core.util.Context context) Creates a task for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskCreateParameters- The parameters for creating a task.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the task that has the ARM resource and task 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.
-
createAsync
Mono<TaskInner> createAsync(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskCreateParameters- The parameters for creating a task.- Returns:
- the task that has the ARM resource and task 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.
-
create
TaskInner create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters) Creates a task for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskCreateParameters- The parameters for creating a task.- Returns:
- the task that has the ARM resource and task 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.
-
create
TaskInner create(String resourceGroupName, String registryName, String taskName, TaskInner taskCreateParameters, com.azure.core.util.Context context) Creates a task for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskCreateParameters- The parameters for creating a task.context- The context to associate with this operation.- Returns:
- the task that has the ARM resource and task 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 registryName, String taskName) Deletes a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- 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 registryName, String taskName) Deletes a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- 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 registryName, String taskName) Deletes a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- 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 registryName, String taskName, com.azure.core.util.Context context) Deletes a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.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
Deletes a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- 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
Deletes a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- 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 registryName, String taskName, com.azure.core.util.Context context) Deletes a specified task.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.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.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskUpdateParameters- The parameters for updating a task.- Returns:
- the task that has the ARM resource and task 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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<TaskInner>,TaskInner> beginUpdateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskUpdateParameters- The parameters for updating a task.- Returns:
- the
PollerFluxfor polling of the task that has the ARM resource and task 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskUpdateParameters- The parameters for updating a task.- Returns:
- the
SyncPollerfor polling of the task that has the ARM resource and task 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<TaskInner>,TaskInner> beginUpdate(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, com.azure.core.util.Context context) Updates a task with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskUpdateParameters- The parameters for updating a task.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the task that has the ARM resource and task 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.
-
updateAsync
Mono<TaskInner> updateAsync(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskUpdateParameters- The parameters for updating a task.- Returns:
- the task that has the ARM resource and task 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.
-
update
TaskInner update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters) Updates a task with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskUpdateParameters- The parameters for updating a task.- Returns:
- the task that has the ARM resource and task 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.
-
update
TaskInner update(String resourceGroupName, String registryName, String taskName, TaskUpdateParameters taskUpdateParameters, com.azure.core.util.Context context) Updates a task with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.taskUpdateParameters- The parameters for updating a task.context- The context to associate with this operation.- Returns:
- the task that has the ARM resource and task 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.
-
getDetailsWithResponseAsync
Mono<com.azure.core.http.rest.Response<TaskInner>> getDetailsWithResponseAsync(String resourceGroupName, String registryName, String taskName) Returns a task with extended information that includes all secrets.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- Returns:
- the task that has the ARM resource and task 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.
-
getDetailsAsync
Returns a task with extended information that includes all secrets.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- Returns:
- the task that has the ARM resource and task 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.
-
getDetailsWithResponse
com.azure.core.http.rest.Response<TaskInner> getDetailsWithResponse(String resourceGroupName, String registryName, String taskName, com.azure.core.util.Context context) Returns a task with extended information that includes all secrets.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.context- The context to associate with this operation.- Returns:
- the task that has the ARM resource and task 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.
-
getDetails
Returns a task with extended information that includes all secrets.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.taskName- The name of the container registry task.- Returns:
- the task that has the ARM resource and task 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.
-