Class InboundSecurityRuleProperties
java.lang.Object
com.azure.resourcemanager.network.fluent.models.InboundSecurityRuleProperties
Properties of the Inbound Security Rules resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of InboundSecurityRuleProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the provisioningState property: The provisioning state of the resource.rules()Get the rules property: List of allowed rules.voidvalidate()Validates the instance.withRules(List<InboundSecurityRules> rules) Set the rules property: List of allowed rules.
-
Constructor Details
-
InboundSecurityRuleProperties
public InboundSecurityRuleProperties()Creates an instance of InboundSecurityRuleProperties class.
-
-
Method Details
-
rules
Get the rules property: List of allowed rules.- Returns:
- the rules value.
-
withRules
Set the rules property: List of allowed rules.- Parameters:
rules- the rules value to set.- Returns:
- the InboundSecurityRuleProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-