Questions tagged [azure-fluent-api]

29 questions
3
votes
1 answer

conflict between Azure.Fluent.Management and Azure.Storage.Blobs packages?

In my project I had installed the Microsoft.Azure.Management.Fluent package (version 1.27) to do resource management for my azure subscription. My connection object looks like this: AzureCredentials credentials = GenerateCredentials(); // custom…
CMorgan
  • 645
  • 2
  • 11
  • 33
2
votes
1 answer

How to Autheticate Azure Api from an Asp.Net Core app using Current logged in User

I have an App hosted in Azure using Azure AD Authentication. I want the the current logged in user to be used to be used to manage Azure resources. I want this to be simple for the user. If the Signed In account is an Azure management account, I…
jlo-gmail
  • 4,453
  • 3
  • 37
  • 64
2
votes
2 answers

How to get the outputResources of a deployment using the fluent Resource Manager SDK?

When using the GET Deployments endpoint of the Azure REST API, it's possible to get details of a given deployment including the outputResources which lists the actual resources created from an ARM template deployment Unfortunately, I can't seem to…
chivano
  • 603
  • 1
  • 5
  • 13
2
votes
1 answer

How To Set Azure Container Instance Managed Service Identity Arguments With .Net Fluent SDK

Creating Azure Container Instance using azure-cli, I can specify a resource id of a managed identity as a parameter of --assigned-identity Managed Service Identity Arguments --assign-identity : Space-separated list of assigned…
1
vote
1 answer

How to get Azure Storage Account Key (connectionString) using azure .net sdk or fluent API?

I want get Azure Storage Account Key (connectionString) using azure .NET SDK or fluent API.
DnyaneshSurya
  • 187
  • 1
  • 1
  • 14
1
vote
1 answer

List all file share from storage account using azure .net SDK or Fluent API?

I want to show all file share from storage account. I have storage account dropdown so whenever user will select particular storage account name i want to fetch all file share name associated with selected storage account. I want any Fluent API or…
DnyaneshSurya
  • 187
  • 1
  • 1
  • 14
1
vote
1 answer

Restrict access to Azure KeyVault using Fluent

I need to restrict access to the Key Vault at the time it is created. I am creating through the Fluent sdk, where I can create the KeyVault and define Tags and Resource Group. Note: with powershell I can perform the operation using the command:…
1
vote
1 answer

Does Azure have a sandbox for App Service Domain and SSL testing?

I am currently using Microsoft.Azure.Management.Fluent and direct RESTApi calls to automate some of my application deployment on Azure. Prior to now, whenever I have needed to test some API I was able to use my production environment and simply…
Maxim Gershkovich
  • 45,951
  • 44
  • 147
  • 243
1
vote
1 answer

Track asynchronous Azure operations using the fluent API

I know you can track normal operations using the standard API: https://learn.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-async-operations However I was wondering if there was a known way to utilize the Fluent Azure Management…
1
vote
1 answer

Unable to get storage account key with Azure Fluent

I created a storage account with Azure Fluent SDK. But after I created the storage account, I wanted to get the name and key to build the connection string that I can use to access the storage account. The problem is that the 'Key' property is a…
Keisha W
  • 686
  • 6
  • 17
1
vote
1 answer

Azure Public facing Loadbalancers

I want to list all loadbalancers in Azure which have public IP address but I get only a subset and not the entire result. var credentials = SdkContext.AzureCredentialsFactory .FromServicePrincipal(clientId,…
Arindam
  • 100
  • 8
1
vote
2 answers

Azure .NET API - MissingMethodException

I've a problem since many days. I'm using the Azure.Fluent package in my program and I must to create a ResourceGroup, but when I create it or list themw, I got the MissingMethodsException and I don't know why. And I've never founded any solution to…
0
votes
1 answer

Microsoft.Azure.OperationalInsights returns 'Forbidden' message for service principle

I am trying to read insights of a resource in azure. I am getting the error as: Operation returned an invalid status code 'Forbidden' The service principle has been given 'Log Analytics Reader' role on the subscription of the…
0
votes
1 answer

How to create Azure Monitor - Alerts for virtual machine using Azure .Net SDK or Powershell scripts

I want to create Azure Monitor - Alerts for virtual machine disk utilization, CPU usage etc. So Is there any way or any Azure .net sdk which will help me on this.
1
2