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