MachineExtensionInstanceView Class
- java.
lang. Object - com.
azure. resourcemanager. hybridcompute. models. MachineExtensionInstanceView
- com.
public final class MachineExtensionInstanceView
Describes the Machine Extension Instance View.
Constructor Summary
Constructor | Description |
---|---|
MachineExtensionInstanceView() |
Creates an instance of Machine |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: The machine extension name. |
Machine |
status()
Get the status property: Instance view status. |
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. |
Machine |
withName(String name)
Set the name property: The machine extension name. |
Machine |
withStatus(MachineExtensionInstanceViewStatus status)
Set the status property: Instance view status. |
Machine |
withType(String type)
Set the type property: Specifies the type of the extension; an example is "Custom |
Machine |
withTypeHandlerVersion(String typeHandlerVersion)
Set the type |
Methods inherited from java.lang.Object
Constructor Details
MachineExtensionInstanceView
public MachineExtensionInstanceView()
Creates an instance of MachineExtensionInstanceView class.
Method Details
name
public String name()
Get the name property: The machine extension name.
Returns:
status
public MachineExtensionInstanceViewStatus status()
Get the status property: Instance view status.
Returns:
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.
withName
public MachineExtensionInstanceView withName(String name)
Set the name property: The machine extension name.
Parameters:
Returns:
withStatus
public MachineExtensionInstanceView withStatus(MachineExtensionInstanceViewStatus status)
Set the status property: Instance view status.
Parameters:
Returns:
withType
public MachineExtensionInstanceView withType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
Parameters:
Returns:
withTypeHandlerVersion
public MachineExtensionInstanceView withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for