You can call this operation to make a provisioned configuration.

Request headers

This operation uses only common request headers. For more information, see Common parameters.

Request syntax

PUT /services/{serviceName.[qualifier]}/functions/{functionName}/provision-config 

Request parameters

Parameter Type Position Required Example Description
serviceName String Path Yes service_name

The name of the service.

qualifier String Path Yes test

The version or alias of the service.

functionName String Path Yes function_name

The name of the function.

Object Body Yes

The definition of the function.

target Long Body Yes 15

The expected number of resources.

Response parameters

Parameter Type Example Description
resource String 19861144****3057#service_name#test#function_name

The description of the resource.

target Long 15

The expected number of resources.

current Long 1

The actual number of resources.


Sample requests

PUT /2016-08-15/services/service_name.test/functions/function_name/provision-config HTTP/1.1 
Common request headers

Sample success responses

JSON format

HTTP/1.1 200 OK
Common response headers
    "current": "1",
    "resource": "19861144****3057#service_name#test#function_name",
    "target": "15"