WebPubSubNetworkACLs Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.WebPubSubNetworkACLs

public final class WebPubSubNetworkACLs

Network ACLs for the resource.

Constructor Summary

Constructor Description
WebPubSubNetworkACLs()

Creates an instance of WebPubSubNetworkACLs class.

Method Summary

Modifier and Type Method and Description
AclAction defaultAction()

Get the defaultAction property: Azure Networking ACL Action.

List<IpRule> ipRules()

Get the ipRules property: IP rules for filtering public traffic.

List<PrivateEndpointAcl> privateEndpoints()

Get the privateEndpoints property: ACLs for requests from private endpoints.

NetworkAcl publicNetwork()

Get the publicNetwork property: Network ACL.

void validate()

Validates the instance.

WebPubSubNetworkACLs withDefaultAction(AclAction defaultAction)

Set the defaultAction property: Azure Networking ACL Action.

WebPubSubNetworkACLs withIpRules(List<IpRule> ipRules)

Set the ipRules property: IP rules for filtering public traffic.

WebPubSubNetworkACLs withPrivateEndpoints(List<PrivateEndpointAcl> privateEndpoints)

Set the privateEndpoints property: ACLs for requests from private endpoints.

WebPubSubNetworkACLs withPublicNetwork(NetworkAcl publicNetwork)

Set the publicNetwork property: Network ACL.

Methods inherited from java.lang.Object

Constructor Details

WebPubSubNetworkACLs

public WebPubSubNetworkACLs()

Creates an instance of WebPubSubNetworkACLs class.

Method Details

defaultAction

public AclAction defaultAction()

Get the defaultAction property: Azure Networking ACL Action.

Returns:

the defaultAction value.

ipRules

public List<IpRule> ipRules()

Get the ipRules property: IP rules for filtering public traffic.

Returns:

the ipRules value.

privateEndpoints

public List<PrivateEndpointAcl> privateEndpoints()

Get the privateEndpoints property: ACLs for requests from private endpoints.

Returns:

the privateEndpoints value.

publicNetwork

public NetworkAcl publicNetwork()

Get the publicNetwork property: Network ACL.

Returns:

the publicNetwork value.

validate

public void validate()

Validates the instance.

withDefaultAction

public WebPubSubNetworkACLs withDefaultAction(AclAction defaultAction)

Set the defaultAction property: Azure Networking ACL Action.

Parameters:

defaultAction - the defaultAction value to set.

Returns:

the WebPubSubNetworkACLs object itself.

withIpRules

public WebPubSubNetworkACLs withIpRules(List<IpRule> ipRules)

Set the ipRules property: IP rules for filtering public traffic.

Parameters:

ipRules - the ipRules value to set.

Returns:

the WebPubSubNetworkACLs object itself.

withPrivateEndpoints

public WebPubSubNetworkACLs withPrivateEndpoints(List<PrivateEndpointAcl> privateEndpoints)

Set the privateEndpoints property: ACLs for requests from private endpoints.

Parameters:

privateEndpoints - the privateEndpoints value to set.

Returns:

the WebPubSubNetworkACLs object itself.

withPublicNetwork

public WebPubSubNetworkACLs withPublicNetwork(NetworkAcl publicNetwork)

Set the publicNetwork property: Network ACL.

Parameters:

publicNetwork - the publicNetwork value to set.

Returns:

the WebPubSubNetworkACLs object itself.

Applies to