Function Deployment
Deploy Function
Initiates deployment for the specified function version. Upon invocation of this endpoint, the function's status transitions to 'DEPLOYING'. If the specified function version is public, then Account Admin cannot perform this operation. Access to this endpoint mandates a bearer token with 'deploy_function' scope in the HTTP Authorization header.
post/v2/nvcf/deployments/functions/{functionId}/versions/{functionVersionId}
Request
- Base URL: https://api.nvcf.nvidia.com
- URL: https://api.nvcf.nvidia.com/v2/nvcf/deployments/functions/{functionId}/versions/{functionVersionId}
- Auth: none declared
Path parameters
functionIdstring uuid required
Function id
functionVersionIdstring uuid required
Function version id
Request body
Example request
{
"deploymentSpecifications": [
{
"autoscalingConfiguration": {
"scaleUpDetails": {
"stickiness": {
"size": "PT30M",
"threshold": "PT5M"
}
},
"scaleDownDetails": {
"stickiness": {
"size": "PT30M",
"threshold": "PT5M"
}
}
}
}
]
}Response
OK
Example response
{
"deployment": {
"deploymentSpecifications": [
{
"autoscalingConfiguration": {
"scaleUpDetails": {
"stickiness": {
"size": "PT30M",
"threshold": "PT5M"
}
},
"scaleDownDetails": {
"stickiness": {
"size": "PT30M",
"threshold": "PT5M"
}
}
}
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.