Questions tagged [azure-rest-api]

185 questions
0
votes
1 answer

Azure resource management api retrieves only current tenants

I have a Microsoft account. I have a subscription which belongs to, say, tenant1 (AD1). I create another active directory (say, AD2), but I don't move the current subscription to AD2. I can create users in both active directories, make them guests…
amplifier
  • 1,521
  • 1
  • 16
  • 34
0
votes
1 answer

Need to understand Run command in Azure via REST API

I was following this documentation and trying to run a simple shell script in a vm using this. https://docs.microsoft.com/en-us/rest/api/compute/virtual%20machines%20run%20commands/runcommand#runcommandinputparameter But what needs to be the content…
0
votes
1 answer

Any difference between recoverable databases and restorable dropped servers?

I was looking at Azure's REST API docs and I couldn't find any major differences between the two, as both refer to databases which can be "brought back to life" after some sort of failure or deletion of the…
Omer
  • 11
  • 3
0
votes
1 answer

How do I filter returned resource groups by role definitions?

I'm trying to make a GET request to list all of the available resource groups by the authenticated user's Role Assignment; in this case, "contributor". I've looked at listing role assignments but I can't seem to use "contributor" as a filter when…
Jamie
  • 329
  • 2
  • 16
0
votes
2 answers

Need to get azure automation runbook error using rest api call

I am using Rest api method to start runbook. I am getting output after execution of runbook using rest API but not getting errors with that API i am using to get output is GET…
0
votes
1 answer

event hub capture data backlog

I would like to capture the metric for and EventHub, capture data backlog . Is there a rest api to get the reault . I am developing a .Net application to monitor azure resource.
jubi
  • 369
  • 1
  • 7
  • 22
0
votes
1 answer

How to give to other users 'Can Manage' permissions on Databricks clusters with a script/REST API?

I would like to create clusters in databricks workspace and give 'Can Manage' permissions to some users. How could I do this with REST API or some other script? This is how I create clusters in python (can be done the same with cURL): response =…
Mirit
  • 23
  • 8
0
votes
2 answers

Fetch all the Queries under a azure projects using REST call

I am trying to fetch all the available queries under a project using the below REST call https://docs.microsoft.com/en-us/rest/api/azure/devops/wit/queries/list?view=azure-devops-rest-5.0#uri-parameters It needs a depth parameter to be passed if not…
Dah Sra
  • 2,493
  • 2
  • 22
  • 56
0
votes
3 answers

Azure REST Api to create classic deployment model storage account

I'm trying to create Azure storage account kind: Storage (classic) via REST APi. When I'm sending this request: PUT…
0
votes
1 answer

Not able to create a VM using azure Rest API

I am trying to create a VM using the azure Rest API. I am trying to call the REST Api through Postman. PUT…
Abhinav Sharma
  • 159
  • 1
  • 3
  • 17
0
votes
1 answer

List Cloud Service Classic use PowerShell and Azure Rest API

I Have a problem. Could you please help me view list Cloud Service Classic use PowerShell and Azure Rest API. When I used script for Web APP I show list Web APP, but when I used scrip for Cloud Service Classic I show error. # Variables $TenantId =…
0
votes
1 answer

Azure COSMOSDB metrics - HttpClientErrorException$BadRequest: 400 Bad Request - Failed to consume REST API

Azure CosmosDB - "Mongo Query Request Rate" Metrics I want to fetch. Microsoft provided URL works fine when I use postman. But if I use WebClient or RestTemplate, it throws…
0
votes
3 answers

Consuming Azure REST API in C# application shows no response

When I try a azure rest api url on azure docs post man, I am able to get a json which has all the resource groups. https://docs.microsoft.com/en-us/rest/api/resources/resourcegroups/list#code-try-0a link But I am trying it from a ASP.NET MVC Core…
0
votes
1 answer

How to access IP/hostname of my AAD/Application Insights app via Azure REST API request?

I have an application registered both in Application Insights and Azure Active Directory. So, I can send requests to the…
-1
votes
0 answers

Programmatically generating Azure Container Registry tokens & scope maps: REST API documentation / SDK available? (without using az cli token ...)

We are currently developing a cloud solution that requires us to programmatically generate Azure Container Registry (ACR) tokens and/or scope maps, without using the az cli (az acr token create ...). Since the feature is still in Preview, there is…
1 2 3
12
13