Skip to main content

security_policies_interfaces

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

Overview

Namesecurity_policies_interfaces
TypeResource
Idazure.service_networking.security_policies_interfaces

Fields

NameDatatypeDescription
locationtextThe geo-location where the resource lives
policy_typetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
securityPolicyNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
trafficControllerNametextfield from the properties object
waf_policytextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, securityPolicyName, subscriptionId, trafficControllerNameGet a SecurityPolicy
list_by_traffic_controllerSELECTresourceGroupName, subscriptionId, trafficControllerNameList SecurityPolicy resources by TrafficController
create_or_updateINSERTresourceGroupName, securityPolicyName, subscriptionId, trafficControllerNameCreate a SecurityPolicy
deleteDELETEresourceGroupName, securityPolicyName, subscriptionId, trafficControllerNameDelete a SecurityPolicy
updateUPDATEresourceGroupName, securityPolicyName, subscriptionId, trafficControllerNameUpdate a SecurityPolicy

SELECT examples

List SecurityPolicy resources by TrafficController

SELECT
location,
policy_type,
provisioning_state,
resourceGroupName,
securityPolicyName,
subscriptionId,
tags,
trafficControllerName,
waf_policy
FROM azure.service_networking.vw_security_policies_interfaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';

INSERT example

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

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

UPDATE example

Updates a security_policies_interfaces resource.

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

DELETE example

Deletes the specified security_policies_interfaces resource.

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