Class DataCollectionEndpointNetworkAcls
- java.lang.Object
-
- com.azure.resourcemanager.monitor.models.NetworkRuleSet
-
- com.azure.resourcemanager.monitor.models.DataCollectionEndpointNetworkAcls
-
public final class DataCollectionEndpointNetworkAcls extends NetworkRuleSet
Network access control rules for the endpoints.
-
-
Constructor Summary
Constructors Constructor Description DataCollectionEndpointNetworkAcls()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.DataCollectionEndpointNetworkAclswithPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)Set the publicNetworkAccess property: The configuration to set whether network access from public internet to the endpoints are allowed.-
Methods inherited from class com.azure.resourcemanager.monitor.models.NetworkRuleSet
publicNetworkAccess
-
-
-
-
Method Detail
-
withPublicNetworkAccess
public DataCollectionEndpointNetworkAcls withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)
Set the publicNetworkAccess property: The configuration to set whether network access from public internet to the endpoints are allowed.- Overrides:
withPublicNetworkAccessin classNetworkRuleSet- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the NetworkRuleSet object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classNetworkRuleSet- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-