Class SignalRNetworkACLs
- java.lang.Object
-
- com.azure.resourcemanager.signalr.models.SignalRNetworkACLs
-
public final class SignalRNetworkACLs extends Object
Network ACLs for the resource.
-
-
Constructor Summary
Constructors Constructor Description SignalRNetworkACLs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AclAction
defaultAction()
Get the defaultAction property: Azure Networking ACL Action.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.SignalRNetworkACLs
withDefaultAction(AclAction defaultAction)
Set the defaultAction property: Azure Networking ACL Action.SignalRNetworkACLs
withPrivateEndpoints(List<PrivateEndpointAcl> privateEndpoints)
Set the privateEndpoints property: ACLs for requests from private endpoints.SignalRNetworkACLs
withPublicNetwork(NetworkAcl publicNetwork)
Set the publicNetwork property: Network ACL.
-
-
-
Method Detail
-
defaultAction
public AclAction defaultAction()
Get the defaultAction property: Azure Networking ACL Action.- Returns:
- the defaultAction value.
-
withDefaultAction
public SignalRNetworkACLs withDefaultAction(AclAction defaultAction)
Set the defaultAction property: Azure Networking ACL Action.- Parameters:
defaultAction
- the defaultAction value to set.- Returns:
- the SignalRNetworkACLs object itself.
-
publicNetwork
public NetworkAcl publicNetwork()
Get the publicNetwork property: Network ACL.- Returns:
- the publicNetwork value.
-
withPublicNetwork
public SignalRNetworkACLs withPublicNetwork(NetworkAcl publicNetwork)
Set the publicNetwork property: Network ACL.- Parameters:
publicNetwork
- the publicNetwork value to set.- Returns:
- the SignalRNetworkACLs object itself.
-
privateEndpoints
public List<PrivateEndpointAcl> privateEndpoints()
Get the privateEndpoints property: ACLs for requests from private endpoints.- Returns:
- the privateEndpoints value.
-
withPrivateEndpoints
public SignalRNetworkACLs withPrivateEndpoints(List<PrivateEndpointAcl> privateEndpoints)
Set the privateEndpoints property: ACLs for requests from private endpoints.- Parameters:
privateEndpoints
- the privateEndpoints value to set.- Returns:
- the SignalRNetworkACLs object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-