### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface"
fullName: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface"
name: "SecurityGroupNetworkInterface"
nameWithType: "SecurityGroupNetworkInterface"
summary: "Network interface and all its associated security rules."
inheritances:
- ""
inheritedClassMethods:
- classRef: ""
methodsRef:
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
- ""
syntax: "public class **SecurityGroupNetworkInterface**"
constructors:
- uid: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.SecurityGroupNetworkInterface()"
fullName: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.SecurityGroupNetworkInterface()"
name: "SecurityGroupNetworkInterface()"
nameWithType: "SecurityGroupNetworkInterface.SecurityGroupNetworkInterface()"
syntax: "public SecurityGroupNetworkInterface()"
methods:
- uid: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.id()"
fullName: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.id()"
name: "id()"
nameWithType: "SecurityGroupNetworkInterface.id()"
summary: "Get iD of the network interface."
syntax: "public String id()"
desc: "Get iD of the network interface."
returns:
description: "the id value"
type: ""
- uid: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.securityRuleAssociations()"
fullName: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.securityRuleAssociations()"
name: "securityRuleAssociations()"
nameWithType: "SecurityGroupNetworkInterface.securityRuleAssociations()"
summary: "Get all security rules associated with the network interface."
syntax: "public SecurityRuleAssociations securityRuleAssociations()"
desc: "Get all security rules associated with the network interface."
returns:
description: "the securityRuleAssociations value"
type: ""
- uid: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.withId(java.lang.String)"
fullName: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.withId(String id)"
name: "withId(String id)"
nameWithType: "SecurityGroupNetworkInterface.withId(String id)"
summary: "Set iD of the network interface."
parameters:
- description: "the id value to set"
name: "id"
type: ""
syntax: "public SecurityGroupNetworkInterface withId(String id)"
desc: "Set iD of the network interface."
returns:
description: "the SecurityGroupNetworkInterface object itself."
type: ""
- uid: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.withSecurityRuleAssociations(com.microsoft.azure.management.network.SecurityRuleAssociations)"
fullName: "com.microsoft.azure.management.network.SecurityGroupNetworkInterface.withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)"
name: "withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)"
nameWithType: "SecurityGroupNetworkInterface.withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)"
summary: "Set all security rules associated with the network interface."
parameters:
- description: "the securityRuleAssociations value to set"
name: "securityRuleAssociations"
type: ""
syntax: "public SecurityGroupNetworkInterface withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)"
desc: "Set all security rules associated with the network interface."
returns:
description: "the SecurityGroupNetworkInterface object itself."
type: ""
type: "class"
desc: "Network interface and all its associated security rules."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4