VirtualMachineExtensionHandlerInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineExtensionHandlerInstanceView
- com.
Implements
public final class VirtualMachineExtensionHandlerInstanceView
implements JsonSerializable<VirtualMachineExtensionHandlerInstanceView>
The instance view of a virtual machine extension handler.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineExtensionHandlerInstanceView() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Instance |
status()
Get the status property: The extension handler status. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Specifies the type of the extension; an example is "Custom |
String |
typeHandlerVersion()
Get the type |
void |
validate()
Validates the instance. |
Virtual |
withStatus(InstanceViewStatus status)
Set the status property: The extension handler status. |
Virtual |
withType(String type)
Set the type property: Specifies the type of the extension; an example is "Custom |
Virtual |
withTypeHandlerVersion(String typeHandlerVersion)
Set the type |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineExtensionHandlerInstanceView
public VirtualMachineExtensionHandlerInstanceView()
Creates an instance of VirtualMachineExtensionHandlerInstanceView class.
Method Details
fromJson
public static VirtualMachineExtensionHandlerInstanceView fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineExtensionHandlerInstanceView from the JsonReader.
Parameters:
Returns:
Throws:
status
public InstanceViewStatus status()
Get the status property: The extension handler status.
Returns:
toJson
type
public String type()
Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
Returns:
typeHandlerVersion
public String typeHandlerVersion()
Get the typeHandlerVersion property: Specifies the version of the script handler.
Returns:
validate
public void validate()
Validates the instance.
withStatus
public VirtualMachineExtensionHandlerInstanceView withStatus(InstanceViewStatus status)
Set the status property: The extension handler status.
Parameters:
Returns:
withType
public VirtualMachineExtensionHandlerInstanceView withType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
Parameters:
Returns:
withTypeHandlerVersion
public VirtualMachineExtensionHandlerInstanceView withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
Parameters:
Returns: