import { ServiceTags } 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 { ServiceTagsListOptionalParams , ServiceTagsListResponse } from "../models" ; /** Class containing ServiceTags operations. */ export class ServiceTagsImpl implements ServiceTags { private readonly client : NetworkManagementClient ; param client constructor ( client ) { this . client = client ; } param location param options list ( location , options ? ) { return this . client . sendOperationRequest ( { location , options } , listOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const listOperationSpec = { path : "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . ServiceTagsListResult } , default : { bodyMapper : Mappers . CloudError } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . location ] , headerParameters : [ Parameters . accept ] , serializer } ;