你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkSecurityGroupResourceSettings Class

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<NsgSecurityRule> securityRules()

Get gets or sets Security rules of network security group.

NetworkSecurityGroupResourceSettings withSecurityRules(List<NsgSecurityRule> securityRules)

Set gets or sets Security rules of network security group.

Methods inherited from ResourceSettings

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

NetworkSecurityGroupResourceSettings

public NetworkSecurityGroupResourceSettings()

Method Details

securityRules

public List<NsgSecurityRule> securityRules()

Get gets or sets Security rules of network security group.

Returns:

the securityRules value

withSecurityRules

public NetworkSecurityGroupResourceSettings withSecurityRules(List<NsgSecurityRule> securityRules)

Set gets or sets Security rules of network security group.

Parameters:

securityRules - the securityRules value to set

Returns:

the NetworkSecurityGroupResourceSettings object itself.

Applies to