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

167 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.NetworkSecurityRule"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule"
name: "NetworkSecurityRule"
nameWithType: "NetworkSecurityRule"
summary: "A network security rule in a network security group."
syntax: "public interface **NetworkSecurityRule**</br> extends <xref href=\"com.microsoft.azure.management.resources.fluentcore.model.HasInner?alt=com.microsoft.azure.management.resources.fluentcore.model.HasInner&text=HasInner\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.implementation.SecurityRuleInner?alt=com.microsoft.azure.management.network.implementation.SecurityRuleInner&text=SecurityRuleInner\" data-throw-if-not-resolved=\"False\" />&gt;, <xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource&text=ChildResource\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.NetworkSecurityGroup?alt=com.microsoft.azure.management.network.NetworkSecurityGroup&text=NetworkSecurityGroup\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.access()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.access()"
name: "access()"
nameWithType: "NetworkSecurityRule.access()"
modifiers:
- "abstract"
syntax: "public abstract SecurityRuleAccess access()"
returns:
description: "the type of access the rule enforces"
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.NetworkSecurityRule.description()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.description()"
name: "description()"
nameWithType: "NetworkSecurityRule.description()"
modifiers:
- "abstract"
syntax: "public abstract String description()"
returns:
description: "the user-defined description of the security rule"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationAddressPrefix()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationAddressPrefix()"
name: "destinationAddressPrefix()"
nameWithType: "NetworkSecurityRule.destinationAddressPrefix()"
modifiers:
- "abstract"
syntax: "public abstract String destinationAddressPrefix()"
returns:
description: "the destination address prefix the rule applies to, expressed using the CIDR notation in the format: \"###.###.###.###/##\",\n and \"*\" means \"any\""
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationAddressPrefixes()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationAddressPrefixes()"
name: "destinationAddressPrefixes()"
nameWithType: "NetworkSecurityRule.destinationAddressPrefixes()"
modifiers:
- "abstract"
syntax: "public abstract List<String> destinationAddressPrefixes()"
returns:
description: "the list of destination address prefixes the rule applies to, expressed using the CIDR notation in the format: \"###.###.###.###/##\",\n and \"*\" means \"any\", or IP addresses"
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.NetworkSecurityRule.destinationApplicationSecurityGroupIds()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationApplicationSecurityGroupIds()"
name: "destinationApplicationSecurityGroupIds()"
nameWithType: "NetworkSecurityRule.destinationApplicationSecurityGroupIds()"
modifiers:
- "abstract"
syntax: "public abstract Set<String> destinationApplicationSecurityGroupIds()"
returns:
description: "list of application security group ids specified as destination"
type: "<xref href=\"java.util.Set?alt=java.util.Set&text=Set\" 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.NetworkSecurityRule.destinationPortRange()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationPortRange()"
name: "destinationPortRange()"
nameWithType: "NetworkSecurityRule.destinationPortRange()"
modifiers:
- "abstract"
syntax: "public abstract String destinationPortRange()"
returns:
description: "the destination port range that the rule applies to, in the format \"##-##\", where \"*\" means any"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationPortRanges()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.destinationPortRanges()"
name: "destinationPortRanges()"
nameWithType: "NetworkSecurityRule.destinationPortRanges()"
modifiers:
- "abstract"
syntax: "public abstract List<String> destinationPortRanges()"
returns:
description: "the destination port ranges that the rule applies to, in the format \"##-##\", where \"*\" means any"
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.NetworkSecurityRule.direction()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.direction()"
name: "direction()"
nameWithType: "NetworkSecurityRule.direction()"
modifiers:
- "abstract"
syntax: "public abstract SecurityRuleDirection direction()"
returns:
description: "the direction of the network traffic that the network security rule applies to."
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.NetworkSecurityRule.priority()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.priority()"
name: "priority()"
nameWithType: "NetworkSecurityRule.priority()"
modifiers:
- "abstract"
syntax: "public abstract int priority()"
returns:
description: "the priority number of this rule based on which this rule will be applied relative to the priority numbers of any other rules specified\n for this network security group"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.protocol()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.protocol()"
name: "protocol()"
nameWithType: "NetworkSecurityRule.protocol()"
modifiers:
- "abstract"
syntax: "public abstract SecurityRuleProtocol protocol()"
returns:
description: "the network protocol the rule applies to"
type: "<xref href=\"com.microsoft.azure.management.network.SecurityRuleProtocol?alt=com.microsoft.azure.management.network.SecurityRuleProtocol&text=SecurityRuleProtocol\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.sourceAddressPrefix()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.sourceAddressPrefix()"
name: "sourceAddressPrefix()"
nameWithType: "NetworkSecurityRule.sourceAddressPrefix()"
modifiers:
- "abstract"
syntax: "public abstract String sourceAddressPrefix()"
returns:
description: "the source address prefix the rule applies to, expressed using the CIDR notation in the format: \"###.###.###.###/##\",\n and \"*\" means \"any\""
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.sourceAddressPrefixes()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.sourceAddressPrefixes()"
name: "sourceAddressPrefixes()"
nameWithType: "NetworkSecurityRule.sourceAddressPrefixes()"
modifiers:
- "abstract"
syntax: "public abstract List<String> sourceAddressPrefixes()"
returns:
description: "the list of source address prefixes the rule applies to, expressed using the CIDR notation in the format: \"###.###.###.###/##\",\n and \"*\" means \"any\", or IP addresses"
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.NetworkSecurityRule.sourceApplicationSecurityGroupIds()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.sourceApplicationSecurityGroupIds()"
name: "sourceApplicationSecurityGroupIds()"
nameWithType: "NetworkSecurityRule.sourceApplicationSecurityGroupIds()"
modifiers:
- "abstract"
syntax: "public abstract Set<String> sourceApplicationSecurityGroupIds()"
returns:
description: "list of application security group ids specified as source"
type: "<xref href=\"java.util.Set?alt=java.util.Set&text=Set\" 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.NetworkSecurityRule.sourcePortRange()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.sourcePortRange()"
name: "sourcePortRange()"
nameWithType: "NetworkSecurityRule.sourcePortRange()"
modifiers:
- "abstract"
syntax: "public abstract String sourcePortRange()"
returns:
description: "the source port range that the rule applies to, in the format \"##-##\", where \"*\" means \"any\""
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.NetworkSecurityRule.sourcePortRanges()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityRule.sourcePortRanges()"
name: "sourcePortRanges()"
nameWithType: "NetworkSecurityRule.sourcePortRanges()"
modifiers:
- "abstract"
syntax: "public abstract List<String> sourcePortRanges()"
returns:
description: "the source port ranges that the rule applies to, in the format \"##-##\", where \"*\" means \"any\""
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;"
type: "interface"
desc: "A network security rule in a network security group."
implements:
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource?alt=com.microsoft.azure.management.resources.fluentcore.arm.models.ChildResource&text=ChildResource\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.NetworkSecurityGroup?alt=com.microsoft.azure.management.network.NetworkSecurityGroup&text=NetworkSecurityGroup\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<xref href=\"com.microsoft.azure.management.resources.fluentcore.model.HasInner?alt=com.microsoft.azure.management.resources.fluentcore.model.HasInner&text=HasInner\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.network.implementation.SecurityRuleInner?alt=com.microsoft.azure.management.network.implementation.SecurityRuleInner&text=SecurityRuleInner\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4