Function Deployment

Update Function Deployment

Deprecated and will be removed soon. Use a single GPU specification update method instead. Updates the deployment specs of the specified function version. It's important to note that GPU type and backend configurations cannot be modified through this endpoint. If the specified function 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.

put/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

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.