import { VpnSiteLinkConnections } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Mappers from "../models/mappers" ; import * as Parameters from "../models/parameters" ; import { NetworkManagementClient } from "../networkManagementClient" ; import { VpnSiteLinkConnectionsGetOptionalParams , VpnSiteLinkConnectionsGetResponse } from "../models" ; /** Class containing VpnSiteLinkConnections operations. */ export class VpnSiteLinkConnectionsImpl implements VpnSiteLinkConnections { private readonly client : NetworkManagementClient ; param client constructor ( client ) { this . client = client ; } param resourceGroupName param gatewayName param connectionName param linkConnectionName param options get ( resourceGroupName , gatewayName , connectionName , linkConnectionName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , gatewayName , connectionName , linkConnectionName , options } , getOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const getOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . VpnSiteLinkConnection } , default : { bodyMapper : Mappers . CloudError } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . resourceGroupName , Parameters . subscriptionId , Parameters . connectionName , Parameters . gatewayName , Parameters . linkConnectionName ] , headerParameters : [ Parameters . accept ] , serializer } ;