Skip to main content

build_service_agent_pools

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

Overview

Namebuild_service_agent_pools
TypeResource
Idazure.spring_apps.build_service_agent_pools

Fields

The following fields are returned by SELECT queries:

Success. The response describes build service agent pool.

NameDatatypeDescription
propertiesobjectbuild service agent pool properties

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serviceName, buildServiceName, agentPoolNameGet build service agent pool.
listselectsubscriptionId, resourceGroupName, serviceName, buildServiceNameList build service agent pool.
update_putexecsubscriptionId, resourceGroupName, serviceName, buildServiceName, agentPoolNameCreate 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
agentPoolNamestringThe name of the build service agent pool resource.
buildServiceNamestringThe name of the build service resource.
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serviceNamestringThe name of the Service resource.
subscriptionIdstringGets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

SELECT examples

Get build service agent pool.

SELECT
properties
FROM azure.spring_apps.build_service_agent_pools
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serviceName = '{{ serviceName }}' -- required
AND buildServiceName = '{{ buildServiceName }}' -- required
AND agentPoolName = '{{ agentPoolName }}' -- required
;

Lifecycle Methods

Create or update build service agent pool.

EXEC azure.spring_apps.build_service_agent_pools.update_put 
@subscriptionId='{{ subscriptionId }}' --required,
@resourceGroupName='{{ resourceGroupName }}' --required,
@serviceName='{{ serviceName }}' --required,
@buildServiceName='{{ buildServiceName }}' --required,
@agentPoolName='{{ agentPoolName }}' --required
@@json=
'{
"properties": "{{ properties }}"
}'
;