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 |
|---|---|
|
static
On |
fromJson(JsonReader jsonReader)
Reads an instance of On |
| String |
machineName()
Get the machine |
| Source |
source()
Get the source property: The platform where the assessed resource resides. |
| String |
sourceComputerId()
Get the source |
|
Json |
toJson(JsonWriter jsonWriter) |
| 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
fromJson
public static OnPremiseResourceDetails fromJson(JsonReader jsonReader)
Reads an instance of OnPremiseResourceDetails from the JsonReader.
Parameters:
Returns:
Throws:
machineName
public String machineName()
Get the machineName property: The name of the machine.
Returns:
source
public Source source()
Get the source property: The platform where the assessed resource resides.
Overrides:
OnPremiseResourceDetails.source()Returns:
sourceComputerId
public String sourceComputerId()
Get the sourceComputerId property: The oms agent Id installed on the machine.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
OnPremiseResourceDetails.toJson(JsonWriter jsonWriter)Parameters:
Throws:
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: