您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Azure 资源管理器模板函数Azure Resource Manager template functions

本文介绍可以在 Azure 资源管理器模板中使用的所有函数。This article describes all the functions you can use in an Azure Resource Manager template. 若要了解如何在模板中使用函数,请参阅模板语法For information about using functions in your template, see template syntax.

若要创建自己的函数,请参阅用户定义函数To create your own functions, see User-defined functions.

数组和对象函数Array and object functions

Resource Manager 提供以下用于处理数组和对象的函数。Resource Manager provides several functions for working with arrays and objects.

比较函数Comparison functions

Resource Manager 提供了多个用于在模板中进行比较的函数。Resource Manager provides several functions for making comparisons in your templates.

部署值函数Deployment value functions

Resource Manager 提供以下函数,用于从与部署相关的模板和值部分获取值:Resource Manager provides the following functions for getting values from sections of the template and values related to the deployment:

逻辑函数Logical functions

资源管理器提供以下用于逻辑条件的函数:Resource Manager provides the following functions for working with logical conditions:

数值函数Numeric functions

Resource Manager 提供以下用于处理整数的函数:Resource Manager provides the following functions for working with integers:

资源函数Resource functions

Resource Manager 提供以下用于获取资源值的函数:Resource Manager provides the following functions for getting resource values:

字符串函数String functions

Resource Manager 提供以下用于处理字符串的函数:Resource Manager provides the following functions for working with strings:

后续步骤Next steps