https://github.com/pableess/bleess.azure.vm.metadata
Strongly typed C# client for Azure VM instance metadata service
https://github.com/pableess/bleess.azure.vm.metadata
azure azure-instance-metadata azure-metadata azure-scheduled-events imds virtualmachine
Last synced: 8 months ago
JSON representation
Strongly typed C# client for Azure VM instance metadata service
- Host: GitHub
- URL: https://github.com/pableess/bleess.azure.vm.metadata
- Owner: pableess
- License: mit
- Created: 2021-03-02T15:47:28.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-02-01T17:44:45.000Z (about 3 years ago)
- Last Synced: 2025-05-27T16:52:01.274Z (9 months ago)
- Topics: azure, azure-instance-metadata, azure-metadata, azure-scheduled-events, imds, virtualmachine
- Language: C#
- Homepage:
- Size: 45.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bleess.Azure.VM.Metadata
Strongly typed dotnet client for Azure VM instance metadata service
See MS documentation on VM metadata and scheduled events
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/instance-metadata-service
## Features
- Query Azure VM Metadata instance service (Instance, Attested, ScheduledEvents)
- Start scheduled events
- Validation of attested metadata
## Usage
Add the nuget package Bleess.Azure.VM.Metadata
This package is meant to be used with Microsoft.Extensions.DependencyInjection
```csharp
serviceCollection.AddAzureVmMetadataClient();
```
Once registered, instances of IVmMetadataClient can be injected as a dependency.