Interface AgentPoolsClient
public interface AgentPoolsClient
An instance of this class provides access to all the operations defined in AgentPoolsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginCreate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool for a container registry with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginCreate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context) Creates an agent pool for a container registry with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginCreateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool for a container registry with the specified parameters.beginDelete(String resourceGroupName, String registryName, String agentPoolName) Deletes a specified agent pool resource.beginDelete(String resourceGroupName, String registryName, String agentPoolName, com.azure.core.util.Context context) Deletes a specified agent pool resource.beginDeleteAsync(String resourceGroupName, String registryName, String agentPoolName) Deletes a specified agent pool resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginUpdate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginUpdate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, com.azure.core.util.Context context) Updates an agent pool with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<AgentPoolInner>, AgentPoolInner> beginUpdateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool with the specified parameters.create(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool for a container registry with the specified parameters.create(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context) Creates an agent pool for a container registry with the specified parameters.createAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool for a container registry with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool for a container registry with the specified parameters.voidDeletes a specified agent pool resource.voiddelete(String resourceGroupName, String registryName, String agentPoolName, com.azure.core.util.Context context) Deletes a specified agent pool resource.deleteAsync(String resourceGroupName, String registryName, String agentPoolName) Deletes a specified agent pool resource.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName) Deletes a specified agent pool resource.Gets the detailed information for a given agent pool.Gets the detailed information for a given agent pool.getQueueStatus(String resourceGroupName, String registryName, String agentPoolName) Gets the count of queued runs for a given agent pool.getQueueStatusAsync(String resourceGroupName, String registryName, String agentPoolName) Gets the count of queued runs for a given agent pool.com.azure.core.http.rest.Response<AgentPoolQueueStatusInner> getQueueStatusWithResponse(String resourceGroupName, String registryName, String agentPoolName, com.azure.core.util.Context context) Gets the count of queued runs for a given agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolQueueStatusInner>> getQueueStatusWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName) Gets the count of queued runs for a given agent pool.com.azure.core.http.rest.Response<AgentPoolInner> getWithResponse(String resourceGroupName, String registryName, String agentPoolName, com.azure.core.util.Context context) Gets the detailed information for a given agent pool.Mono<com.azure.core.http.rest.Response<AgentPoolInner>> getWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName) Gets the detailed information for a given agent pool.com.azure.core.http.rest.PagedIterable<AgentPoolInner> Lists all the agent pools for a specified container registry.com.azure.core.http.rest.PagedIterable<AgentPoolInner> Lists all the agent pools for a specified container registry.com.azure.core.http.rest.PagedFlux<AgentPoolInner> Lists all the agent pools for a specified container registry.update(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool with the specified parameters.update(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, com.azure.core.util.Context context) Updates an agent pool with the specified parameters.updateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool with the specified parameters.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<AgentPoolInner>> getWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName) Gets the detailed information for a given agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- Returns:
- the detailed information for a given agent pool 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 agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- Returns:
- the detailed information for a given agent pool 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<AgentPoolInner> getWithResponse(String resourceGroupName, String registryName, String agentPoolName, com.azure.core.util.Context context) Gets the detailed information for a given agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the detailed information for a given agent pool 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 agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- Returns:
- the detailed information for a given agent pool.
- 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 agentPoolName, AgentPoolInner agentPool) Creates an agent pool 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.agentPoolName- The name of the agent pool.agentPool- The parameters of an agent pool that needs to scheduled.- Returns:
- the agentpool 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<AgentPoolInner>,AgentPoolInner> beginCreateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool 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.agentPoolName- The name of the agent pool.agentPool- The parameters of an agent pool that needs to scheduled.- Returns:
- the
PollerFluxfor polling of the agentpool 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<AgentPoolInner>,AgentPoolInner> beginCreate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool 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.agentPoolName- The name of the agent pool.agentPool- The parameters of an agent pool that needs to scheduled.- Returns:
- the
SyncPollerfor polling of the agentpool 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<AgentPoolInner>,AgentPoolInner> beginCreate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context) Creates an agent pool 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.agentPoolName- The name of the agent pool.agentPool- The parameters of an agent pool that needs to scheduled.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the agentpool 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<AgentPoolInner> createAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool 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.agentPoolName- The name of the agent pool.agentPool- The parameters of an agent pool that needs to scheduled.- Returns:
- the agentpool 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
AgentPoolInner create(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool) Creates an agent pool 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.agentPoolName- The name of the agent pool.agentPool- The parameters of an agent pool that needs to scheduled.- Returns:
- the agentpool 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
AgentPoolInner create(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, com.azure.core.util.Context context) Creates an agent pool 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.agentPoolName- The name of the agent pool.agentPool- The parameters of an agent pool that needs to scheduled.context- The context to associate with this operation.- Returns:
- the agentpool 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 agentPoolName) Deletes a specified agent pool resource.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- 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 agentPoolName) Deletes a specified agent pool resource.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- 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 agentPoolName) Deletes a specified agent pool resource.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- 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 agentPoolName, com.azure.core.util.Context context) Deletes a specified agent pool resource.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.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 agent pool resource.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- 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 agent pool resource.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- 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 agentPoolName, com.azure.core.util.Context context) Deletes a specified agent pool resource.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.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 agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool 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.agentPoolName- The name of the agent pool.updateParameters- The parameters for updating an agent pool.- Returns:
- the agentpool 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<AgentPoolInner>,AgentPoolInner> beginUpdateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool 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.agentPoolName- The name of the agent pool.updateParameters- The parameters for updating an agent pool.- Returns:
- the
PollerFluxfor polling of the agentpool 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<AgentPoolInner>,AgentPoolInner> beginUpdate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool 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.agentPoolName- The name of the agent pool.updateParameters- The parameters for updating an agent pool.- Returns:
- the
SyncPollerfor polling of the agentpool 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<AgentPoolInner>,AgentPoolInner> beginUpdate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, com.azure.core.util.Context context) Updates an agent pool 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.agentPoolName- The name of the agent pool.updateParameters- The parameters for updating an agent pool.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the agentpool 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<AgentPoolInner> updateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool 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.agentPoolName- The name of the agent pool.updateParameters- The parameters for updating an agent pool.- Returns:
- the agentpool 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
AgentPoolInner update(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters) Updates an agent pool 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.agentPoolName- The name of the agent pool.updateParameters- The parameters for updating an agent pool.- Returns:
- the agentpool 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
AgentPoolInner update(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, com.azure.core.util.Context context) Updates an agent pool 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.agentPoolName- The name of the agent pool.updateParameters- The parameters for updating an agent pool.context- The context to associate with this operation.- Returns:
- the agentpool 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<AgentPoolInner> listAsync(String resourceGroupName, String registryName) Lists all the agent pools 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 agent pools 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<AgentPoolInner> list(String resourceGroupName, String registryName) Lists all the agent pools 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 agent pools 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<AgentPoolInner> list(String resourceGroupName, String registryName, com.azure.core.util.Context context) Lists all the agent pools 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 agent pools 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.
-
getQueueStatusWithResponseAsync
Mono<com.azure.core.http.rest.Response<AgentPoolQueueStatusInner>> getQueueStatusWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName) Gets the count of queued runs for a given agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- Returns:
- the count of queued runs for a given agent pool 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.
-
getQueueStatusAsync
Mono<AgentPoolQueueStatusInner> getQueueStatusAsync(String resourceGroupName, String registryName, String agentPoolName) Gets the count of queued runs for a given agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- Returns:
- the count of queued runs for a given agent pool 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.
-
getQueueStatusWithResponse
com.azure.core.http.rest.Response<AgentPoolQueueStatusInner> getQueueStatusWithResponse(String resourceGroupName, String registryName, String agentPoolName, com.azure.core.util.Context context) Gets the count of queued runs for a given agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.context- The context to associate with this operation.- Returns:
- the count of queued runs for a given agent pool 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.
-
getQueueStatus
AgentPoolQueueStatusInner getQueueStatus(String resourceGroupName, String registryName, String agentPoolName) Gets the count of queued runs for a given agent pool.- Parameters:
resourceGroupName- The name of the resource group to which the container registry belongs.registryName- The name of the container registry.agentPoolName- The name of the agent pool.- Returns:
- the count of queued runs for a given agent pool.
- 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.
-