Class OnPremiseResourceDetails

java.lang.Object
com.azure.resourcemanager.security.models.ResourceDetails
com.azure.resourcemanager.security.models.OnPremiseResourceDetails
Direct Known Subclasses:
OnPremiseSqlResourceDetails

public class OnPremiseResourceDetails extends ResourceDetails
Details of the On Premise resource that was assessed.
  • Constructor Details

    • OnPremiseResourceDetails

      public OnPremiseResourceDetails()
      Creates an instance of OnPremiseResourceDetails class.
  • Method Details

    • workspaceId

      public String workspaceId()
      Get the workspaceId property: Azure resource Id of the workspace the machine is attached to.
      Returns:
      the workspaceId value.
    • withWorkspaceId

      public OnPremiseResourceDetails withWorkspaceId(String workspaceId)
      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

      public String vmuuid()
      Get the vmuuid property: The unique Id of the machine.
      Returns:
      the vmuuid value.
    • withVmuuid

      public OnPremiseResourceDetails withVmuuid(String vmuuid)
      Set the vmuuid property: The unique Id of the machine.
      Parameters:
      vmuuid - the vmuuid value to set.
      Returns:
      the OnPremiseResourceDetails object itself.
    • sourceComputerId

      public String sourceComputerId()
      Get the sourceComputerId property: The oms agent Id installed on the machine.
      Returns:
      the sourceComputerId value.
    • withSourceComputerId

      public OnPremiseResourceDetails withSourceComputerId(String sourceComputerId)
      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

      public String machineName()
      Get the machineName property: The name of the machine.
      Returns:
      the machineName value.
    • withMachineName

      public OnPremiseResourceDetails withMachineName(String machineName)
      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 class ResourceDetails
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.