GetRulesetResult

data class GetRulesetResult(val accountId: String? = null, val description: String, val id: String, val kind: String, val name: String, val phase: String, val rules: List<GetRulesetRule>, val rulesetId: String? = null, val zoneId: String? = null)

A collection of values returned by getRuleset.

Constructors

Link copied to clipboard
constructor(accountId: String? = null, description: String, id: String, kind: String, name: String, phase: String, rules: List<GetRulesetRule>, rulesetId: String? = null, zoneId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accountId: String? = null

The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.

Link copied to clipboard

An informative description of the ruleset.

Link copied to clipboard
val id: String

The unique ID of the ruleset.

Link copied to clipboard

The kind of the ruleset. Available values: "managed", "custom", "root", "zone".

Link copied to clipboard

The human-readable name of the ruleset.

Link copied to clipboard

The phase of the ruleset. Available values: "ddosl4", "ddosl7", "httpconfigsettings", "httpcustomerrors", "httplogcustomfields", "httpratelimit", "httprequestcachesettings", "httprequestdynamicredirect", "httprequestfirewallcustom", "httprequestfirewallmanaged", "httprequestlatetransform", "httprequestorigin", "httprequestredirect", "httprequestsanitize", "httprequestsbfm", "httprequesttransform", "httpresponsecompression", "httpresponsefirewallmanaged", "httpresponseheaderstransform", "magictransit", "magictransitidsmanaged", "magictransitmanaged", "magictransit_ratelimit".

Link copied to clipboard

The list of rules in the ruleset.

Link copied to clipboard
val rulesetId: String? = null

The unique ID of the ruleset.

Link copied to clipboard
val zoneId: String? = null

The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.