AzureFirewallNetworkRuleCollection Class
- java.
lang. Object - com.
microsoft. azure. SubResource - com.
microsoft. azure. management. network. AzureFirewallNetworkRuleCollection
- com.
- com.
public class AzureFirewallNetworkRuleCollection
extends com.microsoft.azure.SubResource
Network rule collection resource.
Constructor Summary
Constructor | Description | |
---|---|---|
AzureFirewallNetworkRuleCollection() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Azure |
action()
Get the action type of a rule collection. |
java.lang.String |
etag()
Get a unique read-only string that changes whenever the resource is updated. |
java.lang.String |
name()
Get the name of the resource that is unique within the Azure firewall. |
java.lang.Integer |
priority()
Get priority of the network rule collection resource. |
Provisioning |
provisioningState()
Get the provisioning state of the network rule collection resource. |
java.util.List<Azure |
rules()
Get collection of rules used by a network rule collection. |
Azure |
withAction(AzureFirewallRCAction action)
Set the action type of a rule collection. |
Azure |
withName(String name)
Set the name of the resource that is unique within the Azure firewall. |
Azure |
withPriority(Integer priority)
Set priority of the network rule collection resource. |
Azure |
withRules(List<AzureFirewallNetworkRule> rules)
Set collection of rules used by a network rule collection. |
Methods inherited from com.microsoft.azure.SubResource
Methods inherited from java.lang.Object
Constructor Details
AzureFirewallNetworkRuleCollection
public AzureFirewallNetworkRuleCollection()
Method Details
action
public AzureFirewallRCAction action()
Get the action type of a rule collection.
Returns:
etag
public String etag()
Get a unique read-only string that changes whenever the resource is updated.
Returns:
name
public String name()
Get the name of the resource that is unique within the Azure firewall. This name can be used to access the resource.
Returns:
priority
public Integer priority()
Get priority of the network rule collection resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioning state of the network rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:
rules
public List
Get collection of rules used by a network rule collection.
Returns:
withAction
public AzureFirewallNetworkRuleCollection withAction(AzureFirewallRCAction action)
Set the action type of a rule collection.
Parameters:
Returns:
withName
public AzureFirewallNetworkRuleCollection withName(String name)
Set the name of the resource that is unique within the Azure firewall. This name can be used to access the resource.
Parameters:
Returns:
withPriority
public AzureFirewallNetworkRuleCollection withPriority(Integer priority)
Set priority of the network rule collection resource.
Parameters:
Returns:
withRules
public AzureFirewallNetworkRuleCollection withRules(List
Set collection of rules used by a network rule collection.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for