Package com.pulumi.alicloud.ecs.inputs
Class EcsInvocationState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.alicloud.ecs.inputs.EcsInvocationState
-
public final class EcsInvocationState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EcsInvocationState.Builder
-
Field Summary
Fields Modifier and Type Field Description static EcsInvocationState
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EcsInvocationState.Builder
builder()
static EcsInvocationState.Builder
builder(EcsInvocationState defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
commandId()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
frequency()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
instanceIds()
java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>
parameters()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
repeatMode()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
status()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
timed()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
username()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
windowsPasswordName()
-
-
-
Field Detail
-
Empty
public static final EcsInvocationState Empty
-
-
Method Detail
-
commandId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> commandId()
- Returns:
- The ID of the command.
-
frequency
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> frequency()
- Returns:
- The schedule on which the recurring execution of the command takes place. Take note of the following items: * The interval between two consecutive executions must be 10 seconds or longer. The minimum interval cannot be less than the timeout period of the execution. * When you set Timed to true, you must specify Frequency. * The value of the Frequency parameter is a cron expression. For more information, see [Cron expression](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/cron-expression).
-
instanceIds
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> instanceIds()
- Returns:
- The list of instances to execute the command. You can specify up to 50 instance IDs.
-
parameters
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> parameters()
- Returns:
- The key-value pairs of custom parameters to be passed in when the custom parameter feature is enabled. Number of custom parameters: 0 to 10.
-
repeatMode
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> repeatMode()
- Returns:
- Specifies how to run the command. Valid values: `Once`, `Period`, `NextRebootOnly`, `EveryReboot`. Default value: When `timed` is set to false and Frequency is not specified, the default value of `repeat_mode` is `Once`. When `Timed` is set to true and Frequency is specified, `period` is used as the value of RepeatMode regardless of whether `repeat_mode` is specified.
-
status
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
- Returns:
- The status of the resource.
-
timed
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> timed()
- Returns:
- Specifies whether to periodically run the command. Default value: `false`.
-
username
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> username()
- Returns:
- The username that is used to run the command on the ECS instance. * For Linux instances, the root username is used. * For Windows instances, the System username is used. * You can also specify other usernames that already exist in the ECS instance to run the command. It is more secure to run Cloud Assistant commands as a regular user. For more information, see [Configure a regular user to run Cloud Assistant commands](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/run-cloud-assistant-commands-as-a-regular-user).
-
windowsPasswordName
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> windowsPasswordName()
- Returns:
- The name of the password used to run the command on a Windows instance.
-
builder
public static EcsInvocationState.Builder builder()
-
builder
public static EcsInvocationState.Builder builder(EcsInvocationState defaults)
-
-