Questions tagged [azure-resource-manager]

Azure Resource Manager is a framework for deploying and managing applications across resources and managing groups of resources as single logical units on the Microsoft Azure cloud computing platform.

The tag is for ARM processors, use this tag for Azure Resource Manager.

2907 questions
0
votes
1 answer

GitHub Action command to create an Azure Resource Group from JSON ARM Template

I'm trying to create and delete an Azure Resource Group from the ARM JSON Template. I manually tried to create a Resource Group and saved the Template from the Azure Portal. Here is the Json version of the ARM template for the Resource Group: { …
0
votes
1 answer

How to check multiple conditions in ARM Template variables/parameters

I need to modify an ARM template in a way that the user will have 3 options to select for a parameter during the deployment, each one for a specific Azure RBAC built-in role (Owner, Contributor or Reader). Then I need to correlate each role to the…
0
votes
1 answer

How to configure the timeout and retries on NetworkManager client

I want to control the timeout, connection retries number and the delay duration between the retries when the connection to the Azure NetworkManager failed. Here is how I connect to Azure: private void connect() { HttpClient httpClient =…
0
votes
1 answer

Unable to deploy Azure Event Grid Namespace and Topic using Azure Bicep and Azure DevOps pipeline

I'm currently facing an issue with writing an Azure Bicep template to deploy an Event Grid Namespace and an Event Grid Topic through an Azure DevOps pipeline. The goal is to establish a connection between them so that MQTT messages arriving at the…
0
votes
1 answer

Deploy azure function app with managed identity for storage account

Azure function apps require access to a storage account so they may store host keys in a blob container. The traditional way to provide this access is to include a configuration setting of AzureWebJobsStorage with a value of the connection string.…
0
votes
1 answer

Azure AD Application registration using ARM template

Created a ARM template to create a AD Application using deployment scripts in ARM via powershell. Getting this error The resource write operation failed to complete successfully, because it reached terminal provisioning state 'failed' Here is the…
0
votes
1 answer

How to retrieve certain resourcename in a section created in another section of JSON?

How does this work in JSON ARM templates? "CopyUniqueNameToArmParameters": [ "vmName" ] I am working with ARM template where in one section where ARM template to create virtual machine is getting called. and in that section above snippet is being…
0
votes
1 answer

Azure resource management library for C# - create an Event Hub

Is it possible to create a new event hub in an event hub namespace programatically? The EventHubsNamespaceResource Class from the Azure.ResourceManager.EventHubs library does not seem to support this. Is there some other way? ResourceGroupResource…
Martin Staufcik
  • 8,295
  • 4
  • 44
  • 63
0
votes
0 answers

Azure ARM template: How to use nest copy to do multiple principal Assignments towards multiple databases

In our existing code, there's a tempalte similar as below which would do multiple principal assignments towards a single database. I'm trying to expand the template to do multiple principal assignments towards **mulitple **databases. I tried to use…
0
votes
2 answers

Deploy azure keyvault with ARM template

When I create a keyvault with azure portal, before actual creating I have a link called "View Automation Template": Where inside I can see a keyvault ARM template, but as I can see the azure cli command az keyvault create .. doesn't support options…
0
votes
1 answer

How to Create an Alert Processing Rule using the Azure Monitor - Java SDK

I'm trying to create an Alert Processing Rule using the Azure Monitor SDK in Java, but I'm having trouble finding the right approach. I want to programmatically create an Alert Processing Rule I have already set up the Azure Management SDK in my…
0
votes
1 answer

How Create Azure Monitor Metrics Alert using Java SDK

I am working on a Java project and need assistance with creating an Azure Monitor metrics alert programmatically using the Azure Java SDK. I would like to be able to set up an alert based on a specific metric and threshold. For example, I want to…
0
votes
1 answer

Azure Workload Identity - --enable-workload-identity via ARM template?

I'm trying to create an ARM template to provision an Azure Kubernetes Service cluster with Azure workload identity pre-configure, similar to the result that the cmdlet below would produce: az aks create -g ${RESOURCE_GROUP} -n ${CLUSTER_NAME}…
A. C.
  • 45
  • 7
0
votes
1 answer

ARM templates: how to use the exported template.json and parameters.json files?

I've exported the ARM template for an Azure VM from the resource group where it was created and I've seen that what gets exported is a zip containing a template.json file and a parameters.json file. The thing that somehow surprised me is the two…
0
votes
0 answers

How do i get an invoice section using azure.resourcemanager.billing sdk library

I want to be able to use c# to retrieve an azure invoice section using the azure sdk library (azure.resourcemanager.billing) in order to recreate this powershell method `$token = Get-AzAccessToken $request = @{ Method = 'PUT' Uri =…