EffectiveNetworkSecurityGroup Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. EffectiveNetworkSecurityGroup
- com.
Implements
public final class EffectiveNetworkSecurityGroup
implements JsonSerializable<EffectiveNetworkSecurityGroup>
Effective network security group.
Constructor Summary
Constructor | Description |
---|---|
EffectiveNetworkSecurityGroup() |
Creates an instance of Effective |
Method Summary
Modifier and Type | Method and Description |
---|---|
Effective |
association()
Get the association property: Associated resources. |
List<Effective |
effectiveSecurityRules()
Get the effective |
static
Effective |
fromJson(JsonReader jsonReader)
Reads an instance of Effective |
Sub |
networkSecurityGroup()
Get the network |
String |
tagMap()
Get the tag |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Effective |
withAssociation(EffectiveNetworkSecurityGroupAssociation association)
Set the association property: Associated resources. |
Effective |
withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
Set the effective |
Effective |
withNetworkSecurityGroup(SubResource networkSecurityGroup)
Set the network |
Effective |
withTagMap(String tagMap)
Set the tag |
Methods inherited from java.lang.Object
Constructor Details
EffectiveNetworkSecurityGroup
public EffectiveNetworkSecurityGroup()
Creates an instance of EffectiveNetworkSecurityGroup class.
Method Details
association
public EffectiveNetworkSecurityGroupAssociation association()
Get the association property: Associated resources.
Returns:
effectiveSecurityRules
public List
Get the effectiveSecurityRules property: A collection of effective security rules.
Returns:
fromJson
public static EffectiveNetworkSecurityGroup fromJson(JsonReader jsonReader)
Reads an instance of EffectiveNetworkSecurityGroup from the JsonReader.
Parameters:
Returns:
Throws:
networkSecurityGroup
public SubResource networkSecurityGroup()
Get the networkSecurityGroup property: The ID of network security group that is applied.
Returns:
tagMap
public String tagMap()
Get the tagMap property: Mapping of tags to list of IP Addresses included within the tag.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAssociation
public EffectiveNetworkSecurityGroup withAssociation(EffectiveNetworkSecurityGroupAssociation association)
Set the association property: Associated resources.
Parameters:
Returns:
withEffectiveSecurityRules
public EffectiveNetworkSecurityGroup withEffectiveSecurityRules(List
Set the effectiveSecurityRules property: A collection of effective security rules.
Parameters:
Returns:
withNetworkSecurityGroup
public EffectiveNetworkSecurityGroup withNetworkSecurityGroup(SubResource networkSecurityGroup)
Set the networkSecurityGroup property: The ID of network security group that is applied.
Parameters:
Returns:
withTagMap
public EffectiveNetworkSecurityGroup withTagMap(String tagMap)
Set the tagMap property: Mapping of tags to list of IP Addresses included within the tag.
Parameters:
Returns:
Applies to
Azure SDK for Java