AdaptiveNetworkHardeningInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. AdaptiveNetworkHardeningInner
- com.
- com.
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 Adaptive |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Effective |
effectiveNetworkSecurityGroups()
Get the effective |
List<Rule> |
rules()
Get the rules property: The security rules which are recommended to be effective on the VM. |
Offset |
rulesCalculationTime()
Get the rules |
void |
validate()
Validates the instance. |
Adaptive |
withEffectiveNetworkSecurityGroups(List<EffectiveNetworkSecurityGroups> effectiveNetworkSecurityGroups)
Set the effective |
Adaptive |
withRules(List<Rule> rules)
Set the rules property: The security rules which are recommended to be effective on the VM. |
Adaptive |
withRulesCalculationTime(OffsetDateTime rulesCalculationTime)
Set the rules |
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
Get the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.
Returns:
rules
public List
Get the rules property: The security rules which are recommended to be effective on the VM.
Returns:
rulesCalculationTime
public OffsetDateTime rulesCalculationTime()
Get the rulesCalculationTime property: The UTC time on which the rules were calculated.
Returns:
validate
public void validate()
Validates the instance.
withEffectiveNetworkSecurityGroups
public AdaptiveNetworkHardeningInner withEffectiveNetworkSecurityGroups(List
Set the effectiveNetworkSecurityGroups property: The Network Security Groups effective on the network interfaces of the protected resource.
Parameters:
Returns:
withRules
public AdaptiveNetworkHardeningInner withRules(List
Set the rules property: The security rules which are recommended to be effective on the VM.
Parameters:
Returns:
withRulesCalculationTime
public AdaptiveNetworkHardeningInner withRulesCalculationTime(OffsetDateTime rulesCalculationTime)
Set the rulesCalculationTime property: The UTC time on which the rules were calculated.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for