Questions tagged [azure-management-api]

Azure Management API encompasses all the REST APIs that are used to manage Azure services. It is not the same as Azure API Management which is a specific service on Azure.

224 questions
0
votes
1 answer

could not retrieve more than 30 workflow run details from Azure logic App Monitoring Rest Api

Iam creating one monitoring tool in C# winforms to get workflow run details(Success and failure count of runs) of Logic App. When iam using the below API call in httpclient i could get only 30 workflow run details. GET…
Arvind A
  • 77
  • 1
  • 10
0
votes
1 answer

Create Azure Service Bus policy with multiple claims in Azure Management libraries for .NET

I'm using the Azure Management libraries for .NET with Azure Service Bus. My objective is to create an Shared access policy with Send and Listen claims. I can do this in the Azure Portal. IServiceBusNamespace serviceBus = ... IBlank…
0
votes
1 answer

retrieve the storage usage for a Linux Virtual Machine using the Azure REST API

I try to get storage used for virtual machine. I just found endpoint that get total of storge GET…
0
votes
1 answer

How does Azure's DnsManagementClient work with MSI? (AzureServiceTokenProvider)

I'm trying to update a TXT record in azure. I'm doing this in my local VS2017 debugging environment, but MSI seems to "work" anyway, because it knows who I am. But the "GetAsync" call fails telling me I don't have permission. What am I doing…
Josh
  • 2,958
  • 3
  • 16
  • 27
0
votes
1 answer

Azure Management API fails to authenticate using ADAL

I am looking for a way to stop our Cloud Services in the development environment being billed during out of office time. The resources I found indicate that for a Cloud service stopped being billed when the deployment is removed. We want to download…
0
votes
1 answer

Azure API Management automation

I'm looking into automating the creation and configuration of an Azure API Management portal. My current plan is to use PowerShell for this, but I'm not sure if the PowerShell API supports everything that I need to do: Authenticate to Azure Create…
Mihai Dinculescu
  • 19,743
  • 8
  • 55
  • 70
0
votes
1 answer

azure key vault firewall settings using api

Is it possible to restrict an azure key vault's firewall to specific Ip's using c# code, the last thread i could find on the Microsoft forum was dated on august 2017 saying it's not possible
0
votes
1 answer

Restart a azure analysis service using api code

I am trying to figure out how we can restart an analysis server using C# code. I am trying to use the IServersOperations BeginSuspend and BeginResume methods but i couldn't figure out how to setup the Analysis Services Management api. Is there any…
0
votes
2 answers

Retrieving all the users in an Azure subscription

We have lot of references in the web to fetch the all AAD users but i need to fetch all the users from an Azure subscription. I have created an App in Azure active directory and added that App to the Subscription then used ClinetId and Client secret…
Avinash
  • 2,053
  • 2
  • 14
  • 32
0
votes
1 answer

How to get Azure Cloud Service details from App service via Code, .NET

Running the following code in Azure App service, which try to get details of a cloud service in the same Azure subscription, and get the exception about Certificate is is not associated with the subscription. Although, under the subscription blade,…
0
votes
1 answer

Azure Python SDK Authentication Error

I am trying to stop a virtual machine in the azure cloud using the azure-python-sdk. I am following this page https://github.com/Azure-Samples/virtual-machines-python-manage and I have created an Azure active directory application by following this…
0
votes
1 answer

Create Azure Load Balancer with Standard SKU using Fluent azure API

Using Azure Fluent API I need to create Load Balancer with Standard SKU. The option I get are azure.LoadBalancers.Define("").WithRegion(Region.USWest).WithNewResourceGroup().DefineInboundNatPool() There is no option to mentions SKU Basic or…
kumar
  • 8,207
  • 20
  • 85
  • 176
0
votes
1 answer

Azure remaining credit value from API

Whenever I log on the azure web portal i get a notification saying $xx.xx remaining credit. I would like to understand how I can retrieve this value using Azure API, az cli or Powershell. I have tried using the following as advised by the support…
0
votes
1 answer

Azure convert genericResourceInner

I'm trying to read all azure assets in all of our subscriptions by doing the following: 1. Connect to subscription 2. Load ResourceManagmentClient and run over all resources The type of each element is GenericResourceInner. I try to convert each of…
0
votes
1 answer

Runtime error while trying to create VM through Azure REST API

I've been following these instructions to create a VM on Azure with python. However Azure is returning an error: Runtime Error