PoolsOperations interface

Interface representing a Pools operations.

Properties

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
beginRunHealthChecks
beginRunHealthChecksAndWait
beginUpdate
beginUpdateAndWait
createOrUpdate

Creates or updates a machine pool.

delete

Deletes a machine pool.

get

Gets a machine pool.

listByProject

Lists pools for a project.

runHealthChecks

Triggers a refresh of the pool status.

update

Partially updates a machine pool.

Property Details

beginCreateOrUpdate

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Pool>, Pool>>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Pool>, Pool>>

beginCreateOrUpdateAndWait

Warning

This API is now deprecated.

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams) => Promise<Pool>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams) => Promise<Pool>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams) => Promise<void>

beginRunHealthChecks

Warning

This API is now deprecated.

use runHealthChecks instead

beginRunHealthChecks: (resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginRunHealthChecksAndWait

Warning

This API is now deprecated.

use runHealthChecks instead

beginRunHealthChecksAndWait: (resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Pool>, Pool>>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Pool>, Pool>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams) => Promise<Pool>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams) => Promise<Pool>

createOrUpdate

Creates or updates a machine pool.

createOrUpdate: (resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>

delete

Deletes a machine pool.

delete: (resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Gets a machine pool.

get: (resourceGroupName: string, projectName: string, poolName: string, options?: PoolsGetOptionalParams) => Promise<Pool>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsGetOptionalParams) => Promise<Pool>

listByProject

Lists pools for a project.

listByProject: (resourceGroupName: string, projectName: string, options?: PoolsListByProjectOptionalParams) => PagedAsyncIterableIterator<Pool, Pool[], PageSettings>

Property Value

(resourceGroupName: string, projectName: string, options?: PoolsListByProjectOptionalParams) => PagedAsyncIterableIterator<Pool, Pool[], PageSettings>

runHealthChecks

Triggers a refresh of the pool status.

runHealthChecks: (resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams) => PollerLike<OperationState<void>, void>

update

Partially updates a machine pool.

update: (resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>

Property Value

(resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams) => PollerLike<OperationState<Pool>, Pool>