Itmo.Dev.Platform.YandexCloud 2.0.123

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.123                
NuGet\Install-Package Itmo.Dev.Platform.YandexCloud -Version 2.0.123                
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.123" />                
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.123                
#r "nuget: Itmo.Dev.Platform.YandexCloud, 2.0.123"                
#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.123

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

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 74 11/18/2024
2.2.204 76 10/29/2024
2.2.202 70 10/29/2024
2.1.196 67 10/29/2024
2.1.193 77 10/29/2024
2.1.190 88 10/26/2024
2.0.174 78 10/25/2024
2.0.133 74 10/25/2024
2.0.132 77 10/24/2024
2.0.131 70 10/24/2024
2.0.130 66 10/24/2024
2.0.129 71 10/24/2024
2.0.128 80 10/24/2024
2.0.127 81 10/23/2024
2.0.126 78 10/11/2024
2.0.125 77 10/11/2024
2.0.124 74 10/11/2024
2.0.123 79 10/11/2024
2.0.122 78 10/11/2024
2.0.121 82 10/11/2024
2.0.120 84 10/11/2024
2.0.119 86 10/11/2024
2.0.118 86 10/11/2024
2.0.117 85 10/10/2024
2.0.115 85 10/10/2024
2.0.113 81 10/6/2024
2.0.112 256 8/22/2024
1.0.111 173 5/14/2024
1.0.110 91 5/13/2024
1.0.109 93 5/13/2024
1.0.108 119 5/6/2024
1.0.107 103 5/6/2024
1.0.106 127 5/6/2024
1.0.105 107 5/4/2024
1.0.102 115 5/4/2024
1.0.101 113 4/26/2024
1.0.100 114 4/22/2024
1.0.99 108 4/21/2024
1.0.98 110 4/21/2024
1.0.97 107 4/19/2024
1.0.96 129 4/18/2024
1.0.95 110 4/18/2024
1.0.94 157 2/13/2024
1.0.93 118 2/10/2024
1.0.91 99 2/10/2024
1.0.90 109 2/10/2024
1.0.89 201 2/3/2024
1.0.86 108 2/1/2024
1.0.85 105 1/30/2024
1.0.83 156 1/27/2024
1.0.82 200 1/5/2024
1.0.81 260 1/3/2024
1.0.80 130 12/30/2023
1.0.79 132 12/30/2023
1.0.78 122 12/30/2023
1.0.77 128 12/28/2023
1.0.76 133 12/27/2023
1.0.75 166 12/9/2023
1.0.73 178 11/30/2023
1.0.72 150 11/27/2023
1.0.71 140 11/27/2023
1.0.70 148 11/27/2023
1.0.69 134 11/27/2023
1.0.67 158 11/25/2023
1.0.66 144 11/25/2023
1.0.65 146 11/23/2023
1.0.64 151 11/23/2023
1.0.62 148 11/18/2023
1.0.61 135 11/18/2023
1.0.60 156 11/17/2023
1.0.59 154 11/16/2023
1.0.58 163 11/13/2023
1.0.57 133 11/12/2023
1.0.56 134 11/12/2023
1.0.54 152 11/7/2023
1.0.53 151 11/4/2023
1.0.52 146 10/29/2023
1.0.51 135 10/29/2023
1.0.50 129 10/29/2023
1.0.48 161 10/29/2023

Changed configuration API