diff --git a/assets/ExpressionMetadata.json b/assets/ExpressionMetadata.json index dff126354..958beb527 100644 --- a/assets/ExpressionMetadata.json +++ b/assets/ExpressionMetadata.json @@ -294,6 +294,13 @@ "minimumArguments": 2, "maximumArguments": null }, + { + "name": "items", + "expectedUsage": "items(obj)", + "description": "Returns an array of keys and values for an object. Elements are consistently ordered alphabetically by key.", + "minimumArguments": 1, + "maximumArguments": 1 + }, { "name": "json", "expectedUsage": "json(arg1)", @@ -566,6 +573,27 @@ } ] }, + { + "name": "managementGroup", + "expectedUsage": "managementGroup()", + "description": "Returns a structured object that represents the current management group. This function is only valid in templates that are deployed at management group scope", + "minimumArguments": 0, + "maximumArguments": 0, + "returnValueMembers": [ + { + "name": "id" + }, + { + "name": "name" + }, + { + "name": "type" + }, + { + "name": "properties" + } + ] + }, { "name": "max", "expectedUsage": "max(arg1, ...)", @@ -785,6 +813,27 @@ "minimumArguments": 2, "maximumArguments": 2 }, + { + "name": "tenant", + "expectedUsage": "tenant()", + "description": "Returns a structured object that represents the current tenant.", + "minimumArguments": 0, + "maximumArguments": 0, + "returnValueMembers": [ + { + "name": "country" + }, + { + "name": "countryCode" + }, + { + "name": "displayName" + }, + { + "name": "tenantId" + } + ] + }, { "name": "tenantResourceId", "expectedUsage": "tenantResourceId(resourceType, resourceName1, [resourceName2]...)",