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