Class MachineExtensionInstanceView
java.lang.Object
com.azure.resourcemanager.connectedvmware.models.MachineExtensionInstanceView
- Direct Known Subclasses:
MachineExtensionPropertiesInstanceView
Describes the Machine Extension Instance View.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()
Get the name property: The machine extension name.status()
Get the status property: Instance view status.type()
Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".Get the typeHandlerVersion property: Specifies the version of the script handler.void
validate()
Validates the instance.Set the status property: Instance view status.
-
Constructor Details
-
MachineExtensionInstanceView
public MachineExtensionInstanceView()
-
-
Method Details
-
name
Get the name property: The machine extension name.- Returns:
- the name value.
-
type
Get the type property: Specifies the type of the extension; an example is "CustomScriptExtension".- Returns:
- the type value.
-
typeHandlerVersion
Get the typeHandlerVersion property: Specifies the version of the script handler.- Returns:
- the typeHandlerVersion value.
-
status
Get the status property: Instance view status.- Returns:
- the status value.
-
withStatus
Set the status property: Instance view status.- Parameters:
status
- the status value to set.- Returns:
- the MachineExtensionInstanceView object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-