Class NetworkRuleSet
java.lang.Object
com.azure.resourcemanager.elasticsan.models.NetworkRuleSet
A set of rules governing the network accessibility.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.Get the virtualNetworkRules property: The list of virtual network rules.withVirtualNetworkRules
(List<VirtualNetworkRule> virtualNetworkRules) Set the virtualNetworkRules property: The list of virtual network rules.
-
Constructor Details
-
NetworkRuleSet
public NetworkRuleSet()Creates an instance of NetworkRuleSet class.
-
-
Method Details
-
virtualNetworkRules
Get the virtualNetworkRules property: The list of virtual network rules.- Returns:
- the virtualNetworkRules value.
-
withVirtualNetworkRules
Set the virtualNetworkRules property: The list of virtual network rules.- Parameters:
virtualNetworkRules
- the virtualNetworkRules value to set.- Returns:
- the NetworkRuleSet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-