Skip to content

Instantly share code, notes, and snippets.

@cinek810
Created October 12, 2017 13:46
Show Gist options
  • Save cinek810/4b9af52955adcd6402651646f2b8e671 to your computer and use it in GitHub Desktop.
Save cinek810/4b9af52955adcd6402651646f2b8e671 to your computer and use it in GitHub Desktop.
[cinek@plkra-mas01 ~]$ az vm create -n MarcinStolarek-testVM4 --data-disk-sizes-gb 5 --image RedHat:RHEL:6.9:6.9.2017090105 --generate-ssh-keys -g MarcinStolarek-Test --subnet "/subscriptions/2acd5a86-da24-4bde-8f81-388f40143d4f/reso
urceGroups/MarcinStolarek-Test/providers/Microsoft.Network/virtualNetworks/VN1-Hybrid-HPCC-EMEA/subnets/subnet-1"
{
"fqdns": "",
"id": "/subscriptions/2acd5a86-da24-4bde-8f81-388f40143d4f/resourceGroups/MarcinStolarek-Test/providers/Microsoft.Compute/virtualMachines/MarcinStolarek-testVM4",
"location": "westeurope",
"macAddress": "00-0D-3A-2B-BB-74",
"powerState": "VM running",
"privateIpAddress": "10.0.0.5",
"publicIpAddress": "52.233.185.204",
"resourceGroup": "MarcinStolarek-Test",
"zones": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment