Skip to main content

connection_monitor_tests

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

Overview

Nameconnection_monitor_tests
TypeResource
Idazure.peering.connection_monitor_tests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the resource.
namestringThe name of the resource.
propertiesobjectThe properties that define a Connection Monitor Test.
typestringThe type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, peeringServiceName, connectionMonitorTestName, subscriptionIdGets an existing connection monitor test with the specified name under the given subscription, resource group and peering service.
list_by_peering_serviceselectresourceGroupName, peeringServiceName, subscriptionIdLists all connection monitor tests under the given subscription, resource group and peering service.
create_or_updateinsertresourceGroupName, peeringServiceName, connectionMonitorTestName, subscriptionIdCreates or updates a connection monitor test with the specified name under the given subscription, resource group and peering service.
deletedeleteresourceGroupName, peeringServiceName, connectionMonitorTestName, subscriptionIdDeletes an existing connection monitor test with the specified name under the given subscription, resource group and peering service.

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
connectionMonitorTestNamestringThe name of the connection monitor test
peeringServiceNamestringThe name of the peering service.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringThe Azure subscription ID.

SELECT examples

Gets an existing connection monitor test with the specified name under the given subscription, resource group and peering service.

SELECT
id,
name,
properties,
type
FROM azure.peering.connection_monitor_tests
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND peeringServiceName = '{{ peeringServiceName }}' -- required
AND connectionMonitorTestName = '{{ connectionMonitorTestName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates a connection monitor test with the specified name under the given subscription, resource group and peering service.

INSERT INTO azure.peering.connection_monitor_tests (
data__properties,
resourceGroupName,
peeringServiceName,
connectionMonitorTestName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ peeringServiceName }}',
'{{ connectionMonitorTestName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
properties,
type
;

DELETE examples

Deletes an existing connection monitor test with the specified name under the given subscription, resource group and peering service.

DELETE FROM azure.peering.connection_monitor_tests
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND peeringServiceName = '{{ peeringServiceName }}' --required
AND connectionMonitorTestName = '{{ connectionMonitorTestName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;