Skip to main content

network_interface_tap_configurations

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

Overview

Namenetwork_interface_tap_configurations
TypeResource
Idazure.network.network_interface_tap_configurations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringName of the resource.
etagstringA unique read-only string that changes whenever the resource is updated.
provisioningStatestringThe provisioning state of the network interface tap configuration resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
typestringResource type.
virtualNetworkTapobjectVirtual Network Tap resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, network_interface_name, tap_configuration_name, subscription_idGet the specified tap configuration on a network interface.
listselectresource_group_name, network_interface_name, subscription_idGet all Tap configurations in a network interface.
create_or_updateinsertresource_group_name, network_interface_name, tap_configuration_name, subscription_idCreates or updates a Tap configuration in the specified NetworkInterface.
create_or_updatereplaceresource_group_name, network_interface_name, tap_configuration_name, subscription_idCreates or updates a Tap configuration in the specified NetworkInterface.
deletedeleteresource_group_name, network_interface_name, tap_configuration_name, subscription_idDeletes 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
network_interface_namestringThe name of the network interface. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
tap_configuration_namestringThe name of the resource that is unique within a resource group. This name can be used to access the resource. Required.

SELECT examples

Get the specified tap configuration on a network interface.

SELECT
id,
name,
etag,
provisioningState,
type,
virtualNetworkTap
FROM azure.network.network_interface_tap_configurations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_interface_name = '{{ network_interface_name }}' -- required
AND tap_configuration_name = '{{ tap_configuration_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Creates or updates a Tap configuration in the specified NetworkInterface.

INSERT INTO azure.network.network_interface_tap_configurations (
id,
name,
properties,
resource_group_name,
network_interface_name,
tap_configuration_name,
subscription_id
)
SELECT
'{{ id }}',
'{{ name }}',
'{{ properties }}',
'{{ resource_group_name }}',
'{{ network_interface_name }}',
'{{ tap_configuration_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
properties,
type
;

REPLACE examples

Creates or updates a Tap configuration in the specified NetworkInterface.

REPLACE azure.network.network_interface_tap_configurations
SET
id = '{{ id }}',
name = '{{ name }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND network_interface_name = '{{ network_interface_name }}' --required
AND tap_configuration_name = '{{ tap_configuration_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
properties,
type;

DELETE examples

Deletes the specified tap configuration from the NetworkInterface.

DELETE FROM azure.network.network_interface_tap_configurations
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND network_interface_name = '{{ network_interface_name }}' --required
AND tap_configuration_name = '{{ tap_configuration_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;