cloudflare
Version:
The official TypeScript library for the Cloudflare API
30 lines • 1.06 kB
TypeScript
import { APIResource } from "../../../../resource.js";
import * as Core from "../../../../core.js";
import * as RoutesAPI from "./routes.js";
export declare class IPs extends APIResource {
/**
* Fetches routes that contain the given IP address.
*/
get(ip: string, params: IPGetParams, options?: Core.RequestOptions): Core.APIPromise<RoutesAPI.Teamnet>;
}
export interface IPGetParams {
/**
* Path param: Cloudflare account ID
*/
account_id: string;
/**
* Query param: When the virtual_network_id parameter is not provided the request
* filter will default search routes that are in the default virtual network for
* the account. If this parameter is set to false, the search will include routes
* that do not have a virtual network.
*/
default_virtual_network_fallback?: boolean;
/**
* Query param: UUID of the virtual network.
*/
virtual_network_id?: string;
}
export declare namespace IPs {
export { type IPGetParams as IPGetParams };
}
//# sourceMappingURL=ips.d.ts.map