@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
14 lines • 518 B
TypeScript
import { IpBlock } from '../IpBlock';
import { IpRestrictionRuleEnum } from './accessRestriction/IpRestrictionRuleEnum';
/** List of all IP Restrictions */
export interface IpRestriction {
/** The Id of the restriction */
id: number;
/** An IP range where we will apply the rule */
ip: IpBlock;
/** Accept or deny IP access */
rule: IpRestrictionRuleEnum;
/** Send an email if someone try to access with this IP address */
warning: boolean;
}
//# sourceMappingURL=IpRestriction.d.ts.map