service_runners
Creates, updates, deletes, gets or lists a service_runners
resource.
Overview
Name | service_runners |
Type | Resource |
Id | azure.dev_test_labs.service_runners |
Fields
Name | Datatype | Description |
---|---|---|
id | string | The identifier of the resource. |
name | string | The name of the resource. |
identity | object | Properties of a managed identity |
location | string | The location of the resource. |
tags | object | The tags of the resource. |
type | string | The type of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | labName, name, resourceGroupName, subscriptionId | Get service runner. |
create_or_update | INSERT | labName, name, resourceGroupName, subscriptionId | Create or replace an existing service runner. |
delete | DELETE | labName, name, resourceGroupName, subscriptionId | Delete service runner. |
SELECT
examples
Get service runner.
SELECT
id,
name,
identity,
location,
tags,
type
FROM azure.dev_test_labs.service_runners
WHERE labName = '{{ labName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new service_runners
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.dev_test_labs.service_runners (
labName,
name,
resourceGroupName,
subscriptionId,
location,
tags,
identity
)
SELECT
'{{ labName }}',
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ location }}',
'{{ tags }}',
'{{ identity }}'
;
- name: your_resource_model_name
props:
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
- name: identity
value:
- name: type
value: string
- name: principalId
value: string
- name: tenantId
value: string
- name: clientSecretUrl
value: string
DELETE
example
Deletes the specified service_runners
resource.
/*+ delete */
DELETE FROM azure.dev_test_labs.service_runners
WHERE labName = '{{ labName }}'
AND name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';