public final class VirtualMachineExtensionInstanceView extends Object
Constructor and Description |
---|
VirtualMachineExtensionInstanceView() |
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The virtual machine extension name.
|
List<InstanceViewStatus> |
statuses()
Get the statuses property: The resource status information.
|
List<InstanceViewStatus> |
substatuses()
Get the substatuses property: The resource status information.
|
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.
|
VirtualMachineExtensionInstanceView |
withName(String name)
Set the name property: The virtual machine extension name.
|
VirtualMachineExtensionInstanceView |
withStatuses(List<InstanceViewStatus> statuses)
Set the statuses property: The resource status information.
|
VirtualMachineExtensionInstanceView |
withSubstatuses(List<InstanceViewStatus> substatuses)
Set the substatuses property: The resource status information.
|
VirtualMachineExtensionInstanceView |
withType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
|
VirtualMachineExtensionInstanceView |
withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
|
public String name()
public VirtualMachineExtensionInstanceView withName(String name)
name
- the name value to set.public String type()
public VirtualMachineExtensionInstanceView withType(String type)
type
- the type value to set.public String typeHandlerVersion()
public VirtualMachineExtensionInstanceView withTypeHandlerVersion(String typeHandlerVersion)
typeHandlerVersion
- the typeHandlerVersion value to set.public List<InstanceViewStatus> substatuses()
public VirtualMachineExtensionInstanceView withSubstatuses(List<InstanceViewStatus> substatuses)
substatuses
- the substatuses value to set.public List<InstanceViewStatus> statuses()
public VirtualMachineExtensionInstanceView withStatuses(List<InstanceViewStatus> statuses)
statuses
- the statuses value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.