UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

27 lines 963 B
import { ResourceMetadata } from '../../iam/ResourceMetadata'; import { Option } from './Option'; import { Region } from './Region'; import { ServiceStatusEnum } from './ServiceStatusEnum'; import { OfferTypeEnum } from './OfferTypeEnum'; /** Structure holding the elements about a service */ export interface ServiceWithIAM { /** Description of a service */ description: string; /** IAM resource metadata */ iam?: ResourceMetadata; /** Name of a service */ name: string; /** Offer used for the service */ offer: string; /** Quota used for the service */ quota: Option; /** Region holding the service */ region: Region; /** Indicator if the service should be upgraded based on current quota and offer */ shouldUpgrade: boolean; /** Status of a service */ status: ServiceStatusEnum; /** Type of the service: cloud or live */ type: OfferTypeEnum; } //# sourceMappingURL=ServiceWithIAM.d.ts.map