TemplateProps
Properties for defining a Template.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-agentrun-template
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkagentrun"
&alicloudroscdkagentrun.TemplateProps {
TemplateName: interface{},
AllowAnonymousManage: interface{},
ArmsConfiguration: interface{},
ContainerConfiguration: interface{},
Cpu: interface{},
CredentialConfiguration: interface{},
Description: interface{},
DiskSize: interface{},
EnableAgent: interface{},
EnvironmentVariables: interface{},
ExecutionRoleArn: interface{},
LogConfiguration: interface{},
Memory: interface{},
NasConfig: interface{},
NetworkConfiguration: interface{},
OssConfiguration: interface{},
SandboxIdleTimeoutInSeconds: interface{},
TemplateConfiguration: interface{},
TemplateType: interface{},
WorkspaceId: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
TemplateName | interface{} | Property templateName: The name of the template. |
AllowAnonymousManage | interface{} | Property allowAnonymousManage: Whether to allow anonymous management. |
ArmsConfiguration | interface{} | Property armsConfiguration: The ARMS configuration. |
ContainerConfiguration | interface{} | Property containerConfiguration: The container configuration. |
Cpu | interface{} | Property cpu: The CPU resource configuration (unit: cores). |
CredentialConfiguration | interface{} | Property credentialConfiguration: The credential configuration. |
Description | interface{} | Property description: The description of the template. |
DiskSize | interface{} | Property diskSize: The disk size (unit: MB). |
EnableAgent | interface{} | Property enableAgent: Whether to enable the sandbox agent. |
EnvironmentVariables | interface{} | Property environmentVariables: The environment variables. |
ExecutionRoleArn | interface{} | Property executionRoleArn: The execution role ARN. |
LogConfiguration | interface{} | Property logConfiguration: The log configuration. |
Memory | interface{} | Property memory: The memory resource configuration (unit: MB). |
NasConfig | interface{} | Property nasConfig: The NAS configuration. |
NetworkConfiguration | interface{} | Property networkConfiguration: The network configuration. |
OssConfiguration | interface{} | Property ossConfiguration: The OSS configuration. |
SandboxIdleTimeoutInSeconds | interface{} | Property sandboxIdleTimeoutInSeconds: The sandbox idle timeout in seconds. |
TemplateConfiguration | interface{} | Property templateConfiguration: The template configuration (flexible object structure, varies by templateType). |
TemplateType | interface{} | Property templateType: The type of the template. |
WorkspaceId | interface{} | Property workspaceId: The workspace ID. |
TemplateNameRequired
TemplateName interface{}
- Type: interface{}
Property templateName: The name of the template.
AllowAnonymousManageOptional
AllowAnonymousManage interface{}
- Type: interface{}
Property allowAnonymousManage: Whether to allow anonymous management.
ArmsConfigurationOptional
ArmsConfiguration interface{}
- Type: interface{}
Property armsConfiguration: The ARMS configuration.
ContainerConfigurationOptional
ContainerConfiguration interface{}
- Type: interface{}
Property containerConfiguration: The container configuration.
Only images based on Browser/Code Interpreter base images are allowed.
CpuOptional
Cpu interface{}
- Type: interface{}
Property cpu: The CPU resource configuration (unit: cores).
CredentialConfigurationOptional
CredentialConfiguration interface{}
- Type: interface{}
Property credentialConfiguration: The credential configuration.
DescriptionOptional
Description interface{}
- Type: interface{}
Property description: The description of the template.
DiskSizeOptional
DiskSize interface{}
- Type: interface{}
Property diskSize: The disk size (unit: MB).
EnableAgentOptional
EnableAgent interface{}
- Type: interface{}
Property enableAgent: Whether to enable the sandbox agent.
EnvironmentVariablesOptional
EnvironmentVariables interface{}
- Type: interface{}
Property environmentVariables: The environment variables.
ExecutionRoleArnOptional
ExecutionRoleArn interface{}
- Type: interface{}
Property executionRoleArn: The execution role ARN.
LogConfigurationOptional
LogConfiguration interface{}
- Type: interface{}
Property logConfiguration: The log configuration.
MemoryOptional
Memory interface{}
- Type: interface{}
Property memory: The memory resource configuration (unit: MB).
NasConfigOptional
NasConfig interface{}
- Type: interface{}
Property nasConfig: The NAS configuration.
NetworkConfigurationOptional
NetworkConfiguration interface{}
- Type: interface{}
Property networkConfiguration: The network configuration.
OssConfigurationOptional
OssConfiguration interface{}
- Type: interface{}
Property ossConfiguration: The OSS configuration.
SandboxIdleTimeoutInSecondsOptional
SandboxIdleTimeoutInSeconds interface{}
- Type: interface{}
Property sandboxIdleTimeoutInSeconds: The sandbox idle timeout in seconds.
TemplateConfigurationOptional
TemplateConfiguration interface{}
- Type: interface{}
Property templateConfiguration: The template configuration (flexible object structure, varies by templateType).
TemplateTypeOptional
TemplateType interface{}
- Type: interface{}
Property templateType: The type of the template.
WorkspaceIdOptional
WorkspaceId interface{}
- Type: interface{}
Property workspaceId: The workspace ID.