import { APIResource } from "../../../../core/resource.mjs"; import * as WARPAPI from "./warp.mjs"; import { APIPromise } from "../../../../core/api-promise.mjs"; import { RequestOptions } from "../../../../internal/request-options.mjs"; export declare class BaseInitialResolvedIP extends APIResource { static readonly _key: readonly ['zeroTrust', 'networks', 'subnets', 'initialResolvedIP']; /** * Updates the CIDR for the account's default Initial Resolved IP Subnet of the * given address family. The new CIDR must not conflict with existing private * routes in the account. * * @example * ```ts * const subnet = * await client.zeroTrust.networks.subnets.initialResolvedIP.update( * 'v4', * { account_id: '699d98642c564d2e855e9661899b7252' }, * ); * ``` */ update(addressFamily: 'v4' | 'v6', params: InitialResolvedIPUpdateParams, options?: RequestOptions): APIPromise; /** * Returns the account's default Initial Resolved IP Subnet for the given address * family. * * @example * ```ts * const subnet = * await client.zeroTrust.networks.subnets.initialResolvedIP.get( * 'v4', * { account_id: '699d98642c564d2e855e9661899b7252' }, * ); * ``` */ get(addressFamily: 'v4' | 'v6', params: InitialResolvedIPGetParams, options?: RequestOptions): APIPromise; } export declare class InitialResolvedIP extends BaseInitialResolvedIP { } export interface InitialResolvedIPUpdateParams { /** * Path param: Cloudflare account ID */ account_id: string; /** * Body param: An optional description of the subnet. */ comment?: string; /** * Body param: A user-friendly name for the subnet. */ name?: string; /** * Body param: The private IPv4 or IPv6 range defining the subnet, in CIDR * notation. */ network?: string; } export interface InitialResolvedIPGetParams { /** * Cloudflare account ID */ account_id: string; } export declare namespace InitialResolvedIP { export { type InitialResolvedIPUpdateParams as InitialResolvedIPUpdateParams, type InitialResolvedIPGetParams as InitialResolvedIPGetParams, }; } //# sourceMappingURL=initial-resolved-ip.d.mts.map