|
| 1 | +# coding: utf-8 |
| 2 | + |
| 3 | +# flake8: noqa |
| 4 | + |
| 5 | +""" |
| 6 | + STACKIT Application Load Balancer Web Application Firewall API |
| 7 | +
|
| 8 | + Generate a Web Application Firewall (WAF) to use with Application Load Balancers (ALB). The name of the WAF configuration is used in the listener of the ALB. This will activate the WAF for that ALB. An ALB with a WAF can have Managed Rule Set (MRS) and in addition can have Custom Rule Group (CRG). To create a WAF one first needs to create all the configurations that are referenced in the WAF configuration. Currently this only consists of a rule configuration, which is written in Seclang. Once all configurations are created and referenced in the WAF configuration it can be used with an ALB. Currently updating a WAF configuration will not update an existing ALB until the Load Balancer VMs are restarted. |
| 9 | +
|
| 10 | + The version of the OpenAPI document: 1beta.0.0 |
| 11 | + Generated by OpenAPI Generator (https://openapi-generator.tech) |
| 12 | +
|
| 13 | + Do not edit the class manually. |
| 14 | +""" # noqa: E501 |
| 15 | + |
| 16 | + |
| 17 | +__version__ = "1.0.0" |
| 18 | + |
| 19 | +# Define package exports |
| 20 | +__all__ = [ |
| 21 | + "DefaultApi", |
| 22 | + "ApiResponse", |
| 23 | + "ApiClient", |
| 24 | + "HostConfiguration", |
| 25 | + "OpenApiException", |
| 26 | + "ApiTypeError", |
| 27 | + "ApiValueError", |
| 28 | + "ApiKeyError", |
| 29 | + "ApiAttributeError", |
| 30 | + "ApiException", |
| 31 | + "Behaviour", |
| 32 | + "CRGConfigQuota", |
| 33 | + "CRGUsage", |
| 34 | + "Condition", |
| 35 | + "ConditionOperator", |
| 36 | + "ConditionVariable", |
| 37 | + "CreateCustomRule", |
| 38 | + "CreateCustomRuleGroupPayload", |
| 39 | + "CreateManagedRuleSetPayload", |
| 40 | + "CreateWAFPayload", |
| 41 | + "GetBehaviour", |
| 42 | + "GetCustomRule", |
| 43 | + "GetCustomRuleGroupResponse", |
| 44 | + "GetLimitedManagedRuleSetResponse", |
| 45 | + "GetManagedRuleSetResponse", |
| 46 | + "GetQuotaResponse", |
| 47 | + "GetWAFResponse", |
| 48 | + "GoogleProtobufAny", |
| 49 | + "ListCustomRuleGroupResponse", |
| 50 | + "ListManagedRuleSetResponse", |
| 51 | + "ListWAFResponse", |
| 52 | + "MRSConfigQuota", |
| 53 | + "MRSRule", |
| 54 | + "MRSRuleGroup", |
| 55 | + "MRSUsage", |
| 56 | + "PatchMRSRule", |
| 57 | + "PatchMRSRuleGroup", |
| 58 | + "PatchManagedRuleSetPayload", |
| 59 | + "Quotas", |
| 60 | + "Status", |
| 61 | + "UpdateWAFPayload", |
| 62 | + "WAFConfigQuota", |
| 63 | + "WAFUsage", |
| 64 | + "WAFUsageItem", |
| 65 | +] |
| 66 | + |
| 67 | +# import apis into sdk package |
| 68 | +from stackit.albwaf.api.default_api import DefaultApi as DefaultApi |
| 69 | +from stackit.albwaf.api_client import ApiClient as ApiClient |
| 70 | + |
| 71 | +# import ApiClient |
| 72 | +from stackit.albwaf.api_response import ApiResponse as ApiResponse |
| 73 | +from stackit.albwaf.configuration import HostConfiguration as HostConfiguration |
| 74 | +from stackit.albwaf.exceptions import ApiAttributeError as ApiAttributeError |
| 75 | +from stackit.albwaf.exceptions import ApiException as ApiException |
| 76 | +from stackit.albwaf.exceptions import ApiKeyError as ApiKeyError |
| 77 | +from stackit.albwaf.exceptions import ApiTypeError as ApiTypeError |
| 78 | +from stackit.albwaf.exceptions import ApiValueError as ApiValueError |
| 79 | +from stackit.albwaf.exceptions import OpenApiException as OpenApiException |
| 80 | + |
| 81 | +# import models into sdk package |
| 82 | +from stackit.albwaf.models.behaviour import Behaviour as Behaviour |
| 83 | +from stackit.albwaf.models.condition import Condition as Condition |
| 84 | +from stackit.albwaf.models.condition_operator import ( |
| 85 | + ConditionOperator as ConditionOperator, |
| 86 | +) |
| 87 | +from stackit.albwaf.models.condition_variable import ( |
| 88 | + ConditionVariable as ConditionVariable, |
| 89 | +) |
| 90 | +from stackit.albwaf.models.create_custom_rule import ( |
| 91 | + CreateCustomRule as CreateCustomRule, |
| 92 | +) |
| 93 | +from stackit.albwaf.models.create_custom_rule_group_payload import ( |
| 94 | + CreateCustomRuleGroupPayload as CreateCustomRuleGroupPayload, |
| 95 | +) |
| 96 | +from stackit.albwaf.models.create_managed_rule_set_payload import ( |
| 97 | + CreateManagedRuleSetPayload as CreateManagedRuleSetPayload, |
| 98 | +) |
| 99 | +from stackit.albwaf.models.create_waf_payload import ( |
| 100 | + CreateWAFPayload as CreateWAFPayload, |
| 101 | +) |
| 102 | +from stackit.albwaf.models.crg_config_quota import CRGConfigQuota as CRGConfigQuota |
| 103 | +from stackit.albwaf.models.crg_usage import CRGUsage as CRGUsage |
| 104 | +from stackit.albwaf.models.get_behaviour import GetBehaviour as GetBehaviour |
| 105 | +from stackit.albwaf.models.get_custom_rule import GetCustomRule as GetCustomRule |
| 106 | +from stackit.albwaf.models.get_custom_rule_group_response import ( |
| 107 | + GetCustomRuleGroupResponse as GetCustomRuleGroupResponse, |
| 108 | +) |
| 109 | +from stackit.albwaf.models.get_limited_managed_rule_set_response import ( |
| 110 | + GetLimitedManagedRuleSetResponse as GetLimitedManagedRuleSetResponse, |
| 111 | +) |
| 112 | +from stackit.albwaf.models.get_managed_rule_set_response import ( |
| 113 | + GetManagedRuleSetResponse as GetManagedRuleSetResponse, |
| 114 | +) |
| 115 | +from stackit.albwaf.models.get_quota_response import ( |
| 116 | + GetQuotaResponse as GetQuotaResponse, |
| 117 | +) |
| 118 | +from stackit.albwaf.models.get_waf_response import GetWAFResponse as GetWAFResponse |
| 119 | +from stackit.albwaf.models.google_protobuf_any import ( |
| 120 | + GoogleProtobufAny as GoogleProtobufAny, |
| 121 | +) |
| 122 | +from stackit.albwaf.models.list_custom_rule_group_response import ( |
| 123 | + ListCustomRuleGroupResponse as ListCustomRuleGroupResponse, |
| 124 | +) |
| 125 | +from stackit.albwaf.models.list_managed_rule_set_response import ( |
| 126 | + ListManagedRuleSetResponse as ListManagedRuleSetResponse, |
| 127 | +) |
| 128 | +from stackit.albwaf.models.list_waf_response import ListWAFResponse as ListWAFResponse |
| 129 | +from stackit.albwaf.models.mrs_config_quota import MRSConfigQuota as MRSConfigQuota |
| 130 | +from stackit.albwaf.models.mrs_rule import MRSRule as MRSRule |
| 131 | +from stackit.albwaf.models.mrs_rule_group import MRSRuleGroup as MRSRuleGroup |
| 132 | +from stackit.albwaf.models.mrs_usage import MRSUsage as MRSUsage |
| 133 | +from stackit.albwaf.models.patch_managed_rule_set_payload import ( |
| 134 | + PatchManagedRuleSetPayload as PatchManagedRuleSetPayload, |
| 135 | +) |
| 136 | +from stackit.albwaf.models.patch_mrs_rule import PatchMRSRule as PatchMRSRule |
| 137 | +from stackit.albwaf.models.patch_mrs_rule_group import ( |
| 138 | + PatchMRSRuleGroup as PatchMRSRuleGroup, |
| 139 | +) |
| 140 | +from stackit.albwaf.models.quotas import Quotas as Quotas |
| 141 | +from stackit.albwaf.models.status import Status as Status |
| 142 | +from stackit.albwaf.models.update_waf_payload import ( |
| 143 | + UpdateWAFPayload as UpdateWAFPayload, |
| 144 | +) |
| 145 | +from stackit.albwaf.models.waf_config_quota import WAFConfigQuota as WAFConfigQuota |
| 146 | +from stackit.albwaf.models.waf_usage import WAFUsage as WAFUsage |
| 147 | +from stackit.albwaf.models.waf_usage_item import WAFUsageItem as WAFUsageItem |
0 commit comments