Skip to main content

traffic_controller_interfaces

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

Overview

Nametraffic_controller_interfaces
TypeResource
Idazure.service_networking.traffic_controller_interfaces

Fields

NameDatatypeDescription
associationstextfield from the properties object
configuration_endpointstextfield from the properties object
frontendstextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
security_policiestextfield from the properties object
security_policy_configurationstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
trafficControllerNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, trafficControllerNameGet a TrafficController
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList TrafficController resources by resource group
list_by_subscriptionSELECTsubscriptionIdList TrafficController resources by subscription ID
create_or_updateINSERTresourceGroupName, subscriptionId, trafficControllerNameCreate a TrafficController
deleteDELETEresourceGroupName, subscriptionId, trafficControllerNameDelete a TrafficController
updateUPDATEresourceGroupName, subscriptionId, trafficControllerNameUpdate a TrafficController

SELECT examples

List TrafficController resources by subscription ID

SELECT
associations,
configuration_endpoints,
frontends,
location,
provisioning_state,
resourceGroupName,
security_policies,
security_policy_configurations,
subscriptionId,
tags,
trafficControllerName
FROM azure.service_networking.vw_traffic_controller_interfaces
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new traffic_controller_interfaces resource.

/*+ create */
INSERT INTO azure.service_networking.traffic_controller_interfaces (
resourceGroupName,
subscriptionId,
trafficControllerName,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ trafficControllerName }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a traffic_controller_interfaces resource.

/*+ update */
UPDATE azure.service_networking.traffic_controller_interfaces
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';

DELETE example

Deletes the specified traffic_controller_interfaces resource.

/*+ delete */
DELETE FROM azure.service_networking.traffic_controller_interfaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';