AzureFirewallNetworkRuleCollection Class

  • java.lang.Object
    • com.microsoft.azure.SubResource
      • com.microsoft.azure.management.network.AzureFirewallNetworkRuleCollection

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
AzureFirewallRCAction 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.

ProvisioningState provisioningState()

Get the provisioning state of the network rule collection resource.

java.util.List<AzureFirewallNetworkRule> rules()

Get collection of rules used by a network rule collection.

AzureFirewallNetworkRuleCollection withAction(AzureFirewallRCAction action)

Set the action type of a rule collection.

AzureFirewallNetworkRuleCollection withName(String name)

Set the name of the resource that is unique within the Azure firewall.

AzureFirewallNetworkRuleCollection withPriority(Integer priority)

Set priority of the network rule collection resource.

AzureFirewallNetworkRuleCollection withRules(List<AzureFirewallNetworkRule> rules)

Set collection of rules used by a network rule collection.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AzureFirewallNetworkRuleCollection

public AzureFirewallNetworkRuleCollection()

Method Details

action

public AzureFirewallRCAction action()

Get the action type of a rule collection.

Returns:

the action value

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

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:

the name value

priority

public Integer priority()

Get priority of the network rule collection resource.

Returns:

the priority value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the network rule collection resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

rules

public List rules()

Get collection of rules used by a network rule collection.

Returns:

the rules value

withAction

public AzureFirewallNetworkRuleCollection withAction(AzureFirewallRCAction action)

Set the action type of a rule collection.

Parameters:

action - the action value to set

Returns:

the AzureFirewallNetworkRuleCollection object itself.

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:

name - the name value to set

Returns:

the AzureFirewallNetworkRuleCollection object itself.

withPriority

public AzureFirewallNetworkRuleCollection withPriority(Integer priority)

Set priority of the network rule collection resource.

Parameters:

priority - the priority value to set

Returns:

the AzureFirewallNetworkRuleCollection object itself.

withRules

public AzureFirewallNetworkRuleCollection withRules(List rules)

Set collection of rules used by a network rule collection.

Parameters:

rules - the rules value to set

Returns:

the AzureFirewallNetworkRuleCollection object itself.

Applies to