NetworkRuleSetInner Class

public final class NetworkRuleSetInner
extends ProxyResource

Description of topic resource.

Constructor Summary

Constructor Description
NetworkRuleSetInner()

Method Summary

Modifier and Type Method and Description
DefaultAction defaultAction()

Get the defaultAction property: Default Action for Network Rule Set.

List<NWRuleSetIpRules> ipRules()

Get the ipRules property: List of IpRules.

String location()

Get the location property: The geo-location where the resource lives.

PublicNetworkAccessFlag publicNetworkAccess()

Get the publicNetworkAccess property: This determines if traffic is allowed over public network.

SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Boolean trustedServiceAccessEnabled()

Get the trustedServiceAccessEnabled property: Value that indicates whether Trusted Service Access is Enabled or not.

void validate()

Validates the instance.

List<NWRuleSetVirtualNetworkRules> virtualNetworkRules()

Get the virtualNetworkRules property: List VirtualNetwork Rules.

NetworkRuleSetInner withDefaultAction(DefaultAction defaultAction)

Set the defaultAction property: Default Action for Network Rule Set.

NetworkRuleSetInner withIpRules(List<NWRuleSetIpRules> ipRules)

Set the ipRules property: List of IpRules.

NetworkRuleSetInner withPublicNetworkAccess(PublicNetworkAccessFlag publicNetworkAccess)

Set the publicNetworkAccess property: This determines if traffic is allowed over public network.

NetworkRuleSetInner withTrustedServiceAccessEnabled(Boolean trustedServiceAccessEnabled)

Set the trustedServiceAccessEnabled property: Value that indicates whether Trusted Service Access is Enabled or not.

NetworkRuleSetInner withVirtualNetworkRules(List<NWRuleSetVirtualNetworkRules> virtualNetworkRules)

Set the virtualNetworkRules property: List VirtualNetwork Rules.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

NetworkRuleSetInner

public NetworkRuleSetInner()

Method Details

defaultAction

public DefaultAction defaultAction()

Get the defaultAction property: Default Action for Network Rule Set.

Returns:

the defaultAction value.

ipRules

public List ipRules()

Get the ipRules property: List of IpRules.

Returns:

the ipRules value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

publicNetworkAccess

public PublicNetworkAccessFlag publicNetworkAccess()

Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled.

Returns:

the publicNetworkAccess value.

systemData

public SystemData systemData()

Get the systemData property: The system meta data relating to this resource.

Returns:

the systemData value.

trustedServiceAccessEnabled

public Boolean trustedServiceAccessEnabled()

Get the trustedServiceAccessEnabled property: Value that indicates whether Trusted Service Access is Enabled or not.

Returns:

the trustedServiceAccessEnabled value.

validate

public void validate()

Validates the instance.

virtualNetworkRules

public List virtualNetworkRules()

Get the virtualNetworkRules property: List VirtualNetwork Rules.

Returns:

the virtualNetworkRules value.

withDefaultAction

public NetworkRuleSetInner withDefaultAction(DefaultAction defaultAction)

Set the defaultAction property: Default Action for Network Rule Set.

Parameters:

defaultAction - the defaultAction value to set.

Returns:

the NetworkRuleSetInner object itself.

withIpRules

public NetworkRuleSetInner withIpRules(List ipRules)

Set the ipRules property: List of IpRules.

Parameters:

ipRules - the ipRules value to set.

Returns:

the NetworkRuleSetInner object itself.

withPublicNetworkAccess

public NetworkRuleSetInner withPublicNetworkAccess(PublicNetworkAccessFlag publicNetworkAccess)

Set the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the NetworkRuleSetInner object itself.

withTrustedServiceAccessEnabled

public NetworkRuleSetInner withTrustedServiceAccessEnabled(Boolean trustedServiceAccessEnabled)

Set the trustedServiceAccessEnabled property: Value that indicates whether Trusted Service Access is Enabled or not.

Parameters:

trustedServiceAccessEnabled - the trustedServiceAccessEnabled value to set.

Returns:

the NetworkRuleSetInner object itself.

withVirtualNetworkRules

public NetworkRuleSetInner withVirtualNetworkRules(List virtualNetworkRules)

Set the virtualNetworkRules property: List VirtualNetwork Rules.

Parameters:

virtualNetworkRules - the virtualNetworkRules value to set.

Returns:

the NetworkRuleSetInner object itself.

Applies to