NetworkSecurityGroupPropertiesFormat Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. NetworkSecurityGroupPropertiesFormat
- com.
Implements
public final class NetworkSecurityGroupPropertiesFormat
implements JsonSerializable<NetworkSecurityGroupPropertiesFormat>
Network Security Group resource.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkSecurityGroupPropertiesFormat() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Security |
defaultSecurityRules()
Get the default |
|
List<Flow |
flowLogs()
Get the flow |
| Boolean |
flushConnection()
Get the flush |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
List<Network |
networkInterfaces()
Get the network |
|
Provisioning |
provisioningState()
Get the provisioning |
| String |
resourceGuid()
Get the resource |
|
List<Security |
securityRules()
Get the security |
|
List<Subnet |
subnets()
Get the subnets property: A collection of references to subnets. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withFlushConnection(Boolean flushConnection)
Set the flush |
|
Network |
withSecurityRules(List<SecurityRuleInner> securityRules)
Set the security |
Methods inherited from java.lang.Object
Constructor Details
NetworkSecurityGroupPropertiesFormat
public NetworkSecurityGroupPropertiesFormat()
Creates an instance of NetworkSecurityGroupPropertiesFormat class.
Method Details
defaultSecurityRules
public List<SecurityRuleInner> defaultSecurityRules()
Get the defaultSecurityRules property: The default security rules of network security group.
Returns:
flowLogs
public List<FlowLogInner> flowLogs()
Get the flowLogs property: A collection of references to flow log resources.
Returns:
flushConnection
public Boolean flushConnection()
Get the flushConnection property: When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
Returns:
fromJson
public static NetworkSecurityGroupPropertiesFormat fromJson(JsonReader jsonReader)
Reads an instance of NetworkSecurityGroupPropertiesFormat from the JsonReader.
Parameters:
Returns:
Throws:
networkInterfaces
public List<NetworkInterfaceInner> networkInterfaces()
Get the networkInterfaces property: A collection of references to network interfaces.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the network security group resource.
Returns:
resourceGuid
public String resourceGuid()
Get the resourceGuid property: The resource GUID property of the network security group resource.
Returns:
securityRules
public List<SecurityRuleInner> securityRules()
Get the securityRules property: A collection of security rules of the network security group.
Returns:
subnets
public List<SubnetInner> subnets()
Get the subnets property: A collection of references to subnets.
Returns:
toJson
validate
public void validate()
Validates the instance.
withFlushConnection
public NetworkSecurityGroupPropertiesFormat withFlushConnection(Boolean flushConnection)
Set the flushConnection property: When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation.
Parameters:
Returns:
withSecurityRules
public NetworkSecurityGroupPropertiesFormat withSecurityRules(List<SecurityRuleInner> securityRules)
Set the securityRules property: A collection of security rules of the network security group.
Parameters:
Returns: