cloudflare
Version:
The official TypeScript library for the Cloudflare API
40 lines • 1.42 kB
text/typescript
import { APIResource } from "../../core/resource.mjs";
import { APIPromise } from "../../core/api-promise.mjs";
import { RequestOptions } from "../../internal/request-options.mjs";
export declare class BaseRecommendations extends APIResource {
static readonly _key: readonly ['ssl', 'recommendations'];
/**
* Retrieve the SSL/TLS Recommender's recommendation for a zone.
*
* @deprecated SSL/TLS Recommender has been decommissioned in favor of Automatic SSL/TLS
*/
get(params: RecommendationGetParams, options?: RequestOptions): APIPromise<RecommendationGetResponse>;
}
export declare class Recommendations extends BaseRecommendations {
}
export interface RecommendationGetResponse {
id: string;
/**
* Whether this setting can be updated or not.
*/
editable: boolean;
/**
* Last time this setting was modified.
*/
modified_on: string;
/**
* Current setting of the automatic SSL/TLS.
*/
value: 'auto' | 'custom';
/**
* Next time this zone will be scanned by the Automatic SSL/TLS.
*/
next_scheduled_scan?: string | null;
}
export interface RecommendationGetParams {
zone_id: string;
}
export declare namespace Recommendations {
export { type RecommendationGetResponse as RecommendationGetResponse, type RecommendationGetParams as RecommendationGetParams, };
}
//# sourceMappingURL=recommendations.d.mts.map