networkfirewall

package
v65.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2022 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetDecryptionProfileTypeEnumStringValues

func GetDecryptionProfileTypeEnumStringValues() []string

GetDecryptionProfileTypeEnumStringValues Enumerates the set of values in String for DecryptionProfileTypeEnum

func GetDecryptionRuleActionEnumStringValues

func GetDecryptionRuleActionEnumStringValues() []string

GetDecryptionRuleActionEnumStringValues Enumerates the set of values in String for DecryptionRuleActionEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues

func GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues() []string

GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesLifecycleStateEnum

func GetListNetworkFirewallPoliciesSortByEnumStringValues

func GetListNetworkFirewallPoliciesSortByEnumStringValues() []string

GetListNetworkFirewallPoliciesSortByEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesSortByEnum

func GetListNetworkFirewallPoliciesSortOrderEnumStringValues

func GetListNetworkFirewallPoliciesSortOrderEnumStringValues() []string

GetListNetworkFirewallPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesSortOrderEnum

func GetListNetworkFirewallsLifecycleStateEnumStringValues

func GetListNetworkFirewallsLifecycleStateEnumStringValues() []string

GetListNetworkFirewallsLifecycleStateEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsLifecycleStateEnum

func GetListNetworkFirewallsSortByEnumStringValues

func GetListNetworkFirewallsSortByEnumStringValues() []string

GetListNetworkFirewallsSortByEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsSortByEnum

func GetListNetworkFirewallsSortOrderEnumStringValues

func GetListNetworkFirewallsSortOrderEnumStringValues() []string

GetListNetworkFirewallsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetMappedSecretTypeEnumStringValues

func GetMappedSecretTypeEnumStringValues() []string

GetMappedSecretTypeEnumStringValues Enumerates the set of values in String for MappedSecretTypeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetSecurityRuleActionEnumStringValues

func GetSecurityRuleActionEnumStringValues() []string

GetSecurityRuleActionEnumStringValues Enumerates the set of values in String for SecurityRuleActionEnum

func GetSecurityRuleInspectionEnumStringValues

func GetSecurityRuleInspectionEnumStringValues() []string

GetSecurityRuleInspectionEnumStringValues Enumerates the set of values in String for SecurityRuleInspectionEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetUrlPatternTypeEnumStringValues

func GetUrlPatternTypeEnumStringValues() []string

GetUrlPatternTypeEnumStringValues Enumerates the set of values in String for UrlPatternTypeEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

Types

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
	ActionTypeFailed     ActionTypeEnum = "FAILED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type Application

type Application interface {
}

Application A protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range).

type CancelWorkRequestRequest

type CancelWorkRequestRequest struct {

	// The ID of the asynchronous request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

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

func (CancelWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

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

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

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

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

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

type CancelWorkRequestResponse

type CancelWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CancelWorkRequestResponse wrapper for the CancelWorkRequest operation

func (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeNetworkFirewallCompartmentDetails

type ChangeNetworkFirewallCompartmentDetails struct {

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

ChangeNetworkFirewallCompartmentDetails The information to be updated.

func (ChangeNetworkFirewallCompartmentDetails) String

func (ChangeNetworkFirewallCompartmentDetails) ValidateEnumValue

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

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

type ChangeNetworkFirewallCompartmentRequest

type ChangeNetworkFirewallCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall resource.
	NetworkFirewallId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallId"`

	// The information to be updated.
	ChangeNetworkFirewallCompartmentDetails `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
}

ChangeNetworkFirewallCompartmentRequest wrapper for the ChangeNetworkFirewallCompartment operation

See also

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

func (ChangeNetworkFirewallCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeNetworkFirewallCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeNetworkFirewallCompartmentRequest) RetryPolicy

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

func (ChangeNetworkFirewallCompartmentRequest) String

func (ChangeNetworkFirewallCompartmentRequest) ValidateEnumValue

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

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

type ChangeNetworkFirewallCompartmentResponse

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

ChangeNetworkFirewallCompartmentResponse wrapper for the ChangeNetworkFirewallCompartment operation

func (ChangeNetworkFirewallCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkFirewallCompartmentResponse) String

type ChangeNetworkFirewallPolicyCompartmentDetails

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

ChangeNetworkFirewallPolicyCompartmentDetails The request details required to move the resource to target compartment.

func (ChangeNetworkFirewallPolicyCompartmentDetails) String

func (ChangeNetworkFirewallPolicyCompartmentDetails) ValidateEnumValue

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

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

type ChangeNetworkFirewallPolicyCompartmentRequest

type ChangeNetworkFirewallPolicyCompartmentRequest struct {

	// Unique Network Firewall Policy identifier
	NetworkFirewallPolicyId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallPolicyId"`

	// The information to be updated.
	ChangeNetworkFirewallPolicyCompartmentDetails `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"`

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

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

ChangeNetworkFirewallPolicyCompartmentRequest wrapper for the ChangeNetworkFirewallPolicyCompartment operation

See also

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

func (ChangeNetworkFirewallPolicyCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeNetworkFirewallPolicyCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeNetworkFirewallPolicyCompartmentRequest) RetryPolicy

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

func (ChangeNetworkFirewallPolicyCompartmentRequest) String

func (ChangeNetworkFirewallPolicyCompartmentRequest) ValidateEnumValue

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

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

type ChangeNetworkFirewallPolicyCompartmentResponse

type ChangeNetworkFirewallPolicyCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ChangeNetworkFirewallPolicyCompartmentResponse wrapper for the ChangeNetworkFirewallPolicyCompartment operation

func (ChangeNetworkFirewallPolicyCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkFirewallPolicyCompartmentResponse) String

type CreateNetworkFirewallDetails

type CreateNetworkFirewallDetails struct {

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Network Firewall.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall Policy.
	NetworkFirewallPolicyId *string `mandatory:"true" json:"networkFirewallPolicyId"`

	// A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Availability Domain where Network Firewall instance is created.
	// To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation.
	// Example: `kIdk:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// IPv4 address for the Network Firewall.
	Ipv4Address *string `mandatory:"false" json:"ipv4Address"`

	// IPv6 address for the Network Firewall.
	Ipv6Address *string `mandatory:"false" json:"ipv6Address"`

	// An array of network security groups OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the Network Firewall.
	NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

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

CreateNetworkFirewallDetails The information about new Network Firewall.

func (CreateNetworkFirewallDetails) String

func (CreateNetworkFirewallDetails) ValidateEnumValue

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

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

type CreateNetworkFirewallPolicyDetails

type CreateNetworkFirewallPolicyDetails struct {

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

	// A user-friendly optional name for the firewall policy. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Map defining secrets of the policy.
	// The value of an entry is a "mapped secret" consisting of a purpose and source.
	// The associated key is the identifier by which the mapped secret is referenced.
	MappedSecrets map[string]MappedSecret `mandatory:"false" json:"mappedSecrets"`

	// Map defining application lists of the policy.
	// The value of an entry is a list of "applications", each consisting of a protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range).
	// The associated key is the identifier by which the application list is referenced.
	ApplicationLists map[string][]Application `mandatory:"false" json:"applicationLists"`

	// Map defining URL pattern lists of the policy.
	// The value of an entry is a list of URL patterns.
	// The associated key is the identifier by which the URL pattern list is referenced.
	UrlLists map[string][]UrlPattern `mandatory:"false" json:"urlLists"`

	// Map defining IP address lists of the policy.
	// The value of an entry is a list of IP addresses or prefixes in CIDR notation.
	// The associated key is the identifier by which the IP address list is referenced.
	IpAddressLists map[string][]string `mandatory:"false" json:"ipAddressLists"`

	// List of Security Rules defining the behavior of the policy.
	// The first rule with a matching condition determines the action taken upon network traffic.
	SecurityRules []SecurityRule `mandatory:"false" json:"securityRules"`

	// List of Decryption Rules defining the behavior of the policy.
	// The first rule with a matching condition determines the action taken upon network traffic.
	DecryptionRules []DecryptionRule `mandatory:"false" json:"decryptionRules"`

	// Map defining decryption profiles of the policy.
	// The value of an entry is a decryption profile.
	// The associated key is the identifier by which the decryption profile is referenced.
	DecryptionProfiles map[string]DecryptionProfile `mandatory:"false" json:"decryptionProfiles"`

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

CreateNetworkFirewallPolicyDetails Request data required to create a network firewall policy.

func (CreateNetworkFirewallPolicyDetails) String

func (*CreateNetworkFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateNetworkFirewallPolicyDetails) ValidateEnumValue

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

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

type CreateNetworkFirewallPolicyRequest

type CreateNetworkFirewallPolicyRequest struct {

	// Request Details to create the Network Firewall Policy Resource.
	CreateNetworkFirewallPolicyDetails `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
}

CreateNetworkFirewallPolicyRequest wrapper for the CreateNetworkFirewallPolicy operation

See also

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

func (CreateNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (CreateNetworkFirewallPolicyRequest) String

func (request CreateNetworkFirewallPolicyRequest) String() string

func (CreateNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type CreateNetworkFirewallPolicyResponse

type CreateNetworkFirewallPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CreateNetworkFirewallPolicyResponse wrapper for the CreateNetworkFirewallPolicy operation

func (CreateNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNetworkFirewallPolicyResponse) String

func (response CreateNetworkFirewallPolicyResponse) String() string

type CreateNetworkFirewallRequest

type CreateNetworkFirewallRequest struct {

	// Details for the new NetworkFirewall.
	CreateNetworkFirewallDetails `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
}

CreateNetworkFirewallRequest wrapper for the CreateNetworkFirewall operation

See also

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

func (CreateNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateNetworkFirewallRequest) RetryPolicy

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

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

func (CreateNetworkFirewallRequest) String

func (request CreateNetworkFirewallRequest) String() string

func (CreateNetworkFirewallRequest) ValidateEnumValue

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

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

type CreateNetworkFirewallResponse

type CreateNetworkFirewallResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

CreateNetworkFirewallResponse wrapper for the CreateNetworkFirewall operation

func (CreateNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNetworkFirewallResponse) String

func (response CreateNetworkFirewallResponse) String() string

type DecryptionProfile

type DecryptionProfile interface {
}

DecryptionProfile Decryption Profile used on the firewall policy rules.

type DecryptionProfileTypeEnum

type DecryptionProfileTypeEnum string

DecryptionProfileTypeEnum Enum with underlying type: string

const (
	DecryptionProfileTypeInboundInspection DecryptionProfileTypeEnum = "SSL_INBOUND_INSPECTION"
	DecryptionProfileTypeForwardProxy      DecryptionProfileTypeEnum = "SSL_FORWARD_PROXY"
)

Set of constants representing the allowable values for DecryptionProfileTypeEnum

func GetDecryptionProfileTypeEnumValues

func GetDecryptionProfileTypeEnumValues() []DecryptionProfileTypeEnum

GetDecryptionProfileTypeEnumValues Enumerates the set of values for DecryptionProfileTypeEnum

func GetMappingDecryptionProfileTypeEnum

func GetMappingDecryptionProfileTypeEnum(val string) (DecryptionProfileTypeEnum, bool)

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

type DecryptionRule

type DecryptionRule struct {

	// Name for the decryption rule, must be unique within the policy.
	Name *string `mandatory:"true" json:"name"`

	Condition *DecryptionRuleMatchCriteria `mandatory:"true" json:"condition"`

	// Action:
	// * NO_DECRYPT - Matching traffic is not decrypted.
	// * DECRYPT - Matching traffic is decrypted with the specified `secret` according to the specified `decryptionProfile`.
	Action DecryptionRuleActionEnum `mandatory:"true" json:"action"`

	// The name of the decryption profile to use.
	DecryptionProfile *string `mandatory:"false" json:"decryptionProfile"`

	// The name of a mapped secret. Its `type` must match that of the specified decryption profile.
	Secret *string `mandatory:"false" json:"secret"`
}

DecryptionRule Decryption Rule used in the firewall policy rules. A Decryption Rule is used to define which traffic should be decrypted by the firewall, and how it should do so.

func (DecryptionRule) String

func (m DecryptionRule) String() string

func (DecryptionRule) ValidateEnumValue

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

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

type DecryptionRuleActionEnum

type DecryptionRuleActionEnum string

DecryptionRuleActionEnum Enum with underlying type: string

const (
	DecryptionRuleActionNoDecrypt DecryptionRuleActionEnum = "NO_DECRYPT"
	DecryptionRuleActionDecrypt   DecryptionRuleActionEnum = "DECRYPT"
)

Set of constants representing the allowable values for DecryptionRuleActionEnum

func GetDecryptionRuleActionEnumValues

func GetDecryptionRuleActionEnumValues() []DecryptionRuleActionEnum

GetDecryptionRuleActionEnumValues Enumerates the set of values for DecryptionRuleActionEnum

func GetMappingDecryptionRuleActionEnum

func GetMappingDecryptionRuleActionEnum(val string) (DecryptionRuleActionEnum, bool)

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

type DecryptionRuleMatchCriteria

type DecryptionRuleMatchCriteria struct {

	// An array of IP address list names to be evaluated against the traffic source address.
	Sources []string `mandatory:"false" json:"sources"`

	// An array of IP address list names to be evaluated against the traffic destination address.
	Destinations []string `mandatory:"false" json:"destinations"`
}

DecryptionRuleMatchCriteria Match criteria used in Decryption Rule used on the firewall policy rules.

func (DecryptionRuleMatchCriteria) String

func (DecryptionRuleMatchCriteria) ValidateEnumValue

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

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

type DeleteNetworkFirewallPolicyRequest

type DeleteNetworkFirewallPolicyRequest struct {

	// Unique Network Firewall Policy identifier
	NetworkFirewallPolicyId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallPolicyId"`

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

DeleteNetworkFirewallPolicyRequest wrapper for the DeleteNetworkFirewallPolicy operation

See also

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

func (DeleteNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (DeleteNetworkFirewallPolicyRequest) String

func (request DeleteNetworkFirewallPolicyRequest) String() string

func (DeleteNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type DeleteNetworkFirewallPolicyResponse

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

DeleteNetworkFirewallPolicyResponse wrapper for the DeleteNetworkFirewallPolicy operation

func (DeleteNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkFirewallPolicyResponse) String

func (response DeleteNetworkFirewallPolicyResponse) String() string

type DeleteNetworkFirewallRequest

type DeleteNetworkFirewallRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall resource.
	NetworkFirewallId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallId"`

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

DeleteNetworkFirewallRequest wrapper for the DeleteNetworkFirewall operation

See also

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

func (DeleteNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteNetworkFirewallRequest) RetryPolicy

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

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

func (DeleteNetworkFirewallRequest) String

func (request DeleteNetworkFirewallRequest) String() string

func (DeleteNetworkFirewallRequest) ValidateEnumValue

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

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

type DeleteNetworkFirewallResponse

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

DeleteNetworkFirewallResponse wrapper for the DeleteNetworkFirewall operation

func (DeleteNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkFirewallResponse) String

func (response DeleteNetworkFirewallResponse) String() string

type GetNetworkFirewallPolicyRequest

type GetNetworkFirewallPolicyRequest struct {

	// Unique Network Firewall Policy identifier
	NetworkFirewallPolicyId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallPolicyId"`

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

GetNetworkFirewallPolicyRequest wrapper for the GetNetworkFirewallPolicy operation

See also

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

func (GetNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (GetNetworkFirewallPolicyRequest) String

func (request GetNetworkFirewallPolicyRequest) String() string

func (GetNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type GetNetworkFirewallPolicyResponse

type GetNetworkFirewallPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetNetworkFirewallPolicyResponse wrapper for the GetNetworkFirewallPolicy operation

func (GetNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNetworkFirewallPolicyResponse) String

func (response GetNetworkFirewallPolicyResponse) String() string

type GetNetworkFirewallRequest

type GetNetworkFirewallRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall resource.
	NetworkFirewallId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallId"`

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

GetNetworkFirewallRequest wrapper for the GetNetworkFirewall operation

See also

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

func (GetNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetNetworkFirewallRequest) RetryPolicy

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

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

func (GetNetworkFirewallRequest) String

func (request GetNetworkFirewallRequest) String() string

func (GetNetworkFirewallRequest) ValidateEnumValue

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

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

type GetNetworkFirewallResponse

type GetNetworkFirewallResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetNetworkFirewallResponse wrapper for the GetNetworkFirewall operation

func (GetNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNetworkFirewallResponse) String

func (response GetNetworkFirewallResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The ID 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/networkfirewall/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

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

type Icmp6Application struct {

	// The value of the ICMP6 message Type field as defined by RFC 4443 (https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1).
	IcmpType *int `mandatory:"true" json:"icmpType"`

	// The value of the ICMP6 message Code (subtype) field as defined by RFC 4443 (https://www.rfc-editor.org/rfc/rfc4443.html#section-2.1).
	IcmpCode *int `mandatory:"false" json:"icmpCode"`
}

Icmp6Application ICMP6 Application used on the firewall policy rules.

func (Icmp6Application) MarshalJSON

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

MarshalJSON marshals to json representation

func (Icmp6Application) String

func (m Icmp6Application) String() string

func (Icmp6Application) ValidateEnumValue

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

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

type IcmpApplication

type IcmpApplication struct {

	// The value of the ICMP message Type field as defined by RFC 792 (https://www.rfc-editor.org/rfc/rfc792.html).
	IcmpType *int `mandatory:"true" json:"icmpType"`

	// The value of the ICMP message Code (subtype) field as defined by RFC 792 (https://www.rfc-editor.org/rfc/rfc792.html).
	IcmpCode *int `mandatory:"false" json:"icmpCode"`
}

IcmpApplication ICMP Application used on the firewall policy rules.

func (IcmpApplication) MarshalJSON

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

MarshalJSON marshals to json representation

func (IcmpApplication) String

func (m IcmpApplication) String() string

func (IcmpApplication) ValidateEnumValue

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

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

type LifecycleStateEnum

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateCreating LifecycleStateEnum = "CREATING"
	LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
	LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
	LifecycleStateDeleting LifecycleStateEnum = "DELETING"
	LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
	LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

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

type ListNetworkFirewallPoliciesLifecycleStateEnum

type ListNetworkFirewallPoliciesLifecycleStateEnum string

ListNetworkFirewallPoliciesLifecycleStateEnum Enum with underlying type: string

const (
	ListNetworkFirewallPoliciesLifecycleStateCreating ListNetworkFirewallPoliciesLifecycleStateEnum = "CREATING"
	ListNetworkFirewallPoliciesLifecycleStateUpdating ListNetworkFirewallPoliciesLifecycleStateEnum = "UPDATING"
	ListNetworkFirewallPoliciesLifecycleStateActive   ListNetworkFirewallPoliciesLifecycleStateEnum = "ACTIVE"
	ListNetworkFirewallPoliciesLifecycleStateDeleting ListNetworkFirewallPoliciesLifecycleStateEnum = "DELETING"
	ListNetworkFirewallPoliciesLifecycleStateDeleted  ListNetworkFirewallPoliciesLifecycleStateEnum = "DELETED"
	ListNetworkFirewallPoliciesLifecycleStateFailed   ListNetworkFirewallPoliciesLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListNetworkFirewallPoliciesLifecycleStateEnum

func GetListNetworkFirewallPoliciesLifecycleStateEnumValues

func GetListNetworkFirewallPoliciesLifecycleStateEnumValues() []ListNetworkFirewallPoliciesLifecycleStateEnum

GetListNetworkFirewallPoliciesLifecycleStateEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesLifecycleStateEnum

func GetMappingListNetworkFirewallPoliciesLifecycleStateEnum

func GetMappingListNetworkFirewallPoliciesLifecycleStateEnum(val string) (ListNetworkFirewallPoliciesLifecycleStateEnum, bool)

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

type ListNetworkFirewallPoliciesRequest

type ListNetworkFirewallPoliciesRequest struct {

	// The ID 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 entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Unique Network Firewall Policy identifier
	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` or `opc-prev-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources with a lifecycleState matching the given value.
	LifecycleState ListNetworkFirewallPoliciesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListNetworkFirewallPoliciesSortOrderEnum `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.
	SortBy ListNetworkFirewallPoliciesSortByEnum `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
}

ListNetworkFirewallPoliciesRequest wrapper for the ListNetworkFirewallPolicies operation

See also

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

func (ListNetworkFirewallPoliciesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkFirewallPoliciesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListNetworkFirewallPoliciesRequest) RetryPolicy

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

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

func (ListNetworkFirewallPoliciesRequest) String

func (request ListNetworkFirewallPoliciesRequest) String() string

func (ListNetworkFirewallPoliciesRequest) ValidateEnumValue

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

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

type ListNetworkFirewallPoliciesResponse

type ListNetworkFirewallPoliciesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// 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 previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`

	// 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. This is to get the page counts overall.
	OpcPageCount *string `presentIn:"header" name:"opc-page-count"`

	// For pagination of a list of items. This provides the count of total items across pages.
	OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
}

ListNetworkFirewallPoliciesResponse wrapper for the ListNetworkFirewallPolicies operation

func (ListNetworkFirewallPoliciesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNetworkFirewallPoliciesResponse) String

func (response ListNetworkFirewallPoliciesResponse) String() string

type ListNetworkFirewallPoliciesSortByEnum

type ListNetworkFirewallPoliciesSortByEnum string

ListNetworkFirewallPoliciesSortByEnum Enum with underlying type: string

const (
	ListNetworkFirewallPoliciesSortByTimecreated ListNetworkFirewallPoliciesSortByEnum = "timeCreated"
	ListNetworkFirewallPoliciesSortByDisplayname ListNetworkFirewallPoliciesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListNetworkFirewallPoliciesSortByEnum

func GetListNetworkFirewallPoliciesSortByEnumValues

func GetListNetworkFirewallPoliciesSortByEnumValues() []ListNetworkFirewallPoliciesSortByEnum

GetListNetworkFirewallPoliciesSortByEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesSortByEnum

func GetMappingListNetworkFirewallPoliciesSortByEnum

func GetMappingListNetworkFirewallPoliciesSortByEnum(val string) (ListNetworkFirewallPoliciesSortByEnum, bool)

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

type ListNetworkFirewallPoliciesSortOrderEnum

type ListNetworkFirewallPoliciesSortOrderEnum string

ListNetworkFirewallPoliciesSortOrderEnum Enum with underlying type: string

const (
	ListNetworkFirewallPoliciesSortOrderAsc  ListNetworkFirewallPoliciesSortOrderEnum = "ASC"
	ListNetworkFirewallPoliciesSortOrderDesc ListNetworkFirewallPoliciesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNetworkFirewallPoliciesSortOrderEnum

func GetListNetworkFirewallPoliciesSortOrderEnumValues

func GetListNetworkFirewallPoliciesSortOrderEnumValues() []ListNetworkFirewallPoliciesSortOrderEnum

GetListNetworkFirewallPoliciesSortOrderEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesSortOrderEnum

func GetMappingListNetworkFirewallPoliciesSortOrderEnum

func GetMappingListNetworkFirewallPoliciesSortOrderEnum(val string) (ListNetworkFirewallPoliciesSortOrderEnum, bool)

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

type ListNetworkFirewallsLifecycleStateEnum

type ListNetworkFirewallsLifecycleStateEnum string

ListNetworkFirewallsLifecycleStateEnum Enum with underlying type: string

const (
	ListNetworkFirewallsLifecycleStateCreating ListNetworkFirewallsLifecycleStateEnum = "CREATING"
	ListNetworkFirewallsLifecycleStateUpdating ListNetworkFirewallsLifecycleStateEnum = "UPDATING"
	ListNetworkFirewallsLifecycleStateActive   ListNetworkFirewallsLifecycleStateEnum = "ACTIVE"
	ListNetworkFirewallsLifecycleStateDeleting ListNetworkFirewallsLifecycleStateEnum = "DELETING"
	ListNetworkFirewallsLifecycleStateDeleted  ListNetworkFirewallsLifecycleStateEnum = "DELETED"
	ListNetworkFirewallsLifecycleStateFailed   ListNetworkFirewallsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListNetworkFirewallsLifecycleStateEnum

func GetListNetworkFirewallsLifecycleStateEnumValues

func GetListNetworkFirewallsLifecycleStateEnumValues() []ListNetworkFirewallsLifecycleStateEnum

GetListNetworkFirewallsLifecycleStateEnumValues Enumerates the set of values for ListNetworkFirewallsLifecycleStateEnum

func GetMappingListNetworkFirewallsLifecycleStateEnum

func GetMappingListNetworkFirewallsLifecycleStateEnum(val string) (ListNetworkFirewallsLifecycleStateEnum, bool)

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

type ListNetworkFirewallsRequest

type ListNetworkFirewallsRequest struct {

	// The ID 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 entire display name given.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

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

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall resource.
	Id *string `mandatory:"false" contributesTo:"query" name:"id"`

	// A filter to return only resources that are present within the specified availability domain.
	// To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation.
	// Example: `kIdk:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" contributesTo:"query" name:"availabilityDomain"`

	// 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` or `opc-prev-page` header field of a previous response.
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// A filter to return only resources with a lifecycleState matching the given value.
	LifecycleState ListNetworkFirewallsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// The sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListNetworkFirewallsSortOrderEnum `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.
	SortBy ListNetworkFirewallsSortByEnum `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
}

ListNetworkFirewallsRequest wrapper for the ListNetworkFirewalls operation

See also

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

func (ListNetworkFirewallsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkFirewallsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListNetworkFirewallsRequest) RetryPolicy

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

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

func (ListNetworkFirewallsRequest) String

func (request ListNetworkFirewallsRequest) String() string

func (ListNetworkFirewallsRequest) ValidateEnumValue

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

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

type ListNetworkFirewallsResponse

type ListNetworkFirewallsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// 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 previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`

	// 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. This is to get the page counts overall.
	OpcPageCount *string `presentIn:"header" name:"opc-page-count"`

	// For pagination of a list of items. This provides the count of total items across pages.
	OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`
}

ListNetworkFirewallsResponse wrapper for the ListNetworkFirewalls operation

func (ListNetworkFirewallsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNetworkFirewallsResponse) String

func (response ListNetworkFirewallsResponse) String() string

type ListNetworkFirewallsSortByEnum

type ListNetworkFirewallsSortByEnum string

ListNetworkFirewallsSortByEnum Enum with underlying type: string

const (
	ListNetworkFirewallsSortByTimecreated ListNetworkFirewallsSortByEnum = "timeCreated"
	ListNetworkFirewallsSortByDisplayname ListNetworkFirewallsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListNetworkFirewallsSortByEnum

func GetListNetworkFirewallsSortByEnumValues

func GetListNetworkFirewallsSortByEnumValues() []ListNetworkFirewallsSortByEnum

GetListNetworkFirewallsSortByEnumValues Enumerates the set of values for ListNetworkFirewallsSortByEnum

func GetMappingListNetworkFirewallsSortByEnum

func GetMappingListNetworkFirewallsSortByEnum(val string) (ListNetworkFirewallsSortByEnum, bool)

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

type ListNetworkFirewallsSortOrderEnum

type ListNetworkFirewallsSortOrderEnum string

ListNetworkFirewallsSortOrderEnum Enum with underlying type: string

const (
	ListNetworkFirewallsSortOrderAsc  ListNetworkFirewallsSortOrderEnum = "ASC"
	ListNetworkFirewallsSortOrderDesc ListNetworkFirewallsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListNetworkFirewallsSortOrderEnum

func GetListNetworkFirewallsSortOrderEnumValues

func GetListNetworkFirewallsSortOrderEnumValues() []ListNetworkFirewallsSortOrderEnum

GetListNetworkFirewallsSortOrderEnumValues Enumerates the set of values for ListNetworkFirewallsSortOrderEnum

func GetMappingListNetworkFirewallsSortOrderEnum

func GetMappingListNetworkFirewallsSortOrderEnum(val string) (ListNetworkFirewallsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The ID 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` or `opc-prev-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 field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
	SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkfirewall/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

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

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

	// 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 previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

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 ListWorkRequestErrorsSortByEnum

type ListWorkRequestErrorsSortByEnum string

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

type ListWorkRequestErrorsSortOrderEnum string

ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestErrorsSortOrderAsc  ListWorkRequestErrorsSortOrderEnum = "ASC"
	ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestErrorsSortOrderEnumValues

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The ID 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` or `opc-prev-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 field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
	SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkfirewall/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

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

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

	// 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 previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

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 ListWorkRequestLogsSortByEnum

type ListWorkRequestLogsSortByEnum string

ListWorkRequestLogsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

type ListWorkRequestLogsSortOrderEnum string

ListWorkRequestLogsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestLogsSortOrderAsc  ListWorkRequestLogsSortOrderEnum = "ASC"
	ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestLogsSortOrderEnumValues

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The ID of the compartment in which to list resources.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// The ID of the asynchronous work request.
	WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"`

	// A filter to return only resources their lifecycleState matches the given OperationStatus.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// The ID of the resource affected by the work request.
	ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"`

	// 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` or `opc-prev-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 sort order to use, either 'ASC' or 'DESC'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
	SortBy ListWorkRequestsSortByEnum `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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/networkfirewall/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

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// 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 previous batch of items.
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-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 ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

const (
	ListWorkRequestsSortOrderAsc  ListWorkRequestsSortOrderEnum = "ASC"
	ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusWaiting    ListWorkRequestsStatusEnum = "WAITING"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCanceling  ListWorkRequestsStatusEnum = "CANCELING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type MappedSecret

type MappedSecret interface {

	// Type of the secrets mapped based on the policy.
	//  * `SSL_INBOUND_INSPECTION`: For Inbound inspection of SSL traffic.
	//  * `SSL_FORWARD_PROXY`: For forward proxy certificates for SSL inspection.
	GetType() MappedSecretTypeEnum
}

MappedSecret Mapped secret used on the firewall policy rules.

type MappedSecretTypeEnum

type MappedSecretTypeEnum string

MappedSecretTypeEnum Enum with underlying type: string

const (
	MappedSecretTypeInboundInspection MappedSecretTypeEnum = "SSL_INBOUND_INSPECTION"
	MappedSecretTypeForwardProxy      MappedSecretTypeEnum = "SSL_FORWARD_PROXY"
)

Set of constants representing the allowable values for MappedSecretTypeEnum

func GetMappedSecretTypeEnumValues

func GetMappedSecretTypeEnumValues() []MappedSecretTypeEnum

GetMappedSecretTypeEnumValues Enumerates the set of values for MappedSecretTypeEnum

func GetMappingMappedSecretTypeEnum

func GetMappingMappedSecretTypeEnum(val string) (MappedSecretTypeEnum, bool)

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

type NetworkFirewall

type NetworkFirewall struct {

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

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

	// A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Network Firewall.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall Policy.
	NetworkFirewallPolicyId *string `mandatory:"true" json:"networkFirewallPolicyId"`

	// The time instant at which the Network Firewall was created in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time instant at which the Network Firewall was updated in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the Network Firewall.
	LifecycleState LifecycleStateEnum `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"`

	// IPv4 address for the Network Firewall.
	Ipv4Address *string `mandatory:"false" json:"ipv4Address"`

	// IPv6 address for the Network Firewall.
	Ipv6Address *string `mandatory:"false" json:"ipv6Address"`

	// Availability Domain where Network Firewall instance is created.
	// To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation.
	// Example: `kIdk:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// An array of network security groups OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the Network Firewall.
	NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

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

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

NetworkFirewall Description of Network Firewall.

func (NetworkFirewall) String

func (m NetworkFirewall) String() string

func (NetworkFirewall) ValidateEnumValue

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

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

type NetworkFirewallClient

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

NetworkFirewallClient a client for NetworkFirewall

func NewNetworkFirewallClientWithConfigurationProvider

func NewNetworkFirewallClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client NetworkFirewallClient, err error)

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

func NewNetworkFirewallClientWithOboToken

func NewNetworkFirewallClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client NetworkFirewallClient, err error)

NewNetworkFirewallClientWithOboToken Creates a new default NetworkFirewall 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 (NetworkFirewallClient) CancelWorkRequest

func (client NetworkFirewallClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)

CancelWorkRequest Cancel work request with the given ID.

See also

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

func (NetworkFirewallClient) ChangeNetworkFirewallCompartment

func (client NetworkFirewallClient) ChangeNetworkFirewallCompartment(ctx context.Context, request ChangeNetworkFirewallCompartmentRequest) (response ChangeNetworkFirewallCompartmentResponse, err error)

ChangeNetworkFirewallCompartment Moves a NetworkFirewall resource from one compartment identifier 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/networkfirewall/ChangeNetworkFirewallCompartment.go.html to see an example of how to use ChangeNetworkFirewallCompartment API. A default retry strategy applies to this operation ChangeNetworkFirewallCompartment()

func (NetworkFirewallClient) ChangeNetworkFirewallPolicyCompartment

func (client NetworkFirewallClient) ChangeNetworkFirewallPolicyCompartment(ctx context.Context, request ChangeNetworkFirewallPolicyCompartmentRequest) (response ChangeNetworkFirewallPolicyCompartmentResponse, err error)

ChangeNetworkFirewallPolicyCompartment Moves a NetworkFirewallPolicy resource from one compartment identifier 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/networkfirewall/ChangeNetworkFirewallPolicyCompartment.go.html to see an example of how to use ChangeNetworkFirewallPolicyCompartment API. A default retry strategy applies to this operation ChangeNetworkFirewallPolicyCompartment()

func (*NetworkFirewallClient) ConfigurationProvider

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

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

func (NetworkFirewallClient) CreateNetworkFirewall

func (client NetworkFirewallClient) CreateNetworkFirewall(ctx context.Context, request CreateNetworkFirewallRequest) (response CreateNetworkFirewallResponse, err error)

CreateNetworkFirewall Creates a new NetworkFirewall.

See also

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

func (NetworkFirewallClient) CreateNetworkFirewallPolicy

func (client NetworkFirewallClient) CreateNetworkFirewallPolicy(ctx context.Context, request CreateNetworkFirewallPolicyRequest) (response CreateNetworkFirewallPolicyResponse, err error)

CreateNetworkFirewallPolicy Creates a new Network Firewall Policy.

See also

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

func (NetworkFirewallClient) DeleteNetworkFirewall

func (client NetworkFirewallClient) DeleteNetworkFirewall(ctx context.Context, request DeleteNetworkFirewallRequest) (response DeleteNetworkFirewallResponse, err error)

DeleteNetworkFirewall Deletes a NetworkFirewall resource by identifier

See also

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

func (NetworkFirewallClient) DeleteNetworkFirewallPolicy

func (client NetworkFirewallClient) DeleteNetworkFirewallPolicy(ctx context.Context, request DeleteNetworkFirewallPolicyRequest) (response DeleteNetworkFirewallPolicyResponse, err error)

DeleteNetworkFirewallPolicy Deletes a NetworkFirewallPolicy resource with the given identifier.

See also

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

func (NetworkFirewallClient) GetNetworkFirewall

func (client NetworkFirewallClient) GetNetworkFirewall(ctx context.Context, request GetNetworkFirewallRequest) (response GetNetworkFirewallResponse, err error)

GetNetworkFirewall Gets a NetworkFirewall by identifier

See also

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

func (NetworkFirewallClient) GetNetworkFirewallPolicy

func (client NetworkFirewallClient) GetNetworkFirewallPolicy(ctx context.Context, request GetNetworkFirewallPolicyRequest) (response GetNetworkFirewallPolicyResponse, err error)

GetNetworkFirewallPolicy Gets a NetworkFirewallPolicy given the network firewall policy identifier.

See also

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

func (NetworkFirewallClient) GetWorkRequest

func (client NetworkFirewallClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)

GetWorkRequest Gets the status of the work request with the given ID.

See also

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

func (NetworkFirewallClient) ListNetworkFirewallPolicies

func (client NetworkFirewallClient) ListNetworkFirewallPolicies(ctx context.Context, request ListNetworkFirewallPoliciesRequest) (response ListNetworkFirewallPoliciesResponse, err error)

ListNetworkFirewallPolicies Returns a list of Network Firewall Policies.

See also

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

func (NetworkFirewallClient) ListNetworkFirewalls

func (client NetworkFirewallClient) ListNetworkFirewalls(ctx context.Context, request ListNetworkFirewallsRequest) (response ListNetworkFirewallsResponse, err error)

ListNetworkFirewalls Returns a list of NetworkFirewalls.

See also

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

func (NetworkFirewallClient) ListWorkRequestErrors

func (client NetworkFirewallClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)

ListWorkRequestErrors Return a (paginated) list of errors for a given work request.

See also

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

func (NetworkFirewallClient) ListWorkRequestLogs

func (client NetworkFirewallClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)

ListWorkRequestLogs Return a (paginated) list of logs for a given work request.

See also

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

func (NetworkFirewallClient) ListWorkRequests

func (client NetworkFirewallClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (*NetworkFirewallClient) SetRegion

func (client *NetworkFirewallClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (NetworkFirewallClient) UpdateNetworkFirewall

func (client NetworkFirewallClient) UpdateNetworkFirewall(ctx context.Context, request UpdateNetworkFirewallRequest) (response UpdateNetworkFirewallResponse, err error)

UpdateNetworkFirewall Updates the NetworkFirewall

See also

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

func (NetworkFirewallClient) UpdateNetworkFirewallPolicy

func (client NetworkFirewallClient) UpdateNetworkFirewallPolicy(ctx context.Context, request UpdateNetworkFirewallPolicyRequest) (response UpdateNetworkFirewallPolicyResponse, err error)

UpdateNetworkFirewallPolicy Updates the NetworkFirewallPolicy

See also

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

type NetworkFirewallCollection

type NetworkFirewallCollection struct {

	// List of network firewalls.
	Items []NetworkFirewallSummary `mandatory:"true" json:"items"`
}

NetworkFirewallCollection A collection of NetworkFirewallSummary items.

func (NetworkFirewallCollection) String

func (m NetworkFirewallCollection) String() string

func (NetworkFirewallCollection) ValidateEnumValue

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

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

type NetworkFirewallPolicy

type NetworkFirewallPolicy struct {

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

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

	// A user-friendly optional name for the firewall policy. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The time instant at which the Network Firewall Policy was created in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The time instant at which the Network Firewall Policy was updated in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the Network Firewall Policy.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// To determine if any Network Firewall is associated with this Network Firewall Policy.
	IsFirewallAttached *bool `mandatory:"true" json:"isFirewallAttached"`

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

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

	// Map defining secrets of the policy.
	// The value of an entry is a "mapped secret" consisting of a purpose and source.
	// The associated key is the identifier by which the mapped secret is referenced.
	MappedSecrets map[string]MappedSecret `mandatory:"false" json:"mappedSecrets"`

	// Map defining application lists of the policy.
	// The value of an entry is a list of "applications", each consisting of a protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range).
	// The associated key is the identifier by which the application list is referenced.
	ApplicationLists map[string][]Application `mandatory:"false" json:"applicationLists"`

	// Map defining URL pattern lists of the policy.
	// The value of an entry is a list of URL patterns.
	// The associated key is the identifier by which the URL pattern list is referenced.
	UrlLists map[string][]UrlPattern `mandatory:"false" json:"urlLists"`

	// Map defining IP address lists of the policy.
	// The value of an entry is a list of IP addresses or prefixes in CIDR notation.
	// The associated key is the identifier by which the IP address list is referenced.
	IpAddressLists map[string][]string `mandatory:"false" json:"ipAddressLists"`

	// List of Security Rules defining the behavior of the policy.
	// The first rule with a matching condition determines the action taken upon network traffic.
	SecurityRules []SecurityRule `mandatory:"false" json:"securityRules"`

	// List of Decryption Rules defining the behavior of the policy.
	// The first rule with a matching condition determines the action taken upon network traffic.
	DecryptionRules []DecryptionRule `mandatory:"false" json:"decryptionRules"`

	// Map defining decryption profiles of the policy.
	// The value of an entry is a decryption profile.
	// The associated key is the identifier by which the decryption profile is referenced.
	DecryptionProfiles map[string]DecryptionProfile `mandatory:"false" json:"decryptionProfiles"`

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

NetworkFirewallPolicy Description of NetworkFirewall Policy.

func (NetworkFirewallPolicy) String

func (m NetworkFirewallPolicy) String() string

func (*NetworkFirewallPolicy) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (NetworkFirewallPolicy) ValidateEnumValue

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

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

type NetworkFirewallPolicySummary

type NetworkFirewallPolicySummary struct {

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

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

	// A user-friendly optional name for the firewall policy. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The time instant at which the Network Firewall Policy was created in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current lifecycle state of the Network Firewall Policy.
	LifecycleState LifecycleStateEnum `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"`

	// The time instant at which the Network Firewall Policy was updated in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	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"`

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

NetworkFirewallPolicySummary Summary of the NetworkFirewall Policy.

func (NetworkFirewallPolicySummary) String

func (NetworkFirewallPolicySummary) ValidateEnumValue

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

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

type NetworkFirewallPolicySummaryCollection

type NetworkFirewallPolicySummaryCollection struct {

	// Collection of network Firewall Policies.
	Items []NetworkFirewallPolicySummary `mandatory:"true" json:"items"`
}

NetworkFirewallPolicySummaryCollection Collection of Network Firewall Policies.

func (NetworkFirewallPolicySummaryCollection) String

func (NetworkFirewallPolicySummaryCollection) ValidateEnumValue

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

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

type NetworkFirewallSummary

type NetworkFirewallSummary struct {

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

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

	// A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the Network Firewall.
	SubnetId *string `mandatory:"true" json:"subnetId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall Policy.
	NetworkFirewallPolicyId *string `mandatory:"true" json:"networkFirewallPolicyId"`

	// The time instant at which the Network Firewall was created in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the Network Firewall.
	LifecycleState LifecycleStateEnum `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"`

	// Availability Domain where Network Firewall instance is created.
	// To get a list of availability domains for a tenancy, use ListAvailabilityDomains operation.
	// Example: `kIdk:PHX-AD-1`
	AvailabilityDomain *string `mandatory:"false" json:"availabilityDomain"`

	// IPv4 address for the Network Firewall.
	Ipv4Address *string `mandatory:"false" json:"ipv4Address"`

	// IPv6 address for the Network Firewall.
	Ipv6Address *string `mandatory:"false" json:"ipv6Address"`

	// The time instant at which the Network Firewall was updated in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2016-08-25T21:10:29.600Z`
	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"`

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

NetworkFirewallSummary Summary of the Network Firewall.

func (NetworkFirewallSummary) String

func (m NetworkFirewallSummary) String() string

func (NetworkFirewallSummary) ValidateEnumValue

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

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

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusWaiting    OperationStatusEnum = "WAITING"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCanceling  OperationStatusEnum = "CANCELING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreateNetworkFirewall       OperationTypeEnum = "CREATE_NETWORK_FIREWALL"
	OperationTypeUpdateNetworkFirewall       OperationTypeEnum = "UPDATE_NETWORK_FIREWALL"
	OperationTypeDeleteNetworkFirewall       OperationTypeEnum = "DELETE_NETWORK_FIREWALL"
	OperationTypeMoveNetworkFirewall         OperationTypeEnum = "MOVE_NETWORK_FIREWALL"
	OperationTypeCreateNetworkFirewallPolicy OperationTypeEnum = "CREATE_NETWORK_FIREWALL_POLICY"
	OperationTypeUpdateNetworkFirewallPolicy OperationTypeEnum = "UPDATE_NETWORK_FIREWALL_POLICY"
	OperationTypeDeleteNetworkFirewallPolicy OperationTypeEnum = "DELETE_NETWORK_FIREWALL_POLICY"
	OperationTypeMoveNetworkFirewallPolicy   OperationTypeEnum = "MOVE_NETWORK_FIREWALL_POLICY"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type SecurityRule

type SecurityRule struct {

	// Name for the Security rule, must be unique within the policy.
	Name *string `mandatory:"true" json:"name"`

	Condition *SecurityRuleMatchCriteria `mandatory:"true" json:"condition"`

	// Types of Action on the Traffic flow.
	//   * ALLOW - Allows the traffic.
	//   * DROP - Silently drops the traffic, e.g. without sending a TCP reset.
	//   * REJECT - Rejects the traffic, sending a TCP reset to client and/or server as applicable.
	//   * INSPECT - Inspects traffic for vulnerability as specified in `inspection`, which may result in rejection.
	Action SecurityRuleActionEnum `mandatory:"true" json:"action"`

	// Type of inspection to affect the Traffic flow. This is only applicable if action is INSPECT.
	//   * INTRUSION_DETECTION - Intrusion Detection.
	//   * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in `type`.
	Inspection SecurityRuleInspectionEnum `mandatory:"false" json:"inspection,omitempty"`
}

SecurityRule Security Rule used in the firewall policy rules. Security Rules determine whether to block or allow a session based on traffic attributes, such as the source and destination IP address, protocol/port, and the HTTP(S) target URL.

func (SecurityRule) String

func (m SecurityRule) String() string

func (SecurityRule) ValidateEnumValue

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

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

type SecurityRuleActionEnum

type SecurityRuleActionEnum string

SecurityRuleActionEnum Enum with underlying type: string

const (
	SecurityRuleActionAllow   SecurityRuleActionEnum = "ALLOW"
	SecurityRuleActionDrop    SecurityRuleActionEnum = "DROP"
	SecurityRuleActionReject  SecurityRuleActionEnum = "REJECT"
	SecurityRuleActionInspect SecurityRuleActionEnum = "INSPECT"
)

Set of constants representing the allowable values for SecurityRuleActionEnum

func GetMappingSecurityRuleActionEnum

func GetMappingSecurityRuleActionEnum(val string) (SecurityRuleActionEnum, bool)

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

func GetSecurityRuleActionEnumValues

func GetSecurityRuleActionEnumValues() []SecurityRuleActionEnum

GetSecurityRuleActionEnumValues Enumerates the set of values for SecurityRuleActionEnum

type SecurityRuleInspectionEnum

type SecurityRuleInspectionEnum string

SecurityRuleInspectionEnum Enum with underlying type: string

const (
	SecurityRuleInspectionDetection  SecurityRuleInspectionEnum = "INTRUSION_DETECTION"
	SecurityRuleInspectionPrevention SecurityRuleInspectionEnum = "INTRUSION_PREVENTION"
)

Set of constants representing the allowable values for SecurityRuleInspectionEnum

func GetMappingSecurityRuleInspectionEnum

func GetMappingSecurityRuleInspectionEnum(val string) (SecurityRuleInspectionEnum, bool)

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

func GetSecurityRuleInspectionEnumValues

func GetSecurityRuleInspectionEnumValues() []SecurityRuleInspectionEnum

GetSecurityRuleInspectionEnumValues Enumerates the set of values for SecurityRuleInspectionEnum

type SecurityRuleMatchCriteria

type SecurityRuleMatchCriteria struct {

	// An array of IP address list names to be evaluated against the traffic source address.
	Sources []string `mandatory:"false" json:"sources"`

	// An array of IP address list names to be evaluated against the traffic destination address.
	Destinations []string `mandatory:"false" json:"destinations"`

	// An array of application list names to be evaluated against the traffic protocol and protocol-specific parameters.
	Applications []string `mandatory:"false" json:"applications"`

	// An array of URL pattern list names to be evaluated against the HTTP(S) request target.
	Urls []string `mandatory:"false" json:"urls"`
}

SecurityRuleMatchCriteria Criteria to evaluate against network traffic. A match occurs when at least one item in the array associated with each specified property corresponds with the relevant aspect of the traffic.

func (SecurityRuleMatchCriteria) String

func (m SecurityRuleMatchCriteria) String() string

func (SecurityRuleMatchCriteria) ValidateEnumValue

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

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

type SimpleUrlPattern

type SimpleUrlPattern struct {

	// A string consisting of a concatenation of optional host component and optional path component.
	// The host component may start with `*.` to match the case-insensitive domain and all its subdomains.
	// The path component must start with a `/`, and may end with `*` to match all paths of which it is a case-sensitive prefix.
	// A missing host component matches all request domains, and a missing path component matches all request paths.
	// An empty value matches all requests.
	Pattern *string `mandatory:"true" json:"pattern"`
}

SimpleUrlPattern Pattern describing an http/https URL or set thereof as a concatenation of optional host component and optional path component. Key points: 1. Use the specific URLs or construct the URL patterns you want to match using wildcard `*` and token characters `./`. 2. In the host component and path component don't enter consecutive wildcard `*` for example: `example.*.*.com`. 3. To match the exact domain and its subdirectories add a trailing slash `/` to your entry. 4. The firewall interprets entries that do not end in a `/` or `*` with an implicit asterisk `*` to their end, which further increases the potential matches. 5. The Use of multiple wildcards in a single pattern can impact the performance of the firewall. Domain/subdomains match examples: 1. `*.example.com.*` will match `sub1.sub2.example.com.info.us` and `sub1.example.com.us` and `sub1.example.com/subdirectory` but not match `sub1.example.com`. 2. `*.example.com` will match `sub1.example.com` and `sub1.sub2.example.com` and `sub1.example.com.au` but not match `example.com`. 3. `*.example.com/` will match `sub1.sub2.example.com` and `sub1.example.com` but not match `sub1.example.com.au`. 4. `example.com` will match `example.com` and `example.com.au` and `example.com.info.us` and `example.com/subdirectory`. 5. `example.com/` will match `example.com` and `example.com/foo` but not `example.com.info.us`. 6. `example.*.com` will match `example.sub1.com` and `example.sub1.sub2.com` and `example.sub1.com.au` and `example.sub1.com/subdirecroty`. 7. `example.*.com/` will match `example.sub1.com` and `example.sub1.sub2.com` and `example.sub1.com/subdirecroty` but not match `example.sub1.com.au`. 8. `example.com.*` will match `example.com.us` and `example.com.info.us` and `example.com.us/subdirectory` but not match `sub1.example.com`. Subdirectory or path match examples: 1. `example.com/*` will match `example.com/foo` and `example.com/bar` and any `example.com/subdirectory`. 2. `example.com/foo` will match `example.com/foo`. 3. `www.example.com/foo/*` will match `www.exampe.com/foo/subdiectory`, but not match `www.example.com/FOO` or `www.example.com/bar/subdirectory`. 4. `*.example.com/foo/*` will match `sub2.sub.example.com/foo/subdirectory` but not match `sub1.example.com/FOO` or `sub1.example.com/bar/subdirectory`. Other examples containing IP addresses in urls: 1. 103.12.14.122/ will match 103.12.14.122 and 103.12.14.122/subdirectory. 2. 103.12.14.122:8081/ will match 103.12.14.122:8081 and 103.12.14.122:8081/subdirectory. 3. 2607:9d80:4680:3f01:0000:0000:00d0:00c0/ will match 2607:9d80:4680:3f01:0000:0000:00d0:00c0 and 2607:9d80:4680:3f01:0000:0000:00d0:00c0/subdirecroty. 4. [2607:9d80:4680:3f01:0000:0000:00d0:00c0]:8081/ will match [2607:9d80:4680:3f01:0000:0000:00d0:00c0]:8081 and [2607:9d80:4680:3f01:0000:0000:00d0:00c0]:8081/subdirecroty.

func (SimpleUrlPattern) MarshalJSON

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

MarshalJSON marshals to json representation

func (SimpleUrlPattern) String

func (m SimpleUrlPattern) String() string

func (SimpleUrlPattern) ValidateEnumValue

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

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

type SortOrderEnum

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 GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SslForwardProxyProfile

type SslForwardProxyProfile struct {

	// Whether to block sessions if server's certificate is expired.
	IsExpiredCertificateBlocked *bool `mandatory:"true" json:"isExpiredCertificateBlocked"`

	// Whether to block sessions if server's certificate is issued by an untrusted certificate authority (CA).
	IsUntrustedIssuerBlocked *bool `mandatory:"true" json:"isUntrustedIssuerBlocked"`

	// Whether to block sessions if the revocation status check for server's certificate
	// does not succeed within the maximum allowed time (defaulting to 5 seconds).
	IsRevocationStatusTimeoutBlocked *bool `mandatory:"true" json:"isRevocationStatusTimeoutBlocked"`

	// Whether to block sessions if SSL version is not supported.
	IsUnsupportedVersionBlocked *bool `mandatory:"true" json:"isUnsupportedVersionBlocked"`

	// Whether to block sessions if SSL cipher suite is not supported.
	IsUnsupportedCipherBlocked *bool `mandatory:"true" json:"isUnsupportedCipherBlocked"`

	// Whether to block sessions if the revocation status check for server's certificate results in "unknown".
	IsUnknownRevocationStatusBlocked *bool `mandatory:"true" json:"isUnknownRevocationStatusBlocked"`

	// Whether to block sessions if the server's certificate uses extensions other than key usage and/or extended key usage.
	AreCertificateExtensionsRestricted *bool `mandatory:"true" json:"areCertificateExtensionsRestricted"`

	// Whether to automatically append SAN to impersonating certificate if server certificate is missing SAN.
	IsAutoIncludeAltName *bool `mandatory:"true" json:"isAutoIncludeAltName"`

	// Whether to block sessions if the firewall is temporarily unable to decrypt their traffic.
	IsOutOfCapacityBlocked *bool `mandatory:"true" json:"isOutOfCapacityBlocked"`
}

SslForwardProxyProfile SSLForwardProxy used on the firewall policy rules.

func (SslForwardProxyProfile) MarshalJSON

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

MarshalJSON marshals to json representation

func (SslForwardProxyProfile) String

func (m SslForwardProxyProfile) String() string

func (SslForwardProxyProfile) ValidateEnumValue

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

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

type SslInboundInspectionProfile

type SslInboundInspectionProfile struct {

	// Whether to block sessions if SSL version is not supported.
	IsUnsupportedVersionBlocked *bool `mandatory:"true" json:"isUnsupportedVersionBlocked"`

	// Whether to block sessions if SSL cipher suite is not supported.
	IsUnsupportedCipherBlocked *bool `mandatory:"true" json:"isUnsupportedCipherBlocked"`

	// Whether to block sessions if the firewall is temporarily unable to decrypt their traffic.
	IsOutOfCapacityBlocked *bool `mandatory:"true" json:"isOutOfCapacityBlocked"`
}

SslInboundInspectionProfile SSLInboundInspection used on the firewall policy rules.

func (SslInboundInspectionProfile) MarshalJSON

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

MarshalJSON marshals to json representation

func (SslInboundInspectionProfile) String

func (SslInboundInspectionProfile) ValidateEnumValue

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

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

type TcpApplication

type TcpApplication struct {

	// The minimum port in the range (inclusive), or the sole port of a single-port range.
	MinimumPort *int `mandatory:"true" json:"minimumPort"`

	// The maximum port in the range (inclusive), which may be absent for a single-port range.
	MaximumPort *int `mandatory:"false" json:"maximumPort"`
}

TcpApplication TCP Application used on the firewall policy rules.

func (TcpApplication) MarshalJSON

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

MarshalJSON marshals to json representation

func (TcpApplication) String

func (m TcpApplication) String() string

func (TcpApplication) ValidateEnumValue

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

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

type UdpApplication

type UdpApplication struct {

	// The minimum port in the range (inclusive), or the sole port of a single-port range.
	MinimumPort *int `mandatory:"true" json:"minimumPort"`

	// The maximum port in the range (inclusive), which may be absent for a single-port range.
	MaximumPort *int `mandatory:"false" json:"maximumPort"`
}

UdpApplication UDP Application used on the firewall policy rules.

func (UdpApplication) MarshalJSON

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

MarshalJSON marshals to json representation

func (UdpApplication) String

func (m UdpApplication) String() string

func (UdpApplication) ValidateEnumValue

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

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

type UpdateNetworkFirewallDetails

type UpdateNetworkFirewallDetails struct {

	// A user-friendly name for the Network Firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall Policy.
	NetworkFirewallPolicyId *string `mandatory:"false" json:"networkFirewallPolicyId"`

	// An array of network security groups OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the Network Firewall.
	NetworkSecurityGroupIds []string `mandatory:"false" json:"networkSecurityGroupIds"`

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

UpdateNetworkFirewallDetails The information to be updated.

func (UpdateNetworkFirewallDetails) String

func (UpdateNetworkFirewallDetails) ValidateEnumValue

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

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

type UpdateNetworkFirewallPolicyDetails

type UpdateNetworkFirewallPolicyDetails struct {

	// A user-friendly name for the firewall. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Map defining secrets of the policy.
	// The value of an entry is a "mapped secret" consisting of a purpose and source.
	// The associated key is the identifier by which the mapped secret is referenced.
	MappedSecrets map[string]MappedSecret `mandatory:"false" json:"mappedSecrets"`

	// Map defining application lists of the policy.
	// The value of an entry is a list of "applications", each consisting of a protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range).
	// The associated key is the identifier by which the application list is referenced.
	ApplicationLists map[string][]Application `mandatory:"false" json:"applicationLists"`

	// Map defining URL pattern lists of the policy.
	// The value of an entry is a list of URL patterns.
	// The associated key is the identifier by which the URL pattern list is referenced.
	UrlLists map[string][]UrlPattern `mandatory:"false" json:"urlLists"`

	// Map defining IP address lists of the policy.
	// The value of an entry is a list of IP addresses or prefixes in CIDR notation.
	// The associated key is the identifier by which the IP address list is referenced.
	IpAddressLists map[string][]string `mandatory:"false" json:"ipAddressLists"`

	// List of Security Rules defining the behavior of the policy.
	// The first rule with a matching condition determines the action taken upon network traffic.
	SecurityRules []SecurityRule `mandatory:"false" json:"securityRules"`

	// List of Decryption Rules defining the behavior of the policy.
	// The first rule with a matching condition determines the action taken upon network traffic.
	DecryptionRules []DecryptionRule `mandatory:"false" json:"decryptionRules"`

	// Map defining decryption profiles of the policy.
	// The value of an entry is a decryption profile.
	// The associated key is the identifier by which the decryption profile is referenced.
	DecryptionProfiles map[string]DecryptionProfile `mandatory:"false" json:"decryptionProfiles"`

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

UpdateNetworkFirewallPolicyDetails The request details to be updated in the firewall policy.

func (UpdateNetworkFirewallPolicyDetails) String

func (*UpdateNetworkFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateNetworkFirewallPolicyDetails) ValidateEnumValue

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

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

type UpdateNetworkFirewallPolicyRequest

type UpdateNetworkFirewallPolicyRequest struct {

	// Unique Network Firewall Policy identifier
	NetworkFirewallPolicyId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallPolicyId"`

	// The information to be updated.
	UpdateNetworkFirewallPolicyDetails `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
}

UpdateNetworkFirewallPolicyRequest wrapper for the UpdateNetworkFirewallPolicy operation

See also

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

func (UpdateNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (UpdateNetworkFirewallPolicyRequest) String

func (request UpdateNetworkFirewallPolicyRequest) String() string

func (UpdateNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type UpdateNetworkFirewallPolicyResponse

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

UpdateNetworkFirewallPolicyResponse wrapper for the UpdateNetworkFirewallPolicy operation

func (UpdateNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkFirewallPolicyResponse) String

func (response UpdateNetworkFirewallPolicyResponse) String() string

type UpdateNetworkFirewallRequest

type UpdateNetworkFirewallRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Network Firewall resource.
	NetworkFirewallId *string `mandatory:"true" contributesTo:"path" name:"networkFirewallId"`

	// The information to be updated.
	UpdateNetworkFirewallDetails `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
}

UpdateNetworkFirewallRequest wrapper for the UpdateNetworkFirewall operation

See also

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

func (UpdateNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkFirewallRequest) RetryPolicy

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

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

func (UpdateNetworkFirewallRequest) String

func (request UpdateNetworkFirewallRequest) String() string

func (UpdateNetworkFirewallRequest) ValidateEnumValue

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

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

type UpdateNetworkFirewallResponse

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

UpdateNetworkFirewallResponse wrapper for the UpdateNetworkFirewall operation

func (UpdateNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkFirewallResponse) String

func (response UpdateNetworkFirewallResponse) String() string

type UrlPattern

type UrlPattern interface {
}

UrlPattern Pattern describing a URL or set of URLs.

type UrlPatternTypeEnum

type UrlPatternTypeEnum string

UrlPatternTypeEnum Enum with underlying type: string

const (
	UrlPatternTypeSimple UrlPatternTypeEnum = "SIMPLE"
)

Set of constants representing the allowable values for UrlPatternTypeEnum

func GetMappingUrlPatternTypeEnum

func GetMappingUrlPatternTypeEnum(val string) (UrlPatternTypeEnum, bool)

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

func GetUrlPatternTypeEnumValues

func GetUrlPatternTypeEnumValues() []UrlPatternTypeEnum

GetUrlPatternTypeEnumValues Enumerates the set of values for UrlPatternTypeEnum

type VaultMappedSecret

type VaultMappedSecret struct {

	// OCID for the Vault Secret to be used.
	VaultSecretId *string `mandatory:"true" json:"vaultSecretId"`

	// Version number of the secret to be used.
	VersionNumber *int `mandatory:"true" json:"versionNumber"`

	// Type of the secrets mapped based on the policy.
	//  * `SSL_INBOUND_INSPECTION`: For Inbound inspection of SSL traffic.
	//  * `SSL_FORWARD_PROXY`: For forward proxy certificates for SSL inspection.
	Type MappedSecretTypeEnum `mandatory:"true" json:"type"`
}

VaultMappedSecret Mapped secret stored in OCI vault used in the firewall policy rules.

func (VaultMappedSecret) GetType

GetType returns Type

func (VaultMappedSecret) MarshalJSON

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

MarshalJSON marshals to json representation

func (VaultMappedSecret) String

func (m VaultMappedSecret) String() string

func (VaultMappedSecret) ValidateEnumValue

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

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

type WorkRequest

type WorkRequest struct {

	// Type of the work request
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this work request.
	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

func (WorkRequest) ValidateEnumValue

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

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

type 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 work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

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

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

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

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 work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

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

WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

type WorkRequestResource struct {

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// 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 ActionTypeEnum `mandatory:"true" json:"actionType"`

	// The identifier of the resource the work request 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"`

	// Additional information that helps to explain the resource.
	Metadata map[string]string `mandatory:"false" json:"metadata"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceMetadataKeyEnum

type WorkRequestResourceMetadataKeyEnum string

WorkRequestResourceMetadataKeyEnum Enum with underlying type: string

const (
	WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN"
)

Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

type WorkRequestSummary struct {

	// Type of the work request
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The id of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The ocid of the compartment that contains the work request. Work requests should be scoped to
	// the same compartment as the resource the work request affects. If the work request affects multiple resources,
	// and those resources are not in the same compartment, it is up to the service team to pick the primary
	// resource whose compartment should be used
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this work request.
	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"`
}

WorkRequestSummary A summary of the status of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

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

type WorkRequestSummaryCollection

type WorkRequestSummaryCollection struct {

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

WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.

func (WorkRequestSummaryCollection) String

func (WorkRequestSummaryCollection) ValidateEnumValue

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

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

Source Files

Jump to

Keyboard shortcuts

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