build_service_agent_pools
Creates, updates, deletes, gets or lists a build_service_agent_pools resource.
Overview
| Name | build_service_agent_pools |
| Type | Resource |
| Id | azure.spring_apps.build_service_agent_pools |
Fields
The following fields are returned by SELECT queries:
- get
- list
Success. The response describes build service agent pool.
| Name | Datatype | Description |
|---|---|---|
properties | object | build service agent pool properties |
Success. The response describes build service agent pool.
| Name | Datatype | Description |
|---|---|---|
properties | object | build service agent pool properties |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, serviceName, buildServiceName, agentPoolName | Get build service agent pool. | |
list | select | subscriptionId, resourceGroupName, serviceName, buildServiceName | List build service agent pool. | |
update_put | exec | subscriptionId, resourceGroupName, serviceName, buildServiceName, agentPoolName | Create 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.
| Name | Datatype | Description |
|---|---|---|
agentPoolName | string | The name of the build service agent pool resource. |
buildServiceName | string | The name of the build service resource. |
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. |
subscriptionId | string | Gets subscription ID which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
SELECT examples
- get
- list
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
;
List 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
;
Lifecycle Methods
- update_put
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 }}"
}'
;