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

132 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule"
name: "NetworkSecurityGroupRule"
nameWithType: "NetworkSecurityGroupRule"
summary: "A network security group rule to apply to an inbound endpoint."
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 **NetworkSecurityGroupRule**"
constructors:
- uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.NetworkSecurityGroupRule()"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.NetworkSecurityGroupRule()"
name: "NetworkSecurityGroupRule()"
nameWithType: "NetworkSecurityGroupRule.NetworkSecurityGroupRule()"
syntax: "public NetworkSecurityGroupRule()"
methods:
- uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.access()"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.access()"
name: "access()"
nameWithType: "NetworkSecurityGroupRule.access()"
summary: "Get possible values include: 'Allow', 'Deny'."
syntax: "public NetworkSecurityGroupRuleAccess access()"
desc: "Get possible values include: 'Allow', 'Deny'."
returns:
description: "the access value"
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkSecurityGroupRuleAccess?alt=com.microsoft.azure.management.batch.NetworkSecurityGroupRuleAccess&text=NetworkSecurityGroupRuleAccess\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.priority()"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.priority()"
name: "priority()"
nameWithType: "NetworkSecurityGroupRule.priority()"
summary: "Get priorities within a pool must be unique and are evaluated in order of priority."
syntax: "public int priority()"
desc: "Get priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400."
returns:
description: "the priority value"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.sourceAddressPrefix()"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.sourceAddressPrefix()"
name: "sourceAddressPrefix()"
nameWithType: "NetworkSecurityGroupRule.sourceAddressPrefix()"
summary: "Get valid values are a single IP address (i.<wbr>e."
syntax: "public String sourceAddressPrefix()"
desc: "Get valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or \\* (for all addresses). If any other values are provided the request fails with HTTP status code 400."
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.batch.NetworkSecurityGroupRule.sourcePortRanges()"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.sourcePortRanges()"
name: "sourcePortRanges()"
nameWithType: "NetworkSecurityGroupRule.sourcePortRanges()"
summary: "Get valid values are '\\*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.<wbr>e."
syntax: "public List<String> sourcePortRanges()"
desc: "Get valid values are '\\*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be \\*."
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.batch.NetworkSecurityGroupRule.withAccess(com.microsoft.azure.management.batch.NetworkSecurityGroupRuleAccess)"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.withAccess(NetworkSecurityGroupRuleAccess access)"
name: "withAccess(NetworkSecurityGroupRuleAccess access)"
nameWithType: "NetworkSecurityGroupRule.withAccess(NetworkSecurityGroupRuleAccess access)"
summary: "Set possible values include: 'Allow', 'Deny'."
parameters:
- description: "the access value to set"
name: "access"
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkSecurityGroupRuleAccess?alt=com.microsoft.azure.management.batch.NetworkSecurityGroupRuleAccess&text=NetworkSecurityGroupRuleAccess\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkSecurityGroupRule withAccess(NetworkSecurityGroupRuleAccess access)"
desc: "Set possible values include: 'Allow', 'Deny'."
returns:
description: "the NetworkSecurityGroupRule object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkSecurityGroupRule?alt=com.microsoft.azure.management.batch.NetworkSecurityGroupRule&text=NetworkSecurityGroupRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.withPriority(int)"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.withPriority(int priority)"
name: "withPriority(int priority)"
nameWithType: "NetworkSecurityGroupRule.withPriority(int priority)"
summary: "Set priorities within a pool must be unique and are evaluated in order of priority."
parameters:
- description: "the priority value to set"
name: "priority"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public NetworkSecurityGroupRule withPriority(int priority)"
desc: "Set priorities within a pool must be unique and are evaluated in order of priority. The lower the number the higher the priority. For example, rules could be specified with order numbers of 150, 250, and 350. The rule with the order number of 150 takes precedence over the rule that has an order of 250. Allowed priorities are 150 to 4096. If any reserved or duplicate values are provided the request fails with HTTP status code 400."
returns:
description: "the NetworkSecurityGroupRule object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkSecurityGroupRule?alt=com.microsoft.azure.management.batch.NetworkSecurityGroupRule&text=NetworkSecurityGroupRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.withSourceAddressPrefix(java.lang.String)"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.withSourceAddressPrefix(String sourceAddressPrefix)"
name: "withSourceAddressPrefix(String sourceAddressPrefix)"
nameWithType: "NetworkSecurityGroupRule.withSourceAddressPrefix(String sourceAddressPrefix)"
summary: "Set valid values are a single IP address (i.<wbr>e."
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 NetworkSecurityGroupRule withSourceAddressPrefix(String sourceAddressPrefix)"
desc: "Set valid values are a single IP address (i.e. 10.10.10.10), IP subnet (i.e. 192.168.1.0/24), default tag, or \\* (for all addresses). If any other values are provided the request fails with HTTP status code 400."
returns:
description: "the NetworkSecurityGroupRule object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkSecurityGroupRule?alt=com.microsoft.azure.management.batch.NetworkSecurityGroupRule&text=NetworkSecurityGroupRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.withSourcePortRanges(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.batch.NetworkSecurityGroupRule.withSourcePortRanges(List<String> sourcePortRanges)"
name: "withSourcePortRanges(List<String> sourcePortRanges)"
nameWithType: "NetworkSecurityGroupRule.withSourcePortRanges(List<String> sourcePortRanges)"
summary: "Set valid values are '\\*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.<wbr>e."
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 NetworkSecurityGroupRule withSourcePortRanges(List<String> sourcePortRanges)"
desc: "Set valid values are '\\*' (for all ports 0 - 65535) or arrays of ports or port ranges (i.e. 100-200). The ports should in the range of 0 to 65535 and the port ranges or ports can't overlap. If any other values are provided the request fails with HTTP status code 400. Default value will be \\*."
returns:
description: "the NetworkSecurityGroupRule object itself."
type: "<xref href=\"com.microsoft.azure.management.batch.NetworkSecurityGroupRule?alt=com.microsoft.azure.management.batch.NetworkSecurityGroupRule&text=NetworkSecurityGroupRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "A network security group rule to apply to an inbound endpoint."
metadata: {}
package: "com.microsoft.azure.management.batch"
artifact: com.microsoft.azure:azure-mgmt-batch:1.41.4