azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

396 строки
32 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule"
name: "EffectiveNetworkSecurityRule"
nameWithType: "EffectiveNetworkSecurityRule"
summary: "Effective network security rules."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **EffectiveNetworkSecurityRule**"
constructors:
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.EffectiveNetworkSecurityRule()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.EffectiveNetworkSecurityRule()"
name: "EffectiveNetworkSecurityRule()"
nameWithType: "EffectiveNetworkSecurityRule.EffectiveNetworkSecurityRule()"
syntax: "public EffectiveNetworkSecurityRule()"
methods:
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.access()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.access()"
name: "access()"
nameWithType: "EffectiveNetworkSecurityRule.access()"
summary: "Get whether network traffic is allowed or denied."
syntax: "public SecurityRuleAccess access()"
desc: "Get whether network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'."
returns:
description: "the access value"
type: "<xref href=\"com.microsoft.azure.management.network.SecurityRuleAccess?alt=com.microsoft.azure.management.network.SecurityRuleAccess&text=SecurityRuleAccess\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationAddressPrefix()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationAddressPrefix()"
name: "destinationAddressPrefix()"
nameWithType: "EffectiveNetworkSecurityRule.destinationAddressPrefix()"
summary: "Get the destination address prefix."
syntax: "public String destinationAddressPrefix()"
desc: "Get the destination address prefix."
returns:
description: "the destinationAddressPrefix value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationAddressPrefixes()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationAddressPrefixes()"
name: "destinationAddressPrefixes()"
nameWithType: "EffectiveNetworkSecurityRule.destinationAddressPrefixes()"
summary: "Get the destination address prefixes."
syntax: "public List<String> destinationAddressPrefixes()"
desc: "Get the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (\\*)."
returns:
description: "the destinationAddressPrefixes value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationPortRange()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationPortRange()"
name: "destinationPortRange()"
nameWithType: "EffectiveNetworkSecurityRule.destinationPortRange()"
summary: "Get the destination port or range."
syntax: "public String destinationPortRange()"
desc: "Get the destination port or range."
returns:
description: "the destinationPortRange value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationPortRanges()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.destinationPortRanges()"
name: "destinationPortRanges()"
nameWithType: "EffectiveNetworkSecurityRule.destinationPortRanges()"
summary: "Get the destination port ranges."
syntax: "public List<String> destinationPortRanges()"
desc: "Get the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (\\*)."
returns:
description: "the destinationPortRanges value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.direction()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.direction()"
name: "direction()"
nameWithType: "EffectiveNetworkSecurityRule.direction()"
summary: "Get the direction of the rule."
syntax: "public SecurityRuleDirection direction()"
desc: "Get the direction of the rule. Possible values include: 'Inbound', 'Outbound'."
returns:
description: "the direction value"
type: "<xref href=\"com.microsoft.azure.management.network.SecurityRuleDirection?alt=com.microsoft.azure.management.network.SecurityRuleDirection&text=SecurityRuleDirection\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.expandedDestinationAddressPrefix()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.expandedDestinationAddressPrefix()"
name: "expandedDestinationAddressPrefix()"
nameWithType: "EffectiveNetworkSecurityRule.expandedDestinationAddressPrefix()"
summary: "Get expanded destination address prefix."
syntax: "public List<String> expandedDestinationAddressPrefix()"
desc: "Get expanded destination address prefix."
returns:
description: "the expandedDestinationAddressPrefix value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.expandedSourceAddressPrefix()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.expandedSourceAddressPrefix()"
name: "expandedSourceAddressPrefix()"
nameWithType: "EffectiveNetworkSecurityRule.expandedSourceAddressPrefix()"
summary: "Get the expanded source address prefix."
syntax: "public List<String> expandedSourceAddressPrefix()"
desc: "Get the expanded source address prefix."
returns:
description: "the expandedSourceAddressPrefix value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.name()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.name()"
name: "name()"
nameWithType: "EffectiveNetworkSecurityRule.name()"
summary: "Get the name of the security rule specified by the user (if created by the user)."
syntax: "public String name()"
desc: "Get the name of the security rule specified by the user (if created by the user)."
returns:
description: "the name value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.priority()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.priority()"
name: "priority()"
nameWithType: "EffectiveNetworkSecurityRule.priority()"
summary: "Get the priority of the rule."
syntax: "public Integer priority()"
desc: "Get the priority of the rule."
returns:
description: "the priority value"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.protocol()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.protocol()"
name: "protocol()"
nameWithType: "EffectiveNetworkSecurityRule.protocol()"
summary: "Get the network protocol this rule applies to."
syntax: "public EffectiveSecurityRuleProtocol protocol()"
desc: "Get the network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'All'."
returns:
description: "the protocol value"
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveSecurityRuleProtocol?alt=com.microsoft.azure.management.network.EffectiveSecurityRuleProtocol&text=EffectiveSecurityRuleProtocol\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourceAddressPrefix()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourceAddressPrefix()"
name: "sourceAddressPrefix()"
nameWithType: "EffectiveNetworkSecurityRule.sourceAddressPrefix()"
summary: "Get the source address prefix."
syntax: "public String sourceAddressPrefix()"
desc: "Get the source address prefix."
returns:
description: "the sourceAddressPrefix value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourceAddressPrefixes()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourceAddressPrefixes()"
name: "sourceAddressPrefixes()"
nameWithType: "EffectiveNetworkSecurityRule.sourceAddressPrefixes()"
summary: "Get the source address prefixes."
syntax: "public List<String> sourceAddressPrefixes()"
desc: "Get the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (\\*)."
returns:
description: "the sourceAddressPrefixes value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourcePortRange()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourcePortRange()"
name: "sourcePortRange()"
nameWithType: "EffectiveNetworkSecurityRule.sourcePortRange()"
summary: "Get the source port or range."
syntax: "public String sourcePortRange()"
desc: "Get the source port or range."
returns:
description: "the sourcePortRange value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourcePortRanges()"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.sourcePortRanges()"
name: "sourcePortRanges()"
nameWithType: "EffectiveNetworkSecurityRule.sourcePortRanges()"
summary: "Get the source port ranges."
syntax: "public List<String> sourcePortRanges()"
desc: "Get the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (\\*)."
returns:
description: "the sourcePortRanges value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withAccess(com.microsoft.azure.management.network.SecurityRuleAccess)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withAccess(SecurityRuleAccess access)"
name: "withAccess(SecurityRuleAccess access)"
nameWithType: "EffectiveNetworkSecurityRule.withAccess(SecurityRuleAccess access)"
summary: "Set whether network traffic is allowed or denied."
parameters:
- description: "the access value to set"
name: "access"
type: "<xref href=\"com.microsoft.azure.management.network.SecurityRuleAccess?alt=com.microsoft.azure.management.network.SecurityRuleAccess&text=SecurityRuleAccess\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withAccess(SecurityRuleAccess access)"
desc: "Set whether network traffic is allowed or denied. Possible values include: 'Allow', 'Deny'."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationAddressPrefix(java.lang.String)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationAddressPrefix(String destinationAddressPrefix)"
name: "withDestinationAddressPrefix(String destinationAddressPrefix)"
nameWithType: "EffectiveNetworkSecurityRule.withDestinationAddressPrefix(String destinationAddressPrefix)"
summary: "Set the destination address prefix."
parameters:
- description: "the destinationAddressPrefix value to set"
name: "destinationAddressPrefix"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withDestinationAddressPrefix(String destinationAddressPrefix)"
desc: "Set the destination address prefix."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationAddressPrefixes(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)"
name: "withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)"
nameWithType: "EffectiveNetworkSecurityRule.withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)"
summary: "Set the destination address prefixes."
parameters:
- description: "the destinationAddressPrefixes value to set"
name: "destinationAddressPrefixes"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EffectiveNetworkSecurityRule withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)"
desc: "Set the destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (\\*)."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationPortRange(java.lang.String)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationPortRange(String destinationPortRange)"
name: "withDestinationPortRange(String destinationPortRange)"
nameWithType: "EffectiveNetworkSecurityRule.withDestinationPortRange(String destinationPortRange)"
summary: "Set the destination port or range."
parameters:
- description: "the destinationPortRange value to set"
name: "destinationPortRange"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withDestinationPortRange(String destinationPortRange)"
desc: "Set the destination port or range."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationPortRanges(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDestinationPortRanges(List<String> destinationPortRanges)"
name: "withDestinationPortRanges(List<String> destinationPortRanges)"
nameWithType: "EffectiveNetworkSecurityRule.withDestinationPortRanges(List<String> destinationPortRanges)"
summary: "Set the destination port ranges."
parameters:
- description: "the destinationPortRanges value to set"
name: "destinationPortRanges"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EffectiveNetworkSecurityRule withDestinationPortRanges(List<String> destinationPortRanges)"
desc: "Set the destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (\\*)."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDirection(com.microsoft.azure.management.network.SecurityRuleDirection)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withDirection(SecurityRuleDirection direction)"
name: "withDirection(SecurityRuleDirection direction)"
nameWithType: "EffectiveNetworkSecurityRule.withDirection(SecurityRuleDirection direction)"
summary: "Set the direction of the rule."
parameters:
- description: "the direction value to set"
name: "direction"
type: "<xref href=\"com.microsoft.azure.management.network.SecurityRuleDirection?alt=com.microsoft.azure.management.network.SecurityRuleDirection&text=SecurityRuleDirection\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withDirection(SecurityRuleDirection direction)"
desc: "Set the direction of the rule. Possible values include: 'Inbound', 'Outbound'."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withExpandedDestinationAddressPrefix(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)"
name: "withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)"
nameWithType: "EffectiveNetworkSecurityRule.withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)"
summary: "Set expanded destination address prefix."
parameters:
- description: "the expandedDestinationAddressPrefix value to set"
name: "expandedDestinationAddressPrefix"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EffectiveNetworkSecurityRule withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)"
desc: "Set expanded destination address prefix."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withExpandedSourceAddressPrefix(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)"
name: "withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)"
nameWithType: "EffectiveNetworkSecurityRule.withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)"
summary: "Set the expanded source address prefix."
parameters:
- description: "the expandedSourceAddressPrefix value to set"
name: "expandedSourceAddressPrefix"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EffectiveNetworkSecurityRule withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)"
desc: "Set the expanded source address prefix."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withName(java.lang.String)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withName(String name)"
name: "withName(String name)"
nameWithType: "EffectiveNetworkSecurityRule.withName(String name)"
summary: "Set the name of the security rule specified by the user (if created by the user)."
parameters:
- description: "the name value to set"
name: "name"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withName(String name)"
desc: "Set the name of the security rule specified by the user (if created by the user)."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withPriority(java.lang.Integer)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withPriority(Integer priority)"
name: "withPriority(Integer priority)"
nameWithType: "EffectiveNetworkSecurityRule.withPriority(Integer priority)"
summary: "Set the priority of the rule."
parameters:
- description: "the priority value to set"
name: "priority"
type: "<xref href=\"java.lang.Integer?alt=java.lang.Integer&text=Integer\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withPriority(Integer priority)"
desc: "Set the priority of the rule."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withProtocol(com.microsoft.azure.management.network.EffectiveSecurityRuleProtocol)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withProtocol(EffectiveSecurityRuleProtocol protocol)"
name: "withProtocol(EffectiveSecurityRuleProtocol protocol)"
nameWithType: "EffectiveNetworkSecurityRule.withProtocol(EffectiveSecurityRuleProtocol protocol)"
summary: "Set the network protocol this rule applies to."
parameters:
- description: "the protocol value to set"
name: "protocol"
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveSecurityRuleProtocol?alt=com.microsoft.azure.management.network.EffectiveSecurityRuleProtocol&text=EffectiveSecurityRuleProtocol\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withProtocol(EffectiveSecurityRuleProtocol protocol)"
desc: "Set the network protocol this rule applies to. Possible values include: 'Tcp', 'Udp', 'All'."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourceAddressPrefix(java.lang.String)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourceAddressPrefix(String sourceAddressPrefix)"
name: "withSourceAddressPrefix(String sourceAddressPrefix)"
nameWithType: "EffectiveNetworkSecurityRule.withSourceAddressPrefix(String sourceAddressPrefix)"
summary: "Set the source address prefix."
parameters:
- description: "the sourceAddressPrefix value to set"
name: "sourceAddressPrefix"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withSourceAddressPrefix(String sourceAddressPrefix)"
desc: "Set the source address prefix."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourceAddressPrefixes(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourceAddressPrefixes(List<String> sourceAddressPrefixes)"
name: "withSourceAddressPrefixes(List<String> sourceAddressPrefixes)"
nameWithType: "EffectiveNetworkSecurityRule.withSourceAddressPrefixes(List<String> sourceAddressPrefixes)"
summary: "Set the source address prefixes."
parameters:
- description: "the sourceAddressPrefixes value to set"
name: "sourceAddressPrefixes"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EffectiveNetworkSecurityRule withSourceAddressPrefixes(List<String> sourceAddressPrefixes)"
desc: "Set the source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (\\*)."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourcePortRange(java.lang.String)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourcePortRange(String sourcePortRange)"
name: "withSourcePortRange(String sourcePortRange)"
nameWithType: "EffectiveNetworkSecurityRule.withSourcePortRange(String sourcePortRange)"
summary: "Set the source port or range."
parameters:
- description: "the sourcePortRange value to set"
name: "sourcePortRange"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public EffectiveNetworkSecurityRule withSourcePortRange(String sourcePortRange)"
desc: "Set the source port or range."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourcePortRanges(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.network.EffectiveNetworkSecurityRule.withSourcePortRanges(List<String> sourcePortRanges)"
name: "withSourcePortRanges(List<String> sourcePortRanges)"
nameWithType: "EffectiveNetworkSecurityRule.withSourcePortRanges(List<String> sourcePortRanges)"
summary: "Set the source port ranges."
parameters:
- description: "the sourcePortRanges value to set"
name: "sourcePortRanges"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public EffectiveNetworkSecurityRule withSourcePortRanges(List<String> sourcePortRanges)"
desc: "Set the source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (\\*)."
returns:
description: "the EffectiveNetworkSecurityRule object itself."
type: "<xref href=\"com.microsoft.azure.management.network.EffectiveNetworkSecurityRule?alt=com.microsoft.azure.management.network.EffectiveNetworkSecurityRule&text=EffectiveNetworkSecurityRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Effective network security rules."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4