NetworkRuleSet Class
- java.
lang. Object - com.
azure. resourcemanager. monitor. models. NetworkRuleSet
- com.
Implements
public class NetworkRuleSet
implements JsonSerializable<NetworkRuleSet>
Definition of the network rules.
Constructor Summary
Constructor | Description |
---|---|
NetworkRuleSet() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
Known |
publicNetworkAccess()
Get the public |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Network |
withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)
Set the public |
Methods inherited from java.lang.Object
Constructor Details
NetworkRuleSet
public NetworkRuleSet()
Creates an instance of NetworkRuleSet class.
Method Details
fromJson
public static NetworkRuleSet fromJson(JsonReader jsonReader)
Reads an instance of NetworkRuleSet from the JsonReader.
Parameters:
Returns:
Throws:
publicNetworkAccess
public KnownPublicNetworkAccessOptions publicNetworkAccess()
Get the publicNetworkAccess property: The configuration to set whether network access from public internet to the endpoints are allowed.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPublicNetworkAccess
public NetworkRuleSet withPublicNetworkAccess(KnownPublicNetworkAccessOptions publicNetworkAccess)
Set the publicNetworkAccess property: The configuration to set whether network access from public internet to the endpoints are allowed.
Parameters:
Returns:
Applies to
Azure SDK for Java