📺 视频讲解(嵌入)
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%;
margin-bottom: 2em;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
🧠 什么是 ARM 模板?ARM 模板是 JSON 格式的声明性文件,用于定义 Azure 上资源的部署结构和配置。
声明式语法:描述“你要什么”,而不是“怎么做”
对比命令式脚本:不需手动逐步执行命令
资源自动部署:一次定义,多次重复部署,保持一致
📌 示例图:
🌟 使用 ARM 模板的优势
自动化部署
幂等性(Idempotent):多次部署结果一致
内置依赖处理机制
更快部署速度(并发创建资源)
内置模板验证机制
模块化设计支持(链接模板)
与 CI/CD 工具集成:A ...
Azure 教程
未读
[在此插入你的视频 iframe 代码]
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
🔧 Azure 任务管理三大工具概述☁️ Azure PowerShellAzure PowerShell 是一套用于在 PowerShell 环境中管理 Azure 资源的模块工具。例如,你可以使用 New-AzVM 命令创建虚拟机。
New-AzVM `
-ResourceGroupName "MyResourceGroup" `
-Name "TestVm" `
-Image "UbuntuLTS"
````
登录命令:
```powershell
Connect-AzAccount
📟 Azure CLIAzure C ...
目录
📘 Azure PowerShell 部署练习笔记🧩 模板参数设定与变量构建$templateFile = "azuredeploy.json" # 本地 ARM 模板文件路径
$today = Get-Date -Format "MM-dd-yyyy" # 当前日期,用于生成部署名
$deploymentName = "addstorage-" + "$today" # 自动拼接部署名称
🚀 执行部署命令New-AzResourceGroupDeployment `
-Name $deploymentName `
-ResourceGroupName "<你的资源组名>" `
-TemplateFile $templateFile
如需传入模板参数:
✅ 方法一:使用参数对象传参$parameters = @{
storageName = "storage00001"
}
New-AzResourceGroupDeploym ...
[up主专用,视频内嵌代码贴在这]
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (height/width = 9/16 * 100%) */
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post$ hexo new "My New Post"
More info: Writing
Run server$ hexo server
More info: Server
Generate static files$ hexo generate
More info: Generating
Deploy to remote sites$ hexo deploy
More info: Deployment


