Skip to main content

virtual_network_taps

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

Overview

Namevirtual_network_taps
TypeResource
Idazure.network.virtual_network_taps

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
destination_load_balancer_front_end_ip_configurationtextfield from the properties object
destination_network_interface_ip_configurationtextfield from the properties object
destination_porttextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
locationtextResource location.
network_interface_tap_configurationstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_guidtextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
tapNametextfield from the properties object
typetextResource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionId, tapNameGets information about the specified virtual network tap.
list_allSELECTsubscriptionIdGets all the VirtualNetworkTaps in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets all the VirtualNetworkTaps in a subscription.
create_or_updateINSERTresourceGroupName, subscriptionId, tapNameCreates or updates a Virtual Network Tap.
deleteDELETEresourceGroupName, subscriptionId, tapNameDeletes the specified virtual network tap.
update_tagsEXECresourceGroupName, subscriptionId, tapNameUpdates an VirtualNetworkTap tags.

SELECT examples

Gets all the VirtualNetworkTaps in a subscription.

SELECT
id,
name,
destination_load_balancer_front_end_ip_configuration,
destination_network_interface_ip_configuration,
destination_port,
etag,
location,
network_interface_tap_configurations,
provisioning_state,
resourceGroupName,
resource_guid,
subscriptionId,
tags,
tapName,
type
FROM azure.network.vw_virtual_network_taps
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.virtual_network_taps (
resourceGroupName,
subscriptionId,
tapName,
properties,
id,
location,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tapName }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

DELETE example

Deletes the specified virtual_network_taps resource.

/*+ delete */
DELETE FROM azure.network.virtual_network_taps
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND tapName = '{{ tapName }}';