OnPremiseResourceDetails Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. ResourceDetails - com.
azure. resourcemanager. security. models. OnPremiseResourceDetails
- com.
- com.
public class OnPremiseResourceDetails
extends ResourceDetails
Details of the On Premise resource that was assessed.
Constructor Summary
Constructor | Description |
---|---|
OnPremiseResourceDetails() |
Creates an instance of On |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
machineName()
Get the machine |
String |
sourceComputerId()
Get the source |
void |
validate()
Validates the instance. |
String |
vmuuid()
Get the vmuuid property: The unique Id of the machine. |
On |
withMachineName(String machineName)
Set the machine |
On |
withSourceComputerId(String sourceComputerId)
Set the source |
On |
withVmuuid(String vmuuid)
Set the vmuuid property: The unique Id of the machine. |
On |
withWorkspaceId(String workspaceId)
Set the workspace |
String |
workspaceId()
Get the workspace |
Methods inherited from ResourceDetails
Methods inherited from java.lang.Object
Constructor Details
OnPremiseResourceDetails
public OnPremiseResourceDetails()
Creates an instance of OnPremiseResourceDetails class.
Method Details
machineName
public String machineName()
Get the machineName property: The name of the machine.
Returns:
sourceComputerId
public String sourceComputerId()
Get the sourceComputerId property: The oms agent Id installed on the machine.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
OnPremiseResourceDetails.validate()vmuuid
public String vmuuid()
Get the vmuuid property: The unique Id of the machine.
Returns:
withMachineName
public OnPremiseResourceDetails withMachineName(String machineName)
Set the machineName property: The name of the machine.
Parameters:
Returns:
withSourceComputerId
public OnPremiseResourceDetails withSourceComputerId(String sourceComputerId)
Set the sourceComputerId property: The oms agent Id installed on the machine.
Parameters:
Returns:
withVmuuid
public OnPremiseResourceDetails withVmuuid(String vmuuid)
Set the vmuuid property: The unique Id of the machine.
Parameters:
Returns:
withWorkspaceId
public OnPremiseResourceDetails withWorkspaceId(String workspaceId)
Set the workspaceId property: Azure resource Id of the workspace the machine is attached to.
Parameters:
Returns:
workspaceId
public String workspaceId()
Get the workspaceId property: Azure resource Id of the workspace the machine is attached to.
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