Skip to main content

network_taps

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

Overview

Namenetwork_taps
TypeResource
Idazure.managed_network_fabric.network_taps

Fields

NameDatatypeDescription
administrative_statetextfield from the properties object
annotationtextfield from the properties object
configuration_statetextfield from the properties object
destinationstextfield from the properties object
locationtextThe geo-location where the resource lives
networkTapNametextfield from the properties object
network_packet_broker_idtextfield from the properties object
polling_typetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
source_tap_rule_idtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkTapName, resourceGroupName, subscriptionIdRetrieves details of this Network Tap.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdDisplays Network Taps list by resource group GET method.
list_by_subscriptionSELECTsubscriptionIdDisplays Network Taps list by subscription GET method.
createINSERTnetworkTapName, resourceGroupName, subscriptionId, data__propertiesCreates a Network Tap.
deleteDELETEnetworkTapName, resourceGroupName, subscriptionIdDeletes Network Tap.
updateUPDATEnetworkTapName, resourceGroupName, subscriptionIdAPI to update certain properties of the Network Tap resource.
resyncEXECnetworkTapName, resourceGroupName, subscriptionIdImplements the operation to the underlying resources.

SELECT examples

Displays Network Taps list by subscription GET method.

SELECT
administrative_state,
annotation,
configuration_state,
destinations,
location,
networkTapName,
network_packet_broker_id,
polling_type,
provisioning_state,
resourceGroupName,
source_tap_rule_id,
subscriptionId,
tags
FROM azure.managed_network_fabric.vw_network_taps
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.managed_network_fabric.network_taps (
networkTapName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ networkTapName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a network_taps resource.

/*+ update */
UPDATE azure.managed_network_fabric.network_taps
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
networkTapName = '{{ networkTapName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified network_taps resource.

/*+ delete */
DELETE FROM azure.managed_network_fabric.network_taps
WHERE networkTapName = '{{ networkTapName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';