CommandsProps
Properties for defining a Commands
.
See https://www.alibabacloud.com/help/ros/developer-reference/datasource-ecs-commands
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new CommandsProps {
object CommandId = null,
object CommandName = null,
object Description = null,
object RefreshOptions = null,
object Type = null
};
Properties
Name | Type | Description |
---|---|---|
CommandId |
object |
Property commandId: The ID of the command. |
CommandName |
object |
Property commandName: The name of the command. |
Description |
object |
Property description: Command description. |
RefreshOptions |
object |
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated. |
Type |
object |
Property type: The command type. |
CommandId
Optional
public object CommandId { get; set; }
- Type: object
Property commandId: The ID of the command.
CommandName
Optional
public object CommandName { get; set; }
- Type: object
Property commandName: The name of the command.
Partial command names are not supported.
Description
Optional
public object Description { get; set; }
- Type: object
Property description: Command description.
RefreshOptions
Optional
public object RefreshOptions { get; set; }
- Type: object
Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.
Valid values:
- Never: Never refresh the datasource resource when the stack is updated.
- Always: Always refresh the datasource resource when the stack is updated. Default is Never.
Type
Optional
public object Type { get; set; }
- Type: object
Property type: The command type.
Valid values: RunBatScript: batch command, applicable to Windows instances RunPowerShellScript: PowerShell command, applicable to Windows instances RunShellScript: shell command, applicable to Linux instances