Skip to main content

interface_tap_configurations

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

Overview

Nameinterface_tap_configurations
TypeResource
Idazure.network.interface_tap_configurations

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns a tap configuration.

NameDatatypeDescription
idstringResource ID.
namestringThe name of the resource that is unique within a resource group. This name can be used to access the resource.
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectProperties of the Virtual Network Tap configuration.
typestringSub Resource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, networkInterfaceName, tapConfigurationName, subscriptionIdGet the specified tap configuration on a network interface.
listselectresourceGroupName, networkInterfaceName, subscriptionIdGet all Tap configurations in a network interface.
create_or_updateinsertresourceGroupName, networkInterfaceName, tapConfigurationName, subscriptionIdCreates or updates a Tap configuration in the specified NetworkInterface.
deletedeleteresourceGroupName, networkInterfaceName, tapConfigurationName, subscriptionIdDeletes the specified tap configuration from the NetworkInterface.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
networkInterfaceNamestringThe name of the network interface.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
tapConfigurationNamestringThe name of the tap configuration.

SELECT examples

Get the specified tap configuration on a network interface.

SELECT
id,
name,
etag,
properties,
type
FROM azure.network.interface_tap_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkInterfaceName = '{{ networkInterfaceName }}' -- required
AND tapConfigurationName = '{{ tapConfigurationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates a Tap configuration in the specified NetworkInterface.

INSERT INTO azure.network.interface_tap_configurations (
data__properties,
data__name,
data__id,
resourceGroupName,
networkInterfaceName,
tapConfigurationName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ name }}',
'{{ id }}',
'{{ resourceGroupName }}',
'{{ networkInterfaceName }}',
'{{ tapConfigurationName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
etag,
properties,
type
;

DELETE examples

Deletes the specified tap configuration from the NetworkInterface.

DELETE FROM azure.network.interface_tap_configurations
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND networkInterfaceName = '{{ networkInterfaceName }}' --required
AND tapConfigurationName = '{{ tapConfigurationName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;