mirror of https://github.com/pulumi/pulumi.git
147 lines
3.8 KiB
JSON
147 lines
3.8 KiB
JSON
{
|
|
"name": "std",
|
|
"displayName": "StandardLibrary",
|
|
"version": "1.0.0",
|
|
"description": "Standard library functions",
|
|
"homepage": "https://github.com/pulumi/pulumi-std",
|
|
"repository": "https://github.com/pulumi/pulumi-std",
|
|
"publisher": "Pulumi",
|
|
"meta": {
|
|
"moduleFormat": "(.*)"
|
|
},
|
|
"language": {
|
|
"csharp": {
|
|
"packageReferences": {
|
|
"Pulumi": "3.50.0"
|
|
}
|
|
},
|
|
"nodejs": {
|
|
"dependencies": {
|
|
"@pulumi/pulumi": "^3.0.0"
|
|
},
|
|
"respectSchemaVersion": true
|
|
}
|
|
},
|
|
"config": {},
|
|
"provider": {
|
|
"type": "object"
|
|
},
|
|
"functions": {
|
|
"std:index:Abs": {
|
|
"description": "Returns the absolute value of a given float. \nExample: abs(1) returns 1, and abs(-1) would also return 1, whereas abs(-3.14) would return 3.14.",
|
|
"inputs": {
|
|
"properties": {
|
|
"a": {
|
|
"type": "number"
|
|
},
|
|
"b": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"a",
|
|
"b"
|
|
]
|
|
},
|
|
"outputs": {
|
|
"properties": {
|
|
"result": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"result"
|
|
]
|
|
}
|
|
},
|
|
"std:index:AbsMultiArgs": {
|
|
"description": "Returns the absolute value of a given float. \nExample: abs(1) returns 1, and abs(-1) would also return 1, whereas abs(-3.14) would return 3.14.",
|
|
"multiArgumentInputs": ["a", "b", "c"],
|
|
"inputs": {
|
|
"properties": {
|
|
"a": {
|
|
"type": "number"
|
|
},
|
|
"b": {
|
|
"type": "number"
|
|
},
|
|
"c": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"a"
|
|
]
|
|
},
|
|
"outputs": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"std:index:AbsReducedOutput": {
|
|
"description": "Returns the absolute value of a given float. \nExample: abs(1) returns 1, and abs(-1) would also return 1, whereas abs(-3.14) would return 3.14.",
|
|
"inputs": {
|
|
"properties": {
|
|
"a": {
|
|
"type": "number"
|
|
},
|
|
"b": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"a"
|
|
]
|
|
},
|
|
"outputs": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"std:index:AbsMultiArgsReducedOutput": {
|
|
"description": "Returns the absolute value of a given float. \nExample: abs(1) returns 1, and abs(-1) would also return 1, whereas abs(-3.14) would return 3.14.",
|
|
"multiArgumentInputs": ["a", "b"],
|
|
"inputs": {
|
|
"properties": {
|
|
"a": {
|
|
"type": "number"
|
|
},
|
|
"b": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"a"
|
|
]
|
|
},
|
|
"outputs": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"std:index:AbsMultiArgsReducedOutputSwapped": {
|
|
"description": "Returns the absolute value of a given float. \nExample: abs(1) returns 1, and abs(-1) would also return 1, whereas abs(-3.14) would return 3.14.",
|
|
"multiArgumentInputs": ["b", "a"],
|
|
"inputs": {
|
|
"properties": {
|
|
"a": {
|
|
"type": "number"
|
|
},
|
|
"b": {
|
|
"type": "number"
|
|
}
|
|
},
|
|
"type": "object",
|
|
"required": [
|
|
"a",
|
|
"b"
|
|
]
|
|
},
|
|
"outputs": {
|
|
"type": "number"
|
|
}
|
|
}
|
|
}
|
|
} |