-
Notifications
You must be signed in to change notification settings - Fork 81
/
ExpressionMetadata.json
1043 lines (1043 loc) · 45.9 KB
/
ExpressionMetadata.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "./ExpressionMetadata.schema.json",
"functionSignatures": [
{
"name": "add",
"expectedUsage": "add(operand1, operand2)",
"description": "Returns the sum of the two provided integers.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "and",
"expectedUsage": "and(arg1, arg2, ...)",
"description": "Checks whether all parameter values are true.",
"minimumArguments": 2,
"maximumArguments": null
},
{
"name": "array",
"expectedUsage": "array(convertToArray)",
"description": "Converts the value to an array.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "base64",
"expectedUsage": "base64(inputString)",
"description": "Returns the base64 representation of the input string.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "base64ToJson",
"expectedUsage": "base64ToJson(base64Value)",
"description": "Converts a base64 representation to a JSON object.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "base64ToString",
"expectedUsage": "base64ToString(base64Value)",
"description": "Converts a base64 representation to a string.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "bool",
"expectedUsage": "bool(arg1)",
"description": "Converts the parameter to a boolean.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "coalesce",
"expectedUsage": "coalesce(arg1, arg2, arg3, ...)",
"description": "Returns first non-null value from the parameters. Empty strings, empty arrays, and empty objects are not null.",
"minimumArguments": 1,
"maximumArguments": null
},
{
"name": "concat",
"expectedUsage": "concat(arg1, arg2, arg3, ...)",
"description": "Combines multiple values and returns the concatenated result. This function can take any number of arguments, and can accept either strings or arrays for the parameters. The string comparison is case-sensitive. However, when testing if an object contains a key, the comparison is case-insensitive.",
"minimumArguments": 0,
"maximumArguments": null
},
{
"name": "contains",
"expectedUsage": "contains(container, itemToFind)",
"description": "Checks whether an array contains a value, an object contains a key, or a string contains a substring.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "parseCidr",
"expectedUsage": "parseCidr(cidrString)",
"description": "Parses an IP address range in CIDR notation to get various properties of the address range. Expects a string in CIDR notation containing an IP address range to be converted.",
"minimumArguments": 1,
"maximumArguments": 1,
"returnValueMembers": [
{
"name": "network"
},
{
"name": "netmask"
},
{
"name": "broadcast"
},
{
"name": "firstUsable"
},
{
"name": "lastUsable"
},
{
"name": "cidr"
}
]
},
{
"name": "cidrSubnet",
"expectedUsage": "cidrSubnet(network, newCIDR, subnetIndex)",
"description": "Splits the specified IP address range in CIDR notation into subnets with a new CIDR value and returns the IP address range of the subnet with the specified index. Returns a string of the IP address range of the subnet with the specified index.",
"minimumArguments": 3,
"maximumArguments": 3
},
{
"name": "cidrHost",
"expectedUsage": "cidrHost(network, hostIndex)",
"description": "Calculates the usable IP address of the host with the specified index on the specified IP address range in CIDR notation.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "copyIndex",
"expectedUsage": "copyIndex([offset]) or copyIndex(loopName, [offset])",
"description": "Returns the current index of an iteration loop.\nThis function is always used with a copy object.",
"minimumArguments": 0,
"maximumArguments": 2
},
{
"name": "createArray",
"expectedUsage": "createArray(arg1, arg2, arg3, ...)",
"description": "Creates an array from the parameters. If no parameters specified, creates an empty array.",
"minimumArguments": 0,
"maximumArguments": null
},
{
"name": "createObject",
"expectedUsage": "createObject(key1, value1, key2, value2, ...)",
"description": "Creates an object from the keys and values provided in the arguments.",
"minimumArguments": 0,
"maximumArguments": null
},
{
"name": "dataUri",
"expectedUsage": "dataUri(stringToConvert)",
"description": "Converts a value to a data URI.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "dataUriToString",
"expectedUsage": "dataUriToString(dataUriToConvert)",
"description": "Converts a data URI formatted value to a string.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "dateTimeAdd",
"expectedUsage": "dateTimeAdd(base, duration, [format])",
"description": "Adds a time duration to a base value. ISO 8601 format is expected.",
"minimumArguments": 2,
"maximumArguments": 3
},
{
"name": "dateTimeFromEpoch",
"expectedUsage": "dateTimeFromEpoch(epochTime)",
"description": "Converts an epoch time integer value to an ISO8601 dateTime string value.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "dateTimeToEpoch",
"expectedUsage": "dateTimeToEpoch(dateTime)",
"description": "Converts an ISO8601 dateTime string to an epoch time integer value.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "deployment",
"expectedUsage": "deployment()",
"description": "Returns information about the current deployment operation. This function returns the object that is passed during deployment. The properties in the returned object will differ based on whether the deployment object is passed as a link or as an in-line object.",
"minimumArguments": 0,
"maximumArguments": 0,
"returnValueMembers": [
{
"name": "name"
},
{
"name": "properties"
},
{
"name": "location"
}
]
},
{
"name": "div",
"expectedUsage": "div(operand1, operand2)",
"description": "Returns the integer division of the two provided integers.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "empty",
"expectedUsage": "empty(itemToTest)",
"description": "Determines if an array, object, or string is empty.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "endsWith",
"expectedUsage": "endsWith(stringToSearch, stringToFind)",
"description": "Determines whether a string ends with a value. The comparison is case-insensitive.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "environment",
"expectedUsage": "environment()",
"description": "Returns information about the current cloud environment. The function returns an object that contains endpoints and other information specific to the cloud used for the deployment. The properties in the returned object may differ based on the capabilities of the cloud.",
"minimumArguments": 0,
"maximumArguments": 0,
"returnValueMembers": [
{
"name": "name"
},
{
"name": "gallery"
},
{
"name": "graph"
},
{
"name": "portal"
},
{
"name": "graphAudience"
},
{
"name": "activeDirectoryDataLake"
},
{
"name": "batch"
},
{
"name": "media"
},
{
"name": "sqlManagement"
},
{
"name": "vmImageAliasDoc"
},
{
"name": "resourceManager"
},
{
"name": "authentication"
},
{
"name": "suffixes"
}
]
},
{
"name": "equals",
"expectedUsage": "equals(arg1, arg2)",
"description": "Checks whether two values equal each other.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "extensionResourceId",
"expectedUsage": "extensionResourceId(resourceId, resourceType, resourceName1, [resourceName2]...)",
"description": "Returns the unique resource identifier of an extension resource. The resourceId parameter may be a resourceId of any scope or resourceId function. You use this function to create a resourceId for a given resource as required by a property value.",
"minimumArguments": 3,
"maximumArguments": null,
"behaviors": [
"usesResourceIdCompletions"
]
},
{
"name": "false",
"expectedUsage": "false()",
"description": "Returns a boolean value that is always false.",
"minimumArguments": 0,
"maximumArguments": 0
},
{
"name": "filter",
"expectedUsage": "filter(inputArray, lambda)",
"description": "Filters an array with a custom filtering function.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "first",
"expectedUsage": "first(arg1)",
"description": "Returns the first element of the array, or first character of the string.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "float",
"expectedUsage": "float(arg1)",
"description": "Converts the value to a floating point number. You only use this function when passing custom parameters to an application, such as a Logic App.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "format",
"expectedUsage": "format(formatString, arg1, arg2, ...)",
"description": "Creates a formatted string from input values. It uses the same formatting options as the System.String.Format method in .NET.",
"minimumArguments": 1,
"maximumArguments": null
},
{
"name": "greater",
"expectedUsage": "greater(arg1, arg2)",
"description": "Checks whether the first value is greater than the second value.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "greaterOrEquals",
"expectedUsage": "greaterOrEquals(arg1, arg2)",
"description": "Checks whether the first value is greater than or equal to the second value.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "groupBy",
"expectedUsage": "groupBy(inputArray, keySelector)",
"description": "Groups the elements of an array based on a specified key selector function.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "guid",
"expectedUsage": "guid(baseString, ...)",
"description": "This function is helpful when you need to create a value in the format of a globally unique identifier. You provide parameter values that limit the scope of uniqueness for the result. You can specify whether the name is unique down to subscription, resource group, or deployment. The returned value is not a random string, but rather the result of a hash function. The returned value is 36 characters long. It is not globally unique.",
"minimumArguments": 1,
"maximumArguments": null
},
{
"name": "if",
"expectedUsage": "if(condition, trueValue, falseValue)",
"description": "Returns a value based on whether a condition is true or false.",
"minimumArguments": 3,
"maximumArguments": 3
},
{
"name": "indexOf",
"expectedUsage": "indexOf(stringToSearch, stringToFind)",
"description": "Returns the first position of a value within a string. The comparison is case-insensitive.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "int",
"expectedUsage": "int(valueToConvert)",
"description": "Converts the specified value to Integer.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "intersection",
"expectedUsage": "intersection(arg1, arg2, arg3, ...)",
"description": "Returns a single array or object with the common elements from the parameters.",
"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": "join",
"expectedUsage": "join(inputArray, delimiter)",
"description": "Joins multiple strings into a single string, separated using a delimiter.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "json",
"expectedUsage": "json(arg1)",
"description": "Returns a JSON object from the specified string, or an empty object when null is specified ",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "lambda",
"expectedUsage": "lambda(<lambda variable>, [<lambda variable>, ...], <expression>)",
"description": "Defines a lambda expression that can be passed as an argument to functions like filter, groupBy, map, mapValues, reduce, sort, and toObject. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-lambda for information on using lambda functions.",
"minimumArguments": 2,
"maximumArguments": null
},
{
"name": "last",
"expectedUsage": "last(arg1)",
"description": "Returns the last element of the array, or last character of the string.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "lastIndexOf",
"expectedUsage": "lastIndexOf(stringToSearch, stringToFind)",
"description": "Returns the last position of a value within a string. The comparison is case-insensitive.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "length",
"expectedUsage": "length(array\/string)",
"description": "Returns the number of elements in an array or the number of characters in a string. You can use this function with an array to specify the number of iterations when creating resources.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "less",
"expectedUsage": "less(arg1, arg2)",
"description": "Checks whether the first value is less than the second value.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "lessOrEquals",
"expectedUsage": "lessOrEquals(arg1, arg2)",
"description": "Checks whether the first value is less than or equal to the second value.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "list",
"expectedUsage": "list(resourceName\/resourceIdentifier, apiVersion)",
"description": "Performs a GET call to a REST API on the given resource. The function arguments and the returned data depend on the resource type. See https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-resource#valid-uses.",
"minimumArguments": 2,
"maximumArguments": null
},
{
"name": "listAccountSas",
"expectedUsage": "listAccountSas(resourceName\/resourceIdentifier, apiVersion, requestContent)",
"description": "Creates and returns a SAS token with the specified permissions and expiry from the requestContent. The requestContent object must contain the signedServices, signedResourceTypes, signedPermission and signedExpiry properties.",
"minimumArguments": 3,
"maximumArguments": 3,
"returnValueMembers": [
{
"name": "accountSasToken"
}
]
},
{
"name": "listAdminKeys",
"expectedUsage": "listAdminKeys(resourceName\/resourceIdentifier, apiVersion)",
"description": "Gets the primary and secondary admin API keys for the specified Azure Search service. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName. You can use the function to get the primaryKey and secondaryKey.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "primaryKey"
},
{
"name": "secondaryKey"
}
]
},
{
"name": "listAuthKeys",
"expectedUsage": "listAuthKeys(resourceName\/resourceIdentifier, apiVersion)",
"description": "Retrieves the authentication keys for a DataFactory Integration Runtime. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName. You can use the function to get the available authkeys.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "authKey1"
},
{
"name": "authKey2"
}
]
},
{
"name": "listCallbackUrl",
"expectedUsage": "listCallbackUrl(resourceName\/resourceIdentifier, apiVersion)",
"description": "Get callback URL for a trigger of a workflow version. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName. See https://docs.microsoft.com/en-us/rest/api/logic/WorkflowVersions/ListCallbackUrl#workflowtriggercallbackurl for more information.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "value"
},
{
"name": "method"
},
{
"name": "basePath"
},
{
"name": "queries"
},
{
"name": "relativePath"
},
{
"name": "relativePathParameters"
}
]
},
{
"name": "listChannelWithKeys",
"expectedUsage": "listChannelWithKeys(resourceName\/resourceIdentifier, apiVersion)",
"description": "Lists a Channel registration for a Bot Service including secrets. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName. Example: [listChannelWithKeys(resourceId('Microsoft.BotService/botServices/channels', parameters('botId'), 'DirectLineChannel'), '2018-07-12').properties.properties.sites[0].key]",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "resource"
},
{
"name": "setting"
},
{
"name": "id"
},
{
"name": "location"
},
{
"name": "properties"
},
{
"name": "provisioningState"
},
{
"name": "entityTag"
},
{
"name": "changedTime"
}
]
},
{
"name": "listClusterAdminCredential",
"expectedUsage": "listClusterAdminCredential(resourceName\/resourceIdentifier, apiVersion)",
"description": "Gets cluster admin credential of a managed cluster. Returns an array of objects with a 'name' and 'value' property. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "kubeconfigs"
}
]
},
{
"name": "listConnectionStrings",
"expectedUsage": "listConnectionStrings(resourceName\/resourceIdentifier, apiVersion)",
"description": "Lists the connection strings for the specified Azure Cosmos DB database account. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "connectionStrings"
}
]
},
{
"name": "listCredentials",
"expectedUsage": "listCredentials(resourceName\/resourceIdentifier, apiVersion)",
"description": "Lists the login credentials for the specified container registry. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "username"
},
{
"name": "passwords"
}
]
},
{
"name": "listCredential",
"expectedUsage": "listCredential(resourceName\/resourceIdentifier, apiVersion)",
"description": "Gets the accessProfile for the specified role for a managed cluster. The properties object contains a 'kubeConfig' property. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "properties"
}
]
},
{
"name": "listKeys",
"expectedUsage": "listKeys(resourceName\/resourceIdentifier, apiVersion)",
"description": "Returns the keys of a storage account. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName. You can use the function to get the primary (key[0]) and secondary key (key[1]).",
"minimumArguments": 2,
"maximumArguments": 2,
"$comment": "There are more than 20 possible return members, depending on the RP that's being queried. This causes incorrect Intellisense and false positives for validation (in VS), so turning this off by not specifying returnValueMembers at all. VSCode doesn't show the same validation errors, but intelisense still won't show correct values, and it's easier to keep vscode and vs in sync, so doing it there, too."
},
{
"name": "listKeyValue",
"expectedUsage": "listKeyValue(resourceName\/resourceIdentifier, apiVersion, KeyLabelObject)",
"description": "Returns a value from the App Config store with Key/Label specified in the request. The KeyLabelObject parameter is a JSON object with the two properties: \"key\" and \"label\" as required by the values in the store.",
"minimumArguments": 3,
"maximumArguments": 3,
"returnValueMembers": [
{
"name": "value"
}
]
},
{
"name": "listPackage",
"expectedUsage": "listPackage(resourceName\/resourceIdentifier, apiVersion)",
"description": "Lists the virtual network gateway package. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "listQueryKeys",
"expectedUsage": "listQueryKeys(resourceName\/resourceIdentifier, apiVersion)",
"description": "Returns the list of query API keys for the given Azure Search service. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName. The function returns an object array with a 'name' and 'key' property for each member.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "value"
}
]
},
{
"name": "listSecrets",
"expectedUsage": "listSecrets(resourceName\/resourceIdentifier, apiVersion)",
"description": "List the secrets of a key vault. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "listServiceSas",
"expectedUsage": "listServiceSas(resourceName\/resourceIdentifier, apiVersion, requestContent)",
"description": "Creates and returns a SAS token for the specific resource with the specified permissions and expiry from the requestContent. The requestContent object must contain the signedServices, signedResourceTypes, signedPermission and signedExpiry properties.",
"minimumArguments": 3,
"maximumArguments": 3,
"returnValueMembers": [
{
"name": "serviceSasToken"
}
]
},
{
"name": "listSyncFunctionTriggerStatus",
"expectedUsage": "listSyncFunctionTriggerStatus(resourceName\/resourceIdentifier, apiVersion)",
"description": "Returns the status of a function trigger. The resourceId can be specified by using the resourceId function or by using the format providerNamespace/resourceType/resourceName.",
"minimumArguments": 2,
"maximumArguments": 2,
"returnValueMembers": [
{
"name": "status"
}
]
},
{
"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": "map",
"expectedUsage": "map(inputArray, transformFunction)",
"description": "Projects each element of an array into a new form based on a transformation function. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-lambda for information on using lambda functions.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "mapValues",
"expectedUsage": "mapValues(object, transformFunction)",
"description": "Projects each value of an object into a new form based on a transformation function. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-lambda for information on using lambda functions.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "max",
"expectedUsage": "max(arg1, ...)",
"description": "Returns the maximum value from an array of integers or a comma-separated list of integers.",
"minimumArguments": 1,
"maximumArguments": null
},
{
"name": "min",
"expectedUsage": "min(arg1, ...)",
"description": "Returns the minimum value from an array of integers or a comma-separated list of integers.",
"minimumArguments": 1,
"maximumArguments": null
},
{
"name": "mod",
"expectedUsage": "mod(operand1, operand2)",
"description": "Returns the remainder of the integer division using the two provided integers.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "mul",
"expectedUsage": "mul(operand1, operand2)",
"description": "Returns the multiplication of the two provided integers.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "newGuid",
"expectedUsage": "newGuid()",
"description": "Returns a globally unique identifier (GUID). This function may only be used as a defaultValue on a parameter.",
"minimumArguments": 0,
"maximumArguments": 0
},
{
"name": "not",
"expectedUsage": "not(arg1)",
"description": "Converts boolean value to its opposite value.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "null",
"expectedUsage": "null()",
"description": "Returns a value that is always null, equivalent to json('null').",
"minimumArguments": 0,
"maximumArguments": 0
},
{
"name": "or",
"expectedUsage": "or(arg1, arg2, ...)",
"description": "Checks whether any parameter value is true.",
"minimumArguments": 2,
"maximumArguments": null
},
{
"name": "padLeft",
"expectedUsage": "padLeft(stringToPad, totalLength, paddingCharacter)",
"description": "Returns a right-aligned string by adding characters to the left until reaching the total specified length.",
"minimumArguments": 3,
"maximumArguments": 3
},
{
"name": "parameters",
"expectedUsage": "parameters(parameterName)",
"description": "Returns a parameter value. The specified parameter name must be defined in the parameters section of the template.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "pickZones",
"expectedUsage": "pickZones(providerNamespace, resourceType, location, [numberOfZones], [offset])",
"description": "Determines whether a resource type supports zones for a region.",
"minimumArguments": 3,
"maximumArguments": 5
},
{
"name": "providers",
"expectedUsage": "providers(providerNamespace, [resourceType])",
"description": "The providers function has been deprecated. We no longer recommend using it. If you used this function to get an API version for the resource provider, we recommend that you provide a specific API version in your template. Using a dynamically returned API version can break your template if the properties change between versions.",
"minimumArguments": 1,
"maximumArguments": 2
},
{
"name": "range",
"expectedUsage": "range(startingInteger, numberOfElements)",
"description": "Creates an array of integers from a starting integer and containing a number of items.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "reduce",
"expectedUsage": "reduce(inputArray, initialValue, accumulatorFunction)",
"description": "Applies a function against an accumulator and each element in the array to reduce it to a single value. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-lambda for information on using lambda functions.",
"minimumArguments": 3,
"maximumArguments": 3
},
{
"name": "reference",
"expectedUsage": "reference(resourceName\/resourceIdentifier, [apiVersion], ['Full'])",
"description": "Enables an expression to derive its value from another resource's runtime state.",
"minimumArguments": 1,
"maximumArguments": 3
},
{
"name": "replace",
"expectedUsage": "replace(originalString, oldCharacter, newCharacter)",
"description": "Returns a new string with all instances of one character in the specified string replaced by another character.",
"minimumArguments": 3,
"maximumArguments": 3
},
{
"name": "resourceGroup",
"expectedUsage": "resourceGroup()",
"description": "Returns a structured object that represents the current resource group.",
"minimumArguments": 0,
"maximumArguments": 0,
"returnValueMembers": [
{
"name": "id"
},
{
"name": "name"
},
{
"name": "location"
},
{
"name": "tags"
},
{
"name": "properties"
}
]
},
{
"name": "resourceId",
"expectedUsage": "resourceId([subscriptionId], [resourceGroupName], resourceType, resourceName1, [resourceName2]...)",
"description": "Returns the unique resource identifier of a resource group scoped resource. You use this function to create a resourceId for a given resource as required by a property value.",
"minimumArguments": 2,
"maximumArguments": null,
"behaviors": [
"usesResourceIdCompletions"
]
},
{
"name": "skip",
"expectedUsage": "skip(originalValue, numberToSkip)",
"description": "Returns an array or string with all of the elements or characters after the specified number in the array or string.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "sort",
"expectedUsage": "sort(inputArray, comparer)",
"description": "Sorts an array with a custom sort function. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-lambda for information on using lambda functions.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "split",
"expectedUsage": "split(inputString, delimiter)",
"description": "Returns an array of strings that contains the substrings of the input string that are delimited by the sent delimiters.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "startsWith",
"expectedUsage": "startsWith(stringToSEarch, stringToFind)",
"description": "Determines whether a string starts with a value. The comparison is case-insensitive.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "string",
"expectedUsage": "string(valueToConvert)",
"description": "Converts the specified value to String.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "sub",
"expectedUsage": "sub(operand1, operand2)",
"description": "Returns the subtraction of the two provided integers.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "subscription",
"expectedUsage": "subscription()",
"description": "Returns details about the subscription.",
"minimumArguments": 0,
"maximumArguments": 0,
"returnValueMembers": [
{
"name": "displayName"
},
{
"name": "id"
},
{
"name": "subscriptionId"
},
{
"name": "tenantId"
}
]
},
{
"name": "subscriptionResourceId",
"expectedUsage": "subscriptionResourceId([subscriptionId], resourceType, resourceName1, [resourceName2]...)",
"description": "Returns the unique resource identifier of a subscription scoped resource. You use this function to create a resourceId for a given resource as required by a property value.",
"minimumArguments": 2,
"maximumArguments": null,
"behaviors": [
"usesResourceIdCompletions"
]
},
{
"name": "substring",
"expectedUsage": "substring(stringToParse, startIndex, length)",
"description": "Returns a substring that starts at the specified character position and contains the specified number of characters.",
"minimumArguments": 1,
"maximumArguments": 3
},
{
"name": "take",
"expectedUsage": "take(originalValue, numberToTake)",
"description": "Returns an array or string with the specified number of elements or characters from the start of the array or string.",
"minimumArguments": 2,
"maximumArguments": 2
},
{
"name": "tenant",
"expectedUsage": "tenant()",
"description": "Returns a structured object that represents the current tenant.",
"minimumArguments": 0,
"maximumArguments": 0,
"returnValueMembers": [
{
"name": "countryCode"
},
{
"name": "displayName"
},
{
"name": "id"
},
{
"name": "tenantId"
}
]
},
{
"name": "tenantResourceId",
"expectedUsage": "tenantResourceId(resourceType, resourceName1, [resourceName2]...)",
"description": "Returns the unique resource identifier of a tenant scoped resource. You use this function to create a resourceId for a given resource as required by a property value.",
"minimumArguments": 2,
"maximumArguments": null,
"behaviors": [
"usesResourceIdCompletions"
]
},
{
"name": "toLower",
"expectedUsage": "toLower(string)",
"description": "Converts the specified string to lower case.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "toObject",
"expectedUsage": "toObject(inputArray, lambda function, [lambda function])",
"description": "Converts an array to an object with a custom key function and optional custom value function. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-object#items about converting an object to an array. See https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-functions-lambda for information on using lambda functions.",
"minimumArguments": 2,
"maximumArguments": 3
},
{
"name": "toUpper",
"expectedUsage": "toUpper(string)",
"description": "Converts the specified string to upper case.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "trim",
"expectedUsage": "trim(stringToTrim)",
"description": "Removes all leading and trailing white-space characters from the specified string.",
"minimumArguments": 1,
"maximumArguments": 1
},
{
"name": "true",
"expectedUsage": "true()",
"description": "Returns a boolean value that is always true.",
"minimumArguments": 0,
"maximumArguments": 0
},
{
"name": "union",
"expectedUsage": "union(arg1, arg2, arg3, ...)",
"description": "Returns a single array or object with all elements from the parameters. Duplicate values or keys are only included once.",
"minimumArguments": 2,
"maximumArguments": null
},
{