Questions tagged [azure-rest-api]
320 questions
0
votes
1 answer
Azure REST API retrieve GPU memory size
I am trying to make a table with all of the GPU enabled Azure VM SKUs, including all the corresponding VM stats (vCPU, RAM, GPU sizes, etc.), and I decided to use the Azure Rest API to build it for me. I'm using this API to get the information:…

joe_coolish
- 7,201
- 13
- 64
- 111
0
votes
1 answer
ADF pagination rule to get total row count from rest API and add as end condition
I have created a restAPI connection with base url:https://heineken-dev.collibra.com/rest/2.0/assets?offset={offset}
and in copy Data activity source pagination rules , I have added as below.
but in the restAPI result set: total: 14518 which is the…

Sukanya
- 33
- 1
- 1
- 9
0
votes
0 answers
why $filter didn't work in consumption usage details Rest API?
Why consumption rest api parameter $filter didn't work? When I use this parameter expression $filter = properties/reservationId eq 'xxxx' but return result didn't contain reservationId ='xxxx'. here is my get request…

Sanyukta Agrawal
- 45
- 7
0
votes
1 answer
Kusto Data Ingestion using POST Rest Api call in Powershell
As part of a POC, I need to ingest data into Kusto table using RestAPI using PowerShell.
I came up with below lines of script after referencing Kusto Streaming Ingestion Doc
However, Script just runs infinitely doing nothing and is never completing.…

Vinny
- 461
- 1
- 5
- 18
0
votes
1 answer
How do you turn Managed Identity on an Azure Automation Account with either the cli or rest
We have many scripts that manage our Azure environment. They are PowerShell scripts that use the az CLI to manipulate Azure.
We have Runbooks that use 'Run-as' accounts and we want to switch them to 'Managed Identity'
The portal allows you to click…

Chris Hayes
- 3,876
- 7
- 42
- 72
0
votes
1 answer
Rest API to get template files for the API connection on the logic app
I want to get the template files for the API connection by clicking the Export template button on the logic app:
This is one of my API connection for my logic App. When you select it, then in the left nav bar there is a button "Export template". We…

Joy
- 1,171
- 9
- 15
0
votes
2 answers
How to call the Azure REST API inside of .Net Core 6 API
I have a service principal which has access to all tenants and its resources in my organization.
The client_id client_secret and tenant_id are used in a .Net Core 6 API and following function is used to get an access token of that service…

Maido47
- 43
- 1
- 8
0
votes
1 answer
How to convert a blob to Excel file using a REST API from Azure storage in Java
I have a blob file sitting in the Azure Storage container. I have to convert that to a excel and retrieve using REST API. Is this possible?
I heard this is possible by using Azure storage REST API. I tried with below it didn't work
Method: POST URL:…

Chris_dev
- 17
- 5
0
votes
0 answers
How can I get the "versioning of blobs" setting for a storage account via Azure Python SDK or REST API
I want to be able to programmatically find out if versioning of blobs is enabled on a storage account. Via the web console I can see this in Data Protection -> Tracking. I cannot find any reference to how to get (or set) this setting using the…

Dale
- 26
- 3
0
votes
1 answer
Azure Devops Rest API - azure AD service principal
I need to prepare automation for checking some Azure Devops object details like: list of az devops projects, list of projects, details about pipelines etc. I have powershell code prepared, I have SPN created in Azure AD, I grant API permissions for…

tester81
- 533
- 2
- 9
- 28
0
votes
1 answer
Azure DevOps REST Interface - Can't get all builds with Builds LIST
I am trying to make a REST call to get all builds of a certain definition. The problem is, I don't think it's getting the deleted items even though I'm asking for them.
There is no ContinuationToken in the response before someone asks, this seems…

Cole Flohr
- 11
- 2
0
votes
2 answers
Azure Consumption API Parameters
This is a segment of Azure consumption API result for my azure account. I am stuck in the understanding of "usageQuantity": 0.000000100582838 parameter(whether it's a CPU ultilization or something else). Is there a brief explanation of this…

Chauhan240
- 1
- 3
0
votes
1 answer
Delete document from CosmosDB using Azure Data Factory
My Azure Data Factory has private endpoint connection to CosmosDB and authenticates using System Assigned Managed Identity. The goal is to delete document from CosmosDB using https://learn.microsoft.com/en-us/rest/api/cosmos-db/delete-a-document…

Berto
- 5
- 1
0
votes
2 answers
Is there a way to create an Azure AD B2C instance using C#?
I have an Azure based application that requires a bunch of Azure resources (app services + plans, SQL servers, storage accounts, and an Azure AD B2C instance) per instance of the application.
So I am making a tool that automatically generates a new…

iamhungry129
- 144
- 8
0
votes
1 answer
Specifying SAS Token Authorization header with Azure REST API
There are tons of posts on SO about how the Authorization header is not needed when using a SAS token as part of the URI. Those posts are correct, and the following code works:
Dim oRequest
Dim sURL
Dim SASToken
SASToken =…

Tim
- 2,701
- 3
- 26
- 47