Uses of Class
com.azure.resourcemanager.network.models.NetworkRule
Packages that use NetworkRule
Package
Description
Package containing the data models for NetworkManagementClient.
-
Uses of NetworkRule in com.azure.resourcemanager.network.models
Methods in com.azure.resourcemanager.network.models that return NetworkRuleModifier and TypeMethodDescriptionstatic NetworkRuleNetworkRule.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkRule from the JsonReader.NetworkRule.withDescription(String description) Set the description property: Description of the rule.NetworkRule.withDestinationAddresses(List<String> destinationAddresses) Set the destinationAddresses property: List of destination IP addresses or Service Tags.NetworkRule.withDestinationFqdns(List<String> destinationFqdns) Set the destinationFqdns property: List of destination FQDNs.NetworkRule.withDestinationIpGroups(List<String> destinationIpGroups) Set the destinationIpGroups property: List of destination IpGroups for this rule.NetworkRule.withDestinationPorts(List<String> destinationPorts) Set the destinationPorts property: List of destination ports.NetworkRule.withIpProtocols(List<FirewallPolicyRuleNetworkProtocol> ipProtocols) Set the ipProtocols property: Array of FirewallPolicyRuleNetworkProtocols.Set the name property: Name of the rule.NetworkRule.withSourceAddresses(List<String> sourceAddresses) Set the sourceAddresses property: List of source IP addresses for this rule.NetworkRule.withSourceIpGroups(List<String> sourceIpGroups) Set the sourceIpGroups property: List of source IpGroups for this rule.