NetworkSecurityProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.NetworkSecurityProfile

Implements

public final class NetworkSecurityProfile
implements JsonSerializable<NetworkSecurityProfile>

Network security perimeter configuration profile.

Method Summary

Modifier and Type Method and Description
List<AccessRule> accessRules()

Get the accessRules property: List of Access Rules.

Integer accessRulesVersion()

Get the accessRulesVersion property: Current access rules version.

Integer diagnosticSettingsVersion()

Get the diagnosticSettingsVersion property: Current diagnostic settings version.

List<String> enabledLogCategories()

Get the enabledLogCategories property: List of log categories that are enabled.

static NetworkSecurityProfile fromJson(JsonReader jsonReader)

Reads an instance of NetworkSecurityProfile from the JsonReader.

String name()

Get the name property: Name of the profile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

accessRules

public List<AccessRule> accessRules()

Get the accessRules property: List of Access Rules.

Returns:

the accessRules value.

accessRulesVersion

public Integer accessRulesVersion()

Get the accessRulesVersion property: Current access rules version.

Returns:

the accessRulesVersion value.

diagnosticSettingsVersion

public Integer diagnosticSettingsVersion()

Get the diagnosticSettingsVersion property: Current diagnostic settings version.

Returns:

the diagnosticSettingsVersion value.

enabledLogCategories

public List<String> enabledLogCategories()

Get the enabledLogCategories property: List of log categories that are enabled.

Returns:

the enabledLogCategories value.

fromJson

public static NetworkSecurityProfile fromJson(JsonReader jsonReader)

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.

name

public String name()

Get the name property: Name of the profile.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to