AzureFirewallNatRuleCollection Class

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

public class AzureFirewallNatRuleCollection
extends com.microsoft.azure.SubResource

NAT rule collection resource.

Constructor Summary

Constructor Description
AzureFirewallNatRuleCollection()

Method Summary

Modifier and Type Method and Description
AzureFirewallNatRCAction action()

Get the action type of a NAT 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 NAT rule collection resource.

ProvisioningState provisioningState()

Get the provisioning state of the NAT rule collection resource.

java.util.List<AzureFirewallNatRule> rules()

Get collection of rules used by a NAT rule collection.

AzureFirewallNatRuleCollection withAction(AzureFirewallNatRCAction action)

Set the action type of a NAT rule collection.

AzureFirewallNatRuleCollection withName(String name)

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

AzureFirewallNatRuleCollection withPriority(Integer priority)

Set priority of the NAT rule collection resource.

AzureFirewallNatRuleCollection withRules(List<AzureFirewallNatRule> rules)

Set collection of rules used by a NAT 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

AzureFirewallNatRuleCollection

public AzureFirewallNatRuleCollection()

Method Details

action

public AzureFirewallNatRCAction action()

Get the action type of a NAT 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 NAT rule collection resource.

Returns:

the priority value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the NAT 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 NAT rule collection.

Returns:

the rules value

withAction

public AzureFirewallNatRuleCollection withAction(AzureFirewallNatRCAction action)

Set the action type of a NAT rule collection.

Parameters:

action - the action value to set

Returns:

the AzureFirewallNatRuleCollection object itself.

withName

public AzureFirewallNatRuleCollection 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 AzureFirewallNatRuleCollection object itself.

withPriority

public AzureFirewallNatRuleCollection withPriority(Integer priority)

Set priority of the NAT rule collection resource.

Parameters:

priority - the priority value to set

Returns:

the AzureFirewallNatRuleCollection object itself.

withRules

public AzureFirewallNatRuleCollection withRules(List rules)

Set collection of rules used by a NAT rule collection.

Parameters:

rules - the rules value to set

Returns:

the AzureFirewallNatRuleCollection object itself.

Applies to