EffectiveBaseSecurityAdminRule Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.EffectiveBaseSecurityAdminRule

Implements

public class EffectiveBaseSecurityAdminRule
implements JsonSerializable<EffectiveBaseSecurityAdminRule>

Network base admin rule.

Constructor Summary

Modifier Constructor Description
protected EffectiveBaseSecurityAdminRule()

Creates an instance of EffectiveBaseSecurityAdminRule class.

Method Summary

Modifier and Type Method and Description
String configurationDescription()

Get the configurationDescription property: A description of the security admin configuration.

static EffectiveBaseSecurityAdminRule fromJson(JsonReader jsonReader)

Reads an instance of EffectiveBaseSecurityAdminRule from the JsonReader.

String id()

Get the id property: Resource ID.

EffectiveAdminRuleKind kind()

Get the kind property: Whether the rule is custom or default.

List<NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups()

Get the ruleCollectionAppliesToGroups property: Groups for rule collection.

String ruleCollectionDescription()

Get the ruleCollectionDescription property: A description of the rule collection.

List<ConfigurationGroup> ruleGroups()

Get the ruleGroups property: Effective configuration groups.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

EffectiveBaseSecurityAdminRule

protected EffectiveBaseSecurityAdminRule()

Creates an instance of EffectiveBaseSecurityAdminRule class.

Method Details

configurationDescription

public String configurationDescription()

Get the configurationDescription property: A description of the security admin configuration.

Returns:

the configurationDescription value.

fromJson

public static EffectiveBaseSecurityAdminRule fromJson(JsonReader jsonReader)

Reads an instance of EffectiveBaseSecurityAdminRule from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of EffectiveBaseSecurityAdminRule 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 EffectiveBaseSecurityAdminRule.

id

public String id()

Get the id property: Resource ID.

Returns:

the id value.

kind

public EffectiveAdminRuleKind kind()

Get the kind property: Whether the rule is custom or default.

Returns:

the kind value.

ruleCollectionAppliesToGroups

public List<NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups()

Get the ruleCollectionAppliesToGroups property: Groups for rule collection.

Returns:

the ruleCollectionAppliesToGroups value.

ruleCollectionDescription

public String ruleCollectionDescription()

Get the ruleCollectionDescription property: A description of the rule collection.

Returns:

the ruleCollectionDescription value.

ruleGroups

public List<ConfigurationGroup> ruleGroups()

Get the ruleGroups property: Effective configuration groups.

Returns:

the ruleGroups value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to