cloudflare
Version:
The official TypeScript library for the Cloudflare API
24 lines • 1.14 kB
TypeScript
import { APIResource } from "../../core/resource.js";
import { CursorPaginationAfter, type CursorPaginationAfterParams, PagePromise } from "../../core/pagination.js";
import { RequestOptions } from "../../internal/request-options.js";
export declare class BaseKeys extends APIResource {
static readonly _key: readonly ['resourceTagging', 'keys'];
/**
* Lists all distinct tag keys used across resources in an account.
*/
list(params: KeyListParams, options?: RequestOptions): PagePromise<KeyListResponsesCursorPaginationAfter, KeyListResponse>;
}
export declare class Keys extends BaseKeys {
}
export type KeyListResponsesCursorPaginationAfter = CursorPaginationAfter<KeyListResponse>;
export type KeyListResponse = string;
export interface KeyListParams extends CursorPaginationAfterParams {
/**
* Path param: Identifier.
*/
account_id: string;
}
export declare namespace Keys {
export { type KeyListResponse as KeyListResponse, type KeyListResponsesCursorPaginationAfter as KeyListResponsesCursorPaginationAfter, type KeyListParams as KeyListParams, };
}
//# sourceMappingURL=keys.d.ts.map