tencentcloud.ScfProvisionedConcurrencyConfig
Explore with Pulumi AI
Provides a resource to create a scf provisioned_concurrency_config
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const provisionedConcurrencyConfig = new tencentcloud.ScfProvisionedConcurrencyConfig("provisionedConcurrencyConfig", {
functionName: "keep-1676351130",
maxCapacity: 2,
minCapacity: 1,
namespace: "default",
provisionedType: "Default",
qualifier: "2",
trackingTarget: 0.5,
triggerActions: [{
provisionedType: "Default",
triggerCronConfig: "29 45 12 29 05 * 2023",
triggerName: "test",
triggerProvisionedConcurrencyNum: 2,
}],
versionProvisionedConcurrencyNum: 2,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
provisioned_concurrency_config = tencentcloud.ScfProvisionedConcurrencyConfig("provisionedConcurrencyConfig",
function_name="keep-1676351130",
max_capacity=2,
min_capacity=1,
namespace="default",
provisioned_type="Default",
qualifier="2",
tracking_target=0.5,
trigger_actions=[{
"provisioned_type": "Default",
"trigger_cron_config": "29 45 12 29 05 * 2023",
"trigger_name": "test",
"trigger_provisioned_concurrency_num": 2,
}],
version_provisioned_concurrency_num=2)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewScfProvisionedConcurrencyConfig(ctx, "provisionedConcurrencyConfig", &tencentcloud.ScfProvisionedConcurrencyConfigArgs{
FunctionName: pulumi.String("keep-1676351130"),
MaxCapacity: pulumi.Float64(2),
MinCapacity: pulumi.Float64(1),
Namespace: pulumi.String("default"),
ProvisionedType: pulumi.String("Default"),
Qualifier: pulumi.String("2"),
TrackingTarget: pulumi.Float64(0.5),
TriggerActions: tencentcloud.ScfProvisionedConcurrencyConfigTriggerActionArray{
&tencentcloud.ScfProvisionedConcurrencyConfigTriggerActionArgs{
ProvisionedType: pulumi.String("Default"),
TriggerCronConfig: pulumi.String("29 45 12 29 05 * 2023"),
TriggerName: pulumi.String("test"),
TriggerProvisionedConcurrencyNum: pulumi.Float64(2),
},
},
VersionProvisionedConcurrencyNum: pulumi.Float64(2),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var provisionedConcurrencyConfig = new Tencentcloud.ScfProvisionedConcurrencyConfig("provisionedConcurrencyConfig", new()
{
FunctionName = "keep-1676351130",
MaxCapacity = 2,
MinCapacity = 1,
Namespace = "default",
ProvisionedType = "Default",
Qualifier = "2",
TrackingTarget = 0.5,
TriggerActions = new[]
{
new Tencentcloud.Inputs.ScfProvisionedConcurrencyConfigTriggerActionArgs
{
ProvisionedType = "Default",
TriggerCronConfig = "29 45 12 29 05 * 2023",
TriggerName = "test",
TriggerProvisionedConcurrencyNum = 2,
},
},
VersionProvisionedConcurrencyNum = 2,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.ScfProvisionedConcurrencyConfig;
import com.pulumi.tencentcloud.ScfProvisionedConcurrencyConfigArgs;
import com.pulumi.tencentcloud.inputs.ScfProvisionedConcurrencyConfigTriggerActionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var provisionedConcurrencyConfig = new ScfProvisionedConcurrencyConfig("provisionedConcurrencyConfig", ScfProvisionedConcurrencyConfigArgs.builder()
.functionName("keep-1676351130")
.maxCapacity(2)
.minCapacity(1)
.namespace("default")
.provisionedType("Default")
.qualifier("2")
.trackingTarget(0.5)
.triggerActions(ScfProvisionedConcurrencyConfigTriggerActionArgs.builder()
.provisionedType("Default")
.triggerCronConfig("29 45 12 29 05 * 2023")
.triggerName("test")
.triggerProvisionedConcurrencyNum(2)
.build())
.versionProvisionedConcurrencyNum(2)
.build());
}
}
resources:
provisionedConcurrencyConfig:
type: tencentcloud:ScfProvisionedConcurrencyConfig
properties:
functionName: keep-1676351130
maxCapacity: 2
minCapacity: 1
namespace: default
provisionedType: Default
qualifier: '2'
trackingTarget: 0.5
triggerActions:
- provisionedType: Default
triggerCronConfig: 29 45 12 29 05 * 2023
triggerName: test
triggerProvisionedConcurrencyNum: 2
versionProvisionedConcurrencyNum: 2
Create ScfProvisionedConcurrencyConfig Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScfProvisionedConcurrencyConfig(name: string, args: ScfProvisionedConcurrencyConfigArgs, opts?: CustomResourceOptions);
@overload
def ScfProvisionedConcurrencyConfig(resource_name: str,
args: ScfProvisionedConcurrencyConfigArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScfProvisionedConcurrencyConfig(resource_name: str,
opts: Optional[ResourceOptions] = None,
function_name: Optional[str] = None,
qualifier: Optional[str] = None,
version_provisioned_concurrency_num: Optional[float] = None,
max_capacity: Optional[float] = None,
min_capacity: Optional[float] = None,
namespace: Optional[str] = None,
provisioned_type: Optional[str] = None,
scf_provisioned_concurrency_config_id: Optional[str] = None,
tracking_target: Optional[float] = None,
trigger_actions: Optional[Sequence[ScfProvisionedConcurrencyConfigTriggerActionArgs]] = None)
func NewScfProvisionedConcurrencyConfig(ctx *Context, name string, args ScfProvisionedConcurrencyConfigArgs, opts ...ResourceOption) (*ScfProvisionedConcurrencyConfig, error)
public ScfProvisionedConcurrencyConfig(string name, ScfProvisionedConcurrencyConfigArgs args, CustomResourceOptions? opts = null)
public ScfProvisionedConcurrencyConfig(String name, ScfProvisionedConcurrencyConfigArgs args)
public ScfProvisionedConcurrencyConfig(String name, ScfProvisionedConcurrencyConfigArgs args, CustomResourceOptions options)
type: tencentcloud:ScfProvisionedConcurrencyConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ScfProvisionedConcurrencyConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScfProvisionedConcurrencyConfigArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScfProvisionedConcurrencyConfigArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScfProvisionedConcurrencyConfigArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScfProvisionedConcurrencyConfigArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ScfProvisionedConcurrencyConfig Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScfProvisionedConcurrencyConfig resource accepts the following input properties:
- Function
Name string - Name of the function for which to set the provisioned concurrency.
- Qualifier string
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- Version
Provisioned doubleConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- Max
Capacity double - The maximum number of instances.
- Min
Capacity double - The minimum number of instances. It can not be smaller than 1.
- Namespace string
- Function namespace. Default value: default.
- Provisioned
Type string - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- Scf
Provisioned stringConcurrency Config Id - ID of the resource.
- Tracking
Target double - The target concurrency utilization. Range: (0,1) (two decimal places).
- Trigger
Actions List<ScfProvisioned Concurrency Config Trigger Action> - Scheduled provisioned concurrency scaling action.
- Function
Name string - Name of the function for which to set the provisioned concurrency.
- Qualifier string
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- Version
Provisioned float64Concurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- Max
Capacity float64 - The maximum number of instances.
- Min
Capacity float64 - The minimum number of instances. It can not be smaller than 1.
- Namespace string
- Function namespace. Default value: default.
- Provisioned
Type string - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- Scf
Provisioned stringConcurrency Config Id - ID of the resource.
- Tracking
Target float64 - The target concurrency utilization. Range: (0,1) (two decimal places).
- Trigger
Actions []ScfProvisioned Concurrency Config Trigger Action Args - Scheduled provisioned concurrency scaling action.
- function
Name String - Name of the function for which to set the provisioned concurrency.
- qualifier String
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- version
Provisioned DoubleConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- max
Capacity Double - The maximum number of instances.
- min
Capacity Double - The minimum number of instances. It can not be smaller than 1.
- namespace String
- Function namespace. Default value: default.
- provisioned
Type String - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- scf
Provisioned StringConcurrency Config Id - ID of the resource.
- tracking
Target Double - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger
Actions List<ScfProvisioned Concurrency Config Trigger Action> - Scheduled provisioned concurrency scaling action.
- function
Name string - Name of the function for which to set the provisioned concurrency.
- qualifier string
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- version
Provisioned numberConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- max
Capacity number - The maximum number of instances.
- min
Capacity number - The minimum number of instances. It can not be smaller than 1.
- namespace string
- Function namespace. Default value: default.
- provisioned
Type string - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- scf
Provisioned stringConcurrency Config Id - ID of the resource.
- tracking
Target number - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger
Actions ScfProvisioned Concurrency Config Trigger Action[] - Scheduled provisioned concurrency scaling action.
- function_
name str - Name of the function for which to set the provisioned concurrency.
- qualifier str
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- version_
provisioned_ floatconcurrency_ num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- max_
capacity float - The maximum number of instances.
- min_
capacity float - The minimum number of instances. It can not be smaller than 1.
- namespace str
- Function namespace. Default value: default.
- provisioned_
type str - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- scf_
provisioned_ strconcurrency_ config_ id - ID of the resource.
- tracking_
target float - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger_
actions Sequence[ScfProvisioned Concurrency Config Trigger Action Args] - Scheduled provisioned concurrency scaling action.
- function
Name String - Name of the function for which to set the provisioned concurrency.
- qualifier String
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- version
Provisioned NumberConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- max
Capacity Number - The maximum number of instances.
- min
Capacity Number - The minimum number of instances. It can not be smaller than 1.
- namespace String
- Function namespace. Default value: default.
- provisioned
Type String - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- scf
Provisioned StringConcurrency Config Id - ID of the resource.
- tracking
Target Number - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger
Actions List<Property Map> - Scheduled provisioned concurrency scaling action.
Outputs
All input properties are implicitly available as output properties. Additionally, the ScfProvisionedConcurrencyConfig resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ScfProvisionedConcurrencyConfig Resource
Get an existing ScfProvisionedConcurrencyConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ScfProvisionedConcurrencyConfigState, opts?: CustomResourceOptions): ScfProvisionedConcurrencyConfig
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
function_name: Optional[str] = None,
max_capacity: Optional[float] = None,
min_capacity: Optional[float] = None,
namespace: Optional[str] = None,
provisioned_type: Optional[str] = None,
qualifier: Optional[str] = None,
scf_provisioned_concurrency_config_id: Optional[str] = None,
tracking_target: Optional[float] = None,
trigger_actions: Optional[Sequence[ScfProvisionedConcurrencyConfigTriggerActionArgs]] = None,
version_provisioned_concurrency_num: Optional[float] = None) -> ScfProvisionedConcurrencyConfig
func GetScfProvisionedConcurrencyConfig(ctx *Context, name string, id IDInput, state *ScfProvisionedConcurrencyConfigState, opts ...ResourceOption) (*ScfProvisionedConcurrencyConfig, error)
public static ScfProvisionedConcurrencyConfig Get(string name, Input<string> id, ScfProvisionedConcurrencyConfigState? state, CustomResourceOptions? opts = null)
public static ScfProvisionedConcurrencyConfig get(String name, Output<String> id, ScfProvisionedConcurrencyConfigState state, CustomResourceOptions options)
resources: _: type: tencentcloud:ScfProvisionedConcurrencyConfig get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Function
Name string - Name of the function for which to set the provisioned concurrency.
- Max
Capacity double - The maximum number of instances.
- Min
Capacity double - The minimum number of instances. It can not be smaller than 1.
- Namespace string
- Function namespace. Default value: default.
- Provisioned
Type string - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- Qualifier string
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- Scf
Provisioned stringConcurrency Config Id - ID of the resource.
- Tracking
Target double - The target concurrency utilization. Range: (0,1) (two decimal places).
- Trigger
Actions List<ScfProvisioned Concurrency Config Trigger Action> - Scheduled provisioned concurrency scaling action.
- Version
Provisioned doubleConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- Function
Name string - Name of the function for which to set the provisioned concurrency.
- Max
Capacity float64 - The maximum number of instances.
- Min
Capacity float64 - The minimum number of instances. It can not be smaller than 1.
- Namespace string
- Function namespace. Default value: default.
- Provisioned
Type string - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- Qualifier string
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- Scf
Provisioned stringConcurrency Config Id - ID of the resource.
- Tracking
Target float64 - The target concurrency utilization. Range: (0,1) (two decimal places).
- Trigger
Actions []ScfProvisioned Concurrency Config Trigger Action Args - Scheduled provisioned concurrency scaling action.
- Version
Provisioned float64Concurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- function
Name String - Name of the function for which to set the provisioned concurrency.
- max
Capacity Double - The maximum number of instances.
- min
Capacity Double - The minimum number of instances. It can not be smaller than 1.
- namespace String
- Function namespace. Default value: default.
- provisioned
Type String - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- qualifier String
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- scf
Provisioned StringConcurrency Config Id - ID of the resource.
- tracking
Target Double - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger
Actions List<ScfProvisioned Concurrency Config Trigger Action> - Scheduled provisioned concurrency scaling action.
- version
Provisioned DoubleConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- function
Name string - Name of the function for which to set the provisioned concurrency.
- max
Capacity number - The maximum number of instances.
- min
Capacity number - The minimum number of instances. It can not be smaller than 1.
- namespace string
- Function namespace. Default value: default.
- provisioned
Type string - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- qualifier string
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- scf
Provisioned stringConcurrency Config Id - ID of the resource.
- tracking
Target number - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger
Actions ScfProvisioned Concurrency Config Trigger Action[] - Scheduled provisioned concurrency scaling action.
- version
Provisioned numberConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- function_
name str - Name of the function for which to set the provisioned concurrency.
- max_
capacity float - The maximum number of instances.
- min_
capacity float - The minimum number of instances. It can not be smaller than 1.
- namespace str
- Function namespace. Default value: default.
- provisioned_
type str - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- qualifier str
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- scf_
provisioned_ strconcurrency_ config_ id - ID of the resource.
- tracking_
target float - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger_
actions Sequence[ScfProvisioned Concurrency Config Trigger Action Args] - Scheduled provisioned concurrency scaling action.
- version_
provisioned_ floatconcurrency_ num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
- function
Name String - Name of the function for which to set the provisioned concurrency.
- max
Capacity Number - The maximum number of instances.
- min
Capacity Number - The minimum number of instances. It can not be smaller than 1.
- namespace String
- Function namespace. Default value: default.
- provisioned
Type String - Specifies the provisioned concurrency type. Default: Static provisioned concurrency. ConcurrencyUtilizationTracking: Scales the concurrency automatically according to the concurrency utilization. If ConcurrencyUtilizationTracking is passed in, TrackingTarget, MinCapacity and MaxCapacity are required, and VersionProvisionedConcurrencyNum must be 0.
- qualifier String
- Function version number. Note: the $LATEST version does not support provisioned concurrency.
- scf
Provisioned StringConcurrency Config Id - ID of the resource.
- tracking
Target Number - The target concurrency utilization. Range: (0,1) (two decimal places).
- trigger
Actions List<Property Map> - Scheduled provisioned concurrency scaling action.
- version
Provisioned NumberConcurrency Num - Provisioned concurrency amount. Note: there is an upper limit for the sum of provisioned concurrency amounts of all versions, which currently is the function's maximum concurrency quota minus 100.
Supporting Types
ScfProvisionedConcurrencyConfigTriggerAction, ScfProvisionedConcurrencyConfigTriggerActionArgs
- Trigger
Cron stringConfig - Trigger time of the scheduled action in Cron expression. Seven fields are required and should be separated with a space. Note: this field may return null, indicating that no valid values can be obtained.
- Trigger
Name string - Scheduled action name Note: this field may return null, indicating that no valid values can be obtained.
- Trigger
Provisioned doubleConcurrency Num - Target provisioned concurrency of the scheduled scaling action Note: this field may return null, indicating that no valid values can be obtained.
- Provisioned
Type string - The provision type. Value: Default Note: This field may return null, indicating that no valid value can be found.
- Trigger
Cron stringConfig - Trigger time of the scheduled action in Cron expression. Seven fields are required and should be separated with a space. Note: this field may return null, indicating that no valid values can be obtained.
- Trigger
Name string - Scheduled action name Note: this field may return null, indicating that no valid values can be obtained.
- Trigger
Provisioned float64Concurrency Num - Target provisioned concurrency of the scheduled scaling action Note: this field may return null, indicating that no valid values can be obtained.
- Provisioned
Type string - The provision type. Value: Default Note: This field may return null, indicating that no valid value can be found.
- trigger
Cron StringConfig - Trigger time of the scheduled action in Cron expression. Seven fields are required and should be separated with a space. Note: this field may return null, indicating that no valid values can be obtained.
- trigger
Name String - Scheduled action name Note: this field may return null, indicating that no valid values can be obtained.
- trigger
Provisioned DoubleConcurrency Num - Target provisioned concurrency of the scheduled scaling action Note: this field may return null, indicating that no valid values can be obtained.
- provisioned
Type String - The provision type. Value: Default Note: This field may return null, indicating that no valid value can be found.
- trigger
Cron stringConfig - Trigger time of the scheduled action in Cron expression. Seven fields are required and should be separated with a space. Note: this field may return null, indicating that no valid values can be obtained.
- trigger
Name string - Scheduled action name Note: this field may return null, indicating that no valid values can be obtained.
- trigger
Provisioned numberConcurrency Num - Target provisioned concurrency of the scheduled scaling action Note: this field may return null, indicating that no valid values can be obtained.
- provisioned
Type string - The provision type. Value: Default Note: This field may return null, indicating that no valid value can be found.
- trigger_
cron_ strconfig - Trigger time of the scheduled action in Cron expression. Seven fields are required and should be separated with a space. Note: this field may return null, indicating that no valid values can be obtained.
- trigger_
name str - Scheduled action name Note: this field may return null, indicating that no valid values can be obtained.
- trigger_
provisioned_ floatconcurrency_ num - Target provisioned concurrency of the scheduled scaling action Note: this field may return null, indicating that no valid values can be obtained.
- provisioned_
type str - The provision type. Value: Default Note: This field may return null, indicating that no valid value can be found.
- trigger
Cron StringConfig - Trigger time of the scheduled action in Cron expression. Seven fields are required and should be separated with a space. Note: this field may return null, indicating that no valid values can be obtained.
- trigger
Name String - Scheduled action name Note: this field may return null, indicating that no valid values can be obtained.
- trigger
Provisioned NumberConcurrency Num - Target provisioned concurrency of the scheduled scaling action Note: this field may return null, indicating that no valid values can be obtained.
- provisioned
Type String - The provision type. Value: Default Note: This field may return null, indicating that no valid value can be found.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.