通常,如果某些功能(例如, Azure,使用反馈站点来建议新功能并对其进行投票. 但是,如果您在资源组中仅获得某些特定类型的资源,例如虚拟机,然后可以在一个PowerShell命令中将其全部停止,如下所示:Get-AzureRmResourceGroup <group name> | Stop-AzureRmVM -Force 注意:这种方法高度依赖于资源的类型,而不是像请求的一般解决方案Is there any way to disable or stop a particular resource group temporarily? I know we can delete the resource group or we can stop certain services under the resource group but I am unable to find a way where I can just shut down the resource group or all of it's resources at once, temporarily.Please let me know if I can provide few more details about this.Thanks. 解决方案 This does not seem to be possible at the moment but a request has been made here, however, no response from Microsoft on what it's status.In general, if there are features that are not available in e.g. Azure, use the feedback site to suggest and vote on new features. However, if you only got some specific type of resources in your resource group, like e.g. virtual machines, then you can stop them all in one PowerShell command like this:Get-AzureRmResourceGroup <group name> | Stop-AzureRmVM -ForceNote: this approach is highly dependent on the type of resource and not a generic solutions like requested 这篇关于在Azure中停止或禁用资源组的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-25 01:11