Class RunCommandResultInner
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.fluent.models.RunCommandResultInner
-
public final class RunCommandResultInner extends Object
run command result.
-
-
Constructor Summary
Constructors Constructor Description RunCommandResultInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerexitCode()Get the exitCode property: The exit code of the command.OffsetDateTimefinishedAt()Get the finishedAt property: The time when the command finished.Stringid()Get the id property: The command id.Stringlogs()Get the logs property: The command output.StringprovisioningState()Get the provisioningState property: provisioning State.Stringreason()Get the reason property: An explanation of why provisioningState is set to failed (if so).OffsetDateTimestartedAt()Get the startedAt property: The time when the command started.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The command id.- Returns:
- the id value.
-
provisioningState
public String provisioningState()
Get the provisioningState property: provisioning State.- Returns:
- the provisioningState value.
-
exitCode
public Integer exitCode()
Get the exitCode property: The exit code of the command.- Returns:
- the exitCode value.
-
startedAt
public OffsetDateTime startedAt()
Get the startedAt property: The time when the command started.- Returns:
- the startedAt value.
-
finishedAt
public OffsetDateTime finishedAt()
Get the finishedAt property: The time when the command finished.- Returns:
- the finishedAt value.
-
logs
public String logs()
Get the logs property: The command output.- Returns:
- the logs value.
-
reason
public String reason()
Get the reason property: An explanation of why provisioningState is set to failed (if so).- Returns:
- the reason value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-