import { ServiceAssociationLinks } 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 { ServiceAssociationLinksListOptionalParams , ServiceAssociationLinksListResponse } from "../models" ; /** Class containing ServiceAssociationLinks operations. */ export class ServiceAssociationLinksImpl implements ServiceAssociationLinks { private readonly client : NetworkManagementClient ; param client constructor ( client ) { this . client = client ; } param resourceGroupName param virtualNetworkName param subnetName param options list ( resourceGroupName , virtualNetworkName , subnetName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , virtualNetworkName , subnetName , options } , listOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const listOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/ServiceAssociationLinks" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ServiceAssociationLinksListResult } , default : { bodyMapper : Mappers . CloudError } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . resourceGroupName , Parameters . subscriptionId , Parameters . virtualNetworkName , Parameters . subnetName ] , headerParameters : [ Parameters . accept ] , serializer } ;