CloudflareFS.Management
0.1.0
dotnet add package CloudflareFS.Management --version 0.1.0
NuGet\Install-Package CloudflareFS.Management -Version 0.1.0
<PackageReference Include="CloudflareFS.Management" Version="0.1.0" />
<PackageVersion Include="CloudflareFS.Management" Version="0.1.0" />
<PackageReference Include="CloudflareFS.Management" />
paket add CloudflareFS.Management --version 0.1.0
#r "nuget: CloudflareFS.Management, 0.1.0"
#:package CloudflareFS.Management@0.1.0
#addin nuget:?package=CloudflareFS.Management&version=0.1.0
#tool nuget:?package=CloudflareFS.Management&version=0.1.0
CloudflareFS.Management
F# clients for Cloudflare Management REST APIs
Management-side clients — Use this package to manage Cloudflare resources from .NET applications. For writing Cloudflare Workers in F#, see CloudflareFS.Runtime.
What is this?
CloudflareFS.Management provides F# client libraries for Cloudflare's REST Management APIs. Use these to programmatically create, configure, and manage Cloudflare resources from any .NET application — deployment scripts, admin tools, CI/CD pipelines, or backend services.
Supported Services
| Service | Description |
|---|---|
| Workers | Deploy and configure Workers scripts |
| KV | Create and manage KV namespaces |
| R2 | Create and manage R2 buckets |
| D1 | Create and manage D1 databases |
| Durable Objects | Manage Durable Object namespaces |
| Queues | Create and manage message queues |
| Vectorize | Create and manage vector indexes |
| Hyperdrive | Configure database connection pooling |
| Pages | Manage Cloudflare Pages projects |
| Analytics | Query analytics data |
Installation
dotnet add package CloudflareFS.Management
Quick Example
open System.Net.Http
open CloudFlare.Management.D1
let httpClient = new HttpClient()
httpClient.DefaultRequestHeaders.Add("Authorization", $"Bearer {apiToken}")
let d1Client = D1Client(httpClient)
// List all D1 databases in an account
let! databases = d1Client.ListDatabases(accountId)
for db in databases do
printfn $"Database: {db.Name} (ID: {db.Id})"
Authentication
All Management API calls require authentication. Use either:
- API Token (recommended): Create a token at dash.cloudflare.com/profile/api-tokens
- API Key: Your Global API Key + email (legacy method)
// API Token (recommended)
httpClient.DefaultRequestHeaders.Add("Authorization", $"Bearer {apiToken}")
// Or API Key (legacy)
httpClient.DefaultRequestHeaders.Add("X-Auth-Key", apiKey)
httpClient.DefaultRequestHeaders.Add("X-Auth-Email", email)
Requirements
- .NET Standard 2.0 compatible runtime (.NET 6+, .NET Framework 4.6.1+)
System.Net.Httpfor HTTP requestsFSharp.SystemTextJson(included as dependency)
Related Package
- CloudflareFS.Runtime — F# and Fable bindings for writing Cloudflare Workers (in-worker APIs for KV, R2, D1, etc.)
Links
License
MIT OR Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- FSharp.SystemTextJson (>= 1.3.13)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|