oci-go-sdk: github.com/oracle/oci-go-sdk/waas Index | Files

package waas

import "github.com/oracle/oci-go-sdk/waas"

Index

Package Files

accept_recommendations_request_response.go access_rule.go access_rule_criteria.go add_http_response_header_action.go address_list.go address_list_summary.go address_rate_limiting.go block_challenge_settings.go caching_rule.go caching_rule_criteria.go caching_rule_summary.go cancel_work_request_request_response.go captcha.go certificate.go certificate_extensions.go certificate_issuer_name.go certificate_public_key_info.go certificate_subject_name.go certificate_summary.go change_address_list_compartment_details.go change_address_list_compartment_request_response.go change_certificate_compartment_details.go change_certificate_compartment_request_response.go change_custom_protection_rule_compartment_details.go change_custom_protection_rule_compartment_request_response.go change_http_redirect_compartment_details.go change_http_redirect_compartment_request_response.go change_waas_policy_compartment_details.go change_waas_policy_compartment_request_response.go create_address_list_details.go create_address_list_request_response.go create_certificate_details.go create_certificate_request_response.go create_custom_protection_rule_details.go create_custom_protection_rule_request_response.go create_http_redirect_details.go create_http_redirect_request_response.go create_waas_policy_details.go create_waas_policy_request_response.go custom_protection_rule.go custom_protection_rule_setting.go custom_protection_rule_summary.go delete_address_list_request_response.go delete_certificate_request_response.go delete_custom_protection_rule_request_response.go delete_http_redirect_request_response.go delete_waas_policy_request_response.go device_fingerprint_challenge.go edge_subnet.go extend_http_response_header_action.go get_address_list_request_response.go get_certificate_request_response.go get_custom_protection_rule_request_response.go get_device_fingerprint_challenge_request_response.go get_http_redirect_request_response.go get_human_interaction_challenge_request_response.go get_js_challenge_request_response.go get_policy_config_request_response.go get_protection_rule_request_response.go get_protection_settings_request_response.go get_waas_policy_request_response.go get_waf_address_rate_limiting_request_response.go get_waf_config_request_response.go get_work_request_request_response.go good_bot.go header.go header_manipulation_action.go health_check.go http_redirect.go http_redirect_summary.go http_redirect_target.go human_interaction_challenge.go ip_hash_load_balancing_method.go js_challenge.go lifecycle_states.go list_access_rules_request_response.go list_address_lists_request_response.go list_caching_rules_request_response.go list_captchas_request_response.go list_certificates_request_response.go list_custom_protection_rules_request_response.go list_edge_subnets_request_response.go list_good_bots_request_response.go list_http_redirects_request_response.go list_protection_rules_request_response.go list_recommendations_request_response.go list_threat_feeds_request_response.go list_waas_policies_request_response.go list_waas_policy_custom_protection_rules_request_response.go list_waf_blocked_requests_request_response.go list_waf_logs_request_response.go list_waf_requests_request_response.go list_waf_traffic_request_response.go list_whitelists_request_response.go list_work_requests_request_response.go load_balancing_method.go origin.go origin_group.go origin_group_origins.go policy_config.go protection_rule.go protection_rule_action.go protection_rule_exclusion.go protection_settings.go purge_cache.go purge_cache_request_response.go recommendation.go remove_http_response_header_action.go round_robin_load_balancing_method.go sticky_cookie_load_balancing_method.go threat_feed.go threat_feed_action.go update_access_rules_request_response.go update_address_list_details.go update_address_list_request_response.go update_caching_rules_request_response.go update_captchas_request_response.go update_certificate_details.go update_certificate_request_response.go update_custom_protection_rule_details.go update_custom_protection_rule_request_response.go update_device_fingerprint_challenge_request_response.go update_good_bots_request_response.go update_http_redirect_details.go update_http_redirect_request_response.go update_human_interaction_challenge_request_response.go update_js_challenge_request_response.go update_policy_config_request_response.go update_protection_rules_request_response.go update_protection_settings_request_response.go update_threat_feeds_request_response.go update_waas_policy_custom_protection_rules_request_response.go update_waas_policy_details.go update_waas_policy_request_response.go update_waf_address_rate_limiting_request_response.go update_waf_config_request_response.go update_whitelists_request_response.go waas_client.go waas_policy.go waas_policy_custom_protection_rule_summary.go waas_policy_summary.go waas_redirect_client.go waf_blocked_request.go waf_config.go waf_config_details.go waf_log.go waf_meter_datum.go waf_request.go waf_traffic_datum.go whitelist.go work_request.go work_request_error.go work_request_log_entry.go work_request_operation_types.go work_request_resource.go work_request_status_values.go work_request_summary.go

Variables

var GetCertificateLifecycleStateEnumValues = GetLifecycleStatesEnumValues

GetCertificateLifecycleStateEnumValues Enumerates the set of values for LifecycleStatesEnum Consider using GetLifecycleStatesEnumValue Deprecated

var GetCertificateSummaryLifecycleStateEnumValues = GetLifecycleStatesEnumValues

GetCertificateSummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStatesEnum Consider using GetLifecycleStatesEnumValue Deprecated

var GetWaasPolicyLifecycleStateEnumValues = GetLifecycleStatesEnumValues

GetWaasPolicyLifecycleStateEnumValues Enumerates the set of values for LifecycleStatesEnum Consider using GetLifecycleStatesEnumValue Deprecated

var GetWaasPolicySummaryLifecycleStateEnumValues = GetLifecycleStatesEnumValues

GetWaasPolicySummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStatesEnum Consider using GetLifecycleStatesEnumValue Deprecated

var GetWorkRequestOperationTypeEnumValues = GetWorkRequestOperationTypesEnumValues

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypesEnum Consider using GetWorkRequestOperationTypesEnumValue Deprecated

var GetWorkRequestStatusEnumValues = GetWorkRequestStatusValuesEnumValues

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusValuesEnum Consider using GetWorkRequestStatusValuesEnumValue Deprecated

var GetWorkRequestSummaryOperationTypeEnumValues = GetWorkRequestOperationTypesEnumValues

GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypesEnum Consider using GetWorkRequestOperationTypesEnumValue Deprecated

var GetWorkRequestSummaryStatusEnumValues = GetWorkRequestStatusValuesEnumValues

GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestStatusValuesEnum Consider using GetWorkRequestStatusValuesEnumValue Deprecated

type AcceptRecommendationsRequest Uses

type AcceptRecommendationsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    ProtectionRuleKeys *[]string `mandatory:"true" contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

AcceptRecommendationsRequest wrapper for the AcceptRecommendations operation

func (AcceptRecommendationsRequest) HTTPRequest Uses

func (request AcceptRecommendationsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (AcceptRecommendationsRequest) RetryPolicy Uses

func (request AcceptRecommendationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (AcceptRecommendationsRequest) String Uses

func (request AcceptRecommendationsRequest) String() string

type AcceptRecommendationsResponse Uses

type AcceptRecommendationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

AcceptRecommendationsResponse wrapper for the AcceptRecommendations operation

func (AcceptRecommendationsResponse) HTTPResponse Uses

func (response AcceptRecommendationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (AcceptRecommendationsResponse) String Uses

func (response AcceptRecommendationsResponse) String() string

type AccessRule Uses

type AccessRule struct {

    // The unique name of the access rule.
    Name *string `mandatory:"true" json:"name"`

    // The list of access rule criteria. The rule would be applied only for the requests that matched all the listed conditions.
    Criteria []AccessRuleCriteria `mandatory:"true" json:"criteria"`

    // The action to take when the access criteria are met for a rule. If unspecified, defaults to `ALLOW`.
    // - **ALLOW:** Takes no action, just logs the request.
    // - **DETECT:** Takes no action, but creates an alert for the request.
    // - **BLOCK:** Blocks the request by returning specified response code or showing error page.
    // - **BYPASS:** Bypasses some or all challenges.
    // - **REDIRECT:** Redirects the request to the specified URL. These fields are required when `REDIRECT` is selected: `redirectUrl`, `redirectResponseCode`.
    // - **SHOW_CAPTCHA:** Show a CAPTCHA Challenge page instead of the requested page.
    // Regardless of action, no further rules are processed once a rule is matched.
    Action AccessRuleActionEnum `mandatory:"true" json:"action"`

    // The method used to block requests if `action` is set to `BLOCK` and the access criteria are met. If unspecified, defaults to `SET_RESPONSE_CODE`.
    BlockAction AccessRuleBlockActionEnum `mandatory:"false" json:"blockAction,omitempty"`

    // The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE`, and the access criteria are met. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
    BlockResponseCode *int `mandatory:"false" json:"blockResponseCode"`

    // The message to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the access criteria are met. If unspecified, defaults to 'Access to the website is blocked.'
    BlockErrorPageMessage *string `mandatory:"false" json:"blockErrorPageMessage"`

    // The error code to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the access criteria are met. If unspecified, defaults to 'Access rules'.
    BlockErrorPageCode *string `mandatory:"false" json:"blockErrorPageCode"`

    // The description text to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the access criteria are met. If unspecified, defaults to 'Access blocked by website owner. Please contact support.'
    BlockErrorPageDescription *string `mandatory:"false" json:"blockErrorPageDescription"`

    // The list of challenges to bypass when `action` is set to `BYPASS`. If unspecified or empty, all challenges are bypassed.
    // - **JS_CHALLENGE:** Bypasses JavaScript Challenge.
    // - **DEVICE_FINGERPRINT_CHALLENGE:** Bypasses Device Fingerprint Challenge.
    // - **HUMAN_INTERACTION_CHALLENGE:** Bypasses Human Interaction Challenge.
    // - **CAPTCHA:** Bypasses CAPTCHA Challenge.
    BypassChallenges []AccessRuleBypassChallengesEnum `mandatory:"false" json:"bypassChallenges,omitempty"`

    // The target to which the request should be redirected, represented as a URI reference. Required when `action` is `REDIRECT`.
    RedirectUrl *string `mandatory:"false" json:"redirectUrl"`

    // The response status code to return when `action` is set to `REDIRECT`.
    // - **MOVED_PERMANENTLY:** Used for designating the permanent movement of a page (numerical code - 301).
    // - **FOUND:** Used for designating the temporary movement of a page (numerical code - 302).
    RedirectResponseCode AccessRuleRedirectResponseCodeEnum `mandatory:"false" json:"redirectResponseCode,omitempty"`

    // The title used when showing a CAPTCHA challenge when `action` is set to `SHOW_CAPTCHA` and the request is challenged.
    CaptchaTitle *string `mandatory:"false" json:"captchaTitle"`

    // The text to show in the header when showing a CAPTCHA challenge when `action` is set to `SHOW_CAPTCHA` and the request is challenged.
    CaptchaHeader *string `mandatory:"false" json:"captchaHeader"`

    // The text to show in the footer when showing a CAPTCHA challenge when `action` is set to `SHOW_CAPTCHA` and the request is challenged.
    CaptchaFooter *string `mandatory:"false" json:"captchaFooter"`

    // The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `SHOW_CAPTCHA` and the request is challenged.
    CaptchaSubmitLabel *string `mandatory:"false" json:"captchaSubmitLabel"`

    // An object that represents an action to apply to an HTTP response headers if all rule criteria will be matched regardless of `action` value.
    ResponseHeaderManipulation []HeaderManipulationAction `mandatory:"false" json:"responseHeaderManipulation"`
}

AccessRule A content access rule. An access rule specifies an action to take if a set of criteria is matched by a request.

func (AccessRule) String Uses

func (m AccessRule) String() string

func (*AccessRule) UnmarshalJSON Uses

func (m *AccessRule) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type AccessRuleActionEnum Uses

type AccessRuleActionEnum string

AccessRuleActionEnum Enum with underlying type: string

const (
    AccessRuleActionAllow       AccessRuleActionEnum = "ALLOW"
    AccessRuleActionDetect      AccessRuleActionEnum = "DETECT"
    AccessRuleActionBlock       AccessRuleActionEnum = "BLOCK"
    AccessRuleActionBypass      AccessRuleActionEnum = "BYPASS"
    AccessRuleActionRedirect    AccessRuleActionEnum = "REDIRECT"
    AccessRuleActionShowCaptcha AccessRuleActionEnum = "SHOW_CAPTCHA"
)

Set of constants representing the allowable values for AccessRuleActionEnum

func GetAccessRuleActionEnumValues Uses

func GetAccessRuleActionEnumValues() []AccessRuleActionEnum

GetAccessRuleActionEnumValues Enumerates the set of values for AccessRuleActionEnum

type AccessRuleBlockActionEnum Uses

type AccessRuleBlockActionEnum string

AccessRuleBlockActionEnum Enum with underlying type: string

const (
    AccessRuleBlockActionSetResponseCode AccessRuleBlockActionEnum = "SET_RESPONSE_CODE"
    AccessRuleBlockActionShowErrorPage   AccessRuleBlockActionEnum = "SHOW_ERROR_PAGE"
)

Set of constants representing the allowable values for AccessRuleBlockActionEnum

func GetAccessRuleBlockActionEnumValues Uses

func GetAccessRuleBlockActionEnumValues() []AccessRuleBlockActionEnum

GetAccessRuleBlockActionEnumValues Enumerates the set of values for AccessRuleBlockActionEnum

type AccessRuleBypassChallengesEnum Uses

type AccessRuleBypassChallengesEnum string

AccessRuleBypassChallengesEnum Enum with underlying type: string

const (
    AccessRuleBypassChallengesJsChallenge                AccessRuleBypassChallengesEnum = "JS_CHALLENGE"
    AccessRuleBypassChallengesDeviceFingerprintChallenge AccessRuleBypassChallengesEnum = "DEVICE_FINGERPRINT_CHALLENGE"
    AccessRuleBypassChallengesHumanInteractionChallenge  AccessRuleBypassChallengesEnum = "HUMAN_INTERACTION_CHALLENGE"
    AccessRuleBypassChallengesCaptcha                    AccessRuleBypassChallengesEnum = "CAPTCHA"
)

Set of constants representing the allowable values for AccessRuleBypassChallengesEnum

func GetAccessRuleBypassChallengesEnumValues Uses

func GetAccessRuleBypassChallengesEnumValues() []AccessRuleBypassChallengesEnum

GetAccessRuleBypassChallengesEnumValues Enumerates the set of values for AccessRuleBypassChallengesEnum

type AccessRuleCriteria Uses

type AccessRuleCriteria struct {

    // The criteria the access rule and JavaScript Challenge uses to determine if action should be taken on a request.
    // - **URL_IS:** Matches if the concatenation of request URL path and query is identical to the contents of the `value` field. URL must start with a `/`.
    // - **URL_IS_NOT:** Matches if the concatenation of request URL path and query is not identical to the contents of the `value` field. URL must start with a `/`.
    // - **URL_STARTS_WITH:** Matches if the concatenation of request URL path and query starts with the contents of the `value` field. URL must start with a `/`.
    // - **URL_PART_ENDS_WITH:** Matches if the concatenation of request URL path and query ends with the contents of the `value` field.
    // - **URL_PART_CONTAINS:** Matches if the concatenation of request URL path and query contains the contents of the `value` field.
    // - **URL_REGEX:** Matches if the concatenation of request URL path and query is described by the regular expression in the value field. The value must be a valid regular expression recognized by the PCRE library in Nginx (https://www.pcre.org).
    // - **URL_DOES_NOT_MATCH_REGEX:** Matches if the concatenation of request URL path and query is not described by the regular expression in the `value` field. The value must be a valid regular expression recognized by the PCRE library in Nginx (https://www.pcre.org).
    // - **URL_DOES_NOT_START_WITH:** Matches if the concatenation of request URL path and query does not start with the contents of the `value` field.
    // - **URL_PART_DOES_NOT_CONTAIN:** Matches if the concatenation of request URL path and query does not contain the contents of the `value` field.
    // - **URL_PART_DOES_NOT_END_WITH:** Matches if the concatenation of request URL path and query does not end with the contents of the `value` field.
    // - **IP_IS:** Matches if the request originates from one of the IP addresses contained in the defined address list. The `value` in this case is string with one or multiple IPs or CIDR notations separated by new line symbol \n
    // *Example:* "1.1.1.1\n1.1.1.2\n1.2.2.1/30"
    // - **IP_IS_NOT:** Matches if the request does not originate from any of the IP addresses contained in the defined address list. The `value` in this case is string with one or multiple IPs or CIDR notations separated by new line symbol \n
    // *Example:* "1.1.1.1\n1.1.1.2\n1.2.2.1/30"
    // - **IP_IN_LIST:** Matches if the request originates from one of the IP addresses contained in the referenced address list. The `value` in this case is OCID of the address list.
    // - **IP_NOT_IN_LIST:** Matches if the request does not originate from any IP address contained in the referenced address list. The `value` field in this case is OCID of the address list.
    // - **HTTP_HEADER_CONTAINS:** The HTTP_HEADER_CONTAINS criteria is defined using a compound value separated by a colon: a header field name and a header field value. `host:test.example.com` is an example of a criteria value where `host` is the header field name and `test.example.com` is the header field value. A request matches when the header field name is a case insensitive match and the header field value is a case insensitive, substring match.
    // *Example:* With a criteria value of `host:test.example.com`, where `host` is the name of the field and `test.example.com` is the value of the host field, a request with the header values, `Host: www.test.example.com` will match, where as a request with header values of `host: www.example.com` or `host: test.sub.example.com` will not match.
    // - **HTTP_METHOD_IS:** Matches if the request method is identical to one of the values listed in field. The `value` in this case is string with one or multiple HTTP methods separated by new line symbol \n The list of available methods: `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE`, `PATCH`
    //  *Example:* "GET\nPOST"
    // - **HTTP_METHOD_IS_NOT:** Matches if the request is not identical to any of the contents of the `value` field. The `value` in this case is string with one or multiple HTTP methods separated by new line symbol \n The list of available methods: `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE`, `PATCH`
    //  *Example:* "GET\nPOST"
    // - **COUNTRY_IS:** Matches if the request originates from one of countries in the `value` field. The `value` in this case is string with one or multiple countries separated by new line symbol \n Country codes are in ISO 3166-1 alpha-2 format. For a list of codes, see ISO's website (https://www.iso.org/obp/ui/#search/code/).
    // *Example:* "AL\nDZ\nAM"
    // - **COUNTRY_IS_NOT:** Matches if the request does not originate from any of countries in the `value` field. The `value` in this case is string with one or multiple countries separated by new line symbol \n Country codes are in ISO 3166-1 alpha-2 format. For a list of codes, see ISO's website (https://www.iso.org/obp/ui/#search/code/).
    // *Example:* "AL\nDZ\nAM"
    // - **USER_AGENT_IS:** Matches if the requesting user agent is identical to the contents of the `value` field.
    // *Example:* `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0`
    // - **USER_AGENT_IS_NOT:** Matches if the requesting user agent is not identical to the contents of the `value` field.
    // *Example:* `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0`
    Condition AccessRuleCriteriaConditionEnum `mandatory:"true" json:"condition"`

    // The criteria value.
    Value *string `mandatory:"true" json:"value"`

    // When enabled, the condition will be matched with case-sensitive rules.
    IsCaseSensitive *bool `mandatory:"false" json:"isCaseSensitive"`
}

AccessRuleCriteria When defined, the parent challenge would be applied only for the requests that matched all the listed conditions.

func (AccessRuleCriteria) String Uses

func (m AccessRuleCriteria) String() string

type AccessRuleCriteriaConditionEnum Uses

type AccessRuleCriteriaConditionEnum string

AccessRuleCriteriaConditionEnum Enum with underlying type: string

const (
    AccessRuleCriteriaConditionUrlIs                 AccessRuleCriteriaConditionEnum = "URL_IS"
    AccessRuleCriteriaConditionUrlIsNot              AccessRuleCriteriaConditionEnum = "URL_IS_NOT"
    AccessRuleCriteriaConditionUrlStartsWith         AccessRuleCriteriaConditionEnum = "URL_STARTS_WITH"
    AccessRuleCriteriaConditionUrlPartEndsWith       AccessRuleCriteriaConditionEnum = "URL_PART_ENDS_WITH"
    AccessRuleCriteriaConditionUrlPartContains       AccessRuleCriteriaConditionEnum = "URL_PART_CONTAINS"
    AccessRuleCriteriaConditionUrlRegex              AccessRuleCriteriaConditionEnum = "URL_REGEX"
    AccessRuleCriteriaConditionUrlDoesNotMatchRegex  AccessRuleCriteriaConditionEnum = "URL_DOES_NOT_MATCH_REGEX"
    AccessRuleCriteriaConditionUrlDoesNotStartWith   AccessRuleCriteriaConditionEnum = "URL_DOES_NOT_START_WITH"
    AccessRuleCriteriaConditionUrlPartDoesNotContain AccessRuleCriteriaConditionEnum = "URL_PART_DOES_NOT_CONTAIN"
    AccessRuleCriteriaConditionUrlPartDoesNotEndWith AccessRuleCriteriaConditionEnum = "URL_PART_DOES_NOT_END_WITH"
    AccessRuleCriteriaConditionIpIs                  AccessRuleCriteriaConditionEnum = "IP_IS"
    AccessRuleCriteriaConditionIpIsNot               AccessRuleCriteriaConditionEnum = "IP_IS_NOT"
    AccessRuleCriteriaConditionIpInList              AccessRuleCriteriaConditionEnum = "IP_IN_LIST"
    AccessRuleCriteriaConditionIpNotInList           AccessRuleCriteriaConditionEnum = "IP_NOT_IN_LIST"
    AccessRuleCriteriaConditionHttpHeaderContains    AccessRuleCriteriaConditionEnum = "HTTP_HEADER_CONTAINS"
    AccessRuleCriteriaConditionHttpMethodIs          AccessRuleCriteriaConditionEnum = "HTTP_METHOD_IS"
    AccessRuleCriteriaConditionHttpMethodIsNot       AccessRuleCriteriaConditionEnum = "HTTP_METHOD_IS_NOT"
    AccessRuleCriteriaConditionCountryIs             AccessRuleCriteriaConditionEnum = "COUNTRY_IS"
    AccessRuleCriteriaConditionCountryIsNot          AccessRuleCriteriaConditionEnum = "COUNTRY_IS_NOT"
    AccessRuleCriteriaConditionUserAgentIs           AccessRuleCriteriaConditionEnum = "USER_AGENT_IS"
    AccessRuleCriteriaConditionUserAgentIsNot        AccessRuleCriteriaConditionEnum = "USER_AGENT_IS_NOT"
)

Set of constants representing the allowable values for AccessRuleCriteriaConditionEnum

func GetAccessRuleCriteriaConditionEnumValues Uses

func GetAccessRuleCriteriaConditionEnumValues() []AccessRuleCriteriaConditionEnum

GetAccessRuleCriteriaConditionEnumValues Enumerates the set of values for AccessRuleCriteriaConditionEnum

type AccessRuleRedirectResponseCodeEnum Uses

type AccessRuleRedirectResponseCodeEnum string

AccessRuleRedirectResponseCodeEnum Enum with underlying type: string

const (
    AccessRuleRedirectResponseCodeMovedPermanently AccessRuleRedirectResponseCodeEnum = "MOVED_PERMANENTLY"
    AccessRuleRedirectResponseCodeFound            AccessRuleRedirectResponseCodeEnum = "FOUND"
)

Set of constants representing the allowable values for AccessRuleRedirectResponseCodeEnum

func GetAccessRuleRedirectResponseCodeEnumValues Uses

func GetAccessRuleRedirectResponseCodeEnumValues() []AccessRuleRedirectResponseCodeEnum

GetAccessRuleRedirectResponseCodeEnumValues Enumerates the set of values for AccessRuleRedirectResponseCodeEnum

type AddHttpResponseHeaderAction Uses

type AddHttpResponseHeaderAction struct {

    // A header field name that conforms to RFC 7230.
    // Example: `example_header_name`
    Header *string `mandatory:"true" json:"header"`

    // A header field value that conforms to RFC 7230.
    // Example: `example_value`
    Value *string `mandatory:"true" json:"value"`
}

AddHttpResponseHeaderAction An object that represents the action of replacing or adding a header field. All prior occurrences of the header with the given name are removed and then the header field with specified value is added.

func (AddHttpResponseHeaderAction) MarshalJSON Uses

func (m AddHttpResponseHeaderAction) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (AddHttpResponseHeaderAction) String Uses

func (m AddHttpResponseHeaderAction) String() string

type AddressList Uses

type AddressList struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The user-friendly name of the address list.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The total number of unique IP addresses in the address list.
    AddressCount *float32 `mandatory:"false" json:"addressCount"`

    // The list of IP addresses or CIDR notations.
    Addresses []string `mandatory:"false" json:"addresses"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The current lifecycle state of the address list.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the address list was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

AddressList The details of the address list.

func (AddressList) String Uses

func (m AddressList) String() string

type AddressListSummary Uses

type AddressListSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list's compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The user-friendly name of the address list.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The total number of unique IP addresses in the address list.
    AddressCount *float32 `mandatory:"false" json:"addressCount"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The current lifecycle state of the address list.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the address list was created, in the format defined by RFC3339.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

AddressListSummary A summary of the address list's information.

func (AddressListSummary) String Uses

func (m AddressListSummary) String() string

type AddressRateLimiting Uses

type AddressRateLimiting struct {

    // Enables or disables the address rate limiting Web Application Firewall feature.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`

    // The number of allowed requests per second from one IP address. If unspecified, defaults to `1`.
    AllowedRatePerAddress *int `mandatory:"false" json:"allowedRatePerAddress"`

    // The maximum number of requests allowed to be queued before subsequent requests are dropped. If unspecified, defaults to `10`.
    MaxDelayedCountPerAddress *int `mandatory:"false" json:"maxDelayedCountPerAddress"`

    // The response status code returned when a request is blocked. If unspecified, defaults to `503`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
    BlockResponseCode *int `mandatory:"false" json:"blockResponseCode"`
}

AddressRateLimiting The IP rate limiting configuration. Defines the amount of allowed requests from a unique IP address and the resulting block response code when that threshold is exceeded.

func (AddressRateLimiting) String Uses

func (m AddressRateLimiting) String() string

type BlockChallengeSettings Uses

type BlockChallengeSettings struct {

    // The method used to block requests that fail the challenge, if `action` is set to `BLOCK`. If unspecified, defaults to `SHOW_ERROR_PAGE`.
    BlockAction BlockChallengeSettingsBlockActionEnum `mandatory:"false" json:"blockAction,omitempty"`

    // The response status code to return when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE` or `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `403`. The list of available response codes: `200`, `201`, `202`, `204`, `206`, `300`, `301`, `302`, `303`, `304`, `307`, `400`, `401`, `403`, `404`, `405`, `408`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `422`, `444`, `499`, `500`, `501`, `502`, `503`, `504`, `507`.
    BlockResponseCode *int `mandatory:"false" json:"blockResponseCode"`

    // The message to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `Access to the website is blocked`.
    BlockErrorPageMessage *string `mandatory:"false" json:"blockErrorPageMessage"`

    // The description text to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the request is blocked. If unspecified, defaults to `Access blocked by website owner. Please contact support.`
    BlockErrorPageDescription *string `mandatory:"false" json:"blockErrorPageDescription"`

    // The error code to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE` and the request is blocked. If unspecified, defaults to `403`.
    BlockErrorPageCode *string `mandatory:"false" json:"blockErrorPageCode"`

    // The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?`
    CaptchaTitle *string `mandatory:"false" json:"captchaTitle"`

    // The text to show in the header when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `We have detected an increased number of attempts to access this webapp. To help us keep this webapp secure, please let us know that you are not a robot by entering the text from captcha below.`
    CaptchaHeader *string `mandatory:"false" json:"captchaHeader"`

    // The text to show in the footer when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, default to `Enter the letters and numbers as they are shown in image above`.
    CaptchaFooter *string `mandatory:"false" json:"captchaFooter"`

    // The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`.
    CaptchaSubmitLabel *string `mandatory:"false" json:"captchaSubmitLabel"`
}

BlockChallengeSettings The challenge settings if `action` is set to `BLOCK`.

func (BlockChallengeSettings) String Uses

func (m BlockChallengeSettings) String() string

type BlockChallengeSettingsBlockActionEnum Uses

type BlockChallengeSettingsBlockActionEnum string

BlockChallengeSettingsBlockActionEnum Enum with underlying type: string

const (
    BlockChallengeSettingsBlockActionSetResponseCode BlockChallengeSettingsBlockActionEnum = "SET_RESPONSE_CODE"
    BlockChallengeSettingsBlockActionShowErrorPage   BlockChallengeSettingsBlockActionEnum = "SHOW_ERROR_PAGE"
    BlockChallengeSettingsBlockActionShowCaptcha     BlockChallengeSettingsBlockActionEnum = "SHOW_CAPTCHA"
)

Set of constants representing the allowable values for BlockChallengeSettingsBlockActionEnum

func GetBlockChallengeSettingsBlockActionEnumValues Uses

func GetBlockChallengeSettingsBlockActionEnumValues() []BlockChallengeSettingsBlockActionEnum

GetBlockChallengeSettingsBlockActionEnumValues Enumerates the set of values for BlockChallengeSettingsBlockActionEnum

type CachingRule Uses

type CachingRule struct {

    // The name of the caching rule.
    Name *string `mandatory:"true" json:"name"`

    // The action to take when the criteria of a caching rule are met.
    // - **CACHE:** Caches requested content when the criteria of the rule are met.
    // - **BYPASS_CACHE:** Allows requests to bypass the cache and be directed to the origin when the criteria of the rule is met.
    Action CachingRuleActionEnum `mandatory:"true" json:"action"`

    // The array of the rule criteria with condition and value. The caching rule would be applied for the requests that matched any of the listed conditions.
    Criteria []CachingRuleCriteria `mandatory:"true" json:"criteria"`

    // The unique key for the caching rule.
    Key *string `mandatory:"false" json:"key"`

    // The duration to cache content for the caching rule, specified in ISO 8601 extended format. Supported units: seconds, minutes, hours, days, weeks, months. The maximum value that can be set for any unit is `99`. Mixing of multiple units is not supported. Only applies when the `action` is set to `CACHE`.
    // Example: `PT1H`
    CachingDuration *string `mandatory:"false" json:"cachingDuration"`

    // Enables or disables client caching.
    // Browsers use the `Cache-Control` header value for caching content locally in the browser. This setting overrides the addition of a `Cache-Control` header in responses.
    IsClientCachingEnabled *bool `mandatory:"false" json:"isClientCachingEnabled"`

    // The duration to cache content in the user's browser, specified in ISO 8601 extended format. Supported units: seconds, minutes, hours, days, weeks, months. The maximum value that can be set for any unit is `99`. Mixing of multiple units is not supported. Only applies when the `action` is set to `CACHE`.
    // Example: `PT1H`
    ClientCachingDuration *string `mandatory:"false" json:"clientCachingDuration"`
}

CachingRule The representation of CachingRule

func (CachingRule) String Uses

func (m CachingRule) String() string

type CachingRuleActionEnum Uses

type CachingRuleActionEnum string

CachingRuleActionEnum Enum with underlying type: string

const (
    CachingRuleActionCache       CachingRuleActionEnum = "CACHE"
    CachingRuleActionBypassCache CachingRuleActionEnum = "BYPASS_CACHE"
)

Set of constants representing the allowable values for CachingRuleActionEnum

func GetCachingRuleActionEnumValues Uses

func GetCachingRuleActionEnumValues() []CachingRuleActionEnum

GetCachingRuleActionEnumValues Enumerates the set of values for CachingRuleActionEnum

type CachingRuleCriteria Uses

type CachingRuleCriteria struct {

    // The condition of the caching rule criteria.
    // - **URL_IS:** Matches if the concatenation of request URL path and query is identical to the contents of the `value` field.
    // - **URL_STARTS_WITH:** Matches if the concatenation of request URL path and query starts with the contents of the `value` field.
    // - **URL_PART_ENDS_WITH:** Matches if the concatenation of request URL path and query ends with the contents of the `value` field.
    // - **URL_PART_CONTAINS:** Matches if the concatenation of request URL path and query contains the contents of the `value` field.
    // URLs must start with a `/`. URLs can't contain restricted double slashes `//`. URLs can't contain the restricted `'` `&` `?` symbols. Resources to cache can only be specified by a URL, any query parameters are ignored.
    Condition CachingRuleCriteriaConditionEnum `mandatory:"true" json:"condition"`

    // The value of the caching rule criteria.
    Value *string `mandatory:"true" json:"value"`
}

CachingRuleCriteria A caching rule criteria condition and value.

func (CachingRuleCriteria) String Uses

func (m CachingRuleCriteria) String() string

type CachingRuleCriteriaConditionEnum Uses

type CachingRuleCriteriaConditionEnum string

CachingRuleCriteriaConditionEnum Enum with underlying type: string

const (
    CachingRuleCriteriaConditionIs           CachingRuleCriteriaConditionEnum = "URL_IS"
    CachingRuleCriteriaConditionStartsWith   CachingRuleCriteriaConditionEnum = "URL_STARTS_WITH"
    CachingRuleCriteriaConditionPartEndsWith CachingRuleCriteriaConditionEnum = "URL_PART_ENDS_WITH"
    CachingRuleCriteriaConditionPartContains CachingRuleCriteriaConditionEnum = "URL_PART_CONTAINS"
)

Set of constants representing the allowable values for CachingRuleCriteriaConditionEnum

func GetCachingRuleCriteriaConditionEnumValues Uses

func GetCachingRuleCriteriaConditionEnumValues() []CachingRuleCriteriaConditionEnum

GetCachingRuleCriteriaConditionEnumValues Enumerates the set of values for CachingRuleCriteriaConditionEnum

type CachingRuleSummary Uses

type CachingRuleSummary struct {

    // The name of the caching rule.
    Name *string `mandatory:"true" json:"name"`

    // The action to take when the criteria of a caching rule are met.
    // - **CACHE:** Caches requested content when the criteria of the rule are met.
    // - **BYPASS_CACHE:** Allows requests to bypass the cache and be directed to the origin when the criteria of the rule is met.
    Action CachingRuleSummaryActionEnum `mandatory:"true" json:"action"`

    // The array of the rule criteria with condition and value. The caching rule would be applied for the requests that matched any of the listed conditions.
    Criteria []CachingRuleCriteria `mandatory:"true" json:"criteria"`

    // The unique key for the caching rule.
    Key *string `mandatory:"false" json:"key"`

    // The duration to cache content for the caching rule, specified in ISO 8601 extended format. Supported units: seconds, minutes, hours, days, weeks, months. The maximum value that can be set for any unit is `99`. Mixing of multiple units is not supported. Only applies when the `action` is set to `CACHE`.
    // Example: `PT1H`
    CachingDuration *string `mandatory:"false" json:"cachingDuration"`

    // Enables or disables client caching.
    // Browsers use the `Cache-Control` header value for caching content locally in the browser. This setting overrides the addition of a `Cache-Control` header in responses.
    IsClientCachingEnabled *bool `mandatory:"false" json:"isClientCachingEnabled"`

    // The duration to cache content in the user's browser, specified in ISO 8601 extended format. Supported units: seconds, minutes, hours, days, weeks, months. The maximum value that can be set for any unit is `99`. Mixing of multiple units is not supported. Only applies when the `action` is set to `CACHE`.
    // Example: `PT1H`
    ClientCachingDuration *string `mandatory:"false" json:"clientCachingDuration"`
}

CachingRuleSummary The caching rule settings.

func (CachingRuleSummary) String Uses

func (m CachingRuleSummary) String() string

type CachingRuleSummaryActionEnum Uses

type CachingRuleSummaryActionEnum string

CachingRuleSummaryActionEnum Enum with underlying type: string

const (
    CachingRuleSummaryActionCache       CachingRuleSummaryActionEnum = "CACHE"
    CachingRuleSummaryActionBypassCache CachingRuleSummaryActionEnum = "BYPASS_CACHE"
)

Set of constants representing the allowable values for CachingRuleSummaryActionEnum

func GetCachingRuleSummaryActionEnumValues Uses

func GetCachingRuleSummaryActionEnumValues() []CachingRuleSummaryActionEnum

GetCachingRuleSummaryActionEnumValues Enumerates the set of values for CachingRuleSummaryActionEnum

type CancelWorkRequestRequest Uses

type CancelWorkRequestRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. This number is generated when work request is created.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

func (CancelWorkRequestRequest) HTTPRequest Uses

func (request CancelWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy Uses

func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CancelWorkRequestRequest) String Uses

func (request CancelWorkRequestRequest) String() string

type CancelWorkRequestResponse Uses

type CancelWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse Uses

func (response CancelWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String Uses

func (response CancelWorkRequestResponse) String() string

type Captcha Uses

type Captcha struct {

    // The unique URL path at which to show the CAPTCHA challenge.
    Url *string `mandatory:"true" json:"url"`

    // The amount of time before the CAPTCHA expires, in seconds. If unspecified, defaults to `300`.
    SessionExpirationInSeconds *int `mandatory:"true" json:"sessionExpirationInSeconds"`

    // The title used when displaying a CAPTCHA challenge. If unspecified, defaults to `Are you human?`
    Title *string `mandatory:"true" json:"title"`

    // The text to show when incorrect CAPTCHA text is entered. If unspecified, defaults to `The CAPTCHA was incorrect. Try again.`
    FailureMessage *string `mandatory:"true" json:"failureMessage"`

    // The text to show on the label of the CAPTCHA challenge submit button. If unspecified, defaults to `Yes, I am human`.
    SubmitLabel *string `mandatory:"true" json:"submitLabel"`

    // The text to show in the header when showing a CAPTCHA challenge. If unspecified, defaults to 'We have detected an increased number of attempts to access this website. To help us keep this site secure, please let us know that you are not a robot by entering the text from the image below.'
    HeaderText *string `mandatory:"false" json:"headerText"`

    // The text to show in the footer when showing a CAPTCHA challenge. If unspecified, defaults to 'Enter the letters and numbers as they are shown in the image above.'
    FooterText *string `mandatory:"false" json:"footerText"`
}

Captcha The settings of the CAPTCHA challenge. If a specific URL should be accessed only by a human, a CAPTCHA challenge can be placed at the URL to protect the web application from bots. *Warning:* Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (Captcha) String Uses

func (m Captcha) String() string

type Certificate Uses

type Certificate struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate.
    Id  *string `mandatory:"true" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the certificate's compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The user-friendly name of the certificate.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // A unique, positive integer assigned by the Certificate Authority (CA). The issuer name and serial number identify a unique certificate.
    SerialNumber *string `mandatory:"true" json:"serialNumber"`

    // The version of the encoded certificate.
    Version *int `mandatory:"true" json:"version"`

    // The identifier for the cryptographic algorithm used by the Certificate Authority (CA) to sign this certificate.
    SignatureAlgorithm *string `mandatory:"true" json:"signatureAlgorithm"`

    // The date and time the certificate will become valid, expressed in RFC 3339 timestamp format.
    TimeNotValidBefore *common.SDKTime `mandatory:"true" json:"timeNotValidBefore"`

    // The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
    TimeNotValidAfter *common.SDKTime `mandatory:"true" json:"timeNotValidAfter"`

    IssuedBy *string `mandatory:"false" json:"issuedBy"`

    SubjectName *CertificateSubjectName `mandatory:"false" json:"subjectName"`

    IssuerName *CertificateIssuerName `mandatory:"false" json:"issuerName"`

    PublicKeyInfo *CertificatePublicKeyInfo `mandatory:"false" json:"publicKeyInfo"`

    // Additional attributes associated with users or public keys for managing relationships between Certificate Authorities.
    Extensions []CertificateExtensions `mandatory:"false" json:"extensions"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The current lifecycle state of the SSL certificate.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the certificate was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

Certificate The details of the SSL certificate. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (Certificate) String Uses

func (m Certificate) String() string

type CertificateExtensions Uses

type CertificateExtensions struct {

    // The certificate extension name.
    Name *string `mandatory:"false" json:"name"`

    // The critical flag of the extension. Critical extensions must be processed, non-critical extensions can be ignored.
    IsCritical *bool `mandatory:"false" json:"isCritical"`

    // The certificate extension value.
    Value *string `mandatory:"false" json:"value"`
}

CertificateExtensions The representation of CertificateExtensions

func (CertificateExtensions) String Uses

func (m CertificateExtensions) String() string

type CertificateIssuerName Uses

type CertificateIssuerName struct {

    // ISO 3166-1 alpha-2 code of the country where the organization is located. For a list of codes, see ISO's website (https://www.iso.org/obp/ui/#search/code/).
    Country *string `mandatory:"false" json:"country"`

    // The province where the organization is located.
    StateProvince *string `mandatory:"false" json:"stateProvince"`

    // The city in which the organization is located.
    Locality *string `mandatory:"false" json:"locality"`

    // The organization name.
    Organization *string `mandatory:"false" json:"organization"`

    // The field to differentiate between divisions within an organization.
    OrganizationalUnit *string `mandatory:"false" json:"organizationalUnit"`

    // The Certificate Authority (CA) name.
    CommonName *string `mandatory:"false" json:"commonName"`

    // The email address of the server's administrator.
    EmailAddress *string `mandatory:"false" json:"emailAddress"`
}

CertificateIssuerName The issuer of the certificate.

func (CertificateIssuerName) String Uses

func (m CertificateIssuerName) String() string

type CertificateLifecycleStateEnum Uses

type CertificateLifecycleStateEnum = LifecycleStatesEnum

CertificateLifecycleStateEnum is an alias to type: LifecycleStatesEnum Consider using LifecycleStatesEnum instead Deprecated

type CertificatePublicKeyInfo Uses

type CertificatePublicKeyInfo struct {

    // The algorithm identifier and parameters for the public key.
    Algorithm *string `mandatory:"false" json:"algorithm"`

    // The private key exponent.
    Exponent *int `mandatory:"false" json:"exponent"`

    // The number of bits in a key used by a cryptographic algorithm.
    KeySize *int `mandatory:"false" json:"keySize"`
}

CertificatePublicKeyInfo Information about the public key and the algorithm used by the public key.

func (CertificatePublicKeyInfo) String Uses

func (m CertificatePublicKeyInfo) String() string

type CertificateSubjectName Uses

type CertificateSubjectName struct {

    // ISO 3166-1 alpha-2 code of the country where the organization is located. For a list of codes, see ISO's website (https://www.iso.org/obp/ui/#search/code/).
    Country *string `mandatory:"false" json:"country"`

    // The province where the organization is located.
    StateProvince *string `mandatory:"false" json:"stateProvince"`

    // The city in which the organization is located.
    Locality *string `mandatory:"false" json:"locality"`

    // The organization name.
    Organization *string `mandatory:"false" json:"organization"`

    // The field to differentiate between divisions within an organization.
    OrganizationalUnit *string `mandatory:"false" json:"organizationalUnit"`

    // The fully qualified domain name used for DNS lookups of the server.
    CommonName *string `mandatory:"false" json:"commonName"`

    // The email address of the server's administrator.
    EmailAddress *string `mandatory:"false" json:"emailAddress"`
}

CertificateSubjectName The entity to be secured by the certificate.

func (CertificateSubjectName) String Uses

func (m CertificateSubjectName) String() string

type CertificateSummary Uses

type CertificateSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate's compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The user-friendly name of the SSL certificate.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
    TimeNotValidAfter *common.SDKTime `mandatory:"false" json:"timeNotValidAfter"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The current lifecycle state of the certificate.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the certificate was created, in the format defined by RFC3339.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
}

CertificateSummary A summary of the SSL certificate's information. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (CertificateSummary) String Uses

func (m CertificateSummary) String() string

type CertificateSummaryLifecycleStateEnum Uses

type CertificateSummaryLifecycleStateEnum = LifecycleStatesEnum

CertificateSummaryLifecycleStateEnum is an alias to type: LifecycleStatesEnum Consider using LifecycleStatesEnum instead Deprecated

type ChangeAddressListCompartmentDetails Uses

type ChangeAddressListCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeAddressListCompartmentDetails The representation of ChangeAddressListCompartmentDetails

func (ChangeAddressListCompartmentDetails) String Uses

func (m ChangeAddressListCompartmentDetails) String() string

type ChangeAddressListCompartmentRequest Uses

type ChangeAddressListCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
    AddressListId *string `mandatory:"true" contributesTo:"path" name:"addressListId"`

    ChangeAddressListCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeAddressListCompartmentRequest wrapper for the ChangeAddressListCompartment operation

func (ChangeAddressListCompartmentRequest) HTTPRequest Uses

func (request ChangeAddressListCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeAddressListCompartmentRequest) RetryPolicy Uses

func (request ChangeAddressListCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeAddressListCompartmentRequest) String Uses

func (request ChangeAddressListCompartmentRequest) String() string

type ChangeAddressListCompartmentResponse Uses

type ChangeAddressListCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeAddressListCompartmentResponse wrapper for the ChangeAddressListCompartment operation

func (ChangeAddressListCompartmentResponse) HTTPResponse Uses

func (response ChangeAddressListCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeAddressListCompartmentResponse) String Uses

func (response ChangeAddressListCompartmentResponse) String() string

type ChangeCertificateCompartmentDetails Uses

type ChangeCertificateCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
    // For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCertificateCompartmentDetails The representation of ChangeCertificateCompartmentDetails

func (ChangeCertificateCompartmentDetails) String Uses

func (m ChangeCertificateCompartmentDetails) String() string

type ChangeCertificateCompartmentRequest Uses

type ChangeCertificateCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy.
    CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

    ChangeCertificateCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeCertificateCompartmentRequest wrapper for the ChangeCertificateCompartment operation

func (ChangeCertificateCompartmentRequest) HTTPRequest Uses

func (request ChangeCertificateCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCertificateCompartmentRequest) RetryPolicy Uses

func (request ChangeCertificateCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCertificateCompartmentRequest) String Uses

func (request ChangeCertificateCompartmentRequest) String() string

type ChangeCertificateCompartmentResponse Uses

type ChangeCertificateCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCertificateCompartmentResponse wrapper for the ChangeCertificateCompartment operation

func (ChangeCertificateCompartmentResponse) HTTPResponse Uses

func (response ChangeCertificateCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCertificateCompartmentResponse) String Uses

func (response ChangeCertificateCompartmentResponse) String() string

type ChangeCustomProtectionRuleCompartmentDetails Uses

type ChangeCustomProtectionRuleCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeCustomProtectionRuleCompartmentDetails The representation of ChangeCustomProtectionRuleCompartmentDetails

func (ChangeCustomProtectionRuleCompartmentDetails) String Uses

func (m ChangeCustomProtectionRuleCompartmentDetails) String() string

type ChangeCustomProtectionRuleCompartmentRequest Uses

type ChangeCustomProtectionRuleCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
    CustomProtectionRuleId *string `mandatory:"true" contributesTo:"path" name:"customProtectionRuleId"`

    ChangeCustomProtectionRuleCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeCustomProtectionRuleCompartmentRequest wrapper for the ChangeCustomProtectionRuleCompartment operation

func (ChangeCustomProtectionRuleCompartmentRequest) HTTPRequest Uses

func (request ChangeCustomProtectionRuleCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeCustomProtectionRuleCompartmentRequest) RetryPolicy Uses

func (request ChangeCustomProtectionRuleCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeCustomProtectionRuleCompartmentRequest) String Uses

func (request ChangeCustomProtectionRuleCompartmentRequest) String() string

type ChangeCustomProtectionRuleCompartmentResponse Uses

type ChangeCustomProtectionRuleCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeCustomProtectionRuleCompartmentResponse wrapper for the ChangeCustomProtectionRuleCompartment operation

func (ChangeCustomProtectionRuleCompartmentResponse) HTTPResponse Uses

func (response ChangeCustomProtectionRuleCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeCustomProtectionRuleCompartmentResponse) String Uses

func (response ChangeCustomProtectionRuleCompartmentResponse) String() string

type ChangeHttpRedirectCompartmentDetails Uses

type ChangeHttpRedirectCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeHttpRedirectCompartmentDetails The representation of ChangeHttpRedirectCompartmentDetails

func (ChangeHttpRedirectCompartmentDetails) String Uses

func (m ChangeHttpRedirectCompartmentDetails) String() string

type ChangeHttpRedirectCompartmentRequest Uses

type ChangeHttpRedirectCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect.
    HttpRedirectId *string `mandatory:"true" contributesTo:"path" name:"httpRedirectId"`

    ChangeHttpRedirectCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeHttpRedirectCompartmentRequest wrapper for the ChangeHttpRedirectCompartment operation

func (ChangeHttpRedirectCompartmentRequest) HTTPRequest Uses

func (request ChangeHttpRedirectCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeHttpRedirectCompartmentRequest) RetryPolicy Uses

func (request ChangeHttpRedirectCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeHttpRedirectCompartmentRequest) String Uses

func (request ChangeHttpRedirectCompartmentRequest) String() string

type ChangeHttpRedirectCompartmentResponse Uses

type ChangeHttpRedirectCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeHttpRedirectCompartmentResponse wrapper for the ChangeHttpRedirectCompartment operation

func (ChangeHttpRedirectCompartmentResponse) HTTPResponse Uses

func (response ChangeHttpRedirectCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeHttpRedirectCompartmentResponse) String Uses

func (response ChangeHttpRedirectCompartmentResponse) String() string

type ChangeWaasPolicyCompartmentDetails Uses

type ChangeWaasPolicyCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resource should be moved.
    // For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeWaasPolicyCompartmentDetails The representation of ChangeWaasPolicyCompartmentDetails

func (ChangeWaasPolicyCompartmentDetails) String Uses

func (m ChangeWaasPolicyCompartmentDetails) String() string

type ChangeWaasPolicyCompartmentRequest Uses

type ChangeWaasPolicyCompartmentRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    ChangeWaasPolicyCompartmentDetails `contributesTo:"body"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ChangeWaasPolicyCompartmentRequest wrapper for the ChangeWaasPolicyCompartment operation

func (ChangeWaasPolicyCompartmentRequest) HTTPRequest Uses

func (request ChangeWaasPolicyCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeWaasPolicyCompartmentRequest) RetryPolicy Uses

func (request ChangeWaasPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeWaasPolicyCompartmentRequest) String Uses

func (request ChangeWaasPolicyCompartmentRequest) String() string

type ChangeWaasPolicyCompartmentResponse Uses

type ChangeWaasPolicyCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ChangeWaasPolicyCompartmentResponse wrapper for the ChangeWaasPolicyCompartment operation

func (ChangeWaasPolicyCompartmentResponse) HTTPResponse Uses

func (response ChangeWaasPolicyCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeWaasPolicyCompartmentResponse) String Uses

func (response ChangeWaasPolicyCompartmentResponse) String() string

type CreateAddressListDetails Uses

type CreateAddressListDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the address list.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name for the address list.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // A list of IP addresses or CIDR notations.
    Addresses []string `mandatory:"true" json:"addresses"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateAddressListDetails The data used to create a new address list of IP addresses and CIDR notations.

func (CreateAddressListDetails) String Uses

func (m CreateAddressListDetails) String() string

type CreateAddressListRequest Uses

type CreateAddressListRequest struct {

    // The details of the address list resource to create.
    CreateAddressListDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateAddressListRequest wrapper for the CreateAddressList operation

func (CreateAddressListRequest) HTTPRequest Uses

func (request CreateAddressListRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateAddressListRequest) RetryPolicy Uses

func (request CreateAddressListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateAddressListRequest) String Uses

func (request CreateAddressListRequest) String() string

type CreateAddressListResponse Uses

type CreateAddressListResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AddressList instance
    AddressList `presentIn:"body"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

CreateAddressListResponse wrapper for the CreateAddressList operation

func (CreateAddressListResponse) HTTPResponse Uses

func (response CreateAddressListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateAddressListResponse) String Uses

func (response CreateAddressListResponse) String() string

type CreateCertificateDetails Uses

type CreateCertificateDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the SSL certificate.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The data of the SSL certificate.
    //
    // **Note:** Many SSL certificate providers require an intermediate certificate chain to ensure a trusted status.
    // If your SSL certificate requires an intermediate certificate chain, please append the intermediate certificate
    // key in the `certificateData` field after the leaf certificate issued by the SSL certificate provider. If you
    // are unsure if your certificate requires an intermediate certificate chain, see your certificate
    // provider's documentation.
    //
    // The example below shows an intermediate certificate appended to a leaf certificate.
    CertificateData *string `mandatory:"true" json:"certificateData"`

    // The private key of the SSL certificate.
    PrivateKeyData *string `mandatory:"true" json:"privateKeyData"`

    // A user-friendly name for the SSL certificate. The name can be changed and does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Set to `true` if the SSL certificate is self-signed.
    IsTrustVerificationDisabled *bool `mandatory:"false" json:"isTrustVerificationDisabled"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateCertificateDetails The data used to create a new SSL certificate. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (CreateCertificateDetails) String Uses

func (m CreateCertificateDetails) String() string

type CreateCertificateRequest Uses

type CreateCertificateRequest struct {

    // The details of the SSL certificate resource to create.
    CreateCertificateDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateCertificateRequest wrapper for the CreateCertificate operation

func (CreateCertificateRequest) HTTPRequest Uses

func (request CreateCertificateRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateCertificateRequest) RetryPolicy Uses

func (request CreateCertificateRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateCertificateRequest) String Uses

func (request CreateCertificateRequest) String() string

type CreateCertificateResponse Uses

type CreateCertificateResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Certificate instance
    Certificate `presentIn:"body"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

CreateCertificateResponse wrapper for the CreateCertificate operation

func (CreateCertificateResponse) HTTPResponse Uses

func (response CreateCertificateResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateCertificateResponse) String Uses

func (response CreateCertificateResponse) String() string

type CreateCustomProtectionRuleDetails Uses

type CreateCustomProtectionRuleDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the custom protection rule.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name for the custom protection rule.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The template text of the custom protection rule. All custom protection rules are expressed in ModSecurity Rule Language.
    // Additionally, each rule must include two placeholder variables that are updated by the WAF service upon publication of the rule.
    // `id: {{id_1}}` - This field is populated with a unique rule ID generated by the WAF service which identifies a `SecRule`. More than one `SecRule` can be defined in the `template` field of a CreateCustomSecurityRule call. The value of the first `SecRule` must be `id: {{id_1}}` and the `id` field of each subsequent `SecRule` should increase by one, as shown in the example.
    // `ctl:ruleEngine={{mode}}` - The action to be taken when the criteria of the `SecRule` are met, either `OFF`, `DETECT` or `BLOCK`. This field is automatically populated with the corresponding value of the `action` field of the `CustomProtectionRuleSetting` schema when the `WafConfig` is updated.
    // *Example:*
    //   ```
    //   SecRule REQUEST_COOKIES "regex matching SQL injection - part 1/2" \
    //           "phase:2,                                                 \
    //           msg:'Detects chained SQL injection attempts 1/2.',        \
    //           id: {{id_1}},                                             \
    //           ctl:ruleEngine={{mode}},                                  \
    //           deny"
    //   SecRule REQUEST_COOKIES "regex matching SQL injection - part 2/2" \
    //           "phase:2,                                                 \
    //           msg:'Detects chained SQL injection attempts 2/2.',        \
    //           id: {{id_2}},                                             \
    //           ctl:ruleEngine={{mode}},                                  \
    //           deny"
    //   ```
    //
    // The example contains two `SecRules` each having distinct regex expression to match the `Cookie` header value during the second input analysis phase.
    // For more information about custom protection rules, see Custom Protection Rules (https://docs.cloud.oracle.com/Content/WAF/tasks/customprotectionrules.htm).
    // For more information about ModSecurity syntax, see Making Rules: The Basic Syntax (https://www.modsecurity.org/CRS/Documentation/making.html).
    // For more information about ModSecurity's open source WAF rules, see Mod Security's OWASP Core Rule Set documentation (https://www.modsecurity.org/CRS/Documentation/index.html).
    Template *string `mandatory:"true" json:"template"`

    // A description for the Custom Protection rule.
    Description *string `mandatory:"false" json:"description"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateCustomProtectionRuleDetails The required data to create a custom protection rule. For more information about custom protection rules, see Custom Protection Rules (https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/customprotectionrules.htm). **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (CreateCustomProtectionRuleDetails) String Uses

func (m CreateCustomProtectionRuleDetails) String() string

type CreateCustomProtectionRuleRequest Uses

type CreateCustomProtectionRuleRequest struct {

    // The details of the custom protection rule.
    CreateCustomProtectionRuleDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateCustomProtectionRuleRequest wrapper for the CreateCustomProtectionRule operation

func (CreateCustomProtectionRuleRequest) HTTPRequest Uses

func (request CreateCustomProtectionRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateCustomProtectionRuleRequest) RetryPolicy Uses

func (request CreateCustomProtectionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateCustomProtectionRuleRequest) String Uses

func (request CreateCustomProtectionRuleRequest) String() string

type CreateCustomProtectionRuleResponse Uses

type CreateCustomProtectionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CustomProtectionRule instance
    CustomProtectionRule `presentIn:"body"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`
}

CreateCustomProtectionRuleResponse wrapper for the CreateCustomProtectionRule operation

func (CreateCustomProtectionRuleResponse) HTTPResponse Uses

func (response CreateCustomProtectionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateCustomProtectionRuleResponse) String Uses

func (response CreateCustomProtectionRuleResponse) String() string

type CreateHttpRedirectDetails Uses

type CreateHttpRedirectDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirects compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The domain from which traffic will be redirected.
    Domain *string `mandatory:"true" json:"domain"`

    // The redirect target object including all the redirect data.
    Target *HttpRedirectTarget `mandatory:"true" json:"target"`

    // The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The response code returned for the redirect to the client. For more information, see RFC 7231 (https://tools.ietf.org/html/rfc7231#section-6.4).
    ResponseCode *int `mandatory:"false" json:"responseCode"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateHttpRedirectDetails The details of a HTTP Redirect configured to redirect traffic from one hostname to another. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (CreateHttpRedirectDetails) String Uses

func (m CreateHttpRedirectDetails) String() string

type CreateHttpRedirectRequest Uses

type CreateHttpRedirectRequest struct {

    // The details of the HTTP Redirect.
    CreateHttpRedirectDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateHttpRedirectRequest wrapper for the CreateHttpRedirect operation

func (CreateHttpRedirectRequest) HTTPRequest Uses

func (request CreateHttpRedirectRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateHttpRedirectRequest) RetryPolicy Uses

func (request CreateHttpRedirectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateHttpRedirectRequest) String Uses

func (request CreateHttpRedirectRequest) String() string

type CreateHttpRedirectResponse Uses

type CreateHttpRedirectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateHttpRedirectResponse wrapper for the CreateHttpRedirect operation

func (CreateHttpRedirectResponse) HTTPResponse Uses

func (response CreateHttpRedirectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateHttpRedirectResponse) String Uses

func (response CreateHttpRedirectResponse) String() string

type CreateWaasPolicyDetails Uses

type CreateWaasPolicyDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment in which to create the WAAS policy.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The web application domain that the WAAS policy protects.
    Domain *string `mandatory:"true" json:"domain"`

    // A user-friendly name for the WAAS policy. The name can be changed and does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // An array of additional domains for the specified web application.
    AdditionalDomains []string `mandatory:"false" json:"additionalDomains"`

    // A map of host to origin for the web application. The key should be a customer friendly name for the host, ex. primary, secondary, etc.
    Origins map[string]Origin `mandatory:"false" json:"origins"`

    // The map of origin groups and their keys used to associate origins to the `wafConfig`. Origin groups allow you to apply weights to groups of origins for load balancing purposes. Origins with higher weights will receive larger proportions of client requests.
    // To add additional origins to your WAAS policy, update the `origins` field of a `UpdateWaasPolicy` request.
    OriginGroups map[string]OriginGroup `mandatory:"false" json:"originGroups"`

    PolicyConfig *PolicyConfig `mandatory:"false" json:"policyConfig"`

    WafConfig *WafConfigDetails `mandatory:"false" json:"wafConfig"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateWaasPolicyDetails The required data to create a WAAS policy. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (CreateWaasPolicyDetails) String Uses

func (m CreateWaasPolicyDetails) String() string

type CreateWaasPolicyRequest Uses

type CreateWaasPolicyRequest struct {

    // The details of the WAAS policy.
    CreateWaasPolicyDetails `contributesTo:"body"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

CreateWaasPolicyRequest wrapper for the CreateWaasPolicy operation

func (CreateWaasPolicyRequest) HTTPRequest Uses

func (request CreateWaasPolicyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateWaasPolicyRequest) RetryPolicy Uses

func (request CreateWaasPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateWaasPolicyRequest) String Uses

func (request CreateWaasPolicyRequest) String() string

type CreateWaasPolicyResponse Uses

type CreateWaasPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

CreateWaasPolicyResponse wrapper for the CreateWaasPolicy operation

func (CreateWaasPolicyResponse) HTTPResponse Uses

func (response CreateWaasPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateWaasPolicyResponse) String Uses

func (response CreateWaasPolicyResponse) String() string

type CustomProtectionRule Uses

type CustomProtectionRule struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule's compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The user-friendly name of the custom protection rule.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the custom protection rule.
    Description *string `mandatory:"false" json:"description"`

    // The auto-generated ID for the custom protection rule. These IDs are referenced in logs.
    ModSecurityRuleIds []string `mandatory:"false" json:"modSecurityRuleIds"`

    // The template text of the custom protection rule. All custom protection rules are expressed in ModSecurity Rule Language.
    // Additionally, each rule must include two placeholder variables that are updated by the WAF service upon publication of the rule.
    // `id: {{id_1}}` - This field is populated with a unique rule ID generated by the WAF service which identifies a `SecRule`. More than one `SecRule` can be defined in the `template` field of a CreateCustomSecurityRule call. The value of the first `SecRule` must be `id: {{id_1}}` and the `id` field of each subsequent `SecRule` should increase by one, as shown in the example.
    // `ctl:ruleEngine={{mode}}` - The action to be taken when the criteria of the `SecRule` are met, either `OFF`, `DETECT` or `BLOCK`. This field is automatically populated with the corresponding value of the `action` field of the `CustomProtectionRuleSetting` schema when the `WafConfig` is updated.
    // *Example:*
    //   ```
    //   SecRule REQUEST_COOKIES "regex matching SQL injection - part 1/2" \
    //           "phase:2,                                                 \
    //           msg:'Detects chained SQL injection attempts 1/2.',        \
    //           id: {{id_1}},                                             \
    //           ctl:ruleEngine={{mode}},                                  \
    //           deny"
    //   SecRule REQUEST_COOKIES "regex matching SQL injection - part 2/2" \
    //           "phase:2,                                                 \
    //           msg:'Detects chained SQL injection attempts 2/2.',        \
    //           id: {{id_2}},                                             \
    //           ctl:ruleEngine={{mode}},                                  \
    //           deny"
    //   ```
    //
    // The example contains two `SecRules` each having distinct regex expression to match the `Cookie` header value during the second input analysis phase.
    // For more information about custom protection rules, see Custom Protection Rules (https://docs.cloud.oracle.com/Content/WAF/tasks/customprotectionrules.htm).
    // For more information about ModSecurity syntax, see Making Rules: The Basic Syntax (https://www.modsecurity.org/CRS/Documentation/making.html).
    // For more information about ModSecurity's open source WAF rules, see Mod Security's OWASP Core Rule Set documentation (https://www.modsecurity.org/CRS/Documentation/index.html).
    Template *string `mandatory:"false" json:"template"`

    // The current lifecycle state of the custom protection rule.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the protection rule was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CustomProtectionRule The details of a custom protection rule.

func (CustomProtectionRule) String Uses

func (m CustomProtectionRule) String() string

type CustomProtectionRuleSetting Uses

type CustomProtectionRuleSetting struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule.
    Id  *string `mandatory:"false" json:"id"`

    // The action to take when the custom protection rule is triggered.
    // `DETECT` - Logs the request when the criteria of the custom protection rule are met. `BLOCK` - Blocks the request when the criteria of the custom protection rule are met.
    Action CustomProtectionRuleSettingActionEnum `mandatory:"false" json:"action,omitempty"`

    Exclusions []ProtectionRuleExclusion `mandatory:"false" json:"exclusions"`
}

CustomProtectionRuleSetting The OCID and action of a custom protection rule.

func (CustomProtectionRuleSetting) String Uses

func (m CustomProtectionRuleSetting) String() string

type CustomProtectionRuleSettingActionEnum Uses

type CustomProtectionRuleSettingActionEnum string

CustomProtectionRuleSettingActionEnum Enum with underlying type: string

const (
    CustomProtectionRuleSettingActionDetect CustomProtectionRuleSettingActionEnum = "DETECT"
    CustomProtectionRuleSettingActionBlock  CustomProtectionRuleSettingActionEnum = "BLOCK"
)

Set of constants representing the allowable values for CustomProtectionRuleSettingActionEnum

func GetCustomProtectionRuleSettingActionEnumValues Uses

func GetCustomProtectionRuleSettingActionEnumValues() []CustomProtectionRuleSettingActionEnum

GetCustomProtectionRuleSettingActionEnumValues Enumerates the set of values for CustomProtectionRuleSettingActionEnum

type CustomProtectionRuleSummary Uses

type CustomProtectionRuleSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule's compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The user-friendly name of the custom protection rule.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The auto-generated ID for the custom protection rule. These IDs are referenced in logs.
    ModSecurityRuleIds []string `mandatory:"false" json:"modSecurityRuleIds"`

    // The current lifecycle state of the custom protection rule.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the protection rule was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CustomProtectionRuleSummary An overview of a custom protection rule.

func (CustomProtectionRuleSummary) String Uses

func (m CustomProtectionRuleSummary) String() string

type DeleteAddressListRequest Uses

type DeleteAddressListRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
    AddressListId *string `mandatory:"true" contributesTo:"path" name:"addressListId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteAddressListRequest wrapper for the DeleteAddressList operation

func (DeleteAddressListRequest) HTTPRequest Uses

func (request DeleteAddressListRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteAddressListRequest) RetryPolicy Uses

func (request DeleteAddressListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteAddressListRequest) String Uses

func (request DeleteAddressListRequest) String() string

type DeleteAddressListResponse Uses

type DeleteAddressListResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteAddressListResponse wrapper for the DeleteAddressList operation

func (DeleteAddressListResponse) HTTPResponse Uses

func (response DeleteAddressListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteAddressListResponse) String Uses

func (response DeleteAddressListResponse) String() string

type DeleteCertificateRequest Uses

type DeleteCertificateRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy.
    CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteCertificateRequest wrapper for the DeleteCertificate operation

func (DeleteCertificateRequest) HTTPRequest Uses

func (request DeleteCertificateRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCertificateRequest) RetryPolicy Uses

func (request DeleteCertificateRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCertificateRequest) String Uses

func (request DeleteCertificateRequest) String() string

type DeleteCertificateResponse Uses

type DeleteCertificateResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteCertificateResponse wrapper for the DeleteCertificate operation

func (DeleteCertificateResponse) HTTPResponse Uses

func (response DeleteCertificateResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCertificateResponse) String Uses

func (response DeleteCertificateResponse) String() string

type DeleteCustomProtectionRuleRequest Uses

type DeleteCustomProtectionRuleRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
    CustomProtectionRuleId *string `mandatory:"true" contributesTo:"path" name:"customProtectionRuleId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteCustomProtectionRuleRequest wrapper for the DeleteCustomProtectionRule operation

func (DeleteCustomProtectionRuleRequest) HTTPRequest Uses

func (request DeleteCustomProtectionRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteCustomProtectionRuleRequest) RetryPolicy Uses

func (request DeleteCustomProtectionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteCustomProtectionRuleRequest) String Uses

func (request DeleteCustomProtectionRuleRequest) String() string

type DeleteCustomProtectionRuleResponse Uses

type DeleteCustomProtectionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

DeleteCustomProtectionRuleResponse wrapper for the DeleteCustomProtectionRule operation

func (DeleteCustomProtectionRuleResponse) HTTPResponse Uses

func (response DeleteCustomProtectionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteCustomProtectionRuleResponse) String Uses

func (response DeleteCustomProtectionRuleResponse) String() string

type DeleteHttpRedirectRequest Uses

type DeleteHttpRedirectRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect.
    HttpRedirectId *string `mandatory:"true" contributesTo:"path" name:"httpRedirectId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteHttpRedirectRequest wrapper for the DeleteHttpRedirect operation

func (DeleteHttpRedirectRequest) HTTPRequest Uses

func (request DeleteHttpRedirectRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteHttpRedirectRequest) RetryPolicy Uses

func (request DeleteHttpRedirectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteHttpRedirectRequest) String Uses

func (request DeleteHttpRedirectRequest) String() string

type DeleteHttpRedirectResponse Uses

type DeleteHttpRedirectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteHttpRedirectResponse wrapper for the DeleteHttpRedirect operation

func (DeleteHttpRedirectResponse) HTTPResponse Uses

func (response DeleteHttpRedirectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteHttpRedirectResponse) String Uses

func (response DeleteHttpRedirectResponse) String() string

type DeleteWaasPolicyRequest Uses

type DeleteWaasPolicyRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations
    // *Example:* If a resource has been deleted and purged from the system, then a retry of the original delete request may be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // For optimistic concurrency control. In the `PUT` or `DELETE` call for a resource, set the `if-match` parameter to the value of the etag from a previous `GET` or `POST` response for that resource. The resource will be updated or deleted only if the etag provided matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

DeleteWaasPolicyRequest wrapper for the DeleteWaasPolicy operation

func (DeleteWaasPolicyRequest) HTTPRequest Uses

func (request DeleteWaasPolicyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWaasPolicyRequest) RetryPolicy Uses

func (request DeleteWaasPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteWaasPolicyRequest) String Uses

func (request DeleteWaasPolicyRequest) String() string

type DeleteWaasPolicyResponse Uses

type DeleteWaasPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

DeleteWaasPolicyResponse wrapper for the DeleteWaasPolicy operation

func (DeleteWaasPolicyResponse) HTTPResponse Uses

func (response DeleteWaasPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteWaasPolicyResponse) String Uses

func (response DeleteWaasPolicyResponse) String() string

type DeviceFingerprintChallenge Uses

type DeviceFingerprintChallenge struct {

    // Enables or disables the device fingerprint challenge Web Application Firewall feature.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`

    // The action to take on requests from detected bots. If unspecified, defaults to `DETECT`.
    Action DeviceFingerprintChallengeActionEnum `mandatory:"false" json:"action,omitempty"`

    // The number of failed requests allowed before taking action. If unspecified, defaults to `10`.
    FailureThreshold *int `mandatory:"false" json:"failureThreshold"`

    // The number of seconds between challenges for the same IP address. If unspecified, defaults to `60`.
    ActionExpirationInSeconds *int `mandatory:"false" json:"actionExpirationInSeconds"`

    // The number of seconds before the failure threshold resets. If unspecified, defaults to `60`.
    FailureThresholdExpirationInSeconds *int `mandatory:"false" json:"failureThresholdExpirationInSeconds"`

    // The maximum number of IP addresses permitted with the same device fingerprint. If unspecified, defaults to `20`.
    MaxAddressCount *int `mandatory:"false" json:"maxAddressCount"`

    // The number of seconds before the maximum addresses count resets. If unspecified, defaults to `60`.
    MaxAddressCountExpirationInSeconds *int `mandatory:"false" json:"maxAddressCountExpirationInSeconds"`

    ChallengeSettings *BlockChallengeSettings `mandatory:"false" json:"challengeSettings"`
}

DeviceFingerprintChallenge The device fingerprint challenge settings. The device fingerprint challenge generates hashed signatures of both virtual and real browsers to identify and block malicious bots.

func (DeviceFingerprintChallenge) String Uses

func (m DeviceFingerprintChallenge) String() string

type DeviceFingerprintChallengeActionEnum Uses

type DeviceFingerprintChallengeActionEnum string

DeviceFingerprintChallengeActionEnum Enum with underlying type: string

const (
    DeviceFingerprintChallengeActionDetect DeviceFingerprintChallengeActionEnum = "DETECT"
    DeviceFingerprintChallengeActionBlock  DeviceFingerprintChallengeActionEnum = "BLOCK"
)

Set of constants representing the allowable values for DeviceFingerprintChallengeActionEnum

func GetDeviceFingerprintChallengeActionEnumValues Uses

func GetDeviceFingerprintChallengeActionEnumValues() []DeviceFingerprintChallengeActionEnum

GetDeviceFingerprintChallengeActionEnumValues Enumerates the set of values for DeviceFingerprintChallengeActionEnum

type EdgeSubnet Uses

type EdgeSubnet struct {

    // An edge node subnet. This can include /24 or /8 addresses.
    Cidr *string `mandatory:"false" json:"cidr"`

    // The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.
    TimeModified *common.SDKTime `mandatory:"false" json:"timeModified"`

    // The name of the region containing the indicated subnet.
    Region *string `mandatory:"false" json:"region"`
}

EdgeSubnet The details about an edge node subnet.

func (EdgeSubnet) String Uses

func (m EdgeSubnet) String() string

type ExtendHttpResponseHeaderAction Uses

type ExtendHttpResponseHeaderAction struct {

    // A header field name that conforms to RFC 7230.
    // Example: `example_header_name`
    Header *string `mandatory:"true" json:"header"`

    // A header field value that conforms to RFC 7230.
    // Example: `example_value`
    Value *string `mandatory:"true" json:"value"`
}

ExtendHttpResponseHeaderAction An object that represents the action of adding a header field to a response. If the header with specified value already exists, nothing will be added. If the header exists with different value, additional header name:value pair will be added. Comma separated header values are not considered individually (instead as a single value) when adding a new header field.

func (ExtendHttpResponseHeaderAction) MarshalJSON Uses

func (m ExtendHttpResponseHeaderAction) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ExtendHttpResponseHeaderAction) String Uses

func (m ExtendHttpResponseHeaderAction) String() string

type GetAddressListRequest Uses

type GetAddressListRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the address list. This number is generated when the address list is added to the compartment.
    AddressListId *string `mandatory:"true" contributesTo:"path" name:"addressListId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetAddressListRequest wrapper for the GetAddressList operation

func (GetAddressListRequest) HTTPRequest Uses

func (request GetAddressListRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetAddressListRequest) RetryPolicy Uses

func (request GetAddressListRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetAddressListRequest) String Uses

func (request GetAddressListRequest) String() string

type GetAddressListResponse Uses

type GetAddressListResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AddressList instance
    AddressList `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetAddressListResponse wrapper for the GetAddressList operation

func (GetAddressListResponse) HTTPResponse Uses

func (response GetAddressListResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetAddressListResponse) String Uses

func (response GetAddressListResponse) String() string

type GetCertificateRequest Uses

type GetCertificateRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the SSL certificate used in the WAAS policy. This number is generated when the certificate is added to the policy.
    CertificateId *string `mandatory:"true" contributesTo:"path" name:"certificateId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetCertificateRequest wrapper for the GetCertificate operation

func (GetCertificateRequest) HTTPRequest Uses

func (request GetCertificateRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCertificateRequest) RetryPolicy Uses

func (request GetCertificateRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCertificateRequest) String Uses

func (request GetCertificateRequest) String() string

type GetCertificateResponse Uses

type GetCertificateResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Certificate instance
    Certificate `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCertificateResponse wrapper for the GetCertificate operation

func (GetCertificateResponse) HTTPResponse Uses

func (response GetCertificateResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCertificateResponse) String Uses

func (response GetCertificateResponse) String() string

type GetCustomProtectionRuleRequest Uses

type GetCustomProtectionRuleRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the custom protection rule. This number is generated when the custom protection rule is added to the compartment.
    CustomProtectionRuleId *string `mandatory:"true" contributesTo:"path" name:"customProtectionRuleId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetCustomProtectionRuleRequest wrapper for the GetCustomProtectionRule operation

func (GetCustomProtectionRuleRequest) HTTPRequest Uses

func (request GetCustomProtectionRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetCustomProtectionRuleRequest) RetryPolicy Uses

func (request GetCustomProtectionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetCustomProtectionRuleRequest) String Uses

func (request GetCustomProtectionRuleRequest) String() string

type GetCustomProtectionRuleResponse Uses

type GetCustomProtectionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CustomProtectionRule instance
    CustomProtectionRule `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetCustomProtectionRuleResponse wrapper for the GetCustomProtectionRule operation

func (GetCustomProtectionRuleResponse) HTTPResponse Uses

func (response GetCustomProtectionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetCustomProtectionRuleResponse) String Uses

func (response GetCustomProtectionRuleResponse) String() string

type GetDeviceFingerprintChallengeRequest Uses

type GetDeviceFingerprintChallengeRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetDeviceFingerprintChallengeRequest wrapper for the GetDeviceFingerprintChallenge operation

func (GetDeviceFingerprintChallengeRequest) HTTPRequest Uses

func (request GetDeviceFingerprintChallengeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDeviceFingerprintChallengeRequest) RetryPolicy Uses

func (request GetDeviceFingerprintChallengeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDeviceFingerprintChallengeRequest) String Uses

func (request GetDeviceFingerprintChallengeRequest) String() string

type GetDeviceFingerprintChallengeResponse Uses

type GetDeviceFingerprintChallengeResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The DeviceFingerprintChallenge instance
    DeviceFingerprintChallenge `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetDeviceFingerprintChallengeResponse wrapper for the GetDeviceFingerprintChallenge operation

func (GetDeviceFingerprintChallengeResponse) HTTPResponse Uses

func (response GetDeviceFingerprintChallengeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDeviceFingerprintChallengeResponse) String Uses

func (response GetDeviceFingerprintChallengeResponse) String() string

type GetHttpRedirectRequest Uses

type GetHttpRedirectRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect.
    HttpRedirectId *string `mandatory:"true" contributesTo:"path" name:"httpRedirectId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetHttpRedirectRequest wrapper for the GetHttpRedirect operation

func (GetHttpRedirectRequest) HTTPRequest Uses

func (request GetHttpRedirectRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHttpRedirectRequest) RetryPolicy Uses

func (request GetHttpRedirectRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetHttpRedirectRequest) String Uses

func (request GetHttpRedirectRequest) String() string

type GetHttpRedirectResponse Uses

type GetHttpRedirectResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The HttpRedirect instance
    HttpRedirect `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetHttpRedirectResponse wrapper for the GetHttpRedirect operation

func (GetHttpRedirectResponse) HTTPResponse Uses

func (response GetHttpRedirectResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetHttpRedirectResponse) String Uses

func (response GetHttpRedirectResponse) String() string

type GetHumanInteractionChallengeRequest Uses

type GetHumanInteractionChallengeRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetHumanInteractionChallengeRequest wrapper for the GetHumanInteractionChallenge operation

func (GetHumanInteractionChallengeRequest) HTTPRequest Uses

func (request GetHumanInteractionChallengeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetHumanInteractionChallengeRequest) RetryPolicy Uses

func (request GetHumanInteractionChallengeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetHumanInteractionChallengeRequest) String Uses

func (request GetHumanInteractionChallengeRequest) String() string

type GetHumanInteractionChallengeResponse Uses

type GetHumanInteractionChallengeResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The HumanInteractionChallenge instance
    HumanInteractionChallenge `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetHumanInteractionChallengeResponse wrapper for the GetHumanInteractionChallenge operation

func (GetHumanInteractionChallengeResponse) HTTPResponse Uses

func (response GetHumanInteractionChallengeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetHumanInteractionChallengeResponse) String Uses

func (response GetHumanInteractionChallengeResponse) String() string

type GetJsChallengeRequest Uses

type GetJsChallengeRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetJsChallengeRequest wrapper for the GetJsChallenge operation

func (GetJsChallengeRequest) HTTPRequest Uses

func (request GetJsChallengeRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetJsChallengeRequest) RetryPolicy Uses

func (request GetJsChallengeRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetJsChallengeRequest) String Uses

func (request GetJsChallengeRequest) String() string

type GetJsChallengeResponse Uses

type GetJsChallengeResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The JsChallenge instance
    JsChallenge `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetJsChallengeResponse wrapper for the GetJsChallenge operation

func (GetJsChallengeResponse) HTTPResponse Uses

func (response GetJsChallengeResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetJsChallengeResponse) String Uses

func (response GetJsChallengeResponse) String() string

type GetPolicyConfigRequest Uses

type GetPolicyConfigRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetPolicyConfigRequest wrapper for the GetPolicyConfig operation

func (GetPolicyConfigRequest) HTTPRequest Uses

func (request GetPolicyConfigRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetPolicyConfigRequest) RetryPolicy Uses

func (request GetPolicyConfigRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetPolicyConfigRequest) String Uses

func (request GetPolicyConfigRequest) String() string

type GetPolicyConfigResponse Uses

type GetPolicyConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The PolicyConfig instance
    PolicyConfig `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetPolicyConfigResponse wrapper for the GetPolicyConfig operation

func (GetPolicyConfigResponse) HTTPResponse Uses

func (response GetPolicyConfigResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetPolicyConfigResponse) String Uses

func (response GetPolicyConfigResponse) String() string

type GetProtectionRuleRequest Uses

type GetProtectionRuleRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The protection rule key.
    ProtectionRuleKey *string `mandatory:"true" contributesTo:"path" name:"protectionRuleKey"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetProtectionRuleRequest wrapper for the GetProtectionRule operation

func (GetProtectionRuleRequest) HTTPRequest Uses

func (request GetProtectionRuleRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProtectionRuleRequest) RetryPolicy Uses

func (request GetProtectionRuleRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetProtectionRuleRequest) String Uses

func (request GetProtectionRuleRequest) String() string

type GetProtectionRuleResponse Uses

type GetProtectionRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ProtectionRule instance
    ProtectionRule `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetProtectionRuleResponse wrapper for the GetProtectionRule operation

func (GetProtectionRuleResponse) HTTPResponse Uses

func (response GetProtectionRuleResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetProtectionRuleResponse) String Uses

func (response GetProtectionRuleResponse) String() string

type GetProtectionSettingsRequest Uses

type GetProtectionSettingsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetProtectionSettingsRequest wrapper for the GetProtectionSettings operation

func (GetProtectionSettingsRequest) HTTPRequest Uses

func (request GetProtectionSettingsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetProtectionSettingsRequest) RetryPolicy Uses

func (request GetProtectionSettingsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetProtectionSettingsRequest) String Uses

func (request GetProtectionSettingsRequest) String() string

type GetProtectionSettingsResponse Uses

type GetProtectionSettingsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ProtectionSettings instance
    ProtectionSettings `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetProtectionSettingsResponse wrapper for the GetProtectionSettings operation

func (GetProtectionSettingsResponse) HTTPResponse Uses

func (response GetProtectionSettingsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetProtectionSettingsResponse) String Uses

func (response GetProtectionSettingsResponse) String() string

type GetWaasPolicyRequest Uses

type GetWaasPolicyRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetWaasPolicyRequest wrapper for the GetWaasPolicy operation

func (GetWaasPolicyRequest) HTTPRequest Uses

func (request GetWaasPolicyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWaasPolicyRequest) RetryPolicy Uses

func (request GetWaasPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWaasPolicyRequest) String Uses

func (request GetWaasPolicyRequest) String() string

type GetWaasPolicyResponse Uses

type GetWaasPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WaasPolicy instance
    WaasPolicy `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetWaasPolicyResponse wrapper for the GetWaasPolicy operation

func (GetWaasPolicyResponse) HTTPResponse Uses

func (response GetWaasPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWaasPolicyResponse) String Uses

func (response GetWaasPolicyResponse) String() string

type GetWafAddressRateLimitingRequest Uses

type GetWafAddressRateLimitingRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetWafAddressRateLimitingRequest wrapper for the GetWafAddressRateLimiting operation

func (GetWafAddressRateLimitingRequest) HTTPRequest Uses

func (request GetWafAddressRateLimitingRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWafAddressRateLimitingRequest) RetryPolicy Uses

func (request GetWafAddressRateLimitingRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWafAddressRateLimitingRequest) String Uses

func (request GetWafAddressRateLimitingRequest) String() string

type GetWafAddressRateLimitingResponse Uses

type GetWafAddressRateLimitingResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AddressRateLimiting instance
    AddressRateLimiting `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetWafAddressRateLimitingResponse wrapper for the GetWafAddressRateLimiting operation

func (GetWafAddressRateLimitingResponse) HTTPResponse Uses

func (response GetWafAddressRateLimitingResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWafAddressRateLimitingResponse) String Uses

func (response GetWafAddressRateLimitingResponse) String() string

type GetWafConfigRequest Uses

type GetWafConfigRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetWafConfigRequest wrapper for the GetWafConfig operation

func (GetWafConfigRequest) HTTPRequest Uses

func (request GetWafConfigRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWafConfigRequest) RetryPolicy Uses

func (request GetWafConfigRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWafConfigRequest) String Uses

func (request GetWafConfigRequest) String() string

type GetWafConfigResponse Uses

type GetWafConfigResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WafConfig instance
    WafConfig `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetWafConfigResponse wrapper for the GetWafConfig operation

func (GetWafConfigResponse) HTTPResponse Uses

func (response GetWafConfigResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWafConfigResponse) String Uses

func (response GetWafConfigResponse) String() string

type GetWorkRequestRequest Uses

type GetWorkRequestRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the work request. This number is generated when work request is created.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

GetWorkRequestRequest wrapper for the GetWorkRequest operation

func (GetWorkRequestRequest) HTTPRequest Uses

func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy Uses

func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetWorkRequestRequest) String Uses

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse Uses

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The WorkRequest instance
    WorkRequest `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A decimal number representing the number of seconds the client should wait before polling this endpoint again.
    RetryAfter *float32 `presentIn:"header" name:"retry-after"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse Uses

func (response GetWorkRequestResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String Uses

func (response GetWorkRequestResponse) String() string

type GoodBot Uses

type GoodBot struct {

    // The unique key for the bot.
    Key *string `mandatory:"true" json:"key"`

    // Enables or disables the bot.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`

    // The bot name.
    Name *string `mandatory:"false" json:"name"`

    // The description of the bot.
    Description *string `mandatory:"false" json:"description"`
}

GoodBot The good bot settings. Good bots provides a list of bots which are managed by known providers.

func (GoodBot) String Uses

func (m GoodBot) String() string
type Header struct {

    // The name of the header.
    Name *string `mandatory:"true" json:"name"`

    // The value of the header.
    Value *string `mandatory:"true" json:"value"`
}

Header An HTTP header with name and value.

func (Header) String Uses

func (m Header) String() string

type HeaderManipulationAction Uses

type HeaderManipulationAction interface {
}

HeaderManipulationAction An object that represents an action to apply to an HTTP headers.

type HeaderManipulationActionActionEnum Uses

type HeaderManipulationActionActionEnum string

HeaderManipulationActionActionEnum Enum with underlying type: string

const (
    HeaderManipulationActionActionExtendHttpResponseHeader HeaderManipulationActionActionEnum = "EXTEND_HTTP_RESPONSE_HEADER"
    HeaderManipulationActionActionAddHttpResponseHeader    HeaderManipulationActionActionEnum = "ADD_HTTP_RESPONSE_HEADER"
    HeaderManipulationActionActionRemoveHttpResponseHeader HeaderManipulationActionActionEnum = "REMOVE_HTTP_RESPONSE_HEADER"
)

Set of constants representing the allowable values for HeaderManipulationActionActionEnum

func GetHeaderManipulationActionActionEnumValues Uses

func GetHeaderManipulationActionActionEnumValues() []HeaderManipulationActionActionEnum

GetHeaderManipulationActionActionEnumValues Enumerates the set of values for HeaderManipulationActionActionEnum

type HealthCheck Uses

type HealthCheck struct {

    // Enables or disables the health checks.
    IsEnabled *bool `mandatory:"false" json:"isEnabled"`

    // An HTTP verb (i.e. HEAD, GET, or POST) to use when performing the health check.
    Method HealthCheckMethodEnum `mandatory:"false" json:"method,omitempty"`

    // Path to visit on your origins when performing the health check.
    Path *string `mandatory:"false" json:"path"`

    // HTTP header fields to include in health check requests, expressed as `"name": "value"` properties. Because HTTP header field names are case-insensitive, any use of names that are case-insensitive equal to other names will be rejected. If Host is not specified, requests will include a Host header field with value matching the policy's protected domain. If User-Agent is not specified, requests will include a User-Agent header field with value "waf health checks".
    // **Note:** The only currently-supported header fields are Host and User-Agent.
    Headers map[string]string `mandatory:"false" json:"headers"`

    // The HTTP response codes that signify a healthy state.
    // - **2XX:** Success response code group.
    // - **3XX:** Redirection response code group.
    // - **4XX:** Client errors response code group.
    // - **5XX:** Server errors response code group.
    ExpectedResponseCodeGroup []HealthCheckExpectedResponseCodeGroupEnum `mandatory:"false" json:"expectedResponseCodeGroup,omitempty"`

    // Enables or disables additional check for predefined text in addition to response code.
    IsResponseTextCheckEnabled *bool `mandatory:"false" json:"isResponseTextCheckEnabled"`

    // Health check will search for the given text in a case-sensitive manner within the response body and will fail if the text is not found.
    ExpectedResponseText *string `mandatory:"false" json:"expectedResponseText"`

    // Time between health checks of an individual origin server, in seconds.
    IntervalInSeconds *int `mandatory:"false" json:"intervalInSeconds"`

    // Response timeout represents wait time until request is considered failed, in seconds.
    TimeoutInSeconds *int `mandatory:"false" json:"timeoutInSeconds"`

    // Number of successful health checks after which the server is marked up.
    HealthyThreshold *int `mandatory:"false" json:"healthyThreshold"`

    // Number of failed health checks after which the server is marked down.
    UnhealthyThreshold *int `mandatory:"false" json:"unhealthyThreshold"`
}

HealthCheck Health checks monitor the status of your origin servers and only route traffic to the origins that pass the health check. If the health check fails, origin is automatically removed from the load balancing. There is roughly one health check per EDGE POP per period. Any checks that pass will be reported as "healthy".

func (HealthCheck) String Uses

func (m HealthCheck) String() string

type HealthCheckExpectedResponseCodeGroupEnum Uses

type HealthCheckExpectedResponseCodeGroupEnum string

HealthCheckExpectedResponseCodeGroupEnum Enum with underlying type: string

const (
    HealthCheckExpectedResponseCodeGroup2xx HealthCheckExpectedResponseCodeGroupEnum = "2XX"
    HealthCheckExpectedResponseCodeGroup3xx HealthCheckExpectedResponseCodeGroupEnum = "3XX"
    HealthCheckExpectedResponseCodeGroup4xx HealthCheckExpectedResponseCodeGroupEnum = "4XX"
    HealthCheckExpectedResponseCodeGroup5xx HealthCheckExpectedResponseCodeGroupEnum = "5XX"
)

Set of constants representing the allowable values for HealthCheckExpectedResponseCodeGroupEnum

func GetHealthCheckExpectedResponseCodeGroupEnumValues Uses

func GetHealthCheckExpectedResponseCodeGroupEnumValues() []HealthCheckExpectedResponseCodeGroupEnum

GetHealthCheckExpectedResponseCodeGroupEnumValues Enumerates the set of values for HealthCheckExpectedResponseCodeGroupEnum

type HealthCheckMethodEnum Uses

type HealthCheckMethodEnum string

HealthCheckMethodEnum Enum with underlying type: string

const (
    HealthCheckMethodGet  HealthCheckMethodEnum = "GET"
    HealthCheckMethodHead HealthCheckMethodEnum = "HEAD"
    HealthCheckMethodPost HealthCheckMethodEnum = "POST"
)

Set of constants representing the allowable values for HealthCheckMethodEnum

func GetHealthCheckMethodEnumValues Uses

func GetHealthCheckMethodEnumValues() []HealthCheckMethodEnum

GetHealthCheckMethodEnumValues Enumerates the set of values for HealthCheckMethodEnum

type HttpRedirect Uses

type HttpRedirect struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect's compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The domain from which traffic will be redirected.
    Domain *string `mandatory:"false" json:"domain"`

    // The redirect target object including all the redirect data.
    Target *HttpRedirectTarget `mandatory:"false" json:"target"`

    // The response code returned for the redirect to the client. For more information, see RFC 7231 (https://tools.ietf.org/html/rfc7231#section-6.4).
    ResponseCode *int `mandatory:"false" json:"responseCode"`

    // The date and time the policy was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // The current lifecycle state of the HTTP Redirect.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

HttpRedirect The details of a HTTP Redirect configuration to allow redirecting HTTP traffic from a request domain to a new target. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (HttpRedirect) String Uses

func (m HttpRedirect) String() string

type HttpRedirectSummary Uses

type HttpRedirectSummary struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect.
    Id  *string `mandatory:"false" json:"id"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the HTTP Redirect's compartment.
    CompartmentId *string `mandatory:"false" json:"compartmentId"`

    // The user-friendly name of the HTTP Redirect. The name can be changed and does not need to be unique.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The domain from which traffic will be redirected.
    Domain *string `mandatory:"false" json:"domain"`

    // The redirect target object including all the redirect data.
    Target *HttpRedirectTarget `mandatory:"false" json:"target"`

    // The response code returned for the redirect to the client. For more information, see RFC 7231 (https://tools.ietf.org/html/rfc7231#section-6.4).
    ResponseCode *int `mandatory:"false" json:"responseCode"`

    // The current lifecycle state of the HTTP Redirect.
    LifecycleState LifecycleStatesEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The date and time the policy was created, expressed in RFC 3339 timestamp format.
    TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    // Example: `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

HttpRedirectSummary The details of a HTTP Redirect configuration to allow redirecting HTTP traffic from a request domain to a new target. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (HttpRedirectSummary) String Uses

func (m HttpRedirectSummary) String() string

type HttpRedirectTarget Uses

type HttpRedirectTarget struct {

    // The protocol used for the target, http or https.
    Protocol HttpRedirectTargetProtocolEnum `mandatory:"true" json:"protocol"`

    // The host portion of the redirect.
    Host *string `mandatory:"true" json:"host"`

    // The path component of the target URL (e.g., "/path/to/resource" in "https://target.example.com/path/to/resource?redirected"), which can be empty, static, or request-copying, or request-prefixing. Use of \ is not permitted except to escape a following \, {, or }. An empty value is treated the same as static "/". A static value must begin with a leading "/", optionally followed by other path characters. A request-copying value must exactly match "{path}", and will be replaced with the path component of the request URL (including its initial "/"). A request-prefixing value must start with "/" and end with a non-escaped "{path}", which will be replaced with the path component of the request URL (including its initial "/"). Only one such replacement token is allowed.
    Path *string `mandatory:"true" json:"path"`

    // The query component of the target URL (e.g., "?redirected" in "https://target.example.com/path/to/resource?redirected"), which can be empty, static, or request-copying. Use of \ is not permitted except to escape a following \, {, or }. An empty value results in a redirection target URL with no query component. A static value must begin with a leading "?", optionally followed by other query characters. A request-copying value must exactly match "{query}", and will be replaced with the query component of the request URL (including a leading "?" if and only if the request URL includes a query component).
    Query *string `mandatory:"true" json:"query"`

    // Port number of the target destination of the redirect, default to match protocol
    Port *int `mandatory:"false" json:"port"`
}

HttpRedirectTarget The representation of HttpRedirectTarget

func (HttpRedirectTarget) String Uses

func (m HttpRedirectTarget) String() string

type HttpRedirectTargetProtocolEnum Uses

type HttpRedirectTargetProtocolEnum string

HttpRedirectTargetProtocolEnum Enum with underlying type: string

const (
    HttpRedirectTargetProtocolHttp  HttpRedirectTargetProtocolEnum = "HTTP"
    HttpRedirectTargetProtocolHttps HttpRedirectTargetProtocolEnum = "HTTPS"
)

Set of constants representing the allowable values for HttpRedirectTargetProtocolEnum

func GetHttpRedirectTargetProtocolEnumValues Uses

func GetHttpRedirectTargetProtocolEnumValues() []HttpRedirectTargetProtocolEnum

GetHttpRedirectTargetProtocolEnumValues Enumerates the set of values for HttpRedirectTargetProtocolEnum

type HumanInteractionChallenge Uses

type HumanInteractionChallenge struct {

    // Enables or disables the human interaction challenge Web Application Firewall feature.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`

    // The action to take against requests from detected bots. If unspecified, defaults to `DETECT`.
    Action HumanInteractionChallengeActionEnum `mandatory:"false" json:"action,omitempty"`

    // The number of failed requests before taking action. If unspecified, defaults to `10`.
    FailureThreshold *int `mandatory:"false" json:"failureThreshold"`

    // The number of seconds between challenges for the same IP address. If unspecified, defaults to `60`.
    ActionExpirationInSeconds *int `mandatory:"false" json:"actionExpirationInSeconds"`

    // The number of seconds before the failure threshold resets. If unspecified, defaults to  `60`.
    FailureThresholdExpirationInSeconds *int `mandatory:"false" json:"failureThresholdExpirationInSeconds"`

    // The number of interactions required to pass the challenge. If unspecified, defaults to `3`.
    InteractionThreshold *int `mandatory:"false" json:"interactionThreshold"`

    // The number of seconds to record the interactions from the user. If unspecified, defaults to `15`.
    RecordingPeriodInSeconds *int `mandatory:"false" json:"recordingPeriodInSeconds"`

    // Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`.
    SetHttpHeader *Header `mandatory:"false" json:"setHttpHeader"`

    ChallengeSettings *BlockChallengeSettings `mandatory:"false" json:"challengeSettings"`

    // When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses.
    IsNatEnabled *bool `mandatory:"false" json:"isNatEnabled"`
}

HumanInteractionChallenge The human interaction challenge settings. The human interaction challenge checks various event listeners in the user's browser to determine if there is a human user making a request.

func (HumanInteractionChallenge) String Uses

func (m HumanInteractionChallenge) String() string

type HumanInteractionChallengeActionEnum Uses

type HumanInteractionChallengeActionEnum string

HumanInteractionChallengeActionEnum Enum with underlying type: string

const (
    HumanInteractionChallengeActionDetect HumanInteractionChallengeActionEnum = "DETECT"
    HumanInteractionChallengeActionBlock  HumanInteractionChallengeActionEnum = "BLOCK"
)

Set of constants representing the allowable values for HumanInteractionChallengeActionEnum

func GetHumanInteractionChallengeActionEnumValues Uses

func GetHumanInteractionChallengeActionEnumValues() []HumanInteractionChallengeActionEnum

GetHumanInteractionChallengeActionEnumValues Enumerates the set of values for HumanInteractionChallengeActionEnum

type IpHashLoadBalancingMethod Uses

type IpHashLoadBalancingMethod struct {
}

IpHashLoadBalancingMethod An object that represents the `ip-hash` load balancing method.

func (IpHashLoadBalancingMethod) MarshalJSON Uses

func (m IpHashLoadBalancingMethod) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (IpHashLoadBalancingMethod) String Uses

func (m IpHashLoadBalancingMethod) String() string

type JsChallenge Uses

type JsChallenge struct {

    // Enables or disables the JavaScript challenge Web Application Firewall feature.
    IsEnabled *bool `mandatory:"true" json:"isEnabled"`

    // The action to take against requests from detected bots. If unspecified, defaults to `DETECT`.
    Action JsChallengeActionEnum `mandatory:"false" json:"action,omitempty"`

    // The number of failed requests before taking action. If unspecified, defaults to `10`.
    FailureThreshold *int `mandatory:"false" json:"failureThreshold"`

    // The number of seconds between challenges from the same IP address. If unspecified, defaults to `60`.
    ActionExpirationInSeconds *int `mandatory:"false" json:"actionExpirationInSeconds"`

    // Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`.
    SetHttpHeader *Header `mandatory:"false" json:"setHttpHeader"`

    ChallengeSettings *BlockChallengeSettings `mandatory:"false" json:"challengeSettings"`

    // When enabled, redirect responses from the origin will also be challenged. This will change HTTP 301/302 responses from origin to HTTP 200 with an HTML body containing JavaScript page redirection.
    AreRedirectsChallenged *bool `mandatory:"false" json:"areRedirectsChallenged"`

    // When defined, the JavaScript Challenge would be applied only for the requests that matched all the listed conditions.
    Criteria []AccessRuleCriteria `mandatory:"false" json:"criteria"`

    // When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses.
    IsNatEnabled *bool `mandatory:"false" json:"isNatEnabled"`
}

JsChallenge The JavaScript challenge settings. JavaScript Challenge is the function to filter abnormal or malicious bots and allow access to real clients.

func (JsChallenge) String Uses

func (m JsChallenge) String() string

type JsChallengeActionEnum Uses

type JsChallengeActionEnum string

JsChallengeActionEnum Enum with underlying type: string

const (
    JsChallengeActionDetect JsChallengeActionEnum = "DETECT"
    JsChallengeActionBlock  JsChallengeActionEnum = "BLOCK"
)

Set of constants representing the allowable values for JsChallengeActionEnum

func GetJsChallengeActionEnumValues Uses

func GetJsChallengeActionEnumValues() []JsChallengeActionEnum

GetJsChallengeActionEnumValues Enumerates the set of values for JsChallengeActionEnum

type LifecycleStatesEnum Uses

type LifecycleStatesEnum string

LifecycleStatesEnum Enum with underlying type: string

const (
    CertificateLifecycleStateCreating LifecycleStatesEnum = "CREATING"
    CertificateLifecycleStateActive   LifecycleStatesEnum = "ACTIVE"
    CertificateLifecycleStateFailed   LifecycleStatesEnum = "FAILED"
    CertificateLifecycleStateUpdating LifecycleStatesEnum = "UPDATING"
    CertificateLifecycleStateDeleting LifecycleStatesEnum = "DELETING"
    CertificateLifecycleStateDeleted  LifecycleStatesEnum = "DELETED"
)

Set of constants representing the allowable values for LifecycleStatesEnum Deprecated

const (
    CertificateSummaryLifecycleStateCreating LifecycleStatesEnum = "CREATING"
    CertificateSummaryLifecycleStateActive   LifecycleStatesEnum = "ACTIVE"
    CertificateSummaryLifecycleStateFailed   LifecycleStatesEnum = "FAILED"
    CertificateSummaryLifecycleStateUpdating LifecycleStatesEnum = "UPDATING"
    CertificateSummaryLifecycleStateDeleting LifecycleStatesEnum = "DELETING"
    CertificateSummaryLifecycleStateDeleted  LifecycleStatesEnum = "DELETED"
)

Set of constants representing the allowable values for LifecycleStatesEnum Deprecated

const (
    LifecycleStatesCreating LifecycleStatesEnum = "CREATING"
    LifecycleStatesActive   LifecycleStatesEnum = "ACTIVE"
    LifecycleStatesFailed   LifecycleStatesEnum = "FAILED"
    LifecycleStatesUpdating LifecycleStatesEnum = "UPDATING"
    LifecycleStatesDeleting LifecycleStatesEnum = "DELETING"
    LifecycleStatesDeleted  LifecycleStatesEnum = "DELETED"
)

Set of constants representing the allowable values for LifecycleStatesEnum

const (
    WaasPolicyLifecycleStateCreating LifecycleStatesEnum = "CREATING"
    WaasPolicyLifecycleStateActive   LifecycleStatesEnum = "ACTIVE"
    WaasPolicyLifecycleStateFailed   LifecycleStatesEnum = "FAILED"
    WaasPolicyLifecycleStateUpdating LifecycleStatesEnum = "UPDATING"
    WaasPolicyLifecycleStateDeleting LifecycleStatesEnum = "DELETING"
    WaasPolicyLifecycleStateDeleted  LifecycleStatesEnum = "DELETED"
)

Set of constants representing the allowable values for LifecycleStatesEnum Deprecated

const (
    WaasPolicySummaryLifecycleStateCreating LifecycleStatesEnum = "CREATING"
    WaasPolicySummaryLifecycleStateActive   LifecycleStatesEnum = "ACTIVE"
    WaasPolicySummaryLifecycleStateFailed   LifecycleStatesEnum = "FAILED"
    WaasPolicySummaryLifecycleStateUpdating LifecycleStatesEnum = "UPDATING"
    WaasPolicySummaryLifecycleStateDeleting LifecycleStatesEnum = "DELETING"
    WaasPolicySummaryLifecycleStateDeleted  LifecycleStatesEnum = "DELETED"
)

Set of constants representing the allowable values for LifecycleStatesEnum Deprecated

func GetLifecycleStatesEnumValues Uses

func GetLifecycleStatesEnumValues() []LifecycleStatesEnum

GetLifecycleStatesEnumValues Enumerates the set of values for LifecycleStatesEnum

type ListAccessRulesRequest Uses

type ListAccessRulesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListAccessRulesRequest wrapper for the ListAccessRules operation

func (ListAccessRulesRequest) HTTPRequest Uses

func (request ListAccessRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAccessRulesRequest) RetryPolicy Uses

func (request ListAccessRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAccessRulesRequest) String Uses

func (request ListAccessRulesRequest) String() string

type ListAccessRulesResponse Uses

type ListAccessRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AccessRule instances
    Items []AccessRule `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListAccessRulesResponse wrapper for the ListAccessRules operation

func (ListAccessRulesResponse) HTTPResponse Uses

func (response ListAccessRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAccessRulesResponse) String Uses

func (response ListAccessRulesResponse) String() string

type ListAddressListsLifecycleStateEnum Uses

type ListAddressListsLifecycleStateEnum string

ListAddressListsLifecycleStateEnum Enum with underlying type: string

const (
    ListAddressListsLifecycleStateCreating ListAddressListsLifecycleStateEnum = "CREATING"
    ListAddressListsLifecycleStateActive   ListAddressListsLifecycleStateEnum = "ACTIVE"
    ListAddressListsLifecycleStateFailed   ListAddressListsLifecycleStateEnum = "FAILED"
    ListAddressListsLifecycleStateUpdating ListAddressListsLifecycleStateEnum = "UPDATING"
    ListAddressListsLifecycleStateDeleting ListAddressListsLifecycleStateEnum = "DELETING"
    ListAddressListsLifecycleStateDeleted  ListAddressListsLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListAddressListsLifecycleStateEnum

func GetListAddressListsLifecycleStateEnumValues Uses

func GetListAddressListsLifecycleStateEnumValues() []ListAddressListsLifecycleStateEnum

GetListAddressListsLifecycleStateEnumValues Enumerates the set of values for ListAddressListsLifecycleStateEnum

type ListAddressListsRequest Uses

type ListAddressListsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The value by which address lists are sorted in a paginated 'List' call. If unspecified, defaults to `timeCreated`.
    SortBy ListAddressListsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
    SortOrder ListAddressListsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Filter address lists using a list of address lists OCIDs.
    Id  []string `contributesTo:"query" name:"id" collectionFormat:"multi"`

    // Filter address lists using a list of names.
    Name []string `contributesTo:"query" name:"name" collectionFormat:"multi"`

    // Filter address lists using a list of lifecycle states.
    LifecycleState []ListAddressListsLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter that matches address lists created on or after the specified date-time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // A filter that matches address lists created before the specified date-time.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListAddressListsRequest wrapper for the ListAddressLists operation

func (ListAddressListsRequest) HTTPRequest Uses

func (request ListAddressListsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListAddressListsRequest) RetryPolicy Uses

func (request ListAddressListsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListAddressListsRequest) String Uses

func (request ListAddressListsRequest) String() string

type ListAddressListsResponse Uses

type ListAddressListsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AddressListSummary instances
    Items []AddressListSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListAddressListsResponse wrapper for the ListAddressLists operation

func (ListAddressListsResponse) HTTPResponse Uses

func (response ListAddressListsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListAddressListsResponse) String Uses

func (response ListAddressListsResponse) String() string

type ListAddressListsSortByEnum Uses

type ListAddressListsSortByEnum string

ListAddressListsSortByEnum Enum with underlying type: string

const (
    ListAddressListsSortById          ListAddressListsSortByEnum = "id"
    ListAddressListsSortByName        ListAddressListsSortByEnum = "name"
    ListAddressListsSortByTimecreated ListAddressListsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListAddressListsSortByEnum

func GetListAddressListsSortByEnumValues Uses

func GetListAddressListsSortByEnumValues() []ListAddressListsSortByEnum

GetListAddressListsSortByEnumValues Enumerates the set of values for ListAddressListsSortByEnum

type ListAddressListsSortOrderEnum Uses

type ListAddressListsSortOrderEnum string

ListAddressListsSortOrderEnum Enum with underlying type: string

const (
    ListAddressListsSortOrderAsc  ListAddressListsSortOrderEnum = "ASC"
    ListAddressListsSortOrderDesc ListAddressListsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListAddressListsSortOrderEnum

func GetListAddressListsSortOrderEnumValues Uses

func GetListAddressListsSortOrderEnumValues() []ListAddressListsSortOrderEnum

GetListAddressListsSortOrderEnumValues Enumerates the set of values for ListAddressListsSortOrderEnum

type ListCachingRulesRequest Uses

type ListCachingRulesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListCachingRulesRequest wrapper for the ListCachingRules operation

func (ListCachingRulesRequest) HTTPRequest Uses

func (request ListCachingRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCachingRulesRequest) RetryPolicy Uses

func (request ListCachingRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCachingRulesRequest) String Uses

func (request ListCachingRulesRequest) String() string

type ListCachingRulesResponse Uses

type ListCachingRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []CachingRuleSummary instances
    Items []CachingRuleSummary `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListCachingRulesResponse wrapper for the ListCachingRules operation

func (ListCachingRulesResponse) HTTPResponse Uses

func (response ListCachingRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCachingRulesResponse) String Uses

func (response ListCachingRulesResponse) String() string

type ListCaptchasRequest Uses

type ListCaptchasRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListCaptchasRequest wrapper for the ListCaptchas operation

func (ListCaptchasRequest) HTTPRequest Uses

func (request ListCaptchasRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCaptchasRequest) RetryPolicy Uses

func (request ListCaptchasRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCaptchasRequest) String Uses

func (request ListCaptchasRequest) String() string

type ListCaptchasResponse Uses

type ListCaptchasResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []Captcha instances
    Items []Captcha `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListCaptchasResponse wrapper for the ListCaptchas operation

func (ListCaptchasResponse) HTTPResponse Uses

func (response ListCaptchasResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCaptchasResponse) String Uses

func (response ListCaptchasResponse) String() string

type ListCertificatesLifecycleStateEnum Uses

type ListCertificatesLifecycleStateEnum string

ListCertificatesLifecycleStateEnum Enum with underlying type: string

const (
    ListCertificatesLifecycleStateCreating ListCertificatesLifecycleStateEnum = "CREATING"
    ListCertificatesLifecycleStateActive   ListCertificatesLifecycleStateEnum = "ACTIVE"
    ListCertificatesLifecycleStateFailed   ListCertificatesLifecycleStateEnum = "FAILED"
    ListCertificatesLifecycleStateUpdating ListCertificatesLifecycleStateEnum = "UPDATING"
    ListCertificatesLifecycleStateDeleting ListCertificatesLifecycleStateEnum = "DELETING"
    ListCertificatesLifecycleStateDeleted  ListCertificatesLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListCertificatesLifecycleStateEnum

func GetListCertificatesLifecycleStateEnumValues Uses

func GetListCertificatesLifecycleStateEnumValues() []ListCertificatesLifecycleStateEnum

GetListCertificatesLifecycleStateEnumValues Enumerates the set of values for ListCertificatesLifecycleStateEnum

type ListCertificatesRequest Uses

type ListCertificatesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The value by which certificate summaries are sorted in a paginated 'List' call. If unspecified, defaults to `timeCreated`.
    SortBy ListCertificatesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
    SortOrder ListCertificatesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Filter certificates using a list of certificates OCIDs.
    Id  []string `contributesTo:"query" name:"id" collectionFormat:"multi"`

    // Filter certificates using a list of display names.
    DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"`

    // Filter certificates using a list of lifecycle states.
    LifecycleState []ListCertificatesLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter that matches certificates created on or after the specified date-time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // A filter that matches certificates created before the specified date-time.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListCertificatesRequest wrapper for the ListCertificates operation

func (ListCertificatesRequest) HTTPRequest Uses

func (request ListCertificatesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCertificatesRequest) RetryPolicy Uses

func (request ListCertificatesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCertificatesRequest) String Uses

func (request ListCertificatesRequest) String() string

type ListCertificatesResponse Uses

type ListCertificatesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []CertificateSummary instances
    Items []CertificateSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListCertificatesResponse wrapper for the ListCertificates operation

func (ListCertificatesResponse) HTTPResponse Uses

func (response ListCertificatesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCertificatesResponse) String Uses

func (response ListCertificatesResponse) String() string

type ListCertificatesSortByEnum Uses

type ListCertificatesSortByEnum string

ListCertificatesSortByEnum Enum with underlying type: string

const (
    ListCertificatesSortById            ListCertificatesSortByEnum = "id"
    ListCertificatesSortByCompartmentid ListCertificatesSortByEnum = "compartmentId"
    ListCertificatesSortByDisplayname   ListCertificatesSortByEnum = "displayName"
    ListCertificatesSortByNotvalidafter ListCertificatesSortByEnum = "notValidAfter"
    ListCertificatesSortByTimecreated   ListCertificatesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListCertificatesSortByEnum

func GetListCertificatesSortByEnumValues Uses

func GetListCertificatesSortByEnumValues() []ListCertificatesSortByEnum

GetListCertificatesSortByEnumValues Enumerates the set of values for ListCertificatesSortByEnum

type ListCertificatesSortOrderEnum Uses

type ListCertificatesSortOrderEnum string

ListCertificatesSortOrderEnum Enum with underlying type: string

const (
    ListCertificatesSortOrderAsc  ListCertificatesSortOrderEnum = "ASC"
    ListCertificatesSortOrderDesc ListCertificatesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCertificatesSortOrderEnum

func GetListCertificatesSortOrderEnumValues Uses

func GetListCertificatesSortOrderEnumValues() []ListCertificatesSortOrderEnum

GetListCertificatesSortOrderEnumValues Enumerates the set of values for ListCertificatesSortOrderEnum

type ListCustomProtectionRulesLifecycleStateEnum Uses

type ListCustomProtectionRulesLifecycleStateEnum string

ListCustomProtectionRulesLifecycleStateEnum Enum with underlying type: string

const (
    ListCustomProtectionRulesLifecycleStateCreating ListCustomProtectionRulesLifecycleStateEnum = "CREATING"
    ListCustomProtectionRulesLifecycleStateActive   ListCustomProtectionRulesLifecycleStateEnum = "ACTIVE"
    ListCustomProtectionRulesLifecycleStateFailed   ListCustomProtectionRulesLifecycleStateEnum = "FAILED"
    ListCustomProtectionRulesLifecycleStateUpdating ListCustomProtectionRulesLifecycleStateEnum = "UPDATING"
    ListCustomProtectionRulesLifecycleStateDeleting ListCustomProtectionRulesLifecycleStateEnum = "DELETING"
    ListCustomProtectionRulesLifecycleStateDeleted  ListCustomProtectionRulesLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListCustomProtectionRulesLifecycleStateEnum

func GetListCustomProtectionRulesLifecycleStateEnumValues Uses

func GetListCustomProtectionRulesLifecycleStateEnumValues() []ListCustomProtectionRulesLifecycleStateEnum

GetListCustomProtectionRulesLifecycleStateEnumValues Enumerates the set of values for ListCustomProtectionRulesLifecycleStateEnum

type ListCustomProtectionRulesRequest Uses

type ListCustomProtectionRulesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The value by which custom protection rules are sorted in a paginated 'List' call. If unspecified, defaults to `timeCreated`.
    SortBy ListCustomProtectionRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
    SortOrder ListCustomProtectionRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Filter custom protection rules using a list of custom protection rule OCIDs.
    Id  []string `contributesTo:"query" name:"id" collectionFormat:"multi"`

    // Filter custom protection rules using a list of display names.
    DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"`

    // Filter Custom Protection rules using a list of lifecycle states.
    LifecycleState []ListCustomProtectionRulesLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter that matches Custom Protection rules created on or after the specified date-time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // A filter that matches custom protection rules created before the specified date-time.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListCustomProtectionRulesRequest wrapper for the ListCustomProtectionRules operation

func (ListCustomProtectionRulesRequest) HTTPRequest Uses

func (request ListCustomProtectionRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListCustomProtectionRulesRequest) RetryPolicy Uses

func (request ListCustomProtectionRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListCustomProtectionRulesRequest) String Uses

func (request ListCustomProtectionRulesRequest) String() string

type ListCustomProtectionRulesResponse Uses

type ListCustomProtectionRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []CustomProtectionRuleSummary instances
    Items []CustomProtectionRuleSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListCustomProtectionRulesResponse wrapper for the ListCustomProtectionRules operation

func (ListCustomProtectionRulesResponse) HTTPResponse Uses

func (response ListCustomProtectionRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListCustomProtectionRulesResponse) String Uses

func (response ListCustomProtectionRulesResponse) String() string

type ListCustomProtectionRulesSortByEnum Uses

type ListCustomProtectionRulesSortByEnum string

ListCustomProtectionRulesSortByEnum Enum with underlying type: string

const (
    ListCustomProtectionRulesSortById                ListCustomProtectionRulesSortByEnum = "id"
    ListCustomProtectionRulesSortByCompartmentid     ListCustomProtectionRulesSortByEnum = "compartmentId"
    ListCustomProtectionRulesSortByDisplayname       ListCustomProtectionRulesSortByEnum = "displayName"
    ListCustomProtectionRulesSortByModsecurityruleid ListCustomProtectionRulesSortByEnum = "modSecurityRuleId"
    ListCustomProtectionRulesSortByTimecreated       ListCustomProtectionRulesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListCustomProtectionRulesSortByEnum

func GetListCustomProtectionRulesSortByEnumValues Uses

func GetListCustomProtectionRulesSortByEnumValues() []ListCustomProtectionRulesSortByEnum

GetListCustomProtectionRulesSortByEnumValues Enumerates the set of values for ListCustomProtectionRulesSortByEnum

type ListCustomProtectionRulesSortOrderEnum Uses

type ListCustomProtectionRulesSortOrderEnum string

ListCustomProtectionRulesSortOrderEnum Enum with underlying type: string

const (
    ListCustomProtectionRulesSortOrderAsc  ListCustomProtectionRulesSortOrderEnum = "ASC"
    ListCustomProtectionRulesSortOrderDesc ListCustomProtectionRulesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListCustomProtectionRulesSortOrderEnum

func GetListCustomProtectionRulesSortOrderEnumValues Uses

func GetListCustomProtectionRulesSortOrderEnumValues() []ListCustomProtectionRulesSortOrderEnum

GetListCustomProtectionRulesSortOrderEnumValues Enumerates the set of values for ListCustomProtectionRulesSortOrderEnum

type ListEdgeSubnetsRequest Uses

type ListEdgeSubnetsRequest struct {

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The value by which edge node subnets are sorted in a paginated 'List' call. If unspecified, defaults to `timeModified`.
    SortBy ListEdgeSubnetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
    SortOrder ListEdgeSubnetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListEdgeSubnetsRequest wrapper for the ListEdgeSubnets operation

func (ListEdgeSubnetsRequest) HTTPRequest Uses

func (request ListEdgeSubnetsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListEdgeSubnetsRequest) RetryPolicy Uses

func (request ListEdgeSubnetsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListEdgeSubnetsRequest) String Uses

func (request ListEdgeSubnetsRequest) String() string

type ListEdgeSubnetsResponse Uses

type ListEdgeSubnetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []EdgeSubnet instances
    Items []EdgeSubnet `presentIn:"body"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the `page` parameter for the subsequent `GET` request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListEdgeSubnetsResponse wrapper for the ListEdgeSubnets operation

func (ListEdgeSubnetsResponse) HTTPResponse Uses

func (response ListEdgeSubnetsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListEdgeSubnetsResponse) String Uses

func (response ListEdgeSubnetsResponse) String() string

type ListEdgeSubnetsSortByEnum Uses

type ListEdgeSubnetsSortByEnum string

ListEdgeSubnetsSortByEnum Enum with underlying type: string

const (
    ListEdgeSubnetsSortByCidr         ListEdgeSubnetsSortByEnum = "cidr"
    ListEdgeSubnetsSortByRegion       ListEdgeSubnetsSortByEnum = "region"
    ListEdgeSubnetsSortByTimemodified ListEdgeSubnetsSortByEnum = "timeModified"
)

Set of constants representing the allowable values for ListEdgeSubnetsSortByEnum

func GetListEdgeSubnetsSortByEnumValues Uses

func GetListEdgeSubnetsSortByEnumValues() []ListEdgeSubnetsSortByEnum

GetListEdgeSubnetsSortByEnumValues Enumerates the set of values for ListEdgeSubnetsSortByEnum

type ListEdgeSubnetsSortOrderEnum Uses

type ListEdgeSubnetsSortOrderEnum string

ListEdgeSubnetsSortOrderEnum Enum with underlying type: string

const (
    ListEdgeSubnetsSortOrderAsc  ListEdgeSubnetsSortOrderEnum = "ASC"
    ListEdgeSubnetsSortOrderDesc ListEdgeSubnetsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListEdgeSubnetsSortOrderEnum

func GetListEdgeSubnetsSortOrderEnumValues Uses

func GetListEdgeSubnetsSortOrderEnumValues() []ListEdgeSubnetsSortOrderEnum

GetListEdgeSubnetsSortOrderEnumValues Enumerates the set of values for ListEdgeSubnetsSortOrderEnum

type ListGoodBotsRequest Uses

type ListGoodBotsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListGoodBotsRequest wrapper for the ListGoodBots operation

func (ListGoodBotsRequest) HTTPRequest Uses

func (request ListGoodBotsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListGoodBotsRequest) RetryPolicy Uses

func (request ListGoodBotsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListGoodBotsRequest) String Uses

func (request ListGoodBotsRequest) String() string

type ListGoodBotsResponse Uses

type ListGoodBotsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []GoodBot instances
    Items []GoodBot `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListGoodBotsResponse wrapper for the ListGoodBots operation

func (ListGoodBotsResponse) HTTPResponse Uses

func (response ListGoodBotsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListGoodBotsResponse) String Uses

func (response ListGoodBotsResponse) String() string

type ListHttpRedirectsLifecycleStateEnum Uses

type ListHttpRedirectsLifecycleStateEnum string

ListHttpRedirectsLifecycleStateEnum Enum with underlying type: string

const (
    ListHttpRedirectsLifecycleStateCreating ListHttpRedirectsLifecycleStateEnum = "CREATING"
    ListHttpRedirectsLifecycleStateActive   ListHttpRedirectsLifecycleStateEnum = "ACTIVE"
    ListHttpRedirectsLifecycleStateFailed   ListHttpRedirectsLifecycleStateEnum = "FAILED"
    ListHttpRedirectsLifecycleStateUpdating ListHttpRedirectsLifecycleStateEnum = "UPDATING"
    ListHttpRedirectsLifecycleStateDeleting ListHttpRedirectsLifecycleStateEnum = "DELETING"
    ListHttpRedirectsLifecycleStateDeleted  ListHttpRedirectsLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListHttpRedirectsLifecycleStateEnum

func GetListHttpRedirectsLifecycleStateEnumValues Uses

func GetListHttpRedirectsLifecycleStateEnumValues() []ListHttpRedirectsLifecycleStateEnum

GetListHttpRedirectsLifecycleStateEnumValues Enumerates the set of values for ListHttpRedirectsLifecycleStateEnum

type ListHttpRedirectsRequest Uses

type ListHttpRedirectsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
    SortOrder ListHttpRedirectsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort the results of the List query.
    SortBy ListHttpRedirectsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Filter redirects using a list of redirect OCIDs.
    Id  []string `contributesTo:"query" name:"id" collectionFormat:"multi"`

    // Filter redirects using a display name.
    DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"`

    // Filter redirects using a list of lifecycle states.
    LifecycleState []ListHttpRedirectsLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter that matches redirects created on or after the specified date and time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // A filter that matches redirects created before the specified date-time. Default to 1 day before now.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListHttpRedirectsRequest wrapper for the ListHttpRedirects operation

func (ListHttpRedirectsRequest) HTTPRequest Uses

func (request ListHttpRedirectsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListHttpRedirectsRequest) RetryPolicy Uses

func (request ListHttpRedirectsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListHttpRedirectsRequest) String Uses

func (request ListHttpRedirectsRequest) String() string

type ListHttpRedirectsResponse Uses

type ListHttpRedirectsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []HttpRedirectSummary instances
    Items []HttpRedirectSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListHttpRedirectsResponse wrapper for the ListHttpRedirects operation

func (ListHttpRedirectsResponse) HTTPResponse Uses

func (response ListHttpRedirectsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListHttpRedirectsResponse) String Uses

func (response ListHttpRedirectsResponse) String() string

type ListHttpRedirectsSortByEnum Uses

type ListHttpRedirectsSortByEnum string

ListHttpRedirectsSortByEnum Enum with underlying type: string

const (
    ListHttpRedirectsSortById          ListHttpRedirectsSortByEnum = "id"
    ListHttpRedirectsSortByDomain      ListHttpRedirectsSortByEnum = "domain"
    ListHttpRedirectsSortByTarget      ListHttpRedirectsSortByEnum = "target"
    ListHttpRedirectsSortByDisplayname ListHttpRedirectsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListHttpRedirectsSortByEnum

func GetListHttpRedirectsSortByEnumValues Uses

func GetListHttpRedirectsSortByEnumValues() []ListHttpRedirectsSortByEnum

GetListHttpRedirectsSortByEnumValues Enumerates the set of values for ListHttpRedirectsSortByEnum

type ListHttpRedirectsSortOrderEnum Uses

type ListHttpRedirectsSortOrderEnum string

ListHttpRedirectsSortOrderEnum Enum with underlying type: string

const (
    ListHttpRedirectsSortOrderAsc  ListHttpRedirectsSortOrderEnum = "ASC"
    ListHttpRedirectsSortOrderDesc ListHttpRedirectsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListHttpRedirectsSortOrderEnum

func GetListHttpRedirectsSortOrderEnumValues Uses

func GetListHttpRedirectsSortOrderEnumValues() []ListHttpRedirectsSortOrderEnum

GetListHttpRedirectsSortOrderEnumValues Enumerates the set of values for ListHttpRedirectsSortOrderEnum

type ListProtectionRulesActionEnum Uses

type ListProtectionRulesActionEnum string

ListProtectionRulesActionEnum Enum with underlying type: string

const (
    ListProtectionRulesActionOff    ListProtectionRulesActionEnum = "OFF"
    ListProtectionRulesActionDetect ListProtectionRulesActionEnum = "DETECT"
    ListProtectionRulesActionBlock  ListProtectionRulesActionEnum = "BLOCK"
)

Set of constants representing the allowable values for ListProtectionRulesActionEnum

func GetListProtectionRulesActionEnumValues Uses

func GetListProtectionRulesActionEnumValues() []ListProtectionRulesActionEnum

GetListProtectionRulesActionEnumValues Enumerates the set of values for ListProtectionRulesActionEnum

type ListProtectionRulesRequest Uses

type ListProtectionRulesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Filter rules using a list of ModSecurity rule IDs.
    ModSecurityRuleId []string `contributesTo:"query" name:"modSecurityRuleId" collectionFormat:"multi"`

    // Filter rules using a list of actions.
    Action []ListProtectionRulesActionEnum `contributesTo:"query" name:"action" omitEmpty:"true" collectionFormat:"multi"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListProtectionRulesRequest wrapper for the ListProtectionRules operation

func (ListProtectionRulesRequest) HTTPRequest Uses

func (request ListProtectionRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProtectionRulesRequest) RetryPolicy Uses

func (request ListProtectionRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListProtectionRulesRequest) String Uses

func (request ListProtectionRulesRequest) String() string

type ListProtectionRulesResponse Uses

type ListProtectionRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ProtectionRule instances
    Items []ProtectionRule `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListProtectionRulesResponse wrapper for the ListProtectionRules operation

func (ListProtectionRulesResponse) HTTPResponse Uses

func (response ListProtectionRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListProtectionRulesResponse) String Uses

func (response ListProtectionRulesResponse) String() string

type ListRecommendationsRecommendedActionEnum Uses

type ListRecommendationsRecommendedActionEnum string

ListRecommendationsRecommendedActionEnum Enum with underlying type: string

const (
    ListRecommendationsRecommendedActionDetect ListRecommendationsRecommendedActionEnum = "DETECT"
    ListRecommendationsRecommendedActionBlock  ListRecommendationsRecommendedActionEnum = "BLOCK"
)

Set of constants representing the allowable values for ListRecommendationsRecommendedActionEnum

func GetListRecommendationsRecommendedActionEnumValues Uses

func GetListRecommendationsRecommendedActionEnumValues() []ListRecommendationsRecommendedActionEnum

GetListRecommendationsRecommendedActionEnumValues Enumerates the set of values for ListRecommendationsRecommendedActionEnum

type ListRecommendationsRequest Uses

type ListRecommendationsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A filter that matches recommended protection rules based on the selected action. If unspecified, rules with any action type are returned.
    RecommendedAction ListRecommendationsRecommendedActionEnum `mandatory:"false" contributesTo:"query" name:"recommendedAction" omitEmpty:"true"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListRecommendationsRequest wrapper for the ListRecommendations operation

func (ListRecommendationsRequest) HTTPRequest Uses

func (request ListRecommendationsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListRecommendationsRequest) RetryPolicy Uses

func (request ListRecommendationsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListRecommendationsRequest) String Uses

func (request ListRecommendationsRequest) String() string

type ListRecommendationsResponse Uses

type ListRecommendationsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []Recommendation instances
    Items []Recommendation `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListRecommendationsResponse wrapper for the ListRecommendations operation

func (ListRecommendationsResponse) HTTPResponse Uses

func (response ListRecommendationsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListRecommendationsResponse) String Uses

func (response ListRecommendationsResponse) String() string

type ListThreatFeedsRequest Uses

type ListThreatFeedsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListThreatFeedsRequest wrapper for the ListThreatFeeds operation

func (ListThreatFeedsRequest) HTTPRequest Uses

func (request ListThreatFeedsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListThreatFeedsRequest) RetryPolicy Uses

func (request ListThreatFeedsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListThreatFeedsRequest) String Uses

func (request ListThreatFeedsRequest) String() string

type ListThreatFeedsResponse Uses

type ListThreatFeedsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ThreatFeed instances
    Items []ThreatFeed `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListThreatFeedsResponse wrapper for the ListThreatFeeds operation

func (ListThreatFeedsResponse) HTTPResponse Uses

func (response ListThreatFeedsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListThreatFeedsResponse) String Uses

func (response ListThreatFeedsResponse) String() string

type ListWaasPoliciesLifecycleStateEnum Uses

type ListWaasPoliciesLifecycleStateEnum string

ListWaasPoliciesLifecycleStateEnum Enum with underlying type: string

const (
    ListWaasPoliciesLifecycleStateCreating ListWaasPoliciesLifecycleStateEnum = "CREATING"
    ListWaasPoliciesLifecycleStateActive   ListWaasPoliciesLifecycleStateEnum = "ACTIVE"
    ListWaasPoliciesLifecycleStateFailed   ListWaasPoliciesLifecycleStateEnum = "FAILED"
    ListWaasPoliciesLifecycleStateUpdating ListWaasPoliciesLifecycleStateEnum = "UPDATING"
    ListWaasPoliciesLifecycleStateDeleting ListWaasPoliciesLifecycleStateEnum = "DELETING"
    ListWaasPoliciesLifecycleStateDeleted  ListWaasPoliciesLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ListWaasPoliciesLifecycleStateEnum

func GetListWaasPoliciesLifecycleStateEnumValues Uses

func GetListWaasPoliciesLifecycleStateEnumValues() []ListWaasPoliciesLifecycleStateEnum

GetListWaasPoliciesLifecycleStateEnumValues Enumerates the set of values for ListWaasPoliciesLifecycleStateEnum

type ListWaasPoliciesRequest Uses

type ListWaasPoliciesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The value by which policies are sorted in a paginated 'List' call.  If unspecified, defaults to `timeCreated`.
    SortBy ListWaasPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
    SortOrder ListWaasPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Filter policies using a list of policy OCIDs.
    Id  []string `contributesTo:"query" name:"id" collectionFormat:"multi"`

    // Filter policies using a list of display names.
    DisplayName []string `contributesTo:"query" name:"displayName" collectionFormat:"multi"`

    // Filter policies using a list of lifecycle states.
    LifecycleState []ListWaasPoliciesLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter that matches policies created on or after the specified date and time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // A filter that matches policies created before the specified date-time.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWaasPoliciesRequest wrapper for the ListWaasPolicies operation

func (ListWaasPoliciesRequest) HTTPRequest Uses

func (request ListWaasPoliciesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWaasPoliciesRequest) RetryPolicy Uses

func (request ListWaasPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWaasPoliciesRequest) String Uses

func (request ListWaasPoliciesRequest) String() string

type ListWaasPoliciesResponse Uses

type ListWaasPoliciesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WaasPolicySummary instances
    Items []WaasPolicySummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWaasPoliciesResponse wrapper for the ListWaasPolicies operation

func (ListWaasPoliciesResponse) HTTPResponse Uses

func (response ListWaasPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWaasPoliciesResponse) String Uses

func (response ListWaasPoliciesResponse) String() string

type ListWaasPoliciesSortByEnum Uses

type ListWaasPoliciesSortByEnum string

ListWaasPoliciesSortByEnum Enum with underlying type: string

const (
    ListWaasPoliciesSortById          ListWaasPoliciesSortByEnum = "id"
    ListWaasPoliciesSortByDisplayname ListWaasPoliciesSortByEnum = "displayName"
    ListWaasPoliciesSortByTimecreated ListWaasPoliciesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListWaasPoliciesSortByEnum

func GetListWaasPoliciesSortByEnumValues Uses

func GetListWaasPoliciesSortByEnumValues() []ListWaasPoliciesSortByEnum

GetListWaasPoliciesSortByEnumValues Enumerates the set of values for ListWaasPoliciesSortByEnum

type ListWaasPoliciesSortOrderEnum Uses

type ListWaasPoliciesSortOrderEnum string

ListWaasPoliciesSortOrderEnum Enum with underlying type: string

const (
    ListWaasPoliciesSortOrderAsc  ListWaasPoliciesSortOrderEnum = "ASC"
    ListWaasPoliciesSortOrderDesc ListWaasPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWaasPoliciesSortOrderEnum

func GetListWaasPoliciesSortOrderEnumValues Uses

func GetListWaasPoliciesSortOrderEnumValues() []ListWaasPoliciesSortOrderEnum

GetListWaasPoliciesSortOrderEnumValues Enumerates the set of values for ListWaasPoliciesSortOrderEnum

type ListWaasPolicyCustomProtectionRulesActionEnum Uses

type ListWaasPolicyCustomProtectionRulesActionEnum string

ListWaasPolicyCustomProtectionRulesActionEnum Enum with underlying type: string

const (
    ListWaasPolicyCustomProtectionRulesActionDetect ListWaasPolicyCustomProtectionRulesActionEnum = "DETECT"
    ListWaasPolicyCustomProtectionRulesActionBlock  ListWaasPolicyCustomProtectionRulesActionEnum = "BLOCK"
)

Set of constants representing the allowable values for ListWaasPolicyCustomProtectionRulesActionEnum

func GetListWaasPolicyCustomProtectionRulesActionEnumValues Uses

func GetListWaasPolicyCustomProtectionRulesActionEnumValues() []ListWaasPolicyCustomProtectionRulesActionEnum

GetListWaasPolicyCustomProtectionRulesActionEnumValues Enumerates the set of values for ListWaasPolicyCustomProtectionRulesActionEnum

type ListWaasPolicyCustomProtectionRulesRequest Uses

type ListWaasPolicyCustomProtectionRulesRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Filter rules using a list of ModSecurity rule IDs.
    ModSecurityRuleId []string `contributesTo:"query" name:"modSecurityRuleId" collectionFormat:"multi"`

    // Filter rules using a list of actions.
    Action []ListWaasPolicyCustomProtectionRulesActionEnum `contributesTo:"query" name:"action" omitEmpty:"true" collectionFormat:"multi"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWaasPolicyCustomProtectionRulesRequest wrapper for the ListWaasPolicyCustomProtectionRules operation

func (ListWaasPolicyCustomProtectionRulesRequest) HTTPRequest Uses

func (request ListWaasPolicyCustomProtectionRulesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWaasPolicyCustomProtectionRulesRequest) RetryPolicy Uses

func (request ListWaasPolicyCustomProtectionRulesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWaasPolicyCustomProtectionRulesRequest) String Uses

func (request ListWaasPolicyCustomProtectionRulesRequest) String() string

type ListWaasPolicyCustomProtectionRulesResponse Uses

type ListWaasPolicyCustomProtectionRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WaasPolicyCustomProtectionRuleSummary instances
    Items []WaasPolicyCustomProtectionRuleSummary `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWaasPolicyCustomProtectionRulesResponse wrapper for the ListWaasPolicyCustomProtectionRules operation

func (ListWaasPolicyCustomProtectionRulesResponse) HTTPResponse Uses

func (response ListWaasPolicyCustomProtectionRulesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWaasPolicyCustomProtectionRulesResponse) String Uses

func (response ListWaasPolicyCustomProtectionRulesResponse) String() string

type ListWafBlockedRequestsRequest Uses

type ListWafBlockedRequestsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format. If unspecified, defaults to 30 minutes before receipt of the request.
    TimeObservedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedGreaterThanOrEqualTo"`

    // A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.
    TimeObservedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedLessThan"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Filter stats by the Web Application Firewall feature that triggered the block action. If unspecified, data for all WAF features will be returned.
    WafFeature []ListWafBlockedRequestsWafFeatureEnum `contributesTo:"query" name:"wafFeature" omitEmpty:"true" collectionFormat:"multi"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWafBlockedRequestsRequest wrapper for the ListWafBlockedRequests operation

func (ListWafBlockedRequestsRequest) HTTPRequest Uses

func (request ListWafBlockedRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWafBlockedRequestsRequest) RetryPolicy Uses

func (request ListWafBlockedRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWafBlockedRequestsRequest) String Uses

func (request ListWafBlockedRequestsRequest) String() string

type ListWafBlockedRequestsResponse Uses

type ListWafBlockedRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WafBlockedRequest instances
    Items []WafBlockedRequest `presentIn:"body"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the page parameter for the subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWafBlockedRequestsResponse wrapper for the ListWafBlockedRequests operation

func (ListWafBlockedRequestsResponse) HTTPResponse Uses

func (response ListWafBlockedRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWafBlockedRequestsResponse) String Uses

func (response ListWafBlockedRequestsResponse) String() string

type ListWafBlockedRequestsWafFeatureEnum Uses

type ListWafBlockedRequestsWafFeatureEnum string

ListWafBlockedRequestsWafFeatureEnum Enum with underlying type: string

const (
    ListWafBlockedRequestsWafFeatureProtectionRules            ListWafBlockedRequestsWafFeatureEnum = "PROTECTION_RULES"
    ListWafBlockedRequestsWafFeatureJsChallenge                ListWafBlockedRequestsWafFeatureEnum = "JS_CHALLENGE"
    ListWafBlockedRequestsWafFeatureAccessRules                ListWafBlockedRequestsWafFeatureEnum = "ACCESS_RULES"
    ListWafBlockedRequestsWafFeatureThreatFeeds                ListWafBlockedRequestsWafFeatureEnum = "THREAT_FEEDS"
    ListWafBlockedRequestsWafFeatureHumanInteractionChallenge  ListWafBlockedRequestsWafFeatureEnum = "HUMAN_INTERACTION_CHALLENGE"
    ListWafBlockedRequestsWafFeatureDeviceFingerprintChallenge ListWafBlockedRequestsWafFeatureEnum = "DEVICE_FINGERPRINT_CHALLENGE"
    ListWafBlockedRequestsWafFeatureCaptcha                    ListWafBlockedRequestsWafFeatureEnum = "CAPTCHA"
    ListWafBlockedRequestsWafFeatureAddressRateLimiting        ListWafBlockedRequestsWafFeatureEnum = "ADDRESS_RATE_LIMITING"
)

Set of constants representing the allowable values for ListWafBlockedRequestsWafFeatureEnum

func GetListWafBlockedRequestsWafFeatureEnumValues Uses

func GetListWafBlockedRequestsWafFeatureEnumValues() []ListWafBlockedRequestsWafFeatureEnum

GetListWafBlockedRequestsWafFeatureEnumValues Enumerates the set of values for ListWafBlockedRequestsWafFeatureEnum

type ListWafLogsActionEnum Uses

type ListWafLogsActionEnum string

ListWafLogsActionEnum Enum with underlying type: string

const (
    ListWafLogsActionBlock      ListWafLogsActionEnum = "BLOCK"
    ListWafLogsActionDetect     ListWafLogsActionEnum = "DETECT"
    ListWafLogsActionBypass     ListWafLogsActionEnum = "BYPASS"
    ListWafLogsActionLog        ListWafLogsActionEnum = "LOG"
    ListWafLogsActionRedirected ListWafLogsActionEnum = "REDIRECTED"
)

Set of constants representing the allowable values for ListWafLogsActionEnum

func GetListWafLogsActionEnumValues Uses

func GetListWafLogsActionEnumValues() []ListWafLogsActionEnum

GetListWafLogsActionEnumValues Enumerates the set of values for ListWafLogsActionEnum

type ListWafLogsHttpMethodEnum Uses

type ListWafLogsHttpMethodEnum string

ListWafLogsHttpMethodEnum Enum with underlying type: string

const (
    ListWafLogsHttpMethodOptions ListWafLogsHttpMethodEnum = "OPTIONS"
    ListWafLogsHttpMethodGet     ListWafLogsHttpMethodEnum = "GET"
    ListWafLogsHttpMethodHead    ListWafLogsHttpMethodEnum = "HEAD"
    ListWafLogsHttpMethodPost    ListWafLogsHttpMethodEnum = "POST"
    ListWafLogsHttpMethodPut     ListWafLogsHttpMethodEnum = "PUT"
    ListWafLogsHttpMethodDelete  ListWafLogsHttpMethodEnum = "DELETE"
    ListWafLogsHttpMethodTrace   ListWafLogsHttpMethodEnum = "TRACE"
    ListWafLogsHttpMethodConnect ListWafLogsHttpMethodEnum = "CONNECT"
)

Set of constants representing the allowable values for ListWafLogsHttpMethodEnum

func GetListWafLogsHttpMethodEnumValues Uses

func GetListWafLogsHttpMethodEnumValues() []ListWafLogsHttpMethodEnum

GetListWafLogsHttpMethodEnumValues Enumerates the set of values for ListWafLogsHttpMethodEnum

type ListWafLogsLogTypeEnum Uses

type ListWafLogsLogTypeEnum string

ListWafLogsLogTypeEnum Enum with underlying type: string

const (
    ListWafLogsLogTypeAccess                     ListWafLogsLogTypeEnum = "ACCESS"
    ListWafLogsLogTypeProtectionRules            ListWafLogsLogTypeEnum = "PROTECTION_RULES"
    ListWafLogsLogTypeJsChallenge                ListWafLogsLogTypeEnum = "JS_CHALLENGE"
    ListWafLogsLogTypeCaptcha                    ListWafLogsLogTypeEnum = "CAPTCHA"
    ListWafLogsLogTypeAccessRules                ListWafLogsLogTypeEnum = "ACCESS_RULES"
    ListWafLogsLogTypeThreatFeeds                ListWafLogsLogTypeEnum = "THREAT_FEEDS"
    ListWafLogsLogTypeHumanInteractionChallenge  ListWafLogsLogTypeEnum = "HUMAN_INTERACTION_CHALLENGE"
    ListWafLogsLogTypeDeviceFingerprintChallenge ListWafLogsLogTypeEnum = "DEVICE_FINGERPRINT_CHALLENGE"
    ListWafLogsLogTypeAddressRateLimiting        ListWafLogsLogTypeEnum = "ADDRESS_RATE_LIMITING"
)

Set of constants representing the allowable values for ListWafLogsLogTypeEnum

func GetListWafLogsLogTypeEnumValues Uses

func GetListWafLogsLogTypeEnumValues() []ListWafLogsLogTypeEnum

GetListWafLogsLogTypeEnumValues Enumerates the set of values for ListWafLogsLogTypeEnum

type ListWafLogsRequest Uses

type ListWafLogsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `20`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // A filter that matches log entries where the observed event occurred on or after a date and time specified in RFC 3339 format. If unspecified, defaults to two hours before receipt of the request.
    TimeObservedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedGreaterThanOrEqualTo"`

    // A filter that matches log entries where the observed event occurred before a date and time, specified in RFC 3339 format.
    TimeObservedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedLessThan"`

    // A full text search for logs.
    TextContains *string `mandatory:"false" contributesTo:"query" name:"textContains"`

    // Filters logs by access rule key.
    AccessRuleKey []string `contributesTo:"query" name:"accessRuleKey" collectionFormat:"multi"`

    // Filters logs by Web Application Firewall action.
    Action []ListWafLogsActionEnum `contributesTo:"query" name:"action" omitEmpty:"true" collectionFormat:"multi"`

    // Filters logs by client IP address.
    ClientAddress []string `contributesTo:"query" name:"clientAddress" collectionFormat:"multi"`

    // Filters logs by country code. Country codes are in ISO 3166-1 alpha-2 format. For a list of codes, see ISO's website (https://www.iso.org/obp/ui/#search/code/).
    CountryCode []string `contributesTo:"query" name:"countryCode" collectionFormat:"multi"`

    // Filter logs by country name.
    CountryName []string `contributesTo:"query" name:"countryName" collectionFormat:"multi"`

    // Filter logs by device fingerprint.
    Fingerprint []string `contributesTo:"query" name:"fingerprint" collectionFormat:"multi"`

    // Filter logs by HTTP method.
    HttpMethod []ListWafLogsHttpMethodEnum `contributesTo:"query" name:"httpMethod" omitEmpty:"true" collectionFormat:"multi"`

    // Filter logs by incident key.
    IncidentKey []string `contributesTo:"query" name:"incidentKey" collectionFormat:"multi"`

    // Filter by log type. For more information about WAF logs, see Logs (https://docs.cloud.oracle.com/iaas/Content/WAF/Tasks/logs.htm).
    LogType []ListWafLogsLogTypeEnum `contributesTo:"query" name:"logType" omitEmpty:"true" collectionFormat:"multi"`

    // Filter by origin IP address.
    OriginAddress []string `contributesTo:"query" name:"originAddress" collectionFormat:"multi"`

    // Filter by referrer.
    Referrer []string `contributesTo:"query" name:"referrer" collectionFormat:"multi"`

    // Filter by request URL.
    RequestUrl []string `contributesTo:"query" name:"requestUrl" collectionFormat:"multi"`

    // Filter by response code.
    ResponseCode []int `contributesTo:"query" name:"responseCode" collectionFormat:"multi"`

    // Filter by threat feed key.
    ThreatFeedKey []string `contributesTo:"query" name:"threatFeedKey" collectionFormat:"multi"`

    // Filter by user agent.
    UserAgent []string `contributesTo:"query" name:"userAgent" collectionFormat:"multi"`

    // Filter by protection rule key.
    ProtectionRuleKey []string `contributesTo:"query" name:"protectionRuleKey" collectionFormat:"multi"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWafLogsRequest wrapper for the ListWafLogs operation

func (ListWafLogsRequest) HTTPRequest Uses

func (request ListWafLogsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWafLogsRequest) RetryPolicy Uses

func (request ListWafLogsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWafLogsRequest) String Uses

func (request ListWafLogsRequest) String() string

type ListWafLogsResponse Uses

type ListWafLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WafLog instances
    Items []WafLog `presentIn:"body"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWafLogsResponse wrapper for the ListWafLogs operation

func (ListWafLogsResponse) HTTPResponse Uses

func (response ListWafLogsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWafLogsResponse) String Uses

func (response ListWafLogsResponse) String() string

type ListWafRequestsRequest Uses

type ListWafRequestsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format. If unspecified, defaults to 30 minutes before receipt of the request.
    TimeObservedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedGreaterThanOrEqualTo"`

    // A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.
    TimeObservedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedLessThan"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWafRequestsRequest wrapper for the ListWafRequests operation

func (ListWafRequestsRequest) HTTPRequest Uses

func (request ListWafRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWafRequestsRequest) RetryPolicy Uses

func (request ListWafRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWafRequestsRequest) String Uses

func (request ListWafRequestsRequest) String() string

type ListWafRequestsResponse Uses

type ListWafRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WafRequest instances
    Items []WafRequest `presentIn:"body"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the page parameter for the subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWafRequestsResponse wrapper for the ListWafRequests operation

func (ListWafRequestsResponse) HTTPResponse Uses

func (response ListWafRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWafRequestsResponse) String Uses

func (response ListWafRequestsResponse) String() string

type ListWafTrafficRequest Uses

type ListWafTrafficRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A filter that limits returned events to those occurring on or after a date and time, specified in RFC 3339 format. If unspecified, defaults to 30 minutes before receipt of the request.
    TimeObservedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedGreaterThanOrEqualTo"`

    // A filter that limits returned events to those occurring before a date and time, specified in RFC 3339 format.
    TimeObservedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeObservedLessThan"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWafTrafficRequest wrapper for the ListWafTraffic operation

func (ListWafTrafficRequest) HTTPRequest Uses

func (request ListWafTrafficRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWafTrafficRequest) RetryPolicy Uses

func (request ListWafTrafficRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWafTrafficRequest) String Uses

func (request ListWafTrafficRequest) String() string

type ListWafTrafficResponse Uses

type ListWafTrafficResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WafTrafficDatum instances
    Items []WafTrafficDatum `presentIn:"body"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For pagination of a list of items. When paging through a list, if this header appears in the response, then a partial list might have been returned. Include this value as the page parameter for the subsequent GET request to get the next batch of items.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWafTrafficResponse wrapper for the ListWafTraffic operation

func (ListWafTrafficResponse) HTTPResponse Uses

func (response ListWafTrafficResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWafTrafficResponse) String Uses

func (response ListWafTrafficResponse) String() string

type ListWhitelistsRequest Uses

type ListWhitelistsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WAAS policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"path" name:"waasPolicyId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWhitelistsRequest wrapper for the ListWhitelists operation

func (ListWhitelistsRequest) HTTPRequest Uses

func (request ListWhitelistsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWhitelistsRequest) RetryPolicy Uses

func (request ListWhitelistsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWhitelistsRequest) String Uses

func (request ListWhitelistsRequest) String() string

type ListWhitelistsResponse Uses

type ListWhitelistsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []Whitelist instances
    Items []Whitelist `presentIn:"body"`

    // For optimistic concurrency control. See `if-match`.
    Etag *string `presentIn:"header" name:"etag"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

ListWhitelistsResponse wrapper for the ListWhitelists operation

func (ListWhitelistsResponse) HTTPResponse Uses

func (response ListWhitelistsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWhitelistsResponse) String Uses

func (response ListWhitelistsResponse) String() string

type ListWorkRequestsRequest Uses

type ListWorkRequestsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the policy.
    WaasPolicyId *string `mandatory:"true" contributesTo:"query" name:"waasPolicyId"`

    // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This number is generated when the compartment is created.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a paginated call. If unspecified, defaults to `10`.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous paginated call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The value by which work requests are sorted in a paginated 'List' call. If unspecified, defaults to `timeAccepted`.
    SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The value of the sorting direction of resources in a paginated 'List' call. If unspecified, defaults to `DESC`.
    SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

func (ListWorkRequestsRequest) HTTPRequest Uses

func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy Uses

func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListWorkRequestsRequest) String Uses

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse Uses

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []WorkRequestSummary instances
    Items []WorkRequestSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages of results may remain. For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // A unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse Uses

func (response ListWorkRequestsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String Uses

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum Uses

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
    ListWorkRequestsSortById            ListWorkRequestsSortByEnum = "id"
    ListWorkRequestsSortByStatus        ListWorkRequestsSortByEnum = "status"
    ListWorkRequestsSortByTimeaccepted  ListWorkRequestsSortByEnum = "timeAccepted"
    ListWorkRequestsSortByTimestarted   ListWorkRequestsSortByEnum = "timeStarted"
    ListWorkRequestsSortByTimefinished  ListWorkRequestsSortByEnum = "timeFinished"
    ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues Uses

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

type ListWorkRequestsSortOrderEnum Uses

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
    ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
    ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues Uses

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

type LoadBalancingMethod Uses

type LoadBalancingMethod interface {
}

LoadBalancingMethod The representation of LoadBalancingMethod

type LoadBalancingMethodMethodEnum Uses

type LoadBalancingMethodMethodEnum string

LoadBalancingMethodMethodEnum Enum with underlying type: string

const (
    LoadBalancingMethodMethodIpHash       LoadBalancingMethodMethodEnum = "IP_HASH"
    LoadBalancingMethodMethodRoundRobin   LoadBalancingMethodMethodEnum = "ROUND_ROBIN"
    LoadBalancingMethodMethodStickyCookie LoadBalancingMethodMethodEnum = "STICKY_COOKIE"
)

Set of constants representing the allowable values for LoadBalancingMethodMethodEnum

func GetLoadBalancingMethodMethodEnumValues Uses

func GetLoadBalancingMethodMethodEnumValues() []LoadBalancingMethodMethodEnum

GetLoadBalancingMethodMethodEnumValues Enumerates the set of values for LoadBalancingMethodMethodEnum

type Origin Uses

type Origin struct {

    // The URI of the origin. Does not support paths. Port numbers should be specified in the `httpPort` and `httpsPort` fields.
    Uri *string `mandatory:"true" json:"uri"`

    // The HTTP port on the origin that the web application listens on. If unspecified, defaults to `80`.
    HttpPort *int `mandatory:"false" json:"httpPort"`

    // The HTTPS port on the origin that the web application listens on. If unspecified, defaults to `443`.
    HttpsPort *int `mandatory:"false" json:"httpsPort"`

    // A list of HTTP headers to forward to your origin.
    CustomHeaders []Header `mandatory:"false" json:"customHeaders"`
}

Origin A detailed description of your web application's origin host server. An origin must be defined to set up WAF rules.

func (Origin) String Uses

func (m Origin) String() string

type OriginGroup Uses

type OriginGroup struct {

    // The list of objects containing origin references and additional properties.
    Origins []OriginGroupOrigins `mandatory:"false" json:"origins"`
}

OriginGroup The representation of OriginGroup

func (OriginGroup) String Uses

func (m OriginGroup) String() string

type OriginGroupOrigins Uses

type OriginGroupOrigins struct {

    // The IP address or CIDR notation of the origin server.
    Origin *string `mandatory:"false" json:"origin"`

    // The weight of the origin used in load balancing. Origins with higher weights will receive larger proportions of client requests.
    Weight *int `mandatory:"false" json:"weight"`
}

OriginGroupOrigins The representation of OriginGroupOrigins

func (OriginGroupOrigins) String Uses

func (m OriginGroupOrigins) String() string

type PolicyConfig Uses

type PolicyConfig struct {

    // The OCID of the SSL certificate to use if HTTPS is supported.
    CertificateId *string `mandatory:"false" json:"certificateId"`

    // Enable or disable HTTPS support. If true, a `certificateId` is required. If unspecified, defaults to `false`.
    IsHttpsEnabled *bool `mandatory:"false" json:"isHttpsEnabled"`

    // Force HTTP to HTTPS redirection. If unspecified, defaults to `false`.
    IsHttpsForced *bool `mandatory:"false" json:"isHttpsForced"`

    // A list of allowed TLS protocols. Only applicable when HTTPS support is enabled.
    // The TLS protocol is negotiated while the request is connecting and the most recent protocol supported by both the edge node and client browser will be selected. If no such version exists, the connection will be aborted.
    // - **TLS_V1:** corresponds to TLS 1.0 specification.
    // - **TLS_V1_1:** corresponds to TLS 1.1 specification.
    // - **TLS_V1_2:** corresponds to TLS 1.2 specification.
    // - **TLS_V1_3:** corresponds to TLS 1.3 specification.
    // Enabled TLS protocols must go in a row. For example if `TLS_v1_1` and `TLS_V1_3` are enabled, `TLS_V1_2` must be enabled too.
    TlsProtocols []PolicyConfigTlsProtocolsEnum `mandatory:"false" json:"tlsProtocols,omitempty"`

    // Enable or disable GZIP compression of origin responses. If enabled, the header `Accept-Encoding: gzip` is sent to origin, otherwise, the empty `Accept-Encoding:` header is used.
    IsOriginCompressionEnabled *bool `mandatory:"false" json:"isOriginCompressionEnabled"`

    // Enabling `isBehindCdn` allows for the collection of IP addresses from client requests if the WAF is connected to a CDN.
    IsBehindCdn *bool `mandatory:"false" json:"isBehindCdn"`

    // Specifies an HTTP header name which is treated as the connecting client's IP address. Applicable only if `isBehindCdn` is enabled.
    // The edge node reads this header and its value and sets the client IP address as specified. It does not create the header if the header is not present in the request. If the header is not present, the connecting IP address will be used as the client's true IP address. It uses the last IP address in the header's value as the true IP address.
    // Example: `X-Client-Ip: 11.1.1.1, 13.3.3.3`
    // In the case of multiple headers with the same name, only the first header will be used. It is assumed that CDN sets the correct client IP address to prevent spoofing.
    // - **X_FORWARDED_FOR:** Corresponds to `X-Forwarded-For` header name.
    // - **X_CLIENT_IP:** Corresponds to `X-Client-Ip` header name.
    // - **X_REAL_IP:** Corresponds to `X-Real-Ip` header name.
    // - **CLIENT_IP:** Corresponds to `Client-Ip` header name.
    // - **TRUE_CLIENT_IP:** Corresponds to `True-Client-Ip` header name.
    ClientAddressHeader PolicyConfigClientAddressHeaderEnum `mandatory:"false" json:"clientAddressHeader,omitempty"`

    // Enable or disable automatic content caching based on the response `cache-control` header. This feature enables the origin to act as a proxy cache. Caching is usually defined using `cache-control` header. For example `cache-control: max-age=120` means that the returned resource is valid for 120 seconds. Caching rules will overwrite this setting.
    IsCacheControlRespected *bool `mandatory:"false" json:"isCacheControlRespected"`

    // Enable or disable buffering of responses from the origin. Buffering improves overall stability in case of network issues, but slightly increases Time To First Byte.
    IsResponseBufferingEnabled *bool `mandatory:"false" json:"isResponseBufferingEnabled"`

    // The set cipher group for the configured TLS protocol. This sets the configuration for the TLS connections between clients and edge nodes only.
    // - **DEFAULT:** Cipher group supports TLS 1.0, TLS 1.1, TLS 1.2, TLS 1.3 protocols. It has the following ciphers enabled: `ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:!DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA`
    CipherGroup PolicyConfigCipherGroupEnum `mandatory:"false" json:"cipherGroup,omitempty"`

    // An object that represents a load balancing method and its properties.
    LoadBalancingMethod LoadBalancingMethod `mandatory:"false" json:"loadBalancingMethod"`

    // ModSecurity is not capable to inspect WebSockets. Therefore paths specified here have WAF disabled if Connection request header from the client has the value Upgrade (case insensitive matching) and Upgrade request header has the value websocket (case insensitive matching). Paths matches if the concatenation of request URL path and query starts with the contents of the one of `websocketPathPrefixes` array value. In All other cases challenges, like JSC, HIC and etc., remain active.
    WebsocketPathPrefixes []string `mandatory:"false" json:"websocketPathPrefixes"`

    // SNI stands for Server Name Indication and is an extension of the TLS protocol. It indicates which hostname is being contacted by the browser at the beginning of the 'handshake'-process. This allows a server to connect multiple SSL Certificates to one IP address and port.
    IsSniEnabled *bool `mandatory:"false" json:"isSniEnabled"`

    HealthChecks *HealthCheck `mandatory:"false" json:"healthChecks"`
}

PolicyConfig The configuration details for the WAAS policy.

func (PolicyConfig) String Uses

func (m PolicyConfig) String() string

func (*PolicyConfig) UnmarshalJSON Uses

func (m *PolicyConfig) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type PolicyConfigCipherGroupEnum Uses

type PolicyConfigCipherGroupEnum string

PolicyConfigCipherGroupEnum Enum with underlying type: string

const (
    PolicyConfigCipherGroupDefault PolicyConfigCipherGroupEnum = "DEFAULT"
)

Set of constants representing the allowable values for PolicyConfigCipherGroupEnum

func GetPolicyConfigCipherGroupEnumValues Uses

func GetPolicyConfigCipherGroupEnumValues() []PolicyConfigCipherGroupEnum

GetPolicyConfigCipherGroupEnumValues Enumerates the set of values for PolicyConfigCipherGroupEnum

type PolicyConfigClientAddressHeaderEnum Uses

type PolicyConfigClientAddressHeaderEnum string

PolicyConfigClientAddressHeaderEnum Enum with underlying type: string

const (
    PolicyConfigClientAddressHeaderXForwardedFor PolicyConfigClientAddressHeaderEnum = "X_FORWARDED_FOR"
    PolicyConfigClientAddressHeaderXClientIp     PolicyConfigClientAddressHeaderEnum = "X_CLIENT_IP"
    PolicyConfigClientAddressHeaderXRealIp       PolicyConfigClientAddressHeaderEnum = "X_REAL_IP"
    PolicyConfigClientAddressHeaderClientIp      PolicyConfigClientAddressHeaderEnum = "CLIENT_IP"
    PolicyConfigClientAddressHeaderTrueClientIp  PolicyConfigClientAddressHeaderEnum = "TRUE_CLIENT_IP"
)

Set of constants representing the allowable values for PolicyConfigClientAddressHeaderEnum

func GetPolicyConfigClientAddressHeaderEnumValues Uses

func GetPolicyConfigClientAddressHeaderEnumValues() []PolicyConfigClientAddressHeaderEnum

GetPolicyConfigClientAddressHeaderEnumValues Enumerates the set of values for PolicyConfigClientAddressHeaderEnum

type PolicyConfigTlsProtocolsEnum Uses

type PolicyConfigTlsProtocolsEnum string

PolicyConfigTlsProtocolsEnum Enum with underlying type: string

const (
    PolicyConfigTlsProtocolsV1  PolicyConfigTlsProtocolsEnum = "TLS_V1"
    PolicyConfigTlsProtocolsV11 PolicyConfigTlsProtocolsEnum = "TLS_V1_1"
    PolicyConfigTlsProtocolsV12 PolicyConfigTlsProtocolsEnum = "TLS_V1_2"
    PolicyConfigTlsProtocolsV13 PolicyConfigTlsProtocolsEnum = "TLS_V1_3"
)

Set of constants representing the allowable values for PolicyConfigTlsProtocolsEnum

func GetPolicyConfigTlsProtocolsEnumValues Uses

func GetPolicyConfigTlsProtocolsEnumValues() []PolicyConfigTlsProtocolsEnum

GetPolicyConfigTlsProtocolsEnumValues Enumerates the set of values for PolicyConfigTlsProtocolsEnum

type ProtectionRule Uses

type ProtectionRule struct {

    // The unique key of the protection rule.
    Key *string `mandatory:"false" json:"key"`

    // The list of the ModSecurity rule IDs that apply to this protection rule. For more information about ModSecurity's open source WAF rules, see Mod Security's documentation (https://www.modsecurity.org/CRS/Documentation/index.html).
    ModSecurityRuleIds []string `mandatory:"false" json:"modSecurityRuleIds"`

    // The name of the protection rule.
    Name *string `mandatory:"false" json:"name"`

    // The description of the protection rule.
    Description *string `mandatory:"false" json:"description"`

    // The action to take when the traffic is detected as malicious. If unspecified, defaults to `OFF`.
    Action ProtectionRuleActionEnum `mandatory:"false" json:"action,omitempty"`

    // The list of labels for the protection rule.
    // **Note:** Protection rules with a `ResponseBody` label will have no effect unless `isResponseInspected` is true.
    Labels []string `mandatory:"false" json:"labels"`

    Exclusions []ProtectionRuleExclusion `mandatory:"false" json:"exclusions"`
}

ProtectionRule The protection rule settings. Protection rules can allow, block, or trigger an alert if a request meets the parameters of an applied rule.

func (ProtectionRule) String Uses

func (m ProtectionRule) String() string

type ProtectionRuleAction Uses

type ProtectionRuleAction struct {

    // The unique key of the protection rule.
    Key *string `mandatory:"true" json:"key"`

    // The action to apply to the protection rule. If unspecified, defaults to `OFF`.
    Action ProtectionRuleActionActionEnum `mandatory:"true" json:"action"`

    // The types of requests excluded from the protection rule action. If the requests matches the criteria in the `exclusions`, the protection rule action will not be executed.
    Exclusions []ProtectionRuleExclusion `mandatory:"false" json:"exclusions"`
}

ProtectionRuleAction A protection rule key and the associated action to apply to that rule.

func (ProtectionRuleAction) String Uses

func (m ProtectionRuleAction) String() string

type ProtectionRuleActionActionEnum Uses

type ProtectionRuleActionActionEnum string

ProtectionRuleActionActionEnum Enum with underlying type: string

const (
    ProtectionRuleActionActionOff    ProtectionRuleActionActionEnum = "OFF"
    ProtectionRuleActionActionDetect ProtectionRuleActionActionEnum = "DETECT"
    ProtectionRuleActionActionBlock  ProtectionRuleActionActionEnum = "BLOCK"
)

Set of constants representing the allowable values for ProtectionRuleActionActionEnum

func GetProtectionRuleActionActionEnumValues Uses

func GetProtectionRuleActionActionEnumValues() []ProtectionRuleActionActionEnum

GetProtectionRuleActionActionEnumValues Enumerates the set of values for ProtectionRuleActionActionEnum

type ProtectionRuleActionEnum Uses

type ProtectionRuleActionEnum string

ProtectionRuleActionEnum Enum with underlying type: string

const (
    ProtectionRuleActionOff    ProtectionRuleActionEnum = "OFF"
    ProtectionRuleActionDetect ProtectionRuleActionEnum = "DETECT"
    ProtectionRuleActionBlock  ProtectionRuleActionEnum = "BLOCK"
)

Set of constants representing the allowable values for ProtectionRuleActionEnum

func GetProtectionRuleActionEnumValues Uses

func GetProtectionRuleActionEnumValues() []ProtectionRuleActionEnum

GetProtectionRuleActionEnumValues Enumerates the set of values for ProtectionRuleActionEnum

type ProtectionRuleExclusion Uses

type ProtectionRuleExclusion struct {

    // The target of the exclusion.
    Target ProtectionRuleExclusionTargetEnum `mandatory:"false" json:"target,omitempty"`

    Exclusions []string `mandatory:"false" json:"exclusions"`
}

ProtectionRuleExclusion Allows specified types of requests to bypass the protection rule. If a request matches any of the criteria in the `exclusions` field, the protection rule will not be executed. Rules can have more than one exclusion and exclusions are applied to requests disjunctively, meaning the specified exclusion strings are independently matched against the specified targets of a request. The first target to match a specified string will trigger an exclusion. **Example:** If the following exclusions are defined for a protection rule:

"action": "BLOCK",
"exclusions": [
    {
        "target":"REQUEST_COOKIES",
        "exclusions":["example.com", "12345", "219ffwef9w0f"]
    },
    {
        "target":"REQUEST_COOKIE_NAMES",
        "exclusions":["OAMAuthnCookie", "JSESSIONID", "HCM-PSJSESSIONID"]
    }
],
"key": "1000000",

A request with the cookie name `sessionid` would trigger an exclusion. A request with the cookie name `yourcompany.com` would *not* trigger and exclusion.

func (ProtectionRuleExclusion) String Uses

func (m ProtectionRuleExclusion) String() string

type ProtectionRuleExclusionTargetEnum Uses

type ProtectionRuleExclusionTargetEnum string

ProtectionRuleExclusionTargetEnum Enum with underlying type: string

const (
    ProtectionRuleExclusionTargetRequestCookies     ProtectionRuleExclusionTargetEnum = "REQUEST_COOKIES"
    ProtectionRuleExclusionTargetRequestCookieNames ProtectionRuleExclusionTargetEnum = "REQUEST_COOKIE_NAMES"
    ProtectionRuleExclusionTargetArgs               ProtectionRuleExclusionTargetEnum = "ARGS"
    ProtectionRuleExclusionTargetArgsNames          ProtectionRuleExclusionTargetEnum = "ARGS_NAMES"
)

Set of constants representing the allowable values for ProtectionRuleExclusionTargetEnum

func GetProtectionRuleExclusionTargetEnumValues Uses

func GetProtectionRuleExclusionTargetEnumValues() []ProtectionRuleExclusionTargetEnum

GetProtectionRuleExclusionTargetEnumValues Enumerates the set of values for ProtectionRuleExclusionTargetEnum

type ProtectionSettings Uses

type ProtectionSettings struct {

    // If `action` is set to `BLOCK`, this specifies how the traffic is blocked when detected as malicious by a protection rule. If unspecified, defaults to `SET_RESPONSE_CODE`.
    BlockAction ProtectionSettingsBlockActionEnum `mandatory:"false" json:"blockAction,omitempty"`

    // The response code returned when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE`, and the traffic is detected as malicious by a protection rule. If unspecified, defaults to `403`. The list of available response codes: `400`, `401`, `403`, `405`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `500`, `501`, `502`, `503`, `504`, `507`.
    BlockResponseCode *int `mandatory:"false" json:"blockResponseCode"`

    // The message to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the traffic is detected as malicious by a protection rule. If unspecified, defaults to 'Access to the website is blocked.'
    BlockErrorPageMessage *string `mandatory:"false" json:"blockErrorPageMessage"`

    // The error code to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the traffic is detected as malicious by a protection rule. If unspecified, defaults to `403`.
    BlockErrorPageCode *string `mandatory:"false" json:"blockErrorPageCode"`

    // The description text to show on the error page when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_ERROR_PAGE`, and the traffic is detected as malicious by a protection rule. If unspecified, defaults to `Access blocked by website owner. Please contact support.`
    BlockErrorPageDescription *string `mandatory:"false" json:"blockErrorPageDescription"`

    // The maximum number of arguments allowed to be passed to your application before an action is taken. Arguements are query parameters or body parameters in a PUT or POST request. If unspecified, defaults to `255`. This setting only applies if a corresponding protection rule is enabled, such as the "Number of Arguments Limits" rule (key: 960335).
    // Example: If `maxArgumentCount` to `2` for the Max Number of Arguments protection rule (key: 960335), the following requests would be blocked:
    // `GET /myapp/path?query=one&query=two&query=three`
    // `POST /myapp/path` with Body `{"argument1":"one","argument2":"two","argument3":"three"}`
    MaxArgumentCount *int `mandatory:"false" json:"maxArgumentCount"`

    // The maximum length allowed for each argument name, in characters. Arguements are query parameters or body parameters in a PUT or POST request. If unspecified, defaults to `400`. This setting only applies if a corresponding protection rule is enabled, such as the "Values Limits" rule (key: 960208).
    MaxNameLengthPerArgument *int `mandatory:"false" json:"maxNameLengthPerArgument"`

    // The maximum length allowed for the sum of the argument name and value, in characters. Arguements are query parameters or body parameters in a PUT or POST request. If unspecified, defaults to `64000`. This setting only applies if a corresponding protection rule is enabled, such as the "Total Arguments Limits" rule (key: 960341).
    MaxTotalNameLengthOfArguments *int `mandatory:"false" json:"maxTotalNameLengthOfArguments"`

    // The length of time to analyze traffic traffic, in days. After the analysis period, `WafRecommendations` will be populated. If unspecified, defaults to `10`.
    // Use `GET /waasPolicies/{waasPolicyId}/wafRecommendations` to view WAF recommendations.
    RecommendationsPeriodInDays *int `mandatory:"false" json:"recommendationsPeriodInDays"`

    // Inspects the response body of origin responses. Can be used to detect leakage of sensitive data. If unspecified, defaults to `false`.
    // **Note:** Only origin responses with a Content-Type matching a value in `mediaTypes` will be inspected.
    IsResponseInspected *bool `mandatory:"false" json:"isResponseInspected"`

    // The maximum response size to be fully inspected, in binary kilobytes (KiB). Anything over this limit will be partially inspected. If unspecified, defaults to `1024`.
    MaxResponseSizeInKiB *int `mandatory:"false" json:"maxResponseSizeInKiB"`

    // The list of allowed HTTP methods. If unspecified, default to `[OPTIONS, GET, HEAD, POST]`. This setting only applies if a corresponding protection rule is enabled, such