Skip to main content

build_service_agent_pool

Creates, updates, deletes, gets or lists a build_service_agent_pool resource.

Overview

Namebuild_service_agent_pool
TypeResource
Idazure_extras.app_platform.build_service_agent_pool

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource Id for the resource.
namestringThe name of the resource.
poolSizeobjectbuild service agent pool size properties.
provisioningStatestringProvisioning state of the build service agent pool.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, service_name, build_service_name, agent_pool_name, subscription_idGet build service agent pool.
listselectresource_group_name, service_name, build_service_name, subscription_idList build service agent pool.
update_putexecresource_group_name, service_name, build_service_name, agent_pool_name, subscription_idCreate or update build service agent pool.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
agent_pool_namestringThe name of the build service agent pool resource. Required.
build_service_namestringThe name of the build service resource. Required.
resource_group_namestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. Required.
service_namestringThe name of the Service resource. Required.
subscription_idstring

SELECT examples

Get build service agent pool.

SELECT
id,
name,
poolSize,
provisioningState,
systemData,
type
FROM azure_extras.app_platform.build_service_agent_pool
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND service_name = '{{ service_name }}' -- required
AND build_service_name = '{{ build_service_name }}' -- required
AND agent_pool_name = '{{ agent_pool_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

Lifecycle Methods

Create or update build service agent pool.

EXEC azure_extras.app_platform.build_service_agent_pool.update_put 
@resource_group_name='{{ resource_group_name }}' --required,
@service_name='{{ service_name }}' --required,
@build_service_name='{{ build_service_name }}' --required,
@agent_pool_name='{{ agent_pool_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;