AgentlessConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.AgentlessConfiguration

Implements

public final class AgentlessConfiguration
implements JsonSerializable<AgentlessConfiguration>

Details about Agentless configuration.

Constructor Summary

Constructor Description
AgentlessConfiguration()

Creates an instance of AgentlessConfiguration class.

Method Summary

Modifier and Type Method and Description
AutoDiscovery agentlessAutoDiscovery()

Get the agentlessAutoDiscovery property: AutoDiscovery states.

AgentlessEnablement agentlessEnabled()

Get the agentlessEnabled property: Agentless Enablement states.

static AgentlessConfiguration fromJson(JsonReader jsonReader)

Reads an instance of AgentlessConfiguration from the JsonReader.

List<InventoryList> inventoryList()

Get the inventoryList property: Gets or sets the inventory list for inclusion or exclusion from Agentless.

InventoryListKind inventoryListType()

Get the inventoryListType property: Types for inventory list.

List<String> scanners()

Get the scanners property: Gets or sets the scanners for the connector.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AgentlessConfiguration withAgentlessAutoDiscovery(AutoDiscovery agentlessAutoDiscovery)

Set the agentlessAutoDiscovery property: AutoDiscovery states.

AgentlessConfiguration withAgentlessEnabled(AgentlessEnablement agentlessEnabled)

Set the agentlessEnabled property: Agentless Enablement states.

AgentlessConfiguration withInventoryList(List<InventoryList> inventoryList)

Set the inventoryList property: Gets or sets the inventory list for inclusion or exclusion from Agentless.

AgentlessConfiguration withInventoryListType(InventoryListKind inventoryListType)

Set the inventoryListType property: Types for inventory list.

AgentlessConfiguration 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:

the agentlessAutoDiscovery value.

agentlessEnabled

public AgentlessEnablement agentlessEnabled()

Get the agentlessEnabled property: Agentless Enablement states.

Returns:

the agentlessEnabled value.

fromJson

public static AgentlessConfiguration fromJson(JsonReader jsonReader)

Reads an instance of AgentlessConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AgentlessConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AgentlessConfiguration.

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:

the inventoryList value.

inventoryListType

public InventoryListKind inventoryListType()

Get the inventoryListType property: Types for inventory list.

Returns:

the inventoryListType value.

scanners

public List<String> scanners()

Get the scanners property: Gets or sets the scanners for the connector.

Returns:

the scanners value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAgentlessAutoDiscovery

public AgentlessConfiguration withAgentlessAutoDiscovery(AutoDiscovery agentlessAutoDiscovery)

Set the agentlessAutoDiscovery property: AutoDiscovery states.

Parameters:

agentlessAutoDiscovery - the agentlessAutoDiscovery value to set.

Returns:

the AgentlessConfiguration object itself.

withAgentlessEnabled

public AgentlessConfiguration withAgentlessEnabled(AgentlessEnablement agentlessEnabled)

Set the agentlessEnabled property: Agentless Enablement states.

Parameters:

agentlessEnabled - the agentlessEnabled value to set.

Returns:

the AgentlessConfiguration object itself.

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:

inventoryList - the inventoryList value to set.

Returns:

the AgentlessConfiguration object itself.

withInventoryListType

public AgentlessConfiguration withInventoryListType(InventoryListKind inventoryListType)

Set the inventoryListType property: Types for inventory list.

Parameters:

inventoryListType - the inventoryListType value to set.

Returns:

the AgentlessConfiguration object itself.

withScanners

public AgentlessConfiguration withScanners(List<String> scanners)

Set the scanners property: Gets or sets the scanners for the connector.

Parameters:

scanners - the scanners value to set.

Returns:

the AgentlessConfiguration object itself.

Applies to