This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.53k
stars
4.82k
forks
source link
[QUERY] How to re-invoke a managed RunCommand that has already been created #47307
Library name and version
Azure.ResourceManager.Compute 1.6.0
Query/Question
Ive created a named Managed RunCommand with VirtualMachineRunCommandCollection.CreateOrUpdateAsync().
It automatically executed the command on create, and gives output when checked with GetAsync(..., expand: "InstanceView", ...)
I've read the output of the command, now I want to call the command again and have it be re-invoked on the server and output updated.
How can I do this? running CreateOrUpdateAsync again does not re-execute the command
Environment
Linux Ubuntu 20.04 Azure VM