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 | Description |
---|---|
Virtual |
Creates an instance of Virtual |
Modifier and Type | Method and Description |
---|---|
static
Virtual |
from Reads an instance of Virtual |
Instance |
status()
Get the status property: The extension handler status. |
Json |
to |
String |
type()
Get the type property: Specifies the type of the extension; an example is "Custom |
String |
type Get the type |
void |
validate()
Validates the instance. |
Virtual |
with Set the status property: The extension handler status. |
Virtual |
with Set the type property: Specifies the type of the extension; an example is "Custom |
Virtual |
with Set the type |
Methods inherited from java.lang.Object
VirtualMachineExtensionHandlerInstanceView
public VirtualMachineExtensionHandlerInstanceView()
Creates an instance of VirtualMachineExtensionHandlerInstanceView class.
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:
Azure SDK for Java-feedback
Azure SDK for Java is een open source project. Selecteer een koppeling om feedback te geven: