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