Uses of Class
com.azure.resourcemanager.network.models.AdminRule
Packages that use AdminRule
Package
Description
Package containing the data models for NetworkManagementClient.
-
Uses of AdminRule in com.azure.resourcemanager.network.models
Methods in com.azure.resourcemanager.network.models that return AdminRuleModifier and TypeMethodDescriptionstatic AdminRuleAdminRule.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AdminRule from the JsonReader.AdminRule.withAccess(SecurityConfigurationRuleAccess access) Set the access property: Indicates the access allowed for this particular rule.AdminRule.withDescription(String description) Set the description property: A description for this rule.AdminRule.withDestinationPortRanges(List<String> destinationPortRanges) Set the destinationPortRanges property: The destination port ranges.AdminRule.withDestinations(List<AddressPrefixItem> destinations) Set the destinations property: The destination address prefixes.AdminRule.withDirection(SecurityConfigurationRuleDirection direction) Set the direction property: Indicates if the traffic matched against the rule in inbound or outbound.AdminRule.withPriority(Integer priority) Set the priority property: The priority of the rule.AdminRule.withProtocol(SecurityConfigurationRuleProtocol protocol) Set the protocol property: Network protocol this rule applies to.AdminRule.withSourcePortRanges(List<String> sourcePortRanges) Set the sourcePortRanges property: The source port ranges.AdminRule.withSources(List<AddressPrefixItem> sources) Set the sources property: The CIDR or source IP ranges.