waf

package
v52.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: Apache-2.0, UPL-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessControlRule

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

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

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

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

type Action

type Action interface {

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

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 ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

type AllowAction

type AllowAction struct {

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

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

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

type BackendTypeEnum

type BackendTypeEnum string

BackendTypeEnum Enum with underlying type: string

const (
	BackendTypeLoadBalancer BackendTypeEnum = "LOAD_BALANCER"
)

Set of constants representing the allowable values for BackendTypeEnum

func GetBackendTypeEnumValues

func GetBackendTypeEnumValues() []BackendTypeEnum

GetBackendTypeEnumValues Enumerates the set of values for BackendTypeEnum

type ChangeNetworkAddressListCompartmentDetails

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

ChangeNetworkAddressListCompartmentDetails Updates compartmentId of resource.

func (ChangeNetworkAddressListCompartmentDetails) String

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

ChangeNetworkAddressListCompartmentRequest wrapper for the ChangeNetworkAddressListCompartment operation

See also

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

func (ChangeNetworkAddressListCompartmentRequest) BinaryRequestBody

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

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

func (ChangeNetworkAddressListCompartmentRequest) String

type ChangeNetworkAddressListCompartmentResponse

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

ChangeNetworkAddressListCompartmentResponse wrapper for the ChangeNetworkAddressListCompartment operation

func (ChangeNetworkAddressListCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkAddressListCompartmentResponse) String

type ChangeResourceCompartmentDetails

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

ChangeResourceCompartmentDetails Updates compartmentId of resource.

func (ChangeResourceCompartmentDetails) String

type ChangeWebAppFirewallCompartmentDetails

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

ChangeWebAppFirewallCompartmentDetails Updates compartmentId of resource.

func (ChangeWebAppFirewallCompartmentDetails) String

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

ChangeWebAppFirewallCompartmentRequest wrapper for the ChangeWebAppFirewallCompartment operation

See also

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

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

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

func (ChangeWebAppFirewallCompartmentRequest) String

type ChangeWebAppFirewallCompartmentResponse

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

ChangeWebAppFirewallCompartmentResponse wrapper for the ChangeWebAppFirewallCompartment operation

func (ChangeWebAppFirewallCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeWebAppFirewallCompartmentResponse) String

type ChangeWebAppFirewallPolicyCompartmentDetails

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

ChangeWebAppFirewallPolicyCompartmentDetails Updates compartmentId of resource.

func (ChangeWebAppFirewallPolicyCompartmentDetails) String

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

ChangeWebAppFirewallPolicyCompartmentRequest wrapper for the ChangeWebAppFirewallPolicyCompartment operation

See also

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

func (ChangeWebAppFirewallPolicyCompartmentRequest) BinaryRequestBody

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

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

func (ChangeWebAppFirewallPolicyCompartmentRequest) String

type ChangeWebAppFirewallPolicyCompartmentResponse

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

ChangeWebAppFirewallPolicyCompartmentResponse wrapper for the ChangeWebAppFirewallPolicyCompartment operation

func (ChangeWebAppFirewallPolicyCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeWebAppFirewallPolicyCompartmentResponse) String

type CheckAction

type CheckAction struct {

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

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.

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

type CollaborativeCapabilityWeight

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

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

func (CollaborativeCapabilityWeight) String

type CollaborativeCapabilityWeightOverride

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

CollaborativeCapabilityWeightOverride Collaborative capability key and overriding weight.

func (CollaborativeCapabilityWeightOverride) String

type CreateNetworkAddressListAddressesDetails

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

CreateNetworkAddressListAddressesDetails The information about new NetworkAddressListAddresses.

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

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

type CreateNetworkAddressListDetails

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

CreateNetworkAddressListDetails The information about new NetworkAddressList.

type CreateNetworkAddressListDetailsTypeEnum

type CreateNetworkAddressListDetailsTypeEnum string

CreateNetworkAddressListDetailsTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateNetworkAddressListDetailsTypeEnum

func GetCreateNetworkAddressListDetailsTypeEnumValues

func GetCreateNetworkAddressListDetailsTypeEnumValues() []CreateNetworkAddressListDetailsTypeEnum

GetCreateNetworkAddressListDetailsTypeEnumValues Enumerates the set of values for CreateNetworkAddressListDetailsTypeEnum

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

CreateNetworkAddressListRequest wrapper for the CreateNetworkAddressList operation

See also

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

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

type CreateNetworkAddressListResponse

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

CreateNetworkAddressListResponse wrapper for the CreateNetworkAddressList operation

func (CreateNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNetworkAddressListResponse) String

func (response CreateNetworkAddressListResponse) String() string

type CreateNetworkAddressListVcnAddressesDetails

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

CreateNetworkAddressListVcnAddressesDetails The information about new NetworkAddressListVcnAddresses.

func (CreateNetworkAddressListVcnAddressesDetails) GetCompartmentId

GetCompartmentId returns CompartmentId

func (CreateNetworkAddressListVcnAddressesDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (CreateNetworkAddressListVcnAddressesDetails) GetDisplayName

GetDisplayName returns DisplayName

func (CreateNetworkAddressListVcnAddressesDetails) GetFreeformTags

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

type CreateWebAppFirewallDetails

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

CreateWebAppFirewallDetails The information about new Web App Firewall.

type CreateWebAppFirewallLoadBalancerDetails

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

CreateWebAppFirewallLoadBalancerDetails The information about new WebAppFirewallLoadBalancer.

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

type CreateWebAppFirewallPolicyDetails

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

CreateWebAppFirewallPolicyDetails The information about new WebAppFirewallPolicy.

func (CreateWebAppFirewallPolicyDetails) String

func (*CreateWebAppFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

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

CreateWebAppFirewallPolicyRequest wrapper for the CreateWebAppFirewallPolicy operation

See also

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

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

type CreateWebAppFirewallPolicyResponse

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

CreateWebAppFirewallPolicyResponse wrapper for the CreateWebAppFirewallPolicy operation

func (CreateWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateWebAppFirewallPolicyResponse) String

func (response CreateWebAppFirewallPolicyResponse) String() string

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

CreateWebAppFirewallRequest wrapper for the CreateWebAppFirewall operation

See also

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

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

type CreateWebAppFirewallResponse

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

CreateWebAppFirewallResponse wrapper for the CreateWebAppFirewall operation

func (CreateWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateWebAppFirewallResponse) String

func (response CreateWebAppFirewallResponse) String() string

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

DeleteNetworkAddressListRequest wrapper for the DeleteNetworkAddressList operation

See also

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

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

type DeleteNetworkAddressListResponse

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

DeleteNetworkAddressListResponse wrapper for the DeleteNetworkAddressList operation

func (DeleteNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkAddressListResponse) String

func (response DeleteNetworkAddressListResponse) String() string

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

DeleteWebAppFirewallPolicyRequest wrapper for the DeleteWebAppFirewallPolicy operation

See also

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

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

type DeleteWebAppFirewallPolicyResponse

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

DeleteWebAppFirewallPolicyResponse wrapper for the DeleteWebAppFirewallPolicy operation

func (DeleteWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWebAppFirewallPolicyResponse) String

func (response DeleteWebAppFirewallPolicyResponse) String() string

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

DeleteWebAppFirewallRequest wrapper for the DeleteWebAppFirewall operation

See also

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

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

type DeleteWebAppFirewallResponse

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

DeleteWebAppFirewallResponse wrapper for the DeleteWebAppFirewall operation

func (DeleteWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWebAppFirewallResponse) String

func (response DeleteWebAppFirewallResponse) String() string

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

GetNetworkAddressListRequest wrapper for the GetNetworkAddressList operation

See also

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

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

type GetNetworkAddressListResponse

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

GetNetworkAddressListResponse wrapper for the GetNetworkAddressList operation

func (GetNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNetworkAddressListResponse) String

func (response GetNetworkAddressListResponse) String() string

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

GetWebAppFirewallPolicyRequest wrapper for the GetWebAppFirewallPolicy operation

See also

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

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

type GetWebAppFirewallPolicyResponse

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

GetWebAppFirewallPolicyResponse wrapper for the GetWebAppFirewallPolicy operation

func (GetWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWebAppFirewallPolicyResponse) String

func (response GetWebAppFirewallPolicyResponse) String() string

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

GetWebAppFirewallRequest wrapper for the GetWebAppFirewall operation

See also

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

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

type GetWebAppFirewallResponse

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

GetWebAppFirewallResponse wrapper for the GetWebAppFirewall operation

func (GetWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWebAppFirewallResponse) String

func (response GetWebAppFirewallResponse) String() string

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

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

type GetWorkRequestResponse

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type HttpResponseBody

type HttpResponseBody interface {
}

HttpResponseBody Type of returned HTTP response body.

type HttpResponseBodyTypeEnum

type HttpResponseBodyTypeEnum string

HttpResponseBodyTypeEnum Enum with underlying type: string

const (
	HttpResponseBodyTypeStaticText HttpResponseBodyTypeEnum = "STATIC_TEXT"
)

Set of constants representing the allowable values for HttpResponseBodyTypeEnum

func GetHttpResponseBodyTypeEnumValues

func GetHttpResponseBodyTypeEnumValues() []HttpResponseBodyTypeEnum

GetHttpResponseBodyTypeEnumValues Enumerates the set of values for HttpResponseBodyTypeEnum

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

ListNetworkAddressListsRequest wrapper for the ListNetworkAddressLists operation

See also

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

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

type ListNetworkAddressListsResponse

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

ListNetworkAddressListsResponse wrapper for the ListNetworkAddressLists operation

func (ListNetworkAddressListsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNetworkAddressListsResponse) String

func (response ListNetworkAddressListsResponse) String() string

type ListNetworkAddressListsSortByEnum

type ListNetworkAddressListsSortByEnum string

ListNetworkAddressListsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListNetworkAddressListsSortByEnum

func GetListNetworkAddressListsSortByEnumValues

func GetListNetworkAddressListsSortByEnumValues() []ListNetworkAddressListsSortByEnum

GetListNetworkAddressListsSortByEnumValues Enumerates the set of values for ListNetworkAddressListsSortByEnum

type ListNetworkAddressListsSortOrderEnum

type ListNetworkAddressListsSortOrderEnum string

ListNetworkAddressListsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListNetworkAddressListsSortOrderEnum

func GetListNetworkAddressListsSortOrderEnumValues

func GetListNetworkAddressListsSortOrderEnumValues() []ListNetworkAddressListsSortOrderEnum

GetListNetworkAddressListsSortOrderEnumValues Enumerates the set of values for ListNetworkAddressListsSortOrderEnum

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

ListProtectionCapabilitiesRequest wrapper for the ListProtectionCapabilities operation

See also

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

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

type ListProtectionCapabilitiesResponse

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

ListProtectionCapabilitiesResponse wrapper for the ListProtectionCapabilities operation

func (ListProtectionCapabilitiesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProtectionCapabilitiesResponse) String

func (response ListProtectionCapabilitiesResponse) String() string

type ListProtectionCapabilitiesSortByEnum

type ListProtectionCapabilitiesSortByEnum string

ListProtectionCapabilitiesSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListProtectionCapabilitiesSortByEnum

func GetListProtectionCapabilitiesSortByEnumValues

func GetListProtectionCapabilitiesSortByEnumValues() []ListProtectionCapabilitiesSortByEnum

GetListProtectionCapabilitiesSortByEnumValues Enumerates the set of values for ListProtectionCapabilitiesSortByEnum

type ListProtectionCapabilitiesSortOrderEnum

type ListProtectionCapabilitiesSortOrderEnum string

ListProtectionCapabilitiesSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListProtectionCapabilitiesSortOrderEnum

func GetListProtectionCapabilitiesSortOrderEnumValues

func GetListProtectionCapabilitiesSortOrderEnumValues() []ListProtectionCapabilitiesSortOrderEnum

GetListProtectionCapabilitiesSortOrderEnumValues Enumerates the set of values for ListProtectionCapabilitiesSortOrderEnum

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

ListProtectionCapabilityGroupTagsRequest wrapper for the ListProtectionCapabilityGroupTags operation

See also

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

func (ListProtectionCapabilityGroupTagsRequest) BinaryRequestBody

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

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

func (ListProtectionCapabilityGroupTagsRequest) String

type ListProtectionCapabilityGroupTagsResponse

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

ListProtectionCapabilityGroupTagsResponse wrapper for the ListProtectionCapabilityGroupTags operation

func (ListProtectionCapabilityGroupTagsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListProtectionCapabilityGroupTagsResponse) String

type ListProtectionCapabilityGroupTagsSortByEnum

type ListProtectionCapabilityGroupTagsSortByEnum string

ListProtectionCapabilityGroupTagsSortByEnum Enum with underlying type: string

const (
	ListProtectionCapabilityGroupTagsSortByName ListProtectionCapabilityGroupTagsSortByEnum = "name"
)

Set of constants representing the allowable values for ListProtectionCapabilityGroupTagsSortByEnum

func GetListProtectionCapabilityGroupTagsSortByEnumValues

func GetListProtectionCapabilityGroupTagsSortByEnumValues() []ListProtectionCapabilityGroupTagsSortByEnum

GetListProtectionCapabilityGroupTagsSortByEnumValues Enumerates the set of values for ListProtectionCapabilityGroupTagsSortByEnum

type ListProtectionCapabilityGroupTagsSortOrderEnum

type ListProtectionCapabilityGroupTagsSortOrderEnum string

ListProtectionCapabilityGroupTagsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListProtectionCapabilityGroupTagsSortOrderEnum

func GetListProtectionCapabilityGroupTagsSortOrderEnumValues

func GetListProtectionCapabilityGroupTagsSortOrderEnumValues() []ListProtectionCapabilityGroupTagsSortOrderEnum

GetListProtectionCapabilityGroupTagsSortOrderEnumValues Enumerates the set of values for ListProtectionCapabilityGroupTagsSortOrderEnum

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

ListWebAppFirewallPoliciesRequest wrapper for the ListWebAppFirewallPolicies operation

See also

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

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

type ListWebAppFirewallPoliciesResponse

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

ListWebAppFirewallPoliciesResponse wrapper for the ListWebAppFirewallPolicies operation

func (ListWebAppFirewallPoliciesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWebAppFirewallPoliciesResponse) String

func (response ListWebAppFirewallPoliciesResponse) String() string

type ListWebAppFirewallPoliciesSortByEnum

type ListWebAppFirewallPoliciesSortByEnum string

ListWebAppFirewallPoliciesSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWebAppFirewallPoliciesSortByEnum

func GetListWebAppFirewallPoliciesSortByEnumValues

func GetListWebAppFirewallPoliciesSortByEnumValues() []ListWebAppFirewallPoliciesSortByEnum

GetListWebAppFirewallPoliciesSortByEnumValues Enumerates the set of values for ListWebAppFirewallPoliciesSortByEnum

type ListWebAppFirewallPoliciesSortOrderEnum

type ListWebAppFirewallPoliciesSortOrderEnum string

ListWebAppFirewallPoliciesSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWebAppFirewallPoliciesSortOrderEnum

func GetListWebAppFirewallPoliciesSortOrderEnumValues

func GetListWebAppFirewallPoliciesSortOrderEnumValues() []ListWebAppFirewallPoliciesSortOrderEnum

GetListWebAppFirewallPoliciesSortOrderEnumValues Enumerates the set of values for ListWebAppFirewallPoliciesSortOrderEnum

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

ListWebAppFirewallsRequest wrapper for the ListWebAppFirewalls operation

See also

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

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

type ListWebAppFirewallsResponse

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

ListWebAppFirewallsResponse wrapper for the ListWebAppFirewalls operation

func (ListWebAppFirewallsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWebAppFirewallsResponse) String

func (response ListWebAppFirewallsResponse) String() string

type ListWebAppFirewallsSortByEnum

type ListWebAppFirewallsSortByEnum string

ListWebAppFirewallsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWebAppFirewallsSortByEnum

func GetListWebAppFirewallsSortByEnumValues

func GetListWebAppFirewallsSortByEnumValues() []ListWebAppFirewallsSortByEnum

GetListWebAppFirewallsSortByEnumValues Enumerates the set of values for ListWebAppFirewallsSortByEnum

type ListWebAppFirewallsSortOrderEnum

type ListWebAppFirewallsSortOrderEnum string

ListWebAppFirewallsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWebAppFirewallsSortOrderEnum

func GetListWebAppFirewallsSortOrderEnumValues

func GetListWebAppFirewallsSortOrderEnumValues() []ListWebAppFirewallsSortOrderEnum

GetListWebAppFirewallsSortOrderEnumValues Enumerates the set of values for ListWebAppFirewallsSortOrderEnum

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

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

type ListWorkRequestErrorsResponse

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

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

type ListWorkRequestLogsResponse

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

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

type ListWorkRequestsResponse

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

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type NetworkAddressList

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
}

NetworkAddressList IP addresses that can be used between different WebAppFirewallPolicies.

type NetworkAddressListAddresses

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

NetworkAddressListAddresses A NetworkAddressList that contains addresses.

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

GetId returns Id

func (NetworkAddressListAddresses) GetLifecycleDetails

func (m NetworkAddressListAddresses) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListAddresses) GetLifecycleState

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

type NetworkAddressListAddressesSummary

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

NetworkAddressListAddressesSummary Summary of NetworkAddressListAddresses.

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

GetId returns Id

func (NetworkAddressListAddressesSummary) GetLifecycleDetails

func (m NetworkAddressListAddressesSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListAddressesSummary) GetLifecycleState

GetLifecycleState returns LifecycleState

func (NetworkAddressListAddressesSummary) GetSystemTags

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

GetSystemTags returns SystemTags

func (NetworkAddressListAddressesSummary) GetTimeCreated

GetTimeCreated returns TimeCreated

func (NetworkAddressListAddressesSummary) GetTimeUpdated

GetTimeUpdated returns TimeUpdated

func (NetworkAddressListAddressesSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (NetworkAddressListAddressesSummary) String

type NetworkAddressListCollection

type NetworkAddressListCollection struct {

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

NetworkAddressListCollection Contains NetworkAddressListSummary items.

func (NetworkAddressListCollection) String

func (*NetworkAddressListCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type NetworkAddressListLifecycleStateEnum

type NetworkAddressListLifecycleStateEnum string

NetworkAddressListLifecycleStateEnum Enum with underlying type: string

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

Set of constants representing the allowable values for NetworkAddressListLifecycleStateEnum

func GetNetworkAddressListLifecycleStateEnumValues

func GetNetworkAddressListLifecycleStateEnumValues() []NetworkAddressListLifecycleStateEnum

GetNetworkAddressListLifecycleStateEnumValues Enumerates the set of values for NetworkAddressListLifecycleStateEnum

type NetworkAddressListSummary

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
}

NetworkAddressListSummary Summary of NetworkAddressList.

type NetworkAddressListSummaryTypeEnum

type NetworkAddressListSummaryTypeEnum string

NetworkAddressListSummaryTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for NetworkAddressListSummaryTypeEnum

func GetNetworkAddressListSummaryTypeEnumValues

func GetNetworkAddressListSummaryTypeEnumValues() []NetworkAddressListSummaryTypeEnum

GetNetworkAddressListSummaryTypeEnumValues Enumerates the set of values for NetworkAddressListSummaryTypeEnum

type NetworkAddressListTypeEnum

type NetworkAddressListTypeEnum string

NetworkAddressListTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for NetworkAddressListTypeEnum

func GetNetworkAddressListTypeEnumValues

func GetNetworkAddressListTypeEnumValues() []NetworkAddressListTypeEnum

GetNetworkAddressListTypeEnumValues Enumerates the set of values for NetworkAddressListTypeEnum

type NetworkAddressListVcnAddresses

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

NetworkAddressListVcnAddresses A NetworkAddressList that contains VCN addresses.

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

GetId returns Id

func (NetworkAddressListVcnAddresses) GetLifecycleDetails

func (m NetworkAddressListVcnAddresses) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListVcnAddresses) GetLifecycleState

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

type NetworkAddressListVcnAddressesSummary

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

NetworkAddressListVcnAddressesSummary Summary of NetworkAddressListVcnAddresses.

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

GetId returns Id

func (NetworkAddressListVcnAddressesSummary) GetLifecycleDetails

func (m NetworkAddressListVcnAddressesSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (NetworkAddressListVcnAddressesSummary) GetLifecycleState

GetLifecycleState returns LifecycleState

func (NetworkAddressListVcnAddressesSummary) GetSystemTags

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

GetSystemTags returns SystemTags

func (NetworkAddressListVcnAddressesSummary) GetTimeCreated

GetTimeCreated returns TimeCreated

func (NetworkAddressListVcnAddressesSummary) GetTimeUpdated

GetTimeUpdated returns TimeUpdated

func (NetworkAddressListVcnAddressesSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (NetworkAddressListVcnAddressesSummary) String

type PrivateAddresses

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

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

func (PrivateAddresses) String

func (m PrivateAddresses) String() string

type ProtectionCapability

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

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

func (ProtectionCapability) String

func (m ProtectionCapability) String() string

type ProtectionCapabilityCollection

type ProtectionCapabilityCollection struct {

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

ProtectionCapabilityCollection Result of a protection capabilities search.

func (ProtectionCapabilityCollection) String

type ProtectionCapabilityExclusions

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

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

func (ProtectionCapabilityExclusions) String

type ProtectionCapabilityGroupTagCollection

type ProtectionCapabilityGroupTagCollection struct {

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

ProtectionCapabilityGroupTagCollection Result of a protection capabilities group tags search.

func (ProtectionCapabilityGroupTagCollection) String

type ProtectionCapabilityGroupTagSummary

type ProtectionCapabilityGroupTagSummary struct {

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

ProtectionCapabilityGroupTagSummary Object representing protection cabapility group tag and its metadata.

func (ProtectionCapabilityGroupTagSummary) String

type ProtectionCapabilitySettings

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

ProtectionCapabilitySettings Settings for protection capabilities

func (ProtectionCapabilitySettings) String

type ProtectionCapabilitySummary

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

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

func (ProtectionCapabilitySummary) String

type ProtectionCapabilitySummaryTypeEnum

type ProtectionCapabilitySummaryTypeEnum string

ProtectionCapabilitySummaryTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ProtectionCapabilitySummaryTypeEnum

func GetProtectionCapabilitySummaryTypeEnumValues

func GetProtectionCapabilitySummaryTypeEnumValues() []ProtectionCapabilitySummaryTypeEnum

GetProtectionCapabilitySummaryTypeEnumValues Enumerates the set of values for ProtectionCapabilitySummaryTypeEnum

type ProtectionRule

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 executed in order of appearance.
	// 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"`

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

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

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

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

type RequestAccessControl

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

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.

func (RequestAccessControl) String

func (m RequestAccessControl) String() string

type RequestProtection

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 cCapabilities of REQUEST_PROTECTION_CAPABILITY type.
	Rules []ProtectionRule `mandatory:"false" json:"rules"`
}

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

func (RequestProtection) String

func (m RequestProtection) String() string

type RequestRateLimiting

type RequestRateLimiting struct {

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

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

func (RequestRateLimiting) String

func (m RequestRateLimiting) String() string

type RequestRateLimitingConfiguration

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

RequestRateLimitingConfiguration Rate limiting configuration.

func (RequestRateLimitingConfiguration) String

type RequestRateLimitingRule

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

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

  • CHECK
  • RETURN_HTTP_RESPONSE

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

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

type ResponseAccessControl

type ResponseAccessControl struct {

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

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

func (ResponseAccessControl) String

func (m ResponseAccessControl) String() string

type ResponseHeader

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

ResponseHeader A header field to add to a response.

func (ResponseHeader) String

func (m ResponseHeader) String() string

type ResponseProtection

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

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

func (ResponseProtection) String

func (m ResponseProtection) String() string

type ReturnHttpResponseAction

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

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

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

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StaticTextHttpResponseBody

type StaticTextHttpResponseBody struct {

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

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

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

func (StaticTextHttpResponseBody) MarshalJSON

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

MarshalJSON marshals to json representation

func (StaticTextHttpResponseBody) String

type UpdateNetworkAddressListAddressesDetails

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

UpdateNetworkAddressListAddressesDetails The information to be updated for NetworkAddressListAddresses.

func (UpdateNetworkAddressListAddressesDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (UpdateNetworkAddressListAddressesDetails) GetDisplayName

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

type UpdateNetworkAddressListDetails

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

UpdateNetworkAddressListDetails The information to be updated.

type UpdateNetworkAddressListDetailsTypeEnum

type UpdateNetworkAddressListDetailsTypeEnum string

UpdateNetworkAddressListDetailsTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for UpdateNetworkAddressListDetailsTypeEnum

func GetUpdateNetworkAddressListDetailsTypeEnumValues

func GetUpdateNetworkAddressListDetailsTypeEnumValues() []UpdateNetworkAddressListDetailsTypeEnum

GetUpdateNetworkAddressListDetailsTypeEnumValues Enumerates the set of values for UpdateNetworkAddressListDetailsTypeEnum

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

UpdateNetworkAddressListRequest wrapper for the UpdateNetworkAddressList operation

See also

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

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

type UpdateNetworkAddressListResponse

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

UpdateNetworkAddressListResponse wrapper for the UpdateNetworkAddressList operation

func (UpdateNetworkAddressListResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkAddressListResponse) String

func (response UpdateNetworkAddressListResponse) String() string

type UpdateNetworkAddressListVcnAddressesDetails

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

UpdateNetworkAddressListVcnAddressesDetails The information to be updated for NetworkAddressListVcnAddresses.

func (UpdateNetworkAddressListVcnAddressesDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (UpdateNetworkAddressListVcnAddressesDetails) GetDisplayName

GetDisplayName returns DisplayName

func (UpdateNetworkAddressListVcnAddressesDetails) GetFreeformTags

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

type UpdateWebAppFirewallDetails

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

UpdateWebAppFirewallDetails The information to be updated for WebAppFirewall.

func (UpdateWebAppFirewallDetails) String

type UpdateWebAppFirewallPolicyDetails

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

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.

func (UpdateWebAppFirewallPolicyDetails) String

func (*UpdateWebAppFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

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

UpdateWebAppFirewallPolicyRequest wrapper for the UpdateWebAppFirewallPolicy operation

See also

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

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

type UpdateWebAppFirewallPolicyResponse

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

UpdateWebAppFirewallPolicyResponse wrapper for the UpdateWebAppFirewallPolicy operation

func (UpdateWebAppFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateWebAppFirewallPolicyResponse) String

func (response UpdateWebAppFirewallPolicyResponse) String() string

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

UpdateWebAppFirewallRequest wrapper for the UpdateWebAppFirewall operation

See also

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

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

type UpdateWebAppFirewallResponse

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

UpdateWebAppFirewallResponse wrapper for the UpdateWebAppFirewall operation

func (UpdateWebAppFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateWebAppFirewallResponse) String

func (response UpdateWebAppFirewallResponse) String() string

type WafClient

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

WafClient a client for Waf

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/latest/waf/ChangeNetworkAddressListCompartment.go.html to see an example of how to use ChangeNetworkAddressListCompartment API.

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/latest/waf/ChangeWebAppFirewallCompartment.go.html to see an example of how to use ChangeWebAppFirewallCompartment API.

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/latest/waf/ChangeWebAppFirewallPolicyCompartment.go.html to see an example of how to use ChangeWebAppFirewallPolicyCompartment API.

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/latest/waf/CreateNetworkAddressList.go.html to see an example of how to use CreateNetworkAddressList API.

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/latest/waf/CreateWebAppFirewall.go.html to see an example of how to use CreateWebAppFirewall API.

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/latest/waf/CreateWebAppFirewallPolicy.go.html to see an example of how to use CreateWebAppFirewallPolicy API.

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/latest/waf/DeleteNetworkAddressList.go.html to see an example of how to use DeleteNetworkAddressList API.

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/latest/waf/DeleteWebAppFirewall.go.html to see an example of how to use DeleteWebAppFirewall API.

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/latest/waf/DeleteWebAppFirewallPolicy.go.html to see an example of how to use DeleteWebAppFirewallPolicy API.

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/latest/waf/GetNetworkAddressList.go.html to see an example of how to use GetNetworkAddressList API.

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/latest/waf/GetWebAppFirewall.go.html to see an example of how to use GetWebAppFirewall API.

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/latest/waf/GetWebAppFirewallPolicy.go.html to see an example of how to use GetWebAppFirewallPolicy API.

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/latest/waf/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.

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/latest/waf/ListNetworkAddressLists.go.html to see an example of how to use ListNetworkAddressLists API.

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/latest/waf/ListProtectionCapabilities.go.html to see an example of how to use ListProtectionCapabilities API.

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/latest/waf/ListProtectionCapabilityGroupTags.go.html to see an example of how to use ListProtectionCapabilityGroupTags API.

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/latest/waf/ListWebAppFirewallPolicies.go.html to see an example of how to use ListWebAppFirewallPolicies API.

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/latest/waf/ListWebAppFirewalls.go.html to see an example of how to use ListWebAppFirewalls API.

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/latest/waf/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.

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/latest/waf/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.

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/latest/waf/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.

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/latest/waf/UpdateNetworkAddressList.go.html to see an example of how to use UpdateNetworkAddressList API.

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/latest/waf/UpdateWebAppFirewall.go.html to see an example of how to use UpdateWebAppFirewall API.

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/latest/waf/UpdateWebAppFirewallPolicy.go.html to see an example of how to use UpdateWebAppFirewallPolicy API.

type WebAppFirewall

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
}

WebAppFirewall A resource connecting a WebAppFirewallPolicy to a backend of particular type, applying that policy's coverage to the backend.

type WebAppFirewallCollection

type WebAppFirewallCollection struct {

	// List of WebAppFirewalls.
	Items []WebAppFirewallSummary `mandatory:"true" json:"items"`
}

WebAppFirewallCollection Result of a WebAppFirewall list operation.

func (WebAppFirewallCollection) String

func (m WebAppFirewallCollection) String() string

func (*WebAppFirewallCollection) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type WebAppFirewallLifecycleStateEnum

type WebAppFirewallLifecycleStateEnum string

WebAppFirewallLifecycleStateEnum Enum with underlying type: string

const (
	WebAppFirewallLifecycleStateCreating WebAppFirewallLifecycleStateEnum = "CREATING"
	WebAppFirewallLifecycleStateUpdating WebAppFirewallLifecycleStateEnum = "UPDATING"
	WebAppFirewallLifecycleStateActive   WebAppFirewallLifecycleStateEnum = "ACTIVE"
	WebAppFirewallLifecycleStateDeleting WebAppFirewallLifecycleStateEnum = "DELETING"
	WebAppFirewallLifecycleStateDeleted  WebAppFirewallLifecycleStateEnum = "DELETED"
	WebAppFirewallLifecycleStateFailed   WebAppFirewallLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for WebAppFirewallLifecycleStateEnum

func GetWebAppFirewallLifecycleStateEnumValues

func GetWebAppFirewallLifecycleStateEnumValues() []WebAppFirewallLifecycleStateEnum

GetWebAppFirewallLifecycleStateEnumValues Enumerates the set of values for WebAppFirewallLifecycleStateEnum

type WebAppFirewallLoadBalancer

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

WebAppFirewallLoadBalancer WebAppFirewall to a LoadBalancer resource.

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

GetId returns Id

func (WebAppFirewallLoadBalancer) GetLifecycleDetails

func (m WebAppFirewallLoadBalancer) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (WebAppFirewallLoadBalancer) GetLifecycleState

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

type WebAppFirewallLoadBalancerSummary

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

WebAppFirewallLoadBalancerSummary Summary of the WebAppFirewallLoadBalancer.

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

GetId returns Id

func (WebAppFirewallLoadBalancerSummary) GetLifecycleDetails

func (m WebAppFirewallLoadBalancerSummary) GetLifecycleDetails() *string

GetLifecycleDetails returns LifecycleDetails

func (WebAppFirewallLoadBalancerSummary) GetLifecycleState

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

type WebAppFirewallPolicy

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

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

func (WebAppFirewallPolicy) String

func (m WebAppFirewallPolicy) String() string

func (*WebAppFirewallPolicy) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

type WebAppFirewallPolicyCollection

type WebAppFirewallPolicyCollection struct {

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

WebAppFirewallPolicyCollection Contains WebAppFirewallPolicySummary items.

func (WebAppFirewallPolicyCollection) String

type WebAppFirewallPolicyLifecycleStateEnum

type WebAppFirewallPolicyLifecycleStateEnum string

WebAppFirewallPolicyLifecycleStateEnum Enum with underlying type: string

const (
	WebAppFirewallPolicyLifecycleStateCreating WebAppFirewallPolicyLifecycleStateEnum = "CREATING"
	WebAppFirewallPolicyLifecycleStateUpdating WebAppFirewallPolicyLifecycleStateEnum = "UPDATING"
	WebAppFirewallPolicyLifecycleStateActive   WebAppFirewallPolicyLifecycleStateEnum = "ACTIVE"
	WebAppFirewallPolicyLifecycleStateDeleting WebAppFirewallPolicyLifecycleStateEnum = "DELETING"
	WebAppFirewallPolicyLifecycleStateDeleted  WebAppFirewallPolicyLifecycleStateEnum = "DELETED"
	WebAppFirewallPolicyLifecycleStateFailed   WebAppFirewallPolicyLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for WebAppFirewallPolicyLifecycleStateEnum

func GetWebAppFirewallPolicyLifecycleStateEnumValues

func GetWebAppFirewallPolicyLifecycleStateEnumValues() []WebAppFirewallPolicyLifecycleStateEnum

GetWebAppFirewallPolicyLifecycleStateEnumValues Enumerates the set of values for WebAppFirewallPolicyLifecycleStateEnum

type WebAppFirewallPolicyRule

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
}

WebAppFirewallPolicyRule Base schema for WebAppFirewallPolicyRules, including properties common to all of them.

type WebAppFirewallPolicyRuleConditionLanguageEnum

type WebAppFirewallPolicyRuleConditionLanguageEnum string

WebAppFirewallPolicyRuleConditionLanguageEnum Enum with underlying type: string

const (
	WebAppFirewallPolicyRuleConditionLanguageJmespath WebAppFirewallPolicyRuleConditionLanguageEnum = "JMESPATH"
)

Set of constants representing the allowable values for WebAppFirewallPolicyRuleConditionLanguageEnum

func GetWebAppFirewallPolicyRuleConditionLanguageEnumValues

func GetWebAppFirewallPolicyRuleConditionLanguageEnumValues() []WebAppFirewallPolicyRuleConditionLanguageEnum

GetWebAppFirewallPolicyRuleConditionLanguageEnumValues Enumerates the set of values for WebAppFirewallPolicyRuleConditionLanguageEnum

type WebAppFirewallPolicyRuleTypeEnum

type WebAppFirewallPolicyRuleTypeEnum string

WebAppFirewallPolicyRuleTypeEnum Enum with underlying type: string

const (
	WebAppFirewallPolicyRuleTypeAccessControl       WebAppFirewallPolicyRuleTypeEnum = "ACCESS_CONTROL"
	WebAppFirewallPolicyRuleTypeProtection          WebAppFirewallPolicyRuleTypeEnum = "PROTECTION"
	WebAppFirewallPolicyRuleTypeRequestRateLimiting WebAppFirewallPolicyRuleTypeEnum = "REQUEST_RATE_LIMITING"
)

Set of constants representing the allowable values for WebAppFirewallPolicyRuleTypeEnum

func GetWebAppFirewallPolicyRuleTypeEnumValues

func GetWebAppFirewallPolicyRuleTypeEnumValues() []WebAppFirewallPolicyRuleTypeEnum

GetWebAppFirewallPolicyRuleTypeEnumValues Enumerates the set of values for WebAppFirewallPolicyRuleTypeEnum

type WebAppFirewallPolicySummary

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

WebAppFirewallPolicySummary Summary of the WebAppFirewallPolicy.

func (WebAppFirewallPolicySummary) String

type WebAppFirewallSummary

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
}

WebAppFirewallSummary Summary of the WebAppFirewall.

type WorkRequest

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

WorkRequest A description of WorkRequest status

func (WorkRequest) String

func (m WorkRequest) String() string

type WorkRequestCollection

type WorkRequestCollection struct {

	// List of WorkRequests.
	Items []WorkRequest `mandatory:"true" json:"items"`
}

WorkRequestCollection Result of a WorkRequest search. Contains both WorkRequest items and other information, such as metadata.

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

type WorkRequestError

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

WorkRequestError An error encountered while executing a WorkRequest.

func (WorkRequestError) String

func (m WorkRequestError) String() string

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// List of WorkRequestError objects.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Result of a WorkRequestError search. Contains both WorkRequestError items and other information, such as metadata.

func (WorkRequestErrorCollection) String

type WorkRequestLogEntry

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

WorkRequestLogEntry A log message from the execution of a WorkRequest.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// List of WorkRequestLogEntries.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Result of a WorkRequestLog search. Contains both WorkRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String

type WorkRequestOperationTypeEnum

type WorkRequestOperationTypeEnum string

WorkRequestOperationTypeEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for WorkRequestOperationTypeEnum

func GetWorkRequestOperationTypeEnumValues

func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum

GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum

type WorkRequestResource

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

WorkRequestResource A resource created or operated on by a WorkRequest.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

type WorkRequestResourceActionTypeEnum

type WorkRequestResourceActionTypeEnum string

WorkRequestResourceActionTypeEnum Enum with underlying type: string

const (
	WorkRequestResourceActionTypeCreated    WorkRequestResourceActionTypeEnum = "CREATED"
	WorkRequestResourceActionTypeUpdated    WorkRequestResourceActionTypeEnum = "UPDATED"
	WorkRequestResourceActionTypeDeleted    WorkRequestResourceActionTypeEnum = "DELETED"
	WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS"
	WorkRequestResourceActionTypeRelated    WorkRequestResourceActionTypeEnum = "RELATED"
)

Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum

func GetWorkRequestResourceActionTypeEnumValues

func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum

GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum

type WorkRequestStatusEnum

type WorkRequestStatusEnum string

WorkRequestStatusEnum Enum with underlying type: string

const (
	WorkRequestStatusAccepted   WorkRequestStatusEnum = "ACCEPTED"
	WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS"
	WorkRequestStatusFailed     WorkRequestStatusEnum = "FAILED"
	WorkRequestStatusSucceeded  WorkRequestStatusEnum = "SUCCEEDED"
	WorkRequestStatusCanceling  WorkRequestStatusEnum = "CANCELING"
	WorkRequestStatusCanceled   WorkRequestStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for WorkRequestStatusEnum

func GetWorkRequestStatusEnumValues

func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum

GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum

Source Files

Jump to

Keyboard shortcuts

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