Itmo.Dev.Platform.YandexCloud 2.2.384

Prefix Reserved
dotnet add package Itmo.Dev.Platform.YandexCloud --version 2.2.384
                    
NuGet\Install-Package Itmo.Dev.Platform.YandexCloud -Version 2.2.384
                    
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="Itmo.Dev.Platform.YandexCloud" Version="2.2.384" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Itmo.Dev.Platform.YandexCloud" Version="2.2.384" />
                    
Directory.Packages.props
<PackageReference Include="Itmo.Dev.Platform.YandexCloud" />
                    
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 Itmo.Dev.Platform.YandexCloud --version 2.2.384
                    
#r "nuget: Itmo.Dev.Platform.YandexCloud, 2.2.384"
                    
#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 Itmo.Dev.Platform.YandexCloud@2.2.384
                    
#: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=Itmo.Dev.Platform.YandexCloud&version=2.2.384
                    
Install as a Cake Addin
#tool nuget:?package=Itmo.Dev.Platform.YandexCloud&version=2.2.384
                    
Install as a Cake Tool

Itmo.Dev.Platform.YandexCloud

Platform extensions for working with YandexCloud

Use AddPlatformYandexCloudAsync on your host builder to register library.

Authorization

Configure a method of authorization to YandexCloud API.
If no explicit method is configured, null method will be used, all calls to YandexCloud API will fail.

Configuration

{
  "Platform": {
    "YandexCloud": {
      "Authorization": {
        "VirtualMachine": {
          "IsEnabled": bool
          "ServiceUri": string,
          "MinRemainingTokenLifetime": timespan
        }
      }
    }
  }
}

see MSDN for timespan string formats

Path Description
Platform:YandexCloud:Authorization:VirtualMachine:IsEnabled Enables authorization through service account bound to VM
Platform:YandexCloud:Authorization:VirtualMachine:ServiceUri YandexCloud's internal service uri for accessing VM info (default: http://169.254.169.254/)
Platform:YandexCloud:Authorization:VirtualMachine:MinRemainingTokenLifetime Minimal remaining lifetime of token when it is retrieved for any operation, if token will expire prior to DateTimeOffset.UtcNow + TimeSpan.FromSeconds(threshold), the new token will be generated

LockBox

Adds a configuration provider that loads values from YandexCloud's Lockbox.

Configuration

Configuration parameters:

{
  "Platform": {
    "YandexCloud": {
      "LockBox": {
        "IsEnabled": bool,
        "SecretId": string,
        "LockboxOptionsPollingDelay": timespan
      }
    }
  }
}

see MSDN for timespan string formats

Path Description
Platform:YandexCloud:Lockbox:IsEnabled Enables Lockbox
Platform:YandexCloud:Lockbox:SecretId Id of Lockbox secret, from which configuration will be loaded
Platform:YandexCloud:Lockbox:LockboxOptionsPollingDelay An interval of configuration reload
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.2.384 82 4/11/2026
2.2.364 113 3/11/2026
2.2.356 94 3/2/2026
2.2.352 100 2/28/2026
2.2.350 93 2/28/2026
2.2.348 93 2/28/2026
2.2.334 106 2/14/2026
2.2.332 101 2/14/2026
2.2.330 94 2/14/2026
2.2.328 105 2/14/2026
2.2.324 192 12/13/2025
2.2.318 185 11/16/2025
2.2.308 219 10/9/2025
2.2.298 215 10/5/2025
2.2.296 236 10/5/2025
2.2.288 207 5/17/2025
2.2.275 172 5/10/2025
2.2.269 175 5/10/2025
2.2.261 194 2/16/2025
2.2.255 191 2/6/2025
Loading failed

Changed configuration API