DataCollectionEndpointNetworkAcls Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. NetworkRuleSet - com.
azure. resourcemanager. monitor. models. DataCollectionEndpointNetworkAcls
- com.
- com.
public final class DataCollectionEndpointNetworkAcls
extends NetworkRuleSet
Network access control rules for the endpoints.
Constructor Summary
Constructor | Description |
---|---|
DataCollectionEndpointNetworkAcls() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Data |
withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)
Set the public |
Methods inherited from NetworkRuleSet
Methods inherited from java.lang.Object
Constructor Details
DataCollectionEndpointNetworkAcls
public DataCollectionEndpointNetworkAcls()
Creates an instance of DataCollectionEndpointNetworkAcls class.
Method Details
fromJson
public static DataCollectionEndpointNetworkAcls fromJson(JsonReader jsonReader)
Reads an instance of DataCollectionEndpointNetworkAcls from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DataCollectionEndpointNetworkAcls.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DataCollectionEndpointNetworkAcls.validate()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:
DataCollectionEndpointNetworkAcls.withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)Parameters:
Applies to
Azure SDK for Java