### YamlMime:JavaType uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet" name: "NetworkRuleSet" nameWithType: "NetworkRuleSet" summary: "Network rule set." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **NetworkRuleSet**
implements <>" constructors: - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.NetworkRuleSet()" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.NetworkRuleSet()" name: "NetworkRuleSet()" nameWithType: "NetworkRuleSet.NetworkRuleSet()" summary: "Creates an instance of NetworkRuleSet class." syntax: "public NetworkRuleSet()" desc: "Creates an instance of NetworkRuleSet class." methods: - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.bypass()" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.bypass()" name: "bypass()" nameWithType: "NetworkRuleSet.bypass()" summary: "Get the bypass property: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices." syntax: "public Bypass bypass()" desc: "Get the bypass property: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics." returns: description: "the bypass value." type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.defaultAction()" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.defaultAction()" name: "defaultAction()" nameWithType: "NetworkRuleSet.defaultAction()" summary: "Get the defaultAction property: Specifies the default action of allow or deny when no other rules match." syntax: "public DefaultAction defaultAction()" desc: "Get the defaultAction property: Specifies the default action of allow or deny when no other rules match." returns: description: "the defaultAction value." type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "NetworkRuleSet.fromJson(JsonReader jsonReader)" summary: "Reads an instance of NetworkRuleSet from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static NetworkRuleSet fromJson(JsonReader jsonReader)" exceptions: - description: "If the deserialized JSON object was missing any required properties." type: "IOException" desc: "Reads an instance of NetworkRuleSet from the JsonReader." returns: description: "An instance of NetworkRuleSet if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.ipRules()" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.ipRules()" name: "ipRules()" nameWithType: "NetworkRuleSet.ipRules()" summary: "Get the ipRules property: Sets the IP ACL rules." syntax: "public List ipRules()" desc: "Get the ipRules property: Sets the IP ACL rules." returns: description: "the ipRules value." type: "List<>" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.resourceAccessRules()" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.resourceAccessRules()" name: "resourceAccessRules()" nameWithType: "NetworkRuleSet.resourceAccessRules()" summary: "Get the resourceAccessRules property: Sets the resource access rules." syntax: "public List resourceAccessRules()" desc: "Get the resourceAccessRules property: Sets the resource access rules." returns: description: "the resourceAccessRules value." type: "List<>" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "NetworkRuleSet.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.validate()" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.validate()" name: "validate()" nameWithType: "NetworkRuleSet.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.virtualNetworkRules()" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.virtualNetworkRules()" name: "virtualNetworkRules()" nameWithType: "NetworkRuleSet.virtualNetworkRules()" summary: "Get the virtualNetworkRules property: Sets the virtual network rules." syntax: "public List virtualNetworkRules()" desc: "Get the virtualNetworkRules property: Sets the virtual network rules." returns: description: "the virtualNetworkRules value." type: "List<>" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withBypass(com.azure.resourcemanager.storage.models.Bypass)" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withBypass(Bypass bypass)" name: "withBypass(Bypass bypass)" nameWithType: "NetworkRuleSet.withBypass(Bypass bypass)" summary: "Set the bypass property: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices." parameters: - description: "the bypass value to set." name: "bypass" type: "" syntax: "public NetworkRuleSet withBypass(Bypass bypass)" desc: "Set the bypass property: Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics." returns: description: "the NetworkRuleSet object itself." type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withDefaultAction(com.azure.resourcemanager.storage.models.DefaultAction)" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withDefaultAction(DefaultAction defaultAction)" name: "withDefaultAction(DefaultAction defaultAction)" nameWithType: "NetworkRuleSet.withDefaultAction(DefaultAction defaultAction)" summary: "Set the defaultAction property: Specifies the default action of allow or deny when no other rules match." parameters: - description: "the defaultAction value to set." name: "defaultAction" type: "" syntax: "public NetworkRuleSet withDefaultAction(DefaultAction defaultAction)" desc: "Set the defaultAction property: Specifies the default action of allow or deny when no other rules match." returns: description: "the NetworkRuleSet object itself." type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withIpRules(java.util.List)" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withIpRules(List ipRules)" name: "withIpRules(List ipRules)" nameWithType: "NetworkRuleSet.withIpRules(List ipRules)" summary: "Set the ipRules property: Sets the IP ACL rules." parameters: - description: "the ipRules value to set." name: "ipRules" type: "List<>" syntax: "public NetworkRuleSet withIpRules(List ipRules)" desc: "Set the ipRules property: Sets the IP ACL rules." returns: description: "the NetworkRuleSet object itself." type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withResourceAccessRules(java.util.List)" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withResourceAccessRules(List resourceAccessRules)" name: "withResourceAccessRules(List resourceAccessRules)" nameWithType: "NetworkRuleSet.withResourceAccessRules(List resourceAccessRules)" summary: "Set the resourceAccessRules property: Sets the resource access rules." parameters: - description: "the resourceAccessRules value to set." name: "resourceAccessRules" type: "List<>" syntax: "public NetworkRuleSet withResourceAccessRules(List resourceAccessRules)" desc: "Set the resourceAccessRules property: Sets the resource access rules." returns: description: "the NetworkRuleSet object itself." type: "" - uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withVirtualNetworkRules(java.util.List)" fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withVirtualNetworkRules(List virtualNetworkRules)" name: "withVirtualNetworkRules(List virtualNetworkRules)" nameWithType: "NetworkRuleSet.withVirtualNetworkRules(List virtualNetworkRules)" summary: "Set the virtualNetworkRules property: Sets the virtual network rules." parameters: - description: "the virtualNetworkRules value to set." name: "virtualNetworkRules" type: "List<>" syntax: "public NetworkRuleSet withVirtualNetworkRules(List virtualNetworkRules)" desc: "Set the virtualNetworkRules property: Sets the virtual network rules." returns: description: "the NetworkRuleSet object itself." type: "" type: "class" desc: "Network rule set." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.storage.models" artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.44.0