rulesetsv1

package
v0.46.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Overview

Package rulesetsv1 : Operations and models for the RulesetsV1 service

Index

Constants

View Source
const (
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	GetAccountEntryPointRulesetVersionOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the GetAccountEntryPointRulesetVersionOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	GetAccountEntryPointRulesetVersionsOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the GetAccountEntryPointRulesetVersionsOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	GetAccountEntrypointRulesetOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	GetAccountEntrypointRulesetOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	GetAccountEntrypointRulesetOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the GetAccountEntrypointRulesetOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	GetZoneEntryPointRulesetVersionOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the GetZoneEntryPointRulesetVersionOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	GetZoneEntryPointRulesetVersionsOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the GetZoneEntryPointRulesetVersionsOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	GetZoneEntrypointRulesetOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	GetZoneEntrypointRulesetOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	GetZoneEntrypointRulesetOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the GetZoneEntrypointRulesetOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	UpdateAccountEntrypointRulesetOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the UpdateAccountEntrypointRulesetOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	UpdateAccountEntrypointRulesetOptions_Kind_Custom  = "custom"
	UpdateAccountEntrypointRulesetOptions_Kind_Managed = "managed"
	UpdateAccountEntrypointRulesetOptions_Kind_Root    = "root"
	UpdateAccountEntrypointRulesetOptions_Kind_Zone    = "zone"
)

Constants associated with the UpdateAccountEntrypointRulesetOptions.Kind property.

View Source
const (
	UpdateAccountEntrypointRulesetOptions_Phase_DdosL4                         = "ddos_l4"
	UpdateAccountEntrypointRulesetOptions_Phase_DdosL7                         = "ddos_l7"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpConfigSettings             = "http_config_settings"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpCustomErrors               = "http_custom_errors"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpLogCustomFields            = "http_log_custom_fields"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRatelimit                  = "http_ratelimit"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestCacheSettings       = "http_request_cache_settings"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestLateTransform       = "http_request_late_transform"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestOrigin              = "http_request_origin"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestRedirect            = "http_request_redirect"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestSanitize            = "http_request_sanitize"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestSbfm                = "http_request_sbfm"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpRequestTransform           = "http_request_transform"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpResponseCompression        = "http_response_compression"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	UpdateAccountEntrypointRulesetOptions_Phase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the UpdateAccountEntrypointRulesetOptions.Phase property. The phase of the ruleset.

View Source
const (
	UpdateAccountRulesetOptions_Kind_Custom  = "custom"
	UpdateAccountRulesetOptions_Kind_Managed = "managed"
	UpdateAccountRulesetOptions_Kind_Root    = "root"
	UpdateAccountRulesetOptions_Kind_Zone    = "zone"
)

Constants associated with the UpdateAccountRulesetOptions.Kind property.

View Source
const (
	UpdateAccountRulesetOptions_Phase_DdosL4                         = "ddos_l4"
	UpdateAccountRulesetOptions_Phase_DdosL7                         = "ddos_l7"
	UpdateAccountRulesetOptions_Phase_HttpConfigSettings             = "http_config_settings"
	UpdateAccountRulesetOptions_Phase_HttpCustomErrors               = "http_custom_errors"
	UpdateAccountRulesetOptions_Phase_HttpLogCustomFields            = "http_log_custom_fields"
	UpdateAccountRulesetOptions_Phase_HttpRatelimit                  = "http_ratelimit"
	UpdateAccountRulesetOptions_Phase_HttpRequestCacheSettings       = "http_request_cache_settings"
	UpdateAccountRulesetOptions_Phase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	UpdateAccountRulesetOptions_Phase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	UpdateAccountRulesetOptions_Phase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	UpdateAccountRulesetOptions_Phase_HttpRequestLateTransform       = "http_request_late_transform"
	UpdateAccountRulesetOptions_Phase_HttpRequestOrigin              = "http_request_origin"
	UpdateAccountRulesetOptions_Phase_HttpRequestRedirect            = "http_request_redirect"
	UpdateAccountRulesetOptions_Phase_HttpRequestSanitize            = "http_request_sanitize"
	UpdateAccountRulesetOptions_Phase_HttpRequestSbfm                = "http_request_sbfm"
	UpdateAccountRulesetOptions_Phase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	UpdateAccountRulesetOptions_Phase_HttpRequestTransform           = "http_request_transform"
	UpdateAccountRulesetOptions_Phase_HttpResponseCompression        = "http_response_compression"
	UpdateAccountRulesetOptions_Phase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	UpdateAccountRulesetOptions_Phase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the UpdateAccountRulesetOptions.Phase property. The phase of the ruleset.

View Source
const (
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_DdosL4                         = "ddos_l4"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_DdosL7                         = "ddos_l7"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpConfigSettings             = "http_config_settings"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpCustomErrors               = "http_custom_errors"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpLogCustomFields            = "http_log_custom_fields"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRatelimit                  = "http_ratelimit"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestCacheSettings       = "http_request_cache_settings"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestLateTransform       = "http_request_late_transform"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestOrigin              = "http_request_origin"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestRedirect            = "http_request_redirect"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestSanitize            = "http_request_sanitize"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestSbfm                = "http_request_sbfm"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpRequestTransform           = "http_request_transform"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpResponseCompression        = "http_response_compression"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	UpdateZoneEntrypointRulesetOptions_RulesetPhase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the UpdateZoneEntrypointRulesetOptions.RulesetPhase property. The phase of the ruleset.

View Source
const (
	UpdateZoneEntrypointRulesetOptions_Kind_Custom  = "custom"
	UpdateZoneEntrypointRulesetOptions_Kind_Managed = "managed"
	UpdateZoneEntrypointRulesetOptions_Kind_Root    = "root"
	UpdateZoneEntrypointRulesetOptions_Kind_Zone    = "zone"
)

Constants associated with the UpdateZoneEntrypointRulesetOptions.Kind property.

View Source
const (
	UpdateZoneEntrypointRulesetOptions_Phase_DdosL4                         = "ddos_l4"
	UpdateZoneEntrypointRulesetOptions_Phase_DdosL7                         = "ddos_l7"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpConfigSettings             = "http_config_settings"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpCustomErrors               = "http_custom_errors"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpLogCustomFields            = "http_log_custom_fields"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRatelimit                  = "http_ratelimit"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestCacheSettings       = "http_request_cache_settings"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestLateTransform       = "http_request_late_transform"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestOrigin              = "http_request_origin"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestRedirect            = "http_request_redirect"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestSanitize            = "http_request_sanitize"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestSbfm                = "http_request_sbfm"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpRequestTransform           = "http_request_transform"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpResponseCompression        = "http_response_compression"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	UpdateZoneEntrypointRulesetOptions_Phase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the UpdateZoneEntrypointRulesetOptions.Phase property. The phase of the ruleset.

View Source
const (
	UpdateZoneRulesetOptions_Kind_Custom  = "custom"
	UpdateZoneRulesetOptions_Kind_Managed = "managed"
	UpdateZoneRulesetOptions_Kind_Root    = "root"
	UpdateZoneRulesetOptions_Kind_Zone    = "zone"
)

Constants associated with the UpdateZoneRulesetOptions.Kind property.

View Source
const (
	UpdateZoneRulesetOptions_Phase_DdosL4                         = "ddos_l4"
	UpdateZoneRulesetOptions_Phase_DdosL7                         = "ddos_l7"
	UpdateZoneRulesetOptions_Phase_HttpConfigSettings             = "http_config_settings"
	UpdateZoneRulesetOptions_Phase_HttpCustomErrors               = "http_custom_errors"
	UpdateZoneRulesetOptions_Phase_HttpLogCustomFields            = "http_log_custom_fields"
	UpdateZoneRulesetOptions_Phase_HttpRatelimit                  = "http_ratelimit"
	UpdateZoneRulesetOptions_Phase_HttpRequestCacheSettings       = "http_request_cache_settings"
	UpdateZoneRulesetOptions_Phase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	UpdateZoneRulesetOptions_Phase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	UpdateZoneRulesetOptions_Phase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	UpdateZoneRulesetOptions_Phase_HttpRequestLateTransform       = "http_request_late_transform"
	UpdateZoneRulesetOptions_Phase_HttpRequestOrigin              = "http_request_origin"
	UpdateZoneRulesetOptions_Phase_HttpRequestRedirect            = "http_request_redirect"
	UpdateZoneRulesetOptions_Phase_HttpRequestSanitize            = "http_request_sanitize"
	UpdateZoneRulesetOptions_Phase_HttpRequestSbfm                = "http_request_sbfm"
	UpdateZoneRulesetOptions_Phase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	UpdateZoneRulesetOptions_Phase_HttpRequestTransform           = "http_request_transform"
	UpdateZoneRulesetOptions_Phase_HttpResponseCompression        = "http_response_compression"
	UpdateZoneRulesetOptions_Phase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	UpdateZoneRulesetOptions_Phase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the UpdateZoneRulesetOptions.Phase property. The phase of the ruleset.

View Source
const (
	ListedRuleset_Kind_Custom  = "custom"
	ListedRuleset_Kind_Managed = "managed"
	ListedRuleset_Kind_Root    = "root"
	ListedRuleset_Kind_Zone    = "zone"
)

Constants associated with the ListedRuleset.Kind property.

View Source
const (
	ListedRuleset_Phase_DdosL4                         = "ddos_l4"
	ListedRuleset_Phase_DdosL7                         = "ddos_l7"
	ListedRuleset_Phase_HttpConfigSettings             = "http_config_settings"
	ListedRuleset_Phase_HttpCustomErrors               = "http_custom_errors"
	ListedRuleset_Phase_HttpLogCustomFields            = "http_log_custom_fields"
	ListedRuleset_Phase_HttpRatelimit                  = "http_ratelimit"
	ListedRuleset_Phase_HttpRequestCacheSettings       = "http_request_cache_settings"
	ListedRuleset_Phase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	ListedRuleset_Phase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	ListedRuleset_Phase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	ListedRuleset_Phase_HttpRequestLateTransform       = "http_request_late_transform"
	ListedRuleset_Phase_HttpRequestOrigin              = "http_request_origin"
	ListedRuleset_Phase_HttpRequestRedirect            = "http_request_redirect"
	ListedRuleset_Phase_HttpRequestSanitize            = "http_request_sanitize"
	ListedRuleset_Phase_HttpRequestSbfm                = "http_request_sbfm"
	ListedRuleset_Phase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	ListedRuleset_Phase_HttpRequestTransform           = "http_request_transform"
	ListedRuleset_Phase_HttpResponseCompression        = "http_response_compression"
	ListedRuleset_Phase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	ListedRuleset_Phase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the ListedRuleset.Phase property. The phase of the ruleset.

View Source
const (
	Overrides_SensitivityLevel_High   = "high"
	Overrides_SensitivityLevel_Low    = "low"
	Overrides_SensitivityLevel_Medium = "medium"
)

Constants associated with the Overrides.SensitivityLevel property. The sensitivity level of the rule.

View Source
const (
	RulesOverride_SensitivityLevel_High   = "high"
	RulesOverride_SensitivityLevel_Low    = "low"
	RulesOverride_SensitivityLevel_Medium = "medium"
)

Constants associated with the RulesOverride.SensitivityLevel property. The sensitivity level of the rule.

View Source
const (
	RulesetDetails_Kind_Custom  = "custom"
	RulesetDetails_Kind_Managed = "managed"
	RulesetDetails_Kind_Root    = "root"
	RulesetDetails_Kind_Zone    = "zone"
)

Constants associated with the RulesetDetails.Kind property.

View Source
const (
	RulesetDetails_Phase_DdosL4                         = "ddos_l4"
	RulesetDetails_Phase_DdosL7                         = "ddos_l7"
	RulesetDetails_Phase_HttpConfigSettings             = "http_config_settings"
	RulesetDetails_Phase_HttpCustomErrors               = "http_custom_errors"
	RulesetDetails_Phase_HttpLogCustomFields            = "http_log_custom_fields"
	RulesetDetails_Phase_HttpRatelimit                  = "http_ratelimit"
	RulesetDetails_Phase_HttpRequestCacheSettings       = "http_request_cache_settings"
	RulesetDetails_Phase_HttpRequestDynamicRedirect     = "http_request_dynamic_redirect"
	RulesetDetails_Phase_HttpRequestFirewallCustom      = "http_request_firewall_custom"
	RulesetDetails_Phase_HttpRequestFirewallManaged     = "http_request_firewall_managed"
	RulesetDetails_Phase_HttpRequestLateTransform       = "http_request_late_transform"
	RulesetDetails_Phase_HttpRequestOrigin              = "http_request_origin"
	RulesetDetails_Phase_HttpRequestRedirect            = "http_request_redirect"
	RulesetDetails_Phase_HttpRequestSanitize            = "http_request_sanitize"
	RulesetDetails_Phase_HttpRequestSbfm                = "http_request_sbfm"
	RulesetDetails_Phase_HttpRequestSelectConfiguration = "http_request_select_configuration"
	RulesetDetails_Phase_HttpRequestTransform           = "http_request_transform"
	RulesetDetails_Phase_HttpResponseCompression        = "http_response_compression"
	RulesetDetails_Phase_HttpResponseFirewallManaged    = "http_response_firewall_managed"
	RulesetDetails_Phase_HttpResponseHeadersTransform   = "http_response_headers_transform"
)

Constants associated with the RulesetDetails.Phase property. The phase of the ruleset.

View Source
const DefaultServiceName = "rulesets"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://api.cis.cloud.ibm.com"

DefaultServiceURL is the default URL to make service requests to.

Variables

This section is empty.

Functions

func GetServiceURLForRegion

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalActionParameters

func UnmarshalActionParameters(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalActionParameters unmarshals an instance of ActionParameters from the specified map of raw messages.

func UnmarshalActionParametersResponse

func UnmarshalActionParametersResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalActionParametersResponse unmarshals an instance of ActionParametersResponse from the specified map of raw messages.

func UnmarshalCategoriesOverride

func UnmarshalCategoriesOverride(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalCategoriesOverride unmarshals an instance of CategoriesOverride from the specified map of raw messages.

func UnmarshalListRulesetsResp

func UnmarshalListRulesetsResp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListRulesetsResp unmarshals an instance of ListRulesetsResp from the specified map of raw messages.

func UnmarshalListedRuleset

func UnmarshalListedRuleset(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalListedRuleset unmarshals an instance of ListedRuleset from the specified map of raw messages.

func UnmarshalLogging

func UnmarshalLogging(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLogging unmarshals an instance of Logging from the specified map of raw messages.

func UnmarshalMessage

func UnmarshalMessage(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalMessage unmarshals an instance of Message from the specified map of raw messages.

func UnmarshalMessageSource

func UnmarshalMessageSource(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalMessageSource unmarshals an instance of MessageSource from the specified map of raw messages.

func UnmarshalOverrides

func UnmarshalOverrides(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalOverrides unmarshals an instance of Overrides from the specified map of raw messages.

func UnmarshalPosition

func UnmarshalPosition(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalPosition unmarshals an instance of Position from the specified map of raw messages.

func UnmarshalRuleCreate

func UnmarshalRuleCreate(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRuleCreate unmarshals an instance of RuleCreate from the specified map of raw messages.

func UnmarshalRuleDetails

func UnmarshalRuleDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRuleDetails unmarshals an instance of RuleDetails from the specified map of raw messages.

func UnmarshalRuleResp

func UnmarshalRuleResp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRuleResp unmarshals an instance of RuleResp from the specified map of raw messages.

func UnmarshalRulesOverride

func UnmarshalRulesOverride(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRulesOverride unmarshals an instance of RulesOverride from the specified map of raw messages.

func UnmarshalRulesetDetails

func UnmarshalRulesetDetails(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRulesetDetails unmarshals an instance of RulesetDetails from the specified map of raw messages.

func UnmarshalRulesetResp

func UnmarshalRulesetResp(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalRulesetResp unmarshals an instance of RulesetResp from the specified map of raw messages.

Types

type ActionParameters

type ActionParameters struct {
	// unique ID of the ruleset.
	ID *string `json:"id,omitempty"`

	Overrides *Overrides `json:"overrides,omitempty"`

	// The version of the ruleset. Use "latest" to get the latest version.
	Version *string `json:"version,omitempty"`

	// Ruleset ID of the ruleset to apply action to. Use "current" to apply to the current ruleset.
	Ruleset *string `json:"ruleset,omitempty"`

	// List of ruleset ids to apply action to. Use "current" to apply to the current ruleset.
	Rulesets []string `json:"rulesets,omitempty"`

	Response *ActionParametersResponse `json:"response,omitempty"`
}

ActionParameters : ActionParameters struct

type ActionParametersResponse

type ActionParametersResponse struct {
	// the content to return.
	Content *string `json:"content" validate:"required"`

	ContentType *string `json:"content_type" validate:"required"`

	// The status code to return.
	StatusCode *int64 `json:"status_code" validate:"required"`
}

ActionParametersResponse : ActionParametersResponse struct

type CategoriesOverride

type CategoriesOverride struct {
	// The category tag name to override.
	Category *string `json:"category,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// What happens when theres a match for the rule expression.
	Action *string `json:"action,omitempty"`
}

CategoriesOverride : CategoriesOverride struct

type CreateAccountRulesetRuleOptions

type CreateAccountRulesetRuleOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// What happens when theres a match for the rule expression.
	Action *string `json:"action,omitempty"`

	ActionParameters *ActionParameters `json:"action_parameters,omitempty"`

	Description *string `json:"description,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// The expression defining which traffic will match the rule.
	Expression *string `json:"expression,omitempty"`

	ID *string `json:"id,omitempty"`

	Logging *Logging `json:"logging,omitempty"`

	// The reference of the rule (the rule ID by default).
	Ref *string `json:"ref,omitempty"`

	Position *Position `json:"position,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateAccountRulesetRuleOptions : The CreateAccountRulesetRule options.

func (*CreateAccountRulesetRuleOptions) SetAction

SetAction : Allow user to set Action

func (*CreateAccountRulesetRuleOptions) SetActionParameters

func (_options *CreateAccountRulesetRuleOptions) SetActionParameters(actionParameters *ActionParameters) *CreateAccountRulesetRuleOptions

SetActionParameters : Allow user to set ActionParameters

func (*CreateAccountRulesetRuleOptions) SetDescription

func (_options *CreateAccountRulesetRuleOptions) SetDescription(description string) *CreateAccountRulesetRuleOptions

SetDescription : Allow user to set Description

func (*CreateAccountRulesetRuleOptions) SetEnabled

SetEnabled : Allow user to set Enabled

func (*CreateAccountRulesetRuleOptions) SetExpression

func (_options *CreateAccountRulesetRuleOptions) SetExpression(expression string) *CreateAccountRulesetRuleOptions

SetExpression : Allow user to set Expression

func (*CreateAccountRulesetRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateAccountRulesetRuleOptions) SetID

SetID : Allow user to set ID

func (*CreateAccountRulesetRuleOptions) SetLogging

SetLogging : Allow user to set Logging

func (*CreateAccountRulesetRuleOptions) SetPosition

SetPosition : Allow user to set Position

func (*CreateAccountRulesetRuleOptions) SetRef

SetRef : Allow user to set Ref

func (*CreateAccountRulesetRuleOptions) SetRulesetID

func (_options *CreateAccountRulesetRuleOptions) SetRulesetID(rulesetID string) *CreateAccountRulesetRuleOptions

SetRulesetID : Allow user to set RulesetID

type CreateZoneRulesetRuleOptions

type CreateZoneRulesetRuleOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// What happens when theres a match for the rule expression.
	Action *string `json:"action,omitempty"`

	ActionParameters *ActionParameters `json:"action_parameters,omitempty"`

	Description *string `json:"description,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// The expression defining which traffic will match the rule.
	Expression *string `json:"expression,omitempty"`

	ID *string `json:"id,omitempty"`

	Logging *Logging `json:"logging,omitempty"`

	// The reference of the rule (the rule ID by default).
	Ref *string `json:"ref,omitempty"`

	Position *Position `json:"position,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateZoneRulesetRuleOptions : The CreateZoneRulesetRule options.

func (*CreateZoneRulesetRuleOptions) SetAction

SetAction : Allow user to set Action

func (*CreateZoneRulesetRuleOptions) SetActionParameters

func (_options *CreateZoneRulesetRuleOptions) SetActionParameters(actionParameters *ActionParameters) *CreateZoneRulesetRuleOptions

SetActionParameters : Allow user to set ActionParameters

func (*CreateZoneRulesetRuleOptions) SetDescription

func (_options *CreateZoneRulesetRuleOptions) SetDescription(description string) *CreateZoneRulesetRuleOptions

SetDescription : Allow user to set Description

func (*CreateZoneRulesetRuleOptions) SetEnabled

func (_options *CreateZoneRulesetRuleOptions) SetEnabled(enabled bool) *CreateZoneRulesetRuleOptions

SetEnabled : Allow user to set Enabled

func (*CreateZoneRulesetRuleOptions) SetExpression

func (_options *CreateZoneRulesetRuleOptions) SetExpression(expression string) *CreateZoneRulesetRuleOptions

SetExpression : Allow user to set Expression

func (*CreateZoneRulesetRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*CreateZoneRulesetRuleOptions) SetID

SetID : Allow user to set ID

func (*CreateZoneRulesetRuleOptions) SetLogging

func (_options *CreateZoneRulesetRuleOptions) SetLogging(logging *Logging) *CreateZoneRulesetRuleOptions

SetLogging : Allow user to set Logging

func (*CreateZoneRulesetRuleOptions) SetPosition

func (_options *CreateZoneRulesetRuleOptions) SetPosition(position *Position) *CreateZoneRulesetRuleOptions

SetPosition : Allow user to set Position

func (*CreateZoneRulesetRuleOptions) SetRef

SetRef : Allow user to set Ref

func (*CreateZoneRulesetRuleOptions) SetRulesetID

func (_options *CreateZoneRulesetRuleOptions) SetRulesetID(rulesetID string) *CreateZoneRulesetRuleOptions

SetRulesetID : Allow user to set RulesetID

type DeleteAccountRulesetOptions

type DeleteAccountRulesetOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteAccountRulesetOptions : The DeleteAccountRuleset options.

func (*DeleteAccountRulesetOptions) SetHeaders

func (options *DeleteAccountRulesetOptions) SetHeaders(param map[string]string) *DeleteAccountRulesetOptions

SetHeaders : Allow user to set Headers

func (*DeleteAccountRulesetOptions) SetRulesetID

func (_options *DeleteAccountRulesetOptions) SetRulesetID(rulesetID string) *DeleteAccountRulesetOptions

SetRulesetID : Allow user to set RulesetID

type DeleteAccountRulesetRuleOptions

type DeleteAccountRulesetRuleOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// ID of a specific rule.
	RuleID *string `json:"rule_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteAccountRulesetRuleOptions : The DeleteAccountRulesetRule options.

func (*DeleteAccountRulesetRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteAccountRulesetRuleOptions) SetRuleID

SetRuleID : Allow user to set RuleID

func (*DeleteAccountRulesetRuleOptions) SetRulesetID

func (_options *DeleteAccountRulesetRuleOptions) SetRulesetID(rulesetID string) *DeleteAccountRulesetRuleOptions

SetRulesetID : Allow user to set RulesetID

type DeleteAccountRulesetVersionOptions

type DeleteAccountRulesetVersionOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// The version of the ruleset.
	RulesetVersion *string `json:"ruleset_version" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteAccountRulesetVersionOptions : The DeleteAccountRulesetVersion options.

func (*DeleteAccountRulesetVersionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteAccountRulesetVersionOptions) SetRulesetID

SetRulesetID : Allow user to set RulesetID

func (*DeleteAccountRulesetVersionOptions) SetRulesetVersion

func (_options *DeleteAccountRulesetVersionOptions) SetRulesetVersion(rulesetVersion string) *DeleteAccountRulesetVersionOptions

SetRulesetVersion : Allow user to set RulesetVersion

type DeleteZoneRulesetOptions

type DeleteZoneRulesetOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteZoneRulesetOptions : The DeleteZoneRuleset options.

func (*DeleteZoneRulesetOptions) SetHeaders

func (options *DeleteZoneRulesetOptions) SetHeaders(param map[string]string) *DeleteZoneRulesetOptions

SetHeaders : Allow user to set Headers

func (*DeleteZoneRulesetOptions) SetRulesetID

func (_options *DeleteZoneRulesetOptions) SetRulesetID(rulesetID string) *DeleteZoneRulesetOptions

SetRulesetID : Allow user to set RulesetID

type DeleteZoneRulesetRuleOptions

type DeleteZoneRulesetRuleOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// ID of a specific rule.
	RuleID *string `json:"rule_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteZoneRulesetRuleOptions : The DeleteZoneRulesetRule options.

func (*DeleteZoneRulesetRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteZoneRulesetRuleOptions) SetRuleID

SetRuleID : Allow user to set RuleID

func (*DeleteZoneRulesetRuleOptions) SetRulesetID

func (_options *DeleteZoneRulesetRuleOptions) SetRulesetID(rulesetID string) *DeleteZoneRulesetRuleOptions

SetRulesetID : Allow user to set RulesetID

type DeleteZoneRulesetVersionOptions

type DeleteZoneRulesetVersionOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// The version of the ruleset.
	RulesetVersion *string `json:"ruleset_version" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteZoneRulesetVersionOptions : The DeleteZoneRulesetVersion options.

func (*DeleteZoneRulesetVersionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*DeleteZoneRulesetVersionOptions) SetRulesetID

func (_options *DeleteZoneRulesetVersionOptions) SetRulesetID(rulesetID string) *DeleteZoneRulesetVersionOptions

SetRulesetID : Allow user to set RulesetID

func (*DeleteZoneRulesetVersionOptions) SetRulesetVersion

func (_options *DeleteZoneRulesetVersionOptions) SetRulesetVersion(rulesetVersion string) *DeleteZoneRulesetVersionOptions

SetRulesetVersion : Allow user to set RulesetVersion

type GetAccountEntryPointRulesetVersionOptions

type GetAccountEntryPointRulesetVersionOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// The version of the ruleset.
	RulesetVersion *string `json:"ruleset_version" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountEntryPointRulesetVersionOptions : The GetAccountEntryPointRulesetVersion options.

func (*GetAccountEntryPointRulesetVersionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetAccountEntryPointRulesetVersionOptions) SetRulesetPhase

SetRulesetPhase : Allow user to set RulesetPhase

func (*GetAccountEntryPointRulesetVersionOptions) SetRulesetVersion

SetRulesetVersion : Allow user to set RulesetVersion

type GetAccountEntryPointRulesetVersionsOptions

type GetAccountEntryPointRulesetVersionsOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountEntryPointRulesetVersionsOptions : The GetAccountEntryPointRulesetVersions options.

func (*GetAccountEntryPointRulesetVersionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetAccountEntryPointRulesetVersionsOptions) SetRulesetPhase

SetRulesetPhase : Allow user to set RulesetPhase

type GetAccountEntrypointRulesetOptions

type GetAccountEntrypointRulesetOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountEntrypointRulesetOptions : The GetAccountEntrypointRuleset options.

func (*GetAccountEntrypointRulesetOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetAccountEntrypointRulesetOptions) SetRulesetPhase

func (_options *GetAccountEntrypointRulesetOptions) SetRulesetPhase(rulesetPhase string) *GetAccountEntrypointRulesetOptions

SetRulesetPhase : Allow user to set RulesetPhase

type GetAccountRulesetOptions

type GetAccountRulesetOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountRulesetOptions : The GetAccountRuleset options.

func (*GetAccountRulesetOptions) SetHeaders

func (options *GetAccountRulesetOptions) SetHeaders(param map[string]string) *GetAccountRulesetOptions

SetHeaders : Allow user to set Headers

func (*GetAccountRulesetOptions) SetRulesetID

func (_options *GetAccountRulesetOptions) SetRulesetID(rulesetID string) *GetAccountRulesetOptions

SetRulesetID : Allow user to set RulesetID

type GetAccountRulesetVersionByTagOptions

type GetAccountRulesetVersionByTagOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// The version of the ruleset.
	RulesetVersion *string `json:"ruleset_version" validate:"required,ne="`

	// A category of the rule.
	RuleTag *string `json:"rule_tag" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountRulesetVersionByTagOptions : The GetAccountRulesetVersionByTag options.

func (*GetAccountRulesetVersionByTagOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetAccountRulesetVersionByTagOptions) SetRuleTag

SetRuleTag : Allow user to set RuleTag

func (*GetAccountRulesetVersionByTagOptions) SetRulesetID

SetRulesetID : Allow user to set RulesetID

func (*GetAccountRulesetVersionByTagOptions) SetRulesetVersion

func (_options *GetAccountRulesetVersionByTagOptions) SetRulesetVersion(rulesetVersion string) *GetAccountRulesetVersionByTagOptions

SetRulesetVersion : Allow user to set RulesetVersion

type GetAccountRulesetVersionOptions

type GetAccountRulesetVersionOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// The version of the ruleset.
	RulesetVersion *string `json:"ruleset_version" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountRulesetVersionOptions : The GetAccountRulesetVersion options.

func (*GetAccountRulesetVersionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetAccountRulesetVersionOptions) SetRulesetID

func (_options *GetAccountRulesetVersionOptions) SetRulesetID(rulesetID string) *GetAccountRulesetVersionOptions

SetRulesetID : Allow user to set RulesetID

func (*GetAccountRulesetVersionOptions) SetRulesetVersion

func (_options *GetAccountRulesetVersionOptions) SetRulesetVersion(rulesetVersion string) *GetAccountRulesetVersionOptions

SetRulesetVersion : Allow user to set RulesetVersion

type GetAccountRulesetVersionsOptions

type GetAccountRulesetVersionsOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountRulesetVersionsOptions : The GetAccountRulesetVersions options.

func (*GetAccountRulesetVersionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetAccountRulesetVersionsOptions) SetRulesetID

SetRulesetID : Allow user to set RulesetID

type GetAccountRulesetsOptions

type GetAccountRulesetsOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetAccountRulesetsOptions : The GetAccountRulesets options.

func (*GetAccountRulesetsOptions) SetHeaders

func (options *GetAccountRulesetsOptions) SetHeaders(param map[string]string) *GetAccountRulesetsOptions

SetHeaders : Allow user to set Headers

type GetZoneEntryPointRulesetVersionOptions

type GetZoneEntryPointRulesetVersionOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// The version of the ruleset.
	RulesetVersion *string `json:"ruleset_version" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetZoneEntryPointRulesetVersionOptions : The GetZoneEntryPointRulesetVersion options.

func (*GetZoneEntryPointRulesetVersionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetZoneEntryPointRulesetVersionOptions) SetRulesetPhase

SetRulesetPhase : Allow user to set RulesetPhase

func (*GetZoneEntryPointRulesetVersionOptions) SetRulesetVersion

func (_options *GetZoneEntryPointRulesetVersionOptions) SetRulesetVersion(rulesetVersion string) *GetZoneEntryPointRulesetVersionOptions

SetRulesetVersion : Allow user to set RulesetVersion

type GetZoneEntryPointRulesetVersionsOptions

type GetZoneEntryPointRulesetVersionsOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetZoneEntryPointRulesetVersionsOptions : The GetZoneEntryPointRulesetVersions options.

func (*GetZoneEntryPointRulesetVersionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetZoneEntryPointRulesetVersionsOptions) SetRulesetPhase

SetRulesetPhase : Allow user to set RulesetPhase

type GetZoneEntrypointRulesetOptions

type GetZoneEntrypointRulesetOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetZoneEntrypointRulesetOptions : The GetZoneEntrypointRuleset options.

func (*GetZoneEntrypointRulesetOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetZoneEntrypointRulesetOptions) SetRulesetPhase

func (_options *GetZoneEntrypointRulesetOptions) SetRulesetPhase(rulesetPhase string) *GetZoneEntrypointRulesetOptions

SetRulesetPhase : Allow user to set RulesetPhase

type GetZoneRulesetOptions

type GetZoneRulesetOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetZoneRulesetOptions : The GetZoneRuleset options.

func (*GetZoneRulesetOptions) SetHeaders

func (options *GetZoneRulesetOptions) SetHeaders(param map[string]string) *GetZoneRulesetOptions

SetHeaders : Allow user to set Headers

func (*GetZoneRulesetOptions) SetRulesetID

func (_options *GetZoneRulesetOptions) SetRulesetID(rulesetID string) *GetZoneRulesetOptions

SetRulesetID : Allow user to set RulesetID

type GetZoneRulesetVersionOptions

type GetZoneRulesetVersionOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// The version of the ruleset.
	RulesetVersion *string `json:"ruleset_version" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetZoneRulesetVersionOptions : The GetZoneRulesetVersion options.

func (*GetZoneRulesetVersionOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetZoneRulesetVersionOptions) SetRulesetID

func (_options *GetZoneRulesetVersionOptions) SetRulesetID(rulesetID string) *GetZoneRulesetVersionOptions

SetRulesetID : Allow user to set RulesetID

func (*GetZoneRulesetVersionOptions) SetRulesetVersion

func (_options *GetZoneRulesetVersionOptions) SetRulesetVersion(rulesetVersion string) *GetZoneRulesetVersionOptions

SetRulesetVersion : Allow user to set RulesetVersion

type GetZoneRulesetVersionsOptions

type GetZoneRulesetVersionsOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetZoneRulesetVersionsOptions : The GetZoneRulesetVersions options.

func (*GetZoneRulesetVersionsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*GetZoneRulesetVersionsOptions) SetRulesetID

func (_options *GetZoneRulesetVersionsOptions) SetRulesetID(rulesetID string) *GetZoneRulesetVersionsOptions

SetRulesetID : Allow user to set RulesetID

type GetZoneRulesetsOptions

type GetZoneRulesetsOptions struct {

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetZoneRulesetsOptions : The GetZoneRulesets options.

func (*GetZoneRulesetsOptions) SetHeaders

func (options *GetZoneRulesetsOptions) SetHeaders(param map[string]string) *GetZoneRulesetsOptions

SetHeaders : Allow user to set Headers

type ListRulesetsResp

type ListRulesetsResp struct {
	// Was operation successful.
	Success *bool `json:"success" validate:"required"`

	// Array of errors encountered.
	Errors []Message `json:"errors" validate:"required"`

	// Array of messages returned.
	Messages []Message `json:"messages" validate:"required"`

	// Container for response information.
	Result []ListedRuleset `json:"result" validate:"required"`
}

ListRulesetsResp : List rulesets response.

type ListedRuleset

type ListedRuleset struct {
	// description of the ruleset.
	Description *string `json:"description" validate:"required"`

	// unique ID of the ruleset.
	ID *string `json:"id" validate:"required"`

	Kind *string `json:"kind" validate:"required"`

	// The timestamp of when the resource was last modified.
	LastUpdated *string `json:"last_updated" validate:"required"`

	// human readable name of the ruleset.
	Name *string `json:"name" validate:"required"`

	// The phase of the ruleset.
	Phase *string `json:"phase" validate:"required"`

	// The version of the ruleset.
	Version *string `json:"version" validate:"required"`
}

ListedRuleset : ListedRuleset struct

type Logging

type Logging struct {
	Enabled *bool `json:"enabled" validate:"required"`
}

Logging : Logging struct

type Message

type Message struct {
	// A unique code for this message.
	Code *int64 `json:"code,omitempty"`

	// A text description of this message.
	Message *string `json:"message" validate:"required"`

	// The source of this message.
	Source *MessageSource `json:"source,omitempty"`
}

Message : Message struct

type MessageSource

type MessageSource struct {
	// A JSON pointer to the field that is the source of the message.
	Pointer *string `json:"pointer" validate:"required"`
}

MessageSource : The source of this message.

type Overrides

type Overrides struct {
	// What happens when theres a match for the rule expression.
	Action *string `json:"action,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// The sensitivity level of the rule.
	SensitivityLevel *string `json:"sensitivity_level,omitempty"`

	Rules []RulesOverride `json:"rules,omitempty"`

	Categories []CategoriesOverride `json:"categories,omitempty"`
}

Overrides : Overrides struct

type Position

type Position struct {
	// The rule ID to place this rule before.
	Before *string `json:"before,omitempty"`

	// The rule ID to place this rule after.
	After *string `json:"after,omitempty"`

	// The index to place this rule at.
	Index *int64 `json:"index,omitempty"`
}

Position : Position struct

type RuleCreate

type RuleCreate struct {
	// What happens when theres a match for the rule expression.
	Action *string `json:"action" validate:"required"`

	ActionParameters *ActionParameters `json:"action_parameters,omitempty"`

	Description *string `json:"description,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// The expression defining which traffic will match the rule.
	Expression *string `json:"expression" validate:"required"`

	ID *string `json:"id,omitempty"`

	Logging *Logging `json:"logging,omitempty"`

	// The reference of the rule (the rule ID by default).
	Ref *string `json:"ref,omitempty"`

	Position *Position `json:"position,omitempty"`
}

RuleCreate : RuleCreate struct

type RuleDetails

type RuleDetails struct {
	// unique ID of rule.
	ID *string `json:"id" validate:"required"`

	// The version of the rule.
	Version *string `json:"version" validate:"required"`

	// What happens when theres a match for the rule expression.
	Action *string `json:"action" validate:"required"`

	ActionParameters *ActionParameters `json:"action_parameters,omitempty"`

	// The expression defining which traffic will match the rule.
	Expression *string `json:"expression" validate:"required"`

	// The reference of the rule (the rule ID by default).
	Ref *string `json:"ref,omitempty"`

	Logging *Logging `json:"logging,omitempty"`

	// The timestamp of when the resource was last modified.
	LastUpdated *string `json:"last_updated" validate:"required"`
}

RuleDetails : RuleDetails struct

type RuleResp

type RuleResp struct {
	// Was operation successful.
	Success *bool `json:"success" validate:"required"`

	// Array of errors encountered.
	Errors []Message `json:"errors" validate:"required"`

	// Array of messages returned.
	Messages []Message `json:"messages" validate:"required"`

	Result *RuleDetails `json:"result" validate:"required"`
}

RuleResp : List rules response.

type RulesOverride

type RulesOverride struct {
	ID *string `json:"id,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// What happens when theres a match for the rule expression.
	Action *string `json:"action,omitempty"`

	// The sensitivity level of the rule.
	SensitivityLevel *string `json:"sensitivity_level,omitempty"`
}

RulesOverride : RulesOverride struct

type RulesetDetails

type RulesetDetails struct {
	// description of the ruleset.
	Description *string `json:"description" validate:"required"`

	// unique ID of the ruleset.
	ID *string `json:"id" validate:"required"`

	Kind *string `json:"kind" validate:"required"`

	// The timestamp of when the resource was last modified.
	LastUpdated *string `json:"last_updated" validate:"required"`

	// human readable name of the ruleset.
	Name *string `json:"name" validate:"required"`

	// The phase of the ruleset.
	Phase *string `json:"phase" validate:"required"`

	// The version of the ruleset.
	Version *string `json:"version" validate:"required"`

	Rules []RuleDetails `json:"rules" validate:"required"`
}

RulesetDetails : RulesetDetails struct

type RulesetResp

type RulesetResp struct {
	// Was operation successful.
	Success *bool `json:"success" validate:"required"`

	// Array of errors encountered.
	Errors []Message `json:"errors" validate:"required"`

	// Array of messages returned.
	Messages []Message `json:"messages" validate:"required"`

	Result *RulesetDetails `json:"result" validate:"required"`
}

RulesetResp : Ruleset response.

type RulesetsV1

type RulesetsV1 struct {
	Service *core.BaseService

	// Full url-encoded CRN of the service instance.
	Crn *string

	// zone identifier.
	ZoneIdentifier *string
}

RulesetsV1 : Rulesets Engine

API Version: 1.0.1

func NewRulesetsV1

func NewRulesetsV1(options *RulesetsV1Options) (service *RulesetsV1, err error)

NewRulesetsV1 : constructs an instance of RulesetsV1 with passed in options.

func NewRulesetsV1UsingExternalConfig

func NewRulesetsV1UsingExternalConfig(options *RulesetsV1Options) (rulesets *RulesetsV1, err error)

NewRulesetsV1UsingExternalConfig : constructs an instance of RulesetsV1 with passed in options and external configuration.

func (*RulesetsV1) Clone

func (rulesets *RulesetsV1) Clone() *RulesetsV1

Clone makes a copy of "rulesets" suitable for processing requests.

func (*RulesetsV1) CreateAccountRulesetRule

func (rulesets *RulesetsV1) CreateAccountRulesetRule(createAccountRulesetRuleOptions *CreateAccountRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

CreateAccountRulesetRule : Create an account ruleset rule Create an account ruleset rule.

func (*RulesetsV1) CreateAccountRulesetRuleWithContext

func (rulesets *RulesetsV1) CreateAccountRulesetRuleWithContext(ctx context.Context, createAccountRulesetRuleOptions *CreateAccountRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

CreateAccountRulesetRuleWithContext is an alternate form of the CreateAccountRulesetRule method which supports a Context parameter

func (*RulesetsV1) CreateZoneRulesetRule

func (rulesets *RulesetsV1) CreateZoneRulesetRule(createZoneRulesetRuleOptions *CreateZoneRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

CreateZoneRulesetRule : Create a zone ruleset rule Create a zone ruleset rule.

func (*RulesetsV1) CreateZoneRulesetRuleWithContext

func (rulesets *RulesetsV1) CreateZoneRulesetRuleWithContext(ctx context.Context, createZoneRulesetRuleOptions *CreateZoneRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

CreateZoneRulesetRuleWithContext is an alternate form of the CreateZoneRulesetRule method which supports a Context parameter

func (*RulesetsV1) DeleteAccountRuleset

func (rulesets *RulesetsV1) DeleteAccountRuleset(deleteAccountRulesetOptions *DeleteAccountRulesetOptions) (response *core.DetailedResponse, err error)

DeleteAccountRuleset : Delete an account ruleset Delete a specific account ruleset.

func (*RulesetsV1) DeleteAccountRulesetRule

func (rulesets *RulesetsV1) DeleteAccountRulesetRule(deleteAccountRulesetRuleOptions *DeleteAccountRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

DeleteAccountRulesetRule : Delete an account ruleset rule Delete an account ruleset rule.

func (*RulesetsV1) DeleteAccountRulesetRuleWithContext

func (rulesets *RulesetsV1) DeleteAccountRulesetRuleWithContext(ctx context.Context, deleteAccountRulesetRuleOptions *DeleteAccountRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

DeleteAccountRulesetRuleWithContext is an alternate form of the DeleteAccountRulesetRule method which supports a Context parameter

func (*RulesetsV1) DeleteAccountRulesetVersion

func (rulesets *RulesetsV1) DeleteAccountRulesetVersion(deleteAccountRulesetVersionOptions *DeleteAccountRulesetVersionOptions) (response *core.DetailedResponse, err error)

DeleteAccountRulesetVersion : Delete a specific version of an account ruleset Delete a specific version of a specific account ruleset.

func (*RulesetsV1) DeleteAccountRulesetVersionWithContext

func (rulesets *RulesetsV1) DeleteAccountRulesetVersionWithContext(ctx context.Context, deleteAccountRulesetVersionOptions *DeleteAccountRulesetVersionOptions) (response *core.DetailedResponse, err error)

DeleteAccountRulesetVersionWithContext is an alternate form of the DeleteAccountRulesetVersion method which supports a Context parameter

func (*RulesetsV1) DeleteAccountRulesetWithContext

func (rulesets *RulesetsV1) DeleteAccountRulesetWithContext(ctx context.Context, deleteAccountRulesetOptions *DeleteAccountRulesetOptions) (response *core.DetailedResponse, err error)

DeleteAccountRulesetWithContext is an alternate form of the DeleteAccountRuleset method which supports a Context parameter

func (*RulesetsV1) DeleteZoneRuleset

func (rulesets *RulesetsV1) DeleteZoneRuleset(deleteZoneRulesetOptions *DeleteZoneRulesetOptions) (response *core.DetailedResponse, err error)

DeleteZoneRuleset : Delete a zone ruleset Delete a specific zone ruleset.

func (*RulesetsV1) DeleteZoneRulesetRule

func (rulesets *RulesetsV1) DeleteZoneRulesetRule(deleteZoneRulesetRuleOptions *DeleteZoneRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

DeleteZoneRulesetRule : Delete a zone ruleset rule Delete an account ruleset rule.

func (*RulesetsV1) DeleteZoneRulesetRuleWithContext

func (rulesets *RulesetsV1) DeleteZoneRulesetRuleWithContext(ctx context.Context, deleteZoneRulesetRuleOptions *DeleteZoneRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

DeleteZoneRulesetRuleWithContext is an alternate form of the DeleteZoneRulesetRule method which supports a Context parameter

func (*RulesetsV1) DeleteZoneRulesetVersion

func (rulesets *RulesetsV1) DeleteZoneRulesetVersion(deleteZoneRulesetVersionOptions *DeleteZoneRulesetVersionOptions) (response *core.DetailedResponse, err error)

DeleteZoneRulesetVersion : Delete a specific version of a zone ruleset Delete a specific version of a specific zone ruleset.

func (*RulesetsV1) DeleteZoneRulesetVersionWithContext

func (rulesets *RulesetsV1) DeleteZoneRulesetVersionWithContext(ctx context.Context, deleteZoneRulesetVersionOptions *DeleteZoneRulesetVersionOptions) (response *core.DetailedResponse, err error)

DeleteZoneRulesetVersionWithContext is an alternate form of the DeleteZoneRulesetVersion method which supports a Context parameter

func (*RulesetsV1) DeleteZoneRulesetWithContext

func (rulesets *RulesetsV1) DeleteZoneRulesetWithContext(ctx context.Context, deleteZoneRulesetOptions *DeleteZoneRulesetOptions) (response *core.DetailedResponse, err error)

DeleteZoneRulesetWithContext is an alternate form of the DeleteZoneRuleset method which supports a Context parameter

func (*RulesetsV1) DisableRetries

func (rulesets *RulesetsV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*RulesetsV1) EnableRetries

func (rulesets *RulesetsV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*RulesetsV1) GetAccountEntryPointRulesetVersion

func (rulesets *RulesetsV1) GetAccountEntryPointRulesetVersion(getAccountEntryPointRulesetVersionOptions *GetAccountEntryPointRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountEntryPointRulesetVersion : Get an account entry point ruleset version Fetches a specific version of an account entry point ruleset.

func (*RulesetsV1) GetAccountEntryPointRulesetVersionWithContext

func (rulesets *RulesetsV1) GetAccountEntryPointRulesetVersionWithContext(ctx context.Context, getAccountEntryPointRulesetVersionOptions *GetAccountEntryPointRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountEntryPointRulesetVersionWithContext is an alternate form of the GetAccountEntryPointRulesetVersion method which supports a Context parameter

func (*RulesetsV1) GetAccountEntryPointRulesetVersions

func (rulesets *RulesetsV1) GetAccountEntryPointRulesetVersions(getAccountEntryPointRulesetVersionsOptions *GetAccountEntryPointRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetAccountEntryPointRulesetVersions : List an account entry point ruleset's versions Lists the account ruleset versions for the given phase's entry point.

func (*RulesetsV1) GetAccountEntryPointRulesetVersionsWithContext

func (rulesets *RulesetsV1) GetAccountEntryPointRulesetVersionsWithContext(ctx context.Context, getAccountEntryPointRulesetVersionsOptions *GetAccountEntryPointRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetAccountEntryPointRulesetVersionsWithContext is an alternate form of the GetAccountEntryPointRulesetVersions method which supports a Context parameter

func (*RulesetsV1) GetAccountEntrypointRuleset

func (rulesets *RulesetsV1) GetAccountEntrypointRuleset(getAccountEntrypointRulesetOptions *GetAccountEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountEntrypointRuleset : Get an account entrypoint ruleset Get the account ruleset for the given phase's entrypoint.

func (*RulesetsV1) GetAccountEntrypointRulesetWithContext

func (rulesets *RulesetsV1) GetAccountEntrypointRulesetWithContext(ctx context.Context, getAccountEntrypointRulesetOptions *GetAccountEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountEntrypointRulesetWithContext is an alternate form of the GetAccountEntrypointRuleset method which supports a Context parameter

func (*RulesetsV1) GetAccountRuleset

func (rulesets *RulesetsV1) GetAccountRuleset(getAccountRulesetOptions *GetAccountRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountRuleset : Get an account ruleset View a specific account ruleset.

func (*RulesetsV1) GetAccountRulesetVersion

func (rulesets *RulesetsV1) GetAccountRulesetVersion(getAccountRulesetVersionOptions *GetAccountRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountRulesetVersion : Get a specific version of an account ruleset View a specific version of a specific account ruleset.

func (*RulesetsV1) GetAccountRulesetVersionByTag

func (rulesets *RulesetsV1) GetAccountRulesetVersionByTag(getAccountRulesetVersionByTagOptions *GetAccountRulesetVersionByTagOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountRulesetVersionByTag : List an account ruleset verion's rules by tag Lists rules by tag for a specific version of an account ruleset.

func (*RulesetsV1) GetAccountRulesetVersionByTagWithContext

func (rulesets *RulesetsV1) GetAccountRulesetVersionByTagWithContext(ctx context.Context, getAccountRulesetVersionByTagOptions *GetAccountRulesetVersionByTagOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountRulesetVersionByTagWithContext is an alternate form of the GetAccountRulesetVersionByTag method which supports a Context parameter

func (*RulesetsV1) GetAccountRulesetVersionWithContext

func (rulesets *RulesetsV1) GetAccountRulesetVersionWithContext(ctx context.Context, getAccountRulesetVersionOptions *GetAccountRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountRulesetVersionWithContext is an alternate form of the GetAccountRulesetVersion method which supports a Context parameter

func (*RulesetsV1) GetAccountRulesetVersions

func (rulesets *RulesetsV1) GetAccountRulesetVersions(getAccountRulesetVersionsOptions *GetAccountRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetAccountRulesetVersions : List version of an account ruleset List all versions of a specific account ruleset.

func (*RulesetsV1) GetAccountRulesetVersionsWithContext

func (rulesets *RulesetsV1) GetAccountRulesetVersionsWithContext(ctx context.Context, getAccountRulesetVersionsOptions *GetAccountRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetAccountRulesetVersionsWithContext is an alternate form of the GetAccountRulesetVersions method which supports a Context parameter

func (*RulesetsV1) GetAccountRulesetWithContext

func (rulesets *RulesetsV1) GetAccountRulesetWithContext(ctx context.Context, getAccountRulesetOptions *GetAccountRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetAccountRulesetWithContext is an alternate form of the GetAccountRuleset method which supports a Context parameter

func (*RulesetsV1) GetAccountRulesets

func (rulesets *RulesetsV1) GetAccountRulesets(getAccountRulesetsOptions *GetAccountRulesetsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetAccountRulesets : List account rulesets List all rulesets at the account level.

func (*RulesetsV1) GetAccountRulesetsWithContext

func (rulesets *RulesetsV1) GetAccountRulesetsWithContext(ctx context.Context, getAccountRulesetsOptions *GetAccountRulesetsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetAccountRulesetsWithContext is an alternate form of the GetAccountRulesets method which supports a Context parameter

func (*RulesetsV1) GetEnableGzipCompression

func (rulesets *RulesetsV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*RulesetsV1) GetServiceURL

func (rulesets *RulesetsV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*RulesetsV1) GetZoneEntryPointRulesetVersion

func (rulesets *RulesetsV1) GetZoneEntryPointRulesetVersion(getZoneEntryPointRulesetVersionOptions *GetZoneEntryPointRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneEntryPointRulesetVersion : Get a zone entry point ruleset version Fetches a specific version of a zone entry point ruleset.

func (*RulesetsV1) GetZoneEntryPointRulesetVersionWithContext

func (rulesets *RulesetsV1) GetZoneEntryPointRulesetVersionWithContext(ctx context.Context, getZoneEntryPointRulesetVersionOptions *GetZoneEntryPointRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneEntryPointRulesetVersionWithContext is an alternate form of the GetZoneEntryPointRulesetVersion method which supports a Context parameter

func (*RulesetsV1) GetZoneEntryPointRulesetVersions

func (rulesets *RulesetsV1) GetZoneEntryPointRulesetVersions(getZoneEntryPointRulesetVersionsOptions *GetZoneEntryPointRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetZoneEntryPointRulesetVersions : List a zone entry point ruleset's versions Lists the zone ruleset versions for the given phase's entry point.

func (*RulesetsV1) GetZoneEntryPointRulesetVersionsWithContext

func (rulesets *RulesetsV1) GetZoneEntryPointRulesetVersionsWithContext(ctx context.Context, getZoneEntryPointRulesetVersionsOptions *GetZoneEntryPointRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetZoneEntryPointRulesetVersionsWithContext is an alternate form of the GetZoneEntryPointRulesetVersions method which supports a Context parameter

func (*RulesetsV1) GetZoneEntrypointRuleset

func (rulesets *RulesetsV1) GetZoneEntrypointRuleset(getZoneEntrypointRulesetOptions *GetZoneEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneEntrypointRuleset : Get a zone entrypoint ruleset Get the zone ruleset for the given phase's entrypoint.

func (*RulesetsV1) GetZoneEntrypointRulesetWithContext

func (rulesets *RulesetsV1) GetZoneEntrypointRulesetWithContext(ctx context.Context, getZoneEntrypointRulesetOptions *GetZoneEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneEntrypointRulesetWithContext is an alternate form of the GetZoneEntrypointRuleset method which supports a Context parameter

func (*RulesetsV1) GetZoneRuleset

func (rulesets *RulesetsV1) GetZoneRuleset(getZoneRulesetOptions *GetZoneRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneRuleset : Get a zone ruleset View a specific zone ruleset.

func (*RulesetsV1) GetZoneRulesetVersion

func (rulesets *RulesetsV1) GetZoneRulesetVersion(getZoneRulesetVersionOptions *GetZoneRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneRulesetVersion : Get a specific version of a zone ruleset View a specific version of a specific zone ruleset.

func (*RulesetsV1) GetZoneRulesetVersionWithContext

func (rulesets *RulesetsV1) GetZoneRulesetVersionWithContext(ctx context.Context, getZoneRulesetVersionOptions *GetZoneRulesetVersionOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneRulesetVersionWithContext is an alternate form of the GetZoneRulesetVersion method which supports a Context parameter

func (*RulesetsV1) GetZoneRulesetVersions

func (rulesets *RulesetsV1) GetZoneRulesetVersions(getZoneRulesetVersionsOptions *GetZoneRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetZoneRulesetVersions : List version of a zone ruleset List all versions of a specific zone ruleset.

func (*RulesetsV1) GetZoneRulesetVersionsWithContext

func (rulesets *RulesetsV1) GetZoneRulesetVersionsWithContext(ctx context.Context, getZoneRulesetVersionsOptions *GetZoneRulesetVersionsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetZoneRulesetVersionsWithContext is an alternate form of the GetZoneRulesetVersions method which supports a Context parameter

func (*RulesetsV1) GetZoneRulesetWithContext

func (rulesets *RulesetsV1) GetZoneRulesetWithContext(ctx context.Context, getZoneRulesetOptions *GetZoneRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

GetZoneRulesetWithContext is an alternate form of the GetZoneRuleset method which supports a Context parameter

func (*RulesetsV1) GetZoneRulesets

func (rulesets *RulesetsV1) GetZoneRulesets(getZoneRulesetsOptions *GetZoneRulesetsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetZoneRulesets : List zone rulesets List all rulesets at the zone level.

func (*RulesetsV1) GetZoneRulesetsWithContext

func (rulesets *RulesetsV1) GetZoneRulesetsWithContext(ctx context.Context, getZoneRulesetsOptions *GetZoneRulesetsOptions) (result *ListRulesetsResp, response *core.DetailedResponse, err error)

GetZoneRulesetsWithContext is an alternate form of the GetZoneRulesets method which supports a Context parameter

func (*RulesetsV1) NewActionParametersResponse

func (*RulesetsV1) NewActionParametersResponse(content string, contentType string, statusCode int64) (_model *ActionParametersResponse, err error)

NewActionParametersResponse : Instantiate ActionParametersResponse (Generic Model Constructor)

func (*RulesetsV1) NewCreateAccountRulesetRuleOptions

func (*RulesetsV1) NewCreateAccountRulesetRuleOptions(rulesetID string) *CreateAccountRulesetRuleOptions

NewCreateAccountRulesetRuleOptions : Instantiate CreateAccountRulesetRuleOptions

func (*RulesetsV1) NewCreateZoneRulesetRuleOptions

func (*RulesetsV1) NewCreateZoneRulesetRuleOptions(rulesetID string) *CreateZoneRulesetRuleOptions

NewCreateZoneRulesetRuleOptions : Instantiate CreateZoneRulesetRuleOptions

func (*RulesetsV1) NewDeleteAccountRulesetOptions

func (*RulesetsV1) NewDeleteAccountRulesetOptions(rulesetID string) *DeleteAccountRulesetOptions

NewDeleteAccountRulesetOptions : Instantiate DeleteAccountRulesetOptions

func (*RulesetsV1) NewDeleteAccountRulesetRuleOptions

func (*RulesetsV1) NewDeleteAccountRulesetRuleOptions(rulesetID string, ruleID string) *DeleteAccountRulesetRuleOptions

NewDeleteAccountRulesetRuleOptions : Instantiate DeleteAccountRulesetRuleOptions

func (*RulesetsV1) NewDeleteAccountRulesetVersionOptions

func (*RulesetsV1) NewDeleteAccountRulesetVersionOptions(rulesetID string, rulesetVersion string) *DeleteAccountRulesetVersionOptions

NewDeleteAccountRulesetVersionOptions : Instantiate DeleteAccountRulesetVersionOptions

func (*RulesetsV1) NewDeleteZoneRulesetOptions

func (*RulesetsV1) NewDeleteZoneRulesetOptions(rulesetID string) *DeleteZoneRulesetOptions

NewDeleteZoneRulesetOptions : Instantiate DeleteZoneRulesetOptions

func (*RulesetsV1) NewDeleteZoneRulesetRuleOptions

func (*RulesetsV1) NewDeleteZoneRulesetRuleOptions(rulesetID string, ruleID string) *DeleteZoneRulesetRuleOptions

NewDeleteZoneRulesetRuleOptions : Instantiate DeleteZoneRulesetRuleOptions

func (*RulesetsV1) NewDeleteZoneRulesetVersionOptions

func (*RulesetsV1) NewDeleteZoneRulesetVersionOptions(rulesetID string, rulesetVersion string) *DeleteZoneRulesetVersionOptions

NewDeleteZoneRulesetVersionOptions : Instantiate DeleteZoneRulesetVersionOptions

func (*RulesetsV1) NewGetAccountEntryPointRulesetVersionOptions

func (*RulesetsV1) NewGetAccountEntryPointRulesetVersionOptions(rulesetPhase string, rulesetVersion string) *GetAccountEntryPointRulesetVersionOptions

NewGetAccountEntryPointRulesetVersionOptions : Instantiate GetAccountEntryPointRulesetVersionOptions

func (*RulesetsV1) NewGetAccountEntryPointRulesetVersionsOptions

func (*RulesetsV1) NewGetAccountEntryPointRulesetVersionsOptions(rulesetPhase string) *GetAccountEntryPointRulesetVersionsOptions

NewGetAccountEntryPointRulesetVersionsOptions : Instantiate GetAccountEntryPointRulesetVersionsOptions

func (*RulesetsV1) NewGetAccountEntrypointRulesetOptions

func (*RulesetsV1) NewGetAccountEntrypointRulesetOptions(rulesetPhase string) *GetAccountEntrypointRulesetOptions

NewGetAccountEntrypointRulesetOptions : Instantiate GetAccountEntrypointRulesetOptions

func (*RulesetsV1) NewGetAccountRulesetOptions

func (*RulesetsV1) NewGetAccountRulesetOptions(rulesetID string) *GetAccountRulesetOptions

NewGetAccountRulesetOptions : Instantiate GetAccountRulesetOptions

func (*RulesetsV1) NewGetAccountRulesetVersionByTagOptions

func (*RulesetsV1) NewGetAccountRulesetVersionByTagOptions(rulesetID string, rulesetVersion string, ruleTag string) *GetAccountRulesetVersionByTagOptions

NewGetAccountRulesetVersionByTagOptions : Instantiate GetAccountRulesetVersionByTagOptions

func (*RulesetsV1) NewGetAccountRulesetVersionOptions

func (*RulesetsV1) NewGetAccountRulesetVersionOptions(rulesetID string, rulesetVersion string) *GetAccountRulesetVersionOptions

NewGetAccountRulesetVersionOptions : Instantiate GetAccountRulesetVersionOptions

func (*RulesetsV1) NewGetAccountRulesetVersionsOptions

func (*RulesetsV1) NewGetAccountRulesetVersionsOptions(rulesetID string) *GetAccountRulesetVersionsOptions

NewGetAccountRulesetVersionsOptions : Instantiate GetAccountRulesetVersionsOptions

func (*RulesetsV1) NewGetAccountRulesetsOptions

func (*RulesetsV1) NewGetAccountRulesetsOptions() *GetAccountRulesetsOptions

NewGetAccountRulesetsOptions : Instantiate GetAccountRulesetsOptions

func (*RulesetsV1) NewGetZoneEntryPointRulesetVersionOptions

func (*RulesetsV1) NewGetZoneEntryPointRulesetVersionOptions(rulesetPhase string, rulesetVersion string) *GetZoneEntryPointRulesetVersionOptions

NewGetZoneEntryPointRulesetVersionOptions : Instantiate GetZoneEntryPointRulesetVersionOptions

func (*RulesetsV1) NewGetZoneEntryPointRulesetVersionsOptions

func (*RulesetsV1) NewGetZoneEntryPointRulesetVersionsOptions(rulesetPhase string) *GetZoneEntryPointRulesetVersionsOptions

NewGetZoneEntryPointRulesetVersionsOptions : Instantiate GetZoneEntryPointRulesetVersionsOptions

func (*RulesetsV1) NewGetZoneEntrypointRulesetOptions

func (*RulesetsV1) NewGetZoneEntrypointRulesetOptions(rulesetPhase string) *GetZoneEntrypointRulesetOptions

NewGetZoneEntrypointRulesetOptions : Instantiate GetZoneEntrypointRulesetOptions

func (*RulesetsV1) NewGetZoneRulesetOptions

func (*RulesetsV1) NewGetZoneRulesetOptions(rulesetID string) *GetZoneRulesetOptions

NewGetZoneRulesetOptions : Instantiate GetZoneRulesetOptions

func (*RulesetsV1) NewGetZoneRulesetVersionOptions

func (*RulesetsV1) NewGetZoneRulesetVersionOptions(rulesetID string, rulesetVersion string) *GetZoneRulesetVersionOptions

NewGetZoneRulesetVersionOptions : Instantiate GetZoneRulesetVersionOptions

func (*RulesetsV1) NewGetZoneRulesetVersionsOptions

func (*RulesetsV1) NewGetZoneRulesetVersionsOptions(rulesetID string) *GetZoneRulesetVersionsOptions

NewGetZoneRulesetVersionsOptions : Instantiate GetZoneRulesetVersionsOptions

func (*RulesetsV1) NewGetZoneRulesetsOptions

func (*RulesetsV1) NewGetZoneRulesetsOptions() *GetZoneRulesetsOptions

NewGetZoneRulesetsOptions : Instantiate GetZoneRulesetsOptions

func (*RulesetsV1) NewLogging

func (*RulesetsV1) NewLogging(enabled bool) (_model *Logging, err error)

NewLogging : Instantiate Logging (Generic Model Constructor)

func (*RulesetsV1) NewRuleCreate

func (*RulesetsV1) NewRuleCreate(action string, expression string) (_model *RuleCreate, err error)

NewRuleCreate : Instantiate RuleCreate (Generic Model Constructor)

func (*RulesetsV1) NewUpdateAccountEntrypointRulesetOptions

func (*RulesetsV1) NewUpdateAccountEntrypointRulesetOptions(rulesetPhase string) *UpdateAccountEntrypointRulesetOptions

NewUpdateAccountEntrypointRulesetOptions : Instantiate UpdateAccountEntrypointRulesetOptions

func (*RulesetsV1) NewUpdateAccountRulesetOptions

func (*RulesetsV1) NewUpdateAccountRulesetOptions(rulesetID string) *UpdateAccountRulesetOptions

NewUpdateAccountRulesetOptions : Instantiate UpdateAccountRulesetOptions

func (*RulesetsV1) NewUpdateAccountRulesetRuleOptions

func (*RulesetsV1) NewUpdateAccountRulesetRuleOptions(rulesetID string, ruleID string) *UpdateAccountRulesetRuleOptions

NewUpdateAccountRulesetRuleOptions : Instantiate UpdateAccountRulesetRuleOptions

func (*RulesetsV1) NewUpdateZoneEntrypointRulesetOptions

func (*RulesetsV1) NewUpdateZoneEntrypointRulesetOptions(rulesetPhase string) *UpdateZoneEntrypointRulesetOptions

NewUpdateZoneEntrypointRulesetOptions : Instantiate UpdateZoneEntrypointRulesetOptions

func (*RulesetsV1) NewUpdateZoneRulesetOptions

func (*RulesetsV1) NewUpdateZoneRulesetOptions(rulesetID string) *UpdateZoneRulesetOptions

NewUpdateZoneRulesetOptions : Instantiate UpdateZoneRulesetOptions

func (*RulesetsV1) NewUpdateZoneRulesetRuleOptions

func (*RulesetsV1) NewUpdateZoneRulesetRuleOptions(rulesetID string, ruleID string) *UpdateZoneRulesetRuleOptions

NewUpdateZoneRulesetRuleOptions : Instantiate UpdateZoneRulesetRuleOptions

func (*RulesetsV1) SetDefaultHeaders

func (rulesets *RulesetsV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*RulesetsV1) SetEnableGzipCompression

func (rulesets *RulesetsV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*RulesetsV1) SetServiceURL

func (rulesets *RulesetsV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

func (*RulesetsV1) UpdateAccountEntrypointRuleset

func (rulesets *RulesetsV1) UpdateAccountEntrypointRuleset(updateAccountEntrypointRulesetOptions *UpdateAccountEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateAccountEntrypointRuleset : Update an account entrypoint ruleset Updates the account ruleset for the given phase's entry point.

func (*RulesetsV1) UpdateAccountEntrypointRulesetWithContext

func (rulesets *RulesetsV1) UpdateAccountEntrypointRulesetWithContext(ctx context.Context, updateAccountEntrypointRulesetOptions *UpdateAccountEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateAccountEntrypointRulesetWithContext is an alternate form of the UpdateAccountEntrypointRuleset method which supports a Context parameter

func (*RulesetsV1) UpdateAccountRuleset

func (rulesets *RulesetsV1) UpdateAccountRuleset(updateAccountRulesetOptions *UpdateAccountRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateAccountRuleset : Update an account ruleset Update a specific account ruleset.

func (*RulesetsV1) UpdateAccountRulesetRule

func (rulesets *RulesetsV1) UpdateAccountRulesetRule(updateAccountRulesetRuleOptions *UpdateAccountRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

UpdateAccountRulesetRule : Update an account ruleset rule Update an account ruleset rule.

func (*RulesetsV1) UpdateAccountRulesetRuleWithContext

func (rulesets *RulesetsV1) UpdateAccountRulesetRuleWithContext(ctx context.Context, updateAccountRulesetRuleOptions *UpdateAccountRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

UpdateAccountRulesetRuleWithContext is an alternate form of the UpdateAccountRulesetRule method which supports a Context parameter

func (*RulesetsV1) UpdateAccountRulesetWithContext

func (rulesets *RulesetsV1) UpdateAccountRulesetWithContext(ctx context.Context, updateAccountRulesetOptions *UpdateAccountRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateAccountRulesetWithContext is an alternate form of the UpdateAccountRuleset method which supports a Context parameter

func (*RulesetsV1) UpdateZoneEntrypointRuleset

func (rulesets *RulesetsV1) UpdateZoneEntrypointRuleset(updateZoneEntrypointRulesetOptions *UpdateZoneEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateZoneEntrypointRuleset : Update a zone entrypoint ruleset Updates the account ruleset for the given phase's entry point.

func (*RulesetsV1) UpdateZoneEntrypointRulesetWithContext

func (rulesets *RulesetsV1) UpdateZoneEntrypointRulesetWithContext(ctx context.Context, updateZoneEntrypointRulesetOptions *UpdateZoneEntrypointRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateZoneEntrypointRulesetWithContext is an alternate form of the UpdateZoneEntrypointRuleset method which supports a Context parameter

func (*RulesetsV1) UpdateZoneRuleset

func (rulesets *RulesetsV1) UpdateZoneRuleset(updateZoneRulesetOptions *UpdateZoneRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateZoneRuleset : Update a zone ruleset Update a specific zone ruleset.

func (*RulesetsV1) UpdateZoneRulesetRule

func (rulesets *RulesetsV1) UpdateZoneRulesetRule(updateZoneRulesetRuleOptions *UpdateZoneRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

UpdateZoneRulesetRule : Update a zone ruleset rule Update a zone ruleset rule.

func (*RulesetsV1) UpdateZoneRulesetRuleWithContext

func (rulesets *RulesetsV1) UpdateZoneRulesetRuleWithContext(ctx context.Context, updateZoneRulesetRuleOptions *UpdateZoneRulesetRuleOptions) (result *RuleResp, response *core.DetailedResponse, err error)

UpdateZoneRulesetRuleWithContext is an alternate form of the UpdateZoneRulesetRule method which supports a Context parameter

func (*RulesetsV1) UpdateZoneRulesetWithContext

func (rulesets *RulesetsV1) UpdateZoneRulesetWithContext(ctx context.Context, updateZoneRulesetOptions *UpdateZoneRulesetOptions) (result *RulesetResp, response *core.DetailedResponse, err error)

UpdateZoneRulesetWithContext is an alternate form of the UpdateZoneRuleset method which supports a Context parameter

type RulesetsV1Options

type RulesetsV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator

	// Full url-encoded CRN of the service instance.
	Crn *string `validate:"required"`

	// zone identifier.
	ZoneIdentifier *string `validate:"required"`
}

RulesetsV1Options : Service options

type UpdateAccountEntrypointRulesetOptions

type UpdateAccountEntrypointRulesetOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// description of the ruleset.
	Description *string `json:"description,omitempty"`

	Kind *string `json:"kind,omitempty"`

	// human readable name of the ruleset.
	Name *string `json:"name,omitempty"`

	// The phase of the ruleset.
	Phase *string `json:"phase,omitempty"`

	Rules []RuleCreate `json:"rules,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateAccountEntrypointRulesetOptions : The UpdateAccountEntrypointRuleset options.

func (*UpdateAccountEntrypointRulesetOptions) SetDescription

SetDescription : Allow user to set Description

func (*UpdateAccountEntrypointRulesetOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateAccountEntrypointRulesetOptions) SetKind

SetKind : Allow user to set Kind

func (*UpdateAccountEntrypointRulesetOptions) SetName

SetName : Allow user to set Name

func (*UpdateAccountEntrypointRulesetOptions) SetPhase

SetPhase : Allow user to set Phase

func (*UpdateAccountEntrypointRulesetOptions) SetRules

SetRules : Allow user to set Rules

func (*UpdateAccountEntrypointRulesetOptions) SetRulesetPhase

SetRulesetPhase : Allow user to set RulesetPhase

type UpdateAccountRulesetOptions

type UpdateAccountRulesetOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// description of the ruleset.
	Description *string `json:"description,omitempty"`

	Kind *string `json:"kind,omitempty"`

	// human readable name of the ruleset.
	Name *string `json:"name,omitempty"`

	// The phase of the ruleset.
	Phase *string `json:"phase,omitempty"`

	Rules []RuleCreate `json:"rules,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateAccountRulesetOptions : The UpdateAccountRuleset options.

func (*UpdateAccountRulesetOptions) SetDescription

func (_options *UpdateAccountRulesetOptions) SetDescription(description string) *UpdateAccountRulesetOptions

SetDescription : Allow user to set Description

func (*UpdateAccountRulesetOptions) SetHeaders

func (options *UpdateAccountRulesetOptions) SetHeaders(param map[string]string) *UpdateAccountRulesetOptions

SetHeaders : Allow user to set Headers

func (*UpdateAccountRulesetOptions) SetKind

SetKind : Allow user to set Kind

func (*UpdateAccountRulesetOptions) SetName

SetName : Allow user to set Name

func (*UpdateAccountRulesetOptions) SetPhase

SetPhase : Allow user to set Phase

func (*UpdateAccountRulesetOptions) SetRules

SetRules : Allow user to set Rules

func (*UpdateAccountRulesetOptions) SetRulesetID

func (_options *UpdateAccountRulesetOptions) SetRulesetID(rulesetID string) *UpdateAccountRulesetOptions

SetRulesetID : Allow user to set RulesetID

type UpdateAccountRulesetRuleOptions

type UpdateAccountRulesetRuleOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// ID of a specific rule.
	RuleID *string `json:"rule_id" validate:"required,ne="`

	// What happens when theres a match for the rule expression.
	Action *string `json:"action,omitempty"`

	ActionParameters *ActionParameters `json:"action_parameters,omitempty"`

	Description *string `json:"description,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// The expression defining which traffic will match the rule.
	Expression *string `json:"expression,omitempty"`

	ID *string `json:"id,omitempty"`

	Logging *Logging `json:"logging,omitempty"`

	// The reference of the rule (the rule ID by default).
	Ref *string `json:"ref,omitempty"`

	Position *Position `json:"position,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateAccountRulesetRuleOptions : The UpdateAccountRulesetRule options.

func (*UpdateAccountRulesetRuleOptions) SetAction

SetAction : Allow user to set Action

func (*UpdateAccountRulesetRuleOptions) SetActionParameters

func (_options *UpdateAccountRulesetRuleOptions) SetActionParameters(actionParameters *ActionParameters) *UpdateAccountRulesetRuleOptions

SetActionParameters : Allow user to set ActionParameters

func (*UpdateAccountRulesetRuleOptions) SetDescription

func (_options *UpdateAccountRulesetRuleOptions) SetDescription(description string) *UpdateAccountRulesetRuleOptions

SetDescription : Allow user to set Description

func (*UpdateAccountRulesetRuleOptions) SetEnabled

SetEnabled : Allow user to set Enabled

func (*UpdateAccountRulesetRuleOptions) SetExpression

func (_options *UpdateAccountRulesetRuleOptions) SetExpression(expression string) *UpdateAccountRulesetRuleOptions

SetExpression : Allow user to set Expression

func (*UpdateAccountRulesetRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateAccountRulesetRuleOptions) SetID

SetID : Allow user to set ID

func (*UpdateAccountRulesetRuleOptions) SetLogging

SetLogging : Allow user to set Logging

func (*UpdateAccountRulesetRuleOptions) SetPosition

SetPosition : Allow user to set Position

func (*UpdateAccountRulesetRuleOptions) SetRef

SetRef : Allow user to set Ref

func (*UpdateAccountRulesetRuleOptions) SetRuleID

SetRuleID : Allow user to set RuleID

func (*UpdateAccountRulesetRuleOptions) SetRulesetID

func (_options *UpdateAccountRulesetRuleOptions) SetRulesetID(rulesetID string) *UpdateAccountRulesetRuleOptions

SetRulesetID : Allow user to set RulesetID

type UpdateZoneEntrypointRulesetOptions

type UpdateZoneEntrypointRulesetOptions struct {
	// The phase of the ruleset.
	RulesetPhase *string `json:"ruleset_phase" validate:"required,ne="`

	// description of the ruleset.
	Description *string `json:"description,omitempty"`

	Kind *string `json:"kind,omitempty"`

	// human readable name of the ruleset.
	Name *string `json:"name,omitempty"`

	// The phase of the ruleset.
	Phase *string `json:"phase,omitempty"`

	Rules []RuleCreate `json:"rules,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateZoneEntrypointRulesetOptions : The UpdateZoneEntrypointRuleset options.

func (*UpdateZoneEntrypointRulesetOptions) SetDescription

func (_options *UpdateZoneEntrypointRulesetOptions) SetDescription(description string) *UpdateZoneEntrypointRulesetOptions

SetDescription : Allow user to set Description

func (*UpdateZoneEntrypointRulesetOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateZoneEntrypointRulesetOptions) SetKind

SetKind : Allow user to set Kind

func (*UpdateZoneEntrypointRulesetOptions) SetName

SetName : Allow user to set Name

func (*UpdateZoneEntrypointRulesetOptions) SetPhase

SetPhase : Allow user to set Phase

func (*UpdateZoneEntrypointRulesetOptions) SetRules

SetRules : Allow user to set Rules

func (*UpdateZoneEntrypointRulesetOptions) SetRulesetPhase

func (_options *UpdateZoneEntrypointRulesetOptions) SetRulesetPhase(rulesetPhase string) *UpdateZoneEntrypointRulesetOptions

SetRulesetPhase : Allow user to set RulesetPhase

type UpdateZoneRulesetOptions

type UpdateZoneRulesetOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// description of the ruleset.
	Description *string `json:"description,omitempty"`

	Kind *string `json:"kind,omitempty"`

	// human readable name of the ruleset.
	Name *string `json:"name,omitempty"`

	// The phase of the ruleset.
	Phase *string `json:"phase,omitempty"`

	Rules []RuleCreate `json:"rules,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateZoneRulesetOptions : The UpdateZoneRuleset options.

func (*UpdateZoneRulesetOptions) SetDescription

func (_options *UpdateZoneRulesetOptions) SetDescription(description string) *UpdateZoneRulesetOptions

SetDescription : Allow user to set Description

func (*UpdateZoneRulesetOptions) SetHeaders

func (options *UpdateZoneRulesetOptions) SetHeaders(param map[string]string) *UpdateZoneRulesetOptions

SetHeaders : Allow user to set Headers

func (*UpdateZoneRulesetOptions) SetKind

func (_options *UpdateZoneRulesetOptions) SetKind(kind string) *UpdateZoneRulesetOptions

SetKind : Allow user to set Kind

func (*UpdateZoneRulesetOptions) SetName

func (_options *UpdateZoneRulesetOptions) SetName(name string) *UpdateZoneRulesetOptions

SetName : Allow user to set Name

func (*UpdateZoneRulesetOptions) SetPhase

func (_options *UpdateZoneRulesetOptions) SetPhase(phase string) *UpdateZoneRulesetOptions

SetPhase : Allow user to set Phase

func (*UpdateZoneRulesetOptions) SetRules

func (_options *UpdateZoneRulesetOptions) SetRules(rules []RuleCreate) *UpdateZoneRulesetOptions

SetRules : Allow user to set Rules

func (*UpdateZoneRulesetOptions) SetRulesetID

func (_options *UpdateZoneRulesetOptions) SetRulesetID(rulesetID string) *UpdateZoneRulesetOptions

SetRulesetID : Allow user to set RulesetID

type UpdateZoneRulesetRuleOptions

type UpdateZoneRulesetRuleOptions struct {
	// ID of a specific ruleset.
	RulesetID *string `json:"ruleset_id" validate:"required,ne="`

	// ID of a specific rule.
	RuleID *string `json:"rule_id" validate:"required,ne="`

	// What happens when theres a match for the rule expression.
	Action *string `json:"action,omitempty"`

	ActionParameters *ActionParameters `json:"action_parameters,omitempty"`

	Description *string `json:"description,omitempty"`

	Enabled *bool `json:"enabled,omitempty"`

	// The expression defining which traffic will match the rule.
	Expression *string `json:"expression,omitempty"`

	ID *string `json:"id,omitempty"`

	Logging *Logging `json:"logging,omitempty"`

	// The reference of the rule (the rule ID by default).
	Ref *string `json:"ref,omitempty"`

	Position *Position `json:"position,omitempty"`

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateZoneRulesetRuleOptions : The UpdateZoneRulesetRule options.

func (*UpdateZoneRulesetRuleOptions) SetAction

SetAction : Allow user to set Action

func (*UpdateZoneRulesetRuleOptions) SetActionParameters

func (_options *UpdateZoneRulesetRuleOptions) SetActionParameters(actionParameters *ActionParameters) *UpdateZoneRulesetRuleOptions

SetActionParameters : Allow user to set ActionParameters

func (*UpdateZoneRulesetRuleOptions) SetDescription

func (_options *UpdateZoneRulesetRuleOptions) SetDescription(description string) *UpdateZoneRulesetRuleOptions

SetDescription : Allow user to set Description

func (*UpdateZoneRulesetRuleOptions) SetEnabled

func (_options *UpdateZoneRulesetRuleOptions) SetEnabled(enabled bool) *UpdateZoneRulesetRuleOptions

SetEnabled : Allow user to set Enabled

func (*UpdateZoneRulesetRuleOptions) SetExpression

func (_options *UpdateZoneRulesetRuleOptions) SetExpression(expression string) *UpdateZoneRulesetRuleOptions

SetExpression : Allow user to set Expression

func (*UpdateZoneRulesetRuleOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateZoneRulesetRuleOptions) SetID

SetID : Allow user to set ID

func (*UpdateZoneRulesetRuleOptions) SetLogging

func (_options *UpdateZoneRulesetRuleOptions) SetLogging(logging *Logging) *UpdateZoneRulesetRuleOptions

SetLogging : Allow user to set Logging

func (*UpdateZoneRulesetRuleOptions) SetPosition

func (_options *UpdateZoneRulesetRuleOptions) SetPosition(position *Position) *UpdateZoneRulesetRuleOptions

SetPosition : Allow user to set Position

func (*UpdateZoneRulesetRuleOptions) SetRef

SetRef : Allow user to set Ref

func (*UpdateZoneRulesetRuleOptions) SetRuleID

SetRuleID : Allow user to set RuleID

func (*UpdateZoneRulesetRuleOptions) SetRulesetID

func (_options *UpdateZoneRulesetRuleOptions) SetRulesetID(rulesetID string) *UpdateZoneRulesetRuleOptions

SetRulesetID : Allow user to set RulesetID

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL