Skip to main content

associations_interfaces

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

Overview

Nameassociations_interfaces
TypeResource
Idazure.service_networking.associations_interfaces

Fields

NameDatatypeDescription
associationNametextfield from the properties object
association_typetextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subnettextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
trafficControllerNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTassociationName, resourceGroupName, subscriptionId, trafficControllerNameGet a Association
list_by_traffic_controllerSELECTresourceGroupName, subscriptionId, trafficControllerNameList Association resources by TrafficController
create_or_updateINSERTassociationName, resourceGroupName, subscriptionId, trafficControllerNameCreate a Association
deleteDELETEassociationName, resourceGroupName, subscriptionId, trafficControllerNameDelete a Association
updateUPDATEassociationName, resourceGroupName, subscriptionId, trafficControllerNameUpdate a Association

SELECT examples

List Association resources by TrafficController

SELECT
associationName,
association_type,
location,
provisioning_state,
resourceGroupName,
subnet,
subscriptionId,
tags,
trafficControllerName
FROM azure.service_networking.vw_associations_interfaces
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND trafficControllerName = '{{ trafficControllerName }}';

INSERT example

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

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

UPDATE example

Updates a associations_interfaces resource.

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

DELETE example

Deletes the specified associations_interfaces resource.

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