AgentPoolsClient Interface

public interface AgentPoolsClient

An instance of this class provides access to all the operations defined in AgentPoolsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginCreate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool)

Creates an agent pool for a container registry with the specified parameters.

abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginCreate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, Context context)

Creates an agent pool for a container registry with the specified parameters.

abstract PollerFlux<PollResult<AgentPoolInner>,AgentPoolInner> beginCreateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool)

Creates an agent pool for a container registry with the specified parameters.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String agentPoolName)

Deletes a specified agent pool resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String agentPoolName, Context context)

Deletes a specified agent pool resource.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String registryName, String agentPoolName)

Deletes a specified agent pool resource.

abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginUpdate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters)

Updates an agent pool with the specified parameters.

abstract SyncPoller<PollResult<AgentPoolInner>,AgentPoolInner> beginUpdate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, Context context)

Updates an agent pool with the specified parameters.

abstract PollerFlux<PollResult<AgentPoolInner>,AgentPoolInner> beginUpdateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters)

Updates an agent pool with the specified parameters.

abstract AgentPoolInner create(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool)

Creates an agent pool for a container registry with the specified parameters.

abstract AgentPoolInner create(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, Context context)

Creates an agent pool for a container registry with the specified parameters.

abstract Mono<AgentPoolInner> createAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool)

Creates an agent pool for a container registry with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool)

Creates an agent pool for a container registry with the specified parameters.

abstract void delete(String resourceGroupName, String registryName, String agentPoolName)

Deletes a specified agent pool resource.

abstract void delete(String resourceGroupName, String registryName, String agentPoolName, Context context)

Deletes a specified agent pool resource.

abstract Mono<Void> deleteAsync(String resourceGroupName, String registryName, String agentPoolName)

Deletes a specified agent pool resource.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName)

Deletes a specified agent pool resource.

abstract AgentPoolInner get(String resourceGroupName, String registryName, String agentPoolName)

Gets the detailed information for a given agent pool.

abstract Mono<AgentPoolInner> getAsync(String resourceGroupName, String registryName, String agentPoolName)

Gets the detailed information for a given agent pool.

abstract AgentPoolQueueStatusInner getQueueStatus(String resourceGroupName, String registryName, String agentPoolName)

Gets the count of queued runs for a given agent pool.

abstract Mono<AgentPoolQueueStatusInner> getQueueStatusAsync(String resourceGroupName, String registryName, String agentPoolName)

Gets the count of queued runs for a given agent pool.

abstract Response<AgentPoolQueueStatusInner> getQueueStatusWithResponse(String resourceGroupName, String registryName, String agentPoolName, Context context)

Gets the count of queued runs for a given agent pool.

abstract Mono<Response<AgentPoolQueueStatusInner>> getQueueStatusWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName)

Gets the count of queued runs for a given agent pool.

abstract Response<AgentPoolInner> getWithResponse(String resourceGroupName, String registryName, String agentPoolName, Context context)

Gets the detailed information for a given agent pool.

abstract Mono<Response<AgentPoolInner>> getWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName)

Gets the detailed information for a given agent pool.

abstract PagedIterable<AgentPoolInner> list(String resourceGroupName, String registryName)

Lists all the agent pools for a specified container registry.

abstract PagedIterable<AgentPoolInner> list(String resourceGroupName, String registryName, Context context)

Lists all the agent pools for a specified container registry.

abstract PagedFlux<AgentPoolInner> listAsync(String resourceGroupName, String registryName)

Lists all the agent pools for a specified container registry.

abstract AgentPoolInner update(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters)

Updates an agent pool with the specified parameters.

abstract AgentPoolInner update(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, Context context)

Updates an agent pool with the specified parameters.

abstract Mono<AgentPoolInner> updateAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters)

Updates an agent pool with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters)

Updates an agent pool with the specified parameters.

Method Details

beginCreate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of the agentpool that has the ARM resource and properties.

beginCreate

public abstract SyncPoller,AgentPoolInner> beginCreate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, 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 SyncPoller<T,U> for polling of the agentpool that has the ARM resource and properties.

beginCreateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of the agentpool that has the ARM resource and properties.

beginDelete

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String registryName, String agentPoolName, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of the agentpool that has the ARM resource and properties.

beginUpdate

public abstract SyncPoller,AgentPoolInner> beginUpdate(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, 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 SyncPoller<T,U> for polling of the agentpool that has the ARM resource and properties.

beginUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of the agentpool that has the ARM resource and properties.

create

public abstract 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.

create

public abstract AgentPoolInner create(String resourceGroupName, String registryName, String agentPoolName, AgentPoolInner agentPool, 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.

createAsync

public abstract Mono 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.

createWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(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.

delete

public abstract void delete(String resourceGroupName, String registryName, String agentPoolName, 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.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

get

public abstract AgentPoolInner get(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.

getAsync

public abstract Mono getAsync(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 on successful completion of Mono.

getQueueStatus

public abstract 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.

getQueueStatusAsync

public abstract Mono 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.

getQueueStatusWithResponse

public abstract Response getQueueStatusWithResponse(String resourceGroupName, String registryName, String agentPoolName, 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<T>.

getQueueStatusWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String registryName, String agentPoolName, 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<T>.

getWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String registryName, 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<T>.

listAsync

public abstract PagedFlux 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<T>.

update

public abstract 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.

update

public abstract AgentPoolInner update(String resourceGroupName, String registryName, String agentPoolName, AgentPoolUpdateParameters updateParameters, 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.

updateAsync

public abstract Mono 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.

updateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

Applies to