Class OnPremiseResourceDetails
java.lang.Object
com.azure.resourcemanager.security.models.ResourceDetails
com.azure.resourcemanager.security.models.OnPremiseResourceDetails
- Direct Known Subclasses:
OnPremiseSqlResourceDetails
Details of the On Premise resource that was assessed.
-
Constructor Summary
ConstructorDescriptionCreates an instance of OnPremiseResourceDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the machineName property: The name of the machine.Get the sourceComputerId property: The oms agent Id installed on the machine.void
validate()
Validates the instance.vmuuid()
Get the vmuuid property: The unique Id of the machine.withMachineName
(String machineName) Set the machineName property: The name of the machine.withSourceComputerId
(String sourceComputerId) Set the sourceComputerId property: The oms agent Id installed on the machine.withVmuuid
(String vmuuid) Set the vmuuid property: The unique Id of the machine.withWorkspaceId
(String workspaceId) Set the workspaceId property: Azure resource Id of the workspace the machine is attached to.Get the workspaceId property: Azure resource Id of the workspace the machine is attached to.
-
Constructor Details
-
OnPremiseResourceDetails
public OnPremiseResourceDetails()Creates an instance of OnPremiseResourceDetails class.
-
-
Method Details
-
workspaceId
Get the workspaceId property: Azure resource Id of the workspace the machine is attached to.- Returns:
- the workspaceId value.
-
withWorkspaceId
Set the workspaceId property: Azure resource Id of the workspace the machine is attached to.- Parameters:
workspaceId
- the workspaceId value to set.- Returns:
- the OnPremiseResourceDetails object itself.
-
vmuuid
Get the vmuuid property: The unique Id of the machine.- Returns:
- the vmuuid value.
-
withVmuuid
Set the vmuuid property: The unique Id of the machine.- Parameters:
vmuuid
- the vmuuid value to set.- Returns:
- the OnPremiseResourceDetails object itself.
-
sourceComputerId
Get the sourceComputerId property: The oms agent Id installed on the machine.- Returns:
- the sourceComputerId value.
-
withSourceComputerId
Set the sourceComputerId property: The oms agent Id installed on the machine.- Parameters:
sourceComputerId
- the sourceComputerId value to set.- Returns:
- the OnPremiseResourceDetails object itself.
-
machineName
Get the machineName property: The name of the machine.- Returns:
- the machineName value.
-
withMachineName
Set the machineName property: The name of the machine.- Parameters:
machineName
- the machineName value to set.- Returns:
- the OnPremiseResourceDetails object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceDetails
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-