NetworkSecurityGroupResourceSettings Class
- java.
lang. Object - com.
microsoft. azure. management. resourcemover. v2021_01_01.ResourceSettings - com.
microsoft. azure. management. resourcemover. v2021_01_01.NetworkSecurityGroupResourceSettings
- com.
- com.
public class NetworkSecurityGroupResourceSettings
extends ResourceSettings
Defines the NSG resource settings.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| NetworkSecurityGroupResourceSettings() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
java.util.List<Nsg |
securityRules()
Get gets or sets Security rules of network security group. |
|
Network |
withSecurityRules(List<NsgSecurityRule> securityRules)
Set gets or sets Security rules of network security group. |
Methods inherited from ResourceSettings
Methods inherited from java.lang.Object
Constructor Details
NetworkSecurityGroupResourceSettings
public NetworkSecurityGroupResourceSettings()
Method Details
securityRules
public List<NsgSecurityRule> securityRules()
Get gets or sets Security rules of network security group.
Returns:
withSecurityRules
public NetworkSecurityGroupResourceSettings withSecurityRules(List<NsgSecurityRule> securityRules)
Set gets or sets Security rules of network security group.
Parameters:
Returns: