SUPPORT ME ON PATREON
/ techoftheday
In this lesson, you will cover:
Azure Resource Manager
Resource Manager template deployment
Create Resource Manager templates by using the Azure portal
Create Resource Manager templates by using Visual Studio Code
Links Below
Consistent management layer
Resource Manager provides a consistent management layer to perform tasks through Azure PowerShell, Azure CLI, Azure portal, REST API, and client SDKs. All capabilities that are available in the Azure portal are also available through Azure PowerShell, Azure CLI, the Azure REST APIs, and client SDKs. Functionality initially released through APIs will be represented in the portal within 180 days of initial release.
Resource
A manageable item that is available through Azure. Some common resources are a virtual machine, storage account, web app, database, and virtual network, but there are many more.
Resource group
A container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to allocate resources to resource groups based on what makes the most sense for your organization.
Resource provider
A service that supplies the resources that you can deploy and manage through Resource Manager. Each resource provider offers operations for working with the resources that are deployed. Some common resource providers are Microsoft.Compute, which supplies the virtual machine resource, Microsoft.Storage, which supplies the storage account resource, and Microsoft.Web, which supplies resources related to web apps.
Resource Manager template
A JavaScript Object Notation (JSON) file that defines one or more resources to deploy to a resource group. It also defines the dependencies between the deployed resources. The template can be used to deploy the resources consistently and repeatedly.
Declarative syntax
Syntax that lets you state "Here is what I intend to create" without having to write the sequence of programming commands to create it. The Resource Manager template is an example of declarative syntax. In the file, you define the properties for the infrastructure to deploy to Azure.
With Resource Manager, you can create a template (in JSON format) that defines the infrastructure and configuration of your Azure solution. By using a template, you can repeatedly deploy your solution throughout its lifecycle and have confidence that your resources are deployed in a consistent state. When you create a solution from the portal, the solution automatically includes a deployment template. You don't have to create your template from scratch because you can start with the template for your solution and customize it to meet your specific needs. You can also retrieve a template for an existing resource group by either exporting the current state of the resource group, or viewing the template used for a particular deployment. Viewing the exported template is a helpful way to learn about the template syntax.
az group create --name $resourceGroupName --location $location
az group deployment create --name $deploymentName --resource-group $resourceGroupName --template-file "azuredeploy.json“
az storage account show --resource-group $resourceGroupName --name $storageAccountName
Next steps for you after watching the video
1. What is Azure Resource Manager
https://docs.microsoft.com/en-us/azur...
2. What are Azure Resource Manager Templates
https://docs.microsoft.com/en-us/azur...
3. Quickstart templates website
https://azure.microsoft.com/en-us/res...
4. Quickstart templates github
https://docs.microsoft.com/en-us/azur...
Watch video Azure Resource Manager ( online without registration, duration hours minute second in high quality. This video was added by user Tech of the day 26 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,683 once and liked it 24 people.