@datatr-ux/ovhcloud-types
Version:
TypeScript types for OVHCloud projects
27 lines • 855 B
TypeScript
import { ResourceMetadata } from '../../iam/ResourceMetadata';
import { ServicePlanEnum } from './ServicePlanEnum';
import { ServiceStateEnum } from './ServiceStateEnum';
/** Service */
export interface ServiceWithIAM {
/** Service creation */
createdAt: string;
/** Service custom name */
displayName?: string;
/** IAM resource metadata */
iam?: ResourceMetadata;
/** If set, can perform extra action on cluster */
isClusterOwner: boolean;
/** Is IAM enabled for this service? */
isIamEnabled: boolean;
/** Service plan */
plan: ServicePlanEnum;
/** Service name */
serviceName: string;
/** Service state */
state: ServiceStateEnum;
/** Service last update */
updatedAt?: string;
/** Username on DBaaS Logs */
username: string;
}
//# sourceMappingURL=ServiceWithIAM.d.ts.map