@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
30 lines • 1.45 kB
TypeScript
import { ResourceMetadata } from '../iam/ResourceMetadata';
import { ServiceStateEnum } from './ServiceStateEnum';
/** Active Directory organizational unit */
export interface ActiveDirectoryOrganizationalUnitWithIAM {
/** Flag indicating if passwords should be forced to follow Microsoft's password guidelines */
complexityEnabled: boolean;
/** IAM resource metadata */
iam?: ResourceMetadata;
/** Account lock time (in minutes) when too much passwords have been tried */
lockoutDuration: number;
/** Time (in minutes) before the password attempts counter is reset */
lockoutObservationWindow: number;
/** Maximum number of password tries before account locking */
lockoutThreshold?: number;
/** Maximum lifespan of passwords, in days */
maxPasswordAge?: number;
/** Minimum lifespan of passwords, in days (0 = unlimited) */
minPasswordAge?: number;
/** Minimum number of characters passwords must contain */
minPasswordLength?: number;
/** Name of the Active Directory organizational unit */
name: string;
/** Service name of the office tenant (/licence/office/{serviceName}) linked to this AD service */
officeTenantServiceName?: string;
/** Current state of the Active Directory organizational unit */
state: ServiceStateEnum;
/** Task pending id */
taskPendingId: number;
}
//# sourceMappingURL=ActiveDirectoryOrganizationalUnitWithIAM.d.ts.map