Skip to main content

test_lines

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

Overview

Nametest_lines
TypeResource
Idazure.voice_services.test_lines

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, communicationsGatewayName, testLineNameGet a TestLine
list_by_communications_gatewayselectsubscriptionId, resourceGroupName, communicationsGatewayNameList TestLine resources by CommunicationsGateway
create_or_updateinsertsubscriptionId, resourceGroupName, communicationsGatewayName, testLineNameCreate a TestLine
updateupdatesubscriptionId, resourceGroupName, communicationsGatewayName, testLineNameUpdate a TestLine
deletedeletesubscriptionId, resourceGroupName, communicationsGatewayName, testLineNameDelete 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.

NameDatatypeDescription
communicationsGatewayNamestringUnique identifier for this deployment
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
testLineNamestringUnique identifier for this test line

SELECT examples

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
;

INSERT examples

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
;

UPDATE examples

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 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
;