func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetDecryptionProfileTypeEnumStringValues() []string
GetDecryptionProfileTypeEnumStringValues Enumerates the set of values in String for DecryptionProfileTypeEnum
func GetDecryptionRuleActionEnumStringValues() []string
GetDecryptionRuleActionEnumStringValues Enumerates the set of values in String for DecryptionRuleActionEnum
func GetLifecycleStateEnumStringValues() []string
GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum
func GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues() []string
GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesLifecycleStateEnum
func GetListNetworkFirewallPoliciesSortByEnumStringValues() []string
GetListNetworkFirewallPoliciesSortByEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesSortByEnum
func GetListNetworkFirewallPoliciesSortOrderEnumStringValues() []string
GetListNetworkFirewallPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesSortOrderEnum
func GetListNetworkFirewallsLifecycleStateEnumStringValues() []string
GetListNetworkFirewallsLifecycleStateEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsLifecycleStateEnum
func GetListNetworkFirewallsSortByEnumStringValues() []string
GetListNetworkFirewallsSortByEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsSortByEnum
func GetListNetworkFirewallsSortOrderEnumStringValues() []string
GetListNetworkFirewallsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetMappedSecretTypeEnumStringValues() []string
GetMappedSecretTypeEnumStringValues Enumerates the set of values in String for MappedSecretTypeEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetSecurityRuleActionEnumStringValues() []string
GetSecurityRuleActionEnumStringValues Enumerates the set of values in String for SecurityRuleActionEnum
func GetSecurityRuleInspectionEnumStringValues() []string
GetSecurityRuleInspectionEnumStringValues Enumerates the set of values in String for SecurityRuleInspectionEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetUrlPatternTypeEnumStringValues() []string
GetUrlPatternTypeEnumStringValues Enumerates the set of values in String for UrlPatternTypeEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
Application A protocol identifier (such as TCP, UDP, or ICMP) and protocol-specific parameters (such as a port range).
type Application interface { }
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/CancelWorkRequest.go.html to see an example of how to use 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 }
func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
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
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
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"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
ChangeNetworkFirewallCompartmentDetails The information to be updated.
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"` }
func (m ChangeNetworkFirewallCompartmentDetails) String() string
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
ChangeNetworkFirewallCompartmentRequest wrapper for the ChangeNetworkFirewallCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ChangeNetworkFirewallCompartment.go.html to see an example of how to use 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 }
func (request ChangeNetworkFirewallCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeNetworkFirewallCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeNetworkFirewallCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeNetworkFirewallCompartmentRequest) String() string
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
ChangeNetworkFirewallCompartmentResponse wrapper for the ChangeNetworkFirewallCompartment operation
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"` }
func (response ChangeNetworkFirewallCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeNetworkFirewallCompartmentResponse) String() string
ChangeNetworkFirewallPolicyCompartmentDetails The request details required to move the resource to target compartment.
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"` }
func (m ChangeNetworkFirewallPolicyCompartmentDetails) String() string
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
ChangeNetworkFirewallPolicyCompartmentRequest wrapper for the ChangeNetworkFirewallPolicyCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ChangeNetworkFirewallPolicyCompartment.go.html to see an example of how to use 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 }
func (request ChangeNetworkFirewallPolicyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeNetworkFirewallPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeNetworkFirewallPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeNetworkFirewallPolicyCompartmentRequest) String() string
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
ChangeNetworkFirewallPolicyCompartmentResponse wrapper for the ChangeNetworkFirewallPolicyCompartment operation
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"` }
func (response ChangeNetworkFirewallPolicyCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeNetworkFirewallPolicyCompartmentResponse) String() string
CreateNetworkFirewallDetails The information about new Network Firewall.
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"` }
func (m CreateNetworkFirewallDetails) String() string
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
CreateNetworkFirewallPolicyDetails Request data required to create a network firewall policy.
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"` }
func (m CreateNetworkFirewallPolicyDetails) String() string
func (m *CreateNetworkFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
CreateNetworkFirewallPolicyRequest wrapper for the CreateNetworkFirewallPolicy operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/CreateNetworkFirewallPolicy.go.html to see an example of how to use 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 }
func (request CreateNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateNetworkFirewallPolicyRequest) String() string
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
CreateNetworkFirewallPolicyResponse wrapper for the CreateNetworkFirewallPolicy operation
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"` }
func (response CreateNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateNetworkFirewallPolicyResponse) String() string
CreateNetworkFirewallRequest wrapper for the CreateNetworkFirewall operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/CreateNetworkFirewall.go.html to see an example of how to use 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 }
func (request CreateNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateNetworkFirewallRequest) String() string
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
CreateNetworkFirewallResponse wrapper for the CreateNetworkFirewall operation
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"` }
func (response CreateNetworkFirewallResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateNetworkFirewallResponse) String() string
DecryptionProfile Decryption Profile used on the firewall policy rules.
type DecryptionProfile interface { }
DecryptionProfileTypeEnum Enum with underlying type: string
type DecryptionProfileTypeEnum string
Set of constants representing the allowable values for DecryptionProfileTypeEnum
const ( DecryptionProfileTypeInboundInspection DecryptionProfileTypeEnum = "SSL_INBOUND_INSPECTION" DecryptionProfileTypeForwardProxy DecryptionProfileTypeEnum = "SSL_FORWARD_PROXY" )
func GetDecryptionProfileTypeEnumValues() []DecryptionProfileTypeEnum
GetDecryptionProfileTypeEnumValues Enumerates the set of values for DecryptionProfileTypeEnum
func GetMappingDecryptionProfileTypeEnum(val string) (DecryptionProfileTypeEnum, bool)
GetMappingDecryptionProfileTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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.
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"` }
func (m DecryptionRule) String() string
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
DecryptionRuleActionEnum Enum with underlying type: string
type DecryptionRuleActionEnum string
Set of constants representing the allowable values for DecryptionRuleActionEnum
const ( DecryptionRuleActionNoDecrypt DecryptionRuleActionEnum = "NO_DECRYPT" DecryptionRuleActionDecrypt DecryptionRuleActionEnum = "DECRYPT" )
func GetDecryptionRuleActionEnumValues() []DecryptionRuleActionEnum
GetDecryptionRuleActionEnumValues Enumerates the set of values for DecryptionRuleActionEnum
func GetMappingDecryptionRuleActionEnum(val string) (DecryptionRuleActionEnum, bool)
GetMappingDecryptionRuleActionEnum performs case Insensitive comparison on enum value and return the desired enum
DecryptionRuleMatchCriteria Match criteria used in Decryption Rule used on the firewall policy rules.
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"` }
func (m DecryptionRuleMatchCriteria) String() string
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
DeleteNetworkFirewallPolicyRequest wrapper for the DeleteNetworkFirewallPolicy operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/DeleteNetworkFirewallPolicy.go.html to see an example of how to use 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 }
func (request DeleteNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteNetworkFirewallPolicyRequest) String() string
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
DeleteNetworkFirewallPolicyResponse wrapper for the DeleteNetworkFirewallPolicy operation
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"` }
func (response DeleteNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteNetworkFirewallPolicyResponse) String() string
DeleteNetworkFirewallRequest wrapper for the DeleteNetworkFirewall operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/DeleteNetworkFirewall.go.html to see an example of how to use 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 }
func (request DeleteNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteNetworkFirewallRequest) String() string
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
DeleteNetworkFirewallResponse wrapper for the DeleteNetworkFirewall operation
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"` }
func (response DeleteNetworkFirewallResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteNetworkFirewallResponse) String() string
GetNetworkFirewallPolicyRequest wrapper for the GetNetworkFirewallPolicy operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/GetNetworkFirewallPolicy.go.html to see an example of how to use 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 }
func (request GetNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetNetworkFirewallPolicyRequest) String() string
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
GetNetworkFirewallPolicyResponse wrapper for the GetNetworkFirewallPolicy operation
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"` }
func (response GetNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetNetworkFirewallPolicyResponse) String() string
GetNetworkFirewallRequest wrapper for the GetNetworkFirewall operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/GetNetworkFirewall.go.html to see an example of how to use 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 }
func (request GetNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetNetworkFirewallRequest) String() string
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
GetNetworkFirewallResponse wrapper for the GetNetworkFirewall operation
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"` }
func (response GetNetworkFirewallResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetNetworkFirewallResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/GetWorkRequest.go.html to see an example of how to use 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 }
func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
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
GetWorkRequestResponse wrapper for the GetWorkRequest operation
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"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
Icmp6Application ICMP6 Application used on the firewall policy rules.
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"` }
func (m Icmp6Application) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m Icmp6Application) String() string
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
IcmpApplication ICMP Application used on the firewall policy rules.
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"` }
func (m IcmpApplication) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m IcmpApplication) String() string
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
LifecycleStateEnum Enum with underlying type: string
type LifecycleStateEnum string
Set of constants representing the allowable values for LifecycleStateEnum
const ( LifecycleStateCreating LifecycleStateEnum = "CREATING" LifecycleStateUpdating LifecycleStateEnum = "UPDATING" LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateDeleting LifecycleStateEnum = "DELETING" LifecycleStateDeleted LifecycleStateEnum = "DELETED" LifecycleStateFailed LifecycleStateEnum = "FAILED" )
func GetLifecycleStateEnumValues() []LifecycleStateEnum
GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum
func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
GetMappingLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkFirewallPoliciesLifecycleStateEnum Enum with underlying type: string
type ListNetworkFirewallPoliciesLifecycleStateEnum string
Set of constants representing the allowable values for ListNetworkFirewallPoliciesLifecycleStateEnum
const ( ListNetworkFirewallPoliciesLifecycleStateCreating ListNetworkFirewallPoliciesLifecycleStateEnum = "CREATING" ListNetworkFirewallPoliciesLifecycleStateUpdating ListNetworkFirewallPoliciesLifecycleStateEnum = "UPDATING" ListNetworkFirewallPoliciesLifecycleStateActive ListNetworkFirewallPoliciesLifecycleStateEnum = "ACTIVE" ListNetworkFirewallPoliciesLifecycleStateDeleting ListNetworkFirewallPoliciesLifecycleStateEnum = "DELETING" ListNetworkFirewallPoliciesLifecycleStateDeleted ListNetworkFirewallPoliciesLifecycleStateEnum = "DELETED" ListNetworkFirewallPoliciesLifecycleStateFailed ListNetworkFirewallPoliciesLifecycleStateEnum = "FAILED" )
func GetListNetworkFirewallPoliciesLifecycleStateEnumValues() []ListNetworkFirewallPoliciesLifecycleStateEnum
GetListNetworkFirewallPoliciesLifecycleStateEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesLifecycleStateEnum
func GetMappingListNetworkFirewallPoliciesLifecycleStateEnum(val string) (ListNetworkFirewallPoliciesLifecycleStateEnum, bool)
GetMappingListNetworkFirewallPoliciesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkFirewallPoliciesRequest wrapper for the ListNetworkFirewallPolicies operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListNetworkFirewallPolicies.go.html to see an example of how to use 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 }
func (request ListNetworkFirewallPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNetworkFirewallPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNetworkFirewallPoliciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNetworkFirewallPoliciesRequest) String() string
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
ListNetworkFirewallPoliciesResponse wrapper for the ListNetworkFirewallPolicies operation
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"` }
func (response ListNetworkFirewallPoliciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNetworkFirewallPoliciesResponse) String() string
ListNetworkFirewallPoliciesSortByEnum Enum with underlying type: string
type ListNetworkFirewallPoliciesSortByEnum string
Set of constants representing the allowable values for ListNetworkFirewallPoliciesSortByEnum
const ( ListNetworkFirewallPoliciesSortByTimecreated ListNetworkFirewallPoliciesSortByEnum = "timeCreated" ListNetworkFirewallPoliciesSortByDisplayname ListNetworkFirewallPoliciesSortByEnum = "displayName" )
func GetListNetworkFirewallPoliciesSortByEnumValues() []ListNetworkFirewallPoliciesSortByEnum
GetListNetworkFirewallPoliciesSortByEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesSortByEnum
func GetMappingListNetworkFirewallPoliciesSortByEnum(val string) (ListNetworkFirewallPoliciesSortByEnum, bool)
GetMappingListNetworkFirewallPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkFirewallPoliciesSortOrderEnum Enum with underlying type: string
type ListNetworkFirewallPoliciesSortOrderEnum string
Set of constants representing the allowable values for ListNetworkFirewallPoliciesSortOrderEnum
const ( ListNetworkFirewallPoliciesSortOrderAsc ListNetworkFirewallPoliciesSortOrderEnum = "ASC" ListNetworkFirewallPoliciesSortOrderDesc ListNetworkFirewallPoliciesSortOrderEnum = "DESC" )
func GetListNetworkFirewallPoliciesSortOrderEnumValues() []ListNetworkFirewallPoliciesSortOrderEnum
GetListNetworkFirewallPoliciesSortOrderEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesSortOrderEnum
func GetMappingListNetworkFirewallPoliciesSortOrderEnum(val string) (ListNetworkFirewallPoliciesSortOrderEnum, bool)
GetMappingListNetworkFirewallPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkFirewallsLifecycleStateEnum Enum with underlying type: string
type ListNetworkFirewallsLifecycleStateEnum string
Set of constants representing the allowable values for ListNetworkFirewallsLifecycleStateEnum
const ( ListNetworkFirewallsLifecycleStateCreating ListNetworkFirewallsLifecycleStateEnum = "CREATING" ListNetworkFirewallsLifecycleStateUpdating ListNetworkFirewallsLifecycleStateEnum = "UPDATING" ListNetworkFirewallsLifecycleStateActive ListNetworkFirewallsLifecycleStateEnum = "ACTIVE" ListNetworkFirewallsLifecycleStateDeleting ListNetworkFirewallsLifecycleStateEnum = "DELETING" ListNetworkFirewallsLifecycleStateDeleted ListNetworkFirewallsLifecycleStateEnum = "DELETED" ListNetworkFirewallsLifecycleStateFailed ListNetworkFirewallsLifecycleStateEnum = "FAILED" )
func GetListNetworkFirewallsLifecycleStateEnumValues() []ListNetworkFirewallsLifecycleStateEnum
GetListNetworkFirewallsLifecycleStateEnumValues Enumerates the set of values for ListNetworkFirewallsLifecycleStateEnum
func GetMappingListNetworkFirewallsLifecycleStateEnum(val string) (ListNetworkFirewallsLifecycleStateEnum, bool)
GetMappingListNetworkFirewallsLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkFirewallsRequest wrapper for the ListNetworkFirewalls operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListNetworkFirewalls.go.html to see an example of how to use 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 }
func (request ListNetworkFirewallsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListNetworkFirewallsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListNetworkFirewallsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListNetworkFirewallsRequest) String() string
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
ListNetworkFirewallsResponse wrapper for the ListNetworkFirewalls operation
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"` }
func (response ListNetworkFirewallsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListNetworkFirewallsResponse) String() string
ListNetworkFirewallsSortByEnum Enum with underlying type: string
type ListNetworkFirewallsSortByEnum string
Set of constants representing the allowable values for ListNetworkFirewallsSortByEnum
const ( ListNetworkFirewallsSortByTimecreated ListNetworkFirewallsSortByEnum = "timeCreated" ListNetworkFirewallsSortByDisplayname ListNetworkFirewallsSortByEnum = "displayName" )
func GetListNetworkFirewallsSortByEnumValues() []ListNetworkFirewallsSortByEnum
GetListNetworkFirewallsSortByEnumValues Enumerates the set of values for ListNetworkFirewallsSortByEnum
func GetMappingListNetworkFirewallsSortByEnum(val string) (ListNetworkFirewallsSortByEnum, bool)
GetMappingListNetworkFirewallsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListNetworkFirewallsSortOrderEnum Enum with underlying type: string
type ListNetworkFirewallsSortOrderEnum string
Set of constants representing the allowable values for ListNetworkFirewallsSortOrderEnum
const ( ListNetworkFirewallsSortOrderAsc ListNetworkFirewallsSortOrderEnum = "ASC" ListNetworkFirewallsSortOrderDesc ListNetworkFirewallsSortOrderEnum = "DESC" )
func GetListNetworkFirewallsSortOrderEnumValues() []ListNetworkFirewallsSortOrderEnum
GetListNetworkFirewallsSortOrderEnumValues Enumerates the set of values for ListNetworkFirewallsSortOrderEnum
func GetMappingListNetworkFirewallsSortOrderEnum(val string) (ListNetworkFirewallsSortOrderEnum, bool)
GetMappingListNetworkFirewallsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListWorkRequestErrors.go.html to see an example of how to use 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 }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
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
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestErrorCollection instances WorkRequestErrorCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // 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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListWorkRequestLogs.go.html to see an example of how to use 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 }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
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
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestLogEntryCollection instances WorkRequestLogEntryCollection `presentIn:"body"` // For pagination of a list of items. When paging through a list, if this header appears in the response, // then a partial list might have been returned. Include this value as the `page` parameter for the // subsequent GET request to get the next batch of items. OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // 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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListWorkRequests.go.html to see an example of how to use 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 }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
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
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
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"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCanceling ListWorkRequestsStatusEnum = "CANCELING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
MappedSecret Mapped secret used on the firewall policy rules.
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 }
MappedSecretTypeEnum Enum with underlying type: string
type MappedSecretTypeEnum string
Set of constants representing the allowable values for MappedSecretTypeEnum
const ( MappedSecretTypeInboundInspection MappedSecretTypeEnum = "SSL_INBOUND_INSPECTION" MappedSecretTypeForwardProxy MappedSecretTypeEnum = "SSL_FORWARD_PROXY" )
func GetMappedSecretTypeEnumValues() []MappedSecretTypeEnum
GetMappedSecretTypeEnumValues Enumerates the set of values for MappedSecretTypeEnum
func GetMappingMappedSecretTypeEnum(val string) (MappedSecretTypeEnum, bool)
GetMappingMappedSecretTypeEnum performs case Insensitive comparison on enum value and return the desired enum
NetworkFirewall Description of Network Firewall.
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"` }
func (m NetworkFirewall) String() string
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
NetworkFirewallClient a client for NetworkFirewall
type NetworkFirewallClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (client NetworkFirewallClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancel work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ChangeNetworkFirewallCompartment.go.html to see an example of how to use ChangeNetworkFirewallCompartment API. A default retry strategy applies to this operation ChangeNetworkFirewallCompartment()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ChangeNetworkFirewallPolicyCompartment.go.html to see an example of how to use ChangeNetworkFirewallPolicyCompartment API. A default retry strategy applies to this operation ChangeNetworkFirewallPolicyCompartment()
func (client *NetworkFirewallClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client NetworkFirewallClient) CreateNetworkFirewall(ctx context.Context, request CreateNetworkFirewallRequest) (response CreateNetworkFirewallResponse, err error)
CreateNetworkFirewall Creates a new NetworkFirewall.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/CreateNetworkFirewall.go.html to see an example of how to use CreateNetworkFirewall API. A default retry strategy applies to this operation CreateNetworkFirewall()
func (client NetworkFirewallClient) CreateNetworkFirewallPolicy(ctx context.Context, request CreateNetworkFirewallPolicyRequest) (response CreateNetworkFirewallPolicyResponse, err error)
CreateNetworkFirewallPolicy Creates a new Network Firewall Policy.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/CreateNetworkFirewallPolicy.go.html to see an example of how to use CreateNetworkFirewallPolicy API. A default retry strategy applies to this operation CreateNetworkFirewallPolicy()
func (client NetworkFirewallClient) DeleteNetworkFirewall(ctx context.Context, request DeleteNetworkFirewallRequest) (response DeleteNetworkFirewallResponse, err error)
DeleteNetworkFirewall Deletes a NetworkFirewall resource by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/DeleteNetworkFirewall.go.html to see an example of how to use DeleteNetworkFirewall API. A default retry strategy applies to this operation DeleteNetworkFirewall()
func (client NetworkFirewallClient) DeleteNetworkFirewallPolicy(ctx context.Context, request DeleteNetworkFirewallPolicyRequest) (response DeleteNetworkFirewallPolicyResponse, err error)
DeleteNetworkFirewallPolicy Deletes a NetworkFirewallPolicy resource with the given identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/DeleteNetworkFirewallPolicy.go.html to see an example of how to use DeleteNetworkFirewallPolicy API. A default retry strategy applies to this operation DeleteNetworkFirewallPolicy()
func (client NetworkFirewallClient) GetNetworkFirewall(ctx context.Context, request GetNetworkFirewallRequest) (response GetNetworkFirewallResponse, err error)
GetNetworkFirewall Gets a NetworkFirewall by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/GetNetworkFirewall.go.html to see an example of how to use GetNetworkFirewall API. A default retry strategy applies to this operation GetNetworkFirewall()
func (client NetworkFirewallClient) GetNetworkFirewallPolicy(ctx context.Context, request GetNetworkFirewallPolicyRequest) (response GetNetworkFirewallPolicyResponse, err error)
GetNetworkFirewallPolicy Gets a NetworkFirewallPolicy given the network firewall policy identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/GetNetworkFirewallPolicy.go.html to see an example of how to use GetNetworkFirewallPolicy API. A default retry strategy applies to this operation GetNetworkFirewallPolicy()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client NetworkFirewallClient) ListNetworkFirewallPolicies(ctx context.Context, request ListNetworkFirewallPoliciesRequest) (response ListNetworkFirewallPoliciesResponse, err error)
ListNetworkFirewallPolicies Returns a list of Network Firewall Policies.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListNetworkFirewallPolicies.go.html to see an example of how to use ListNetworkFirewallPolicies API. A default retry strategy applies to this operation ListNetworkFirewallPolicies()
func (client NetworkFirewallClient) ListNetworkFirewalls(ctx context.Context, request ListNetworkFirewallsRequest) (response ListNetworkFirewallsResponse, err error)
ListNetworkFirewalls Returns a list of NetworkFirewalls.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListNetworkFirewalls.go.html to see an example of how to use ListNetworkFirewalls API. A default retry strategy applies to this operation ListNetworkFirewalls()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client NetworkFirewallClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client *NetworkFirewallClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client NetworkFirewallClient) UpdateNetworkFirewall(ctx context.Context, request UpdateNetworkFirewallRequest) (response UpdateNetworkFirewallResponse, err error)
UpdateNetworkFirewall Updates the NetworkFirewall
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/UpdateNetworkFirewall.go.html to see an example of how to use UpdateNetworkFirewall API. A default retry strategy applies to this operation UpdateNetworkFirewall()
func (client NetworkFirewallClient) UpdateNetworkFirewallPolicy(ctx context.Context, request UpdateNetworkFirewallPolicyRequest) (response UpdateNetworkFirewallPolicyResponse, err error)
UpdateNetworkFirewallPolicy Updates the NetworkFirewallPolicy
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/UpdateNetworkFirewallPolicy.go.html to see an example of how to use UpdateNetworkFirewallPolicy API. A default retry strategy applies to this operation UpdateNetworkFirewallPolicy()
NetworkFirewallCollection A collection of NetworkFirewallSummary items.
type NetworkFirewallCollection struct { // List of network firewalls. Items []NetworkFirewallSummary `mandatory:"true" json:"items"` }
func (m NetworkFirewallCollection) String() string
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
NetworkFirewallPolicy Description of NetworkFirewall Policy.
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"` }
func (m NetworkFirewallPolicy) String() string
func (m *NetworkFirewallPolicy) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
NetworkFirewallPolicySummary Summary of the NetworkFirewall Policy.
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"` }
func (m NetworkFirewallPolicySummary) String() string
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
NetworkFirewallPolicySummaryCollection Collection of Network Firewall Policies.
type NetworkFirewallPolicySummaryCollection struct { // Collection of network Firewall Policies. Items []NetworkFirewallPolicySummary `mandatory:"true" json:"items"` }
func (m NetworkFirewallPolicySummaryCollection) String() string
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
NetworkFirewallSummary Summary of the Network Firewall.
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"` }
func (m NetworkFirewallSummary) String() string
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
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
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" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
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.
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"` }
func (m SecurityRule) String() string
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
SecurityRuleActionEnum Enum with underlying type: string
type SecurityRuleActionEnum string
Set of constants representing the allowable values for SecurityRuleActionEnum
const ( SecurityRuleActionAllow SecurityRuleActionEnum = "ALLOW" SecurityRuleActionDrop SecurityRuleActionEnum = "DROP" SecurityRuleActionReject SecurityRuleActionEnum = "REJECT" SecurityRuleActionInspect SecurityRuleActionEnum = "INSPECT" )
func GetMappingSecurityRuleActionEnum(val string) (SecurityRuleActionEnum, bool)
GetMappingSecurityRuleActionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSecurityRuleActionEnumValues() []SecurityRuleActionEnum
GetSecurityRuleActionEnumValues Enumerates the set of values for SecurityRuleActionEnum
SecurityRuleInspectionEnum Enum with underlying type: string
type SecurityRuleInspectionEnum string
Set of constants representing the allowable values for SecurityRuleInspectionEnum
const ( SecurityRuleInspectionDetection SecurityRuleInspectionEnum = "INTRUSION_DETECTION" SecurityRuleInspectionPrevention SecurityRuleInspectionEnum = "INTRUSION_PREVENTION" )
func GetMappingSecurityRuleInspectionEnum(val string) (SecurityRuleInspectionEnum, bool)
GetMappingSecurityRuleInspectionEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSecurityRuleInspectionEnumValues() []SecurityRuleInspectionEnum
GetSecurityRuleInspectionEnumValues Enumerates the set of values for SecurityRuleInspectionEnum
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.
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"` }
func (m SecurityRuleMatchCriteria) String() string
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
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.
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"` }
func (m SimpleUrlPattern) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SimpleUrlPattern) String() string
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
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
SslForwardProxyProfile SSLForwardProxy used on the firewall policy rules.
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"` }
func (m SslForwardProxyProfile) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SslForwardProxyProfile) String() string
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
SslInboundInspectionProfile SSLInboundInspection used on the firewall policy rules.
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"` }
func (m SslInboundInspectionProfile) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m SslInboundInspectionProfile) String() string
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
TcpApplication TCP Application used on the firewall policy rules.
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"` }
func (m TcpApplication) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m TcpApplication) String() string
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
UdpApplication UDP Application used on the firewall policy rules.
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"` }
func (m UdpApplication) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UdpApplication) String() string
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
UpdateNetworkFirewallDetails The information to be updated.
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"` }
func (m UpdateNetworkFirewallDetails) String() string
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
UpdateNetworkFirewallPolicyDetails The request details to be updated in the firewall policy.
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"` }
func (m UpdateNetworkFirewallPolicyDetails) String() string
func (m *UpdateNetworkFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
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
UpdateNetworkFirewallPolicyRequest wrapper for the UpdateNetworkFirewallPolicy operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/UpdateNetworkFirewallPolicy.go.html to see an example of how to use 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 }
func (request UpdateNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateNetworkFirewallPolicyRequest) String() string
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
UpdateNetworkFirewallPolicyResponse wrapper for the UpdateNetworkFirewallPolicy operation
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"` }
func (response UpdateNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateNetworkFirewallPolicyResponse) String() string
UpdateNetworkFirewallRequest wrapper for the UpdateNetworkFirewall operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.31.0/networkfirewall/UpdateNetworkFirewall.go.html to see an example of how to use 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 }
func (request UpdateNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateNetworkFirewallRequest) String() string
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
UpdateNetworkFirewallResponse wrapper for the UpdateNetworkFirewall operation
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"` }
func (response UpdateNetworkFirewallResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateNetworkFirewallResponse) String() string
UrlPattern Pattern describing a URL or set of URLs.
type UrlPattern interface { }
UrlPatternTypeEnum Enum with underlying type: string
type UrlPatternTypeEnum string
Set of constants representing the allowable values for UrlPatternTypeEnum
const ( UrlPatternTypeSimple UrlPatternTypeEnum = "SIMPLE" )
func GetMappingUrlPatternTypeEnum(val string) (UrlPatternTypeEnum, bool)
GetMappingUrlPatternTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetUrlPatternTypeEnumValues() []UrlPatternTypeEnum
GetUrlPatternTypeEnumValues Enumerates the set of values for UrlPatternTypeEnum
VaultMappedSecret Mapped secret stored in OCI vault used in the firewall policy rules.
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"` }
func (m VaultMappedSecret) GetType() MappedSecretTypeEnum
GetType returns Type
func (m VaultMappedSecret) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m VaultMappedSecret) String() string
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
WorkRequest A description of workrequest status
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"` }
func (m WorkRequest) String() string
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
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed on // (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm) Code *string `mandatory:"true" json:"code"` // A human readable description of the issue encountered. Message *string `mandatory:"true" json:"message"` // The time the error occured. An RFC3339 formatted datetime string. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
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
WorkRequestErrorCollection Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
type WorkRequestErrorCollection struct { // List of workRequestError objects. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
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
WorkRequestLogEntry A log message from the execution of a work request.
type WorkRequestLogEntry struct { // Human-readable log message. Message *string `mandatory:"true" json:"message"` // The time the log message was written. An RFC3339 formatted datetime string Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
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
WorkRequestLogEntryCollection Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // List of workRequestLogEntries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
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
WorkRequestResource A resource created or operated on by a work request.
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"` }
func (m WorkRequestResource) String() string
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
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
type WorkRequestResourceMetadataKeyEnum string
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
const ( WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN" )
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
WorkRequestSummary A summary of the status of a work request.
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"` }
func (m WorkRequestSummary) String() string
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
WorkRequestSummaryCollection Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
type WorkRequestSummaryCollection struct { // List of workRequestSummary objects. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
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