AzureFirewallApplicationRuleCollection Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. AzureFirewallApplicationRuleCollection
- com.
- com.
public final class AzureFirewallApplicationRuleCollection
extends SubResource
Application rule collection resource.
Constructor Summary
Constructor | Description |
---|---|
AzureFirewallApplicationRuleCollection() |
Creates an instance of Azure |
Method Summary
Modifier and Type | Method and Description |
---|---|
Azure |
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. |
static
Azure |
fromJson(JsonReader jsonReader)
Reads an instance of Azure |
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 application rule collection resource. |
Provisioning |
provisioningState()
Get the provisioning |
List<Azure |
rules()
Get the rules property: Collection of rules used by a application rule collection. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Azure |
withAction(AzureFirewallRCAction action)
Set the action property: The action type of a rule collection. |
Azure |
withId(String id) |
Azure |
withName(String name)
Set the name property: The name of the resource that is unique within the Azure firewall. |
Azure |
withPriority(Integer priority)
Set the priority property: Priority of the application rule collection resource. |
Azure |
withRules(List<AzureFirewallApplicationRule> rules)
Set the rules property: Collection of rules used by a application rule collection. |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
AzureFirewallApplicationRuleCollection
public AzureFirewallApplicationRuleCollection()
Creates an instance of AzureFirewallApplicationRuleCollection class.
Method Details
action
public AzureFirewallRCAction action()
Get the action property: The action type of a rule collection.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
fromJson
public static AzureFirewallApplicationRuleCollection fromJson(JsonReader jsonReader)
Reads an instance of AzureFirewallApplicationRuleCollection from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: 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 the priority property: Priority of the application rule collection resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the application rule collection resource.
Returns:
rules
public List
Get the rules property: Collection of rules used by a application rule collection.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AzureFirewallApplicationRuleCollection.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
withAction
public AzureFirewallApplicationRuleCollection withAction(AzureFirewallRCAction action)
Set the action property: The action type of a rule collection.
Parameters:
Returns:
withId
public AzureFirewallApplicationRuleCollection withId(String id)
Overrides:
AzureFirewallApplicationRuleCollection.withId(String id)Parameters:
withName
public AzureFirewallApplicationRuleCollection withName(String name)
Set the name property: 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 AzureFirewallApplicationRuleCollection withPriority(Integer priority)
Set the priority property: Priority of the application rule collection resource.
Parameters:
Returns:
withRules
public AzureFirewallApplicationRuleCollection withRules(List
Set the rules property: Collection of rules used by a application rule collection.
Parameters:
Returns:
Applies to
Azure SDK for Java