ProvisionConfigProps
Properties for defining a ProvisionConfig.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-fc3-provisionconfig
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkfc3"
&alicloudroscdkfc3.ProvisionConfigProps {
DefaultTarget: interface{},
FunctionName: interface{},
AlwaysAllocateCpu: interface{},
AlwaysAllocateGpu: interface{},
Qualifier: interface{},
ScheduledActions: interface{},
TargetTrackingPolicies: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DefaultTarget | interface{} | Property defaultTarget: The number of target resources to reserve. |
FunctionName | interface{} | Property functionName: Function name. |
AlwaysAllocateCpu | interface{} | Property alwaysAllocateCpu: Whether CPU should always be allocated; |
AlwaysAllocateGpu | interface{} | Property alwaysAllocateGpu: Whether GPU should always be allocated; |
Qualifier | interface{} | Property qualifier: Function alias or LATEST. |
ScheduledActions | interface{} | Property scheduledActions: Timing policy configuration. |
TargetTrackingPolicies | interface{} | Property targetTrackingPolicies: Target tracking policy configuration. |
DefaultTargetRequired
DefaultTarget interface{}
- Type: interface{}
Property defaultTarget: The number of target resources to reserve.
FunctionNameRequired
FunctionName interface{}
- Type: interface{}
Property functionName: Function name.
AlwaysAllocateCpuOptional
AlwaysAllocateCpu interface{}
- Type: interface{}
Property alwaysAllocateCpu: Whether CPU should always be allocated;
defaults to true.
AlwaysAllocateGpuOptional
AlwaysAllocateGpu interface{}
- Type: interface{}
Property alwaysAllocateGpu: Whether GPU should always be allocated;
defaults to true.
QualifierOptional
Qualifier interface{}
- Type: interface{}
Property qualifier: Function alias or LATEST.
ScheduledActionsOptional
ScheduledActions interface{}
- Type: interface{}
Property scheduledActions: Timing policy configuration.
TargetTrackingPoliciesOptional
TargetTrackingPolicies interface{}
- Type: interface{}
Property targetTrackingPolicies: Target tracking policy configuration.