c# - Azure Resource Manager Deployment Name -


i want start azure vm attached resource group programmatically.

however, computemanagementclient.virtualmachines.restart requires "deploymentname" parameter, cannot find in new portal. have clue deploymentname can found?

as know, have 2 types of libraries management our azure vm, have install these 2 libraries in console application following screenshoot: enter image description here

where deploymentname can found?

enter image description here in second library (microsoft.windowsazure.management.compute), can control azure vm(classic). , deployment name cloud service deployment name. can find in azure portal. cloud service (classic) -> specific cloud service (the same name azure vm) -> settings -> deployment name

if create vm under resource group, please use first library (microsoft.azure.management.computer). in library, need provide resource group name , azure vm name, see detailed here:

enter image description here


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -