AdaptiveNetworkHardeningEnforceRequest Class

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

public final class AdaptiveNetworkHardeningEnforceRequest

The AdaptiveNetworkHardeningEnforceRequest model.

Constructor Summary

Constructor Description
AdaptiveNetworkHardeningEnforceRequest()

Creates an instance of AdaptiveNetworkHardeningEnforceRequest class.

Method Summary

Modifier and Type Method and Description
List<String> networkSecurityGroups()

Get the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.

List<Rule> rules()

Get the rules property: The rules to enforce.

void validate()

Validates the instance.

AdaptiveNetworkHardeningEnforceRequest withNetworkSecurityGroups(List<String> networkSecurityGroups)

Set the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.

AdaptiveNetworkHardeningEnforceRequest withRules(List<Rule> rules)

Set the rules property: The rules to enforce.

Methods inherited from java.lang.Object

Constructor Details

AdaptiveNetworkHardeningEnforceRequest

public AdaptiveNetworkHardeningEnforceRequest()

Creates an instance of AdaptiveNetworkHardeningEnforceRequest class.

Method Details

networkSecurityGroups

public List networkSecurityGroups()

Get the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.

Returns:

the networkSecurityGroups value.

rules

public List rules()

Get the rules property: The rules to enforce.

Returns:

the rules value.

validate

public void validate()

Validates the instance.

withNetworkSecurityGroups

public AdaptiveNetworkHardeningEnforceRequest withNetworkSecurityGroups(List networkSecurityGroups)

Set the networkSecurityGroups property: The Azure resource IDs of the effective network security groups that will be updated with the created security rules from the Adaptive Network Hardening rules.

Parameters:

networkSecurityGroups - the networkSecurityGroups value to set.

Returns:

the AdaptiveNetworkHardeningEnforceRequest object itself.

withRules

public AdaptiveNetworkHardeningEnforceRequest withRules(List rules)

Set the rules property: The rules to enforce.

Parameters:

rules - the rules value to set.

Returns:

the AdaptiveNetworkHardeningEnforceRequest object itself.

Applies to