Interface MachinesClient


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

    • listAsync

      com.azure.core.http.rest.PagedFlux<MachineInner> listAsync(String resourceGroupName, String resourceName, String agentPoolName)
      Gets a list of machines in the specified agent pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      agentPoolName - The name of the agent pool.
      Returns:
      a list of machines in the specified agent pool 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<MachineInner> list(String resourceGroupName, String resourceName, String agentPoolName)
      Gets a list of machines in the specified agent pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      agentPoolName - The name of the agent pool.
      Returns:
      a list of machines in the specified agent pool 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<MachineInner> list(String resourceGroupName, String resourceName, String agentPoolName, com.azure.core.util.Context context)
      Gets a list of machines in the specified agent pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      agentPoolName - The name of the agent pool.
      context - The context to associate with this operation.
      Returns:
      a list of machines in the specified agent pool 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<MachineInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, String machineName)
      Get a specific machine in the specified agent pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      agentPoolName - The name of the agent pool.
      machineName - host name of the machine.
      Returns:
      a specific machine in the specified 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<MachineInner> getAsync(String resourceGroupName, String resourceName, String agentPoolName, String machineName)
      Get a specific machine in the specified agent pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      agentPoolName - The name of the agent pool.
      machineName - host name of the machine.
      Returns:
      a specific machine in the specified 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<MachineInner> getWithResponse(String resourceGroupName, String resourceName, String agentPoolName, String machineName, com.azure.core.util.Context context)
      Get a specific machine in the specified agent pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      agentPoolName - The name of the agent pool.
      machineName - host name of the machine.
      context - The context to associate with this operation.
      Returns:
      a specific machine in the specified 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

      MachineInner get(String resourceGroupName, String resourceName, String agentPoolName, String machineName)
      Get a specific machine in the specified agent pool.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      resourceName - The name of the managed cluster resource.
      agentPoolName - The name of the agent pool.
      machineName - host name of the machine.
      Returns:
      a specific machine in the specified 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.