Skip to content

pableess/Bleess.Azure.VM.Metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

serviceCollection.AddAzureVmMetadataClient();

Once registered, instances of IVmMetadataClient can be injected as a dependency.