import { PrivateLinkResources } from "../operationsInterfaces" ; import * as coreClient from "@azure/core-client" ; import * as Mappers from "../models/mappers" ; import * as Parameters from "../models/parameters" ; import { StorageManagementClient } from "../storageManagementClient" ; import { PrivateLinkResourcesListByStorageAccountOptionalParams , PrivateLinkResourcesListByStorageAccountResponse } from "../models" ; /** Class containing PrivateLinkResources operations. */ export class PrivateLinkResourcesImpl implements PrivateLinkResources { private readonly client : StorageManagementClient ; param client constructor ( client ) { this . client = client ; } param resourceGroupName param accountName param options listByStorageAccount ( resourceGroupName , accountName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , accountName , options } , listByStorageAccountOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const listByStorageAccountOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . PrivateLinkResourceListResult } } , queryParameters : [ Parameters . apiVersion ] , urlParameters : [ Parameters . $host , Parameters . subscriptionId , Parameters . resourceGroupName , Parameters . accountName1 ] , headerParameters : [ Parameters . accept ] , serializer } ;