Microsoft.AVS.Management/samples/README.md

739 B

Execute AVS commandlet via .NET SDK

Minimal sample that demonstrates executing AVS Run Command commandlet via .NET SDK.

Running the sample

Pre-requisites

  1. .NET SDK 5.x
  2. az CLI if intending to impersonate the current user*
  3. Edit local.settings.json and provide the details of your AVS cloud
  4. Optional: edit Program.cs to provide arguments for your commandlet.

*NOTE: See the docs for TokenCredential for details.

Use az CLI to login or setup the environment variables as required then execute the sample.