739 B
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
- .NET SDK 5.x
az
CLI if intending to impersonate the current user*- Edit
local.settings.json
and provide the details of your AVS cloud - 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.