CarbonOptimization 1.0.0-alpha.1
dotnet add package CarbonOptimization --version 1.0.0-alpha.1
NuGet\Install-Package CarbonOptimization -Version 1.0.0-alpha.1
<PackageReference Include="CarbonOptimization" Version="1.0.0-alpha.1" />
paket add CarbonOptimization --version 1.0.0-alpha.1
#r "nuget: CarbonOptimization, 1.0.0-alpha.1"
// Install CarbonOptimization as a Cake Addin #addin nuget:?package=CarbonOptimization&version=1.0.0-alpha.1&prerelease // Install CarbonOptimization as a Cake Tool #tool nuget:?package=CarbonOptimization&version=1.0.0-alpha.1&prerelease
CarbonOptimization
This is a client library to interact with the Carbon Optimization API on Azure. It provides an easy way to retrieve carbon emission data from Azure resources.
Installation
You can install the package from NuGet:
dotnet add package CarbonOptimization
Usage
Here's an example on how to use the CarbonOptimizationClient
:
var client = new CarbonOptimizationClient(options); var dateRange = await client.GetCarbonEmissionDataAvailableDateRange();
Features
- Get the available date range for carbon emission data.
- Get carbon emission reports based on specific query parameters.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Options (>= 8.0.0)
- Microsoft.Identity.Client (>= 4.59.0)
- Newtonsoft.Json (>= 13.0.3)
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 |
---|---|---|
1.0.0-alpha.1 | 78 | 4/5/2024 |