@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
53 lines • 2.08 kB
TypeScript
import { DomainDkimDiagnostics } from './DomainDkimDiagnostics';
import { ObjectStateEnum } from './ObjectStateEnum';
import { DomainTypeEnum } from './DomainTypeEnum';
/** Exchange domain */
export interface Domain {
/** Cname that will be checked to prove the domain ownership */
cnameToCheck?: string;
/** DKIM diagnostics on this domain */
dkimDiagnostics: DomainDkimDiagnostics;
/** List of aliases for this domain */
domainAliases: string[];
/** Domain validation status */
domainValidated: boolean;
/** Expected SRV record on this domain */
expectedAutodiscoverSRV: string;
/** Expected MX record(s) on this domain */
expectedMX: string[];
/** Expected SPF record on this domain */
expectedSPF: string;
/** Indicate if this domain is an alias for another domain */
isAliasDomain: boolean;
/** If true this is an organization (Exchange 2010 only) */
main?: boolean;
/** If true your dns mx configuration is valid */
mxIsValid: boolean;
/** Domain MX record configured in DNS */
mxRecord?: string[];
/** If specified, emails to not existing address will be redirected to that domain */
mxRelay?: string;
/** Domain name */
name: string;
/** If specified, indicates to which organization this domain belongs (Exchange 2010 only) */
organization2010?: string;
/** Relay domain address that will be used to all newly created accounts */
sbrDefault?: string;
/** Send connector id that will be used to all newly created accounts */
sendConnectorIdDefault?: number;
/** Wether your SPF record is valid */
spfIsValid: boolean;
/** Domain's SPF record configured in the DNS */
spfRecord?: string[];
/** If true your dns srv record is valid */
srvIsValid: boolean;
/** Domain SRV record configured in DNS */
srvRecord?: string[];
/** Domain state */
state: ObjectStateEnum;
/** Pending taks id */
taskPendingId: number;
/** Domain type */
type: DomainTypeEnum;
}
//# sourceMappingURL=Domain.d.ts.map