@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
24 lines • 1.14 kB
TypeScript
import { L7RuleCompareTypeEnum } from './L7RuleCompareTypeEnum';
import { L7RuleTypeEnum } from './L7RuleTypeEnum';
import { LoadBalancerOperatingStatusEnum } from './LoadBalancerOperatingStatusEnum';
import { LoadBalancerProvisioningStatusEnum } from './LoadBalancerProvisioningStatusEnum';
/** L7 rule */
export interface L7Rule {
/** The comparison type for the L7 rule */
compareType: L7RuleCompareTypeEnum;
/** The ID of the L7 rule */
id: string;
/** When true the logic of the rule is inverted. For example, with invert set to true, equal to would become not equal to */
invert: boolean;
/** The key to use for the comparison. For example, the name of the cookie to evaluate */
key: string;
/** Operating status of the resource */
operatingStatus: LoadBalancerOperatingStatusEnum;
/** provisioning status of the resource */
provisioningStatus: LoadBalancerProvisioningStatusEnum;
/** The L7 rule type */
ruleType: L7RuleTypeEnum;
/** The value to use for the comparison. For example, the file type to compare */
value: string;
}
//# sourceMappingURL=L7Rule.d.ts.map