NetworkRuleSetInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventhubs. fluent. models. NetworkRuleSetInner
- com.
- com.
public final class NetworkRuleSetInner
extends ProxyResource
Description of topic resource.
Constructor Summary
Constructor | Description | |
---|---|---|
NetworkRuleSetInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Default |
defaultAction()
Get the default |
List<NWRule |
ipRules()
Get the ip |
String |
location()
Get the location property: The geo-location where the resource lives. |
Public |
publicNetworkAccess()
Get the public |
System |
systemData()
Get the system |
Boolean |
trustedServiceAccessEnabled()
Get the trusted |
void |
validate()
Validates the instance. |
List<NWRule |
virtualNetworkRules()
Get the virtual |
Network |
withDefaultAction(DefaultAction defaultAction)
Set the default |
Network |
withIpRules(List<NWRuleSetIpRules> ipRules)
Set the ip |
Network |
withPublicNetworkAccess(PublicNetworkAccessFlag publicNetworkAccess)
Set the public |
Network |
withTrustedServiceAccessEnabled(Boolean trustedServiceAccessEnabled)
Set the trusted |
Network |
withVirtualNetworkRules(List<NWRuleSetVirtualNetworkRules> virtualNetworkRules)
Set the virtual |
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:
ipRules
public List
Get the ipRules property: List of IpRules.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
publicNetworkAccess
public PublicNetworkAccessFlag publicNetworkAccess()
Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
trustedServiceAccessEnabled
public Boolean trustedServiceAccessEnabled()
Get the trustedServiceAccessEnabled property: Value that indicates whether Trusted Service Access is Enabled or not.
Returns:
validate
public void validate()
Validates the instance.
virtualNetworkRules
public List
Get the virtualNetworkRules property: List VirtualNetwork Rules.
Returns:
withDefaultAction
public NetworkRuleSetInner withDefaultAction(DefaultAction defaultAction)
Set the defaultAction property: Default Action for Network Rule Set.
Parameters:
Returns:
withIpRules
public NetworkRuleSetInner withIpRules(List
Set the ipRules property: List of IpRules.
Parameters:
Returns:
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:
Returns:
withTrustedServiceAccessEnabled
public NetworkRuleSetInner withTrustedServiceAccessEnabled(Boolean trustedServiceAccessEnabled)
Set the trustedServiceAccessEnabled property: Value that indicates whether Trusted Service Access is Enabled or not.
Parameters:
Returns:
withVirtualNetworkRules
public NetworkRuleSetInner withVirtualNetworkRules(List
Set the virtualNetworkRules property: List VirtualNetwork Rules.
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