cloudflare
Version:
The official TypeScript library for the Cloudflare API
31 lines • 1.06 kB
TypeScript
import { APIResource } from "../../../resource.js";
import * as Core from "../../../core.js";
import { SinglePage } from "../../../pagination.js";
export declare class Regions extends APIResource {
/**
* List all Regional Services regions available for use by this account.
*/
list(params: RegionListParams, options?: Core.RequestOptions): Core.PagePromise<RegionListResponsesSinglePage, RegionListResponse>;
}
export declare class RegionListResponsesSinglePage extends SinglePage<RegionListResponse> {
}
export interface RegionListResponse {
/**
* Identifying key for the region
*/
key?: string;
/**
* Human-readable text label for the region
*/
label?: string;
}
export interface RegionListParams {
/**
* Identifier
*/
account_id: string;
}
export declare namespace Regions {
export { type RegionListResponse as RegionListResponse, RegionListResponsesSinglePage as RegionListResponsesSinglePage, type RegionListParams as RegionListParams, };
}
//# sourceMappingURL=regions.d.ts.map