Share via


MachinesOperations interface

Interface representing a Machines operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
createOrUpdate

Creates or updates a machine in the specified agent pool.

get

Get a specific machine in the specified agent pool.

list

Gets a list of machines in the specified agent pool.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Machine>, Machine>>

Property Value

(resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Machine>, Machine>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => Promise<Machine>

Property Value

(resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => Promise<Machine>

createOrUpdate

Creates or updates a machine in the specified agent pool.

createOrUpdate: (resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Machine>, Machine>

Property Value

(resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, parameters: Machine, options?: MachinesCreateOrUpdateOptionalParams) => PollerLike<OperationState<Machine>, Machine>

get

Get a specific machine in the specified agent pool.

get: (resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, options?: MachinesGetOptionalParams) => Promise<Machine>

Property Value

(resourceGroupName: string, resourceName: string, agentPoolName: string, machineName: string, options?: MachinesGetOptionalParams) => Promise<Machine>

list

Gets a list of machines in the specified agent pool.

list: (resourceGroupName: string, resourceName: string, agentPoolName: string, options?: MachinesListOptionalParams) => PagedAsyncIterableIterator<Machine, Machine[], PageSettings>

Property Value

(resourceGroupName: string, resourceName: string, agentPoolName: string, options?: MachinesListOptionalParams) => PagedAsyncIterableIterator<Machine, Machine[], PageSettings>