EffectiveNetworkSecurityGroupAssociation Class
- java.
lang. Object - com.
microsoft. azure. management. network. EffectiveNetworkSecurityGroupAssociation
- com.
public class EffectiveNetworkSecurityGroupAssociation
The effective network security group association.
Constructor Summary
Constructor | Description | |
---|---|---|
EffectiveNetworkSecurityGroupAssociation() |
Method Summary
Modifier and Type | Method and Description |
---|---|
com.microsoft.azure.SubResource |
networkInterface()
Get the ID of the network interface if assigned. |
com.microsoft.azure.SubResource |
subnet()
Get the ID of the subnet if assigned. |
Effective |
withNetworkInterface(SubResource networkInterface)
Set the ID of the network interface if assigned. |
Effective |
withSubnet(SubResource subnet)
Set the ID of the subnet if assigned. |
Methods inherited from java.lang.Object
Constructor Details
EffectiveNetworkSecurityGroupAssociation
public EffectiveNetworkSecurityGroupAssociation()
Method Details
networkInterface
public SubResource networkInterface()
Get the ID of the network interface if assigned.
Returns:
subnet
public SubResource subnet()
Get the ID of the subnet if assigned.
Returns:
withNetworkInterface
public EffectiveNetworkSecurityGroupAssociation withNetworkInterface(SubResource networkInterface)
Set the ID of the network interface if assigned.
Parameters:
Returns:
withSubnet
public EffectiveNetworkSecurityGroupAssociation withSubnet(SubResource subnet)
Set the ID of the subnet if assigned.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for