Reputation: 1696
I am new with Azure - I have account , from java SDK I can create virtual machine , but I prefer to use the REST API, however i don't know from where to get the subscription -id. How do I retrieve the Subscription ID programmatically?
Upvotes: 0
Views: 1346
Reputation: 136366
Even though you can find the subscription id programmatically but easier way for you to find it is by logging into Azure Portal. Here's how you can find it if you login into preview portal (https://portal.azure.com):
Subscriptions
menu item in the left hand menu bar.Upvotes: 2