检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
request = ListAppTemplatesRequest() request.marker = "<marker>" request.maxitems = "<maxitems>" request.runtime
在三个函数实例执行,总执行时长为15秒。 若配置为单实例多并发,设置单实例并发数为5,即单个实例最多支持5个并发请求,如果有三次函数调用请求,将在一个实例内并发处理,总执行时间为5秒。 单实例并发数大于1,在您设置的“单函数最大实例数”范围内,超过单实例并发处理能力时会自动扩容新实例。
build(); const request = new functiongraph.InvokeFunctionRequest(); request.xCffLogType = "tail"; request.xCFFRequestVersion = "v1"; request.functionUrn
ListFunctionApplicationsRequest request = new ListFunctionApplicationsRequest(); request.withLimit("<limit>"); request.withMarker("<marker>");
request = ListFunctionReservedInstancesRequest() request.marker = "<marker>" request.limit = "<limit>" request.urn
RetryWorkFlowRequest request = new RetryWorkFlowRequest(); try { RetryWorkFlowResponse response = client.retryWorkFlow(request);
StopWorkFlowRequest request = new StopWorkFlowRequest(); try { StopWorkFlowResponse response = client.stopWorkFlow(request);
try: request = CancelAsyncInvocationRequest() request.body = CancelAsyncInvocationRequestBody( request_id="xxxx"
etricsRequest request = new ShowFuncReservedInstanceMetricsRequest(); request.withMarker("<marker>"); request.withLimit("<limit>");
} request.body = listAsyncInvokeFunctionRequestBodybody response = client.async_invoke_function(request) print(response)
如需实现多用户使用场景下的资源隔离,FunctionGraph函数支持挂载ECS服务器作为文件系统来源,通过设置共享NFS路径可有效管理多用户模型资源,可通过以下操作实现: 购买ECS服务器 设置ECS下的NFS共享 在AI绘画应用中挂载ECS 上传自定义模型和节点 进阶使用:使用ComfyUI
request.withBody(body); try { StartWorkflowExecutionResponse response = client.startWorkflowExecution(request);
igsRequest request = new ListReservedInstanceConfigsRequest(); request.withFunctionUrn("<function_urn>"); request.withMarker("<marker>");
request = ListBridgeVersionsRequest() request.type = "<type>" response = client.list_bridge_versions(request)
WithCredential(auth). Build()) request := &model.InvokeFunctionRequest{} xCffLogTypeRequest:= "tail" request.XCffLogType = &xCffLogTypeRequest
ShowWorkFlowRequest request = new ShowWorkFlowRequest(); try { ShowWorkFlowResponse response = client.showWorkFlow(request);
request.withBody(body); try { CreateCallbackWorkflowResponse response = client.createCallbackWorkflow(request);
request.withBody(body); try { BatchDeleteWorkflowsResponse response = client.batchDeleteWorkflows(request);
diJ9"); request.withBody(body); try { UpdateEventResponse response = client.updateEvent(request); System
withAction("delete"); request.withBody(body); try { DeleteTagsResponse response = client.deleteTags(request); System