Skip to main content

virtual_network_gateway_connections

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

Overview

Namevirtual_network_gateway_connections
TypeResource
Idazure_stack.network_admin.virtual_network_gateway_connections

Fields

The following fields are returned by SELECT queries:

OK -- The list of virtual network gateway connections has been returned.

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
locationstringName of Azure Stack
propertiesobjectVirtual Network Gateway Connection properties.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId$filter, $orderBy, $topReturns a list of all Virtual Network Gateway Connections.

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
subscriptionIdstringThe ID of the target subscription.
$filterstringOData filter parameter.
$orderBystringOData orderBy parameter.
$topstringOData top parameter.

SELECT examples

Returns a list of all Virtual Network Gateway Connections.

SELECT
id,
name,
location,
properties,
type
FROM azure_stack.network_admin.virtual_network_gateway_connections
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND $filter = '{{ $filter }}'
AND $orderBy = '{{ $orderBy }}'
AND $top = '{{ $top }}'
;