Difference between revisions of "Azure by yaml"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
azure python sdk | azure python sdk | ||
https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/resources/azure-mgmt-resource/tests/test_mgmt_resource.py | https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/resources/azure-mgmt-resource/tests/test_mgmt_resource.py | ||
+ | |||
+ | https://superuser.com/questions/1598479/how-do-i-check-if-a-vm-already-exists-via-azure-cli | ||
+ | |||
+ | |||
+ | ``` | ||
+ | az vm list -g myRG -o tsv --query "[?name=='example-name'].name" | ||
+ | ``` |
Latest revision as of 00:04, 16 February 2022
https://docs.microsoft.com/en-us/azure/developer/python/azure-sdk-example-virtual-machines?tabs=cmd
azure python sdk https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/resources/azure-mgmt-resource/tests/test_mgmt_resource.py
https://superuser.com/questions/1598479/how-do-i-check-if-a-vm-already-exists-via-azure-cli
az vm list -g myRG -o tsv --query "[?name=='example-name'].name"