azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.s...

198 строки
16 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **NetworkRuleSet**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />&gt;"
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 Network<wbr>Rule<wbr>Set 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/Azure<wbr>Services."
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: "<xref href=\"com.azure.resourcemanager.storage.models.Bypass?alt=com.azure.resourcemanager.storage.models.Bypass&text=Bypass\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.defaultAction()"
fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.defaultAction()"
name: "defaultAction()"
nameWithType: "NetworkRuleSet.defaultAction()"
summary: "Get the default<wbr>Action 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: "<xref href=\"com.azure.resourcemanager.storage.models.DefaultAction?alt=com.azure.resourcemanager.storage.models.DefaultAction&text=DefaultAction\" data-throw-if-not-resolved=\"False\" />"
- 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 Network<wbr>Rule<wbr>Set from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static NetworkRuleSet fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
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: "<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.ipRules()"
fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.ipRules()"
name: "ipRules()"
nameWithType: "NetworkRuleSet.ipRules()"
summary: "Get the ip<wbr>Rules property: Sets the IP ACL rules."
syntax: "public List<IpRule> ipRules()"
desc: "Get the ipRules property: Sets the IP ACL rules."
returns:
description: "the ipRules value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.IpRule?alt=com.azure.resourcemanager.storage.models.IpRule&text=IpRule\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.resourceAccessRules()"
fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.resourceAccessRules()"
name: "resourceAccessRules()"
nameWithType: "NetworkRuleSet.resourceAccessRules()"
summary: "Get the resource<wbr>Access<wbr>Rules property: Sets the resource access rules."
syntax: "public List<ResourceAccessRule> resourceAccessRules()"
desc: "Get the resourceAccessRules property: Sets the resource access rules."
returns:
description: "the resourceAccessRules value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.ResourceAccessRule?alt=com.azure.resourcemanager.storage.models.ResourceAccessRule&text=ResourceAccessRule\" data-throw-if-not-resolved=\"False\" />&gt;"
- 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: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- 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 virtual<wbr>Network<wbr>Rules property: Sets the virtual network rules."
syntax: "public List<VirtualNetworkRule> virtualNetworkRules()"
desc: "Get the virtualNetworkRules property: Sets the virtual network rules."
returns:
description: "the virtualNetworkRules value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.VirtualNetworkRule?alt=com.azure.resourcemanager.storage.models.VirtualNetworkRule&text=VirtualNetworkRule\" data-throw-if-not-resolved=\"False\" />&gt;"
- 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/Azure<wbr>Services."
parameters:
- description: "the bypass value to set."
name: "bypass"
type: "<xref href=\"com.azure.resourcemanager.storage.models.Bypass?alt=com.azure.resourcemanager.storage.models.Bypass&text=Bypass\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />"
- 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 default<wbr>Action property: Specifies the default action of allow or deny when no other rules match."
parameters:
- description: "the defaultAction value to set."
name: "defaultAction"
type: "<xref href=\"com.azure.resourcemanager.storage.models.DefaultAction?alt=com.azure.resourcemanager.storage.models.DefaultAction&text=DefaultAction\" data-throw-if-not-resolved=\"False\" />"
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: "<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withIpRules(java.util.List<com.azure.resourcemanager.storage.models.IpRule>)"
fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withIpRules(List<IpRule> ipRules)"
name: "withIpRules(List<IpRule> ipRules)"
nameWithType: "NetworkRuleSet.withIpRules(List<IpRule> ipRules)"
summary: "Set the ip<wbr>Rules property: Sets the IP ACL rules."
parameters:
- description: "the ipRules value to set."
name: "ipRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.IpRule?alt=com.azure.resourcemanager.storage.models.IpRule&text=IpRule\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public NetworkRuleSet withIpRules(List<IpRule> ipRules)"
desc: "Set the ipRules property: Sets the IP ACL rules."
returns:
description: "the NetworkRuleSet object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withResourceAccessRules(java.util.List<com.azure.resourcemanager.storage.models.ResourceAccessRule>)"
fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withResourceAccessRules(List<ResourceAccessRule> resourceAccessRules)"
name: "withResourceAccessRules(List<ResourceAccessRule> resourceAccessRules)"
nameWithType: "NetworkRuleSet.withResourceAccessRules(List<ResourceAccessRule> resourceAccessRules)"
summary: "Set the resource<wbr>Access<wbr>Rules property: Sets the resource access rules."
parameters:
- description: "the resourceAccessRules value to set."
name: "resourceAccessRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.ResourceAccessRule?alt=com.azure.resourcemanager.storage.models.ResourceAccessRule&text=ResourceAccessRule\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public NetworkRuleSet withResourceAccessRules(List<ResourceAccessRule> resourceAccessRules)"
desc: "Set the resourceAccessRules property: Sets the resource access rules."
returns:
description: "the NetworkRuleSet object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withVirtualNetworkRules(java.util.List<com.azure.resourcemanager.storage.models.VirtualNetworkRule>)"
fullName: "com.azure.resourcemanager.storage.models.NetworkRuleSet.withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
name: "withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
nameWithType: "NetworkRuleSet.withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
summary: "Set the virtual<wbr>Network<wbr>Rules property: Sets the virtual network rules."
parameters:
- description: "the virtualNetworkRules value to set."
name: "virtualNetworkRules"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.VirtualNetworkRule?alt=com.azure.resourcemanager.storage.models.VirtualNetworkRule&text=VirtualNetworkRule\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public NetworkRuleSet withVirtualNetworkRules(List<VirtualNetworkRule> virtualNetworkRules)"
desc: "Set the virtualNetworkRules property: Sets the virtual network rules."
returns:
description: "the NetworkRuleSet object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Network rule set."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.NetworkRuleSet?alt=com.azure.resourcemanager.storage.models.NetworkRuleSet&text=NetworkRuleSet\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.storage.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.42.0