MachinesClient Interface

public interface MachinesClient

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

Method Summary

Modifier and Type Method and Description
abstract MachineInner get(String resourceGroupName, String resourceName, String agentPoolName, String machineName)

Get a specific machine in the specified agent pool.

abstract Mono<MachineInner> getAsync(String resourceGroupName, String resourceName, String agentPoolName, String machineName)

Get a specific machine in the specified agent pool.

abstract Response<MachineInner> getWithResponse(String resourceGroupName, String resourceName, String agentPoolName, String machineName, Context context)

Get a specific machine in the specified agent pool.

abstract Mono<Response<MachineInner>> getWithResponseAsync(String resourceGroupName, String resourceName, String agentPoolName, String machineName)

Get a specific machine in the specified agent pool.

abstract PagedIterable<MachineInner> list(String resourceGroupName, String resourceName, String agentPoolName)

Gets a list of machines in the specified agent pool.

abstract PagedIterable<MachineInner> list(String resourceGroupName, String resourceName, String agentPoolName, Context context)

Gets a list of machines in the specified agent pool.

abstract PagedFlux<MachineInner> listAsync(String resourceGroupName, String resourceName, String agentPoolName)

Gets a list of machines in the specified agent pool.

Method Details

get

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

getAsync

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

getWithResponse

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

getWithResponseAsync

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

list

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

list

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

listAsync

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

Applies to