Skip to content

Commit

Permalink
moved functions to aznamespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jmorerice committed Aug 29, 2023
1 parent 8e05f56 commit 452072d
Show file tree
Hide file tree
Showing 6 changed files with 248 additions and 248 deletions.
132 changes: 132 additions & 0 deletions src/Bicep.Core.Samples/Files/Functions/az.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
]
132 changes: 0 additions & 132 deletions src/Bicep.Core.Samples/Files/Functions/sys.json
Original file line number Diff line number Diff line change
Expand Up @@ -1457,72 +1457,6 @@
"numberToTake: int"
]
},
{
"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": "toLower",
"description": "Converts the specified string to lower case.",
Expand Down Expand Up @@ -1575,72 +1509,6 @@
"[valuePredicate: any => any]"
]
},
{
"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"
]
},
{
"name": "toUpper",
"description": "Converts the specified string to upper case.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
]
Loading

0 comments on commit 452072d

Please sign in to comment.