MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.29k stars 21.47k forks source link

Get web service url and key programmatically #37836

Closed tobyloki closed 5 years ago

tobyloki commented 5 years ago

I've been following the portal method of retrieving a machine learning web service url and key through the portal, according to https://docs.microsoft.com/en-us/azure/machine-learning/studio/consume-web-services. However, I want to know if there was a way to do this programmatically like HTTTP requests or Powershell commands?


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

KetanChawda-MSFT commented 5 years ago

@gearsmotion789 Thank you for your feedback! We will review and provide an update as appropriate.

RohitMungi-MSFT commented 5 years ago

@gearsmotion789 Here are the reference commands to get the keys of the web service.

An example is mentioned below. image

Future releases of powershell might change this but it would be documented in the release notes.

We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply. We will gladly continue the discussion and we will reopen the issue.

tobyloki commented 5 years ago

@RohitMungi-MSFT Thanks. So how can I also retrieve the Request-Response URL as well? It looks like this: https://ussouthcentral.services.azureml.net/subscriptions/6c7208e467ff4407b0e11b63b78beab0/services/0a76a5022e79468e8882424e0c1780df/execute?api-version=2.0&format=swagger

tobyloki commented 5 years ago

@RohitMungi-MSFT Should I open a new thread for this follow-up question?