WebPubSubNetworkACLs Class
- java.
lang. Object - com.
azure. resourcemanager. webpubsub. models. WebPubSubNetworkACLs
- com.
Implements
public final class WebPubSubNetworkACLs
implements JsonSerializable<WebPubSubNetworkACLs>
Network ACLs for the resource.
Constructor Summary
| Constructor | Description |
|---|---|
| WebPubSubNetworkACLs() |
Creates an instance of Web |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Acl |
defaultAction()
Get the default |
|
static
Web |
fromJson(JsonReader jsonReader)
Reads an instance of Web |
|
List<Ip |
ipRules()
Get the ip |
|
List<Private |
privateEndpoints()
Get the private |
|
Network |
publicNetwork()
Get the public |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Web |
withDefaultAction(AclAction defaultAction)
Set the default |
|
Web |
withIpRules(List<IpRule> ipRules)
Set the ip |
|
Web |
withPrivateEndpoints(List<PrivateEndpointAcl> privateEndpoints)
Set the private |
|
Web |
withPublicNetwork(NetworkAcl publicNetwork)
Set the public |
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:
fromJson
public static WebPubSubNetworkACLs fromJson(JsonReader jsonReader)
Reads an instance of WebPubSubNetworkACLs from the JsonReader.
Parameters:
Returns:
Throws:
ipRules
public List<IpRule> ipRules()
Get the ipRules property: IP rules for filtering public traffic.
Returns:
privateEndpoints
public List<PrivateEndpointAcl> privateEndpoints()
Get the privateEndpoints property: ACLs for requests from private endpoints.
Returns:
publicNetwork
public NetworkAcl publicNetwork()
Get the publicNetwork property: Network ACL.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDefaultAction
public WebPubSubNetworkACLs withDefaultAction(AclAction defaultAction)
Set the defaultAction property: Azure Networking ACL Action.
Parameters:
Returns:
withIpRules
public WebPubSubNetworkACLs withIpRules(List<IpRule> ipRules)
Set the ipRules property: IP rules for filtering public traffic.
Parameters:
Returns:
withPrivateEndpoints
public WebPubSubNetworkACLs withPrivateEndpoints(List<PrivateEndpointAcl> privateEndpoints)
Set the privateEndpoints property: ACLs for requests from private endpoints.
Parameters:
Returns:
withPublicNetwork
public WebPubSubNetworkACLs withPublicNetwork(NetworkAcl publicNetwork)
Set the publicNetwork property: Network ACL.
Parameters:
Returns: