virtual_appliance_connections
Creates, updates, deletes, gets or lists a virtual_appliance_connections
resource.
Overview
Name | virtual_appliance_connections |
Type | Resource |
Id | azure.network.virtual_appliance_connections |
Fields
- vw_virtual_appliance_connections
- virtual_appliance_connections
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | The name of the resource. |
asn | text | field from the properties object |
bgp_peer_address | text | field from the properties object |
connectionName | text | field from the properties object |
enable_internet_security | text | field from the properties object |
networkVirtualApplianceName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
routing_configuration | text | field from the properties object |
subscriptionId | text | field from the properties object |
tunnel_identifier | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | The name of the resource. |
properties | object | Properties of the NetworkVirtualApplianceConnection subresource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | connectionName, networkVirtualApplianceName, resourceGroupName, subscriptionId | Retrieves the details of specified NVA connection. |
list | SELECT | networkVirtualApplianceName, resourceGroupName, subscriptionId | Lists NetworkVirtualApplianceConnections under the NVA. |
create_or_update | INSERT | connectionName, networkVirtualApplianceName, resourceGroupName, subscriptionId | Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection' |
delete | DELETE | connectionName, networkVirtualApplianceName, resourceGroupName, subscriptionId | Deletes a NVA connection. |
SELECT
examples
Lists NetworkVirtualApplianceConnections under the NVA.
- vw_virtual_appliance_connections
- virtual_appliance_connections
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 }}';
SELECT
id,
name,
properties
FROM azure.network.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.network.virtual_appliance_connections (
connectionName,
networkVirtualApplianceName,
resourceGroupName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ connectionName }}',
'{{ networkVirtualApplianceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: name
value: string
- name: provisioningState
value: []
- name: asn
value: integer
- name: tunnelIdentifier
value: integer
- name: bgpPeerAddress
value:
- string
- name: enableInternetSecurity
value: boolean
- name: routingConfiguration
value:
- name: associatedRouteTable
value:
- name: id
value: string
- name: propagatedRouteTables
value:
- name: labels
value:
- string
- name: ids
value:
- - name: id
value: string
- name: vnetRoutes
value:
- name: staticRoutesConfig
value:
- name: propagateStaticRoutes
value: boolean
- name: vnetLocalRouteOverrideCriteria
value: []
- name: staticRoutes
value:
- - name: name
value: string
- name: addressPrefixes
value:
- string
- name: nextHopIpAddress
value: string
- name: bgpConnections
value:
- - name: id
value: string
- name: name
value: string
- name: id
value: string
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 }}';