diff --git a/src/Bicep.Core.Samples/Files/Functions/az.json b/src/Bicep.Core.Samples/Files/Functions/az.json index caf35712850..1ad249a835c 100644 --- a/src/Bicep.Core.Samples/Files/Functions/az.json +++ b/src/Bicep.Core.Samples/Files/Functions/az.json @@ -555,5 +555,137 @@ "resourceType: string", "... : string" ] + }, + { + "name": "toLogicalZone", + "description": "Returns the logical zone corresponding to the given physical zone.", + "fixedParameters": [ + { + "name": "subscriptionId", + "description": "The subscription ID of the deployed availability zones", + "type": "string", + "required": true + }, + { + "name": "location", + "description": "The location of the availability zone mappings", + "type": "string", + "required": true + }, + { + "name": "physicalZone", + "description": "The physical zone to convert", + "type": "string", + "required": true + } + ], + "minimumArgumentCount": 3, + "maximumArgumentCount": 3, + "flags": "default", + "typeSignature": "(subscriptionId: string, location: string, physicalZone: string): string", + "parameterTypeSignatures": [ + "subscriptionId: string", + "location: string", + "physicalZone: string" + ] + }, + { + "name": "toLogicalZones", + "description": "Returns the logical zone array corresponding to the given array of physical zones.", + "fixedParameters": [ + { + "name": "subscriptionId", + "description": "The subscription ID of the deployed availability zones", + "type": "string", + "required": true + }, + { + "name": "location", + "description": "The location of the availability zone mappings", + "type": "string", + "required": true + }, + { + "name": "physicalZones", + "description": "An array of physical zones to convert", + "type": "array", + "required": true + } + ], + "minimumArgumentCount": 3, + "maximumArgumentCount": 3, + "flags": "default", + "typeSignature": "(subscriptionId: string, location: string, physicalZones: array): string[]", + "parameterTypeSignatures": [ + "subscriptionId: string", + "location: string", + "physicalZones: array" + ] + }, + { + "name": "toPhysicalZone", + "description": "Returns the physical zone corresponding to the given logical zone.", + "fixedParameters": [ + { + "name": "subscriptionId", + "description": "The subscription ID of the deployed availability zones", + "type": "string", + "required": true + }, + { + "name": "location", + "description": "The location of the availability zone mappings", + "type": "string", + "required": true + }, + { + "name": "logicalZone", + "description": "The logical zone to convert", + "type": "string", + "required": true + } + ], + "minimumArgumentCount": 3, + "maximumArgumentCount": 3, + "flags": "default", + "typeSignature": "(subscriptionId: string, location: string, logicalZone: string): string", + "parameterTypeSignatures": [ + "subscriptionId: string", + "location: string", + "logicalZone: string" + ] + }, + { + "name": "toPhysicalZones", + "description": "Returns the physical zone array corresponding to the given array of logical zones.", + "fixedParameters": [ + { + "name": "subscriptionId", + "description": "The subscription ID of the deployed availability zones", + "type": "string", + "required": true + }, + { + "name": "location", + "description": "The location of the availability zone mappings", + "type": "string", + "required": true + }, + { + "name": "logicalZones", + "description": "An array of logical zones to convert", + "type": "array", + "required": true + } + ], + "minimumArgumentCount": 3, + "maximumArgumentCount": 3, + "flags": "default", + "typeSignature": "(subscriptionId: string, location: string, logicalZones: array): string[]", + "parameterTypeSignatures": [ + "subscriptionId: string", + "location: string", + "logicalZones: array" + ] } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/azFunctions.json b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/azFunctions.json index d648bb20cc9..0192e69fb86 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/azFunctions.json +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/azFunctions.json @@ -280,5 +280,89 @@ "title": "signature help", "command": "editor.action.triggerParameterHints" } + }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } } ] \ No newline at end of file diff --git a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/symbols.json index f01002cf50b..0f9e49447aa 100644 --- a/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidExpressions_LF/Completions/symbols.json @@ -2593,6 +2593,48 @@ "newText": "threeElements" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2635,6 +2677,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX.json b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX.json index aa99cce508f..d67cdab5658 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX.json +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX.json @@ -2969,6 +2969,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -3011,6 +3053,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX_if.json b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX_if.json index 7a2d7f55e17..16fd510e104 100644 --- a/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidModules_LF/Completions/symbolsPlusX_if.json @@ -2969,6 +2969,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -3011,6 +3053,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json index 2c1fbfbc470..37f559dd6c9 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/arrayPlusSymbols.json @@ -1476,6 +1476,48 @@ "newText": "testSymbol" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -1518,6 +1560,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json index b32cf8af35f..b0ef4754f0a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/boolPlusSymbols.json @@ -1440,6 +1440,48 @@ "newText": "testSymbol" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -1482,6 +1524,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json index d15537c1eae..f4f5d741146 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/objectPlusSymbols.json @@ -1426,6 +1426,48 @@ "newText": "testSymbol" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -1468,6 +1510,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/symbols.json index 294528c23bb..ad6c9c5ccf0 100644 --- a/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidOutputs_CRLF/Completions/symbols.json @@ -1426,6 +1426,48 @@ "newText": "testSymbol" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -1468,6 +1510,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/arrayPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/arrayPlusSymbols.json index c45cfc17d94..b8c1de2e6a5 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/arrayPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/arrayPlusSymbols.json @@ -2235,6 +2235,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2277,6 +2319,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/boolPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/boolPlusSymbols.json index 4d3f165a699..57b28be8746 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/boolPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/boolPlusSymbols.json @@ -2235,6 +2235,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2277,6 +2319,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json index 2caf403465b..0f9ab987094 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/justSymbols.json @@ -2221,6 +2221,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2263,6 +2305,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/objectPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/objectPlusSymbols.json index c150eff3c97..26e15764c2c 100644 --- a/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/objectPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidParameters_LF/Completions/objectPlusSymbols.json @@ -2221,6 +2221,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2263,6 +2305,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json index 89797330113..792d45db2a2 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/arrayPlusSymbols.json @@ -5866,6 +5866,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5908,6 +5950,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json index 32097d47043..c98c9365bc0 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/boolPropertyValuesPlusSymbols.json @@ -5830,6 +5830,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5872,6 +5914,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json index 4c3bb34a685..7e3205bc97a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cleanupPreferencesPlusSymbols.json @@ -5858,6 +5858,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5900,6 +5942,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json index 918a804763f..4f6b555a0f2 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols.json @@ -6089,6 +6089,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6131,6 +6173,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json index 7b0859b2f42..823936b2eb7 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for.json @@ -6089,6 +6089,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6131,6 +6173,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json index bb731bc8428..4bebd22b45f 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_for_if.json @@ -6089,6 +6089,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6131,6 +6173,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json index 85f8fe15664..9039ea54c76 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/cliPropertyAccessIndexesPlusSymbols_if.json @@ -6089,6 +6089,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6131,6 +6173,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json index d6f2b07aaef..72643decd28 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json index 20036e37d21..214dd6796e1 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json index 09f8c0fa434..a4af138a9ba 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_for_if.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json index f8f256afa91..58b2e9cc975 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/createModeIndexPlusSymbols_if.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json index 53a64390629..6400fb0bd1a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes.json @@ -6323,6 +6323,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6365,6 +6407,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json index d2e70f4d673..c0ba6002f11 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for.json @@ -6323,6 +6323,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6365,6 +6407,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json index cd1e504f85e..e5c96c4f45c 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_for_if.json @@ -6323,6 +6323,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6365,6 +6407,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json index d08bfc62e48..55b536e3771 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/defaultCreateModeIndexes_if.json @@ -6323,6 +6323,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -6365,6 +6407,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json index 297b760a244..60232f7bc02 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols.json @@ -5844,6 +5844,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5886,6 +5928,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json index 0311cb03e70..007a4a5691b 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for.json @@ -5858,6 +5858,48 @@ "newText": "thing" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5900,6 +5942,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json index b9e638d0856..8e9386b0c6a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_for_if.json @@ -5858,6 +5858,48 @@ "newText": "thing" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5900,6 +5942,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json index 25e18135b11..620d7140259 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/deploymentScriptKindsPlusSymbols_if.json @@ -5844,6 +5844,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5886,6 +5928,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json index d13b36cb7cd..012e4ac2526 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json index f199f8f9898..4674c778c24 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json index 3ed68be01e6..19fd430ac8a 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_for_if.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json index 0bf2b3f914f..833f59d5b14 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/missingDiscriminatorPropertyIndexPlusSymbols_if.json @@ -5837,6 +5837,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5879,6 +5921,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json index efb1e563f98..a119f72dfbc 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbols.json @@ -5816,6 +5816,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5858,6 +5900,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json index 96b3137ad5e..53d989ed1ee 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/objectPlusSymbolsWithRequiredProperties.json @@ -5846,6 +5846,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5888,6 +5930,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json index 3b9aa611e0a..13548a4d8fa 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/storageSkuNamePlusSymbols.json @@ -5942,6 +5942,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5984,6 +6026,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json index 95ed4939de0..ee29b85aa6c 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbols.json @@ -5833,6 +5833,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5875,6 +5917,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json index 8231f3768f8..d9e2caa79e7 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount1.json @@ -5830,6 +5830,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5872,6 +5914,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json index 8231f3768f8..d9e2caa79e7 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccount2.json @@ -5830,6 +5830,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5872,6 +5914,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json index 079160744e7..54d6ee3a3cc 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusAccountRuleState.json @@ -5875,6 +5875,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5917,6 +5959,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json index 28448703c4c..597b0ba10af 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayAndFor.json @@ -5897,6 +5897,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5939,6 +5981,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json index 0c3baa89fde..b0447e42f97 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusArrayWithoutFor.json @@ -5861,6 +5861,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5903,6 +5945,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusRule.json b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusRule.json index 4465d5c8dcb..ea7f147ea0e 100644 --- a/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusRule.json +++ b/src/Bicep.Core.Samples/Files/InvalidResources_CRLF/Completions/symbolsPlusRule.json @@ -5861,6 +5861,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -5903,6 +5945,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json index 083dc4d2745..0fe46981d5b 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/objectVarTopLevelIndexes.json @@ -2294,6 +2294,48 @@ "newText": "testDupe" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2336,6 +2378,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json index 4637facb688..95b12a6ebe4 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/symbols.json @@ -2330,6 +2330,48 @@ "newText": "testDupe" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2372,6 +2414,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json index 2bd63d36ef5..940d6ded7a2 100644 --- a/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json +++ b/src/Bicep.Core.Samples/Files/InvalidVariables_LF/Completions/twoIndexPlusSymbols.json @@ -2312,6 +2312,48 @@ "newText": "testDupe" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -2354,6 +2396,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core.Samples/Files/Variables_LF/Completions/symbolsPlusTypes.json b/src/Bicep.Core.Samples/Files/Variables_LF/Completions/symbolsPlusTypes.json index 5a1cf4954c9..41c14375c3b 100644 --- a/src/Bicep.Core.Samples/Files/Variables_LF/Completions/symbolsPlusTypes.json +++ b/src/Bicep.Core.Samples/Files/Variables_LF/Completions/symbolsPlusTypes.json @@ -3003,6 +3003,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toLogicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZone(subscriptionId: string, location: string, physicalZone: string): string\n\n```\nReturns the logical zone corresponding to the given physical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toLogicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoLogicalZones(subscriptionId: string, location: string, physicalZones: array): string[]\n\n```\nReturns the logical zone array corresponding to the given array of physical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toLogicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toLogicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toLower", "kind": "function", @@ -3045,6 +3087,48 @@ "command": "editor.action.triggerParameterHints" } }, + { + "label": "toPhysicalZone", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZone(subscriptionId: string, location: string, logicalZone: string): string\n\n```\nReturns the physical zone corresponding to the given logical zone.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZone", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZone($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, + { + "label": "toPhysicalZones", + "kind": "function", + "documentation": { + "kind": "markdown", + "value": "```bicep\ntoPhysicalZones(subscriptionId: string, location: string, logicalZones: array): string[]\n\n```\nReturns the physical zone array corresponding to the given array of logical zones.\n" + }, + "deprecated": false, + "preselect": false, + "sortText": "3_toPhysicalZones", + "insertTextFormat": "snippet", + "insertTextMode": "adjustIndentation", + "textEdit": { + "range": {}, + "newText": "toPhysicalZones($0)" + }, + "command": { + "title": "signature help", + "command": "editor.action.triggerParameterHints" + } + }, { "label": "toUpper", "kind": "function", diff --git a/src/Bicep.Core/Semantics/Namespaces/AzNamespaceType.cs b/src/Bicep.Core/Semantics/Namespaces/AzNamespaceType.cs index 62f84df5b44..e1098e536ab 100644 --- a/src/Bicep.Core/Semantics/Namespaces/AzNamespaceType.cs +++ b/src/Bicep.Core/Semantics/Namespaces/AzNamespaceType.cs @@ -459,6 +459,38 @@ private static IEnumerable GetAzOverloads(ResourceScope resour .WithRequiredParameter("resourceType", LanguageConstants.String, "The type of resource within the specified namespace") .Build(); + yield return new FunctionOverloadBuilder("toLogicalZone") + .WithReturnType(LanguageConstants.String) + .WithGenericDescription("Returns the logical zone corresponding to the given physical zone.") + .WithRequiredParameter("subscriptionId", LanguageConstants.String, "The subscription ID of the deployed availability zones") + .WithRequiredParameter("location", LanguageConstants.String, "The location of the availability zone mappings") + .WithRequiredParameter("physicalZone", LanguageConstants.String, "The physical zone to convert") + .Build(); + + yield return new FunctionOverloadBuilder("toLogicalZones") + .WithReturnType(new TypedArrayType(LanguageConstants.String, TypeSymbolValidationFlags.Default, minLength: 1)) + .WithGenericDescription("Returns the logical zone array corresponding to the given array of physical zones.") + .WithRequiredParameter("subscriptionId", LanguageConstants.String, "The subscription ID of the deployed availability zones") + .WithRequiredParameter("location", LanguageConstants.String, "The location of the availability zone mappings") + .WithRequiredParameter("physicalZones", LanguageConstants.Array, "An array of physical zones to convert") + .Build(); + + yield return new FunctionOverloadBuilder("toPhysicalZone") + .WithReturnType(LanguageConstants.String) + .WithGenericDescription("Returns the physical zone corresponding to the given logical zone.") + .WithRequiredParameter("subscriptionId", LanguageConstants.String, "The subscription ID of the deployed availability zones") + .WithRequiredParameter("location", LanguageConstants.String, "The location of the availability zone mappings") + .WithRequiredParameter("logicalZone", LanguageConstants.String, "The logical zone to convert") + .Build(); + + yield return new FunctionOverloadBuilder("toPhysicalZones") + .WithReturnType(new TypedArrayType(LanguageConstants.String, TypeSymbolValidationFlags.Default, minLength: 1)) + .WithGenericDescription("Returns the physical zone array corresponding to the given array of logical zones.") + .WithRequiredParameter("subscriptionId", LanguageConstants.String, "The subscription ID of the deployed availability zones") + .WithRequiredParameter("location", LanguageConstants.String, "The location of the availability zone mappings") + .WithRequiredParameter("logicalZones", LanguageConstants.Array, "An array of logical zones to convert") + .Build(); + // TODO: return type is string[] // TODO: Location param should be of location type if we ever add it yield return new FunctionOverloadBuilder("pickZones") diff --git a/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceType.cs b/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceType.cs index 3f9406f80c6..57c02a41bed 100644 --- a/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceType.cs +++ b/src/Bicep.Core/Semantics/Namespaces/SystemNamespaceType.cs @@ -1000,7 +1000,7 @@ TypeSymbol type when TypeCollapser.TryCollapse(type) is TypeSymbol collapsed => .Build(); } } - + private static ObjectType GetParseCidrReturnType() { return new ObjectType("parseCidr", TypeSymbolValidationFlags.Default, new[]