Interface BuildServiceAgentPoolsClient


public interface BuildServiceAgentPoolsClient
An instance of this class provides access to all the operations defined in BuildServiceAgentPoolsClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<BuildServiceAgentPoolResourceInner> listAsync(String resourceGroupName, String serviceName, String buildServiceName)
      List build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      Returns:
      object that includes an array of build service agent pool resources and a possible link for next set 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<BuildServiceAgentPoolResourceInner> list(String resourceGroupName, String serviceName, String buildServiceName)
      List build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      Returns:
      object that includes an array of build service agent pool resources and a possible link for next set 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<BuildServiceAgentPoolResourceInner> list(String resourceGroupName, String serviceName, String buildServiceName, com.azure.core.util.Context context)
      List build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      context - The context to associate with this operation.
      Returns:
      object that includes an array of build service agent pool resources and a possible link for next set as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<BuildServiceAgentPoolResourceInner>> getWithResponseAsync(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName)
      Get build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      Returns:
      build service agent pool along with Response 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.
    • getAsync

      Mono<BuildServiceAgentPoolResourceInner> getAsync(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName)
      Get build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      Returns:
      build service 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.
    • get

      BuildServiceAgentPoolResourceInner get(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName)
      Get build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      Returns:
      build service 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.
    • getWithResponse

      com.azure.core.http.rest.Response<BuildServiceAgentPoolResourceInner> getWithResponse(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, com.azure.core.util.Context context)
      Get build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      context - The context to associate with this operation.
      Returns:
      build service 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.
    • updatePutWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updatePutWithResponseAsync(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, BuildServiceAgentPoolResourceInner agentPoolResource)
      Create or update build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      agentPoolResource - Parameters for the update operation.
      Returns:
      the build service agent pool resource along with Response 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.
    • beginUpdatePutAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BuildServiceAgentPoolResourceInner>,BuildServiceAgentPoolResourceInner> beginUpdatePutAsync(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, BuildServiceAgentPoolResourceInner agentPoolResource)
      Create or update build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      agentPoolResource - Parameters for the update operation.
      Returns:
      the PollerFlux for polling of the build service agent pool resource.
      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.
    • beginUpdatePut

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BuildServiceAgentPoolResourceInner>,BuildServiceAgentPoolResourceInner> beginUpdatePut(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, BuildServiceAgentPoolResourceInner agentPoolResource)
      Create or update build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      agentPoolResource - Parameters for the update operation.
      Returns:
      the SyncPoller for polling of the build service agent pool resource.
      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.
    • beginUpdatePut

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BuildServiceAgentPoolResourceInner>,BuildServiceAgentPoolResourceInner> beginUpdatePut(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, BuildServiceAgentPoolResourceInner agentPoolResource, com.azure.core.util.Context context)
      Create or update build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      agentPoolResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the build service agent pool resource.
      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.
    • updatePutAsync

      Mono<BuildServiceAgentPoolResourceInner> updatePutAsync(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, BuildServiceAgentPoolResourceInner agentPoolResource)
      Create or update build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      agentPoolResource - Parameters for the update operation.
      Returns:
      the build service agent pool resource 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.
    • updatePut

      BuildServiceAgentPoolResourceInner updatePut(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, BuildServiceAgentPoolResourceInner agentPoolResource)
      Create or update build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      agentPoolResource - Parameters for the update operation.
      Returns:
      the build service agent pool resource.
      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.
    • updatePut

      BuildServiceAgentPoolResourceInner updatePut(String resourceGroupName, String serviceName, String buildServiceName, String agentPoolName, BuildServiceAgentPoolResourceInner agentPoolResource, com.azure.core.util.Context context)
      Create or update build service agent pool.
      Parameters:
      resourceGroupName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
      serviceName - The name of the Service resource.
      buildServiceName - The name of the build service resource.
      agentPoolName - The name of the build service agent pool resource.
      agentPoolResource - Parameters for the update operation.
      context - The context to associate with this operation.
      Returns:
      the build service agent pool resource.
      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.