Soenneker.Fastly.OpenApiClient 11.0.125

Prefix Reserved
dotnet add package Soenneker.Fastly.OpenApiClient --version 11.0.125
                    
NuGet\Install-Package Soenneker.Fastly.OpenApiClient -Version 11.0.125
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Fastly.OpenApiClient" Version="11.0.125" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Fastly.OpenApiClient" Version="11.0.125" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Fastly.OpenApiClient" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Fastly.OpenApiClient --version 11.0.125
                    
#r "nuget: Soenneker.Fastly.OpenApiClient, 11.0.125"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Fastly.OpenApiClient@11.0.125
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Fastly.OpenApiClient&version=11.0.125
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Fastly.OpenApiClient&version=11.0.125
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Fastly.OpenApiClient

A Kiota-generated .NET client for the Fastly API.

Installation

dotnet add package Soenneker.Fastly.OpenApiClient

Create a client

using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.Fastly.OpenApiClient;

var httpClient = new HttpClient
{
    BaseAddress = new Uri("https://api.fastly.com/")
};
httpClient.DefaultRequestHeaders.Add("Fastly-Key", apiToken);

var adapter = new HttpClientRequestAdapter(
    new AnonymousAuthenticationProvider(),
    httpClient: httpClient);

var client = new FastlyOpenApiClient(adapter);

The HTTP client supplies authentication, so the Kiota adapter uses AnonymousAuthenticationProvider to avoid adding a second authorization mechanism.

Make a request

var currentUser = await client.Current_user.GetAsync(
    cancellationToken: cancellationToken);

The generated surface follows Fastly's endpoint groups, including Service, Purge, Stats, Tls, and Tokens. Request and response types live under Soenneker.Fastly.OpenApiClient.Models.

The source is generated. Put custom construction and application behavior outside this package so regeneration does not overwrite it. Soenneker.Fastly.OpenApiClientUtil provides cached client construction for applications using service registration.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Fastly.OpenApiClient:

Package Downloads
Soenneker.Fastly.OpenApiClientUtil

Provides lazy, cached access to the generated Fastly API client.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.125 54 12/4/2026
11.0.123 195 12/1/2026
11.0.122 138 11/30/2026
11.0.121 161 11/20/2026
11.0.120 122 11/19/2026
11.0.119 131 11/18/2026
11.0.118 93 11/18/2026
11.0.117 140 11/18/2026
11.0.116 106 11/17/2026
11.0.115 112 11/17/2026
11.0.114 94 11/17/2026
11.0.113 137 11/14/2026
11.0.112 123 11/11/2026
11.0.111 121 11/10/2026
11.0.110 117 11/3/2026
11.0.109 156 11/3/2026
11.0.108 117 11/2/2026
11.0.107 115 11/2/2026
11.0.106 119 10/31/2026
11.0.105 128 10/31/2026
Loading failed

Update Soenneker.Fastly.OpenApiClient