Dela via


ManagedRuleSetDefinitionInner Class

public final class ManagedRuleSetDefinitionInner
extends ProxyResource

Describes a managed rule set definition.

Constructor Summary

Constructor Description
ManagedRuleSetDefinitionInner()

Creates an instance of ManagedRuleSetDefinitionInner class.

Method Summary

Modifier and Type Method and Description
static ManagedRuleSetDefinitionInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedRuleSetDefinitionInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String provisioningState()

Get the provisioningState property: Provisioning state of the managed rule set.

List<ManagedRuleGroupDefinition> ruleGroups()

Get the ruleGroups property: Rule groups of the managed rule set.

String ruleSetType()

Get the ruleSetType property: Type of the managed rule set.

String ruleSetVersion()

Get the ruleSetVersion property: Version of the managed rule set type.

Sku sku()

Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.

SystemData systemData()

Get the systemData property: Read only system data.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

ManagedRuleSetDefinitionInner withSku(Sku sku)

Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ManagedRuleSetDefinitionInner

public ManagedRuleSetDefinitionInner()

Creates an instance of ManagedRuleSetDefinitionInner class.

Method Details

fromJson

public static ManagedRuleSetDefinitionInner fromJson(JsonReader jsonReader)

Reads an instance of ManagedRuleSetDefinitionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedRuleSetDefinitionInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ManagedRuleSetDefinitionInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ManagedRuleSetDefinitionInner.name()

Returns:

the name value.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the managed rule set.

Returns:

the provisioningState value.

ruleGroups

public List ruleGroups()

Get the ruleGroups property: Rule groups of the managed rule set.

Returns:

the ruleGroups value.

ruleSetType

public String ruleSetType()

Get the ruleSetType property: Type of the managed rule set.

Returns:

the ruleSetType value.

ruleSetVersion

public String ruleSetVersion()

Get the ruleSetVersion property: Version of the managed rule set type.

Returns:

the ruleSetVersion value.

sku

public Sku sku()

Get the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Read only system data.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedRuleSetDefinitionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ManagedRuleSetDefinitionInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withSku

public ManagedRuleSetDefinitionInner withSku(Sku sku)

Set the sku property: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.

Parameters:

sku - the sku value to set.

Returns:

the ManagedRuleSetDefinitionInner object itself.

Applies to