ActiveBaseSecurityAdminRule Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. ActiveBaseSecurityAdminRule
- com.
Implements
public class ActiveBaseSecurityAdminRule
implements JsonSerializable<ActiveBaseSecurityAdminRule>
Network base admin rule.
Constructor Summary
| Constructor | Description |
|---|---|
| ActiveBaseSecurityAdminRule() |
Creates an instance of Active |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
commitTime()
Get the commit |
| String |
configurationDescription()
Get the configuration |
|
static
Active |
fromJson(JsonReader jsonReader)
Reads an instance of Active |
| String |
id()
Get the id property: Resource ID. |
|
Effective |
kind()
Get the kind property: Whether the rule is custom or default. |
| String |
region()
Get the region property: Deployment region. |
|
List<Network |
ruleCollectionAppliesToGroups()
Get the rule |
| String |
ruleCollectionDescription()
Get the rule |
|
List<Configuration |
ruleGroups()
Get the rule |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Active |
withCommitTime(OffsetDateTime commitTime)
Set the commit |
|
Active |
withConfigurationDescription(String configurationDescription)
Set the configuration |
|
Active |
withId(String id)
Set the id property: Resource ID. |
|
Active |
withRegion(String region)
Set the region property: Deployment region. |
|
Active |
withRuleCollectionAppliesToGroups(List<NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups)
Set the rule |
|
Active |
withRuleCollectionDescription(String ruleCollectionDescription)
Set the rule |
|
Active |
withRuleGroups(List<ConfigurationGroup> ruleGroups)
Set the rule |
Methods inherited from java.lang.Object
Constructor Details
ActiveBaseSecurityAdminRule
public ActiveBaseSecurityAdminRule()
Creates an instance of ActiveBaseSecurityAdminRule class.
Method Details
commitTime
public OffsetDateTime commitTime()
Get the commitTime property: Deployment time string.
Returns:
configurationDescription
public String configurationDescription()
Get the configurationDescription property: A description of the security admin configuration.
Returns:
fromJson
public static ActiveBaseSecurityAdminRule fromJson(JsonReader jsonReader)
Reads an instance of ActiveBaseSecurityAdminRule from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Returns:
kind
public EffectiveAdminRuleKind kind()
Get the kind property: Whether the rule is custom or default.
Returns:
region
public String region()
Get the region property: Deployment region.
Returns:
ruleCollectionAppliesToGroups
public List<NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups()
Get the ruleCollectionAppliesToGroups property: Groups for rule collection.
Returns:
ruleCollectionDescription
public String ruleCollectionDescription()
Get the ruleCollectionDescription property: A description of the rule collection.
Returns:
ruleGroups
public List<ConfigurationGroup> ruleGroups()
Get the ruleGroups property: Effective configuration groups.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCommitTime
public ActiveBaseSecurityAdminRule withCommitTime(OffsetDateTime commitTime)
Set the commitTime property: Deployment time string.
Parameters:
Returns:
withConfigurationDescription
public ActiveBaseSecurityAdminRule withConfigurationDescription(String configurationDescription)
Set the configurationDescription property: A description of the security admin configuration.
Parameters:
Returns:
withId
public ActiveBaseSecurityAdminRule withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withRegion
public ActiveBaseSecurityAdminRule withRegion(String region)
Set the region property: Deployment region.
Parameters:
Returns:
withRuleCollectionAppliesToGroups
public ActiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(List<NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups)
Set the ruleCollectionAppliesToGroups property: Groups for rule collection.
Parameters:
Returns:
withRuleCollectionDescription
public ActiveBaseSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription)
Set the ruleCollectionDescription property: A description of the rule collection.
Parameters:
Returns:
withRuleGroups
public ActiveBaseSecurityAdminRule withRuleGroups(List<ConfigurationGroup> ruleGroups)
Set the ruleGroups property: Effective configuration groups.
Parameters:
Returns: