cloudflare
Version:
The official TypeScript library for the Cloudflare API
37 lines • 1.43 kB
TypeScript
import * as Core from 'cloudflare/core';
import { APIResource } from 'cloudflare/resource';
import * as ServicesAPI from 'cloudflare/resources/addressing/services';
import { SinglePage } from 'cloudflare/pagination';
export declare class Services extends APIResource {
/**
* Bring-Your-Own IP (BYOIP) prefixes onboarded to Cloudflare must be bound to a
* service running on the Cloudflare network to enable a Cloudflare product on the
* IP addresses. This endpoint can be used as a reference of available services on
* the Cloudflare network, and their service IDs.
*/
list(params: ServiceListParams, options?: Core.RequestOptions): Core.PagePromise<ServiceListResponsesSinglePage, ServiceListResponse>;
}
export declare class ServiceListResponsesSinglePage extends SinglePage<ServiceListResponse> {
}
export interface ServiceListResponse {
/**
* Identifier
*/
id?: string;
/**
* Name of a service running on the Cloudflare network
*/
name?: string;
}
export interface ServiceListParams {
/**
* Identifier
*/
account_id: string;
}
export declare namespace Services {
export import ServiceListResponse = ServicesAPI.ServiceListResponse;
export import ServiceListResponsesSinglePage = ServicesAPI.ServiceListResponsesSinglePage;
export import ServiceListParams = ServicesAPI.ServiceListParams;
}
//# sourceMappingURL=services.d.ts.map