程序包 | 说明 |
---|---|
com.aliyun.sdk.service.ecs20140526.models |
限定符和类型 | 方法和说明 |
---|---|
static RunCommandRequest.Builder |
RunCommandRequest.builder() |
RunCommandRequest.Builder |
RunCommandRequest.Builder.clientToken(String clientToken)
The client token that is used to ensure the idempotence of the request.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.commandContent(String commandContent)
The content of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.containerId(String containerId)
The ID of the container.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.containerName(String containerName)
The name of the container.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.contentEncoding(String contentEncoding)
The encoding mode of command content (`CommandContent`).
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.description(String description)
The description of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.enableParameter(Boolean enableParameter)
Specifies whether to include custom parameters in the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.frequency(String frequency)
The schedule on which to run the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.instanceId(List<String> instanceId)
The IDs of instances on which to run the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.keepCommand(Boolean keepCommand)
Specifies whether to retain the command after the command is run.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.launcher(String launcher)
The launcher for script execution.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.name(String name)
The name of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.ownerAccount(String ownerAccount)
OwnerAccount.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.ownerId(Long ownerId)
OwnerId.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.parameters(Map<String,?> parameters)
The key-value pairs of the custom parameters that are passed in when the command that can include custom parameters is run.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.regionId(String regionId)
The region ID of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.repeatMode(String repeatMode)
Specifies how to run the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.resourceGroupId(String resourceGroupId)
The ID of the resource group to which to assign the command executions.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.resourceTag(List<RunCommandRequest.ResourceTag> resourceTag)
The tags of the instance.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.sourceRegionId(String sourceRegionId)
SourceRegionId.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.tag(List<RunCommandRequest.Tag> tag)
The description of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.terminationMode(String terminationMode)
Specifies how to stop the command task when a command execution is manually stopped or times out.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.timed(Boolean timed)
> This parameter is no longer used and does not take effect.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.timeout(Long timeout)
The timeout period for the command execution.
|
RunCommandRequest.Builder |
RunCommandRequest.toBuilder() |
RunCommandRequest.Builder |
RunCommandRequest.Builder.type(String type)
The language type of the command.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.username(String username)
The username to use to run the command on the ECS instances.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.windowsPasswordName(String windowsPasswordName)
The name of the password to use to run the command on a Windows instance.
|
RunCommandRequest.Builder |
RunCommandRequest.Builder.workingDir(String workingDir)
The working directory of the command on the instance.
|
Copyright © 2024. All rights reserved.