public class NetworkSecurityGroupInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
NetworkSecurityGroupInner() |
| Modifier and Type | Method and Description |
|---|---|
List<SecurityRuleInner> |
defaultSecurityRules()
Get the defaultSecurityRules property: The default security rules of network security group.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
List<FlowLogInner> |
flowLogs()
Get the flowLogs property: A collection of references to flow log resources.
|
String |
id()
Get the id property: Resource ID.
|
List<NetworkInterfaceInner> |
networkInterfaces()
Get the networkInterfaces property: A collection of references to network interfaces.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the network security group resource.
|
String |
resourceGuid()
Get the resourceGuid property: The resource GUID property of the network security group resource.
|
List<SecurityRuleInner> |
securityRules()
Get the securityRules property: A collection of security rules of the network security group.
|
List<SubnetInner> |
subnets()
Get the subnets property: A collection of references to subnets.
|
void |
validate()
Validates the instance.
|
NetworkSecurityGroupInner |
withId(String id)
Set the id property: Resource ID.
|
NetworkSecurityGroupInner |
withSecurityRules(List<SecurityRuleInner> securityRules)
Set the securityRules property: A collection of security rules of the network security group.
|
public String etag()
public List<SecurityRuleInner> securityRules()
public NetworkSecurityGroupInner withSecurityRules(List<SecurityRuleInner> securityRules)
securityRules - the securityRules value to set.public List<SecurityRuleInner> defaultSecurityRules()
public List<NetworkInterfaceInner> networkInterfaces()
public List<SubnetInner> subnets()
public List<FlowLogInner> flowLogs()
public String resourceGuid()
public ProvisioningState provisioningState()
public String id()
id in class com.azure.core.management.ProxyResourcepublic NetworkSecurityGroupInner withId(String id)
id - the id value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.