bunny-client
Version:
TypeScript API Client for BunnyCDN 🐰
24 lines • 1.38 kB
TypeScript
export interface CheckTheStorageZoneAvailabilityRequest {
/**
* User-specific [API Key](https://dash.bunny.net/account/settings)
* @example "cb1a7c68-89a0-462a-9495-13ebd7366cfe"
*/
apiKey?: string;
/**
* Determines the name of the zone that we are checking.
*
* The zone can be any in the [Points of Presence](https://web.archive.org/web/20230427225159/https://www.imperva.com/learn/performance/what-is-cdn-how-it-works/) [list](https://web.archive.org/web/20230427225239/https://bunny.net/network/) of abbreviations
* @example "NY"
*/
Name: string;
}
export interface CheckTheStorageZoneAvailabilityResponse {
Available: boolean;
}
export declare const checkTheStorageZoneAvailability: import("untypeable/dist/client-ca591958").g<CheckTheStorageZoneAvailabilityRequest, CheckTheStorageZoneAvailabilityResponse>;
export declare const checkTheStorageZoneAvailabilityEndpoints: {
readonly checkTheStorageZoneAvailability: "checkTheStorageZoneAvailability";
readonly "POST /storagezone/checkavailability": "POST /storagezone/checkavailability";
};
export declare function checkTheStorageZoneAvailabilityClient(defaultRequestInit: RequestInit, { apiKey, ...input }: CheckTheStorageZoneAvailabilityRequest): Promise<CheckTheStorageZoneAvailabilityResponse>;
//# sourceMappingURL=checkTheStorageZoneAvailability.d.ts.map