/** * @type CertificateRequest: Certificate request information * * @property hostname: Hostname that certificate needs to be applied to. * - **Pattern:** /^.*$/ * * @property bundleMethod: Bundle method of the custom certificate chain for verification. * - **Pattern:** /^.*$/ * * @property certificateType: Indicates certificate is custom or automatic certificate renewal by eCDN. Optional field, if nothing specified the default value is custom. Valid values are custom or automatic. * - **Pattern:** /^.*$/ * * @property certificate: Public key of the custom certificate. Required if the certificateType value is custom. * - **Pattern:** /^.*$/ * * @property privateKey: Private key associated with the custom certificate. Required if the `certificateType` value is custom. * - **Pattern:** /^.*$/ * * @property certificateAuthority: Certificate authority only for automatic certificate renewal by eCDN. Required if the `certificateType` value is automatic. Valid values are `google` or `lets_encrypt`. * - **Pattern:** /^.*$/ * * @property certificateValidation: Certificate validation type is optional only for `certificateType` automatic, default value is `http`. Valid values are `http` or `txt`. * - **Pattern:** /^.*$/ * * @property wildcardHostname: Set to true for a wildcard custom hostname. * */ export type CertificateRequest = { hostname: string; bundleMethod?: string; certificateType?: string; certificate?: string; privateKey?: string; certificateAuthority?: string; certificateValidation?: string; wildcardHostname?: boolean; } & { [key: string]: any; };