167 строки
12 KiB
YAML
167 строки
12 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule"
|
|
fullName: "com.azure.resourcemanager.network.models.NetworkSecurityRule"
|
|
name: "NetworkSecurityRule"
|
|
nameWithType: "NetworkSecurityRule"
|
|
summary: "A network security rule in a network security group."
|
|
syntax: "public interface **NetworkSecurityRule**</br> extends <xref href=\"com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel?alt=com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel&text=HasInnerModel\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.fluent.models.SecurityRuleInner?alt=com.azure.resourcemanager.network.fluent.models.SecurityRuleInner&text=SecurityRuleInner\" data-throw-if-not-resolved=\"False\" />>, <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.ChildResource?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.ChildResource&text=ChildResource\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.models.NetworkSecurityGroup?alt=com.azure.resourcemanager.network.models.NetworkSecurityGroup&text=NetworkSecurityGroup\" data-throw-if-not-resolved=\"False\" />>"
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.access()"
|
|
fullName: "com.azure.resourcemanager.network.models.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.azure.resourcemanager.network.models.SecurityRuleAccess?alt=com.azure.resourcemanager.network.models.SecurityRuleAccess&text=SecurityRuleAccess\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.description()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.destinationAddressPrefix()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.destinationAddressPrefixes()"
|
|
fullName: "com.azure.resourcemanager.network.models.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\n format: \"###.###.###.###/##\", and \"*\" means \"any\", or IP addresses"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.destinationApplicationSecurityGroupIds()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Set.html\">Set</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.destinationPortRange()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.destinationPortRanges()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.direction()"
|
|
fullName: "com.azure.resourcemanager.network.models.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.azure.resourcemanager.network.models.SecurityRuleDirection?alt=com.azure.resourcemanager.network.models.SecurityRuleDirection&text=SecurityRuleDirection\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.priority()"
|
|
fullName: "com.azure.resourcemanager.network.models.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\n numbers of any other rules specified for this network security group"
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.protocol()"
|
|
fullName: "com.azure.resourcemanager.network.models.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.azure.resourcemanager.network.models.SecurityRuleProtocol?alt=com.azure.resourcemanager.network.models.SecurityRuleProtocol&text=SecurityRuleProtocol\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.sourceAddressPrefix()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.sourceAddressPrefixes()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.sourceApplicationSecurityGroupIds()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Set.html\">Set</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.sourcePortRange()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.network.models.NetworkSecurityRule.sourcePortRanges()"
|
|
fullName: "com.azure.resourcemanager.network.models.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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
type: "interface"
|
|
desc: "A network security rule in a network security group."
|
|
implements:
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.ChildResource?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.ChildResource&text=ChildResource\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.models.NetworkSecurityGroup?alt=com.azure.resourcemanager.network.models.NetworkSecurityGroup&text=NetworkSecurityGroup\" data-throw-if-not-resolved=\"False\" />>"
|
|
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel?alt=com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel&text=HasInnerModel\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.network.fluent.models.SecurityRuleInner?alt=com.azure.resourcemanager.network.fluent.models.SecurityRuleInner&text=SecurityRuleInner\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.network.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0
|