Freigeben über


BuildServiceAgentPool interface

Interface representing a BuildServiceAgentPool.

Methods

beginUpdatePut(string, string, string, string, BuildServiceAgentPoolResource, BuildServiceAgentPoolUpdatePutOptionalParams)

Create or update build service agent pool.

beginUpdatePutAndWait(string, string, string, string, BuildServiceAgentPoolResource, BuildServiceAgentPoolUpdatePutOptionalParams)

Create or update build service agent pool.

get(string, string, string, string, BuildServiceAgentPoolGetOptionalParams)

Get build service agent pool.

list(string, string, string, BuildServiceAgentPoolListOptionalParams)

List build service agent pool.

Method Details

beginUpdatePut(string, string, string, string, BuildServiceAgentPoolResource, BuildServiceAgentPoolUpdatePutOptionalParams)

Create or update build service agent pool.

function beginUpdatePut(resourceGroupName: string, serviceName: string, buildServiceName: string, agentPoolName: string, agentPoolResource: BuildServiceAgentPoolResource, options?: BuildServiceAgentPoolUpdatePutOptionalParams): Promise<SimplePollerLike<OperationState<BuildServiceAgentPoolResource>, BuildServiceAgentPoolResource>>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

buildServiceName

string

The name of the build service resource.

agentPoolName

string

The name of the build service agent pool resource.

agentPoolResource
BuildServiceAgentPoolResource

Parameters for the update operation

options
BuildServiceAgentPoolUpdatePutOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<BuildServiceAgentPoolResource>, BuildServiceAgentPoolResource>>

beginUpdatePutAndWait(string, string, string, string, BuildServiceAgentPoolResource, BuildServiceAgentPoolUpdatePutOptionalParams)

Create or update build service agent pool.

function beginUpdatePutAndWait(resourceGroupName: string, serviceName: string, buildServiceName: string, agentPoolName: string, agentPoolResource: BuildServiceAgentPoolResource, options?: BuildServiceAgentPoolUpdatePutOptionalParams): Promise<BuildServiceAgentPoolResource>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

buildServiceName

string

The name of the build service resource.

agentPoolName

string

The name of the build service agent pool resource.

agentPoolResource
BuildServiceAgentPoolResource

Parameters for the update operation

options
BuildServiceAgentPoolUpdatePutOptionalParams

The options parameters.

Returns

get(string, string, string, string, BuildServiceAgentPoolGetOptionalParams)

Get build service agent pool.

function get(resourceGroupName: string, serviceName: string, buildServiceName: string, agentPoolName: string, options?: BuildServiceAgentPoolGetOptionalParams): Promise<BuildServiceAgentPoolResource>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

buildServiceName

string

The name of the build service resource.

agentPoolName

string

The name of the build service agent pool resource.

options
BuildServiceAgentPoolGetOptionalParams

The options parameters.

Returns

list(string, string, string, BuildServiceAgentPoolListOptionalParams)

List build service agent pool.

function list(resourceGroupName: string, serviceName: string, buildServiceName: string, options?: BuildServiceAgentPoolListOptionalParams): PagedAsyncIterableIterator<BuildServiceAgentPoolResource, BuildServiceAgentPoolResource[], PageSettings>

Parameters

resourceGroupName

string

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

string

The name of the Service resource.

buildServiceName

string

The name of the build service resource.

options
BuildServiceAgentPoolListOptionalParams

The options parameters.

Returns