...

Package waf

import "github.com/oracle/oci-go-sdk/waf"
Overview
Index

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetBackendTypeEnumStringValues() []string
func GetCreateNetworkAddressListDetailsTypeEnumStringValues() []string
func GetHttpResponseBodyTypeEnumStringValues() []string
func GetListNetworkAddressListsSortByEnumStringValues() []string
func GetListNetworkAddressListsSortOrderEnumStringValues() []string
func GetListProtectionCapabilitiesSortByEnumStringValues() []string
func GetListProtectionCapabilitiesSortOrderEnumStringValues() []string
func GetListProtectionCapabilityGroupTagsSortByEnumStringValues() []string
func GetListProtectionCapabilityGroupTagsSortOrderEnumStringValues() []string
func GetListWebAppFirewallPoliciesSortByEnumStringValues() []string
func GetListWebAppFirewallPoliciesSortOrderEnumStringValues() []string
func GetListWebAppFirewallsSortByEnumStringValues() []string
func GetListWebAppFirewallsSortOrderEnumStringValues() []string
func GetNetworkAddressListLifecycleStateEnumStringValues() []string
func GetNetworkAddressListSummaryTypeEnumStringValues() []string
func GetNetworkAddressListTypeEnumStringValues() []string
func GetProtectionCapabilitySummaryTypeEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetUpdateNetworkAddressListDetailsTypeEnumStringValues() []string
func GetWebAppFirewallLifecycleStateEnumStringValues() []string
func GetWebAppFirewallPolicyLifecycleStateEnumStringValues() []string
func GetWebAppFirewallPolicyRuleConditionLanguageEnumStringValues() []string
func GetWebAppFirewallPolicyRuleTypeEnumStringValues() []string
func GetWorkRequestOperationTypeEnumStringValues() []string
func GetWorkRequestResourceActionTypeEnumStringValues() []string
func GetWorkRequestStatusEnumStringValues() []string
type AccessControlRule
    func (m AccessControlRule) GetActionName() *string
    func (m AccessControlRule) GetCondition() *string
    func (m AccessControlRule) GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum
    func (m AccessControlRule) GetName() *string
    func (m AccessControlRule) MarshalJSON() (buff []byte, e error)
    func (m AccessControlRule) String() string
    func (m AccessControlRule) ValidateEnumValue() (bool, error)
type Action
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type AllowAction
    func (m AllowAction) GetName() *string
    func (m AllowAction) MarshalJSON() (buff []byte, e error)
    func (m AllowAction) String() string
    func (m AllowAction) ValidateEnumValue() (bool, error)
type BackendTypeEnum
    func GetBackendTypeEnumValues() []BackendTypeEnum
    func GetMappingBackendTypeEnum(val string) (BackendTypeEnum, bool)
type ChangeNetworkAddressListCompartmentDetails
    func (m ChangeNetworkAddressListCompartmentDetails) String() string
    func (m ChangeNetworkAddressListCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeNetworkAddressListCompartmentRequest
    func (request ChangeNetworkAddressListCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeNetworkAddressListCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeNetworkAddressListCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeNetworkAddressListCompartmentRequest) String() string
    func (request ChangeNetworkAddressListCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeNetworkAddressListCompartmentResponse
    func (response ChangeNetworkAddressListCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeNetworkAddressListCompartmentResponse) String() string
type ChangeResourceCompartmentDetails
    func (m ChangeResourceCompartmentDetails) String() string
    func (m ChangeResourceCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeWebAppFirewallCompartmentDetails
    func (m ChangeWebAppFirewallCompartmentDetails) String() string
    func (m ChangeWebAppFirewallCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeWebAppFirewallCompartmentRequest
    func (request ChangeWebAppFirewallCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeWebAppFirewallCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeWebAppFirewallCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeWebAppFirewallCompartmentRequest) String() string
    func (request ChangeWebAppFirewallCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeWebAppFirewallCompartmentResponse
    func (response ChangeWebAppFirewallCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeWebAppFirewallCompartmentResponse) String() string
type ChangeWebAppFirewallPolicyCompartmentDetails
    func (m ChangeWebAppFirewallPolicyCompartmentDetails) String() string
    func (m ChangeWebAppFirewallPolicyCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeWebAppFirewallPolicyCompartmentRequest
    func (request ChangeWebAppFirewallPolicyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeWebAppFirewallPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeWebAppFirewallPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeWebAppFirewallPolicyCompartmentRequest) String() string
    func (request ChangeWebAppFirewallPolicyCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeWebAppFirewallPolicyCompartmentResponse
    func (response ChangeWebAppFirewallPolicyCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeWebAppFirewallPolicyCompartmentResponse) String() string
type CheckAction
    func (m CheckAction) GetName() *string
    func (m CheckAction) MarshalJSON() (buff []byte, e error)
    func (m CheckAction) String() string
    func (m CheckAction) ValidateEnumValue() (bool, error)
type CollaborativeCapabilityWeight
    func (m CollaborativeCapabilityWeight) String() string
    func (m CollaborativeCapabilityWeight) ValidateEnumValue() (bool, error)
type CollaborativeCapabilityWeightOverride
    func (m CollaborativeCapabilityWeightOverride) String() string
    func (m CollaborativeCapabilityWeightOverride) ValidateEnumValue() (bool, error)
type CreateNetworkAddressListAddressesDetails
    func (m CreateNetworkAddressListAddressesDetails) GetCompartmentId() *string
    func (m CreateNetworkAddressListAddressesDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateNetworkAddressListAddressesDetails) GetDisplayName() *string
    func (m CreateNetworkAddressListAddressesDetails) GetFreeformTags() map[string]string
    func (m CreateNetworkAddressListAddressesDetails) GetSystemTags() map[string]map[string]interface{}
    func (m CreateNetworkAddressListAddressesDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateNetworkAddressListAddressesDetails) String() string
    func (m CreateNetworkAddressListAddressesDetails) ValidateEnumValue() (bool, error)
type CreateNetworkAddressListDetails
type CreateNetworkAddressListDetailsTypeEnum
    func GetCreateNetworkAddressListDetailsTypeEnumValues() []CreateNetworkAddressListDetailsTypeEnum
    func GetMappingCreateNetworkAddressListDetailsTypeEnum(val string) (CreateNetworkAddressListDetailsTypeEnum, bool)
type CreateNetworkAddressListRequest
    func (request CreateNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateNetworkAddressListRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateNetworkAddressListRequest) String() string
    func (request CreateNetworkAddressListRequest) ValidateEnumValue() (bool, error)
type CreateNetworkAddressListResponse
    func (response CreateNetworkAddressListResponse) HTTPResponse() *http.Response
    func (response CreateNetworkAddressListResponse) String() string
type CreateNetworkAddressListVcnAddressesDetails
    func (m CreateNetworkAddressListVcnAddressesDetails) GetCompartmentId() *string
    func (m CreateNetworkAddressListVcnAddressesDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateNetworkAddressListVcnAddressesDetails) GetDisplayName() *string
    func (m CreateNetworkAddressListVcnAddressesDetails) GetFreeformTags() map[string]string
    func (m CreateNetworkAddressListVcnAddressesDetails) GetSystemTags() map[string]map[string]interface{}
    func (m CreateNetworkAddressListVcnAddressesDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateNetworkAddressListVcnAddressesDetails) String() string
    func (m CreateNetworkAddressListVcnAddressesDetails) ValidateEnumValue() (bool, error)
type CreateWebAppFirewallDetails
type CreateWebAppFirewallLoadBalancerDetails
    func (m CreateWebAppFirewallLoadBalancerDetails) GetCompartmentId() *string
    func (m CreateWebAppFirewallLoadBalancerDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateWebAppFirewallLoadBalancerDetails) GetDisplayName() *string
    func (m CreateWebAppFirewallLoadBalancerDetails) GetFreeformTags() map[string]string
    func (m CreateWebAppFirewallLoadBalancerDetails) GetSystemTags() map[string]map[string]interface{}
    func (m CreateWebAppFirewallLoadBalancerDetails) GetWebAppFirewallPolicyId() *string
    func (m CreateWebAppFirewallLoadBalancerDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateWebAppFirewallLoadBalancerDetails) String() string
    func (m CreateWebAppFirewallLoadBalancerDetails) ValidateEnumValue() (bool, error)
type CreateWebAppFirewallPolicyDetails
    func (m CreateWebAppFirewallPolicyDetails) String() string
    func (m *CreateWebAppFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateWebAppFirewallPolicyDetails) ValidateEnumValue() (bool, error)
type CreateWebAppFirewallPolicyRequest
    func (request CreateWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateWebAppFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateWebAppFirewallPolicyRequest) String() string
    func (request CreateWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type CreateWebAppFirewallPolicyResponse
    func (response CreateWebAppFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response CreateWebAppFirewallPolicyResponse) String() string
type CreateWebAppFirewallRequest
    func (request CreateWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateWebAppFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateWebAppFirewallRequest) String() string
    func (request CreateWebAppFirewallRequest) ValidateEnumValue() (bool, error)
type CreateWebAppFirewallResponse
    func (response CreateWebAppFirewallResponse) HTTPResponse() *http.Response
    func (response CreateWebAppFirewallResponse) String() string
type DeleteNetworkAddressListRequest
    func (request DeleteNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteNetworkAddressListRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteNetworkAddressListRequest) String() string
    func (request DeleteNetworkAddressListRequest) ValidateEnumValue() (bool, error)
type DeleteNetworkAddressListResponse
    func (response DeleteNetworkAddressListResponse) HTTPResponse() *http.Response
    func (response DeleteNetworkAddressListResponse) String() string
type DeleteWebAppFirewallPolicyRequest
    func (request DeleteWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteWebAppFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteWebAppFirewallPolicyRequest) String() string
    func (request DeleteWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type DeleteWebAppFirewallPolicyResponse
    func (response DeleteWebAppFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response DeleteWebAppFirewallPolicyResponse) String() string
type DeleteWebAppFirewallRequest
    func (request DeleteWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteWebAppFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteWebAppFirewallRequest) String() string
    func (request DeleteWebAppFirewallRequest) ValidateEnumValue() (bool, error)
type DeleteWebAppFirewallResponse
    func (response DeleteWebAppFirewallResponse) HTTPResponse() *http.Response
    func (response DeleteWebAppFirewallResponse) String() string
type GetNetworkAddressListRequest
    func (request GetNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNetworkAddressListRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNetworkAddressListRequest) String() string
    func (request GetNetworkAddressListRequest) ValidateEnumValue() (bool, error)
type GetNetworkAddressListResponse
    func (response GetNetworkAddressListResponse) HTTPResponse() *http.Response
    func (response GetNetworkAddressListResponse) String() string
type GetWebAppFirewallPolicyRequest
    func (request GetWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWebAppFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWebAppFirewallPolicyRequest) String() string
    func (request GetWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type GetWebAppFirewallPolicyResponse
    func (response GetWebAppFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response GetWebAppFirewallPolicyResponse) String() string
type GetWebAppFirewallRequest
    func (request GetWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWebAppFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWebAppFirewallRequest) String() string
    func (request GetWebAppFirewallRequest) ValidateEnumValue() (bool, error)
type GetWebAppFirewallResponse
    func (response GetWebAppFirewallResponse) HTTPResponse() *http.Response
    func (response GetWebAppFirewallResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type HttpResponseBody
type HttpResponseBodyTypeEnum
    func GetHttpResponseBodyTypeEnumValues() []HttpResponseBodyTypeEnum
    func GetMappingHttpResponseBodyTypeEnum(val string) (HttpResponseBodyTypeEnum, bool)
type ListNetworkAddressListsRequest
    func (request ListNetworkAddressListsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNetworkAddressListsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNetworkAddressListsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNetworkAddressListsRequest) String() string
    func (request ListNetworkAddressListsRequest) ValidateEnumValue() (bool, error)
type ListNetworkAddressListsResponse
    func (response ListNetworkAddressListsResponse) HTTPResponse() *http.Response
    func (response ListNetworkAddressListsResponse) String() string
type ListNetworkAddressListsSortByEnum
    func GetListNetworkAddressListsSortByEnumValues() []ListNetworkAddressListsSortByEnum
    func GetMappingListNetworkAddressListsSortByEnum(val string) (ListNetworkAddressListsSortByEnum, bool)
type ListNetworkAddressListsSortOrderEnum
    func GetListNetworkAddressListsSortOrderEnumValues() []ListNetworkAddressListsSortOrderEnum
    func GetMappingListNetworkAddressListsSortOrderEnum(val string) (ListNetworkAddressListsSortOrderEnum, bool)
type ListProtectionCapabilitiesRequest
    func (request ListProtectionCapabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListProtectionCapabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListProtectionCapabilitiesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListProtectionCapabilitiesRequest) String() string
    func (request ListProtectionCapabilitiesRequest) ValidateEnumValue() (bool, error)
type ListProtectionCapabilitiesResponse
    func (response ListProtectionCapabilitiesResponse) HTTPResponse() *http.Response
    func (response ListProtectionCapabilitiesResponse) String() string
type ListProtectionCapabilitiesSortByEnum
    func GetListProtectionCapabilitiesSortByEnumValues() []ListProtectionCapabilitiesSortByEnum
    func GetMappingListProtectionCapabilitiesSortByEnum(val string) (ListProtectionCapabilitiesSortByEnum, bool)
type ListProtectionCapabilitiesSortOrderEnum
    func GetListProtectionCapabilitiesSortOrderEnumValues() []ListProtectionCapabilitiesSortOrderEnum
    func GetMappingListProtectionCapabilitiesSortOrderEnum(val string) (ListProtectionCapabilitiesSortOrderEnum, bool)
type ListProtectionCapabilityGroupTagsRequest
    func (request ListProtectionCapabilityGroupTagsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListProtectionCapabilityGroupTagsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListProtectionCapabilityGroupTagsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListProtectionCapabilityGroupTagsRequest) String() string
    func (request ListProtectionCapabilityGroupTagsRequest) ValidateEnumValue() (bool, error)
type ListProtectionCapabilityGroupTagsResponse
    func (response ListProtectionCapabilityGroupTagsResponse) HTTPResponse() *http.Response
    func (response ListProtectionCapabilityGroupTagsResponse) String() string
type ListProtectionCapabilityGroupTagsSortByEnum
    func GetListProtectionCapabilityGroupTagsSortByEnumValues() []ListProtectionCapabilityGroupTagsSortByEnum
    func GetMappingListProtectionCapabilityGroupTagsSortByEnum(val string) (ListProtectionCapabilityGroupTagsSortByEnum, bool)
type ListProtectionCapabilityGroupTagsSortOrderEnum
    func GetListProtectionCapabilityGroupTagsSortOrderEnumValues() []ListProtectionCapabilityGroupTagsSortOrderEnum
    func GetMappingListProtectionCapabilityGroupTagsSortOrderEnum(val string) (ListProtectionCapabilityGroupTagsSortOrderEnum, bool)
type ListWebAppFirewallPoliciesRequest
    func (request ListWebAppFirewallPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWebAppFirewallPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWebAppFirewallPoliciesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWebAppFirewallPoliciesRequest) String() string
    func (request ListWebAppFirewallPoliciesRequest) ValidateEnumValue() (bool, error)
type ListWebAppFirewallPoliciesResponse
    func (response ListWebAppFirewallPoliciesResponse) HTTPResponse() *http.Response
    func (response ListWebAppFirewallPoliciesResponse) String() string
type ListWebAppFirewallPoliciesSortByEnum
    func GetListWebAppFirewallPoliciesSortByEnumValues() []ListWebAppFirewallPoliciesSortByEnum
    func GetMappingListWebAppFirewallPoliciesSortByEnum(val string) (ListWebAppFirewallPoliciesSortByEnum, bool)
type ListWebAppFirewallPoliciesSortOrderEnum
    func GetListWebAppFirewallPoliciesSortOrderEnumValues() []ListWebAppFirewallPoliciesSortOrderEnum
    func GetMappingListWebAppFirewallPoliciesSortOrderEnum(val string) (ListWebAppFirewallPoliciesSortOrderEnum, bool)
type ListWebAppFirewallsRequest
    func (request ListWebAppFirewallsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWebAppFirewallsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWebAppFirewallsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWebAppFirewallsRequest) String() string
    func (request ListWebAppFirewallsRequest) ValidateEnumValue() (bool, error)
type ListWebAppFirewallsResponse
    func (response ListWebAppFirewallsResponse) HTTPResponse() *http.Response
    func (response ListWebAppFirewallsResponse) String() string
type ListWebAppFirewallsSortByEnum
    func GetListWebAppFirewallsSortByEnumValues() []ListWebAppFirewallsSortByEnum
    func GetMappingListWebAppFirewallsSortByEnum(val string) (ListWebAppFirewallsSortByEnum, bool)
type ListWebAppFirewallsSortOrderEnum
    func GetListWebAppFirewallsSortOrderEnumValues() []ListWebAppFirewallsSortOrderEnum
    func GetMappingListWebAppFirewallsSortOrderEnum(val string) (ListWebAppFirewallsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type NetworkAddressList
type NetworkAddressListAddresses
    func (m NetworkAddressListAddresses) GetCompartmentId() *string
    func (m NetworkAddressListAddresses) GetDefinedTags() map[string]map[string]interface{}
    func (m NetworkAddressListAddresses) GetDisplayName() *string
    func (m NetworkAddressListAddresses) GetFreeformTags() map[string]string
    func (m NetworkAddressListAddresses) GetId() *string
    func (m NetworkAddressListAddresses) GetLifecycleDetails() *string
    func (m NetworkAddressListAddresses) GetLifecycleState() NetworkAddressListLifecycleStateEnum
    func (m NetworkAddressListAddresses) GetSystemTags() map[string]map[string]interface{}
    func (m NetworkAddressListAddresses) GetTimeCreated() *common.SDKTime
    func (m NetworkAddressListAddresses) GetTimeUpdated() *common.SDKTime
    func (m NetworkAddressListAddresses) MarshalJSON() (buff []byte, e error)
    func (m NetworkAddressListAddresses) String() string
    func (m NetworkAddressListAddresses) ValidateEnumValue() (bool, error)
type NetworkAddressListAddressesSummary
    func (m NetworkAddressListAddressesSummary) GetCompartmentId() *string
    func (m NetworkAddressListAddressesSummary) GetDefinedTags() map[string]map[string]interface{}
    func (m NetworkAddressListAddressesSummary) GetDisplayName() *string
    func (m NetworkAddressListAddressesSummary) GetFreeformTags() map[string]string
    func (m NetworkAddressListAddressesSummary) GetId() *string
    func (m NetworkAddressListAddressesSummary) GetLifecycleDetails() *string
    func (m NetworkAddressListAddressesSummary) GetLifecycleState() NetworkAddressListLifecycleStateEnum
    func (m NetworkAddressListAddressesSummary) GetSystemTags() map[string]map[string]interface{}
    func (m NetworkAddressListAddressesSummary) GetTimeCreated() *common.SDKTime
    func (m NetworkAddressListAddressesSummary) GetTimeUpdated() *common.SDKTime
    func (m NetworkAddressListAddressesSummary) MarshalJSON() (buff []byte, e error)
    func (m NetworkAddressListAddressesSummary) String() string
    func (m NetworkAddressListAddressesSummary) ValidateEnumValue() (bool, error)
type NetworkAddressListCollection
    func (m NetworkAddressListCollection) String() string
    func (m *NetworkAddressListCollection) UnmarshalJSON(data []byte) (e error)
    func (m NetworkAddressListCollection) ValidateEnumValue() (bool, error)
type NetworkAddressListLifecycleStateEnum
    func GetMappingNetworkAddressListLifecycleStateEnum(val string) (NetworkAddressListLifecycleStateEnum, bool)
    func GetNetworkAddressListLifecycleStateEnumValues() []NetworkAddressListLifecycleStateEnum
type NetworkAddressListSummary
type NetworkAddressListSummaryTypeEnum
    func GetMappingNetworkAddressListSummaryTypeEnum(val string) (NetworkAddressListSummaryTypeEnum, bool)
    func GetNetworkAddressListSummaryTypeEnumValues() []NetworkAddressListSummaryTypeEnum
type NetworkAddressListTypeEnum
    func GetMappingNetworkAddressListTypeEnum(val string) (NetworkAddressListTypeEnum, bool)
    func GetNetworkAddressListTypeEnumValues() []NetworkAddressListTypeEnum
type NetworkAddressListVcnAddresses
    func (m NetworkAddressListVcnAddresses) GetCompartmentId() *string
    func (m NetworkAddressListVcnAddresses) GetDefinedTags() map[string]map[string]interface{}
    func (m NetworkAddressListVcnAddresses) GetDisplayName() *string
    func (m NetworkAddressListVcnAddresses) GetFreeformTags() map[string]string
    func (m NetworkAddressListVcnAddresses) GetId() *string
    func (m NetworkAddressListVcnAddresses) GetLifecycleDetails() *string
    func (m NetworkAddressListVcnAddresses) GetLifecycleState() NetworkAddressListLifecycleStateEnum
    func (m NetworkAddressListVcnAddresses) GetSystemTags() map[string]map[string]interface{}
    func (m NetworkAddressListVcnAddresses) GetTimeCreated() *common.SDKTime
    func (m NetworkAddressListVcnAddresses) GetTimeUpdated() *common.SDKTime
    func (m NetworkAddressListVcnAddresses) MarshalJSON() (buff []byte, e error)
    func (m NetworkAddressListVcnAddresses) String() string
    func (m NetworkAddressListVcnAddresses) ValidateEnumValue() (bool, error)
type NetworkAddressListVcnAddressesSummary
    func (m NetworkAddressListVcnAddressesSummary) GetCompartmentId() *string
    func (m NetworkAddressListVcnAddressesSummary) GetDefinedTags() map[string]map[string]interface{}
    func (m NetworkAddressListVcnAddressesSummary) GetDisplayName() *string
    func (m NetworkAddressListVcnAddressesSummary) GetFreeformTags() map[string]string
    func (m NetworkAddressListVcnAddressesSummary) GetId() *string
    func (m NetworkAddressListVcnAddressesSummary) GetLifecycleDetails() *string
    func (m NetworkAddressListVcnAddressesSummary) GetLifecycleState() NetworkAddressListLifecycleStateEnum
    func (m NetworkAddressListVcnAddressesSummary) GetSystemTags() map[string]map[string]interface{}
    func (m NetworkAddressListVcnAddressesSummary) GetTimeCreated() *common.SDKTime
    func (m NetworkAddressListVcnAddressesSummary) GetTimeUpdated() *common.SDKTime
    func (m NetworkAddressListVcnAddressesSummary) MarshalJSON() (buff []byte, e error)
    func (m NetworkAddressListVcnAddressesSummary) String() string
    func (m NetworkAddressListVcnAddressesSummary) ValidateEnumValue() (bool, error)
type PrivateAddresses
    func (m PrivateAddresses) String() string
    func (m PrivateAddresses) ValidateEnumValue() (bool, error)
type ProtectionCapability
    func (m ProtectionCapability) String() string
    func (m ProtectionCapability) ValidateEnumValue() (bool, error)
type ProtectionCapabilityCollection
    func (m ProtectionCapabilityCollection) String() string
    func (m ProtectionCapabilityCollection) ValidateEnumValue() (bool, error)
type ProtectionCapabilityExclusions
    func (m ProtectionCapabilityExclusions) String() string
    func (m ProtectionCapabilityExclusions) ValidateEnumValue() (bool, error)
type ProtectionCapabilityGroupTagCollection
    func (m ProtectionCapabilityGroupTagCollection) String() string
    func (m ProtectionCapabilityGroupTagCollection) ValidateEnumValue() (bool, error)
type ProtectionCapabilityGroupTagSummary
    func (m ProtectionCapabilityGroupTagSummary) String() string
    func (m ProtectionCapabilityGroupTagSummary) ValidateEnumValue() (bool, error)
type ProtectionCapabilitySettings
    func (m ProtectionCapabilitySettings) String() string
    func (m ProtectionCapabilitySettings) ValidateEnumValue() (bool, error)
type ProtectionCapabilitySummary
    func (m ProtectionCapabilitySummary) String() string
    func (m ProtectionCapabilitySummary) ValidateEnumValue() (bool, error)
type ProtectionCapabilitySummaryTypeEnum
    func GetMappingProtectionCapabilitySummaryTypeEnum(val string) (ProtectionCapabilitySummaryTypeEnum, bool)
    func GetProtectionCapabilitySummaryTypeEnumValues() []ProtectionCapabilitySummaryTypeEnum
type ProtectionRule
    func (m ProtectionRule) GetActionName() *string
    func (m ProtectionRule) GetCondition() *string
    func (m ProtectionRule) GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum
    func (m ProtectionRule) GetName() *string
    func (m ProtectionRule) MarshalJSON() (buff []byte, e error)
    func (m ProtectionRule) String() string
    func (m ProtectionRule) ValidateEnumValue() (bool, error)
type RequestAccessControl
    func (m RequestAccessControl) String() string
    func (m RequestAccessControl) ValidateEnumValue() (bool, error)
type RequestProtection
    func (m RequestProtection) String() string
    func (m RequestProtection) ValidateEnumValue() (bool, error)
type RequestRateLimiting
    func (m RequestRateLimiting) String() string
    func (m RequestRateLimiting) ValidateEnumValue() (bool, error)
type RequestRateLimitingConfiguration
    func (m RequestRateLimitingConfiguration) String() string
    func (m RequestRateLimitingConfiguration) ValidateEnumValue() (bool, error)
type RequestRateLimitingRule
    func (m RequestRateLimitingRule) GetActionName() *string
    func (m RequestRateLimitingRule) GetCondition() *string
    func (m RequestRateLimitingRule) GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum
    func (m RequestRateLimitingRule) GetName() *string
    func (m RequestRateLimitingRule) MarshalJSON() (buff []byte, e error)
    func (m RequestRateLimitingRule) String() string
    func (m RequestRateLimitingRule) ValidateEnumValue() (bool, error)
type ResponseAccessControl
    func (m ResponseAccessControl) String() string
    func (m ResponseAccessControl) ValidateEnumValue() (bool, error)
type ResponseHeader
    func (m ResponseHeader) String() string
    func (m ResponseHeader) ValidateEnumValue() (bool, error)
type ResponseProtection
    func (m ResponseProtection) String() string
    func (m ResponseProtection) ValidateEnumValue() (bool, error)
type ReturnHttpResponseAction
    func (m ReturnHttpResponseAction) GetName() *string
    func (m ReturnHttpResponseAction) MarshalJSON() (buff []byte, e error)
    func (m ReturnHttpResponseAction) String() string
    func (m *ReturnHttpResponseAction) UnmarshalJSON(data []byte) (e error)
    func (m ReturnHttpResponseAction) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type StaticTextHttpResponseBody
    func (m StaticTextHttpResponseBody) MarshalJSON() (buff []byte, e error)
    func (m StaticTextHttpResponseBody) String() string
    func (m StaticTextHttpResponseBody) ValidateEnumValue() (bool, error)
type UpdateNetworkAddressListAddressesDetails
    func (m UpdateNetworkAddressListAddressesDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m UpdateNetworkAddressListAddressesDetails) GetDisplayName() *string
    func (m UpdateNetworkAddressListAddressesDetails) GetFreeformTags() map[string]string
    func (m UpdateNetworkAddressListAddressesDetails) GetSystemTags() map[string]map[string]interface{}
    func (m UpdateNetworkAddressListAddressesDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateNetworkAddressListAddressesDetails) String() string
    func (m UpdateNetworkAddressListAddressesDetails) ValidateEnumValue() (bool, error)
type UpdateNetworkAddressListDetails
type UpdateNetworkAddressListDetailsTypeEnum
    func GetMappingUpdateNetworkAddressListDetailsTypeEnum(val string) (UpdateNetworkAddressListDetailsTypeEnum, bool)
    func GetUpdateNetworkAddressListDetailsTypeEnumValues() []UpdateNetworkAddressListDetailsTypeEnum
type UpdateNetworkAddressListRequest
    func (request UpdateNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateNetworkAddressListRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateNetworkAddressListRequest) String() string
    func (request UpdateNetworkAddressListRequest) ValidateEnumValue() (bool, error)
type UpdateNetworkAddressListResponse
    func (response UpdateNetworkAddressListResponse) HTTPResponse() *http.Response
    func (response UpdateNetworkAddressListResponse) String() string
type UpdateNetworkAddressListVcnAddressesDetails
    func (m UpdateNetworkAddressListVcnAddressesDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m UpdateNetworkAddressListVcnAddressesDetails) GetDisplayName() *string
    func (m UpdateNetworkAddressListVcnAddressesDetails) GetFreeformTags() map[string]string
    func (m UpdateNetworkAddressListVcnAddressesDetails) GetSystemTags() map[string]map[string]interface{}
    func (m UpdateNetworkAddressListVcnAddressesDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateNetworkAddressListVcnAddressesDetails) String() string
    func (m UpdateNetworkAddressListVcnAddressesDetails) ValidateEnumValue() (bool, error)
type UpdateWebAppFirewallDetails
    func (m UpdateWebAppFirewallDetails) String() string
    func (m UpdateWebAppFirewallDetails) ValidateEnumValue() (bool, error)
type UpdateWebAppFirewallPolicyDetails
    func (m UpdateWebAppFirewallPolicyDetails) String() string
    func (m *UpdateWebAppFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateWebAppFirewallPolicyDetails) ValidateEnumValue() (bool, error)
type UpdateWebAppFirewallPolicyRequest
    func (request UpdateWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateWebAppFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateWebAppFirewallPolicyRequest) String() string
    func (request UpdateWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type UpdateWebAppFirewallPolicyResponse
    func (response UpdateWebAppFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response UpdateWebAppFirewallPolicyResponse) String() string
type UpdateWebAppFirewallRequest
    func (request UpdateWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateWebAppFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateWebAppFirewallRequest) String() string
    func (request UpdateWebAppFirewallRequest) ValidateEnumValue() (bool, error)
type UpdateWebAppFirewallResponse
    func (response UpdateWebAppFirewallResponse) HTTPResponse() *http.Response
    func (response UpdateWebAppFirewallResponse) String() string
type WafClient
    func NewWafClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WafClient, err error)
    func NewWafClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WafClient, err error)
    func (client WafClient) ChangeNetworkAddressListCompartment(ctx context.Context, request ChangeNetworkAddressListCompartmentRequest) (response ChangeNetworkAddressListCompartmentResponse, err error)
    func (client WafClient) ChangeWebAppFirewallCompartment(ctx context.Context, request ChangeWebAppFirewallCompartmentRequest) (response ChangeWebAppFirewallCompartmentResponse, err error)
    func (client WafClient) ChangeWebAppFirewallPolicyCompartment(ctx context.Context, request ChangeWebAppFirewallPolicyCompartmentRequest) (response ChangeWebAppFirewallPolicyCompartmentResponse, err error)
    func (client *WafClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client WafClient) CreateNetworkAddressList(ctx context.Context, request CreateNetworkAddressListRequest) (response CreateNetworkAddressListResponse, err error)
    func (client WafClient) CreateWebAppFirewall(ctx context.Context, request CreateWebAppFirewallRequest) (response CreateWebAppFirewallResponse, err error)
    func (client WafClient) CreateWebAppFirewallPolicy(ctx context.Context, request CreateWebAppFirewallPolicyRequest) (response CreateWebAppFirewallPolicyResponse, err error)
    func (client WafClient) DeleteNetworkAddressList(ctx context.Context, request DeleteNetworkAddressListRequest) (response DeleteNetworkAddressListResponse, err error)
    func (client WafClient) DeleteWebAppFirewall(ctx context.Context, request DeleteWebAppFirewallRequest) (response DeleteWebAppFirewallResponse, err error)
    func (client WafClient) DeleteWebAppFirewallPolicy(ctx context.Context, request DeleteWebAppFirewallPolicyRequest) (response DeleteWebAppFirewallPolicyResponse, err error)
    func (client WafClient) GetNetworkAddressList(ctx context.Context, request GetNetworkAddressListRequest) (response GetNetworkAddressListResponse, err error)
    func (client WafClient) GetWebAppFirewall(ctx context.Context, request GetWebAppFirewallRequest) (response GetWebAppFirewallResponse, err error)
    func (client WafClient) GetWebAppFirewallPolicy(ctx context.Context, request GetWebAppFirewallPolicyRequest) (response GetWebAppFirewallPolicyResponse, err error)
    func (client WafClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client WafClient) ListNetworkAddressLists(ctx context.Context, request ListNetworkAddressListsRequest) (response ListNetworkAddressListsResponse, err error)
    func (client WafClient) ListProtectionCapabilities(ctx context.Context, request ListProtectionCapabilitiesRequest) (response ListProtectionCapabilitiesResponse, err error)
    func (client WafClient) ListProtectionCapabilityGroupTags(ctx context.Context, request ListProtectionCapabilityGroupTagsRequest) (response ListProtectionCapabilityGroupTagsResponse, err error)
    func (client WafClient) ListWebAppFirewallPolicies(ctx context.Context, request ListWebAppFirewallPoliciesRequest) (response ListWebAppFirewallPoliciesResponse, err error)
    func (client WafClient) ListWebAppFirewalls(ctx context.Context, request ListWebAppFirewallsRequest) (response ListWebAppFirewallsResponse, err error)
    func (client WafClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client WafClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client WafClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *WafClient) SetRegion(region string)
    func (client WafClient) UpdateNetworkAddressList(ctx context.Context, request UpdateNetworkAddressListRequest) (response UpdateNetworkAddressListResponse, err error)
    func (client WafClient) UpdateWebAppFirewall(ctx context.Context, request UpdateWebAppFirewallRequest) (response UpdateWebAppFirewallResponse, err error)
    func (client WafClient) UpdateWebAppFirewallPolicy(ctx context.Context, request UpdateWebAppFirewallPolicyRequest) (response UpdateWebAppFirewallPolicyResponse, err error)
type WebAppFirewall
type WebAppFirewallCollection
    func (m WebAppFirewallCollection) String() string
    func (m *WebAppFirewallCollection) UnmarshalJSON(data []byte) (e error)
    func (m WebAppFirewallCollection) ValidateEnumValue() (bool, error)
type WebAppFirewallLifecycleStateEnum
    func GetMappingWebAppFirewallLifecycleStateEnum(val string) (WebAppFirewallLifecycleStateEnum, bool)
    func GetWebAppFirewallLifecycleStateEnumValues() []WebAppFirewallLifecycleStateEnum
type WebAppFirewallLoadBalancer
    func (m WebAppFirewallLoadBalancer) GetCompartmentId() *string
    func (m WebAppFirewallLoadBalancer) GetDefinedTags() map[string]map[string]interface{}
    func (m WebAppFirewallLoadBalancer) GetDisplayName() *string
    func (m WebAppFirewallLoadBalancer) GetFreeformTags() map[string]string
    func (m WebAppFirewallLoadBalancer) GetId() *string
    func (m WebAppFirewallLoadBalancer) GetLifecycleDetails() *string
    func (m WebAppFirewallLoadBalancer) GetLifecycleState() WebAppFirewallLifecycleStateEnum
    func (m WebAppFirewallLoadBalancer) GetSystemTags() map[string]map[string]interface{}
    func (m WebAppFirewallLoadBalancer) GetTimeCreated() *common.SDKTime
    func (m WebAppFirewallLoadBalancer) GetTimeUpdated() *common.SDKTime
    func (m WebAppFirewallLoadBalancer) GetWebAppFirewallPolicyId() *string
    func (m WebAppFirewallLoadBalancer) MarshalJSON() (buff []byte, e error)
    func (m WebAppFirewallLoadBalancer) String() string
    func (m WebAppFirewallLoadBalancer) ValidateEnumValue() (bool, error)
type WebAppFirewallLoadBalancerSummary
    func (m WebAppFirewallLoadBalancerSummary) GetCompartmentId() *string
    func (m WebAppFirewallLoadBalancerSummary) GetDefinedTags() map[string]map[string]interface{}
    func (m WebAppFirewallLoadBalancerSummary) GetDisplayName() *string
    func (m WebAppFirewallLoadBalancerSummary) GetFreeformTags() map[string]string
    func (m WebAppFirewallLoadBalancerSummary) GetId() *string
    func (m WebAppFirewallLoadBalancerSummary) GetLifecycleDetails() *string
    func (m WebAppFirewallLoadBalancerSummary) GetLifecycleState() WebAppFirewallLifecycleStateEnum
    func (m WebAppFirewallLoadBalancerSummary) GetSystemTags() map[string]map[string]interface{}
    func (m WebAppFirewallLoadBalancerSummary) GetTimeCreated() *common.SDKTime
    func (m WebAppFirewallLoadBalancerSummary) GetTimeUpdated() *common.SDKTime
    func (m WebAppFirewallLoadBalancerSummary) GetWebAppFirewallPolicyId() *string
    func (m WebAppFirewallLoadBalancerSummary) MarshalJSON() (buff []byte, e error)
    func (m WebAppFirewallLoadBalancerSummary) String() string
    func (m WebAppFirewallLoadBalancerSummary) ValidateEnumValue() (bool, error)
type WebAppFirewallPolicy
    func (m WebAppFirewallPolicy) String() string
    func (m *WebAppFirewallPolicy) UnmarshalJSON(data []byte) (e error)
    func (m WebAppFirewallPolicy) ValidateEnumValue() (bool, error)
type WebAppFirewallPolicyCollection
    func (m WebAppFirewallPolicyCollection) String() string
    func (m WebAppFirewallPolicyCollection) ValidateEnumValue() (bool, error)
type WebAppFirewallPolicyLifecycleStateEnum
    func GetMappingWebAppFirewallPolicyLifecycleStateEnum(val string) (WebAppFirewallPolicyLifecycleStateEnum, bool)
    func GetWebAppFirewallPolicyLifecycleStateEnumValues() []WebAppFirewallPolicyLifecycleStateEnum
type WebAppFirewallPolicyRule
type WebAppFirewallPolicyRuleConditionLanguageEnum
    func GetMappingWebAppFirewallPolicyRuleConditionLanguageEnum(val string) (WebAppFirewallPolicyRuleConditionLanguageEnum, bool)
    func GetWebAppFirewallPolicyRuleConditionLanguageEnumValues() []WebAppFirewallPolicyRuleConditionLanguageEnum
type WebAppFirewallPolicyRuleTypeEnum
    func GetMappingWebAppFirewallPolicyRuleTypeEnum(val string) (WebAppFirewallPolicyRuleTypeEnum, bool)
    func GetWebAppFirewallPolicyRuleTypeEnumValues() []WebAppFirewallPolicyRuleTypeEnum
type WebAppFirewallPolicySummary
    func (m WebAppFirewallPolicySummary) String() string
    func (m WebAppFirewallPolicySummary) ValidateEnumValue() (bool, error)
type WebAppFirewallSummary
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestCollection
    func (m WorkRequestCollection) String() string
    func (m WorkRequestCollection) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestOperationTypeEnum
    func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)
    func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceActionTypeEnum
    func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)
    func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
type WorkRequestStatusEnum
    func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)
    func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

Package files

access_control_rule.go action.go allow_action.go backend_type.go change_network_address_list_compartment_details.go change_network_address_list_compartment_request_response.go change_resource_compartment_details.go change_web_app_firewall_compartment_details.go change_web_app_firewall_compartment_request_response.go change_web_app_firewall_policy_compartment_details.go change_web_app_firewall_policy_compartment_request_response.go check_action.go collaborative_capability_weight.go collaborative_capability_weight_override.go create_network_address_list_addresses_details.go create_network_address_list_details.go create_network_address_list_request_response.go create_network_address_list_vcn_addresses_details.go create_web_app_firewall_details.go create_web_app_firewall_load_balancer_details.go create_web_app_firewall_policy_details.go create_web_app_firewall_policy_request_response.go create_web_app_firewall_request_response.go delete_network_address_list_request_response.go delete_web_app_firewall_policy_request_response.go delete_web_app_firewall_request_response.go get_network_address_list_request_response.go get_web_app_firewall_policy_request_response.go get_web_app_firewall_request_response.go get_work_request_request_response.go http_response_body.go list_network_address_lists_request_response.go list_protection_capabilities_request_response.go list_protection_capability_group_tags_request_response.go list_web_app_firewall_policies_request_response.go list_web_app_firewalls_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go network_address_list.go network_address_list_addresses.go network_address_list_addresses_summary.go network_address_list_collection.go network_address_list_summary.go network_address_list_vcn_addresses.go network_address_list_vcn_addresses_summary.go private_addresses.go protection_capability.go protection_capability_collection.go protection_capability_exclusions.go protection_capability_group_tag_collection.go protection_capability_group_tag_summary.go protection_capability_settings.go protection_capability_summary.go protection_rule.go request_access_control.go request_protection.go request_rate_limiting.go request_rate_limiting_configuration.go request_rate_limiting_rule.go response_access_control.go response_header.go response_protection.go return_http_response_action.go sort_order.go static_text_http_response_body.go update_network_address_list_addresses_details.go update_network_address_list_details.go update_network_address_list_request_response.go update_network_address_list_vcn_addresses_details.go update_web_app_firewall_details.go update_web_app_firewall_policy_details.go update_web_app_firewall_policy_request_response.go update_web_app_firewall_request_response.go waf_client.go web_app_firewall.go web_app_firewall_collection.go web_app_firewall_load_balancer.go web_app_firewall_load_balancer_summary.go web_app_firewall_policy.go web_app_firewall_policy_collection.go web_app_firewall_policy_rule.go web_app_firewall_policy_summary.go web_app_firewall_summary.go work_request.go work_request_collection.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetBackendTypeEnumStringValues

func GetBackendTypeEnumStringValues() []string

GetBackendTypeEnumStringValues Enumerates the set of values in String for BackendTypeEnum

func GetCreateNetworkAddressListDetailsTypeEnumStringValues

func GetCreateNetworkAddressListDetailsTypeEnumStringValues() []string

GetCreateNetworkAddressListDetailsTypeEnumStringValues Enumerates the set of values in String for CreateNetworkAddressListDetailsTypeEnum

func GetHttpResponseBodyTypeEnumStringValues

func GetHttpResponseBodyTypeEnumStringValues() []string

GetHttpResponseBodyTypeEnumStringValues Enumerates the set of values in String for HttpResponseBodyTypeEnum

func GetListNetworkAddressListsSortByEnumStringValues

func GetListNetworkAddressListsSortByEnumStringValues() []string

GetListNetworkAddressListsSortByEnumStringValues Enumerates the set of values in String for ListNetworkAddressListsSortByEnum

func GetListNetworkAddressListsSortOrderEnumStringValues

func GetListNetworkAddressListsSortOrderEnumStringValues() []string

GetListNetworkAddressListsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkAddressListsSortOrderEnum

func GetListProtectionCapabilitiesSortByEnumStringValues

func GetListProtectionCapabilitiesSortByEnumStringValues() []string

GetListProtectionCapabilitiesSortByEnumStringValues Enumerates the set of values in String for ListProtectionCapabilitiesSortByEnum

func GetListProtectionCapabilitiesSortOrderEnumStringValues

func GetListProtectionCapabilitiesSortOrderEnumStringValues() []string

GetListProtectionCapabilitiesSortOrderEnumStringValues Enumerates the set of values in String for ListProtectionCapabilitiesSortOrderEnum

func GetListProtectionCapabilityGroupTagsSortByEnumStringValues

func GetListProtectionCapabilityGroupTagsSortByEnumStringValues() []string

GetListProtectionCapabilityGroupTagsSortByEnumStringValues Enumerates the set of values in String for ListProtectionCapabilityGroupTagsSortByEnum

func GetListProtectionCapabilityGroupTagsSortOrderEnumStringValues

func GetListProtectionCapabilityGroupTagsSortOrderEnumStringValues() []string

GetListProtectionCapabilityGroupTagsSortOrderEnumStringValues Enumerates the set of values in String for ListProtectionCapabilityGroupTagsSortOrderEnum

func GetListWebAppFirewallPoliciesSortByEnumStringValues

func GetListWebAppFirewallPoliciesSortByEnumStringValues() []string

GetListWebAppFirewallPoliciesSortByEnumStringValues Enumerates the set of values in String for ListWebAppFirewallPoliciesSortByEnum

func GetListWebAppFirewallPoliciesSortOrderEnumStringValues

func GetListWebAppFirewallPoliciesSortOrderEnumStringValues() []string

GetListWebAppFirewallPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListWebAppFirewallPoliciesSortOrderEnum

func GetListWebAppFirewallsSortByEnumStringValues

func GetListWebAppFirewallsSortByEnumStringValues() []string

GetListWebAppFirewallsSortByEnumStringValues Enumerates the set of values in String for ListWebAppFirewallsSortByEnum

func GetListWebAppFirewallsSortOrderEnumStringValues

func GetListWebAppFirewallsSortOrderEnumStringValues() []string

GetListWebAppFirewallsSortOrderEnumStringValues Enumerates the set of values in String for ListWebAppFirewallsSortOrderEnum

func GetNetworkAddressListLifecycleStateEnumStringValues

func GetNetworkAddressListLifecycleStateEnumStringValues() []string

GetNetworkAddressListLifecycleStateEnumStringValues Enumerates the set of values in String for NetworkAddressListLifecycleStateEnum

func GetNetworkAddressListSummaryTypeEnumStringValues

func GetNetworkAddressListSummaryTypeEnumStringValues() []string

GetNetworkAddressListSummaryTypeEnumStringValues Enumerates the set of values in String for NetworkAddressListSummaryTypeEnum

func GetNetworkAddressListTypeEnumStringValues

func GetNetworkAddressListTypeEnumStringValues() []string

GetNetworkAddressListTypeEnumStringValues Enumerates the set of values in String for NetworkAddressListTypeEnum

func GetProtectionCapabilitySummaryTypeEnumStringValues

func GetProtectionCapabilitySummaryTypeEnumStringValues() []string

GetProtectionCapabilitySummaryTypeEnumStringValues Enumerates the set of values in String for ProtectionCapabilitySummaryTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetUpdateNetworkAddressListDetailsTypeEnumStringValues

func GetUpdateNetworkAddressListDetailsTypeEnumStringValues() []string

GetUpdateNetworkAddressListDetailsTypeEnumStringValues Enumerates the set of values in String for UpdateNetworkAddressListDetailsTypeEnum

func GetWebAppFirewallLifecycleStateEnumStringValues

func GetWebAppFirewallLifecycleStateEnumStringValues() []string

GetWebAppFirewallLifecycleStateEnumStringValues Enumerates the set of values in String for WebAppFirewallLifecycleStateEnum

func GetWebAppFirewallPolicyLifecycleStateEnumStringValues

func GetWebAppFirewallPolicyLifecycleStateEnumStringValues() []string

GetWebAppFirewallPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for WebAppFirewallPolicyLifecycleStateEnum

func GetWebAppFirewallPolicyRuleConditionLanguageEnumStringValues

func GetWebAppFirewallPolicyRuleConditionLanguageEnumStringValues() []string

GetWebAppFirewallPolicyRuleConditionLanguageEnumStringValues Enumerates the set of values in String for WebAppFirewallPolicyRuleConditionLanguageEnum

func GetWebAppFirewallPolicyRuleTypeEnumStringValues

func GetWebAppFirewallPolicyRuleTypeEnumStringValues() []string

GetWebAppFirewallPolicyRuleTypeEnumStringValues Enumerates the set of values in String for WebAppFirewallPolicyRuleTypeEnum

func GetWorkRequestOperationTypeEnumStringValues

func GetWorkRequestOperationTypeEnumStringValues() []string

GetWorkRequestOperationTypeEnumStringValues Enumerates the set of values in String for WorkRequestOperationTypeEnum

func GetWorkRequestResourceActionTypeEnumStringValues

func GetWorkRequestResourceActionTypeEnumStringValues() []string

GetWorkRequestResourceActionTypeEnumStringValues Enumerates the set of values in String for WorkRequestResourceActionTypeEnum

func GetWorkRequestStatusEnumStringValues

func GetWorkRequestStatusEnumStringValues() []string

GetWorkRequestStatusEnumStringValues Enumerates the set of values in String for WorkRequestStatusEnum

type AccessControlRule

AccessControlRule Rule that represents Request/Response Access Control. Only actions of the following types are allowed to be referenced in this rule:

- CHECK
- ALLOW
- RETURN_HTTP_RESPONSE
type AccessControlRule struct {

    // Rule name. Must be unique within the module.
    Name *string `mandatory:"true" json:"name"`

    // References action by name from actions defined in WebAppFirewallPolicy.
    ActionName *string `mandatory:"true" json:"actionName"`

    // An expression that determines whether or not the rule action should be executed.
    Condition *string `mandatory:"false" json:"condition"`

    // The language used to parse condition from field `condition`. Available languages:
    // * **JMESPATH** an extended JMESPath language syntax.
    ConditionLanguage WebAppFirewallPolicyRuleConditionLanguageEnum `mandatory:"false" json:"conditionLanguage,omitempty"`
}

func (AccessControlRule) GetActionName

func (m AccessControlRule) GetActionName() *string

GetActionName returns ActionName

func (AccessControlRule) GetCondition

func (m AccessControlRule) GetCondition() *string

GetCondition returns Condition

func (AccessControlRule) GetConditionLanguage

func (m AccessControlRule) GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum

GetConditionLanguage returns ConditionLanguage

func (AccessControlRule) GetName

func (m AccessControlRule) GetName() *string

GetName returns Name

func (AccessControlRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (AccessControlRule) String

func (m AccessControlRule) String() string

func (AccessControlRule) ValidateEnumValue

func (m AccessControlRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type Action

Action An object that represents action and its options. The action can be terminating, if it stops further execution of rules and modules. And non-terminating, if it does not interrupt execution flow.

type Action interface {

    // Action name. Can be used to reference the action.
    GetName() *string
}

type ActionTypeEnum

ActionTypeEnum Enum with underlying type: string

type ActionTypeEnum string

Set of constants representing the allowable values for ActionTypeEnum

const (
    ActionTypeCheck              ActionTypeEnum = "CHECK"
    ActionTypeAllow              ActionTypeEnum = "ALLOW"
    ActionTypeReturnHttpResponse ActionTypeEnum = "RETURN_HTTP_RESPONSE"
)

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type AllowAction

AllowAction An object that represents an action which upon matching rule skips all remaining rules in the current module.

type AllowAction struct {

    // Action name. Can be used to reference the action.
    Name *string `mandatory:"true" json:"name"`
}

func (AllowAction) GetName

func (m AllowAction) GetName() *string

GetName returns Name

func (AllowAction) MarshalJSON

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

MarshalJSON marshals to json representation

func (AllowAction) String

func (m AllowAction) String() string

func (AllowAction) ValidateEnumValue

func (m AllowAction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type BackendTypeEnum

BackendTypeEnum Enum with underlying type: string

type BackendTypeEnum string

Set of constants representing the allowable values for BackendTypeEnum

const (
    BackendTypeLoadBalancer BackendTypeEnum = "LOAD_BALANCER"
)

func GetBackendTypeEnumValues

func GetBackendTypeEnumValues() []BackendTypeEnum

GetBackendTypeEnumValues Enumerates the set of values for BackendTypeEnum

func GetMappingBackendTypeEnum

func GetMappingBackendTypeEnum(val string) (BackendTypeEnum, bool)

GetMappingBackendTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ChangeNetworkAddressListCompartmentDetails

ChangeNetworkAddressListCompartmentDetails Updates compartmentId of resource.

type ChangeNetworkAddressListCompartmentDetails 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"`
}

func (ChangeNetworkAddressListCompartmentDetails) String

func (m ChangeNetworkAddressListCompartmentDetails) String() string

func (ChangeNetworkAddressListCompartmentDetails) ValidateEnumValue

func (m ChangeNetworkAddressListCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeNetworkAddressListCompartmentRequest

ChangeNetworkAddressListCompartmentRequest wrapper for the ChangeNetworkAddressListCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ChangeNetworkAddressListCompartment.go.html to see an example of how to use ChangeNetworkAddressListCompartmentRequest.

type ChangeNetworkAddressListCompartmentRequest struct {

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

    // The information to be updated.
    ChangeNetworkAddressListCompartmentDetails `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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (ChangeNetworkAddressListCompartmentRequest) BinaryRequestBody

func (request ChangeNetworkAddressListCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeNetworkAddressListCompartmentRequest) HTTPRequest

func (request ChangeNetworkAddressListCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeNetworkAddressListCompartmentRequest) RetryPolicy

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

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

func (ChangeNetworkAddressListCompartmentRequest) String

func (request ChangeNetworkAddressListCompartmentRequest) String() string

func (ChangeNetworkAddressListCompartmentRequest) ValidateEnumValue

func (request ChangeNetworkAddressListCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeNetworkAddressListCompartmentResponse

ChangeNetworkAddressListCompartmentResponse wrapper for the ChangeNetworkAddressListCompartment operation

type ChangeNetworkAddressListCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (ChangeNetworkAddressListCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkAddressListCompartmentResponse) String

func (response ChangeNetworkAddressListCompartmentResponse) String() string

type ChangeResourceCompartmentDetails

ChangeResourceCompartmentDetails Updates compartmentId of resource.

type ChangeResourceCompartmentDetails 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"`
}

func (ChangeResourceCompartmentDetails) String

func (m ChangeResourceCompartmentDetails) String() string

func (ChangeResourceCompartmentDetails) ValidateEnumValue

func (m ChangeResourceCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeWebAppFirewallCompartmentDetails

ChangeWebAppFirewallCompartmentDetails Updates compartmentId of resource.

type ChangeWebAppFirewallCompartmentDetails 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"`
}

func (ChangeWebAppFirewallCompartmentDetails) String

func (m ChangeWebAppFirewallCompartmentDetails) String() string

func (ChangeWebAppFirewallCompartmentDetails) ValidateEnumValue

func (m ChangeWebAppFirewallCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeWebAppFirewallCompartmentRequest

ChangeWebAppFirewallCompartmentRequest wrapper for the ChangeWebAppFirewallCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ChangeWebAppFirewallCompartment.go.html to see an example of how to use ChangeWebAppFirewallCompartmentRequest.

type ChangeWebAppFirewallCompartmentRequest struct {

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

    // The information to be updated.
    ChangeWebAppFirewallCompartmentDetails `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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (ChangeWebAppFirewallCompartmentRequest) BinaryRequestBody

func (request ChangeWebAppFirewallCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeWebAppFirewallCompartmentRequest) HTTPRequest

func (request ChangeWebAppFirewallCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeWebAppFirewallCompartmentRequest) RetryPolicy

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

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

func (ChangeWebAppFirewallCompartmentRequest) String

func (request ChangeWebAppFirewallCompartmentRequest) String() string

func (ChangeWebAppFirewallCompartmentRequest) ValidateEnumValue

func (request ChangeWebAppFirewallCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeWebAppFirewallCompartmentResponse

ChangeWebAppFirewallCompartmentResponse wrapper for the ChangeWebAppFirewallCompartment operation

type ChangeWebAppFirewallCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (ChangeWebAppFirewallCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeWebAppFirewallCompartmentResponse) String

func (response ChangeWebAppFirewallCompartmentResponse) String() string

type ChangeWebAppFirewallPolicyCompartmentDetails

ChangeWebAppFirewallPolicyCompartmentDetails Updates compartmentId of resource.

type ChangeWebAppFirewallPolicyCompartmentDetails 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"`
}

func (ChangeWebAppFirewallPolicyCompartmentDetails) String

func (m ChangeWebAppFirewallPolicyCompartmentDetails) String() string

func (ChangeWebAppFirewallPolicyCompartmentDetails) ValidateEnumValue

func (m ChangeWebAppFirewallPolicyCompartmentDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeWebAppFirewallPolicyCompartmentRequest

ChangeWebAppFirewallPolicyCompartmentRequest wrapper for the ChangeWebAppFirewallPolicyCompartment operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ChangeWebAppFirewallPolicyCompartment.go.html to see an example of how to use ChangeWebAppFirewallPolicyCompartmentRequest.

type ChangeWebAppFirewallPolicyCompartmentRequest struct {

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

    // The information to be updated.
    ChangeWebAppFirewallPolicyCompartmentDetails `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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (ChangeWebAppFirewallPolicyCompartmentRequest) BinaryRequestBody

func (request ChangeWebAppFirewallPolicyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeWebAppFirewallPolicyCompartmentRequest) HTTPRequest

func (request ChangeWebAppFirewallPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeWebAppFirewallPolicyCompartmentRequest) RetryPolicy

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

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

func (ChangeWebAppFirewallPolicyCompartmentRequest) String

func (request ChangeWebAppFirewallPolicyCompartmentRequest) String() string

func (ChangeWebAppFirewallPolicyCompartmentRequest) ValidateEnumValue

func (request ChangeWebAppFirewallPolicyCompartmentRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ChangeWebAppFirewallPolicyCompartmentResponse

ChangeWebAppFirewallPolicyCompartmentResponse wrapper for the ChangeWebAppFirewallPolicyCompartment operation

type ChangeWebAppFirewallPolicyCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (ChangeWebAppFirewallPolicyCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeWebAppFirewallPolicyCompartmentResponse) String

func (response ChangeWebAppFirewallPolicyCompartmentResponse) String() string

type CheckAction

CheckAction An object that represents an action which does not stop the execution of rules in current module, just emits a log message documenting result of rule execution.

type CheckAction struct {

    // Action name. Can be used to reference the action.
    Name *string `mandatory:"true" json:"name"`
}

func (CheckAction) GetName

func (m CheckAction) GetName() *string

GetName returns Name

func (CheckAction) MarshalJSON

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

MarshalJSON marshals to json representation

func (CheckAction) String

func (m CheckAction) String() string

func (CheckAction) ValidateEnumValue

func (m CheckAction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CollaborativeCapabilityWeight

CollaborativeCapabilityWeight Defines how much a contributing capability contributes towards the action threshold of a collaborative protection capability.

type CollaborativeCapabilityWeight struct {

    // Unique key of contributing protection capability.
    Key *string `mandatory:"true" json:"key"`

    // The display name of contributing protection capability.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The weight of contributing protection capability.
    Weight *int `mandatory:"true" json:"weight"`
}

func (CollaborativeCapabilityWeight) String

func (m CollaborativeCapabilityWeight) String() string

func (CollaborativeCapabilityWeight) ValidateEnumValue

func (m CollaborativeCapabilityWeight) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CollaborativeCapabilityWeightOverride

CollaborativeCapabilityWeightOverride Collaborative capability key and overriding weight.

type CollaborativeCapabilityWeightOverride struct {

    // Unique key of collaborative capability for which weight will be overridden.
    Key *string `mandatory:"true" json:"key"`

    // The value of weight to set.
    Weight *int `mandatory:"true" json:"weight"`
}

func (CollaborativeCapabilityWeightOverride) String

func (m CollaborativeCapabilityWeightOverride) String() string

func (CollaborativeCapabilityWeightOverride) ValidateEnumValue

func (m CollaborativeCapabilityWeightOverride) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNetworkAddressListAddressesDetails

CreateNetworkAddressListAddressesDetails The information about new NetworkAddressListAddresses.

type CreateNetworkAddressListAddressesDetails struct {

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

    // A list of IP address prefixes in CIDR notation.
    // To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    Addresses []string `mandatory:"true" json:"addresses"`

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CreateNetworkAddressListAddressesDetails) GetCompartmentId

func (m CreateNetworkAddressListAddressesDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateNetworkAddressListAddressesDetails) GetDefinedTags

func (m CreateNetworkAddressListAddressesDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateNetworkAddressListAddressesDetails) GetDisplayName

func (m CreateNetworkAddressListAddressesDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateNetworkAddressListAddressesDetails) GetFreeformTags

func (m CreateNetworkAddressListAddressesDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateNetworkAddressListAddressesDetails) GetSystemTags

func (m CreateNetworkAddressListAddressesDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (CreateNetworkAddressListAddressesDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateNetworkAddressListAddressesDetails) String

func (m CreateNetworkAddressListAddressesDetails) String() string

func (CreateNetworkAddressListAddressesDetails) ValidateEnumValue

func (m CreateNetworkAddressListAddressesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNetworkAddressListDetails

CreateNetworkAddressListDetails The information about new NetworkAddressList.

type CreateNetworkAddressListDetails interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    GetCompartmentId() *string

    // NetworkAddressList display name, can be renamed.
    GetDisplayName() *string

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}
}

type CreateNetworkAddressListDetailsTypeEnum

CreateNetworkAddressListDetailsTypeEnum Enum with underlying type: string

type CreateNetworkAddressListDetailsTypeEnum string

Set of constants representing the allowable values for CreateNetworkAddressListDetailsTypeEnum

const (
    CreateNetworkAddressListDetailsTypeAddresses    CreateNetworkAddressListDetailsTypeEnum = "ADDRESSES"
    CreateNetworkAddressListDetailsTypeVcnAddresses CreateNetworkAddressListDetailsTypeEnum = "VCN_ADDRESSES"
)

func GetCreateNetworkAddressListDetailsTypeEnumValues

func GetCreateNetworkAddressListDetailsTypeEnumValues() []CreateNetworkAddressListDetailsTypeEnum

GetCreateNetworkAddressListDetailsTypeEnumValues Enumerates the set of values for CreateNetworkAddressListDetailsTypeEnum

func GetMappingCreateNetworkAddressListDetailsTypeEnum

func GetMappingCreateNetworkAddressListDetailsTypeEnum(val string) (CreateNetworkAddressListDetailsTypeEnum, bool)

GetMappingCreateNetworkAddressListDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateNetworkAddressListRequest

CreateNetworkAddressListRequest wrapper for the CreateNetworkAddressList operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/CreateNetworkAddressList.go.html to see an example of how to use CreateNetworkAddressListRequest.

type CreateNetworkAddressListRequest struct {

    // Details for the new NetworkAddressList.
    CreateNetworkAddressListDetails `contributesTo:"body"`

    // 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. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateNetworkAddressListRequest) BinaryRequestBody

func (request CreateNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateNetworkAddressListRequest) HTTPRequest

func (request CreateNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateNetworkAddressListRequest) RetryPolicy

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

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

func (CreateNetworkAddressListRequest) String

func (request CreateNetworkAddressListRequest) String() string

func (CreateNetworkAddressListRequest) ValidateEnumValue

func (request CreateNetworkAddressListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateNetworkAddressListResponse

CreateNetworkAddressListResponse wrapper for the CreateNetworkAddressList operation

type CreateNetworkAddressListResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`

    // Location of the resource.
    Location *string `presentIn:"header" name:"location"`

    // Content Location of the resource.
    ContentLocation *string `presentIn:"header" name:"content-location"`
}

func (CreateNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNetworkAddressListResponse) String

func (response CreateNetworkAddressListResponse) String() string

type CreateNetworkAddressListVcnAddressesDetails

CreateNetworkAddressListVcnAddressesDetails The information about new NetworkAddressListVcnAddresses.

type CreateNetworkAddressListVcnAddressesDetails struct {

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

    // A list of private address prefixes, each associated with a particular VCN.
    // To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    VcnAddresses []PrivateAddresses `mandatory:"true" json:"vcnAddresses"`

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CreateNetworkAddressListVcnAddressesDetails) GetCompartmentId

func (m CreateNetworkAddressListVcnAddressesDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateNetworkAddressListVcnAddressesDetails) GetDefinedTags

func (m CreateNetworkAddressListVcnAddressesDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateNetworkAddressListVcnAddressesDetails) GetDisplayName

func (m CreateNetworkAddressListVcnAddressesDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateNetworkAddressListVcnAddressesDetails) GetFreeformTags

func (m CreateNetworkAddressListVcnAddressesDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateNetworkAddressListVcnAddressesDetails) GetSystemTags

func (m CreateNetworkAddressListVcnAddressesDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (CreateNetworkAddressListVcnAddressesDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateNetworkAddressListVcnAddressesDetails) String

func (m CreateNetworkAddressListVcnAddressesDetails) String() string

func (CreateNetworkAddressListVcnAddressesDetails) ValidateEnumValue

func (m CreateNetworkAddressListVcnAddressesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWebAppFirewallDetails

CreateWebAppFirewallDetails The information about new Web App Firewall.

type CreateWebAppFirewallDetails interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    GetCompartmentId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource.
    GetWebAppFirewallPolicyId() *string

    // WebAppFirewall display name, can be renamed.
    GetDisplayName() *string

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}
}

type CreateWebAppFirewallLoadBalancerDetails

CreateWebAppFirewallLoadBalancerDetails The information about new WebAppFirewallLoadBalancer.

type CreateWebAppFirewallLoadBalancerDetails struct {

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

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource.
    WebAppFirewallPolicyId *string `mandatory:"true" json:"webAppFirewallPolicyId"`

    // LoadBalancer OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to which the WebAppFirewallPolicy is attached to.
    LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

    // WebAppFirewall display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CreateWebAppFirewallLoadBalancerDetails) GetCompartmentId

func (m CreateWebAppFirewallLoadBalancerDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateWebAppFirewallLoadBalancerDetails) GetDefinedTags

func (m CreateWebAppFirewallLoadBalancerDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateWebAppFirewallLoadBalancerDetails) GetDisplayName

func (m CreateWebAppFirewallLoadBalancerDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (CreateWebAppFirewallLoadBalancerDetails) GetFreeformTags

func (m CreateWebAppFirewallLoadBalancerDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateWebAppFirewallLoadBalancerDetails) GetSystemTags

func (m CreateWebAppFirewallLoadBalancerDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (CreateWebAppFirewallLoadBalancerDetails) GetWebAppFirewallPolicyId

func (m CreateWebAppFirewallLoadBalancerDetails) GetWebAppFirewallPolicyId() *string

GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId

func (CreateWebAppFirewallLoadBalancerDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateWebAppFirewallLoadBalancerDetails) String

func (m CreateWebAppFirewallLoadBalancerDetails) String() string

func (CreateWebAppFirewallLoadBalancerDetails) ValidateEnumValue

func (m CreateWebAppFirewallLoadBalancerDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWebAppFirewallPolicyDetails

CreateWebAppFirewallPolicyDetails The information about new WebAppFirewallPolicy.

type CreateWebAppFirewallPolicyDetails struct {

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

    // WebAppFirewallPolicy display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Predefined actions for use in multiple different rules. Not all actions are supported in every module.
    // Some actions terminate further execution of modules and rules in a module and some do not.
    // Actions names must be unique within this array.
    Actions []Action `mandatory:"false" json:"actions"`

    RequestAccessControl *RequestAccessControl `mandatory:"false" json:"requestAccessControl"`

    RequestRateLimiting *RequestRateLimiting `mandatory:"false" json:"requestRateLimiting"`

    RequestProtection *RequestProtection `mandatory:"false" json:"requestProtection"`

    ResponseAccessControl *ResponseAccessControl `mandatory:"false" json:"responseAccessControl"`

    ResponseProtection *ResponseProtection `mandatory:"false" json:"responseProtection"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CreateWebAppFirewallPolicyDetails) String

func (m CreateWebAppFirewallPolicyDetails) String() string

func (*CreateWebAppFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateWebAppFirewallPolicyDetails) ValidateEnumValue

func (m CreateWebAppFirewallPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWebAppFirewallPolicyRequest

CreateWebAppFirewallPolicyRequest wrapper for the CreateWebAppFirewallPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/CreateWebAppFirewallPolicy.go.html to see an example of how to use CreateWebAppFirewallPolicyRequest.

type CreateWebAppFirewallPolicyRequest struct {

    // Details for the new WebAppFirewallPolicy.
    CreateWebAppFirewallPolicyDetails `contributesTo:"body"`

    // 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. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateWebAppFirewallPolicyRequest) BinaryRequestBody

func (request CreateWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateWebAppFirewallPolicyRequest) HTTPRequest

func (request CreateWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateWebAppFirewallPolicyRequest) RetryPolicy

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

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

func (CreateWebAppFirewallPolicyRequest) String

func (request CreateWebAppFirewallPolicyRequest) String() string

func (CreateWebAppFirewallPolicyRequest) ValidateEnumValue

func (request CreateWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWebAppFirewallPolicyResponse

CreateWebAppFirewallPolicyResponse wrapper for the CreateWebAppFirewallPolicy operation

type CreateWebAppFirewallPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`

    // Location of the resource.
    Location *string `presentIn:"header" name:"location"`

    // Content Location of the resource.
    ContentLocation *string `presentIn:"header" name:"content-location"`
}

func (CreateWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateWebAppFirewallPolicyResponse) String

func (response CreateWebAppFirewallPolicyResponse) String() string

type CreateWebAppFirewallRequest

CreateWebAppFirewallRequest wrapper for the CreateWebAppFirewall operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/CreateWebAppFirewall.go.html to see an example of how to use CreateWebAppFirewallRequest.

type CreateWebAppFirewallRequest struct {

    // Details for the new Web App Firewall.
    CreateWebAppFirewallDetails `contributesTo:"body"`

    // 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. For example, if a resource
    // has been deleted and purged from the system, then a retry of the original creation request might be rejected.
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // The client request ID for tracing.
    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
}

func (CreateWebAppFirewallRequest) BinaryRequestBody

func (request CreateWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateWebAppFirewallRequest) HTTPRequest

func (request CreateWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateWebAppFirewallRequest) RetryPolicy

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

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

func (CreateWebAppFirewallRequest) String

func (request CreateWebAppFirewallRequest) String() string

func (CreateWebAppFirewallRequest) ValidateEnumValue

func (request CreateWebAppFirewallRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type CreateWebAppFirewallResponse

CreateWebAppFirewallResponse wrapper for the CreateWebAppFirewall operation

type CreateWebAppFirewallResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`

    // Location of the resource.
    Location *string `presentIn:"header" name:"location"`

    // Content Location of the resource.
    ContentLocation *string `presentIn:"header" name:"content-location"`
}

func (CreateWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateWebAppFirewallResponse) String

func (response CreateWebAppFirewallResponse) String() string

type DeleteNetworkAddressListRequest

DeleteNetworkAddressListRequest wrapper for the DeleteNetworkAddressList operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/DeleteNetworkAddressList.go.html to see an example of how to use DeleteNetworkAddressListRequest.

type DeleteNetworkAddressListRequest struct {

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

    // 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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (DeleteNetworkAddressListRequest) BinaryRequestBody

func (request DeleteNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteNetworkAddressListRequest) HTTPRequest

func (request DeleteNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteNetworkAddressListRequest) RetryPolicy

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

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

func (DeleteNetworkAddressListRequest) String

func (request DeleteNetworkAddressListRequest) String() string

func (DeleteNetworkAddressListRequest) ValidateEnumValue

func (request DeleteNetworkAddressListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteNetworkAddressListResponse

DeleteNetworkAddressListResponse wrapper for the DeleteNetworkAddressList operation

type DeleteNetworkAddressListResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (DeleteNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkAddressListResponse) String

func (response DeleteNetworkAddressListResponse) String() string

type DeleteWebAppFirewallPolicyRequest

DeleteWebAppFirewallPolicyRequest wrapper for the DeleteWebAppFirewallPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/DeleteWebAppFirewallPolicy.go.html to see an example of how to use DeleteWebAppFirewallPolicyRequest.

type DeleteWebAppFirewallPolicyRequest struct {

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

    // 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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (DeleteWebAppFirewallPolicyRequest) BinaryRequestBody

func (request DeleteWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteWebAppFirewallPolicyRequest) HTTPRequest

func (request DeleteWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWebAppFirewallPolicyRequest) RetryPolicy

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

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

func (DeleteWebAppFirewallPolicyRequest) String

func (request DeleteWebAppFirewallPolicyRequest) String() string

func (DeleteWebAppFirewallPolicyRequest) ValidateEnumValue

func (request DeleteWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteWebAppFirewallPolicyResponse

DeleteWebAppFirewallPolicyResponse wrapper for the DeleteWebAppFirewallPolicy operation

type DeleteWebAppFirewallPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (DeleteWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWebAppFirewallPolicyResponse) String

func (response DeleteWebAppFirewallPolicyResponse) String() string

type DeleteWebAppFirewallRequest

DeleteWebAppFirewallRequest wrapper for the DeleteWebAppFirewall operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/DeleteWebAppFirewall.go.html to see an example of how to use DeleteWebAppFirewallRequest.

type DeleteWebAppFirewallRequest struct {

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

    // 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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (DeleteWebAppFirewallRequest) BinaryRequestBody

func (request DeleteWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteWebAppFirewallRequest) HTTPRequest

func (request DeleteWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteWebAppFirewallRequest) RetryPolicy

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

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

func (DeleteWebAppFirewallRequest) String

func (request DeleteWebAppFirewallRequest) String() string

func (DeleteWebAppFirewallRequest) ValidateEnumValue

func (request DeleteWebAppFirewallRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type DeleteWebAppFirewallResponse

DeleteWebAppFirewallResponse wrapper for the DeleteWebAppFirewall operation

type DeleteWebAppFirewallResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (DeleteWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWebAppFirewallResponse) String

func (response DeleteWebAppFirewallResponse) String() string

type GetNetworkAddressListRequest

GetNetworkAddressListRequest wrapper for the GetNetworkAddressList operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetNetworkAddressList.go.html to see an example of how to use GetNetworkAddressListRequest.

type GetNetworkAddressListRequest struct {

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

    // The client request ID for tracing.
    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
}

func (GetNetworkAddressListRequest) BinaryRequestBody

func (request GetNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkAddressListRequest) HTTPRequest

func (request GetNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetNetworkAddressListRequest) RetryPolicy

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

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

func (GetNetworkAddressListRequest) String

func (request GetNetworkAddressListRequest) String() string

func (GetNetworkAddressListRequest) ValidateEnumValue

func (request GetNetworkAddressListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetNetworkAddressListResponse

GetNetworkAddressListResponse wrapper for the GetNetworkAddressList operation

type GetNetworkAddressListResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNetworkAddressListResponse) String

func (response GetNetworkAddressListResponse) String() string

type GetWebAppFirewallPolicyRequest

GetWebAppFirewallPolicyRequest wrapper for the GetWebAppFirewallPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetWebAppFirewallPolicy.go.html to see an example of how to use GetWebAppFirewallPolicyRequest.

type GetWebAppFirewallPolicyRequest struct {

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

    // The client request ID for tracing.
    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
}

func (GetWebAppFirewallPolicyRequest) BinaryRequestBody

func (request GetWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWebAppFirewallPolicyRequest) HTTPRequest

func (request GetWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWebAppFirewallPolicyRequest) RetryPolicy

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

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

func (GetWebAppFirewallPolicyRequest) String

func (request GetWebAppFirewallPolicyRequest) String() string

func (GetWebAppFirewallPolicyRequest) ValidateEnumValue

func (request GetWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWebAppFirewallPolicyResponse

GetWebAppFirewallPolicyResponse wrapper for the GetWebAppFirewallPolicy operation

type GetWebAppFirewallPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWebAppFirewallPolicyResponse) String

func (response GetWebAppFirewallPolicyResponse) String() string

type GetWebAppFirewallRequest

GetWebAppFirewallRequest wrapper for the GetWebAppFirewall operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetWebAppFirewall.go.html to see an example of how to use GetWebAppFirewallRequest.

type GetWebAppFirewallRequest struct {

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

    // The client request ID for tracing.
    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
}

func (GetWebAppFirewallRequest) BinaryRequestBody

func (request GetWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWebAppFirewallRequest) HTTPRequest

func (request GetWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWebAppFirewallRequest) RetryPolicy

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

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

func (GetWebAppFirewallRequest) String

func (request GetWebAppFirewallRequest) String() string

func (GetWebAppFirewallRequest) ValidateEnumValue

func (request GetWebAppFirewallRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWebAppFirewallResponse

GetWebAppFirewallResponse wrapper for the GetWebAppFirewall operation

type GetWebAppFirewallResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

    // 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"`
}

func (GetWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWebAppFirewallResponse) String

func (response GetWebAppFirewallResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.

type GetWorkRequestRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    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
}

func (GetWorkRequestRequest) BinaryRequestBody

func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // 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"`

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

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HttpResponseBody

HttpResponseBody Type of returned HTTP response body.

type HttpResponseBody interface {
}

type HttpResponseBodyTypeEnum

HttpResponseBodyTypeEnum Enum with underlying type: string

type HttpResponseBodyTypeEnum string

Set of constants representing the allowable values for HttpResponseBodyTypeEnum

const (
    HttpResponseBodyTypeStaticText HttpResponseBodyTypeEnum = "STATIC_TEXT"
)

func GetHttpResponseBodyTypeEnumValues

func GetHttpResponseBodyTypeEnumValues() []HttpResponseBodyTypeEnum

GetHttpResponseBodyTypeEnumValues Enumerates the set of values for HttpResponseBodyTypeEnum

func GetMappingHttpResponseBodyTypeEnum

func GetMappingHttpResponseBodyTypeEnum(val string) (HttpResponseBodyTypeEnum, bool)

GetMappingHttpResponseBodyTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkAddressListsRequest

ListNetworkAddressListsRequest wrapper for the ListNetworkAddressLists operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListNetworkAddressLists.go.html to see an example of how to use ListNetworkAddressListsRequest.

type ListNetworkAddressListsRequest struct {

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

    // A filter to return only resources that match the given lifecycleState.
    LifecycleState []NetworkAddressListLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return only the NetworkAddressList with the given OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListNetworkAddressListsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided.
    // Default order for timeCreated is descending.
    // Default order for displayName is ascending.
    // If no value is specified timeCreated is default.
    SortBy ListNetworkAddressListsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListNetworkAddressListsRequest) BinaryRequestBody

func (request ListNetworkAddressListsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkAddressListsRequest) HTTPRequest

func (request ListNetworkAddressListsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListNetworkAddressListsRequest) RetryPolicy

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

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

func (ListNetworkAddressListsRequest) String

func (request ListNetworkAddressListsRequest) String() string

func (ListNetworkAddressListsRequest) ValidateEnumValue

func (request ListNetworkAddressListsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListNetworkAddressListsResponse

ListNetworkAddressListsResponse wrapper for the ListNetworkAddressLists operation

type ListNetworkAddressListsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of NetworkAddressListCollection instances
    NetworkAddressListCollection `presentIn:"body"`

    // 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"`
}

func (ListNetworkAddressListsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNetworkAddressListsResponse) String

func (response ListNetworkAddressListsResponse) String() string

type ListNetworkAddressListsSortByEnum

ListNetworkAddressListsSortByEnum Enum with underlying type: string

type ListNetworkAddressListsSortByEnum string

Set of constants representing the allowable values for ListNetworkAddressListsSortByEnum

const (
    ListNetworkAddressListsSortByTimecreated ListNetworkAddressListsSortByEnum = "timeCreated"
    ListNetworkAddressListsSortByDisplayname ListNetworkAddressListsSortByEnum = "displayName"
)

func GetListNetworkAddressListsSortByEnumValues

func GetListNetworkAddressListsSortByEnumValues() []ListNetworkAddressListsSortByEnum

GetListNetworkAddressListsSortByEnumValues Enumerates the set of values for ListNetworkAddressListsSortByEnum

func GetMappingListNetworkAddressListsSortByEnum

func GetMappingListNetworkAddressListsSortByEnum(val string) (ListNetworkAddressListsSortByEnum, bool)

GetMappingListNetworkAddressListsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListNetworkAddressListsSortOrderEnum

ListNetworkAddressListsSortOrderEnum Enum with underlying type: string

type ListNetworkAddressListsSortOrderEnum string

Set of constants representing the allowable values for ListNetworkAddressListsSortOrderEnum

const (
    ListNetworkAddressListsSortOrderAsc  ListNetworkAddressListsSortOrderEnum = "ASC"
    ListNetworkAddressListsSortOrderDesc ListNetworkAddressListsSortOrderEnum = "DESC"
)

func GetListNetworkAddressListsSortOrderEnumValues

func GetListNetworkAddressListsSortOrderEnumValues() []ListNetworkAddressListsSortOrderEnum

GetListNetworkAddressListsSortOrderEnumValues Enumerates the set of values for ListNetworkAddressListsSortOrderEnum

func GetMappingListNetworkAddressListsSortOrderEnum

func GetMappingListNetworkAddressListsSortOrderEnum(val string) (ListNetworkAddressListsSortOrderEnum, bool)

GetMappingListNetworkAddressListsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProtectionCapabilitiesRequest

ListProtectionCapabilitiesRequest wrapper for the ListProtectionCapabilities operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListProtectionCapabilities.go.html to see an example of how to use ListProtectionCapabilitiesRequest.

type ListProtectionCapabilitiesRequest struct {

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The unique key of protection capability to filter by.
    Key *string `mandatory:"false" contributesTo:"query" name:"key"`

    // A filter to return only resources that matches given isLatestVersion.
    IsLatestVersion []bool `contributesTo:"query" name:"isLatestVersion" collectionFormat:"multi"`

    // A filter to return only resources that matches given type.
    Type ProtectionCapabilitySummaryTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

    // A filter to return only resources that are accociated given group tag.
    GroupTag []string `contributesTo:"query" name:"groupTag" collectionFormat:"multi"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListProtectionCapabilitiesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided.
    // Default order for key is descending.
    // Default order for type is descending.
    // Default order for displayName is ascending.
    // If no value is specified key is default.
    SortBy ListProtectionCapabilitiesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" 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
}

func (ListProtectionCapabilitiesRequest) BinaryRequestBody

func (request ListProtectionCapabilitiesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProtectionCapabilitiesRequest) HTTPRequest

func (request ListProtectionCapabilitiesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProtectionCapabilitiesRequest) RetryPolicy

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

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

func (ListProtectionCapabilitiesRequest) String

func (request ListProtectionCapabilitiesRequest) String() string

func (ListProtectionCapabilitiesRequest) ValidateEnumValue

func (request ListProtectionCapabilitiesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProtectionCapabilitiesResponse

ListProtectionCapabilitiesResponse wrapper for the ListProtectionCapabilities operation

type ListProtectionCapabilitiesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ProtectionCapabilityCollection instances
    ProtectionCapabilityCollection `presentIn:"body"`

    // 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"`
}

func (ListProtectionCapabilitiesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProtectionCapabilitiesResponse) String

func (response ListProtectionCapabilitiesResponse) String() string

type ListProtectionCapabilitiesSortByEnum

ListProtectionCapabilitiesSortByEnum Enum with underlying type: string

type ListProtectionCapabilitiesSortByEnum string

Set of constants representing the allowable values for ListProtectionCapabilitiesSortByEnum

const (
    ListProtectionCapabilitiesSortByKey         ListProtectionCapabilitiesSortByEnum = "key"
    ListProtectionCapabilitiesSortByType        ListProtectionCapabilitiesSortByEnum = "type"
    ListProtectionCapabilitiesSortByDisplayname ListProtectionCapabilitiesSortByEnum = "displayName"
)

func GetListProtectionCapabilitiesSortByEnumValues

func GetListProtectionCapabilitiesSortByEnumValues() []ListProtectionCapabilitiesSortByEnum

GetListProtectionCapabilitiesSortByEnumValues Enumerates the set of values for ListProtectionCapabilitiesSortByEnum

func GetMappingListProtectionCapabilitiesSortByEnum

func GetMappingListProtectionCapabilitiesSortByEnum(val string) (ListProtectionCapabilitiesSortByEnum, bool)

GetMappingListProtectionCapabilitiesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProtectionCapabilitiesSortOrderEnum

ListProtectionCapabilitiesSortOrderEnum Enum with underlying type: string

type ListProtectionCapabilitiesSortOrderEnum string

Set of constants representing the allowable values for ListProtectionCapabilitiesSortOrderEnum

const (
    ListProtectionCapabilitiesSortOrderAsc  ListProtectionCapabilitiesSortOrderEnum = "ASC"
    ListProtectionCapabilitiesSortOrderDesc ListProtectionCapabilitiesSortOrderEnum = "DESC"
)

func GetListProtectionCapabilitiesSortOrderEnumValues

func GetListProtectionCapabilitiesSortOrderEnumValues() []ListProtectionCapabilitiesSortOrderEnum

GetListProtectionCapabilitiesSortOrderEnumValues Enumerates the set of values for ListProtectionCapabilitiesSortOrderEnum

func GetMappingListProtectionCapabilitiesSortOrderEnum

func GetMappingListProtectionCapabilitiesSortOrderEnum(val string) (ListProtectionCapabilitiesSortOrderEnum, bool)

GetMappingListProtectionCapabilitiesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProtectionCapabilityGroupTagsRequest

ListProtectionCapabilityGroupTagsRequest wrapper for the ListProtectionCapabilityGroupTags operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListProtectionCapabilityGroupTags.go.html to see an example of how to use ListProtectionCapabilityGroupTagsRequest.

type ListProtectionCapabilityGroupTagsRequest struct {

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A filter to return only resources that matches given type.
    Type ProtectionCapabilitySummaryTypeEnum `mandatory:"false" contributesTo:"query" name:"type" omitEmpty:"true"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListProtectionCapabilityGroupTagsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided.
    // Default order for name is ascending.
    // If no value is specified name is default.
    SortBy ListProtectionCapabilityGroupTagsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // A filter to return only resources that match the entire name given.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // 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
}

func (ListProtectionCapabilityGroupTagsRequest) BinaryRequestBody

func (request ListProtectionCapabilityGroupTagsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListProtectionCapabilityGroupTagsRequest) HTTPRequest

func (request ListProtectionCapabilityGroupTagsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListProtectionCapabilityGroupTagsRequest) RetryPolicy

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

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

func (ListProtectionCapabilityGroupTagsRequest) String

func (request ListProtectionCapabilityGroupTagsRequest) String() string

func (ListProtectionCapabilityGroupTagsRequest) ValidateEnumValue

func (request ListProtectionCapabilityGroupTagsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListProtectionCapabilityGroupTagsResponse

ListProtectionCapabilityGroupTagsResponse wrapper for the ListProtectionCapabilityGroupTags operation

type ListProtectionCapabilityGroupTagsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of ProtectionCapabilityGroupTagCollection instances
    ProtectionCapabilityGroupTagCollection `presentIn:"body"`

    // 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"`
}

func (ListProtectionCapabilityGroupTagsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProtectionCapabilityGroupTagsResponse) String

func (response ListProtectionCapabilityGroupTagsResponse) String() string

type ListProtectionCapabilityGroupTagsSortByEnum

ListProtectionCapabilityGroupTagsSortByEnum Enum with underlying type: string

type ListProtectionCapabilityGroupTagsSortByEnum string

Set of constants representing the allowable values for ListProtectionCapabilityGroupTagsSortByEnum

const (
    ListProtectionCapabilityGroupTagsSortByName ListProtectionCapabilityGroupTagsSortByEnum = "name"
)

func GetListProtectionCapabilityGroupTagsSortByEnumValues

func GetListProtectionCapabilityGroupTagsSortByEnumValues() []ListProtectionCapabilityGroupTagsSortByEnum

GetListProtectionCapabilityGroupTagsSortByEnumValues Enumerates the set of values for ListProtectionCapabilityGroupTagsSortByEnum

func GetMappingListProtectionCapabilityGroupTagsSortByEnum

func GetMappingListProtectionCapabilityGroupTagsSortByEnum(val string) (ListProtectionCapabilityGroupTagsSortByEnum, bool)

GetMappingListProtectionCapabilityGroupTagsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListProtectionCapabilityGroupTagsSortOrderEnum

ListProtectionCapabilityGroupTagsSortOrderEnum Enum with underlying type: string

type ListProtectionCapabilityGroupTagsSortOrderEnum string

Set of constants representing the allowable values for ListProtectionCapabilityGroupTagsSortOrderEnum

const (
    ListProtectionCapabilityGroupTagsSortOrderAsc  ListProtectionCapabilityGroupTagsSortOrderEnum = "ASC"
    ListProtectionCapabilityGroupTagsSortOrderDesc ListProtectionCapabilityGroupTagsSortOrderEnum = "DESC"
)

func GetListProtectionCapabilityGroupTagsSortOrderEnumValues

func GetListProtectionCapabilityGroupTagsSortOrderEnumValues() []ListProtectionCapabilityGroupTagsSortOrderEnum

GetListProtectionCapabilityGroupTagsSortOrderEnumValues Enumerates the set of values for ListProtectionCapabilityGroupTagsSortOrderEnum

func GetMappingListProtectionCapabilityGroupTagsSortOrderEnum

func GetMappingListProtectionCapabilityGroupTagsSortOrderEnum(val string) (ListProtectionCapabilityGroupTagsSortOrderEnum, bool)

GetMappingListProtectionCapabilityGroupTagsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWebAppFirewallPoliciesRequest

ListWebAppFirewallPoliciesRequest wrapper for the ListWebAppFirewallPolicies operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWebAppFirewallPolicies.go.html to see an example of how to use ListWebAppFirewallPoliciesRequest.

type ListWebAppFirewallPoliciesRequest struct {

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

    // A filter to return only resources that match the given lifecycleState.
    LifecycleState []WebAppFirewallPolicyLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // A filter to return only the WebAppFirewallPolicy with the given OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWebAppFirewallPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided.
    // Default order for timeCreated is descending.
    // Default order for displayName is ascending.
    // If no value is specified timeCreated is default.
    SortBy ListWebAppFirewallPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListWebAppFirewallPoliciesRequest) BinaryRequestBody

func (request ListWebAppFirewallPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWebAppFirewallPoliciesRequest) HTTPRequest

func (request ListWebAppFirewallPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWebAppFirewallPoliciesRequest) RetryPolicy

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

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

func (ListWebAppFirewallPoliciesRequest) String

func (request ListWebAppFirewallPoliciesRequest) String() string

func (ListWebAppFirewallPoliciesRequest) ValidateEnumValue

func (request ListWebAppFirewallPoliciesRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWebAppFirewallPoliciesResponse

ListWebAppFirewallPoliciesResponse wrapper for the ListWebAppFirewallPolicies operation

type ListWebAppFirewallPoliciesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WebAppFirewallPolicyCollection instances
    WebAppFirewallPolicyCollection `presentIn:"body"`

    // 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"`
}

func (ListWebAppFirewallPoliciesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWebAppFirewallPoliciesResponse) String

func (response ListWebAppFirewallPoliciesResponse) String() string

type ListWebAppFirewallPoliciesSortByEnum

ListWebAppFirewallPoliciesSortByEnum Enum with underlying type: string

type ListWebAppFirewallPoliciesSortByEnum string

Set of constants representing the allowable values for ListWebAppFirewallPoliciesSortByEnum

const (
    ListWebAppFirewallPoliciesSortByTimecreated ListWebAppFirewallPoliciesSortByEnum = "timeCreated"
    ListWebAppFirewallPoliciesSortByDisplayname ListWebAppFirewallPoliciesSortByEnum = "displayName"
)

func GetListWebAppFirewallPoliciesSortByEnumValues

func GetListWebAppFirewallPoliciesSortByEnumValues() []ListWebAppFirewallPoliciesSortByEnum

GetListWebAppFirewallPoliciesSortByEnumValues Enumerates the set of values for ListWebAppFirewallPoliciesSortByEnum

func GetMappingListWebAppFirewallPoliciesSortByEnum

func GetMappingListWebAppFirewallPoliciesSortByEnum(val string) (ListWebAppFirewallPoliciesSortByEnum, bool)

GetMappingListWebAppFirewallPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWebAppFirewallPoliciesSortOrderEnum

ListWebAppFirewallPoliciesSortOrderEnum Enum with underlying type: string

type ListWebAppFirewallPoliciesSortOrderEnum string

Set of constants representing the allowable values for ListWebAppFirewallPoliciesSortOrderEnum

const (
    ListWebAppFirewallPoliciesSortOrderAsc  ListWebAppFirewallPoliciesSortOrderEnum = "ASC"
    ListWebAppFirewallPoliciesSortOrderDesc ListWebAppFirewallPoliciesSortOrderEnum = "DESC"
)

func GetListWebAppFirewallPoliciesSortOrderEnumValues

func GetListWebAppFirewallPoliciesSortOrderEnumValues() []ListWebAppFirewallPoliciesSortOrderEnum

GetListWebAppFirewallPoliciesSortOrderEnumValues Enumerates the set of values for ListWebAppFirewallPoliciesSortOrderEnum

func GetMappingListWebAppFirewallPoliciesSortOrderEnum

func GetMappingListWebAppFirewallPoliciesSortOrderEnum(val string) (ListWebAppFirewallPoliciesSortOrderEnum, bool)

GetMappingListWebAppFirewallPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWebAppFirewallsRequest

ListWebAppFirewallsRequest wrapper for the ListWebAppFirewalls operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWebAppFirewalls.go.html to see an example of how to use ListWebAppFirewallsRequest.

type ListWebAppFirewallsRequest struct {

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

    // A filter to return only the WebAppFirewall with the given OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm).
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // A filter to return only the WebAppFirewall with the given OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of related WebAppFirewallPolicy.
    WebAppFirewallPolicyId *string `mandatory:"false" contributesTo:"query" name:"webAppFirewallPolicyId"`

    // A filter to return only resources that match the given lifecycleState.
    LifecycleState []WebAppFirewallLifecycleStateEnum `contributesTo:"query" name:"lifecycleState" omitEmpty:"true" collectionFormat:"multi"`

    // A filter to return only resources that match the entire display name given.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'ASC' or 'DESC'.
    SortOrder ListWebAppFirewallsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. Only one sort order may be provided.
    // Default order for timeCreated is descending.
    // Default order for displayName is ascending.
    // If no value is specified timeCreated is default.
    SortBy ListWebAppFirewallsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The client request ID for tracing.
    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
}

func (ListWebAppFirewallsRequest) BinaryRequestBody

func (request ListWebAppFirewallsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWebAppFirewallsRequest) HTTPRequest

func (request ListWebAppFirewallsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWebAppFirewallsRequest) RetryPolicy

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

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

func (ListWebAppFirewallsRequest) String

func (request ListWebAppFirewallsRequest) String() string

func (ListWebAppFirewallsRequest) ValidateEnumValue

func (request ListWebAppFirewallsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWebAppFirewallsResponse

ListWebAppFirewallsResponse wrapper for the ListWebAppFirewalls operation

type ListWebAppFirewallsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WebAppFirewallCollection instances
    WebAppFirewallCollection `presentIn:"body"`

    // 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"`
}

func (ListWebAppFirewallsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWebAppFirewallsResponse) String

func (response ListWebAppFirewallsResponse) String() string

type ListWebAppFirewallsSortByEnum

ListWebAppFirewallsSortByEnum Enum with underlying type: string

type ListWebAppFirewallsSortByEnum string

Set of constants representing the allowable values for ListWebAppFirewallsSortByEnum

const (
    ListWebAppFirewallsSortByTimecreated ListWebAppFirewallsSortByEnum = "timeCreated"
    ListWebAppFirewallsSortByDisplayname ListWebAppFirewallsSortByEnum = "displayName"
)

func GetListWebAppFirewallsSortByEnumValues

func GetListWebAppFirewallsSortByEnumValues() []ListWebAppFirewallsSortByEnum

GetListWebAppFirewallsSortByEnumValues Enumerates the set of values for ListWebAppFirewallsSortByEnum

func GetMappingListWebAppFirewallsSortByEnum

func GetMappingListWebAppFirewallsSortByEnum(val string) (ListWebAppFirewallsSortByEnum, bool)

GetMappingListWebAppFirewallsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWebAppFirewallsSortOrderEnum

ListWebAppFirewallsSortOrderEnum Enum with underlying type: string

type ListWebAppFirewallsSortOrderEnum string

Set of constants representing the allowable values for ListWebAppFirewallsSortOrderEnum

const (
    ListWebAppFirewallsSortOrderAsc  ListWebAppFirewallsSortOrderEnum = "ASC"
    ListWebAppFirewallsSortOrderDesc ListWebAppFirewallsSortOrderEnum = "DESC"
)

func GetListWebAppFirewallsSortOrderEnumValues

func GetListWebAppFirewallsSortOrderEnumValues() []ListWebAppFirewallsSortOrderEnum

GetListWebAppFirewallsSortOrderEnumValues Enumerates the set of values for ListWebAppFirewallsSortOrderEnum

func GetMappingListWebAppFirewallsSortOrderEnum

func GetMappingListWebAppFirewallsSortOrderEnum(val string) (ListWebAppFirewallsSortOrderEnum, bool)

GetMappingListWebAppFirewallsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.

type ListWorkRequestErrorsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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
}

func (ListWorkRequestErrorsRequest) BinaryRequestBody

func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestErrorCollection instances
    WorkRequestErrorCollection `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"`

    // 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"`
}

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.

type ListWorkRequestLogsRequest struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous request.
    WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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
}

func (ListWorkRequestLogsRequest) BinaryRequestBody

func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestLogEntryCollection instances
    WorkRequestLogEntryCollection `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"`

    // 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"`
}

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.

type ListWorkRequestsRequest struct {

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

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the asynchronous work request.
    WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // A token representing the position at which to start retrieving results.
    // This must come from the `opc-next-page` header field of a previous response.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // 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
}

func (ListWorkRequestsRequest) BinaryRequestBody

func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of WorkRequestCollection instances
    WorkRequestCollection `presentIn:"body"`

    // 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"`
}

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type NetworkAddressList

NetworkAddressList IP addresses that can be used between different WebAppFirewallPolicies.

type NetworkAddressList interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the NetworkAddressList.
    GetId() *string

    // NetworkAddressList display name, can be renamed.
    GetDisplayName() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    GetCompartmentId() *string

    // The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    GetTimeCreated() *common.SDKTime

    // The current state of the NetworkAddressList.
    GetLifecycleState() NetworkAddressListLifecycleStateEnum

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}

    // The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    GetTimeUpdated() *common.SDKTime

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    GetLifecycleDetails() *string
}

type NetworkAddressListAddresses

NetworkAddressListAddresses A NetworkAddressList that contains addresses.

type NetworkAddressListAddresses struct {

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

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // A list of IP address prefixes in CIDR notation.
    // To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    Addresses []string `mandatory:"true" json:"addresses"`

    // The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the NetworkAddressList.
    LifecycleState NetworkAddressListLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (NetworkAddressListAddresses) GetCompartmentId

func (m NetworkAddressListAddresses) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (NetworkAddressListAddresses) GetDefinedTags

func (m NetworkAddressListAddresses) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (NetworkAddressListAddresses) GetDisplayName

func (m NetworkAddressListAddresses) GetDisplayName() *string

GetDisplayName returns DisplayName

func (NetworkAddressListAddresses) GetFreeformTags

func (m NetworkAddressListAddresses) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (NetworkAddressListAddresses) GetId

func (m NetworkAddressListAddresses) GetId() *string

GetId returns Id

func (NetworkAddressListAddresses) GetLifecycleDetails

func (m NetworkAddressListAddresses) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListAddresses) GetLifecycleState

func (m NetworkAddressListAddresses) GetLifecycleState() NetworkAddressListLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (NetworkAddressListAddresses) GetSystemTags

func (m NetworkAddressListAddresses) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (NetworkAddressListAddresses) GetTimeCreated

func (m NetworkAddressListAddresses) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (NetworkAddressListAddresses) GetTimeUpdated

func (m NetworkAddressListAddresses) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (NetworkAddressListAddresses) MarshalJSON

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

MarshalJSON marshals to json representation

func (NetworkAddressListAddresses) String

func (m NetworkAddressListAddresses) String() string

func (NetworkAddressListAddresses) ValidateEnumValue

func (m NetworkAddressListAddresses) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkAddressListAddressesSummary

NetworkAddressListAddressesSummary Summary of NetworkAddressListAddresses.

type NetworkAddressListAddressesSummary struct {

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

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // A list of IP address prefixes in CIDR notation.
    // To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    Addresses []string `mandatory:"true" json:"addresses"`

    // The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the NetworkAddress List.
    LifecycleState NetworkAddressListLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (NetworkAddressListAddressesSummary) GetCompartmentId

func (m NetworkAddressListAddressesSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (NetworkAddressListAddressesSummary) GetDefinedTags

func (m NetworkAddressListAddressesSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (NetworkAddressListAddressesSummary) GetDisplayName

func (m NetworkAddressListAddressesSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (NetworkAddressListAddressesSummary) GetFreeformTags

func (m NetworkAddressListAddressesSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (NetworkAddressListAddressesSummary) GetId

func (m NetworkAddressListAddressesSummary) GetId() *string

GetId returns Id

func (NetworkAddressListAddressesSummary) GetLifecycleDetails

func (m NetworkAddressListAddressesSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListAddressesSummary) GetLifecycleState

func (m NetworkAddressListAddressesSummary) GetLifecycleState() NetworkAddressListLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (NetworkAddressListAddressesSummary) GetSystemTags

func (m NetworkAddressListAddressesSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (NetworkAddressListAddressesSummary) GetTimeCreated

func (m NetworkAddressListAddressesSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (NetworkAddressListAddressesSummary) GetTimeUpdated

func (m NetworkAddressListAddressesSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (NetworkAddressListAddressesSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (NetworkAddressListAddressesSummary) String

func (m NetworkAddressListAddressesSummary) String() string

func (NetworkAddressListAddressesSummary) ValidateEnumValue

func (m NetworkAddressListAddressesSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkAddressListCollection

NetworkAddressListCollection Contains NetworkAddressListSummary items.

type NetworkAddressListCollection struct {

    // A list of NetworkAddressListSummary objects.
    Items []NetworkAddressListSummary `mandatory:"true" json:"items"`
}

func (NetworkAddressListCollection) String

func (m NetworkAddressListCollection) String() string

func (*NetworkAddressListCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (NetworkAddressListCollection) ValidateEnumValue

func (m NetworkAddressListCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkAddressListLifecycleStateEnum

NetworkAddressListLifecycleStateEnum Enum with underlying type: string

type NetworkAddressListLifecycleStateEnum string

Set of constants representing the allowable values for NetworkAddressListLifecycleStateEnum

const (
    NetworkAddressListLifecycleStateCreating NetworkAddressListLifecycleStateEnum = "CREATING"
    NetworkAddressListLifecycleStateUpdating NetworkAddressListLifecycleStateEnum = "UPDATING"
    NetworkAddressListLifecycleStateActive   NetworkAddressListLifecycleStateEnum = "ACTIVE"
    NetworkAddressListLifecycleStateDeleting NetworkAddressListLifecycleStateEnum = "DELETING"
    NetworkAddressListLifecycleStateDeleted  NetworkAddressListLifecycleStateEnum = "DELETED"
    NetworkAddressListLifecycleStateFailed   NetworkAddressListLifecycleStateEnum = "FAILED"
)

func GetMappingNetworkAddressListLifecycleStateEnum

func GetMappingNetworkAddressListLifecycleStateEnum(val string) (NetworkAddressListLifecycleStateEnum, bool)

GetMappingNetworkAddressListLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkAddressListLifecycleStateEnumValues

func GetNetworkAddressListLifecycleStateEnumValues() []NetworkAddressListLifecycleStateEnum

GetNetworkAddressListLifecycleStateEnumValues Enumerates the set of values for NetworkAddressListLifecycleStateEnum

type NetworkAddressListSummary

NetworkAddressListSummary Summary of NetworkAddressList.

type NetworkAddressListSummary interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the NetworkAddressList.
    GetId() *string

    // NetworkAddressList display name, can be renamed.
    GetDisplayName() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    GetCompartmentId() *string

    // The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    GetTimeCreated() *common.SDKTime

    // The current state of the NetworkAddress List.
    GetLifecycleState() NetworkAddressListLifecycleStateEnum

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}

    // The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    GetTimeUpdated() *common.SDKTime

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    GetLifecycleDetails() *string
}

type NetworkAddressListSummaryTypeEnum

NetworkAddressListSummaryTypeEnum Enum with underlying type: string

type NetworkAddressListSummaryTypeEnum string

Set of constants representing the allowable values for NetworkAddressListSummaryTypeEnum

const (
    NetworkAddressListSummaryTypeAddresses    NetworkAddressListSummaryTypeEnum = "ADDRESSES"
    NetworkAddressListSummaryTypeVcnAddresses NetworkAddressListSummaryTypeEnum = "VCN_ADDRESSES"
)

func GetMappingNetworkAddressListSummaryTypeEnum

func GetMappingNetworkAddressListSummaryTypeEnum(val string) (NetworkAddressListSummaryTypeEnum, bool)

GetMappingNetworkAddressListSummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkAddressListSummaryTypeEnumValues

func GetNetworkAddressListSummaryTypeEnumValues() []NetworkAddressListSummaryTypeEnum

GetNetworkAddressListSummaryTypeEnumValues Enumerates the set of values for NetworkAddressListSummaryTypeEnum

type NetworkAddressListTypeEnum

NetworkAddressListTypeEnum Enum with underlying type: string

type NetworkAddressListTypeEnum string

Set of constants representing the allowable values for NetworkAddressListTypeEnum

const (
    NetworkAddressListTypeAddresses    NetworkAddressListTypeEnum = "ADDRESSES"
    NetworkAddressListTypeVcnAddresses NetworkAddressListTypeEnum = "VCN_ADDRESSES"
)

func GetMappingNetworkAddressListTypeEnum

func GetMappingNetworkAddressListTypeEnum(val string) (NetworkAddressListTypeEnum, bool)

GetMappingNetworkAddressListTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetNetworkAddressListTypeEnumValues

func GetNetworkAddressListTypeEnumValues() []NetworkAddressListTypeEnum

GetNetworkAddressListTypeEnumValues Enumerates the set of values for NetworkAddressListTypeEnum

type NetworkAddressListVcnAddresses

NetworkAddressListVcnAddresses A NetworkAddressList that contains VCN addresses.

type NetworkAddressListVcnAddresses struct {

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

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // A list of private address prefixes, each associated with a particular VCN.
    // To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    VcnAddresses []PrivateAddresses `mandatory:"true" json:"vcnAddresses"`

    // The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the NetworkAddressList.
    LifecycleState NetworkAddressListLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (NetworkAddressListVcnAddresses) GetCompartmentId

func (m NetworkAddressListVcnAddresses) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (NetworkAddressListVcnAddresses) GetDefinedTags

func (m NetworkAddressListVcnAddresses) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (NetworkAddressListVcnAddresses) GetDisplayName

func (m NetworkAddressListVcnAddresses) GetDisplayName() *string

GetDisplayName returns DisplayName

func (NetworkAddressListVcnAddresses) GetFreeformTags

func (m NetworkAddressListVcnAddresses) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (NetworkAddressListVcnAddresses) GetId

func (m NetworkAddressListVcnAddresses) GetId() *string

GetId returns Id

func (NetworkAddressListVcnAddresses) GetLifecycleDetails

func (m NetworkAddressListVcnAddresses) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListVcnAddresses) GetLifecycleState

func (m NetworkAddressListVcnAddresses) GetLifecycleState() NetworkAddressListLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (NetworkAddressListVcnAddresses) GetSystemTags

func (m NetworkAddressListVcnAddresses) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (NetworkAddressListVcnAddresses) GetTimeCreated

func (m NetworkAddressListVcnAddresses) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (NetworkAddressListVcnAddresses) GetTimeUpdated

func (m NetworkAddressListVcnAddresses) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (NetworkAddressListVcnAddresses) MarshalJSON

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

MarshalJSON marshals to json representation

func (NetworkAddressListVcnAddresses) String

func (m NetworkAddressListVcnAddresses) String() string

func (NetworkAddressListVcnAddresses) ValidateEnumValue

func (m NetworkAddressListVcnAddresses) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type NetworkAddressListVcnAddressesSummary

NetworkAddressListVcnAddressesSummary Summary of NetworkAddressListVcnAddresses.

type NetworkAddressListVcnAddressesSummary struct {

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

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The time the NetworkAddressList was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // A list of private address prefixes, each associated with a particular VCN.
    // To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    VcnAddresses []PrivateAddresses `mandatory:"true" json:"vcnAddresses"`

    // The time the NetworkAddressList was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the NetworkAddress List.
    LifecycleState NetworkAddressListLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (NetworkAddressListVcnAddressesSummary) GetCompartmentId

func (m NetworkAddressListVcnAddressesSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (NetworkAddressListVcnAddressesSummary) GetDefinedTags

func (m NetworkAddressListVcnAddressesSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (NetworkAddressListVcnAddressesSummary) GetDisplayName

func (m NetworkAddressListVcnAddressesSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (NetworkAddressListVcnAddressesSummary) GetFreeformTags

func (m NetworkAddressListVcnAddressesSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (NetworkAddressListVcnAddressesSummary) GetId

func (m NetworkAddressListVcnAddressesSummary) GetId() *string

GetId returns Id

func (NetworkAddressListVcnAddressesSummary) GetLifecycleDetails

func (m NetworkAddressListVcnAddressesSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListVcnAddressesSummary) GetLifecycleState

func (m NetworkAddressListVcnAddressesSummary) GetLifecycleState() NetworkAddressListLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (NetworkAddressListVcnAddressesSummary) GetSystemTags

func (m NetworkAddressListVcnAddressesSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (NetworkAddressListVcnAddressesSummary) GetTimeCreated

func (m NetworkAddressListVcnAddressesSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (NetworkAddressListVcnAddressesSummary) GetTimeUpdated

func (m NetworkAddressListVcnAddressesSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (NetworkAddressListVcnAddressesSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (NetworkAddressListVcnAddressesSummary) String

func (m NetworkAddressListVcnAddressesSummary) String() string

func (NetworkAddressListVcnAddressesSummary) ValidateEnumValue

func (m NetworkAddressListVcnAddressesSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type PrivateAddresses

PrivateAddresses A pair of VCN OCID and private IP address prefix in CIDR notation.

type PrivateAddresses struct {

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

    // A private IP address or CIDR IP address range.
    Addresses *string `mandatory:"true" json:"addresses"`
}

func (PrivateAddresses) String

func (m PrivateAddresses) String() string

func (PrivateAddresses) ValidateEnumValue

func (m PrivateAddresses) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapability

ProtectionCapability References an OCI-managed protection capability. Checks if HTTP requests/responses are malicious.

type ProtectionCapability struct {

    // Unique key of referenced protection capability.
    Key *string `mandatory:"true" json:"key"`

    // Version of referenced protection capability.
    Version *int `mandatory:"true" json:"version"`

    Exclusions *ProtectionCapabilityExclusions `mandatory:"false" json:"exclusions"`

    // Override action to take if capability was triggered, defined in Protection Rule for this capability.
    // Only actions of type CHECK are allowed.
    ActionName *string `mandatory:"false" json:"actionName"`

    // The minimum sum of weights of associated collaborative protection capabilities that have triggered which
    // must be reached in order for _this_ capability to trigger.
    // This field is ignored for non-collaborative capabilities.
    CollaborativeActionThreshold *int `mandatory:"false" json:"collaborativeActionThreshold"`

    // Explicit weight values to use for associated collaborative protection capabilities.
    CollaborativeWeights []CollaborativeCapabilityWeightOverride `mandatory:"false" json:"collaborativeWeights"`
}

func (ProtectionCapability) String

func (m ProtectionCapability) String() string

func (ProtectionCapability) ValidateEnumValue

func (m ProtectionCapability) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapabilityCollection

ProtectionCapabilityCollection Result of a protection capabilities search.

type ProtectionCapabilityCollection struct {

    // List of protection capabilities.
    Items []ProtectionCapabilitySummary `mandatory:"true" json:"items"`
}

func (ProtectionCapabilityCollection) String

func (m ProtectionCapabilityCollection) String() string

func (ProtectionCapabilityCollection) ValidateEnumValue

func (m ProtectionCapabilityCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapabilityExclusions

ProtectionCapabilityExclusions Identifies specific HTTP message parameters to exclude from inspection by a protection capability.

type ProtectionCapabilityExclusions struct {

    // List of HTTP request cookie values (by cookie name) to exclude from inspecting.
    // Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected.
    RequestCookies []string `mandatory:"false" json:"requestCookies"`

    // List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting.
    // Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected.
    Args []string `mandatory:"false" json:"args"`
}

func (ProtectionCapabilityExclusions) String

func (m ProtectionCapabilityExclusions) String() string

func (ProtectionCapabilityExclusions) ValidateEnumValue

func (m ProtectionCapabilityExclusions) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapabilityGroupTagCollection

ProtectionCapabilityGroupTagCollection Result of a protection capabilities group tags search.

type ProtectionCapabilityGroupTagCollection struct {

    // List of protection capabilities group tags.
    Items []ProtectionCapabilityGroupTagSummary `mandatory:"true" json:"items"`
}

func (ProtectionCapabilityGroupTagCollection) String

func (m ProtectionCapabilityGroupTagCollection) String() string

func (ProtectionCapabilityGroupTagCollection) ValidateEnumValue

func (m ProtectionCapabilityGroupTagCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapabilityGroupTagSummary

ProtectionCapabilityGroupTagSummary Object representing protection cabapility group tag and its metadata.

type ProtectionCapabilityGroupTagSummary struct {

    // Unique name of protection capability group tag.
    Name *string `mandatory:"true" json:"name"`
}

func (ProtectionCapabilityGroupTagSummary) String

func (m ProtectionCapabilityGroupTagSummary) String() string

func (ProtectionCapabilityGroupTagSummary) ValidateEnumValue

func (m ProtectionCapabilityGroupTagSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapabilitySettings

ProtectionCapabilitySettings Settings for protection capabilities

type ProtectionCapabilitySettings struct {

    // Maximum number of arguments allowed. Used in protection capability 920380: Number of Arguments Limits.
    MaxNumberOfArguments *int `mandatory:"false" json:"maxNumberOfArguments"`

    // Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length.
    MaxSingleArgumentLength *int `mandatory:"false" json:"maxSingleArgumentLength"`

    // Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length.
    MaxTotalArgumentLength *int `mandatory:"false" json:"maxTotalArgumentLength"`

    // Maximum number of headers allowed in an HTTP request. Used in protection capability 9200014: Limit Number of Request Headers.
    MaxHttpRequestHeaders *int `mandatory:"false" json:"maxHttpRequestHeaders"`

    // Maximum allowed length of headers in an HTTP request. Used in protection capability: 9200024: Limit length of request header size.
    MaxHttpRequestHeaderLength *int `mandatory:"false" json:"maxHttpRequestHeaderLength"`

    // List of allowed HTTP methods. Each value as a RFC7230 formated token string.
    // Used in protection capability 911100: Restrict HTTP Request Methods.
    AllowedHttpMethods []string `mandatory:"false" json:"allowedHttpMethods"`
}

func (ProtectionCapabilitySettings) String

func (m ProtectionCapabilitySettings) String() string

func (ProtectionCapabilitySettings) ValidateEnumValue

func (m ProtectionCapabilitySettings) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapabilitySummary

ProtectionCapabilitySummary A summary of available OCI-managed protection capabilities in WebAppFirewallPolicy. Protection capabilies checks HTTP requests/responses if they are malicious.

type ProtectionCapabilitySummary struct {

    // Unique key of protection capability.
    Key *string `mandatory:"true" json:"key"`

    // The display name of protection capability.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The description of protection capability.
    Description *string `mandatory:"true" json:"description"`

    // The version of protection capability.
    Version *int `mandatory:"true" json:"version"`

    // The field that shows if this is the latest version of protection capability.
    IsLatestVersion *bool `mandatory:"true" json:"isLatestVersion"`

    // The type of protection capability.
    // * **REQUEST_PROTECTION_CAPABILITY** can only be used in `requestProtection` module of WebAppFirewallPolicy.
    // * **RESPONSE_PROTECTION_CAPABILITY** can only be used in `responseProtection` module of WebAppFirewallPolicy.
    Type ProtectionCapabilitySummaryTypeEnum `mandatory:"true" json:"type"`

    // The list of unique names protection capability group tags that are associated with this capability.
    // Example: ["PCI", "Recommended"]
    GroupTags []string `mandatory:"false" json:"groupTags"`

    // The default collaborative action threshold for OCI-managed collaborative protection capability.
    // Collaborative protection capabilities are made of several simple, non-collaborative protection capabilities
    // (referred to as `contributing capabilities` later on) which have weights assigned to them. These weights can
    // be found in the `collaborativeWeights` array.
    // For incoming/outgoing HTTP messages, all contributing capabilities are executed and the sum of all triggered
    // contributing capabilities weights is calculated. Only if this sum is greater than or equal to
    // `collaborativeActionThreshold` is the incoming/outgoing HTTP message marked as malicious.
    // This field is ignored for non-collaborative capabilities.
    CollaborativeActionThreshold *int `mandatory:"false" json:"collaborativeActionThreshold"`

    // The weights of contributing capabilities.
    // Defines how much each contributing capability contributes towards the action threshold of a collaborative protection capability.
    // This field is ignored for non-collaborative capabilities.
    CollaborativeWeights []CollaborativeCapabilityWeight `mandatory:"false" json:"collaborativeWeights"`
}

func (ProtectionCapabilitySummary) String

func (m ProtectionCapabilitySummary) String() string

func (ProtectionCapabilitySummary) ValidateEnumValue

func (m ProtectionCapabilitySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ProtectionCapabilitySummaryTypeEnum

ProtectionCapabilitySummaryTypeEnum Enum with underlying type: string

type ProtectionCapabilitySummaryTypeEnum string

Set of constants representing the allowable values for ProtectionCapabilitySummaryTypeEnum

const (
    ProtectionCapabilitySummaryTypeRequestProtectionCapability  ProtectionCapabilitySummaryTypeEnum = "REQUEST_PROTECTION_CAPABILITY"
    ProtectionCapabilitySummaryTypeResponseProtectionCapability ProtectionCapabilitySummaryTypeEnum = "RESPONSE_PROTECTION_CAPABILITY"
)

func GetMappingProtectionCapabilitySummaryTypeEnum

func GetMappingProtectionCapabilitySummaryTypeEnum(val string) (ProtectionCapabilitySummaryTypeEnum, bool)

GetMappingProtectionCapabilitySummaryTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetProtectionCapabilitySummaryTypeEnumValues

func GetProtectionCapabilitySummaryTypeEnumValues() []ProtectionCapabilitySummaryTypeEnum

GetProtectionCapabilitySummaryTypeEnumValues Enumerates the set of values for ProtectionCapabilitySummaryTypeEnum

type ProtectionRule

ProtectionRule Rule that represents Request/Response Protection. Only actions of the following types are allowed to be referenced in this rule:

- CHECK
- RETURN_HTTP_RESPONSE
type ProtectionRule struct {

    // Rule name. Must be unique within the module.
    Name *string `mandatory:"true" json:"name"`

    // References action by name from actions defined in WebAppFirewallPolicy.
    ActionName *string `mandatory:"true" json:"actionName"`

    // An ordered list that references OCI-managed protection capabilities.
    // Referenced protection capabilities are not necessarily executed in order of appearance. Their execution order
    // is decided at runtime for improved performance.
    // The array cannot contain entries with the same pair of capability key and version more than once.
    ProtectionCapabilities []ProtectionCapability `mandatory:"true" json:"protectionCapabilities"`

    // An expression that determines whether or not the rule action should be executed.
    Condition *string `mandatory:"false" json:"condition"`

    ProtectionCapabilitySettings *ProtectionCapabilitySettings `mandatory:"false" json:"protectionCapabilitySettings"`

    // Enables/disables body inspection for this protection rule.
    // Only Protection Rules in RequestProtection can have this option enabled. Response body inspection will
    // be available at a later date.
    IsBodyInspectionEnabled *bool `mandatory:"false" json:"isBodyInspectionEnabled"`

    // The language used to parse condition from field `condition`. Available languages:
    // * **JMESPATH** an extended JMESPath language syntax.
    ConditionLanguage WebAppFirewallPolicyRuleConditionLanguageEnum `mandatory:"false" json:"conditionLanguage,omitempty"`
}

func (ProtectionRule) GetActionName

func (m ProtectionRule) GetActionName() *string

GetActionName returns ActionName

func (ProtectionRule) GetCondition

func (m ProtectionRule) GetCondition() *string

GetCondition returns Condition

func (ProtectionRule) GetConditionLanguage

func (m ProtectionRule) GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum

GetConditionLanguage returns ConditionLanguage

func (ProtectionRule) GetName

func (m ProtectionRule) GetName() *string

GetName returns Name

func (ProtectionRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (ProtectionRule) String

func (m ProtectionRule) String() string

func (ProtectionRule) ValidateEnumValue

func (m ProtectionRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestAccessControl

RequestAccessControl Module that allows inspection of HTTP request properties and to return a defined HTTP response. In this module, rules with the name 'Default Action' are not allowed, since this name is reserved for default action logs.

type RequestAccessControl struct {

    // References an default Action to take if no AccessControlRule was matched. Allowed action types:
    // * **ALLOW** continues execution of other modules and their rules.
    // * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response.
    DefaultActionName *string `mandatory:"true" json:"defaultActionName"`

    // Ordered list of AccessControlRules. Rules are executed in order of appearance in this array.
    Rules []AccessControlRule `mandatory:"false" json:"rules"`
}

func (RequestAccessControl) String

func (m RequestAccessControl) String() string

func (RequestAccessControl) ValidateEnumValue

func (m RequestAccessControl) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestProtection

RequestProtection Module that allows to enable OCI-managed protection capabilities for incoming HTTP requests.

type RequestProtection struct {

    // Ordered list of ProtectionRules. Rules are executed in order of appearance in this array.
    // ProtectionRules in this array can only use protection Capabilities of REQUEST_PROTECTION_CAPABILITY type.
    Rules []ProtectionRule `mandatory:"false" json:"rules"`

    // Maximum size of inspected HTTP message body in bytes. Actions to take if this limit is exceeded are defined in `bodyInspectionSizeLimitExceededActionName`.
    // Body inspection maximum size allowed is defined with per-tenancy limit: 8192 bytes.
    BodyInspectionSizeLimitInBytes *int `mandatory:"false" json:"bodyInspectionSizeLimitInBytes"`

    // References action by name from actions defined in WebAppFirewallPolicy. Executed if HTTP message
    // body size exceeds limit set in field `bodyInspectionSizeLimitInBytes`.
    // If this field is `null` HTTP message body will inspected up to `bodyInspectionSizeLimitInBytes` and the rest
    // will not be inspected by Protection Capabilities.
    // Allowed action types:
    // * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response.
    BodyInspectionSizeLimitExceededActionName *string `mandatory:"false" json:"bodyInspectionSizeLimitExceededActionName"`
}

func (RequestProtection) String

func (m RequestProtection) String() string

func (RequestProtection) ValidateEnumValue

func (m RequestProtection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestRateLimiting

RequestRateLimiting Module that allows inspection of HTTP connection properties and to limit requests frequency for a given key.

type RequestRateLimiting struct {

    // Ordered list of RequestRateLimitingRules. Rules are executed in order of appearance in this array.
    Rules []RequestRateLimitingRule `mandatory:"false" json:"rules"`
}

func (RequestRateLimiting) String

func (m RequestRateLimiting) String() string

func (RequestRateLimiting) ValidateEnumValue

func (m RequestRateLimiting) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestRateLimitingConfiguration

RequestRateLimitingConfiguration Rate limiting configuration.

type RequestRateLimitingConfiguration struct {

    // Evaluation period in seconds.
    PeriodInSeconds *int `mandatory:"true" json:"periodInSeconds"`

    // Requests allowed per evaluation period.
    RequestsLimit *int `mandatory:"true" json:"requestsLimit"`

    // Duration of block action application in seconds when `requestsLimit` is reached. Optional and can be 0 (no block duration).
    ActionDurationInSeconds *int `mandatory:"false" json:"actionDurationInSeconds"`
}

func (RequestRateLimitingConfiguration) String

func (m RequestRateLimitingConfiguration) String() string

func (RequestRateLimitingConfiguration) ValidateEnumValue

func (m RequestRateLimitingConfiguration) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type RequestRateLimitingRule

RequestRateLimitingRule Rule that represents RequestRateLimitingConfigurations. Only actions of the following types are allowed to be referenced in this rule:

- CHECK
- RETURN_HTTP_RESPONSE
type RequestRateLimitingRule struct {

    // Rule name. Must be unique within the module.
    Name *string `mandatory:"true" json:"name"`

    // References action by name from actions defined in WebAppFirewallPolicy.
    ActionName *string `mandatory:"true" json:"actionName"`

    // Rate Limiting Configurations.
    // Each configuration counts requests towards its own `requestsLimit`.
    Configurations []RequestRateLimitingConfiguration `mandatory:"true" json:"configurations"`

    // An expression that determines whether or not the rule action should be executed.
    Condition *string `mandatory:"false" json:"condition"`

    // The language used to parse condition from field `condition`. Available languages:
    // * **JMESPATH** an extended JMESPath language syntax.
    ConditionLanguage WebAppFirewallPolicyRuleConditionLanguageEnum `mandatory:"false" json:"conditionLanguage,omitempty"`
}

func (RequestRateLimitingRule) GetActionName

func (m RequestRateLimitingRule) GetActionName() *string

GetActionName returns ActionName

func (RequestRateLimitingRule) GetCondition

func (m RequestRateLimitingRule) GetCondition() *string

GetCondition returns Condition

func (RequestRateLimitingRule) GetConditionLanguage

func (m RequestRateLimitingRule) GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum

GetConditionLanguage returns ConditionLanguage

func (RequestRateLimitingRule) GetName

func (m RequestRateLimitingRule) GetName() *string

GetName returns Name

func (RequestRateLimitingRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (RequestRateLimitingRule) String

func (m RequestRateLimitingRule) String() string

func (RequestRateLimitingRule) ValidateEnumValue

func (m RequestRateLimitingRule) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponseAccessControl

ResponseAccessControl Module that allows inspection of HTTP response properties and to return a defined HTTP response.

type ResponseAccessControl struct {

    // Ordered list of AccessControlRules. Rules are executed in order of appearance in this array.
    Rules []AccessControlRule `mandatory:"false" json:"rules"`
}

func (ResponseAccessControl) String

func (m ResponseAccessControl) String() string

func (ResponseAccessControl) ValidateEnumValue

func (m ResponseAccessControl) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponseHeader

ResponseHeader A header field to add to a response.

type ResponseHeader struct {

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

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

func (ResponseHeader) String

func (m ResponseHeader) String() string

func (ResponseHeader) ValidateEnumValue

func (m ResponseHeader) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ResponseProtection

ResponseProtection Module that allows to enable OCI-managed protection capabilities for HTTP responses.

type ResponseProtection struct {

    // Ordered list of ProtectionRules. Rules are executed in order of appearance in this array.
    // ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type.
    Rules []ProtectionRule `mandatory:"false" json:"rules"`
}

func (ResponseProtection) String

func (m ResponseProtection) String() string

func (ResponseProtection) ValidateEnumValue

func (m ResponseProtection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type ReturnHttpResponseAction

ReturnHttpResponseAction An object that represents an action which returns a defined HTTP response.

type ReturnHttpResponseAction struct {

    // Action name. Can be used to reference the action.
    Name *string `mandatory:"true" json:"name"`

    // Response code.
    // The following response codes are valid values for this property:
    // * 2xx
    //   200 OK
    //   201 Created
    //   202 Accepted
    //   206 Partial Content
    // * 3xx
    //   300 Multiple Choices
    //   301 Moved Permanently
    //   302 Found
    //   303 See Other
    //   307 Temporary Redirect
    // * 4xx
    //   400 Bad Request
    //   401 Unauthorized
    //   403 Forbidden
    //   404 Not Found
    //   405 Method Not Allowed
    //   408 Request Timeout
    //   409 Conflict
    //   411 Length Required
    //   412 Precondition Failed
    //   413 Payload Too Large
    //   414 URI Too Long
    //   415 Unsupported Media Type
    //   416 Range Not Satisfiable
    //   422 Unprocessable Entity
    //   429 Too Many Requests
    //   494 Request Header Too Large
    //   495 Cert Error
    //   496 No Cert
    //   497 HTTP to HTTPS
    // * 5xx
    //   500 Internal Server Error
    //   501 Not Implemented
    //   502 Bad Gateway
    //   503 Service Unavailable
    //   504 Gateway Timeout
    //   507 Insufficient Storage
    // Example: `200`
    Code *int `mandatory:"true" json:"code"`

    // Adds headers defined in this array for HTTP response.
    // Hop-by-hop headers are not allowed to be set:
    // * Connection
    // * Keep-Alive
    // * Proxy-Authenticate
    // * Proxy-Authorization
    // * TE
    // * Trailer
    // * Transfer-Encoding
    // * Upgrade
    Headers []ResponseHeader `mandatory:"false" json:"headers"`

    Body HttpResponseBody `mandatory:"false" json:"body"`
}

func (ReturnHttpResponseAction) GetName

func (m ReturnHttpResponseAction) GetName() *string

GetName returns Name

func (ReturnHttpResponseAction) MarshalJSON

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

MarshalJSON marshals to json representation

func (ReturnHttpResponseAction) String

func (m ReturnHttpResponseAction) String() string

func (*ReturnHttpResponseAction) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ReturnHttpResponseAction) ValidateEnumValue

func (m ReturnHttpResponseAction) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StaticTextHttpResponseBody

StaticTextHttpResponseBody Allows returning static text as HTTP response body. Example:

{
  "type": "STATIC_TEXT",
  "text": "{\n  \"code\": 403,\n  \"message\":\"Unauthorised\"\n}"
}
type StaticTextHttpResponseBody struct {

    // Static response body text.
    Text *string `mandatory:"true" json:"text"`
}

func (StaticTextHttpResponseBody) MarshalJSON

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

MarshalJSON marshals to json representation

func (StaticTextHttpResponseBody) String

func (m StaticTextHttpResponseBody) String() string

func (StaticTextHttpResponseBody) ValidateEnumValue

func (m StaticTextHttpResponseBody) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNetworkAddressListAddressesDetails

UpdateNetworkAddressListAddressesDetails The information to be updated for NetworkAddressListAddresses.

type UpdateNetworkAddressListAddressesDetails struct {

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // A list of IP address prefixes in CIDR notation.
    // To specify all addresses, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    Addresses []string `mandatory:"false" json:"addresses"`
}

func (UpdateNetworkAddressListAddressesDetails) GetDefinedTags

func (m UpdateNetworkAddressListAddressesDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateNetworkAddressListAddressesDetails) GetDisplayName

func (m UpdateNetworkAddressListAddressesDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateNetworkAddressListAddressesDetails) GetFreeformTags

func (m UpdateNetworkAddressListAddressesDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateNetworkAddressListAddressesDetails) GetSystemTags

func (m UpdateNetworkAddressListAddressesDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (UpdateNetworkAddressListAddressesDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateNetworkAddressListAddressesDetails) String

func (m UpdateNetworkAddressListAddressesDetails) String() string

func (UpdateNetworkAddressListAddressesDetails) ValidateEnumValue

func (m UpdateNetworkAddressListAddressesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNetworkAddressListDetails

UpdateNetworkAddressListDetails The information to be updated.

type UpdateNetworkAddressListDetails interface {

    // NetworkAddressList display name, can be renamed.
    GetDisplayName() *string

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}
}

type UpdateNetworkAddressListDetailsTypeEnum

UpdateNetworkAddressListDetailsTypeEnum Enum with underlying type: string

type UpdateNetworkAddressListDetailsTypeEnum string

Set of constants representing the allowable values for UpdateNetworkAddressListDetailsTypeEnum

const (
    UpdateNetworkAddressListDetailsTypeAddresses    UpdateNetworkAddressListDetailsTypeEnum = "ADDRESSES"
    UpdateNetworkAddressListDetailsTypeVcnAddresses UpdateNetworkAddressListDetailsTypeEnum = "VCN_ADDRESSES"
)

func GetMappingUpdateNetworkAddressListDetailsTypeEnum

func GetMappingUpdateNetworkAddressListDetailsTypeEnum(val string) (UpdateNetworkAddressListDetailsTypeEnum, bool)

GetMappingUpdateNetworkAddressListDetailsTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateNetworkAddressListDetailsTypeEnumValues

func GetUpdateNetworkAddressListDetailsTypeEnumValues() []UpdateNetworkAddressListDetailsTypeEnum

GetUpdateNetworkAddressListDetailsTypeEnumValues Enumerates the set of values for UpdateNetworkAddressListDetailsTypeEnum

type UpdateNetworkAddressListRequest

UpdateNetworkAddressListRequest wrapper for the UpdateNetworkAddressList operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/UpdateNetworkAddressList.go.html to see an example of how to use UpdateNetworkAddressListRequest.

type UpdateNetworkAddressListRequest struct {

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

    // The information to be updated.
    UpdateNetworkAddressListDetails `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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (UpdateNetworkAddressListRequest) BinaryRequestBody

func (request UpdateNetworkAddressListRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkAddressListRequest) HTTPRequest

func (request UpdateNetworkAddressListRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkAddressListRequest) RetryPolicy

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

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

func (UpdateNetworkAddressListRequest) String

func (request UpdateNetworkAddressListRequest) String() string

func (UpdateNetworkAddressListRequest) ValidateEnumValue

func (request UpdateNetworkAddressListRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateNetworkAddressListResponse

UpdateNetworkAddressListResponse wrapper for the UpdateNetworkAddressList operation

type UpdateNetworkAddressListResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (UpdateNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkAddressListResponse) String

func (response UpdateNetworkAddressListResponse) String() string

type UpdateNetworkAddressListVcnAddressesDetails

UpdateNetworkAddressListVcnAddressesDetails The information to be updated for NetworkAddressListVcnAddresses.

type UpdateNetworkAddressListVcnAddressesDetails struct {

    // NetworkAddressList display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`

    // A list of private address prefixes, each associated with a particular VCN.
    // To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6.
    VcnAddresses []PrivateAddresses `mandatory:"false" json:"vcnAddresses"`
}

func (UpdateNetworkAddressListVcnAddressesDetails) GetDefinedTags

func (m UpdateNetworkAddressListVcnAddressesDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (UpdateNetworkAddressListVcnAddressesDetails) GetDisplayName

func (m UpdateNetworkAddressListVcnAddressesDetails) GetDisplayName() *string

GetDisplayName returns DisplayName

func (UpdateNetworkAddressListVcnAddressesDetails) GetFreeformTags

func (m UpdateNetworkAddressListVcnAddressesDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (UpdateNetworkAddressListVcnAddressesDetails) GetSystemTags

func (m UpdateNetworkAddressListVcnAddressesDetails) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (UpdateNetworkAddressListVcnAddressesDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateNetworkAddressListVcnAddressesDetails) String

func (m UpdateNetworkAddressListVcnAddressesDetails) String() string

func (UpdateNetworkAddressListVcnAddressesDetails) ValidateEnumValue

func (m UpdateNetworkAddressListVcnAddressesDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWebAppFirewallDetails

UpdateWebAppFirewallDetails The information to be updated for WebAppFirewall.

type UpdateWebAppFirewallDetails struct {

    // WebAppFirewall display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource.
    // This update guarantees that the resource always has WebAppFirewallPolicy attached at any time.
    WebAppFirewallPolicyId *string `mandatory:"false" json:"webAppFirewallPolicyId"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (UpdateWebAppFirewallDetails) String

func (m UpdateWebAppFirewallDetails) String() string

func (UpdateWebAppFirewallDetails) ValidateEnumValue

func (m UpdateWebAppFirewallDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWebAppFirewallPolicyDetails

UpdateWebAppFirewallPolicyDetails The information to be updated. When updating WebAppFirewallPolicy, shallow merge is used for all top-level fields, meaning that top-level fields with defined values are completely overwritten and top-level fields without defined values are unchanged.

type UpdateWebAppFirewallPolicyDetails struct {

    // WebAppFirewallPolicy display name, can be renamed.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Predefined actions for use in multiple different rules. Not all actions are supported in every module.
    // Some actions terminate further execution of modules and rules in a module and some do not.
    // Actions names must be unique within this array.
    Actions []Action `mandatory:"false" json:"actions"`

    RequestAccessControl *RequestAccessControl `mandatory:"false" json:"requestAccessControl"`

    RequestRateLimiting *RequestRateLimiting `mandatory:"false" json:"requestRateLimiting"`

    RequestProtection *RequestProtection `mandatory:"false" json:"requestProtection"`

    ResponseAccessControl *ResponseAccessControl `mandatory:"false" json:"responseAccessControl"`

    ResponseProtection *ResponseProtection `mandatory:"false" json:"responseProtection"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (UpdateWebAppFirewallPolicyDetails) String

func (m UpdateWebAppFirewallPolicyDetails) String() string

func (*UpdateWebAppFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateWebAppFirewallPolicyDetails) ValidateEnumValue

func (m UpdateWebAppFirewallPolicyDetails) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWebAppFirewallPolicyRequest

UpdateWebAppFirewallPolicyRequest wrapper for the UpdateWebAppFirewallPolicy operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/UpdateWebAppFirewallPolicy.go.html to see an example of how to use UpdateWebAppFirewallPolicyRequest.

type UpdateWebAppFirewallPolicyRequest struct {

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

    // The information to be updated.
    UpdateWebAppFirewallPolicyDetails `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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (UpdateWebAppFirewallPolicyRequest) BinaryRequestBody

func (request UpdateWebAppFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateWebAppFirewallPolicyRequest) HTTPRequest

func (request UpdateWebAppFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateWebAppFirewallPolicyRequest) RetryPolicy

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

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

func (UpdateWebAppFirewallPolicyRequest) String

func (request UpdateWebAppFirewallPolicyRequest) String() string

func (UpdateWebAppFirewallPolicyRequest) ValidateEnumValue

func (request UpdateWebAppFirewallPolicyRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWebAppFirewallPolicyResponse

UpdateWebAppFirewallPolicyResponse wrapper for the UpdateWebAppFirewallPolicy operation

type UpdateWebAppFirewallPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (UpdateWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateWebAppFirewallPolicyResponse) String

func (response UpdateWebAppFirewallPolicyResponse) String() string

type UpdateWebAppFirewallRequest

UpdateWebAppFirewallRequest wrapper for the UpdateWebAppFirewall operation

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/UpdateWebAppFirewall.go.html to see an example of how to use UpdateWebAppFirewallRequest.

type UpdateWebAppFirewallRequest struct {

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

    // The information to be updated.
    UpdateWebAppFirewallDetails `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 you provide matches the resource's current etag value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

    // The client request ID for tracing.
    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
}

func (UpdateWebAppFirewallRequest) BinaryRequestBody

func (request UpdateWebAppFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateWebAppFirewallRequest) HTTPRequest

func (request UpdateWebAppFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateWebAppFirewallRequest) RetryPolicy

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

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

func (UpdateWebAppFirewallRequest) String

func (request UpdateWebAppFirewallRequest) String() string

func (UpdateWebAppFirewallRequest) ValidateEnumValue

func (request UpdateWebAppFirewallRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type UpdateWebAppFirewallResponse

UpdateWebAppFirewallResponse wrapper for the UpdateWebAppFirewall operation

type UpdateWebAppFirewallResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

    // 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"`
}

func (UpdateWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateWebAppFirewallResponse) String

func (response UpdateWebAppFirewallResponse) String() string

type WafClient

WafClient a client for Waf

type WafClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewWafClientWithConfigurationProvider

func NewWafClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client WafClient, err error)

NewWafClientWithConfigurationProvider Creates a new default Waf client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewWafClientWithOboToken

func NewWafClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client WafClient, err error)

NewWafClientWithOboToken Creates a new default Waf client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (WafClient) ChangeNetworkAddressListCompartment

func (client WafClient) ChangeNetworkAddressListCompartment(ctx context.Context, request ChangeNetworkAddressListCompartmentRequest) (response ChangeNetworkAddressListCompartmentResponse, err error)

ChangeNetworkAddressListCompartment Moves a NetworkAddressList resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ChangeNetworkAddressListCompartment.go.html to see an example of how to use ChangeNetworkAddressListCompartment API. A default retry strategy applies to this operation ChangeNetworkAddressListCompartment()

func (WafClient) ChangeWebAppFirewallCompartment

func (client WafClient) ChangeWebAppFirewallCompartment(ctx context.Context, request ChangeWebAppFirewallCompartmentRequest) (response ChangeWebAppFirewallCompartmentResponse, err error)

ChangeWebAppFirewallCompartment Moves a Web App Firewall resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ChangeWebAppFirewallCompartment.go.html to see an example of how to use ChangeWebAppFirewallCompartment API. A default retry strategy applies to this operation ChangeWebAppFirewallCompartment()

func (WafClient) ChangeWebAppFirewallPolicyCompartment

func (client WafClient) ChangeWebAppFirewallPolicyCompartment(ctx context.Context, request ChangeWebAppFirewallPolicyCompartmentRequest) (response ChangeWebAppFirewallPolicyCompartmentResponse, err error)

ChangeWebAppFirewallPolicyCompartment Moves a WebAppFirewallfPolicy resource from one compartment to another. When provided, If-Match is checked against ETag values of the resource.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ChangeWebAppFirewallPolicyCompartment.go.html to see an example of how to use ChangeWebAppFirewallPolicyCompartment API. A default retry strategy applies to this operation ChangeWebAppFirewallPolicyCompartment()

func (*WafClient) ConfigurationProvider

func (client *WafClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (WafClient) CreateNetworkAddressList

func (client WafClient) CreateNetworkAddressList(ctx context.Context, request CreateNetworkAddressListRequest) (response CreateNetworkAddressListResponse, err error)

CreateNetworkAddressList Creates a new NetworkAddressList.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/CreateNetworkAddressList.go.html to see an example of how to use CreateNetworkAddressList API. A default retry strategy applies to this operation CreateNetworkAddressList()

func (WafClient) CreateWebAppFirewall

func (client WafClient) CreateWebAppFirewall(ctx context.Context, request CreateWebAppFirewallRequest) (response CreateWebAppFirewallResponse, err error)

CreateWebAppFirewall Creates a new WebAppFirewall.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/CreateWebAppFirewall.go.html to see an example of how to use CreateWebAppFirewall API. A default retry strategy applies to this operation CreateWebAppFirewall()

func (WafClient) CreateWebAppFirewallPolicy

func (client WafClient) CreateWebAppFirewallPolicy(ctx context.Context, request CreateWebAppFirewallPolicyRequest) (response CreateWebAppFirewallPolicyResponse, err error)

CreateWebAppFirewallPolicy Creates a new WebAppFirewallPolicy.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/CreateWebAppFirewallPolicy.go.html to see an example of how to use CreateWebAppFirewallPolicy API. A default retry strategy applies to this operation CreateWebAppFirewallPolicy()

func (WafClient) DeleteNetworkAddressList

func (client WafClient) DeleteNetworkAddressList(ctx context.Context, request DeleteNetworkAddressListRequest) (response DeleteNetworkAddressListResponse, err error)

DeleteNetworkAddressList Deletes a NetworkAddressList resource identified by the OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/DeleteNetworkAddressList.go.html to see an example of how to use DeleteNetworkAddressList API. A default retry strategy applies to this operation DeleteNetworkAddressList()

func (WafClient) DeleteWebAppFirewall

func (client WafClient) DeleteWebAppFirewall(ctx context.Context, request DeleteWebAppFirewallRequest) (response DeleteWebAppFirewallResponse, err error)

DeleteWebAppFirewall Deletes a WebAppFirewall resource identified by the OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/DeleteWebAppFirewall.go.html to see an example of how to use DeleteWebAppFirewall API. A default retry strategy applies to this operation DeleteWebAppFirewall()

func (WafClient) DeleteWebAppFirewallPolicy

func (client WafClient) DeleteWebAppFirewallPolicy(ctx context.Context, request DeleteWebAppFirewallPolicyRequest) (response DeleteWebAppFirewallPolicyResponse, err error)

DeleteWebAppFirewallPolicy Deletes a WebAppFirewallPolicy resource identified by the OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/DeleteWebAppFirewallPolicy.go.html to see an example of how to use DeleteWebAppFirewallPolicy API. A default retry strategy applies to this operation DeleteWebAppFirewallPolicy()

func (WafClient) GetNetworkAddressList

func (client WafClient) GetNetworkAddressList(ctx context.Context, request GetNetworkAddressListRequest) (response GetNetworkAddressListResponse, err error)

GetNetworkAddressList Gets a NetworkAddressList by OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetNetworkAddressList.go.html to see an example of how to use GetNetworkAddressList API. A default retry strategy applies to this operation GetNetworkAddressList()

func (WafClient) GetWebAppFirewall

func (client WafClient) GetWebAppFirewall(ctx context.Context, request GetWebAppFirewallRequest) (response GetWebAppFirewallResponse, err error)

GetWebAppFirewall Gets a WebAppFirewall by OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetWebAppFirewall.go.html to see an example of how to use GetWebAppFirewall API. A default retry strategy applies to this operation GetWebAppFirewall()

func (WafClient) GetWebAppFirewallPolicy

func (client WafClient) GetWebAppFirewallPolicy(ctx context.Context, request GetWebAppFirewallPolicyRequest) (response GetWebAppFirewallPolicyResponse, err error)

GetWebAppFirewallPolicy Gets a WebAppFirewallPolicy with the given OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetWebAppFirewallPolicy.go.html to see an example of how to use GetWebAppFirewallPolicy API. A default retry strategy applies to this operation GetWebAppFirewallPolicy()

func (WafClient) GetWorkRequest

func (client WafClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the WorkRequest with the given OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()

func (WafClient) ListNetworkAddressLists

func (client WafClient) ListNetworkAddressLists(ctx context.Context, request ListNetworkAddressListsRequest) (response ListNetworkAddressListsResponse, err error)

ListNetworkAddressLists Gets a list of all NetworkAddressLists in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListNetworkAddressLists.go.html to see an example of how to use ListNetworkAddressLists API. A default retry strategy applies to this operation ListNetworkAddressLists()

func (WafClient) ListProtectionCapabilities

func (client WafClient) ListProtectionCapabilities(ctx context.Context, request ListProtectionCapabilitiesRequest) (response ListProtectionCapabilitiesResponse, err error)

ListProtectionCapabilities Lists of protection capabilities filtered by query parameters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListProtectionCapabilities.go.html to see an example of how to use ListProtectionCapabilities API. A default retry strategy applies to this operation ListProtectionCapabilities()

func (WafClient) ListProtectionCapabilityGroupTags

func (client WafClient) ListProtectionCapabilityGroupTags(ctx context.Context, request ListProtectionCapabilityGroupTagsRequest) (response ListProtectionCapabilityGroupTagsResponse, err error)

ListProtectionCapabilityGroupTags Lists of available group tags filtered by query parameters.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListProtectionCapabilityGroupTags.go.html to see an example of how to use ListProtectionCapabilityGroupTags API. A default retry strategy applies to this operation ListProtectionCapabilityGroupTags()

func (WafClient) ListWebAppFirewallPolicies

func (client WafClient) ListWebAppFirewallPolicies(ctx context.Context, request ListWebAppFirewallPoliciesRequest) (response ListWebAppFirewallPoliciesResponse, err error)

ListWebAppFirewallPolicies Gets a list of all WebAppFirewallPolicies in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWebAppFirewallPolicies.go.html to see an example of how to use ListWebAppFirewallPolicies API. A default retry strategy applies to this operation ListWebAppFirewallPolicies()

func (WafClient) ListWebAppFirewalls

func (client WafClient) ListWebAppFirewalls(ctx context.Context, request ListWebAppFirewallsRequest) (response ListWebAppFirewallsResponse, err error)

ListWebAppFirewalls Gets a list of all WebAppFirewalls in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWebAppFirewalls.go.html to see an example of how to use ListWebAppFirewalls API. A default retry strategy applies to this operation ListWebAppFirewalls()

func (WafClient) ListWorkRequestErrors

func (client WafClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given WorkRequest.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()

func (WafClient) ListWorkRequestLogs

func (client WafClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given WorkRequest.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()

func (WafClient) ListWorkRequests

func (client WafClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the WorkRequests in a compartment.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()

func (*WafClient) SetRegion

func (client *WafClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (WafClient) UpdateNetworkAddressList

func (client WafClient) UpdateNetworkAddressList(ctx context.Context, request UpdateNetworkAddressListRequest) (response UpdateNetworkAddressListResponse, err error)

UpdateNetworkAddressList Update the NetworkAddressList identified by the OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/UpdateNetworkAddressList.go.html to see an example of how to use UpdateNetworkAddressList API. A default retry strategy applies to this operation UpdateNetworkAddressList()

func (WafClient) UpdateWebAppFirewall

func (client WafClient) UpdateWebAppFirewall(ctx context.Context, request UpdateWebAppFirewallRequest) (response UpdateWebAppFirewallResponse, err error)

UpdateWebAppFirewall Updates the WebAppFirewall identified by the OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/UpdateWebAppFirewall.go.html to see an example of how to use UpdateWebAppFirewall API. A default retry strategy applies to this operation UpdateWebAppFirewall()

func (WafClient) UpdateWebAppFirewallPolicy

func (client WafClient) UpdateWebAppFirewallPolicy(ctx context.Context, request UpdateWebAppFirewallPolicyRequest) (response UpdateWebAppFirewallPolicyResponse, err error)

UpdateWebAppFirewallPolicy Update the WebAppFirewallPolicy identified by the OCID.

# See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.62.0/waf/UpdateWebAppFirewallPolicy.go.html to see an example of how to use UpdateWebAppFirewallPolicy API. A default retry strategy applies to this operation UpdateWebAppFirewallPolicy()

type WebAppFirewall

WebAppFirewall A resource connecting a WebAppFirewallPolicy to a backend of particular type, applying that policy's coverage to the backend.

type WebAppFirewall interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppFirewall.
    GetId() *string

    // WebAppFirewall display name, can be renamed.
    GetDisplayName() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    GetCompartmentId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource.
    GetWebAppFirewallPolicyId() *string

    // The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
    GetTimeCreated() *common.SDKTime

    // The current state of the WebAppFirewall.
    GetLifecycleState() WebAppFirewallLifecycleStateEnum

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}

    // The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
    GetTimeUpdated() *common.SDKTime

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    GetLifecycleDetails() *string
}

type WebAppFirewallCollection

WebAppFirewallCollection Result of a WebAppFirewall list operation.

type WebAppFirewallCollection struct {

    // List of WebAppFirewalls.
    Items []WebAppFirewallSummary `mandatory:"true" json:"items"`
}

func (WebAppFirewallCollection) String

func (m WebAppFirewallCollection) String() string

func (*WebAppFirewallCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (WebAppFirewallCollection) ValidateEnumValue

func (m WebAppFirewallCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WebAppFirewallLifecycleStateEnum

WebAppFirewallLifecycleStateEnum Enum with underlying type: string

type WebAppFirewallLifecycleStateEnum string

Set of constants representing the allowable values for WebAppFirewallLifecycleStateEnum

const (
    WebAppFirewallLifecycleStateCreating WebAppFirewallLifecycleStateEnum = "CREATING"
    WebAppFirewallLifecycleStateUpdating WebAppFirewallLifecycleStateEnum = "UPDATING"
    WebAppFirewallLifecycleStateActive   WebAppFirewallLifecycleStateEnum = "ACTIVE"
    WebAppFirewallLifecycleStateDeleting WebAppFirewallLifecycleStateEnum = "DELETING"
    WebAppFirewallLifecycleStateDeleted  WebAppFirewallLifecycleStateEnum = "DELETED"
    WebAppFirewallLifecycleStateFailed   WebAppFirewallLifecycleStateEnum = "FAILED"
)

func GetMappingWebAppFirewallLifecycleStateEnum

func GetMappingWebAppFirewallLifecycleStateEnum(val string) (WebAppFirewallLifecycleStateEnum, bool)

GetMappingWebAppFirewallLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWebAppFirewallLifecycleStateEnumValues

func GetWebAppFirewallLifecycleStateEnumValues() []WebAppFirewallLifecycleStateEnum

GetWebAppFirewallLifecycleStateEnumValues Enumerates the set of values for WebAppFirewallLifecycleStateEnum

type WebAppFirewallLoadBalancer

WebAppFirewallLoadBalancer WebAppFirewall to a LoadBalancer resource.

type WebAppFirewallLoadBalancer struct {

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

    // WebAppFirewall display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource.
    WebAppFirewallPolicyId *string `mandatory:"true" json:"webAppFirewallPolicyId"`

    // The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // LoadBalancer OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to which the WebAppFirewallPolicy is attached to.
    LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

    // The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the WebAppFirewall.
    LifecycleState WebAppFirewallLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (WebAppFirewallLoadBalancer) GetCompartmentId

func (m WebAppFirewallLoadBalancer) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (WebAppFirewallLoadBalancer) GetDefinedTags

func (m WebAppFirewallLoadBalancer) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (WebAppFirewallLoadBalancer) GetDisplayName

func (m WebAppFirewallLoadBalancer) GetDisplayName() *string

GetDisplayName returns DisplayName

func (WebAppFirewallLoadBalancer) GetFreeformTags

func (m WebAppFirewallLoadBalancer) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (WebAppFirewallLoadBalancer) GetId

func (m WebAppFirewallLoadBalancer) GetId() *string

GetId returns Id

func (WebAppFirewallLoadBalancer) GetLifecycleDetails

func (m WebAppFirewallLoadBalancer) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (WebAppFirewallLoadBalancer) GetLifecycleState

func (m WebAppFirewallLoadBalancer) GetLifecycleState() WebAppFirewallLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (WebAppFirewallLoadBalancer) GetSystemTags

func (m WebAppFirewallLoadBalancer) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (WebAppFirewallLoadBalancer) GetTimeCreated

func (m WebAppFirewallLoadBalancer) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (WebAppFirewallLoadBalancer) GetTimeUpdated

func (m WebAppFirewallLoadBalancer) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (WebAppFirewallLoadBalancer) GetWebAppFirewallPolicyId

func (m WebAppFirewallLoadBalancer) GetWebAppFirewallPolicyId() *string

GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId

func (WebAppFirewallLoadBalancer) MarshalJSON

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

MarshalJSON marshals to json representation

func (WebAppFirewallLoadBalancer) String

func (m WebAppFirewallLoadBalancer) String() string

func (WebAppFirewallLoadBalancer) ValidateEnumValue

func (m WebAppFirewallLoadBalancer) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WebAppFirewallLoadBalancerSummary

WebAppFirewallLoadBalancerSummary Summary of the WebAppFirewallLoadBalancer.

type WebAppFirewallLoadBalancerSummary struct {

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

    // WebAppFirewall display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource.
    WebAppFirewallPolicyId *string `mandatory:"true" json:"webAppFirewallPolicyId"`

    // The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // LoadBalancer OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) to which the WebAppFirewallPolicy is attached to.
    LoadBalancerId *string `mandatory:"true" json:"loadBalancerId"`

    // The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // The current state of the WebAppFirewall.
    LifecycleState WebAppFirewallLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (WebAppFirewallLoadBalancerSummary) GetCompartmentId

func (m WebAppFirewallLoadBalancerSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (WebAppFirewallLoadBalancerSummary) GetDefinedTags

func (m WebAppFirewallLoadBalancerSummary) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (WebAppFirewallLoadBalancerSummary) GetDisplayName

func (m WebAppFirewallLoadBalancerSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (WebAppFirewallLoadBalancerSummary) GetFreeformTags

func (m WebAppFirewallLoadBalancerSummary) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (WebAppFirewallLoadBalancerSummary) GetId

func (m WebAppFirewallLoadBalancerSummary) GetId() *string

GetId returns Id

func (WebAppFirewallLoadBalancerSummary) GetLifecycleDetails

func (m WebAppFirewallLoadBalancerSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (WebAppFirewallLoadBalancerSummary) GetLifecycleState

func (m WebAppFirewallLoadBalancerSummary) GetLifecycleState() WebAppFirewallLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (WebAppFirewallLoadBalancerSummary) GetSystemTags

func (m WebAppFirewallLoadBalancerSummary) GetSystemTags() map[string]map[string]interface{}

GetSystemTags returns SystemTags

func (WebAppFirewallLoadBalancerSummary) GetTimeCreated

func (m WebAppFirewallLoadBalancerSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (WebAppFirewallLoadBalancerSummary) GetTimeUpdated

func (m WebAppFirewallLoadBalancerSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (WebAppFirewallLoadBalancerSummary) GetWebAppFirewallPolicyId

func (m WebAppFirewallLoadBalancerSummary) GetWebAppFirewallPolicyId() *string

GetWebAppFirewallPolicyId returns WebAppFirewallPolicyId

func (WebAppFirewallLoadBalancerSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (WebAppFirewallLoadBalancerSummary) String

func (m WebAppFirewallLoadBalancerSummary) String() string

func (WebAppFirewallLoadBalancerSummary) ValidateEnumValue

func (m WebAppFirewallLoadBalancerSummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WebAppFirewallPolicy

WebAppFirewallPolicy The details of WebAppFirewallPolicy. A policy is comprised of rules, which allows executing inspections of incoming/outgoing HTTP message parameters and execution of actions, based on results of rules execution. In policy, rules are grouped into modules by their functionality. Modules can be further divided by the type of HTTP messages they handle:

 Modules that inspect incoming HTTP request. These modules are executed in the order they are enumerated here:
   * requestAccessControl
   * requestRateLimiting
   * requestProtection
Modules that inspect outgoing HTTP responses. These modules are executed in the order they are enumerated here:
  * responseAccessControl
  * responseProtection
type WebAppFirewallPolicy struct {

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

    // WebAppFirewallPolicy display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The time the WebAppFirewallPolicy was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the WebAppFirewallPolicy.
    LifecycleState WebAppFirewallPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // The time the WebAppFirewallPolicy was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    // Predefined actions for use in multiple different rules. Not all actions are supported in every module.
    // Some actions terminate further execution of modules and rules in a module and some do not.
    // Actions names must be unique within this array.
    Actions []Action `mandatory:"false" json:"actions"`

    RequestAccessControl *RequestAccessControl `mandatory:"false" json:"requestAccessControl"`

    RequestRateLimiting *RequestRateLimiting `mandatory:"false" json:"requestRateLimiting"`

    RequestProtection *RequestProtection `mandatory:"false" json:"requestProtection"`

    ResponseAccessControl *ResponseAccessControl `mandatory:"false" json:"responseAccessControl"`

    ResponseProtection *ResponseProtection `mandatory:"false" json:"responseProtection"`
}

func (WebAppFirewallPolicy) String

func (m WebAppFirewallPolicy) String() string

func (*WebAppFirewallPolicy) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (WebAppFirewallPolicy) ValidateEnumValue

func (m WebAppFirewallPolicy) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WebAppFirewallPolicyCollection

WebAppFirewallPolicyCollection Contains WebAppFirewallPolicySummary items.

type WebAppFirewallPolicyCollection struct {

    // A list of WebAppFirewallPolicySummary objects.
    Items []WebAppFirewallPolicySummary `mandatory:"true" json:"items"`
}

func (WebAppFirewallPolicyCollection) String

func (m WebAppFirewallPolicyCollection) String() string

func (WebAppFirewallPolicyCollection) ValidateEnumValue

func (m WebAppFirewallPolicyCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WebAppFirewallPolicyLifecycleStateEnum

WebAppFirewallPolicyLifecycleStateEnum Enum with underlying type: string

type WebAppFirewallPolicyLifecycleStateEnum string

Set of constants representing the allowable values for WebAppFirewallPolicyLifecycleStateEnum

const (
    WebAppFirewallPolicyLifecycleStateCreating WebAppFirewallPolicyLifecycleStateEnum = "CREATING"
    WebAppFirewallPolicyLifecycleStateUpdating WebAppFirewallPolicyLifecycleStateEnum = "UPDATING"
    WebAppFirewallPolicyLifecycleStateActive   WebAppFirewallPolicyLifecycleStateEnum = "ACTIVE"
    WebAppFirewallPolicyLifecycleStateDeleting WebAppFirewallPolicyLifecycleStateEnum = "DELETING"
    WebAppFirewallPolicyLifecycleStateDeleted  WebAppFirewallPolicyLifecycleStateEnum = "DELETED"
    WebAppFirewallPolicyLifecycleStateFailed   WebAppFirewallPolicyLifecycleStateEnum = "FAILED"
)

func GetMappingWebAppFirewallPolicyLifecycleStateEnum

func GetMappingWebAppFirewallPolicyLifecycleStateEnum(val string) (WebAppFirewallPolicyLifecycleStateEnum, bool)

GetMappingWebAppFirewallPolicyLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWebAppFirewallPolicyLifecycleStateEnumValues

func GetWebAppFirewallPolicyLifecycleStateEnumValues() []WebAppFirewallPolicyLifecycleStateEnum

GetWebAppFirewallPolicyLifecycleStateEnumValues Enumerates the set of values for WebAppFirewallPolicyLifecycleStateEnum

type WebAppFirewallPolicyRule

WebAppFirewallPolicyRule Base schema for WebAppFirewallPolicyRules, including properties common to all of them.

type WebAppFirewallPolicyRule interface {

    // Rule name. Must be unique within the module.
    GetName() *string

    // References action by name from actions defined in WebAppFirewallPolicy.
    GetActionName() *string

    // The language used to parse condition from field `condition`. Available languages:
    // * **JMESPATH** an extended JMESPath language syntax.
    GetConditionLanguage() WebAppFirewallPolicyRuleConditionLanguageEnum

    // An expression that determines whether or not the rule action should be executed.
    GetCondition() *string
}

type WebAppFirewallPolicyRuleConditionLanguageEnum

WebAppFirewallPolicyRuleConditionLanguageEnum Enum with underlying type: string

type WebAppFirewallPolicyRuleConditionLanguageEnum string

Set of constants representing the allowable values for WebAppFirewallPolicyRuleConditionLanguageEnum

const (
    WebAppFirewallPolicyRuleConditionLanguageJmespath WebAppFirewallPolicyRuleConditionLanguageEnum = "JMESPATH"
)

func GetMappingWebAppFirewallPolicyRuleConditionLanguageEnum

func GetMappingWebAppFirewallPolicyRuleConditionLanguageEnum(val string) (WebAppFirewallPolicyRuleConditionLanguageEnum, bool)

GetMappingWebAppFirewallPolicyRuleConditionLanguageEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWebAppFirewallPolicyRuleConditionLanguageEnumValues

func GetWebAppFirewallPolicyRuleConditionLanguageEnumValues() []WebAppFirewallPolicyRuleConditionLanguageEnum

GetWebAppFirewallPolicyRuleConditionLanguageEnumValues Enumerates the set of values for WebAppFirewallPolicyRuleConditionLanguageEnum

type WebAppFirewallPolicyRuleTypeEnum

WebAppFirewallPolicyRuleTypeEnum Enum with underlying type: string

type WebAppFirewallPolicyRuleTypeEnum string

Set of constants representing the allowable values for WebAppFirewallPolicyRuleTypeEnum

const (
    WebAppFirewallPolicyRuleTypeAccessControl       WebAppFirewallPolicyRuleTypeEnum = "ACCESS_CONTROL"
    WebAppFirewallPolicyRuleTypeProtection          WebAppFirewallPolicyRuleTypeEnum = "PROTECTION"
    WebAppFirewallPolicyRuleTypeRequestRateLimiting WebAppFirewallPolicyRuleTypeEnum = "REQUEST_RATE_LIMITING"
)

func GetMappingWebAppFirewallPolicyRuleTypeEnum

func GetMappingWebAppFirewallPolicyRuleTypeEnum(val string) (WebAppFirewallPolicyRuleTypeEnum, bool)

GetMappingWebAppFirewallPolicyRuleTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWebAppFirewallPolicyRuleTypeEnumValues

func GetWebAppFirewallPolicyRuleTypeEnumValues() []WebAppFirewallPolicyRuleTypeEnum

GetWebAppFirewallPolicyRuleTypeEnumValues Enumerates the set of values for WebAppFirewallPolicyRuleTypeEnum

type WebAppFirewallPolicySummary

WebAppFirewallPolicySummary Summary of the WebAppFirewallPolicy.

type WebAppFirewallPolicySummary struct {

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

    // WebAppFirewallPolicy display name, can be renamed.
    DisplayName *string `mandatory:"true" json:"displayName"`

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

    // The time the WebAppFirewallPolicy was created. An RFC3339 formatted datetime string.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the WebAppFirewallPolicy.
    LifecycleState WebAppFirewallPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"true" json:"systemTags"`

    // The time the WebAppFirewallPolicy was updated. An RFC3339 formatted datetime string.
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`
}

func (WebAppFirewallPolicySummary) String

func (m WebAppFirewallPolicySummary) String() string

func (WebAppFirewallPolicySummary) ValidateEnumValue

func (m WebAppFirewallPolicySummary) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WebAppFirewallSummary

WebAppFirewallSummary Summary of the WebAppFirewall.

type WebAppFirewallSummary interface {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the WebAppFirewall.
    GetId() *string

    // WebAppFirewall display name, can be renamed.
    GetDisplayName() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment.
    GetCompartmentId() *string

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of WebAppFirewallPolicy, which is attached to the resource.
    GetWebAppFirewallPolicyId() *string

    // The time the WebAppFirewall was created. An RFC3339 formatted datetime string.
    GetTimeCreated() *common.SDKTime

    // The current state of the WebAppFirewall.
    GetLifecycleState() WebAppFirewallLifecycleStateEnum

    // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
    // Example: `{"bar-key": "value"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // Example: `{"foo-namespace": {"bar-key": "value"}}`
    GetDefinedTags() map[string]map[string]interface{}

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    GetSystemTags() map[string]map[string]interface{}

    // The time the WebAppFirewall was updated. An RFC3339 formatted datetime string.
    GetTimeUpdated() *common.SDKTime

    // A message describing the current state in more detail.
    // For example, can be used to provide actionable information for a resource in FAILED state.
    GetLifecycleDetails() *string
}

type WorkRequest

WorkRequest A description of WorkRequest status

type WorkRequest struct {

    // Type of the WorkRequest
    OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"`

    // Status of current work request.
    Status WorkRequestStatusEnum `mandatory:"true" json:"status"`

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

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment that contains the WorkRequest.
    // WorkRequests should be scoped to the same compartment as the resource the work request affects.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The resources affected by this WorkRequest.
    Resources []WorkRequestResource `mandatory:"true" json:"resources"`

    // Percentage of the request completed.
    PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

    // The date and time the request was created, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

    // The date and time the request was started, as described in
    // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29.
    TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

    // The date and time the object was finished, as described in RFC 3339 (https://tools.ietf.org/rfc/rfc3339).
    TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

func (m WorkRequest) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestCollection

WorkRequestCollection Result of a WorkRequest search. Contains both WorkRequest items and other information, such as metadata.

type WorkRequestCollection struct {

    // List of WorkRequests.
    Items []WorkRequest `mandatory:"true" json:"items"`
}

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

func (m WorkRequestCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestError

WorkRequestError An error encountered while executing a WorkRequest.

type WorkRequestError struct {

    // A machine-usable code for the error that occured. Error codes are listed on
    // https://docs.cloud.oracle.com/Content/API/References/apierrors.htm.
    Code *string `mandatory:"true" json:"code"`

    // A human readable description of the issue encountered.
    Message *string `mandatory:"true" json:"message"`

    // The time the error occured. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

func (m WorkRequestError) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestErrorCollection

WorkRequestErrorCollection Result of a WorkRequestError search. Contains both WorkRequestError items and other information, such as metadata.

type WorkRequestErrorCollection struct {

    // List of WorkRequestError objects.
    Items []WorkRequestError `mandatory:"true" json:"items"`
}

func (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a WorkRequest.

type WorkRequestLogEntry struct {

    // Human-readable log message.
    Message *string `mandatory:"true" json:"message"`

    // The time the log message was written. An RFC3339 formatted datetime string.
    Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection Result of a WorkRequestLog search. Contains both WorkRequestLog items and other information, such as metadata.

type WorkRequestLogEntryCollection struct {

    // List of WorkRequestLogEntries.
    Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

func (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestOperationTypeEnum

WorkRequestOperationTypeEnum Enum with underlying type: string

type WorkRequestOperationTypeEnum string

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

const (
    WorkRequestOperationTypeCreateWafPolicy          WorkRequestOperationTypeEnum = "CREATE_WAF_POLICY"
    WorkRequestOperationTypeUpdateWafPolicy          WorkRequestOperationTypeEnum = "UPDATE_WAF_POLICY"
    WorkRequestOperationTypeDeleteWafPolicy          WorkRequestOperationTypeEnum = "DELETE_WAF_POLICY"
    WorkRequestOperationTypeMoveWafPolicy            WorkRequestOperationTypeEnum = "MOVE_WAF_POLICY"
    WorkRequestOperationTypeCreateNetworkAddressList WorkRequestOperationTypeEnum = "CREATE_NETWORK_ADDRESS_LIST"
    WorkRequestOperationTypeUpdateNetworkAddressList WorkRequestOperationTypeEnum = "UPDATE_NETWORK_ADDRESS_LIST"
    WorkRequestOperationTypeDeleteNetworkAddressList WorkRequestOperationTypeEnum = "DELETE_NETWORK_ADDRESS_LIST"
    WorkRequestOperationTypeMoveNetworkAddressList   WorkRequestOperationTypeEnum = "MOVE_NETWORK_ADDRESS_LIST"
    WorkRequestOperationTypeCreateWebAppFirewall     WorkRequestOperationTypeEnum = "CREATE_WEB_APP_FIREWALL"
    WorkRequestOperationTypeUpdateWebAppFirewall     WorkRequestOperationTypeEnum = "UPDATE_WEB_APP_FIREWALL"
    WorkRequestOperationTypeDeleteWebAppFirewall     WorkRequestOperationTypeEnum = "DELETE_WEB_APP_FIREWALL"
    WorkRequestOperationTypeMoveWebAppFirewall       WorkRequestOperationTypeEnum = "MOVE_WEB_APP_FIREWALL"
)

func GetMappingWorkRequestOperationTypeEnum

func GetMappingWorkRequestOperationTypeEnum(val string) (WorkRequestOperationTypeEnum, bool)

GetMappingWorkRequestOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestOperationTypeEnumValues

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource

WorkRequestResource A resource created or operated on by a WorkRequest.

type WorkRequestResource struct {

    // The resource type the WorkRequest affects.
    EntityType *string `mandatory:"true" json:"entityType"`

    // The way in which this resource is affected by the work tracked in the WorkRequest.
    // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
    // work is complete for that resource at which point it will transition to CREATED, UPDATED,
    // or DELETED, respectively.
    ActionType WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"`

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the resource the WorkRequest affects.
    Identifier *string `mandatory:"true" json:"identifier"`

    // The URI path that the user can do a GET on to access the resource metadata.
    EntityUri *string `mandatory:"false" json:"entityUri"`
}

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

func (m WorkRequestResource) ValidateEnumValue() (bool, error)

ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly

type WorkRequestResourceActionTypeEnum

WorkRequestResourceActionTypeEnum Enum with underlying type: string

type WorkRequestResourceActionTypeEnum string

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

const (
    WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
    WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
    WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
    WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
    WorkRequestResourceActionTypeRelated    WorkRequestResourceActionTypeEnum = "RELATED"
)

func GetMappingWorkRequestResourceActionTypeEnum

func GetMappingWorkRequestResourceActionTypeEnum(val string) (WorkRequestResourceActionTypeEnum, bool)

GetMappingWorkRequestResourceActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum

WorkRequestStatusEnum Enum with underlying type: string

type WorkRequestStatusEnum string

Set of constants representing the allowable values for WorkRequestStatusEnum

const (
    WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
    WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
    WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
    WorkRequestStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
    WorkRequestStatusCanceling  WorkRequestStatusEnum = "CANCELING"
    WorkRequestStatusCanceled   WorkRequestStatusEnum = "CANCELED"
)

func GetMappingWorkRequestStatusEnum

func GetMappingWorkRequestStatusEnum(val string) (WorkRequestStatusEnum, bool)

GetMappingWorkRequestStatusEnum performs case Insensitive comparison on enum value and return the desired enum

func GetWorkRequestStatusEnumValues

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum