Itmo.Dev.Platform.YandexCloud 2.2.261

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

// Install Itmo.Dev.Platform.YandexCloud as a Cake Tool
#tool nuget:?package=Itmo.Dev.Platform.YandexCloud&version=2.2.261                

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 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.  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. 
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.261 75 2/16/2025
2.2.255 78 2/6/2025
2.2.234 99 11/18/2024
2.2.204 96 10/29/2024
2.2.202 86 10/29/2024
2.1.196 81 10/29/2024
2.1.193 90 10/29/2024
2.1.190 110 10/26/2024
2.0.174 99 10/25/2024
2.0.133 91 10/25/2024
2.0.132 92 10/24/2024
2.0.131 89 10/24/2024
2.0.130 82 10/24/2024
2.0.129 91 10/24/2024
2.0.128 99 10/24/2024
2.0.127 98 10/23/2024
2.0.126 92 10/11/2024
2.0.125 89 10/11/2024
2.0.124 88 10/11/2024
2.0.123 94 10/11/2024
2.0.122 92 10/11/2024
2.0.121 94 10/11/2024
2.0.120 99 10/11/2024
2.0.119 102 10/11/2024
2.0.118 102 10/11/2024
2.0.117 96 10/10/2024
2.0.115 95 10/10/2024
2.0.113 93 10/6/2024
2.0.112 268 8/22/2024
1.0.111 183 5/14/2024
1.0.110 101 5/13/2024
1.0.109 101 5/13/2024
1.0.108 128 5/6/2024
1.0.107 112 5/6/2024
1.0.106 135 5/6/2024
1.0.105 119 5/4/2024
1.0.102 130 5/4/2024
1.0.101 120 4/26/2024
1.0.100 119 4/22/2024
1.0.99 114 4/21/2024
1.0.98 119 4/21/2024
1.0.97 113 4/19/2024
1.0.96 137 4/18/2024
1.0.95 116 4/18/2024
1.0.94 167 2/13/2024
1.0.93 129 2/10/2024
1.0.91 109 2/10/2024
1.0.90 119 2/10/2024
1.0.89 216 2/3/2024
1.0.86 114 2/1/2024
1.0.85 112 1/30/2024
1.0.83 163 1/27/2024
1.0.82 207 1/5/2024
1.0.81 269 1/3/2024
1.0.80 137 12/30/2023
1.0.79 139 12/30/2023
1.0.78 128 12/30/2023
1.0.77 135 12/28/2023
1.0.76 140 12/27/2023
1.0.75 175 12/9/2023
1.0.73 184 11/30/2023
1.0.72 157 11/27/2023
1.0.71 147 11/27/2023
1.0.70 154 11/27/2023
1.0.69 142 11/27/2023
1.0.67 164 11/25/2023
1.0.66 151 11/25/2023
1.0.65 152 11/23/2023
1.0.64 158 11/23/2023
1.0.62 155 11/18/2023
1.0.61 142 11/18/2023
1.0.60 164 11/17/2023
1.0.59 163 11/16/2023
1.0.58 173 11/13/2023
1.0.57 140 11/12/2023
1.0.56 141 11/12/2023
1.0.54 158 11/7/2023
1.0.53 158 11/4/2023
1.0.52 152 10/29/2023
1.0.51 143 10/29/2023
1.0.50 141 10/29/2023
1.0.48 172 10/29/2023

Changed configuration API