Class BastionHostPropertiesFormatNetworkAcls
java.lang.Object
com.azure.resourcemanager.network.models.BastionHostPropertiesFormatNetworkAcls
The BastionHostPropertiesFormatNetworkAcls model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of BastionHostPropertiesFormatNetworkAcls class. -
Method Summary
Modifier and TypeMethodDescriptionipRules()Get the ipRules property: Sets the IP ACL rules for Developer Bastion Host.voidvalidate()Validates the instance.withIpRules(List<IpRule> ipRules) Set the ipRules property: Sets the IP ACL rules for Developer Bastion Host.
-
Constructor Details
-
BastionHostPropertiesFormatNetworkAcls
public BastionHostPropertiesFormatNetworkAcls()Creates an instance of BastionHostPropertiesFormatNetworkAcls class.
-
-
Method Details
-
ipRules
Get the ipRules property: Sets the IP ACL rules for Developer Bastion Host.- Returns:
- the ipRules value.
-
withIpRules
Set the ipRules property: Sets the IP ACL rules for Developer Bastion Host.- Parameters:
ipRules- the ipRules value to set.- Returns:
- the BastionHostPropertiesFormatNetworkAcls object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-