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 96 11/18/2024
2.2.204 94 10/29/2024
2.2.202 82 10/29/2024
2.1.196 79 10/29/2024
2.1.193 89 10/29/2024
2.1.190 109 10/26/2024
2.0.174 97 10/25/2024
2.0.133 90 10/25/2024
2.0.132 89 10/24/2024
2.0.131 85 10/24/2024
2.0.130 79 10/24/2024
2.0.129 89 10/24/2024
2.0.128 94 10/24/2024
2.0.127 96 10/23/2024
2.0.126 89 10/11/2024
2.0.125 86 10/11/2024
2.0.124 87 10/11/2024
2.0.123 92 10/11/2024
2.0.122 91 10/11/2024
2.0.121 93 10/11/2024
2.0.120 96 10/11/2024
2.0.119 100 10/11/2024
2.0.118 100 10/11/2024
2.0.117 95 10/10/2024
2.0.115 93 10/10/2024
2.0.113 91 10/6/2024
2.0.112 266 8/22/2024
1.0.111 182 5/14/2024
1.0.110 98 5/13/2024
1.0.109 100 5/13/2024
1.0.108 126 5/6/2024
1.0.107 110 5/6/2024
1.0.106 134 5/6/2024
1.0.105 116 5/4/2024
1.0.102 127 5/4/2024
1.0.101 120 4/26/2024
1.0.100 119 4/22/2024
1.0.99 113 4/21/2024
1.0.98 117 4/21/2024
1.0.97 112 4/19/2024
1.0.96 136 4/18/2024
1.0.95 115 4/18/2024
1.0.94 166 2/13/2024
1.0.93 127 2/10/2024
1.0.91 108 2/10/2024
1.0.90 118 2/10/2024
1.0.89 208 2/3/2024
1.0.86 113 2/1/2024
1.0.85 110 1/30/2024
1.0.83 161 1/27/2024
1.0.82 205 1/5/2024
1.0.81 265 1/3/2024
1.0.80 135 12/30/2023
1.0.79 137 12/30/2023
1.0.78 127 12/30/2023
1.0.77 133 12/28/2023
1.0.76 138 12/27/2023
1.0.75 173 12/9/2023
1.0.73 183 11/30/2023
1.0.72 155 11/27/2023
1.0.71 145 11/27/2023
1.0.70 153 11/27/2023
1.0.69 141 11/27/2023
1.0.67 163 11/25/2023
1.0.66 149 11/25/2023
1.0.65 151 11/23/2023
1.0.64 156 11/23/2023
1.0.62 153 11/18/2023
1.0.61 140 11/18/2023
1.0.60 161 11/17/2023
1.0.59 161 11/16/2023
1.0.58 172 11/13/2023
1.0.57 138 11/12/2023
1.0.56 139 11/12/2023
1.0.54 157 11/7/2023
1.0.53 156 11/4/2023
1.0.52 151 10/29/2023
1.0.51 142 10/29/2023
1.0.50 134 10/29/2023
1.0.48 170 10/29/2023

Changed configuration API