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

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.

主站蜘蛛池模板: 莒南县| 榆树市| 甘德县| 繁峙县| 成安县| 鲁甸县| 阳春市| 黎川县| 秦皇岛市| 哈巴河县| 日照市| 中西区| 苏尼特右旗| 繁峙县| 安义县| 卓尼县| 锦州市| 延长县| 新龙县| 定结县| 宜州市| 攀枝花市| 宿迁市| 五莲县| 虹口区| 南昌县| 阿拉善盟| 海盐县| 绥宁县| 双流县| 咸阳市| 平江县| 项城市| 莫力| 阿瓦提县| 五家渠市| 石门县| 宿州市| 安泽县| 修文县| 抚州市|