适用于管理功能的 Azure 资源管理器模板Azure Resource Manager templates for management features

下表包含的 Azure 资源管理器模板链接,此类模板适用于资源管理器提供的功能。The following table includes links to Azure Resource Manager templates for features provided by Resource Manager.

Note

必须修改从 GitHub 存储库“azure-quickstart-templates”下载或参考的模板,以适应 Azure 中国云环境。Templates you downloaded or referenced from the GitHub Repo "azure-quickstart-templates" must be modified in order to fit in the Azure China Cloud Environment. 例如,替换某些终结点(将“blob.core.windows.net”替换为“blob.core.chinacloudapi.cn”,将“cloudapp.azure.com”替换为“chinacloudapp.cn”);必要时更改某些不受支持的位置、VM 映像、VM 大小、SKU 以及资源提供程序的 API 版本。For example, replace some endpoints -- "blob.core.windows.net" by "blob.core.chinacloudapi.cn", "cloudapp.azure.com" by "chinacloudapp.cn"; change some unsupported Location, VM images, VM sizes, SKU and resource-provider's API Version when necessary.

角色分配Role assignments
为资源组分配角色Assign role for resource group 将内置角色分配到现有资源组的用户。Assigns a built-in role to a user for an existing resource group.
为现有虚拟机分配角色Assign role for existing virtual machine 将内置角色分配到现有 VM 的用户。Assigns a built-in role to a user for an existing VM.
为多个虚拟机分配角色Assign role for several virtual machines 将内置角色分配到多个虚拟机的用户。Assigns built-in roles to users for more than one virtual machine.
为 Azure 订阅分配角色Assign role for Azure subscription 为 Azure 订阅的用户分配角色。Assigns a role to a user for an Azure subscription.
角色定义Role definition
创建自定义角色定义Create custom role definition 在 Azure 订阅中创建新的角色定义。Creates a new role definition in an Azure subscription.
资源锁Resource lock
锁定资源组Lock resource group 创建一个资源组,并将 DoNotDelete 锁定应用到资源组。Creates a resource group, and applies a DoNotDelete lock to the resource group. 将参与者角色分配给用户。Assigns the contributor role to a user.