cloudflare
Version:
The official TypeScript library for the Cloudflare API
34 lines • 1.45 kB
TypeScript
import * as Core from 'cloudflare/core';
import { APIResource } from 'cloudflare/resource';
import * as AnalyzeAPI from 'cloudflare/resources/ssl/analyze';
import * as CustomHostnamesAPI from 'cloudflare/resources/custom-hostnames/custom-hostnames';
export declare class Analyze extends APIResource {
/**
* Returns the set of hostnames, the signature algorithm, and the expiration date
* of the certificate.
*/
create(params: AnalyzeCreateParams, options?: Core.RequestOptions): Core.APIPromise<AnalyzeCreateResponse>;
}
export type AnalyzeCreateResponse = unknown | string | null;
export interface AnalyzeCreateParams {
/**
* Path param: Identifier
*/
zone_id: string;
/**
* Body param: A ubiquitous bundle has the highest probability of being verified
* everywhere, even by clients using outdated or unusual trust stores. An optimal
* bundle uses the shortest chain and newest intermediates. And the force bundle
* verifies the chain, but does not otherwise modify it.
*/
bundle_method?: CustomHostnamesAPI.BundleMethod;
/**
* Body param: The zone's SSL certificate or certificate and the intermediate(s).
*/
certificate?: string;
}
export declare namespace Analyze {
export import AnalyzeCreateResponse = AnalyzeAPI.AnalyzeCreateResponse;
export import AnalyzeCreateParams = AnalyzeAPI.AnalyzeCreateParams;
}
//# sourceMappingURL=analyze.d.ts.map