b95b565508 | ||
---|---|---|
.. | ||
AVSScripting.csproj | ||
Program.cs | ||
README.md | ||
local.settings.json |
README.md
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.