Class NetworkSecurityProfile
java.lang.Object
com.azure.resourcemanager.loganalytics.models.NetworkSecurityProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkSecurityProfile>
public final class NetworkSecurityProfile
extends Object
implements com.azure.json.JsonSerializable<NetworkSecurityProfile>
Network security perimeter configuration profile.
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessRules property: List of Access Rules.Get the accessRulesVersion property: Current access rules version.Get the diagnosticSettingsVersion property: Current diagnostic settings version.Get the enabledLogCategories property: List of log categories that are enabled.static NetworkSecurityProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkSecurityProfile from the JsonReader.name()Get the name property: Name of the profile.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
name
-
accessRulesVersion
Get the accessRulesVersion property: Current access rules version.- Returns:
- the accessRulesVersion value.
-
accessRules
Get the accessRules property: List of Access Rules.- Returns:
- the accessRules value.
-
diagnosticSettingsVersion
Get the diagnosticSettingsVersion property: Current diagnostic settings version.- Returns:
- the diagnosticSettingsVersion value.
-
enabledLogCategories
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<NetworkSecurityProfile>- Throws:
IOException
-
fromJson
public static NetworkSecurityProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkSecurityProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkSecurityProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the NetworkSecurityProfile.
-