import { ScenarioCheckInput } from './scenario.models' ; import { ScenarioIds } from '../../models/constants' ; import { Environment } from './scenario.models' ; import { ArmUtil } from '../../Utilities/arm-utils' ; export class ContainerEnvironment extends Environment { name = 'Container' ; constructor ( ) { super ( ) ; this . scenarioChecks [ ScenarioIds . enableLinkAPIM ] = { id : ScenarioIds . enableLinkAPIM , runCheck : ( ) => { return { status : 'disabled' } ; } , } ; } public isCurrentEnvironment ( input ? ) { if ( input && input . site ) { return ArmUtil . isContainerApp ( input . site ) ; } return false ; } }