public static final class GetWebshellTokenRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetWebshellTokenRequest.Builder |
appId(String appId)
The ID of the interactive messaging application.
|
GetWebshellTokenRequest |
build() |
GetWebshellTokenRequest.Builder |
containerName(String containerName)
The name of the init container.
|
GetWebshellTokenRequest.Builder |
podName(String podName)
The name of the pod.
|
public GetWebshellTokenRequest.Builder appId(String appId)
The ID of the interactive messaging application.
This parameter is required.
example:017f39b8-dfa4-4e16-a84b-1dcee4b1****
public GetWebshellTokenRequest.Builder containerName(String containerName)
The name of the init container.
Note:
If you specify this parameter, Cloud Assistant runs the command in the specified container of the instances.
If this parameter is specified, the command can run only on Linux instances on which Cloud Assistant Agent 2.2.3.344 or later is installed.
If this parameter is specified, the Username parameter that is specified in a request to call this operation and the WorkingDir parameter that is specified in a request to call the CreateCommand operation do not take effect. You can run the command only in the default working directory of the container by using the default user of the container. For more information, see Use Cloud Assistant to run commands in containers.
If this parameter is specified, only shell scripts can be run in Linux containers. You cannot add a command in the format similar to #!/usr/bin/python at the beginning of a script to specify a script interpreter. For more information, see Use Cloud Assistant to run commands in containers.
ad-helper
public GetWebshellTokenRequest.Builder podName(String podName)
The name of the pod.
This parameter is required.
example:hello-podsdfsdfsdfsdf
public GetWebshellTokenRequest build()
Copyright © 2026. All rights reserved.