Itmo.Dev.Platform.YandexCloud 2.2.234

Prefix Reserved
dotnet add package Itmo.Dev.Platform.YandexCloud --version 2.2.234                
NuGet\Install-Package Itmo.Dev.Platform.YandexCloud -Version 2.2.234                
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.234" />                
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.234                
#r "nuget: Itmo.Dev.Platform.YandexCloud, 2.2.234"                
#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.234

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

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.234 92 11/18/2024
2.2.204 92 10/29/2024
2.2.202 80 10/29/2024
2.1.196 75 10/29/2024
2.1.193 87 10/29/2024
2.1.190 107 10/26/2024
2.0.174 89 10/25/2024
2.0.133 87 10/25/2024
2.0.132 87 10/24/2024
2.0.131 81 10/24/2024
2.0.130 77 10/24/2024
2.0.129 85 10/24/2024
2.0.128 90 10/24/2024
2.0.127 94 10/23/2024
2.0.126 85 10/11/2024
2.0.125 84 10/11/2024
2.0.124 85 10/11/2024
2.0.123 90 10/11/2024
2.0.122 85 10/11/2024
2.0.121 91 10/11/2024
2.0.120 94 10/11/2024
2.0.119 98 10/11/2024
2.0.118 94 10/11/2024
2.0.117 93 10/10/2024
2.0.115 91 10/10/2024
2.0.113 89 10/6/2024
2.0.112 266 8/22/2024
1.0.111 181 5/14/2024
1.0.110 97 5/13/2024
1.0.109 99 5/13/2024
1.0.108 125 5/6/2024
1.0.107 109 5/6/2024
1.0.106 133 5/6/2024
1.0.105 115 5/4/2024
1.0.102 126 5/4/2024
1.0.101 119 4/26/2024
1.0.100 118 4/22/2024
1.0.99 112 4/21/2024
1.0.98 116 4/21/2024
1.0.97 111 4/19/2024
1.0.96 135 4/18/2024
1.0.95 114 4/18/2024
1.0.94 165 2/13/2024
1.0.93 126 2/10/2024
1.0.91 107 2/10/2024
1.0.90 117 2/10/2024
1.0.89 205 2/3/2024
1.0.86 112 2/1/2024
1.0.85 109 1/30/2024
1.0.83 160 1/27/2024
1.0.82 204 1/5/2024
1.0.81 264 1/3/2024
1.0.80 134 12/30/2023
1.0.79 136 12/30/2023
1.0.78 126 12/30/2023
1.0.77 132 12/28/2023
1.0.76 137 12/27/2023
1.0.75 172 12/9/2023
1.0.73 182 11/30/2023
1.0.72 154 11/27/2023
1.0.71 144 11/27/2023
1.0.70 152 11/27/2023
1.0.69 138 11/27/2023
1.0.67 162 11/25/2023
1.0.66 148 11/25/2023
1.0.65 150 11/23/2023
1.0.64 155 11/23/2023
1.0.62 152 11/18/2023
1.0.61 139 11/18/2023
1.0.60 160 11/17/2023
1.0.59 160 11/16/2023
1.0.58 169 11/13/2023
1.0.57 137 11/12/2023
1.0.56 138 11/12/2023
1.0.54 156 11/7/2023
1.0.53 155 11/4/2023
1.0.52 150 10/29/2023
1.0.51 139 10/29/2023
1.0.50 133 10/29/2023
1.0.48 169 10/29/2023

Changed configuration API