Interface TaskRunsClient
-
public interface TaskRunsClientAn instance of this class provides access to all the operations defined in TaskRunsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.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.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.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.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.TaskRunInnercreate(String resourceGroupName, String registryName, String taskRunName, TaskRunInner taskRun)Creates a task run for a container registry with the specified parameters.TaskRunInnercreate(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.Mono<TaskRunInner>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.voiddelete(String resourceGroupName, String registryName, String taskRunName)Deletes a specified task run resource.voiddelete(String resourceGroupName, String registryName, String taskRunName, com.azure.core.util.Context context)Deletes a specified task run resource.Mono<Void>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.TaskRunInnerget(String resourceGroupName, String registryName, String taskRunName)Gets the detailed information for a given task run.Mono<TaskRunInner>getAsync(String resourceGroupName, String registryName, String taskRunName)Gets the detailed information for a given task run.TaskRunInnergetDetails(String resourceGroupName, String registryName, String taskRunName)Gets the detailed information for a given task run that includes all secrets.Mono<TaskRunInner>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>list(String resourceGroupName, String registryName)Lists all the task runs for a specified container registry.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.com.azure.core.http.rest.PagedFlux<TaskRunInner>listAsync(String resourceGroupName, String registryName)Lists all the task runs for a specified container registry.TaskRunInnerupdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters)Updates a task run with the specified parameters.TaskRunInnerupdate(String resourceGroupName, String registryName, String taskRunName, TaskRunUpdateParameters updateParameters, com.azure.core.util.Context context)Updates a task run with the specified parameters.Mono<TaskRunInner>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 Detail
-
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.
- 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<TaskRunInner> getAsync(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.
- 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
TaskRunInner get(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.
- 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.
- 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.
- 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 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 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 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.
- 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 completion.
- 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 completion.
- 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 completion.
- 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 completion.
- 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 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 completion.
- 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)
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.
- 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 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 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 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.
- 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.
- 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.
- 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
TaskRunInner getDetails(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.
- 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.
- 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.
- 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.
- 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.
- 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.
-
-