Skip to main content

virtual_appliance_connections

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

Overview

Namevirtual_appliance_connections
TypeResource
Idazure.network.virtual_appliance_connections

Fields

NameDatatypeDescription
idtextResource ID.
nametextThe name of the resource.
asntextfield from the properties object
bgp_peer_addresstextfield from the properties object
connectionNametextfield from the properties object
enable_internet_securitytextfield from the properties object
networkVirtualApplianceNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
routing_configurationtextfield from the properties object
subscriptionIdtextfield from the properties object
tunnel_identifiertextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectionName, networkVirtualApplianceName, resourceGroupName, subscriptionIdRetrieves the details of specified NVA connection.
listSELECTnetworkVirtualApplianceName, resourceGroupName, subscriptionIdLists NetworkVirtualApplianceConnections under the NVA.
create_or_updateINSERTconnectionName, networkVirtualApplianceName, resourceGroupName, subscriptionIdCreates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'
deleteDELETEconnectionName, networkVirtualApplianceName, resourceGroupName, subscriptionIdDeletes a NVA connection.

SELECT examples

Lists NetworkVirtualApplianceConnections under the NVA.

SELECT
id,
name,
asn,
bgp_peer_address,
connectionName,
enable_internet_security,
networkVirtualApplianceName,
provisioning_state,
resourceGroupName,
routing_configuration,
subscriptionId,
tunnel_identifier
FROM azure.network.vw_virtual_appliance_connections
WHERE networkVirtualApplianceName = '{{ networkVirtualApplianceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.virtual_appliance_connections (
connectionName,
networkVirtualApplianceName,
resourceGroupName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ connectionName }}',
'{{ networkVirtualApplianceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;

DELETE example

Deletes the specified virtual_appliance_connections resource.

/*+ delete */
DELETE FROM azure.network.virtual_appliance_connections
WHERE connectionName = '{{ connectionName }}'
AND networkVirtualApplianceName = '{{ networkVirtualApplianceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';