官术网_书友最值得收藏!

Scripting types

These are scripts such as Bash, PowerShell, or any other languages that use the different clients (SDKs) provided by the cloud provider; for example, you can script the provisioning of an Azure infrastructure with the Azure CLI or Azure PowerShell.

For example, here is the command that creates a resource group in Azure:

az group create -location westeurope -name MyAppResourcegroup 
New-AzResourceGroup -Name MyAppResourcegroup -Location westeurope 

The problem with these languages and tools is that they require a lot of lines of code because we need to manage the different states of the manipulated resources and it is necessary to write all of the steps of the creation or update of the desired infrastructure.

However, these languages and tools can be very useful for tasks that automate repetitive actions to be performed on a list of resources (selection and query) or that require complex processing with a certain logic to be performed on infrastructure resources such as a script that automates the deletion of VMs that carry a certain tag.

主站蜘蛛池模板: 临颍县| 基隆市| 宁波市| 乌兰察布市| 永州市| 松桃| 滦平县| 渭南市| 琼结县| 南充市| 榕江县| 涪陵区| 北安市| 屏东县| 海口市| 图木舒克市| 乌恰县| 徐闻县| 永定县| 舒兰市| 万山特区| 商城县| 河池市| 新营市| 辽阳县| 美姑县| 永和县| 黔西| 沿河| 晴隆县| 晋城| 清徐县| 平泉县| 嘉义县| 麟游县| 于田县| 赤城县| 射阳县| 永安市| 中牟县| 永丰县|