AgentlessConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. AgentlessConfiguration
- com.
Implements
public final class AgentlessConfiguration
implements JsonSerializable<AgentlessConfiguration>
Details about Agentless configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| AgentlessConfiguration() |
Creates an instance of Agentless |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Auto |
agentlessAutoDiscovery()
Get the agentless |
|
Agentless |
agentlessEnabled()
Get the agentless |
|
static
Agentless |
fromJson(JsonReader jsonReader)
Reads an instance of Agentless |
|
List<Inventory |
inventoryList()
Get the inventory |
|
Inventory |
inventoryListType()
Get the inventory |
| List<String> |
scanners()
Get the scanners property: Gets or sets the scanners for the connector. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Agentless |
withAgentlessAutoDiscovery(AutoDiscovery agentlessAutoDiscovery)
Set the agentless |
|
Agentless |
withAgentlessEnabled(AgentlessEnablement agentlessEnabled)
Set the agentless |
|
Agentless |
withInventoryList(List<InventoryList> inventoryList)
Set the inventory |
|
Agentless |
withInventoryListType(InventoryListKind inventoryListType)
Set the inventory |
|
Agentless |
withScanners(List<String> scanners)
Set the scanners property: Gets or sets the scanners for the connector. |
Methods inherited from java.lang.Object
Constructor Details
AgentlessConfiguration
public AgentlessConfiguration()
Creates an instance of AgentlessConfiguration class.
Method Details
agentlessAutoDiscovery
public AutoDiscovery agentlessAutoDiscovery()
Get the agentlessAutoDiscovery property: AutoDiscovery states.
Returns:
agentlessEnabled
public AgentlessEnablement agentlessEnabled()
Get the agentlessEnabled property: Agentless Enablement states.
Returns:
fromJson
public static AgentlessConfiguration fromJson(JsonReader jsonReader)
Reads an instance of AgentlessConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
inventoryList
public List<InventoryList> inventoryList()
Get the inventoryList property: Gets or sets the inventory list for inclusion or exclusion from Agentless. Will be ignored if agentless auto-discovery is enabled.
Returns:
inventoryListType
public InventoryListKind inventoryListType()
Get the inventoryListType property: Types for inventory list.
Returns:
scanners
public List<String> scanners()
Get the scanners property: Gets or sets the scanners for the connector.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAgentlessAutoDiscovery
public AgentlessConfiguration withAgentlessAutoDiscovery(AutoDiscovery agentlessAutoDiscovery)
Set the agentlessAutoDiscovery property: AutoDiscovery states.
Parameters:
Returns:
withAgentlessEnabled
public AgentlessConfiguration withAgentlessEnabled(AgentlessEnablement agentlessEnabled)
Set the agentlessEnabled property: Agentless Enablement states.
Parameters:
Returns:
withInventoryList
public AgentlessConfiguration withInventoryList(List<InventoryList> inventoryList)
Set the inventoryList property: Gets or sets the inventory list for inclusion or exclusion from Agentless. Will be ignored if agentless auto-discovery is enabled.
Parameters:
Returns:
withInventoryListType
public AgentlessConfiguration withInventoryListType(InventoryListKind inventoryListType)
Set the inventoryListType property: Types for inventory list.
Parameters:
Returns:
withScanners
public AgentlessConfiguration withScanners(List<String> scanners)
Set the scanners property: Gets or sets the scanners for the connector.
Parameters:
Returns: