public class AzureFirewallNetworkRuleCollection
extends com.azure.core.management.SubResource
| Constructor and Description |
|---|
AzureFirewallNetworkRuleCollection() |
| Modifier and Type | Method and Description |
|---|---|
AzureFirewallRCAction |
action()
Get the action property: The action type of a rule collection.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
String |
name()
Get the name property: The name of the resource that is unique within the Azure firewall.
|
Integer |
priority()
Get the priority property: Priority of the network rule collection resource.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the network rule collection resource.
|
List<AzureFirewallNetworkRule> |
rules()
Get the rules property: Collection of rules used by a network rule collection.
|
void |
validate()
Validates the instance.
|
AzureFirewallNetworkRuleCollection |
withAction(AzureFirewallRCAction action)
Set the action property: The action type of a rule collection.
|
AzureFirewallNetworkRuleCollection |
withId(String id) |
AzureFirewallNetworkRuleCollection |
withName(String name)
Set the name property: The name of the resource that is unique within the Azure firewall.
|
AzureFirewallNetworkRuleCollection |
withPriority(Integer priority)
Set the priority property: Priority of the network rule collection resource.
|
AzureFirewallNetworkRuleCollection |
withRules(List<AzureFirewallNetworkRule> rules)
Set the rules property: Collection of rules used by a network rule collection.
|
public String name()
public AzureFirewallNetworkRuleCollection withName(String name)
name - the name value to set.public String etag()
public Integer priority()
public AzureFirewallNetworkRuleCollection withPriority(Integer priority)
priority - the priority value to set.public AzureFirewallRCAction action()
public AzureFirewallNetworkRuleCollection withAction(AzureFirewallRCAction action)
action - the action value to set.public List<AzureFirewallNetworkRule> rules()
public AzureFirewallNetworkRuleCollection withRules(List<AzureFirewallNetworkRule> rules)
rules - the rules value to set.public ProvisioningState provisioningState()
public AzureFirewallNetworkRuleCollection withId(String id)
withId in class com.azure.core.management.SubResourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.