build_service_builds
Creates, updates, deletes, gets or lists a build_service_builds
resource.
Overview
Name | build_service_builds |
Type | Resource |
Id | azure.spring_apps.build_service_builds |
Fields
- vw_build_service_builds
- build_service_builds
Name | Datatype | Description |
---|---|---|
agent_pool | text | field from the properties object |
apms | text | field from the properties object |
buildName | text | field from the properties object |
buildServiceName | text | field from the properties object |
builder | text | field from the properties object |
certificates | text | field from the properties object |
env | text | field from the properties object |
provisioning_state | text | field from the properties object |
relative_path | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_requests | text | field from the properties object |
serviceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
triggered_build_result | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Build resource properties payload |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | buildName, buildServiceName, resourceGroupName, serviceName, subscriptionId | Get a KPack build. |
list | SELECT | buildServiceName, resourceGroupName, serviceName, subscriptionId | List KPack builds. |
create_or_update | INSERT | buildName, buildServiceName, resourceGroupName, serviceName, subscriptionId | Create or update a KPack build. |
delete | DELETE | buildName, buildServiceName, resourceGroupName, serviceName, subscriptionId | delete a KPack build. |
SELECT
examples
List KPack builds.
- vw_build_service_builds
- build_service_builds
SELECT
agent_pool,
apms,
buildName,
buildServiceName,
builder,
certificates,
env,
provisioning_state,
relative_path,
resourceGroupName,
resource_requests,
serviceName,
subscriptionId,
triggered_build_result
FROM azure.spring_apps.vw_build_service_builds
WHERE buildServiceName = '{{ buildServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.spring_apps.build_service_builds
WHERE buildServiceName = '{{ buildServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new build_service_builds
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.spring_apps.build_service_builds (
buildName,
buildServiceName,
resourceGroupName,
serviceName,
subscriptionId,
properties
)
SELECT
'{{ buildName }}',
'{{ buildServiceName }}',
'{{ resourceGroupName }}',
'{{ serviceName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: relativePath
value: string
- name: builder
value: string
- name: agentPool
value: string
- name: provisioningState
value: string
- name: env
value: object
- name: apms
value: []
- name: certificates
value: []
- name: triggeredBuildResult
value:
- name: id
value: string
- name: provisioningState
value: string
- name: image
value: string
- name: lastTransitionTime
value: string
- name: lastTransitionReason
value: string
- name: lastTransitionStatus
value: string
- name: resourceRequests
value:
- name: cpu
value: string
- name: memory
value: string
DELETE
example
Deletes the specified build_service_builds
resource.
/*+ delete */
DELETE FROM azure.spring_apps.build_service_builds
WHERE buildName = '{{ buildName }}'
AND buildServiceName = '{{ buildServiceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND serviceName = '{{ serviceName }}'
AND subscriptionId = '{{ subscriptionId }}';