UNPKG

@datatr-ux/ovhcloud-types

Version:

TypeScript types for OVHCloud projects

83 lines 3.52 kB
import { UnitAndValueDouble } from '../../complexType/UnitAndValueDouble'; import { AvailableOfferStruct } from './AvailableOfferStruct'; import { CountriesIp } from './CountriesIp'; import { OfferCapabilitiesEnum } from './OfferCapabilitiesEnum'; import { OfferEnum } from './OfferEnum'; import { OperatingSystemEnum } from './OperatingSystemEnum'; import { PhpVersion } from './PhpVersion'; import { ResourceEnum } from './ResourceEnum'; import { ServiceAccess } from './ServiceAccess'; import { StateEnum } from './StateEnum'; import { ResourceMetadata } from '../../iam/ResourceMetadata'; import { Ipv4 } from '../../Ipv4'; import { Ipv6 } from '../../Ipv6'; /** Web Hosting */ export interface ServiceWithIAM { /** Available offers for boost option */ availableBoostOffer: AvailableOfferStruct[]; /** Current boost offer */ boostOffer?: OfferCapabilitiesEnum; /** Cluster name */ cluster: string; /** This direct ip to your cluster ( usefull for application like api ) */ clusterIp?: Ipv4; /** This direct ipv6 to your cluster ( usefull for application like api ) */ clusterIpv6?: Ipv6; /** Available clusterIp by countries */ countriesIp?: CountriesIp[]; /** Datacenter where this account is located */ datacenter: string; /** The default attached domain created along with your hosting */ defaultAttachedDomain?: string; /** Set the name displayed in ManagerV6 for your hosting (max 50 chars) */ displayName?: string; /** Filer name */ filer?: string; /** Has a CDN service linked on the hosting */ hasCdn?: boolean; /** Has a HostedSSL service linked on the hosting */ hasHostedSsl?: boolean; /** Path of your home */ home: string; /** The recommended ip for your hosting ( depends on hosting's linked services, e.g CDN or hostedSSL ) */ hostingIp?: Ipv4; /** The recommended ipv6 for your hosting ( depends on hosting's linked services, e.g CDN or hostedSSL ) */ hostingIpv6?: Ipv6; /** IAM resource metadata */ iam?: ResourceMetadata; /** /hosting/web/{serviceName}/ovhConfig is stored in cache. This date is the last refresh of this data */ lastOvhConfigScan?: string; /** If set to true, service can manage more than only one certificate */ multipleSSL: boolean; /** Hosting offer */ offer: OfferCapabilitiesEnum; /** Hosting's OS */ operatingSystem: OperatingSystemEnum; /** State of available php versions for this account */ phpVersions: PhpVersion[]; /** Hosting's main login */ primaryLogin: string; /** Space allowed */ quotaSize: UnitAndValueDouble; /** Space used */ quotaUsed?: UnitAndValueDouble; /** If your offer is old, return a recommended offer to migrate on */ recommendedOffer?: OfferEnum; /** Hosting resource type */ resourceType: ResourceEnum; /** URLs to use to manage your webhosting */ serviceManagementAccess: ServiceAccess; /** Service name */ serviceName: string; /** State of your hosting */ state: StateEnum; /** Use to link an external domain. ( This token has to be insert into a TXT field on your dns zone with ovhcontrol subdomain ) */ token?: string; /** Traffic quota allowed ( null = unlimited ) */ trafficQuotaSize?: UnitAndValueDouble; /** Traffic quota used */ trafficQuotaUsed?: UnitAndValueDouble; /** List of updates on your hosting */ updates: string[]; } //# sourceMappingURL=ServiceWithIAM.d.ts.map