Skip to main content

interface_tap_configurations

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

Overview

Nameinterface_tap_configurations
TypeResource
Idazure.network.interface_tap_configurations

Fields

NameDatatypeDescription
idtextResource ID.
nametextThe name of the resource that is unique within a resource group. This name can be used to access the resource.
etagtextA unique read-only string that changes whenever the resource is updated.
networkInterfaceNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tapConfigurationNametextfield from the properties object
typetextSub Resource type.
virtual_network_taptextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkInterfaceName, resourceGroupName, subscriptionId, tapConfigurationNameGet the specified tap configuration on a network interface.
listSELECTnetworkInterfaceName, resourceGroupName, subscriptionIdGet all Tap configurations in a network interface.
create_or_updateINSERTnetworkInterfaceName, resourceGroupName, subscriptionId, tapConfigurationNameCreates or updates a Tap configuration in the specified NetworkInterface.
deleteDELETEnetworkInterfaceName, resourceGroupName, subscriptionId, tapConfigurationNameDeletes the specified tap configuration from the NetworkInterface.

SELECT examples

Get all Tap configurations in a network interface.

SELECT
id,
name,
etag,
networkInterfaceName,
provisioning_state,
resourceGroupName,
subscriptionId,
tapConfigurationName,
type,
virtual_network_tap
FROM azure.network.vw_interface_tap_configurations
WHERE networkInterfaceName = '{{ networkInterfaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.interface_tap_configurations (
networkInterfaceName,
resourceGroupName,
subscriptionId,
tapConfigurationName,
properties,
name,
id
)
SELECT
'{{ networkInterfaceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tapConfigurationName }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;

DELETE example

Deletes the specified interface_tap_configurations resource.

/*+ delete */
DELETE FROM azure.network.interface_tap_configurations
WHERE networkInterfaceName = '{{ networkInterfaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND tapConfigurationName = '{{ tapConfigurationName }}';