Itmo.Dev.Platform.YandexCloud 2.0.120

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Itmo.Dev.Platform.YandexCloud --version 2.0.120                
NuGet\Install-Package Itmo.Dev.Platform.YandexCloud -Version 2.0.120                
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.0.120" />                
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.0.120                
#r "nuget: Itmo.Dev.Platform.YandexCloud, 2.0.120"                
#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.0.120

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

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. 
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 65 11/18/2024
2.2.204 72 10/29/2024
2.2.202 66 10/29/2024
2.1.196 63 10/29/2024
2.1.193 73 10/29/2024
2.1.190 85 10/26/2024
2.0.174 75 10/25/2024
2.0.133 71 10/25/2024
2.0.132 75 10/24/2024
2.0.131 68 10/24/2024
2.0.130 64 10/24/2024
2.0.129 69 10/24/2024
2.0.128 78 10/24/2024
2.0.127 79 10/23/2024
2.0.126 76 10/11/2024
2.0.125 75 10/11/2024
2.0.124 72 10/11/2024
2.0.123 77 10/11/2024
2.0.122 76 10/11/2024
2.0.121 80 10/11/2024
2.0.120 82 10/11/2024
2.0.119 84 10/11/2024
2.0.118 84 10/11/2024
2.0.117 83 10/10/2024
2.0.115 83 10/10/2024
2.0.113 79 10/6/2024
2.0.112 254 8/22/2024
1.0.111 171 5/14/2024
1.0.110 89 5/13/2024
1.0.109 89 5/13/2024
1.0.108 117 5/6/2024
1.0.107 101 5/6/2024
1.0.106 125 5/6/2024
1.0.105 105 5/4/2024
1.0.102 113 5/4/2024
1.0.101 111 4/26/2024
1.0.100 112 4/22/2024
1.0.99 106 4/21/2024
1.0.98 108 4/21/2024
1.0.97 105 4/19/2024
1.0.96 127 4/18/2024
1.0.95 108 4/18/2024
1.0.94 155 2/13/2024
1.0.93 116 2/10/2024
1.0.91 97 2/10/2024
1.0.90 105 2/10/2024
1.0.89 199 2/3/2024
1.0.86 106 2/1/2024
1.0.85 103 1/30/2024
1.0.83 154 1/27/2024
1.0.82 198 1/5/2024
1.0.81 258 1/3/2024
1.0.80 128 12/30/2023
1.0.79 130 12/30/2023
1.0.78 120 12/30/2023
1.0.77 126 12/28/2023
1.0.76 131 12/27/2023
1.0.75 164 12/9/2023
1.0.73 176 11/30/2023
1.0.72 148 11/27/2023
1.0.71 138 11/27/2023
1.0.70 146 11/27/2023
1.0.69 132 11/27/2023
1.0.67 156 11/25/2023
1.0.66 142 11/25/2023
1.0.65 144 11/23/2023
1.0.64 149 11/23/2023
1.0.62 146 11/18/2023
1.0.61 133 11/18/2023
1.0.60 154 11/17/2023
1.0.59 152 11/16/2023
1.0.58 161 11/13/2023
1.0.57 131 11/12/2023
1.0.56 130 11/12/2023
1.0.54 150 11/7/2023
1.0.53 149 11/4/2023
1.0.52 144 10/29/2023
1.0.51 133 10/29/2023
1.0.50 127 10/29/2023
1.0.48 159 10/29/2023

Changed configuration API