azure-quickstart-templates | Azure Quickstart Templates | Azure library
kandi X-RAY | azure-quickstart-templates Summary
kandi X-RAY | azure-quickstart-templates Summary
This repo contains all currently available Azure Resource Manager templates contributed by the community. A searchable template index is maintained at azure.com. See the Contribution guide for how to use or contribute to this repo.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azure-quickstart-templates
azure-quickstart-templates Key Features
azure-quickstart-templates Examples and Code Snippets
Community Discussions
Trending Discussions on azure-quickstart-templates
QUESTION
I am trying to install below two custom vm extensions in Azure VM. i) Dns forwarder - https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/demos/dns-forwarder/forwarderSetup.sh ii) crowd strike falcon sensor https://raw.githubusercontent.com/crowdstrike/falcon-linux-install-bash/main/falcon-linux-deploy.sh
Able to install the above extensions independantly one at a time, but unable to install both vm extensions sequentially one by one. Is there any way we can achieve this ? let me know.
Thanks, Kumar
...ANSWER
Answered 2022-Feb-18 at 06:49You can use ARM templates
or Azure PowerShell to run multiple scripts on a single custom script extension.
I tested the same using Azure PowerShell
with the below script :
QUESTION
I am bit struggling to understand this Azure ARM template containing multiple "Microsoft.Compute/virtualMachines/extensions" and multiple VMs:
kafka-on-ubuntu/azuredeploy.json
Assuming there will be 4 VMs: 1 for zookeeper and 3 for Kafka cluster repsectively, how can be ensured that the extension (+script) for Zookeper will run on exactly that one Zookeper VM, and how to ensure that the extension (+script ) for Kafka cluster will run on exactly those 3 Kafka VMs? I am more tempted to believe that each extension run on all VMs.
...ANSWER
Answered 2022-Feb-08 at 11:01This behavior seems to be poorly documented, but from the documentation page for the Windows custom script extension:
The name of the resource has to be in the format virtualMachineName/extensionName, if this extension is used as a standalone resource in the Azure Resource Manager template.
Which seems to imply that the resolution for where the custom script extension should be executed is based on the name. I imagine this is the case for Linux VMs too.
For the particular example that you are looking at, the name of one of the vms is:
QUESTION
I'm using the azurerm_automation_runbook module to create an Azure Automation Runbook. Below is the code I'm using.
...ANSWER
Answered 2021-Oct-08 at 08:03I tested this on my environment and I noticed that simply changing the uri in publish_content_link
doesn't really do any changes in the runbook script.
In order to apply the changes in the script you have to change the name
of the runbook too instead of only changing the uri
.
So, after you change the name and uri both in the terraform code and do a apply. It will recreate the runbook with the new name and content in the portal.
Outputs:
OR
If you want to change just the content and not the name , then you can save the script from that link locally and pass the content to the already created runbook and it will successfully update the content.
I tested this as well with the below code:
QUESTION
I am trying to create a serverless account with Cosmosdb sql api and i have not found any samples given here
I have tried with the following ARM template and it's not creating a serverless account
...ANSWER
Answered 2021-Sep-16 at 10:41The error is valid, below are the possible values available for the databaseAccount
kind
- 'GlobalDocumentDB'
- 'MongoDB'
- 'Parse'
To create a serverless account, you need to pass the capabilities parameter as below under properties
QUESTION
I am creating cosmos DB using ARM template.in that my collection may or maynot have autoscale settings for the one which has autoscale I want to set autoscale max throughputfor others I want to enter standard throughput. when my throughput is null the template picks the maxthroughput but when the autoscale max through put is null, it throws it's not able to convert to integer.
here is the working one:
...ANSWER
Answered 2021-Sep-09 at 15:57You need to extract the autoscalesettings
into a dedicated variable and conditionally include that in the template depending on your parameters.
Full example: https://mattfrear.com/2020/06/17/conditionally-specify-a-property-in-an-arm-template/
Rough sketch on how this could look like (probably contains some small errors).
QUESTION
I am new to Azure. I am trying to create an environment that should be fairly straightforward - App Service and Azure SQL with a Private Endpoint. I decided to try this ARM template:
I am not quite sure what to put for the V Nets
(sic) entry. I have tried for hours and read through all the documentation I can find, which is lacking. Can someone please provide advice or an example. Thanks.
Azure Image
UPDATE
This is what I ended up putting in the VNets parameter:
...ANSWER
Answered 2021-Jul-09 at 03:07In the same repo, check out the azuredeploy.parameters.json file, and you'll see an example of the vNets
object it's looking for.
You can use the parameters file as-is and deploy it to your subscription or feel free to customize the names, address spaces, etc. by adjusting the properties
snippetQUESTION
In ARM templates, we configure multiple properties for a resource. For example for AKS - (taken from AKS Quickstart template)
...ANSWER
Answered 2021-Jun-22 at 17:56You can find the relevant documentation in the ManagedClusterProperties object
The trick here is to get the resource name and you can find the relevant documentation from the ARM documentation by mapping the reosurce
QUESTION
Is this possible to deploy stored procedure or user defined function together with Azure CosmosDB SQL API using bicep?
I know that is possible using directly arm template: https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.documentdb/cosmosdb-sql-container-sprocs/azuredeploy.json
I have not found any docs regarding doing this in biceps, but I tried doing it on my own. I tried to build bicep resource the same way like any other e.g. container, but I always have exceptions e.g:
...ANSWER
Answered 2021-May-20 at 17:17I have an example here that I built decompiling the arm template sample you showed into bicep.
I have not yet had a chance to complete the PR I have on this updated sample but this will get published where the ARM template you pointed to lives. But if you need an example that works to unblock you this is what you need.
UPDATE: Apologies for the empty bicep file. Not sure how that happened.
To get an example of how to deploy a UDF using bicep you can take the ARM template located here and then pass it to bicep's decompile function. Example below.
QUESTION
Hello Azure Container guru's
I'am trying to configure the following Azure Container Setup:
My first step (for simplicity) is the creation off 2 containers within a single container group on azure (without the fileshare). I create the following Azure Resource Manager template to create the ACI
I am using here fore the following blog
- https://markheath.net/post/aci-container-groups-wordpress
- https://github.com/Azure/azure-quickstart-templates/tree/master/201-aci-wordpress
ARM TEMPLATE
...ANSWER
Answered 2021-Apr-09 at 07:56There are some mistakes in your ARM template such as the value of WORDPRESS_DB_HOST
should be "127.0.0.1:3306"
instead of "127.0.0.0:3306"
and the port number should be "port": 3306
instead of "port": "3306"
. Also, the image wordpress does not work for me, instead, using the image wordpress:4.9-apache
works.
Sample
QUESTION
I'm using Cosmos DB, Mongo DB 3.6 API, and collection with auto-scale and shard key enabled. I'm using this ARM template: https://github.com/Azure/azure-quickstart-templates/blob/master/101-cosmosdb-mongodb-autoscale/azuredeploy.json.
I have a piece of code which cleans collections before app startup using C# driver.
The reason I'm not using BulkWriteAsync
is I don't want to overflow my throughput setting (which is currently 500 - 5000 RU)
ANSWER
Answered 2021-Mar-08 at 17:21I was able to mitigate the issue by myself. It's not exactly clear what caused incomplete deletion, but the following code worked:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azure-quickstart-templates
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page