RunCommandDocumentInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. fluent. models. RunCommandDocumentBaseInner - com.
azure. resourcemanager. compute. fluent. models. RunCommandDocumentInner
- com.
- com.
public final class RunCommandDocumentInner
extends RunCommandDocumentBaseInner
Describes the properties of a Run Command.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The VM run command description. |
|
static
Run |
fromJson(JsonReader jsonReader)
Reads an instance of Run |
| String |
id()
Get the id property: The VM run command id. |
| String |
label()
Get the label property: The VM run command label. |
|
Operating |
osType()
Get the os |
|
List<Run |
parameters()
Get the parameters property: The parameters used by the script. |
| String |
schema()
Get the schema property: The VM run command schema. |
| List<String> |
script()
Get the script property: The script to be executed. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from RunCommandDocumentBaseInner
Methods inherited from java.lang.Object
Method Details
description
public String description()
Get the description property: The VM run command description.
Overrides:
RunCommandDocumentInner.description()Returns:
fromJson
public static RunCommandDocumentInner fromJson(JsonReader jsonReader)
Reads an instance of RunCommandDocumentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The VM run command id.
Overrides:
RunCommandDocumentInner.id()Returns:
label
public String label()
Get the label property: The VM run command label.
Overrides:
RunCommandDocumentInner.label()Returns:
osType
public OperatingSystemTypes osType()
Get the osType property: The Operating System type.
Overrides:
RunCommandDocumentInner.osType()Returns:
parameters
public List<RunCommandParameterDefinition> parameters()
Get the parameters property: The parameters used by the script.
Returns:
schema
public String schema()
Get the schema property: The VM run command schema.
Overrides:
RunCommandDocumentInner.schema()Returns:
script
public List<String> script()
Get the script property: The script to be executed.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RunCommandDocumentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
RunCommandDocumentInner.validate()