test_lines
Creates, updates, deletes, gets or lists a test_lines resource.
Overview
| Name | test_lines |
| Type | Resource |
| Id | azure.voice_services.test_lines |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_communications_gateway
ARM operation completed successfully.
| Name | Datatype | Description |
|---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
ARM operation completed successfully.
| Name | Datatype | Description |
|---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | subscriptionId, resourceGroupName, communicationsGatewayName, testLineName | Get a TestLine | |
list_by_communications_gateway | select | subscriptionId, resourceGroupName, communicationsGatewayName | List TestLine resources by CommunicationsGateway | |
create_or_update | insert | subscriptionId, resourceGroupName, communicationsGatewayName, testLineName | Create a TestLine | |
update | update | subscriptionId, resourceGroupName, communicationsGatewayName, testLineName | Update a TestLine | |
delete | delete | subscriptionId, resourceGroupName, communicationsGatewayName, testLineName | Delete a TestLine |
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 |
|---|---|---|
communicationsGatewayName | string | Unique identifier for this deployment |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
testLineName | string | Unique identifier for this test line |
SELECT examples
- get
- list_by_communications_gateway
Get a TestLine
SELECT
location,
properties,
tags
FROM azure.voice_services.test_lines
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND communicationsGatewayName = '{{ communicationsGatewayName }}' -- required
AND testLineName = '{{ testLineName }}' -- required
;
List TestLine resources by CommunicationsGateway
SELECT
location,
properties,
tags
FROM azure.voice_services.test_lines
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND communicationsGatewayName = '{{ communicationsGatewayName }}' -- required
;
INSERT examples
- create_or_update
- Manifest
Create a TestLine
INSERT INTO azure.voice_services.test_lines (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
communicationsGatewayName,
testLineName
)
SELECT
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ communicationsGatewayName }}',
'{{ testLineName }}'
RETURNING
location,
properties,
tags
;
# Description fields are for documentation purposes
- name: test_lines
props:
- name: subscriptionId
value: string
description: Required parameter for the test_lines resource.
- name: resourceGroupName
value: string
description: Required parameter for the test_lines resource.
- name: communicationsGatewayName
value: string
description: Required parameter for the test_lines resource.
- name: testLineName
value: string
description: Required parameter for the test_lines resource.
- name: properties
value: object
description: |
The resource-specific properties for this resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
UPDATE examples
- update
Update a TestLine
UPDATE azure.voice_services.test_lines
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND communicationsGatewayName = '{{ communicationsGatewayName }}' --required
AND testLineName = '{{ testLineName }}' --required
RETURNING
location,
properties,
tags;
DELETE examples
- delete
Delete a TestLine
DELETE FROM azure.voice_services.test_lines
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND communicationsGatewayName = '{{ communicationsGatewayName }}' --required
AND testLineName = '{{ testLineName }}' --required
;