Class WebPubSubNetworkACLs

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

public final class WebPubSubNetworkACLs extends Object
Network ACLs for the resource.
  • 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.
    • 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.
    • publicNetwork

      public NetworkAcl publicNetwork()
      Get the publicNetwork property: Network ACL.
      Returns:
      the publicNetwork value.
    • withPublicNetwork

      public WebPubSubNetworkACLs withPublicNetwork(NetworkAcl publicNetwork)
      Set the publicNetwork property: Network ACL.
      Parameters:
      publicNetwork - the publicNetwork value to set.
      Returns:
      the WebPubSubNetworkACLs object itself.
    • privateEndpoints

      public List<PrivateEndpointAcl> privateEndpoints()
      Get the privateEndpoints property: ACLs for requests from private endpoints.
      Returns:
      the privateEndpoints value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.