public final class VirtualMachineExtensionHandlerInstanceView extends Object
Constructor and Description |
---|
VirtualMachineExtensionHandlerInstanceView() |
Modifier and Type | Method and Description |
---|---|
InstanceViewStatus |
status()
Get the status property: The extension handler status.
|
String |
type()
Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
|
String |
typeHandlerVersion()
Get the typeHandlerVersion property: Specifies the version of the script handler.
|
void |
validate()
Validates the instance.
|
VirtualMachineExtensionHandlerInstanceView |
withStatus(InstanceViewStatus status)
Set the status property: The extension handler status.
|
VirtualMachineExtensionHandlerInstanceView |
withType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
|
VirtualMachineExtensionHandlerInstanceView |
withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
|
public VirtualMachineExtensionHandlerInstanceView()
public String type()
public VirtualMachineExtensionHandlerInstanceView withType(String type)
type
- the type value to set.public String typeHandlerVersion()
public VirtualMachineExtensionHandlerInstanceView withTypeHandlerVersion(String typeHandlerVersion)
typeHandlerVersion
- the typeHandlerVersion value to set.public InstanceViewStatus status()
public VirtualMachineExtensionHandlerInstanceView withStatus(InstanceViewStatus status)
status
- the status value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.