19 lines
686 B
JavaScript
19 lines
686 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
import { APIResource } from "../../resource.mjs";
|
|
export class Recommendations extends APIResource {
|
|
/**
|
|
* Retrieve the SSL/TLS Recommender's recommendation for a zone.
|
|
*
|
|
* @example
|
|
* ```ts
|
|
* const recommendation = await client.ssl.recommendations.get(
|
|
* { zone_id: '023e105f4ecef8ad9ca31a8372d0c353' },
|
|
* );
|
|
* ```
|
|
*/
|
|
get(params, options) {
|
|
const { zone_id } = params;
|
|
return this._client.get(`/zones/${zone_id}/ssl/recommendation`, options)._thenUnwrap((obj) => obj.result);
|
|
}
|
|
}
|
|
//# sourceMappingURL=recommendations.mjs.map
|