traffic_controller_interfaces
Creates, updates, deletes, gets or lists a traffic_controller_interfaces
resource.
Overview
Name | traffic_controller_interfaces |
Type | Resource |
Id | azure.service_networking.traffic_controller_interfaces |
Fields
- vw_traffic_controller_interfaces
- traffic_controller_interfaces
Name | Datatype | Description |
---|---|---|
associations | text | field from the properties object |
configuration_endpoints | text | field from the properties object |
frontends | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
security_policies | text | field from the properties object |
security_policy_configurations | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
trafficControllerName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Traffic Controller Properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, subscriptionId, trafficControllerName | Get a TrafficController |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List TrafficController resources by resource group |
list_by_subscription | SELECT | subscriptionId | List TrafficController resources by subscription ID |
create_or_update | INSERT | resourceGroupName, subscriptionId, trafficControllerName | Create a TrafficController |
delete | DELETE | resourceGroupName, subscriptionId, trafficControllerName | Delete a TrafficController |
update | UPDATE | resourceGroupName, subscriptionId, trafficControllerName | Update a TrafficController |
SELECT
examples
List TrafficController resources by subscription ID
- vw_traffic_controller_interfaces
- traffic_controller_interfaces
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 }}';
SELECT
location,
properties,
tags
FROM azure.service_networking.traffic_controller_interfaces
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new traffic_controller_interfaces
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.service_networking.traffic_controller_interfaces (
resourceGroupName,
subscriptionId,
trafficControllerName,
properties,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ trafficControllerName }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: configurationEndpoints
value:
- string
- name: frontends
value:
- - name: id
value: string
- name: associations
value:
- - name: id
value: string
- name: securityPolicies
value:
- - name: id
value: string
- name: securityPolicyConfigurations
value:
- name: wafSecurityPolicy
value:
- name: id
value: string
- name: provisioningState
value: []
- name: tags
value: object
- name: location
value: string
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 }}';