public static class DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
category
The category of the common command.
|
String |
commandContent
The content of the command, which is Base64-encoded.
|
String |
commandId
The command ID.
|
String |
creationTime
The time when the command was created.
|
String |
description
The description of the command.
|
Boolean |
enableParameter
Indicates whether the custom parameter feature is enabled for the command.
|
Integer |
invokeTimes
The number of tasks created by using the command.
|
Boolean |
latest
Indicates whether the common command is of the latest version.
|
String |
launcher |
String |
name
The name of the command.
|
DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterDefinitions |
parameterDefinitions
The custom parameters.
|
DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterNames |
parameterNames
The custom parameter names that are parsed from the command content specified when the command was created.
|
String |
provider
The provider of the common command.
|
String |
resourceGroupId
The ID of the resource group to which the command belongs.
|
DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandTags |
tags
The tags of the command.
|
Long |
timeout
The timeout period.
|
String |
type
The type of the command.
|
Integer |
version
The version of the common command.
|
String |
workingDir
The execution path of the command.
|
构造器和说明 |
---|
DescribeCommandsResponseBodyCommandsCommand() |
@NameInMap(value="Category") public String category
The category of the common command.
example:“”
@NameInMap(value="CommandContent") public String commandContent
The content of the command, which is Base64-encoded.
Y2QgL3Jvb3Q=
@NameInMap(value="CommandId") public String commandId
The command ID.
example:c-hz01272yr52****
@NameInMap(value="CreationTime") public String creationTime
The time when the command was created.
example:2020-11-17T06:52Z
@NameInMap(value="Description") public String description
The description of the command.
example:testDescription
@NameInMap(value="EnableParameter") public Boolean enableParameter
Indicates whether the custom parameter feature is enabled for the command.
example:true
@NameInMap(value="InvokeTimes") public Integer invokeTimes
The number of tasks created by using the command.
example:2
@NameInMap(value="Latest") public Boolean latest
Indicates whether the common command is of the latest version. If multiple common commands from the same provider (Provider
) belong to the same category and have the same name, these commands are different versions of the same command. This parameter is not returned for the Cloud Assistant commands that you created.
true
@NameInMap(value="Launcher") public String launcher
@NameInMap(value="Name") public String name
The name of the command.
example:testName
@NameInMap(value="ParameterDefinitions") public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterDefinitions parameterDefinitions
The custom parameters.
@NameInMap(value="ParameterNames") public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterNames parameterNames
The custom parameter names that are parsed from the command content specified when the command was created. If the custom parameter feature is disabled, an empty list is returned.
@NameInMap(value="Provider") public String provider
The provider of the common command.
example:AlibabaCloud.ECS.GuestOS
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the command belongs.
example:rg-123******
@NameInMap(value="Tags") public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandTags tags
The tags of the command.
@NameInMap(value="Timeout") public Long timeout
The timeout period. Unit: seconds.
example:3600
@NameInMap(value="Type") public String type
The type of the command.
example:RunShellScript
@NameInMap(value="Version") public Integer version
The version of the common command. If multiple common commands from the same provider (Provider
) belong to the same category and have the same name, these commands are different versions of the same command. This parameter is not returned for the Cloud Assistant commands that you created.
1
@NameInMap(value="WorkingDir") public String workingDir
The execution path of the command.
example:/home/
public DescribeCommandsResponseBodyCommandsCommand()
public static DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand build(Map<String,?> map) throws Exception
Exception
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setCategory(String category)
public String getCategory()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setCommandContent(String commandContent)
public String getCommandContent()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setCommandId(String commandId)
public String getCommandId()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setCreationTime(String creationTime)
public String getCreationTime()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setDescription(String description)
public String getDescription()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setEnableParameter(Boolean enableParameter)
public Boolean getEnableParameter()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setInvokeTimes(Integer invokeTimes)
public Integer getInvokeTimes()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setLatest(Boolean latest)
public Boolean getLatest()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setLauncher(String launcher)
public String getLauncher()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setName(String name)
public String getName()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setParameterDefinitions(DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterDefinitions parameterDefinitions)
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterDefinitions getParameterDefinitions()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setParameterNames(DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterNames parameterNames)
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandParameterNames getParameterNames()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setProvider(String provider)
public String getProvider()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setTags(DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandTags tags)
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommandTags getTags()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setTimeout(Long timeout)
public Long getTimeout()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setType(String type)
public String getType()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setVersion(Integer version)
public Integer getVersion()
public DescribeCommandsResponseBody.DescribeCommandsResponseBodyCommandsCommand setWorkingDir(String workingDir)
public String getWorkingDir()
Copyright © 2024. All rights reserved.