Itmo.Dev.Platform.YandexCloud 2.2.350

Prefix Reserved
dotnet add package Itmo.Dev.Platform.YandexCloud --version 2.2.350
                    
NuGet\Install-Package Itmo.Dev.Platform.YandexCloud -Version 2.2.350
                    
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.350" />
                    
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.350" />
                    
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.350
                    
#r "nuget: Itmo.Dev.Platform.YandexCloud, 2.2.350"
                    
#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.350
                    
#: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.350
                    
Install as a Cake Addin
#tool nuget:?package=Itmo.Dev.Platform.YandexCloud&version=2.2.350
                    
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.350 0 2/28/2026
2.2.348 0 2/28/2026
2.2.334 93 2/14/2026
2.2.332 87 2/14/2026
2.2.330 81 2/14/2026
2.2.328 90 2/14/2026
2.2.324 177 12/13/2025
2.2.318 171 11/16/2025
2.2.308 208 10/9/2025
2.2.298 206 10/5/2025
2.2.296 221 10/5/2025
2.2.288 191 5/17/2025
2.2.275 160 5/10/2025
2.2.269 162 5/10/2025
2.2.261 184 2/16/2025
2.2.255 181 2/6/2025
2.2.234 200 11/18/2024
2.2.204 192 10/29/2024
2.2.202 184 10/29/2024
2.1.196 194 10/29/2024
Loading failed

Changed configuration API