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() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
Default |
defaultAction()
Get the default |
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
List<NWRule |
ipRules()
Get the ip |
String |
location()
Get the location property: The geo-location where the resource lives. |
String |
name()
Get the name property: The name of the resource. |
Public |
publicNetworkAccess()
Get the public |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
Boolean |
trustedServiceAccessEnabled()
Get the trusted |
String |
type()
Get the type property: The type of the resource. |
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()
Creates an instance of NetworkRuleSetInner class.
Method Details
defaultAction
public DefaultAction defaultAction()
Get the defaultAction property: Default Action for Network Rule Set.
Returns:
fromJson
public static NetworkRuleSetInner fromJson(JsonReader jsonReader)
Reads an instance of NetworkRuleSetInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
NetworkRuleSetInner.id()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:
name
public String name()
Get the name property: The name of the resource.
Overrides:
NetworkRuleSetInner.name()Returns:
publicNetworkAccess
public PublicNetworkAccessFlag publicNetworkAccess()
Get the publicNetworkAccess property: This determines if traffic is allowed over public network. By default it is enabled. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NetworkRuleSetInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trustedServiceAccessEnabled
public Boolean trustedServiceAccessEnabled()
Get the trustedServiceAccessEnabled property: Value that indicates whether Trusted Service Access is Enabled or not.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
NetworkRuleSetInner.type()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. If value is SecuredByPerimeter then Inbound and Outbound communication is controlled by the network security perimeter and profile's access rules.
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