c语言sscanf函数的用法是什么
241
2022-10-07
Azure Solution Design 配置管理系列(PART 3)
Azure Solution Design 配置管理系列(PART 2)
添加admin为EA管理员
2.4 添加订阅
登录EA门户powershell
登陆订阅 2 3 $password = "Aa123456" | ConvertTo-SecureString -asPlainText -Force 4 5 $cred = New-Object System.Management.Automation.PSCredential('admin@***.partner.onmschina.cn',$password) 6 7 login-AzAccount -Environment AzureChinaCloud -Credential $cred 8 9 修改"Virtual Machine Contributor"角色权限10 11 $role = Get-AzRoleDefinition "Virtual Machine Contributor" 2 3 $role.Id = $null 4 5 $role.Name = "Virtual Machine Operator" 6 7 $role.Description = "Can monitor and restart virtual machines." 8 9 $role.Actions.Clear()10 11 $role.NotActions.Clear()12 13 $role.Actions.Add("Microsoft.Compute/virtualMachines/read")14 15 $role.Actions.Add("Microsoft.Compute/virtualMachines/start/action")16 17 $role.Actions.Add("Microsoft.Compute/virtualMachines/restart/action")18 19 $role.Actions.Add("Microsoft.Compute/virtualMachines/deallocate/action")20 21 $role.AssignableScopes.Clear()22 23 $role.AssignableScopes.Add("/subscriptions/b5c29be6-4311-4cdb-8b52-35246fa9c72f")24 25 New-AzRoleDefinition -Role $role26 27 28 29 如需更新角色,请根据需要更新30 31 $role = Get-AzRoleDefinition "Virtual Machine Operator"2 3 $role.Actions.Add("Microsoft.Compute/virtualMachines/read")4 5 Set-AzRoleDefinition -Role $role
Azure Solution Design 配置管理系列(PART 04)
Azure Solution Design 配置管理系列(PART 05)
Azure Solution Design 配置管理系列(PART 06)
Azure Solution Design 配置管理系列(PART 07)
Azure Solution Design 配置管理系列(PART 08)
Azure Solution Design 配置管理系列(PART 09)
Azure Solution Design 配置管理系列(PART 10)
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~