VirtualMachineDiagnosticRunCommandInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. VirtualMachineDiagnosticRunCommandInner
- com.
- com.
- com.
public final class VirtualMachineDiagnosticRunCommandInner
extends Resource
Describes a Virtual Machine diagnostic run command.
Constructor Summary
| Constructor | Description |
|---|---|
| VirtualMachineDiagnosticRunCommandInner() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Virtual |
properties()
Get the properties property: Describes the properties of a Virtual Machine diagnostic run command. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Virtual |
withLocation(String location) |
|
Virtual |
withProperties(VirtualMachineRunCommandProperties properties)
Set the properties property: Describes the properties of a Virtual Machine diagnostic run command. |
|
Virtual |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineDiagnosticRunCommandInner
public VirtualMachineDiagnosticRunCommandInner()
Creates an instance of VirtualMachineDiagnosticRunCommandInner class.
Method Details
fromJson
public static VirtualMachineDiagnosticRunCommandInner fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineDiagnosticRunCommandInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VirtualMachineDiagnosticRunCommandInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VirtualMachineDiagnosticRunCommandInner.name()Returns:
properties
public VirtualMachineRunCommandProperties properties()
Get the properties property: Describes the properties of a Virtual Machine diagnostic run command.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineDiagnosticRunCommandInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VirtualMachineDiagnosticRunCommandInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public VirtualMachineDiagnosticRunCommandInner withLocation(String location)
Overrides:
VirtualMachineDiagnosticRunCommandInner.withLocation(String location)Parameters:
withProperties
public VirtualMachineDiagnosticRunCommandInner withProperties(VirtualMachineRunCommandProperties properties)
Set the properties property: Describes the properties of a Virtual Machine diagnostic run command.
Parameters:
Returns:
withTags
public VirtualMachineDiagnosticRunCommandInner withTags(Map<String,String> tags)
Overrides:
VirtualMachineDiagnosticRunCommandInner.withTags(Map<String,String> tags)Parameters: