AdaptiveNetworkHardeningInner Class

public final class AdaptiveNetworkHardeningInner
extends ProxyResource

The resource whose properties describes the Adaptive Network Hardening settings for some Azure resource.

Constructor Summary

Constructor Description
AdaptiveNetworkHardeningInner()

Creates an instance of AdaptiveNetworkHardeningInner class.

Method Summary

Modifier and Type Method and Description
List<EffectiveNetworkSecurityGroups> effectiveNetworkSecurityGroups()

Get the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.

List<Rule> rules()

Get the rules property: The security rules which are recommended to be effective on the VM.

OffsetDateTime rulesCalculationTime()

Get the rulesCalculationTime property: The UTC time on which the rules were calculated.

void validate()

Validates the instance.

AdaptiveNetworkHardeningInner withEffectiveNetworkSecurityGroups(List<EffectiveNetworkSecurityGroups> effectiveNetworkSecurityGroups)

Set the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.

AdaptiveNetworkHardeningInner withRules(List<Rule> rules)

Set the rules property: The security rules which are recommended to be effective on the VM.

AdaptiveNetworkHardeningInner withRulesCalculationTime(OffsetDateTime rulesCalculationTime)

Set the rulesCalculationTime property: The UTC time on which the rules were calculated.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

AdaptiveNetworkHardeningInner

public AdaptiveNetworkHardeningInner()

Creates an instance of AdaptiveNetworkHardeningInner class.

Method Details

effectiveNetworkSecurityGroups

public List effectiveNetworkSecurityGroups()

Get the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.

Returns:

the effectiveNetworkSecurityGroups value.

rules

public List rules()

Get the rules property: The security rules which are recommended to be effective on the VM.

Returns:

the rules value.

rulesCalculationTime

public OffsetDateTime rulesCalculationTime()

Get the rulesCalculationTime property: The UTC time on which the rules were calculated.

Returns:

the rulesCalculationTime value.

validate

public void validate()

Validates the instance.

withEffectiveNetworkSecurityGroups

public AdaptiveNetworkHardeningInner withEffectiveNetworkSecurityGroups(List effectiveNetworkSecurityGroups)

Set the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.

Parameters:

effectiveNetworkSecurityGroups - the effectiveNetworkSecurityGroups value to set.

Returns:

the AdaptiveNetworkHardeningInner object itself.

withRules

public AdaptiveNetworkHardeningInner withRules(List rules)

Set the rules property: The security rules which are recommended to be effective on the VM.

Parameters:

rules - the rules value to set.

Returns:

the AdaptiveNetworkHardeningInner object itself.

withRulesCalculationTime

public AdaptiveNetworkHardeningInner withRulesCalculationTime(OffsetDateTime rulesCalculationTime)

Set the rulesCalculationTime property: The UTC time on which the rules were calculated.

Parameters:

rulesCalculationTime - the rulesCalculationTime value to set.

Returns:

the AdaptiveNetworkHardeningInner object itself.

Applies to