tencentcloud.DlcStandardEngineResourceGroup
Provides a resource to create a DLC standard engine resource group
NOTE: If you are creating a machine learning resource group for the first time, you need to contact DLC product for whitelisting.
NOTE: Field
auto_pause_time
is meaningful only when the values of fieldsauto_launch
andauto_pause
are 0.
Example Usage
Only SQL analysis resource group
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.DlcStandardEngineResourceGroup("example", {
autoLaunch: 0,
autoPause: 0,
autoPauseTime: 10,
dataEngineName: "tf-engine",
dynamicConfigPairs: [{
configItem: "key",
configValue: "value",
}],
engineResourceGroupName: "tf-example",
maxConcurrency: 5,
resourceGroupScene: "SparkSQL",
sparkSize: 16,
sparkSpecMode: "fast",
staticConfigPairs: [{
configItem: "key",
configValue: "value",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.DlcStandardEngineResourceGroup("example",
auto_launch=0,
auto_pause=0,
auto_pause_time=10,
data_engine_name="tf-engine",
dynamic_config_pairs=[{
"config_item": "key",
"config_value": "value",
}],
engine_resource_group_name="tf-example",
max_concurrency=5,
resource_group_scene="SparkSQL",
spark_size=16,
spark_spec_mode="fast",
static_config_pairs=[{
"config_item": "key",
"config_value": "value",
}])
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.NewDlcStandardEngineResourceGroup(ctx, "example", &tencentcloud.DlcStandardEngineResourceGroupArgs{
AutoLaunch: pulumi.Float64(0),
AutoPause: pulumi.Float64(0),
AutoPauseTime: pulumi.Float64(10),
DataEngineName: pulumi.String("tf-engine"),
DynamicConfigPairs: tencentcloud.DlcStandardEngineResourceGroupDynamicConfigPairArray{
&tencentcloud.DlcStandardEngineResourceGroupDynamicConfigPairArgs{
ConfigItem: pulumi.String("key"),
ConfigValue: pulumi.String("value"),
},
},
EngineResourceGroupName: pulumi.String("tf-example"),
MaxConcurrency: pulumi.Float64(5),
ResourceGroupScene: pulumi.String("SparkSQL"),
SparkSize: pulumi.Float64(16),
SparkSpecMode: pulumi.String("fast"),
StaticConfigPairs: tencentcloud.DlcStandardEngineResourceGroupStaticConfigPairArray{
&tencentcloud.DlcStandardEngineResourceGroupStaticConfigPairArgs{
ConfigItem: pulumi.String("key"),
ConfigValue: pulumi.String("value"),
},
},
})
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 example = new Tencentcloud.DlcStandardEngineResourceGroup("example", new()
{
AutoLaunch = 0,
AutoPause = 0,
AutoPauseTime = 10,
DataEngineName = "tf-engine",
DynamicConfigPairs = new[]
{
new Tencentcloud.Inputs.DlcStandardEngineResourceGroupDynamicConfigPairArgs
{
ConfigItem = "key",
ConfigValue = "value",
},
},
EngineResourceGroupName = "tf-example",
MaxConcurrency = 5,
ResourceGroupScene = "SparkSQL",
SparkSize = 16,
SparkSpecMode = "fast",
StaticConfigPairs = new[]
{
new Tencentcloud.Inputs.DlcStandardEngineResourceGroupStaticConfigPairArgs
{
ConfigItem = "key",
ConfigValue = "value",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.DlcStandardEngineResourceGroup;
import com.pulumi.tencentcloud.DlcStandardEngineResourceGroupArgs;
import com.pulumi.tencentcloud.inputs.DlcStandardEngineResourceGroupDynamicConfigPairArgs;
import com.pulumi.tencentcloud.inputs.DlcStandardEngineResourceGroupStaticConfigPairArgs;
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 example = new DlcStandardEngineResourceGroup("example", DlcStandardEngineResourceGroupArgs.builder()
.autoLaunch(0)
.autoPause(0)
.autoPauseTime(10)
.dataEngineName("tf-engine")
.dynamicConfigPairs(DlcStandardEngineResourceGroupDynamicConfigPairArgs.builder()
.configItem("key")
.configValue("value")
.build())
.engineResourceGroupName("tf-example")
.maxConcurrency(5)
.resourceGroupScene("SparkSQL")
.sparkSize(16)
.sparkSpecMode("fast")
.staticConfigPairs(DlcStandardEngineResourceGroupStaticConfigPairArgs.builder()
.configItem("key")
.configValue("value")
.build())
.build());
}
}
resources:
example:
type: tencentcloud:DlcStandardEngineResourceGroup
properties:
autoLaunch: 0
autoPause: 0
autoPauseTime: 10
dataEngineName: tf-engine
dynamicConfigPairs:
- configItem: key
configValue: value
engineResourceGroupName: tf-example
maxConcurrency: 5
resourceGroupScene: SparkSQL
sparkSize: 16
sparkSpecMode: fast
staticConfigPairs:
- configItem: key
configValue: value
Machine learning resource group
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const example = new tencentcloud.DlcStandardEngineResourceGroup("example", {
dataEngineName: "tf-engine",
engineResourceGroupName: "tf-example",
frameType: "machine-learning",
imageName: "pytorch-v2.5.1",
imageType: "built-in",
imageVersion: "97319759-0b80-48b4-a7a7-436d9ef3b666",
maxConcurrency: 5,
pythonCuSpec: "large",
resourceGroupScene: "Artificial-Intelligence",
size: 16,
sparkSize: 16,
sparkSpecMode: "fast",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
example = tencentcloud.DlcStandardEngineResourceGroup("example",
data_engine_name="tf-engine",
engine_resource_group_name="tf-example",
frame_type="machine-learning",
image_name="pytorch-v2.5.1",
image_type="built-in",
image_version="97319759-0b80-48b4-a7a7-436d9ef3b666",
max_concurrency=5,
python_cu_spec="large",
resource_group_scene="Artificial-Intelligence",
size=16,
spark_size=16,
spark_spec_mode="fast")
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.NewDlcStandardEngineResourceGroup(ctx, "example", &tencentcloud.DlcStandardEngineResourceGroupArgs{
DataEngineName: pulumi.String("tf-engine"),
EngineResourceGroupName: pulumi.String("tf-example"),
FrameType: pulumi.String("machine-learning"),
ImageName: pulumi.String("pytorch-v2.5.1"),
ImageType: pulumi.String("built-in"),
ImageVersion: pulumi.String("97319759-0b80-48b4-a7a7-436d9ef3b666"),
MaxConcurrency: pulumi.Float64(5),
PythonCuSpec: pulumi.String("large"),
ResourceGroupScene: pulumi.String("Artificial-Intelligence"),
Size: pulumi.Float64(16),
SparkSize: pulumi.Float64(16),
SparkSpecMode: pulumi.String("fast"),
})
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 example = new Tencentcloud.DlcStandardEngineResourceGroup("example", new()
{
DataEngineName = "tf-engine",
EngineResourceGroupName = "tf-example",
FrameType = "machine-learning",
ImageName = "pytorch-v2.5.1",
ImageType = "built-in",
ImageVersion = "97319759-0b80-48b4-a7a7-436d9ef3b666",
MaxConcurrency = 5,
PythonCuSpec = "large",
ResourceGroupScene = "Artificial-Intelligence",
Size = 16,
SparkSize = 16,
SparkSpecMode = "fast",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.DlcStandardEngineResourceGroup;
import com.pulumi.tencentcloud.DlcStandardEngineResourceGroupArgs;
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 example = new DlcStandardEngineResourceGroup("example", DlcStandardEngineResourceGroupArgs.builder()
.dataEngineName("tf-engine")
.engineResourceGroupName("tf-example")
.frameType("machine-learning")
.imageName("pytorch-v2.5.1")
.imageType("built-in")
.imageVersion("97319759-0b80-48b4-a7a7-436d9ef3b666")
.maxConcurrency(5)
.pythonCuSpec("large")
.resourceGroupScene("Artificial-Intelligence")
.size(16)
.sparkSize(16)
.sparkSpecMode("fast")
.build());
}
}
resources:
example:
type: tencentcloud:DlcStandardEngineResourceGroup
properties:
dataEngineName: tf-engine
engineResourceGroupName: tf-example
frameType: machine-learning
imageName: pytorch-v2.5.1
imageType: built-in
imageVersion: 97319759-0b80-48b4-a7a7-436d9ef3b666
maxConcurrency: 5
pythonCuSpec: large
resourceGroupScene: Artificial-Intelligence
size: 16
sparkSize: 16
sparkSpecMode: fast
Create DlcStandardEngineResourceGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DlcStandardEngineResourceGroup(name: string, args: DlcStandardEngineResourceGroupArgs, opts?: CustomResourceOptions);
@overload
def DlcStandardEngineResourceGroup(resource_name: str,
args: DlcStandardEngineResourceGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DlcStandardEngineResourceGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
data_engine_name: Optional[str] = None,
engine_resource_group_name: Optional[str] = None,
image_version: Optional[str] = None,
executor_cu_spec: Optional[str] = None,
dlc_standard_engine_resource_group_id: Optional[str] = None,
driver_cu_spec: Optional[str] = None,
dynamic_config_pairs: Optional[Sequence[DlcStandardEngineResourceGroupDynamicConfigPairArgs]] = None,
auto_pause: Optional[float] = None,
max_concurrency: Optional[float] = None,
frame_type: Optional[str] = None,
image_name: Optional[str] = None,
image_type: Optional[str] = None,
auto_pause_time: Optional[float] = None,
auto_launch: Optional[float] = None,
python_cu_spec: Optional[str] = None,
min_executor_nums: Optional[float] = None,
network_config_names: Optional[Sequence[str]] = None,
public_domain: Optional[str] = None,
max_executor_nums: Optional[float] = None,
region_name: Optional[str] = None,
registry_id: Optional[str] = None,
resource_group_scene: Optional[str] = None,
size: Optional[float] = None,
spark_size: Optional[float] = None,
spark_spec_mode: Optional[str] = None,
static_config_pairs: Optional[Sequence[DlcStandardEngineResourceGroupStaticConfigPairArgs]] = None)
func NewDlcStandardEngineResourceGroup(ctx *Context, name string, args DlcStandardEngineResourceGroupArgs, opts ...ResourceOption) (*DlcStandardEngineResourceGroup, error)
public DlcStandardEngineResourceGroup(string name, DlcStandardEngineResourceGroupArgs args, CustomResourceOptions? opts = null)
public DlcStandardEngineResourceGroup(String name, DlcStandardEngineResourceGroupArgs args)
public DlcStandardEngineResourceGroup(String name, DlcStandardEngineResourceGroupArgs args, CustomResourceOptions options)
type: tencentcloud:DlcStandardEngineResourceGroup
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 DlcStandardEngineResourceGroupArgs
- 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 DlcStandardEngineResourceGroupArgs
- 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 DlcStandardEngineResourceGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DlcStandardEngineResourceGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DlcStandardEngineResourceGroupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
DlcStandardEngineResourceGroup 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 DlcStandardEngineResourceGroup resource accepts the following input properties:
- Data
Engine stringName - Standard engine name.
- Engine
Resource stringGroup Name - Standard engine resource group name.
- Auto
Launch double - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- Auto
Pause double - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- Auto
Pause doubleTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- Dlc
Standard stringEngine Resource Group Id - ID of the resource.
- Driver
Cu stringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Dynamic
Config List<DlcPairs Standard Engine Resource Group Dynamic Config Pair> - Dynamic parameters of the resource group, effective in the next task.
- Executor
Cu stringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Frame
Type string - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- Image
Name string - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- Image
Type string - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- Image
Version string - Image ID.
- Max
Concurrency double - The number of concurrent tasks is 5 by default.
- Max
Executor doubleNums - Maximum number of executors.
- Min
Executor doubleNums - Minimum number of executors.
- Network
Config List<string>Names - Network configuration name.
- Public
Domain string - Customized mirror domain name.
- Python
Cu stringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- Region
Name string - Custom image location.
- Registry
Id string - Custom image instance ID.
- Resource
Group stringScene - Resource group scenario.
- Size double
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- Spark
Size double - Only the SQL resource group resource limit, only used for the express module.
- Spark
Spec stringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- Static
Config List<DlcPairs Standard Engine Resource Group Static Config Pair> - Static parameters of the resource group, which require restarting the resource group to take effect.
- Data
Engine stringName - Standard engine name.
- Engine
Resource stringGroup Name - Standard engine resource group name.
- Auto
Launch float64 - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- Auto
Pause float64 - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- Auto
Pause float64Time - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- Dlc
Standard stringEngine Resource Group Id - ID of the resource.
- Driver
Cu stringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Dynamic
Config []DlcPairs Standard Engine Resource Group Dynamic Config Pair Args - Dynamic parameters of the resource group, effective in the next task.
- Executor
Cu stringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Frame
Type string - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- Image
Name string - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- Image
Type string - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- Image
Version string - Image ID.
- Max
Concurrency float64 - The number of concurrent tasks is 5 by default.
- Max
Executor float64Nums - Maximum number of executors.
- Min
Executor float64Nums - Minimum number of executors.
- Network
Config []stringNames - Network configuration name.
- Public
Domain string - Customized mirror domain name.
- Python
Cu stringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- Region
Name string - Custom image location.
- Registry
Id string - Custom image instance ID.
- Resource
Group stringScene - Resource group scenario.
- Size float64
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- Spark
Size float64 - Only the SQL resource group resource limit, only used for the express module.
- Spark
Spec stringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- Static
Config []DlcPairs Standard Engine Resource Group Static Config Pair Args - Static parameters of the resource group, which require restarting the resource group to take effect.
- data
Engine StringName - Standard engine name.
- engine
Resource StringGroup Name - Standard engine resource group name.
- auto
Launch Double - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto
Pause Double - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto
Pause DoubleTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- dlc
Standard StringEngine Resource Group Id - ID of the resource.
- driver
Cu StringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic
Config List<DlcPairs Standard Engine Resource Group Dynamic Config Pair> - Dynamic parameters of the resource group, effective in the next task.
- executor
Cu StringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame
Type String - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image
Name String - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image
Type String - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image
Version String - Image ID.
- max
Concurrency Double - The number of concurrent tasks is 5 by default.
- max
Executor DoubleNums - Maximum number of executors.
- min
Executor DoubleNums - Minimum number of executors.
- network
Config List<String>Names - Network configuration name.
- public
Domain String - Customized mirror domain name.
- python
Cu StringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region
Name String - Custom image location.
- registry
Id String - Custom image instance ID.
- resource
Group StringScene - Resource group scenario.
- size Double
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark
Size Double - Only the SQL resource group resource limit, only used for the express module.
- spark
Spec StringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static
Config List<DlcPairs Standard Engine Resource Group Static Config Pair> - Static parameters of the resource group, which require restarting the resource group to take effect.
- data
Engine stringName - Standard engine name.
- engine
Resource stringGroup Name - Standard engine resource group name.
- auto
Launch number - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto
Pause number - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto
Pause numberTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- dlc
Standard stringEngine Resource Group Id - ID of the resource.
- driver
Cu stringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic
Config DlcPairs Standard Engine Resource Group Dynamic Config Pair[] - Dynamic parameters of the resource group, effective in the next task.
- executor
Cu stringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame
Type string - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image
Name string - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image
Type string - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image
Version string - Image ID.
- max
Concurrency number - The number of concurrent tasks is 5 by default.
- max
Executor numberNums - Maximum number of executors.
- min
Executor numberNums - Minimum number of executors.
- network
Config string[]Names - Network configuration name.
- public
Domain string - Customized mirror domain name.
- python
Cu stringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region
Name string - Custom image location.
- registry
Id string - Custom image instance ID.
- resource
Group stringScene - Resource group scenario.
- size number
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark
Size number - Only the SQL resource group resource limit, only used for the express module.
- spark
Spec stringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static
Config DlcPairs Standard Engine Resource Group Static Config Pair[] - Static parameters of the resource group, which require restarting the resource group to take effect.
- data_
engine_ strname - Standard engine name.
- engine_
resource_ strgroup_ name - Standard engine resource group name.
- auto_
launch float - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto_
pause float - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto_
pause_ floattime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- dlc_
standard_ strengine_ resource_ group_ id - ID of the resource.
- driver_
cu_ strspec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic_
config_ Sequence[Dlcpairs Standard Engine Resource Group Dynamic Config Pair Args] - Dynamic parameters of the resource group, effective in the next task.
- executor_
cu_ strspec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame_
type str - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image_
name str - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image_
type str - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image_
version str - Image ID.
- max_
concurrency float - The number of concurrent tasks is 5 by default.
- max_
executor_ floatnums - Maximum number of executors.
- min_
executor_ floatnums - Minimum number of executors.
- network_
config_ Sequence[str]names - Network configuration name.
- public_
domain str - Customized mirror domain name.
- python_
cu_ strspec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region_
name str - Custom image location.
- registry_
id str - Custom image instance ID.
- resource_
group_ strscene - Resource group scenario.
- size float
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark_
size float - Only the SQL resource group resource limit, only used for the express module.
- spark_
spec_ strmode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static_
config_ Sequence[Dlcpairs Standard Engine Resource Group Static Config Pair Args] - Static parameters of the resource group, which require restarting the resource group to take effect.
- data
Engine StringName - Standard engine name.
- engine
Resource StringGroup Name - Standard engine resource group name.
- auto
Launch Number - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto
Pause Number - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto
Pause NumberTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- dlc
Standard StringEngine Resource Group Id - ID of the resource.
- driver
Cu StringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic
Config List<Property Map>Pairs - Dynamic parameters of the resource group, effective in the next task.
- executor
Cu StringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame
Type String - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image
Name String - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image
Type String - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image
Version String - Image ID.
- max
Concurrency Number - The number of concurrent tasks is 5 by default.
- max
Executor NumberNums - Maximum number of executors.
- min
Executor NumberNums - Minimum number of executors.
- network
Config List<String>Names - Network configuration name.
- public
Domain String - Customized mirror domain name.
- python
Cu StringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region
Name String - Custom image location.
- registry
Id String - Custom image instance ID.
- resource
Group StringScene - Resource group scenario.
- size Number
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark
Size Number - Only the SQL resource group resource limit, only used for the express module.
- spark
Spec StringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static
Config List<Property Map>Pairs - Static parameters of the resource group, which require restarting the resource group to take effect.
Outputs
All input properties are implicitly available as output properties. Additionally, the DlcStandardEngineResourceGroup resource produces the following output properties:
- Engine
Resource stringGroup Id - Standard engine resource group ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Engine
Resource stringGroup Id - Standard engine resource group ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- engine
Resource StringGroup Id - Standard engine resource group ID.
- id String
- The provider-assigned unique ID for this managed resource.
- engine
Resource stringGroup Id - Standard engine resource group ID.
- id string
- The provider-assigned unique ID for this managed resource.
- engine_
resource_ strgroup_ id - Standard engine resource group ID.
- id str
- The provider-assigned unique ID for this managed resource.
- engine
Resource StringGroup Id - Standard engine resource group ID.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing DlcStandardEngineResourceGroup Resource
Get an existing DlcStandardEngineResourceGroup 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?: DlcStandardEngineResourceGroupState, opts?: CustomResourceOptions): DlcStandardEngineResourceGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
auto_launch: Optional[float] = None,
auto_pause: Optional[float] = None,
auto_pause_time: Optional[float] = None,
data_engine_name: Optional[str] = None,
dlc_standard_engine_resource_group_id: Optional[str] = None,
driver_cu_spec: Optional[str] = None,
dynamic_config_pairs: Optional[Sequence[DlcStandardEngineResourceGroupDynamicConfigPairArgs]] = None,
engine_resource_group_id: Optional[str] = None,
engine_resource_group_name: Optional[str] = None,
executor_cu_spec: Optional[str] = None,
frame_type: Optional[str] = None,
image_name: Optional[str] = None,
image_type: Optional[str] = None,
image_version: Optional[str] = None,
max_concurrency: Optional[float] = None,
max_executor_nums: Optional[float] = None,
min_executor_nums: Optional[float] = None,
network_config_names: Optional[Sequence[str]] = None,
public_domain: Optional[str] = None,
python_cu_spec: Optional[str] = None,
region_name: Optional[str] = None,
registry_id: Optional[str] = None,
resource_group_scene: Optional[str] = None,
size: Optional[float] = None,
spark_size: Optional[float] = None,
spark_spec_mode: Optional[str] = None,
static_config_pairs: Optional[Sequence[DlcStandardEngineResourceGroupStaticConfigPairArgs]] = None) -> DlcStandardEngineResourceGroup
func GetDlcStandardEngineResourceGroup(ctx *Context, name string, id IDInput, state *DlcStandardEngineResourceGroupState, opts ...ResourceOption) (*DlcStandardEngineResourceGroup, error)
public static DlcStandardEngineResourceGroup Get(string name, Input<string> id, DlcStandardEngineResourceGroupState? state, CustomResourceOptions? opts = null)
public static DlcStandardEngineResourceGroup get(String name, Output<String> id, DlcStandardEngineResourceGroupState state, CustomResourceOptions options)
resources: _: type: tencentcloud:DlcStandardEngineResourceGroup 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.
- Auto
Launch double - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- Auto
Pause double - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- Auto
Pause doubleTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- Data
Engine stringName - Standard engine name.
- Dlc
Standard stringEngine Resource Group Id - ID of the resource.
- Driver
Cu stringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Dynamic
Config List<DlcPairs Standard Engine Resource Group Dynamic Config Pair> - Dynamic parameters of the resource group, effective in the next task.
- Engine
Resource stringGroup Id - Standard engine resource group ID.
- Engine
Resource stringGroup Name - Standard engine resource group name.
- Executor
Cu stringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Frame
Type string - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- Image
Name string - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- Image
Type string - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- Image
Version string - Image ID.
- Max
Concurrency double - The number of concurrent tasks is 5 by default.
- Max
Executor doubleNums - Maximum number of executors.
- Min
Executor doubleNums - Minimum number of executors.
- Network
Config List<string>Names - Network configuration name.
- Public
Domain string - Customized mirror domain name.
- Python
Cu stringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- Region
Name string - Custom image location.
- Registry
Id string - Custom image instance ID.
- Resource
Group stringScene - Resource group scenario.
- Size double
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- Spark
Size double - Only the SQL resource group resource limit, only used for the express module.
- Spark
Spec stringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- Static
Config List<DlcPairs Standard Engine Resource Group Static Config Pair> - Static parameters of the resource group, which require restarting the resource group to take effect.
- Auto
Launch float64 - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- Auto
Pause float64 - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- Auto
Pause float64Time - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- Data
Engine stringName - Standard engine name.
- Dlc
Standard stringEngine Resource Group Id - ID of the resource.
- Driver
Cu stringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Dynamic
Config []DlcPairs Standard Engine Resource Group Dynamic Config Pair Args - Dynamic parameters of the resource group, effective in the next task.
- Engine
Resource stringGroup Id - Standard engine resource group ID.
- Engine
Resource stringGroup Name - Standard engine resource group name.
- Executor
Cu stringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- Frame
Type string - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- Image
Name string - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- Image
Type string - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- Image
Version string - Image ID.
- Max
Concurrency float64 - The number of concurrent tasks is 5 by default.
- Max
Executor float64Nums - Maximum number of executors.
- Min
Executor float64Nums - Minimum number of executors.
- Network
Config []stringNames - Network configuration name.
- Public
Domain string - Customized mirror domain name.
- Python
Cu stringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- Region
Name string - Custom image location.
- Registry
Id string - Custom image instance ID.
- Resource
Group stringScene - Resource group scenario.
- Size float64
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- Spark
Size float64 - Only the SQL resource group resource limit, only used for the express module.
- Spark
Spec stringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- Static
Config []DlcPairs Standard Engine Resource Group Static Config Pair Args - Static parameters of the resource group, which require restarting the resource group to take effect.
- auto
Launch Double - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto
Pause Double - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto
Pause DoubleTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- data
Engine StringName - Standard engine name.
- dlc
Standard StringEngine Resource Group Id - ID of the resource.
- driver
Cu StringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic
Config List<DlcPairs Standard Engine Resource Group Dynamic Config Pair> - Dynamic parameters of the resource group, effective in the next task.
- engine
Resource StringGroup Id - Standard engine resource group ID.
- engine
Resource StringGroup Name - Standard engine resource group name.
- executor
Cu StringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame
Type String - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image
Name String - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image
Type String - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image
Version String - Image ID.
- max
Concurrency Double - The number of concurrent tasks is 5 by default.
- max
Executor DoubleNums - Maximum number of executors.
- min
Executor DoubleNums - Minimum number of executors.
- network
Config List<String>Names - Network configuration name.
- public
Domain String - Customized mirror domain name.
- python
Cu StringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region
Name String - Custom image location.
- registry
Id String - Custom image instance ID.
- resource
Group StringScene - Resource group scenario.
- size Double
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark
Size Double - Only the SQL resource group resource limit, only used for the express module.
- spark
Spec StringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static
Config List<DlcPairs Standard Engine Resource Group Static Config Pair> - Static parameters of the resource group, which require restarting the resource group to take effect.
- auto
Launch number - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto
Pause number - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto
Pause numberTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- data
Engine stringName - Standard engine name.
- dlc
Standard stringEngine Resource Group Id - ID of the resource.
- driver
Cu stringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic
Config DlcPairs Standard Engine Resource Group Dynamic Config Pair[] - Dynamic parameters of the resource group, effective in the next task.
- engine
Resource stringGroup Id - Standard engine resource group ID.
- engine
Resource stringGroup Name - Standard engine resource group name.
- executor
Cu stringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame
Type string - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image
Name string - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image
Type string - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image
Version string - Image ID.
- max
Concurrency number - The number of concurrent tasks is 5 by default.
- max
Executor numberNums - Maximum number of executors.
- min
Executor numberNums - Minimum number of executors.
- network
Config string[]Names - Network configuration name.
- public
Domain string - Customized mirror domain name.
- python
Cu stringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region
Name string - Custom image location.
- registry
Id string - Custom image instance ID.
- resource
Group stringScene - Resource group scenario.
- size number
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark
Size number - Only the SQL resource group resource limit, only used for the express module.
- spark
Spec stringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static
Config DlcPairs Standard Engine Resource Group Static Config Pair[] - Static parameters of the resource group, which require restarting the resource group to take effect.
- auto_
launch float - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto_
pause float - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto_
pause_ floattime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- data_
engine_ strname - Standard engine name.
- dlc_
standard_ strengine_ resource_ group_ id - ID of the resource.
- driver_
cu_ strspec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic_
config_ Sequence[Dlcpairs Standard Engine Resource Group Dynamic Config Pair Args] - Dynamic parameters of the resource group, effective in the next task.
- engine_
resource_ strgroup_ id - Standard engine resource group ID.
- engine_
resource_ strgroup_ name - Standard engine resource group name.
- executor_
cu_ strspec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame_
type str - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image_
name str - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image_
type str - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image_
version str - Image ID.
- max_
concurrency float - The number of concurrent tasks is 5 by default.
- max_
executor_ floatnums - Maximum number of executors.
- min_
executor_ floatnums - Minimum number of executors.
- network_
config_ Sequence[str]names - Network configuration name.
- public_
domain str - Customized mirror domain name.
- python_
cu_ strspec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region_
name str - Custom image location.
- registry_
id str - Custom image instance ID.
- resource_
group_ strscene - Resource group scenario.
- size float
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark_
size float - Only the SQL resource group resource limit, only used for the express module.
- spark_
spec_ strmode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static_
config_ Sequence[Dlcpairs Standard Engine Resource Group Static Config Pair Args] - Static parameters of the resource group, which require restarting the resource group to take effect.
- auto
Launch Number - Automatic start (task submission automatically pulls up the resource group) 0-automatic start, 1-not automatic start.
- auto
Pause Number - Automatically suspend resource groups. 0 - Automatically suspend, 1 - Not automatically suspend.
- auto
Pause NumberTime - Automatic suspension time, in minutes, with a value range of 1-999 (after no tasks have reached AutoPauseTime, the resource group will automatically suspend).
- data
Engine StringName - Standard engine name.
- dlc
Standard StringEngine Resource Group Id - ID of the resource.
- driver
Cu StringSpec - Driver CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- dynamic
Config List<Property Map>Pairs - Dynamic parameters of the resource group, effective in the next task.
- engine
Resource StringGroup Id - Standard engine resource group ID.
- engine
Resource StringGroup Name - Standard engine resource group name.
- executor
Cu StringSpec - Executor CU specifications: Currently supported: small (default, 1 CU), medium (2 CU), large (4 CU), xlarge (8 CU). Memory CUs are CPUs with a ratio of 1:8, m.small (1 CU memory), m.medium (2 CU memory), m.large (4 CU memory), and m.xlarge (8 CU memory).
- frame
Type String - The framework type of the AI type resource group, machine-learning, python, spark-ml, if not filled in, the default is machine-learning.
- image
Name String - Image Name. Example value: image-xxx. If using a built-in image (ImageType is built-in), the ImageName for different frameworks is: machine-learning: pytorch-v2.5.1, scikit-learn-v1.6.0, tensorflow-v2.18.0, python: python-v3.10, spark-m: Standard-S 1.1.
- image
Type String - Image type, build-in: built-in, custom: custom, if not filled in, the default is build-in.
- image
Version String - Image ID.
- max
Concurrency Number - The number of concurrent tasks is 5 by default.
- max
Executor NumberNums - Maximum number of executors.
- min
Executor NumberNums - Minimum number of executors.
- network
Config List<String>Names - Network configuration name.
- public
Domain String - Customized mirror domain name.
- python
Cu StringSpec - The resource limit for a Python stand-alone node in a Python resource group must be smaller than the resource limit for the resource group. Small: 1cu Medium: 2cu Large: 4cu Xlarge: 8cu 4xlarge: 16cu 8xlarge: 32cu 16xlarge: 64cu. If the resource type is high memory, add m before the type.
- region
Name String - Custom image location.
- registry
Id String - Custom image instance ID.
- resource
Group StringScene - Resource group scenario.
- size Number
- The AI resource group is valid, and the upper limit of available resources in the resource group must be less than the upper limit of engine resources.
- spark
Size Number - Only the SQL resource group resource limit, only used for the express module.
- spark
Spec StringMode - Only SQL resource group resource configuration mode, fast: fast mode, custom: custom mode.
- static
Config List<Property Map>Pairs - Static parameters of the resource group, which require restarting the resource group to take effect.
Supporting Types
DlcStandardEngineResourceGroupDynamicConfigPair, DlcStandardEngineResourceGroupDynamicConfigPairArgs
- Config
Item string - Configuration items.
- Config
Value string - Configuration values.
- Config
Item string - Configuration items.
- Config
Value string - Configuration values.
- config
Item String - Configuration items.
- config
Value String - Configuration values.
- config
Item string - Configuration items.
- config
Value string - Configuration values.
- config_
item str - Configuration items.
- config_
value str - Configuration values.
- config
Item String - Configuration items.
- config
Value String - Configuration values.
DlcStandardEngineResourceGroupStaticConfigPair, DlcStandardEngineResourceGroupStaticConfigPairArgs
- Config
Item string - Configuration items.
- Config
Value string - Configuration values.
- Config
Item string - Configuration items.
- Config
Value string - Configuration values.
- config
Item String - Configuration items.
- config
Value String - Configuration values.
- config
Item string - Configuration items.
- config
Value string - Configuration values.
- config_
item str - Configuration items.
- config_
value str - Configuration values.
- config
Item String - Configuration items.
- config
Value String - Configuration values.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.