import { FirewallPolicyIdpsSignaturesOverrides } 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 { SignaturesOverrides , FirewallPolicyIdpsSignaturesOverridesPatchOptionalParams , FirewallPolicyIdpsSignaturesOverridesPatchResponse , FirewallPolicyIdpsSignaturesOverridesPutOptionalParams , FirewallPolicyIdpsSignaturesOverridesPutResponse , FirewallPolicyIdpsSignaturesOverridesGetOptionalParams , FirewallPolicyIdpsSignaturesOverridesGetResponse , FirewallPolicyIdpsSignaturesOverridesListOptionalParams , FirewallPolicyIdpsSignaturesOverridesListResponse } from "../models" ; /** Class containing FirewallPolicyIdpsSignaturesOverrides operations. */ export class FirewallPolicyIdpsSignaturesOverridesImpl implements FirewallPolicyIdpsSignaturesOverrides { private readonly client : NetworkManagementClient ; param client constructor ( client ) { this . client = client ; } param resourceGroupName param firewallPolicyName param parameters param options patch ( resourceGroupName , firewallPolicyName , parameters , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , firewallPolicyName , parameters , options } , patchOperationSpec ) ; } param resourceGroupName param firewallPolicyName param parameters param options put ( resourceGroupName , firewallPolicyName , parameters , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , firewallPolicyName , parameters , options } , putOperationSpec ) ; } param resourceGroupName param firewallPolicyName param options get ( resourceGroupName , firewallPolicyName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , firewallPolicyName , options } , getOperationSpec ) ; } param resourceGroupName param firewallPolicyName param options list ( resourceGroupName , firewallPolicyName , options ? ) { return this . client . sendOperationRequest ( { resourceGroupName , firewallPolicyName , options } , listOperationSpec ) ; } } const serializer = coreClient . createSerializer ( Mappers , false ) ; const patchOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default" , httpMethod : "PATCH" , responses : { 200 : { bodyMapper : Mappers . SignaturesOverrides } , default : { bodyMapper : Mappers . CloudError } } , requestBody : Parameters . parameters18 , urlParameters : [ Parameters . $host , Parameters . resourceGroupName , Parameters . subscriptionId , Parameters . firewallPolicyName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const putOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default" , httpMethod : "PUT" , responses : { 200 : { bodyMapper : Mappers . SignaturesOverrides } , default : { bodyMapper : Mappers . CloudError } } , requestBody : Parameters . parameters18 , urlParameters : [ Parameters . $host , Parameters . resourceGroupName , Parameters . subscriptionId , Parameters . firewallPolicyName ] , headerParameters : [ Parameters . accept , Parameters . contentType ] , mediaType : "json" , serializer } ; const getOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SignaturesOverrides } , default : { bodyMapper : Mappers . CloudError } } , urlParameters : [ Parameters . $host , Parameters . resourceGroupName , Parameters . subscriptionId , Parameters . firewallPolicyName ] , headerParameters : [ Parameters . accept ] , serializer } ; const listOperationSpec = { path : "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides" , httpMethod : "GET" , responses : { 200 : { bodyMapper : Mappers . SignaturesOverridesList } , default : { bodyMapper : Mappers . CloudError } } , urlParameters : [ Parameters . $host , Parameters . resourceGroupName , Parameters . subscriptionId , Parameters . firewallPolicyName ] , headerParameters : [ Parameters . accept ] , serializer } ;