...

Package networkfirewall

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

Overview ▾

Index ▾

func GetActionTypeEnumStringValues() []string
func GetDecryptionProfileTypeEnumStringValues() []string
func GetDecryptionRuleActionEnumStringValues() []string
func GetLifecycleStateEnumStringValues() []string
func GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues() []string
func GetListNetworkFirewallPoliciesSortByEnumStringValues() []string
func GetListNetworkFirewallPoliciesSortOrderEnumStringValues() []string
func GetListNetworkFirewallsLifecycleStateEnumStringValues() []string
func GetListNetworkFirewallsSortByEnumStringValues() []string
func GetListNetworkFirewallsSortOrderEnumStringValues() []string
func GetListWorkRequestErrorsSortByEnumStringValues() []string
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
func GetListWorkRequestLogsSortByEnumStringValues() []string
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
func GetListWorkRequestsSortByEnumStringValues() []string
func GetListWorkRequestsSortOrderEnumStringValues() []string
func GetListWorkRequestsStatusEnumStringValues() []string
func GetMappedSecretTypeEnumStringValues() []string
func GetOperationStatusEnumStringValues() []string
func GetOperationTypeEnumStringValues() []string
func GetSecurityRuleActionEnumStringValues() []string
func GetSecurityRuleInspectionEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetUrlPatternTypeEnumStringValues() []string
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
type ActionTypeEnum
    func GetActionTypeEnumValues() []ActionTypeEnum
    func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
type Application
type CancelWorkRequestRequest
    func (request CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request CancelWorkRequestRequest) String() string
    func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
type CancelWorkRequestResponse
    func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
    func (response CancelWorkRequestResponse) String() string
type ChangeNetworkFirewallCompartmentDetails
    func (m ChangeNetworkFirewallCompartmentDetails) String() string
    func (m ChangeNetworkFirewallCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeNetworkFirewallCompartmentRequest
    func (request ChangeNetworkFirewallCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeNetworkFirewallCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeNetworkFirewallCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeNetworkFirewallCompartmentRequest) String() string
    func (request ChangeNetworkFirewallCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeNetworkFirewallCompartmentResponse
    func (response ChangeNetworkFirewallCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeNetworkFirewallCompartmentResponse) String() string
type ChangeNetworkFirewallPolicyCompartmentDetails
    func (m ChangeNetworkFirewallPolicyCompartmentDetails) String() string
    func (m ChangeNetworkFirewallPolicyCompartmentDetails) ValidateEnumValue() (bool, error)
type ChangeNetworkFirewallPolicyCompartmentRequest
    func (request ChangeNetworkFirewallPolicyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ChangeNetworkFirewallPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ChangeNetworkFirewallPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeNetworkFirewallPolicyCompartmentRequest) String() string
    func (request ChangeNetworkFirewallPolicyCompartmentRequest) ValidateEnumValue() (bool, error)
type ChangeNetworkFirewallPolicyCompartmentResponse
    func (response ChangeNetworkFirewallPolicyCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeNetworkFirewallPolicyCompartmentResponse) String() string
type CreateNetworkFirewallDetails
    func (m CreateNetworkFirewallDetails) String() string
    func (m CreateNetworkFirewallDetails) ValidateEnumValue() (bool, error)
type CreateNetworkFirewallPolicyDetails
    func (m CreateNetworkFirewallPolicyDetails) String() string
    func (m *CreateNetworkFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
    func (m CreateNetworkFirewallPolicyDetails) ValidateEnumValue() (bool, error)
type CreateNetworkFirewallPolicyRequest
    func (request CreateNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateNetworkFirewallPolicyRequest) String() string
    func (request CreateNetworkFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type CreateNetworkFirewallPolicyResponse
    func (response CreateNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response CreateNetworkFirewallPolicyResponse) String() string
type CreateNetworkFirewallRequest
    func (request CreateNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateNetworkFirewallRequest) String() string
    func (request CreateNetworkFirewallRequest) ValidateEnumValue() (bool, error)
type CreateNetworkFirewallResponse
    func (response CreateNetworkFirewallResponse) HTTPResponse() *http.Response
    func (response CreateNetworkFirewallResponse) String() string
type DecryptionProfile
type DecryptionProfileTypeEnum
    func GetDecryptionProfileTypeEnumValues() []DecryptionProfileTypeEnum
    func GetMappingDecryptionProfileTypeEnum(val string) (DecryptionProfileTypeEnum, bool)
type DecryptionRule
    func (m DecryptionRule) String() string
    func (m DecryptionRule) ValidateEnumValue() (bool, error)
type DecryptionRuleActionEnum
    func GetDecryptionRuleActionEnumValues() []DecryptionRuleActionEnum
    func GetMappingDecryptionRuleActionEnum(val string) (DecryptionRuleActionEnum, bool)
type DecryptionRuleMatchCriteria
    func (m DecryptionRuleMatchCriteria) String() string
    func (m DecryptionRuleMatchCriteria) ValidateEnumValue() (bool, error)
type DeleteNetworkFirewallPolicyRequest
    func (request DeleteNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteNetworkFirewallPolicyRequest) String() string
    func (request DeleteNetworkFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type DeleteNetworkFirewallPolicyResponse
    func (response DeleteNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response DeleteNetworkFirewallPolicyResponse) String() string
type DeleteNetworkFirewallRequest
    func (request DeleteNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteNetworkFirewallRequest) String() string
    func (request DeleteNetworkFirewallRequest) ValidateEnumValue() (bool, error)
type DeleteNetworkFirewallResponse
    func (response DeleteNetworkFirewallResponse) HTTPResponse() *http.Response
    func (response DeleteNetworkFirewallResponse) String() string
type GetNetworkFirewallPolicyRequest
    func (request GetNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNetworkFirewallPolicyRequest) String() string
    func (request GetNetworkFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type GetNetworkFirewallPolicyResponse
    func (response GetNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response GetNetworkFirewallPolicyResponse) String() string
type GetNetworkFirewallRequest
    func (request GetNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request GetNetworkFirewallRequest) String() string
    func (request GetNetworkFirewallRequest) ValidateEnumValue() (bool, error)
type GetNetworkFirewallResponse
    func (response GetNetworkFirewallResponse) HTTPResponse() *http.Response
    func (response GetNetworkFirewallResponse) String() string
type GetWorkRequestRequest
    func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
    func (request GetWorkRequestRequest) String() string
    func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
type GetWorkRequestResponse
    func (response GetWorkRequestResponse) HTTPResponse() *http.Response
    func (response GetWorkRequestResponse) String() string
type Icmp6Application
    func (m Icmp6Application) MarshalJSON() (buff []byte, e error)
    func (m Icmp6Application) String() string
    func (m Icmp6Application) ValidateEnumValue() (bool, error)
type IcmpApplication
    func (m IcmpApplication) MarshalJSON() (buff []byte, e error)
    func (m IcmpApplication) String() string
    func (m IcmpApplication) ValidateEnumValue() (bool, error)
type LifecycleStateEnum
    func GetLifecycleStateEnumValues() []LifecycleStateEnum
    func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
type ListNetworkFirewallPoliciesLifecycleStateEnum
    func GetListNetworkFirewallPoliciesLifecycleStateEnumValues() []ListNetworkFirewallPoliciesLifecycleStateEnum
    func GetMappingListNetworkFirewallPoliciesLifecycleStateEnum(val string) (ListNetworkFirewallPoliciesLifecycleStateEnum, bool)
type ListNetworkFirewallPoliciesRequest
    func (request ListNetworkFirewallPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNetworkFirewallPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNetworkFirewallPoliciesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNetworkFirewallPoliciesRequest) String() string
    func (request ListNetworkFirewallPoliciesRequest) ValidateEnumValue() (bool, error)
type ListNetworkFirewallPoliciesResponse
    func (response ListNetworkFirewallPoliciesResponse) HTTPResponse() *http.Response
    func (response ListNetworkFirewallPoliciesResponse) String() string
type ListNetworkFirewallPoliciesSortByEnum
    func GetListNetworkFirewallPoliciesSortByEnumValues() []ListNetworkFirewallPoliciesSortByEnum
    func GetMappingListNetworkFirewallPoliciesSortByEnum(val string) (ListNetworkFirewallPoliciesSortByEnum, bool)
type ListNetworkFirewallPoliciesSortOrderEnum
    func GetListNetworkFirewallPoliciesSortOrderEnumValues() []ListNetworkFirewallPoliciesSortOrderEnum
    func GetMappingListNetworkFirewallPoliciesSortOrderEnum(val string) (ListNetworkFirewallPoliciesSortOrderEnum, bool)
type ListNetworkFirewallsLifecycleStateEnum
    func GetListNetworkFirewallsLifecycleStateEnumValues() []ListNetworkFirewallsLifecycleStateEnum
    func GetMappingListNetworkFirewallsLifecycleStateEnum(val string) (ListNetworkFirewallsLifecycleStateEnum, bool)
type ListNetworkFirewallsRequest
    func (request ListNetworkFirewallsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListNetworkFirewallsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListNetworkFirewallsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListNetworkFirewallsRequest) String() string
    func (request ListNetworkFirewallsRequest) ValidateEnumValue() (bool, error)
type ListNetworkFirewallsResponse
    func (response ListNetworkFirewallsResponse) HTTPResponse() *http.Response
    func (response ListNetworkFirewallsResponse) String() string
type ListNetworkFirewallsSortByEnum
    func GetListNetworkFirewallsSortByEnumValues() []ListNetworkFirewallsSortByEnum
    func GetMappingListNetworkFirewallsSortByEnum(val string) (ListNetworkFirewallsSortByEnum, bool)
type ListNetworkFirewallsSortOrderEnum
    func GetListNetworkFirewallsSortOrderEnumValues() []ListNetworkFirewallsSortOrderEnum
    func GetMappingListNetworkFirewallsSortOrderEnum(val string) (ListNetworkFirewallsSortOrderEnum, bool)
type ListWorkRequestErrorsRequest
    func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestErrorsRequest) String() string
    func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestErrorsResponse
    func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestErrorsResponse) String() string
type ListWorkRequestErrorsSortByEnum
    func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
    func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
type ListWorkRequestErrorsSortOrderEnum
    func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
    func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
type ListWorkRequestLogsRequest
    func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestLogsRequest) String() string
    func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestLogsResponse
    func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestLogsResponse) String() string
type ListWorkRequestLogsSortByEnum
    func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
    func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
type ListWorkRequestLogsSortOrderEnum
    func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
    func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
type ListWorkRequestsRequest
    func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListWorkRequestsRequest) String() string
    func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
type ListWorkRequestsResponse
    func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
    func (response ListWorkRequestsResponse) String() string
type ListWorkRequestsSortByEnum
    func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
    func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
type ListWorkRequestsSortOrderEnum
    func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
    func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
type ListWorkRequestsStatusEnum
    func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
    func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
type MappedSecret
type MappedSecretTypeEnum
    func GetMappedSecretTypeEnumValues() []MappedSecretTypeEnum
    func GetMappingMappedSecretTypeEnum(val string) (MappedSecretTypeEnum, bool)
type NetworkFirewall
    func (m NetworkFirewall) String() string
    func (m NetworkFirewall) ValidateEnumValue() (bool, error)
type NetworkFirewallClient
    func NewNetworkFirewallClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client NetworkFirewallClient, err error)
    func NewNetworkFirewallClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client NetworkFirewallClient, err error)
    func (client NetworkFirewallClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
    func (client NetworkFirewallClient) ChangeNetworkFirewallCompartment(ctx context.Context, request ChangeNetworkFirewallCompartmentRequest) (response ChangeNetworkFirewallCompartmentResponse, err error)
    func (client NetworkFirewallClient) ChangeNetworkFirewallPolicyCompartment(ctx context.Context, request ChangeNetworkFirewallPolicyCompartmentRequest) (response ChangeNetworkFirewallPolicyCompartmentResponse, err error)
    func (client *NetworkFirewallClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client NetworkFirewallClient) CreateNetworkFirewall(ctx context.Context, request CreateNetworkFirewallRequest) (response CreateNetworkFirewallResponse, err error)
    func (client NetworkFirewallClient) CreateNetworkFirewallPolicy(ctx context.Context, request CreateNetworkFirewallPolicyRequest) (response CreateNetworkFirewallPolicyResponse, err error)
    func (client NetworkFirewallClient) DeleteNetworkFirewall(ctx context.Context, request DeleteNetworkFirewallRequest) (response DeleteNetworkFirewallResponse, err error)
    func (client NetworkFirewallClient) DeleteNetworkFirewallPolicy(ctx context.Context, request DeleteNetworkFirewallPolicyRequest) (response DeleteNetworkFirewallPolicyResponse, err error)
    func (client NetworkFirewallClient) GetNetworkFirewall(ctx context.Context, request GetNetworkFirewallRequest) (response GetNetworkFirewallResponse, err error)
    func (client NetworkFirewallClient) GetNetworkFirewallPolicy(ctx context.Context, request GetNetworkFirewallPolicyRequest) (response GetNetworkFirewallPolicyResponse, err error)
    func (client NetworkFirewallClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
    func (client NetworkFirewallClient) ListNetworkFirewallPolicies(ctx context.Context, request ListNetworkFirewallPoliciesRequest) (response ListNetworkFirewallPoliciesResponse, err error)
    func (client NetworkFirewallClient) ListNetworkFirewalls(ctx context.Context, request ListNetworkFirewallsRequest) (response ListNetworkFirewallsResponse, err error)
    func (client NetworkFirewallClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
    func (client NetworkFirewallClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
    func (client NetworkFirewallClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
    func (client *NetworkFirewallClient) SetRegion(region string)
    func (client NetworkFirewallClient) UpdateNetworkFirewall(ctx context.Context, request UpdateNetworkFirewallRequest) (response UpdateNetworkFirewallResponse, err error)
    func (client NetworkFirewallClient) UpdateNetworkFirewallPolicy(ctx context.Context, request UpdateNetworkFirewallPolicyRequest) (response UpdateNetworkFirewallPolicyResponse, err error)
type NetworkFirewallCollection
    func (m NetworkFirewallCollection) String() string
    func (m NetworkFirewallCollection) ValidateEnumValue() (bool, error)
type NetworkFirewallPolicy
    func (m NetworkFirewallPolicy) String() string
    func (m *NetworkFirewallPolicy) UnmarshalJSON(data []byte) (e error)
    func (m NetworkFirewallPolicy) ValidateEnumValue() (bool, error)
type NetworkFirewallPolicySummary
    func (m NetworkFirewallPolicySummary) String() string
    func (m NetworkFirewallPolicySummary) ValidateEnumValue() (bool, error)
type NetworkFirewallPolicySummaryCollection
    func (m NetworkFirewallPolicySummaryCollection) String() string
    func (m NetworkFirewallPolicySummaryCollection) ValidateEnumValue() (bool, error)
type NetworkFirewallSummary
    func (m NetworkFirewallSummary) String() string
    func (m NetworkFirewallSummary) ValidateEnumValue() (bool, error)
type OperationStatusEnum
    func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
    func GetOperationStatusEnumValues() []OperationStatusEnum
type OperationTypeEnum
    func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
    func GetOperationTypeEnumValues() []OperationTypeEnum
type SecurityRule
    func (m SecurityRule) String() string
    func (m SecurityRule) ValidateEnumValue() (bool, error)
type SecurityRuleActionEnum
    func GetMappingSecurityRuleActionEnum(val string) (SecurityRuleActionEnum, bool)
    func GetSecurityRuleActionEnumValues() []SecurityRuleActionEnum
type SecurityRuleInspectionEnum
    func GetMappingSecurityRuleInspectionEnum(val string) (SecurityRuleInspectionEnum, bool)
    func GetSecurityRuleInspectionEnumValues() []SecurityRuleInspectionEnum
type SecurityRuleMatchCriteria
    func (m SecurityRuleMatchCriteria) String() string
    func (m SecurityRuleMatchCriteria) ValidateEnumValue() (bool, error)
type SimpleUrlPattern
    func (m SimpleUrlPattern) MarshalJSON() (buff []byte, e error)
    func (m SimpleUrlPattern) String() string
    func (m SimpleUrlPattern) ValidateEnumValue() (bool, error)
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type SslForwardProxyProfile
    func (m SslForwardProxyProfile) MarshalJSON() (buff []byte, e error)
    func (m SslForwardProxyProfile) String() string
    func (m SslForwardProxyProfile) ValidateEnumValue() (bool, error)
type SslInboundInspectionProfile
    func (m SslInboundInspectionProfile) MarshalJSON() (buff []byte, e error)
    func (m SslInboundInspectionProfile) String() string
    func (m SslInboundInspectionProfile) ValidateEnumValue() (bool, error)
type TcpApplication
    func (m TcpApplication) MarshalJSON() (buff []byte, e error)
    func (m TcpApplication) String() string
    func (m TcpApplication) ValidateEnumValue() (bool, error)
type UdpApplication
    func (m UdpApplication) MarshalJSON() (buff []byte, e error)
    func (m UdpApplication) String() string
    func (m UdpApplication) ValidateEnumValue() (bool, error)
type UpdateNetworkFirewallDetails
    func (m UpdateNetworkFirewallDetails) String() string
    func (m UpdateNetworkFirewallDetails) ValidateEnumValue() (bool, error)
type UpdateNetworkFirewallPolicyDetails
    func (m UpdateNetworkFirewallPolicyDetails) String() string
    func (m *UpdateNetworkFirewallPolicyDetails) UnmarshalJSON(data []byte) (e error)
    func (m UpdateNetworkFirewallPolicyDetails) ValidateEnumValue() (bool, error)
type UpdateNetworkFirewallPolicyRequest
    func (request UpdateNetworkFirewallPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateNetworkFirewallPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateNetworkFirewallPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateNetworkFirewallPolicyRequest) String() string
    func (request UpdateNetworkFirewallPolicyRequest) ValidateEnumValue() (bool, error)
type UpdateNetworkFirewallPolicyResponse
    func (response UpdateNetworkFirewallPolicyResponse) HTTPResponse() *http.Response
    func (response UpdateNetworkFirewallPolicyResponse) String() string
type UpdateNetworkFirewallRequest
    func (request UpdateNetworkFirewallRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateNetworkFirewallRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateNetworkFirewallRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateNetworkFirewallRequest) String() string
    func (request UpdateNetworkFirewallRequest) ValidateEnumValue() (bool, error)
type UpdateNetworkFirewallResponse
    func (response UpdateNetworkFirewallResponse) HTTPResponse() *http.Response
    func (response UpdateNetworkFirewallResponse) String() string
type UrlPattern
type UrlPatternTypeEnum
    func GetMappingUrlPatternTypeEnum(val string) (UrlPatternTypeEnum, bool)
    func GetUrlPatternTypeEnumValues() []UrlPatternTypeEnum
type VaultMappedSecret
    func (m VaultMappedSecret) GetType() MappedSecretTypeEnum
    func (m VaultMappedSecret) MarshalJSON() (buff []byte, e error)
    func (m VaultMappedSecret) String() string
    func (m VaultMappedSecret) ValidateEnumValue() (bool, error)
type WorkRequest
    func (m WorkRequest) String() string
    func (m WorkRequest) ValidateEnumValue() (bool, error)
type WorkRequestError
    func (m WorkRequestError) String() string
    func (m WorkRequestError) ValidateEnumValue() (bool, error)
type WorkRequestErrorCollection
    func (m WorkRequestErrorCollection) String() string
    func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
type WorkRequestLogEntry
    func (m WorkRequestLogEntry) String() string
    func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
type WorkRequestLogEntryCollection
    func (m WorkRequestLogEntryCollection) String() string
    func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
type WorkRequestResource
    func (m WorkRequestResource) String() string
    func (m WorkRequestResource) ValidateEnumValue() (bool, error)
type WorkRequestResourceMetadataKeyEnum
    func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
    func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
type WorkRequestSummary
    func (m WorkRequestSummary) String() string
    func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
type WorkRequestSummaryCollection
    func (m WorkRequestSummaryCollection) String() string
    func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)

Package files

action_type.go application.go cancel_work_request_request_response.go change_network_firewall_compartment_details.go change_network_firewall_compartment_request_response.go change_network_firewall_policy_compartment_details.go change_network_firewall_policy_compartment_request_response.go create_network_firewall_details.go create_network_firewall_policy_details.go create_network_firewall_policy_request_response.go create_network_firewall_request_response.go decryption_profile.go decryption_rule.go decryption_rule_match_criteria.go delete_network_firewall_policy_request_response.go delete_network_firewall_request_response.go get_network_firewall_policy_request_response.go get_network_firewall_request_response.go get_work_request_request_response.go icmp6_application.go icmp_application.go lifecycle_state.go list_network_firewall_policies_request_response.go list_network_firewalls_request_response.go list_work_request_errors_request_response.go list_work_request_logs_request_response.go list_work_requests_request_response.go mapped_secret.go network_firewall.go network_firewall_collection.go network_firewall_policy.go network_firewall_policy_summary.go network_firewall_policy_summary_collection.go network_firewall_summary.go networkfirewall_client.go operation_status.go operation_type.go security_rule.go security_rule_match_criteria.go simple_url_pattern.go sort_order.go ssl_forward_proxy_profile.go ssl_inbound_inspection_profile.go tcp_application.go udp_application.go update_network_firewall_details.go update_network_firewall_policy_details.go update_network_firewall_policy_request_response.go update_network_firewall_request_response.go url_pattern.go vault_mapped_secret.go work_request.go work_request_error.go work_request_error_collection.go work_request_log_entry.go work_request_log_entry_collection.go work_request_resource.go work_request_resource_metadata_key.go work_request_summary.go work_request_summary_collection.go

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetDecryptionProfileTypeEnumStringValues

func GetDecryptionProfileTypeEnumStringValues() []string

GetDecryptionProfileTypeEnumStringValues Enumerates the set of values in String for DecryptionProfileTypeEnum

func GetDecryptionRuleActionEnumStringValues

func GetDecryptionRuleActionEnumStringValues() []string

GetDecryptionRuleActionEnumStringValues Enumerates the set of values in String for DecryptionRuleActionEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues

func GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues() []string

GetListNetworkFirewallPoliciesLifecycleStateEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesLifecycleStateEnum

func GetListNetworkFirewallPoliciesSortByEnumStringValues

func GetListNetworkFirewallPoliciesSortByEnumStringValues() []string

GetListNetworkFirewallPoliciesSortByEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesSortByEnum

func GetListNetworkFirewallPoliciesSortOrderEnumStringValues

func GetListNetworkFirewallPoliciesSortOrderEnumStringValues() []string

GetListNetworkFirewallPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkFirewallPoliciesSortOrderEnum

func GetListNetworkFirewallsLifecycleStateEnumStringValues

func GetListNetworkFirewallsLifecycleStateEnumStringValues() []string

GetListNetworkFirewallsLifecycleStateEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsLifecycleStateEnum

func GetListNetworkFirewallsSortByEnumStringValues

func GetListNetworkFirewallsSortByEnumStringValues() []string

GetListNetworkFirewallsSortByEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsSortByEnum

func GetListNetworkFirewallsSortOrderEnumStringValues

func GetListNetworkFirewallsSortOrderEnumStringValues() []string

GetListNetworkFirewallsSortOrderEnumStringValues Enumerates the set of values in String for ListNetworkFirewallsSortOrderEnum

func GetListWorkRequestErrorsSortByEnumStringValues

func GetListWorkRequestErrorsSortByEnumStringValues() []string

GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum

func GetListWorkRequestErrorsSortOrderEnumStringValues

func GetListWorkRequestErrorsSortOrderEnumStringValues() []string

GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum

func GetListWorkRequestLogsSortByEnumStringValues

func GetListWorkRequestLogsSortByEnumStringValues() []string

GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum

func GetListWorkRequestLogsSortOrderEnumStringValues

func GetListWorkRequestLogsSortOrderEnumStringValues() []string

GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum

func GetListWorkRequestsSortByEnumStringValues

func GetListWorkRequestsSortByEnumStringValues() []string

GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortOrderEnumStringValues

func GetListWorkRequestsSortOrderEnumStringValues() []string

GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsStatusEnumStringValues

func GetListWorkRequestsStatusEnumStringValues() []string

GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum

func GetMappedSecretTypeEnumStringValues

func GetMappedSecretTypeEnumStringValues() []string

GetMappedSecretTypeEnumStringValues Enumerates the set of values in String for MappedSecretTypeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetSecurityRuleActionEnumStringValues

func GetSecurityRuleActionEnumStringValues() []string

GetSecurityRuleActionEnumStringValues Enumerates the set of values in String for SecurityRuleActionEnum

func GetSecurityRuleInspectionEnumStringValues

func GetSecurityRuleInspectionEnumStringValues() []string

GetSecurityRuleInspectionEnumStringValues Enumerates the set of values in String for SecurityRuleInspectionEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetUrlPatternTypeEnumStringValues

func GetUrlPatternTypeEnumStringValues() []string

GetUrlPatternTypeEnumStringValues Enumerates the set of values in String for UrlPatternTypeEnum

func GetWorkRequestResourceMetadataKeyEnumStringValues

func GetWorkRequestResourceMetadataKeyEnumStringValues() []string

GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum

type ActionTypeEnum

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

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type Application

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

type Application interface {
}

type CancelWorkRequestRequest

CancelWorkRequestRequest wrapper for the CancelWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (CancelWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CancelWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CancelWorkRequestRequest) RetryPolicy

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

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

func (CancelWorkRequestRequest) String

func (request CancelWorkRequestRequest) String() string

func (CancelWorkRequestRequest) ValidateEnumValue

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

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

type CancelWorkRequestResponse

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 (CancelWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CancelWorkRequestResponse) String

func (response CancelWorkRequestResponse) String() string

type ChangeNetworkFirewallCompartmentDetails

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 (ChangeNetworkFirewallCompartmentDetails) String

func (m ChangeNetworkFirewallCompartmentDetails) String() string

func (ChangeNetworkFirewallCompartmentDetails) ValidateEnumValue

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

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

type ChangeNetworkFirewallCompartmentRequest

ChangeNetworkFirewallCompartmentRequest wrapper for the ChangeNetworkFirewallCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (ChangeNetworkFirewallCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeNetworkFirewallCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeNetworkFirewallCompartmentRequest) RetryPolicy

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

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

func (ChangeNetworkFirewallCompartmentRequest) String

func (request ChangeNetworkFirewallCompartmentRequest) String() string

func (ChangeNetworkFirewallCompartmentRequest) ValidateEnumValue

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

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

type ChangeNetworkFirewallCompartmentResponse

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 (ChangeNetworkFirewallCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkFirewallCompartmentResponse) String

func (response ChangeNetworkFirewallCompartmentResponse) String() string

type ChangeNetworkFirewallPolicyCompartmentDetails

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 (ChangeNetworkFirewallPolicyCompartmentDetails) String

func (m ChangeNetworkFirewallPolicyCompartmentDetails) String() string

func (ChangeNetworkFirewallPolicyCompartmentDetails) ValidateEnumValue

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

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

type ChangeNetworkFirewallPolicyCompartmentRequest

ChangeNetworkFirewallPolicyCompartmentRequest wrapper for the ChangeNetworkFirewallPolicyCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (ChangeNetworkFirewallPolicyCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeNetworkFirewallPolicyCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeNetworkFirewallPolicyCompartmentRequest) RetryPolicy

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

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

func (ChangeNetworkFirewallPolicyCompartmentRequest) String

func (request ChangeNetworkFirewallPolicyCompartmentRequest) String() string

func (ChangeNetworkFirewallPolicyCompartmentRequest) ValidateEnumValue

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

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

type ChangeNetworkFirewallPolicyCompartmentResponse

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 (ChangeNetworkFirewallPolicyCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeNetworkFirewallPolicyCompartmentResponse) String

func (response ChangeNetworkFirewallPolicyCompartmentResponse) String() string

type CreateNetworkFirewallDetails

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 (CreateNetworkFirewallDetails) String

func (m CreateNetworkFirewallDetails) String() string

func (CreateNetworkFirewallDetails) ValidateEnumValue

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

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

type CreateNetworkFirewallPolicyDetails

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 (CreateNetworkFirewallPolicyDetails) String

func (m CreateNetworkFirewallPolicyDetails) String() string

func (*CreateNetworkFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateNetworkFirewallPolicyDetails) ValidateEnumValue

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

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

type CreateNetworkFirewallPolicyRequest

CreateNetworkFirewallPolicyRequest wrapper for the CreateNetworkFirewallPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (CreateNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (CreateNetworkFirewallPolicyRequest) String

func (request CreateNetworkFirewallPolicyRequest) String() string

func (CreateNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type CreateNetworkFirewallPolicyResponse

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 (CreateNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNetworkFirewallPolicyResponse) String

func (response CreateNetworkFirewallPolicyResponse) String() string

type CreateNetworkFirewallRequest

CreateNetworkFirewallRequest wrapper for the CreateNetworkFirewall operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (CreateNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateNetworkFirewallRequest) RetryPolicy

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

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

func (CreateNetworkFirewallRequest) String

func (request CreateNetworkFirewallRequest) String() string

func (CreateNetworkFirewallRequest) ValidateEnumValue

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

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

type CreateNetworkFirewallResponse

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 (CreateNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateNetworkFirewallResponse) String

func (response CreateNetworkFirewallResponse) String() string

type DecryptionProfile

DecryptionProfile Decryption Profile used on the firewall policy rules.

type DecryptionProfile interface {
}

type DecryptionProfileTypeEnum

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

func GetDecryptionProfileTypeEnumValues() []DecryptionProfileTypeEnum

GetDecryptionProfileTypeEnumValues Enumerates the set of values for DecryptionProfileTypeEnum

func GetMappingDecryptionProfileTypeEnum

func GetMappingDecryptionProfileTypeEnum(val string) (DecryptionProfileTypeEnum, bool)

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

type DecryptionRule

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 (DecryptionRule) String

func (m DecryptionRule) String() string

func (DecryptionRule) ValidateEnumValue

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

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

type DecryptionRuleActionEnum

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

func GetDecryptionRuleActionEnumValues() []DecryptionRuleActionEnum

GetDecryptionRuleActionEnumValues Enumerates the set of values for DecryptionRuleActionEnum

func GetMappingDecryptionRuleActionEnum

func GetMappingDecryptionRuleActionEnum(val string) (DecryptionRuleActionEnum, bool)

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

type DecryptionRuleMatchCriteria

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 (DecryptionRuleMatchCriteria) String

func (m DecryptionRuleMatchCriteria) String() string

func (DecryptionRuleMatchCriteria) ValidateEnumValue

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

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

type DeleteNetworkFirewallPolicyRequest

DeleteNetworkFirewallPolicyRequest wrapper for the DeleteNetworkFirewallPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (DeleteNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (DeleteNetworkFirewallPolicyRequest) String

func (request DeleteNetworkFirewallPolicyRequest) String() string

func (DeleteNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type DeleteNetworkFirewallPolicyResponse

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 (DeleteNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkFirewallPolicyResponse) String

func (response DeleteNetworkFirewallPolicyResponse) String() string

type DeleteNetworkFirewallRequest

DeleteNetworkFirewallRequest wrapper for the DeleteNetworkFirewall operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (DeleteNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteNetworkFirewallRequest) RetryPolicy

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

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

func (DeleteNetworkFirewallRequest) String

func (request DeleteNetworkFirewallRequest) String() string

func (DeleteNetworkFirewallRequest) ValidateEnumValue

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

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

type DeleteNetworkFirewallResponse

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 (DeleteNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteNetworkFirewallResponse) String

func (response DeleteNetworkFirewallResponse) String() string

type GetNetworkFirewallPolicyRequest

GetNetworkFirewallPolicyRequest wrapper for the GetNetworkFirewallPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (GetNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (GetNetworkFirewallPolicyRequest) String

func (request GetNetworkFirewallPolicyRequest) String() string

func (GetNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type GetNetworkFirewallPolicyResponse

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 (GetNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNetworkFirewallPolicyResponse) String

func (response GetNetworkFirewallPolicyResponse) String() string

type GetNetworkFirewallRequest

GetNetworkFirewallRequest wrapper for the GetNetworkFirewall operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (GetNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetNetworkFirewallRequest) RetryPolicy

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

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

func (GetNetworkFirewallRequest) String

func (request GetNetworkFirewallRequest) String() string

func (GetNetworkFirewallRequest) ValidateEnumValue

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

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

type GetNetworkFirewallResponse

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 (GetNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetNetworkFirewallResponse) String

func (response GetNetworkFirewallResponse) String() string

type GetWorkRequestRequest

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

GetWorkRequestResponse wrapper for the GetWorkRequest operation

type GetWorkRequestResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

    // 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 (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type Icmp6Application

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 (Icmp6Application) MarshalJSON

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

MarshalJSON marshals to json representation

func (Icmp6Application) String

func (m Icmp6Application) String() string

func (Icmp6Application) ValidateEnumValue

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

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

type IcmpApplication

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 (IcmpApplication) MarshalJSON

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

MarshalJSON marshals to json representation

func (IcmpApplication) String

func (m IcmpApplication) String() string

func (IcmpApplication) ValidateEnumValue

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

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

type LifecycleStateEnum

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

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

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

type ListNetworkFirewallPoliciesLifecycleStateEnum

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

func GetListNetworkFirewallPoliciesLifecycleStateEnumValues() []ListNetworkFirewallPoliciesLifecycleStateEnum

GetListNetworkFirewallPoliciesLifecycleStateEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesLifecycleStateEnum

func GetMappingListNetworkFirewallPoliciesLifecycleStateEnum

func GetMappingListNetworkFirewallPoliciesLifecycleStateEnum(val string) (ListNetworkFirewallPoliciesLifecycleStateEnum, bool)

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

type ListNetworkFirewallPoliciesRequest

ListNetworkFirewallPoliciesRequest wrapper for the ListNetworkFirewallPolicies operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (ListNetworkFirewallPoliciesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkFirewallPoliciesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListNetworkFirewallPoliciesRequest) RetryPolicy

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

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

func (ListNetworkFirewallPoliciesRequest) String

func (request ListNetworkFirewallPoliciesRequest) String() string

func (ListNetworkFirewallPoliciesRequest) ValidateEnumValue

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

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

type ListNetworkFirewallPoliciesResponse

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 (ListNetworkFirewallPoliciesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNetworkFirewallPoliciesResponse) String

func (response ListNetworkFirewallPoliciesResponse) String() string

type ListNetworkFirewallPoliciesSortByEnum

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

func GetListNetworkFirewallPoliciesSortByEnumValues() []ListNetworkFirewallPoliciesSortByEnum

GetListNetworkFirewallPoliciesSortByEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesSortByEnum

func GetMappingListNetworkFirewallPoliciesSortByEnum

func GetMappingListNetworkFirewallPoliciesSortByEnum(val string) (ListNetworkFirewallPoliciesSortByEnum, bool)

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

type ListNetworkFirewallPoliciesSortOrderEnum

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

func GetListNetworkFirewallPoliciesSortOrderEnumValues() []ListNetworkFirewallPoliciesSortOrderEnum

GetListNetworkFirewallPoliciesSortOrderEnumValues Enumerates the set of values for ListNetworkFirewallPoliciesSortOrderEnum

func GetMappingListNetworkFirewallPoliciesSortOrderEnum

func GetMappingListNetworkFirewallPoliciesSortOrderEnum(val string) (ListNetworkFirewallPoliciesSortOrderEnum, bool)

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

type ListNetworkFirewallsLifecycleStateEnum

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

func GetListNetworkFirewallsLifecycleStateEnumValues() []ListNetworkFirewallsLifecycleStateEnum

GetListNetworkFirewallsLifecycleStateEnumValues Enumerates the set of values for ListNetworkFirewallsLifecycleStateEnum

func GetMappingListNetworkFirewallsLifecycleStateEnum

func GetMappingListNetworkFirewallsLifecycleStateEnum(val string) (ListNetworkFirewallsLifecycleStateEnum, bool)

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

type ListNetworkFirewallsRequest

ListNetworkFirewallsRequest wrapper for the ListNetworkFirewalls operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (ListNetworkFirewallsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListNetworkFirewallsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListNetworkFirewallsRequest) RetryPolicy

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

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

func (ListNetworkFirewallsRequest) String

func (request ListNetworkFirewallsRequest) String() string

func (ListNetworkFirewallsRequest) ValidateEnumValue

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

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

type ListNetworkFirewallsResponse

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 (ListNetworkFirewallsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListNetworkFirewallsResponse) String

func (response ListNetworkFirewallsResponse) String() string

type ListNetworkFirewallsSortByEnum

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

func GetListNetworkFirewallsSortByEnumValues() []ListNetworkFirewallsSortByEnum

GetListNetworkFirewallsSortByEnumValues Enumerates the set of values for ListNetworkFirewallsSortByEnum

func GetMappingListNetworkFirewallsSortByEnum

func GetMappingListNetworkFirewallsSortByEnum(val string) (ListNetworkFirewallsSortByEnum, bool)

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

type ListNetworkFirewallsSortOrderEnum

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

func GetListNetworkFirewallsSortOrderEnumValues() []ListNetworkFirewallsSortOrderEnum

GetListNetworkFirewallsSortOrderEnumValues Enumerates the set of values for ListNetworkFirewallsSortOrderEnum

func GetMappingListNetworkFirewallsSortOrderEnum

func GetMappingListNetworkFirewallsSortOrderEnum(val string) (ListNetworkFirewallsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

type ListWorkRequestErrorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // 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 (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestErrorsSortByEnum

ListWorkRequestErrorsSortByEnum Enum with underlying type: string

type ListWorkRequestErrorsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum

const (
    ListWorkRequestErrorsSortByTimeaccepted ListWorkRequestErrorsSortByEnum = "timeAccepted"
)

func GetListWorkRequestErrorsSortByEnumValues

func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum

GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum

func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)

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

type ListWorkRequestErrorsSortOrderEnum

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

func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum

GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum

func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)

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

type ListWorkRequestLogsRequest

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

type ListWorkRequestLogsResponse struct {

    // The underlying http response
    RawResponse *http.Response

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

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

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

    // 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 (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestLogsSortByEnum

ListWorkRequestLogsSortByEnum Enum with underlying type: string

type ListWorkRequestLogsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum

const (
    ListWorkRequestLogsSortByTimeaccepted ListWorkRequestLogsSortByEnum = "timeAccepted"
)

func GetListWorkRequestLogsSortByEnumValues

func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum

GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum

func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)

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

type ListWorkRequestLogsSortOrderEnum

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

func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum

GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum

func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)

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

type ListWorkRequestsRequest

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

type ListWorkRequestsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of 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 (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

ListWorkRequestsSortByEnum Enum with underlying type: string

type ListWorkRequestsSortByEnum string

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

const (
    ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted"
)

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

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

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

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

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type MappedSecret

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
}

type 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

func GetMappedSecretTypeEnumValues() []MappedSecretTypeEnum

GetMappedSecretTypeEnumValues Enumerates the set of values for MappedSecretTypeEnum

func GetMappingMappedSecretTypeEnum

func GetMappingMappedSecretTypeEnum(val string) (MappedSecretTypeEnum, bool)

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

type NetworkFirewall

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 (NetworkFirewall) String

func (m NetworkFirewall) String() string

func (NetworkFirewall) ValidateEnumValue

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

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

type NetworkFirewallClient

NetworkFirewallClient a client for NetworkFirewall

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

func NewNetworkFirewallClientWithConfigurationProvider

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

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

func NewNetworkFirewallClientWithOboToken

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

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

as well as reading the region

func (NetworkFirewallClient) CancelWorkRequest

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

CancelWorkRequest Cancel work request with the given ID.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) ChangeNetworkFirewallCompartment

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) ChangeNetworkFirewallPolicyCompartment

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (*NetworkFirewallClient) ConfigurationProvider

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

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

func (NetworkFirewallClient) CreateNetworkFirewall

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

CreateNetworkFirewall Creates a new NetworkFirewall.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) CreateNetworkFirewallPolicy

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

CreateNetworkFirewallPolicy Creates a new Network Firewall Policy.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) DeleteNetworkFirewall

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

DeleteNetworkFirewall Deletes a NetworkFirewall resource by identifier

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) DeleteNetworkFirewallPolicy

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

DeleteNetworkFirewallPolicy Deletes a NetworkFirewallPolicy resource with the given identifier.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) GetNetworkFirewall

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

GetNetworkFirewall Gets a NetworkFirewall by identifier

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) GetNetworkFirewallPolicy

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

GetNetworkFirewallPolicy Gets a NetworkFirewallPolicy given the network firewall policy identifier.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) GetWorkRequest

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) ListNetworkFirewallPolicies

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

ListNetworkFirewallPolicies Returns a list of Network Firewall Policies.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) ListNetworkFirewalls

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

ListNetworkFirewalls Returns a list of NetworkFirewalls.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) ListWorkRequestErrors

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) ListWorkRequestLogs

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (*NetworkFirewallClient) SetRegion

func (client *NetworkFirewallClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (NetworkFirewallClient) UpdateNetworkFirewall

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

UpdateNetworkFirewall Updates the NetworkFirewall

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (NetworkFirewallClient) UpdateNetworkFirewallPolicy

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

UpdateNetworkFirewallPolicy Updates the NetworkFirewallPolicy

See also

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

type NetworkFirewallCollection

NetworkFirewallCollection A collection of NetworkFirewallSummary items.

type NetworkFirewallCollection struct {

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

func (NetworkFirewallCollection) String

func (m NetworkFirewallCollection) String() string

func (NetworkFirewallCollection) ValidateEnumValue

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

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

type NetworkFirewallPolicy

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 (NetworkFirewallPolicy) String

func (m NetworkFirewallPolicy) String() string

func (*NetworkFirewallPolicy) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (NetworkFirewallPolicy) ValidateEnumValue

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

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

type NetworkFirewallPolicySummary

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 (NetworkFirewallPolicySummary) String

func (m NetworkFirewallPolicySummary) String() string

func (NetworkFirewallPolicySummary) ValidateEnumValue

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

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

type NetworkFirewallPolicySummaryCollection

NetworkFirewallPolicySummaryCollection Collection of Network Firewall Policies.

type NetworkFirewallPolicySummaryCollection struct {

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

func (NetworkFirewallPolicySummaryCollection) String

func (m NetworkFirewallPolicySummaryCollection) String() string

func (NetworkFirewallPolicySummaryCollection) ValidateEnumValue

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

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

type NetworkFirewallSummary

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 (NetworkFirewallSummary) String

func (m NetworkFirewallSummary) String() string

func (NetworkFirewallSummary) ValidateEnumValue

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

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

type OperationStatusEnum

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

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

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

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type SecurityRule

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 (SecurityRule) String

func (m SecurityRule) String() string

func (SecurityRule) ValidateEnumValue

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

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

type SecurityRuleActionEnum

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

func GetMappingSecurityRuleActionEnum(val string) (SecurityRuleActionEnum, bool)

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

func GetSecurityRuleActionEnumValues

func GetSecurityRuleActionEnumValues() []SecurityRuleActionEnum

GetSecurityRuleActionEnumValues Enumerates the set of values for SecurityRuleActionEnum

type SecurityRuleInspectionEnum

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

func GetMappingSecurityRuleInspectionEnum(val string) (SecurityRuleInspectionEnum, bool)

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

func GetSecurityRuleInspectionEnumValues

func GetSecurityRuleInspectionEnumValues() []SecurityRuleInspectionEnum

GetSecurityRuleInspectionEnumValues Enumerates the set of values for SecurityRuleInspectionEnum

type SecurityRuleMatchCriteria

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 (SecurityRuleMatchCriteria) String

func (m SecurityRuleMatchCriteria) String() string

func (SecurityRuleMatchCriteria) ValidateEnumValue

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

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

type SimpleUrlPattern

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 (SimpleUrlPattern) MarshalJSON

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

MarshalJSON marshals to json representation

func (SimpleUrlPattern) String

func (m SimpleUrlPattern) String() string

func (SimpleUrlPattern) ValidateEnumValue

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

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

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

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

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SslForwardProxyProfile

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 (SslForwardProxyProfile) MarshalJSON

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

MarshalJSON marshals to json representation

func (SslForwardProxyProfile) String

func (m SslForwardProxyProfile) String() string

func (SslForwardProxyProfile) ValidateEnumValue

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

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

type SslInboundInspectionProfile

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 (SslInboundInspectionProfile) MarshalJSON

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

MarshalJSON marshals to json representation

func (SslInboundInspectionProfile) String

func (m SslInboundInspectionProfile) String() string

func (SslInboundInspectionProfile) ValidateEnumValue

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

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

type TcpApplication

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 (TcpApplication) MarshalJSON

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

MarshalJSON marshals to json representation

func (TcpApplication) String

func (m TcpApplication) String() string

func (TcpApplication) ValidateEnumValue

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

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

type UdpApplication

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 (UdpApplication) MarshalJSON

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

MarshalJSON marshals to json representation

func (UdpApplication) String

func (m UdpApplication) String() string

func (UdpApplication) ValidateEnumValue

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

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

type UpdateNetworkFirewallDetails

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 (UpdateNetworkFirewallDetails) String

func (m UpdateNetworkFirewallDetails) String() string

func (UpdateNetworkFirewallDetails) ValidateEnumValue

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

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

type UpdateNetworkFirewallPolicyDetails

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 (UpdateNetworkFirewallPolicyDetails) String

func (m UpdateNetworkFirewallPolicyDetails) String() string

func (*UpdateNetworkFirewallPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateNetworkFirewallPolicyDetails) ValidateEnumValue

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

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

type UpdateNetworkFirewallPolicyRequest

UpdateNetworkFirewallPolicyRequest wrapper for the UpdateNetworkFirewallPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (UpdateNetworkFirewallPolicyRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkFirewallPolicyRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkFirewallPolicyRequest) RetryPolicy

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

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

func (UpdateNetworkFirewallPolicyRequest) String

func (request UpdateNetworkFirewallPolicyRequest) String() string

func (UpdateNetworkFirewallPolicyRequest) ValidateEnumValue

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

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

type UpdateNetworkFirewallPolicyResponse

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 (UpdateNetworkFirewallPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkFirewallPolicyResponse) String

func (response UpdateNetworkFirewallPolicyResponse) String() string

type UpdateNetworkFirewallRequest

UpdateNetworkFirewallRequest wrapper for the UpdateNetworkFirewall operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.30.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 (UpdateNetworkFirewallRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateNetworkFirewallRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateNetworkFirewallRequest) RetryPolicy

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

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

func (UpdateNetworkFirewallRequest) String

func (request UpdateNetworkFirewallRequest) String() string

func (UpdateNetworkFirewallRequest) ValidateEnumValue

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

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

type UpdateNetworkFirewallResponse

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 (UpdateNetworkFirewallResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateNetworkFirewallResponse) String

func (response UpdateNetworkFirewallResponse) String() string

type UrlPattern

UrlPattern Pattern describing a URL or set of URLs.

type UrlPattern interface {
}

type UrlPatternTypeEnum

UrlPatternTypeEnum Enum with underlying type: string

type UrlPatternTypeEnum string

Set of constants representing the allowable values for UrlPatternTypeEnum

const (
    UrlPatternTypeSimple UrlPatternTypeEnum = "SIMPLE"
)

func GetMappingUrlPatternTypeEnum

func GetMappingUrlPatternTypeEnum(val string) (UrlPatternTypeEnum, bool)

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

func GetUrlPatternTypeEnumValues

func GetUrlPatternTypeEnumValues() []UrlPatternTypeEnum

GetUrlPatternTypeEnumValues Enumerates the set of values for UrlPatternTypeEnum

type VaultMappedSecret

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 (VaultMappedSecret) GetType

func (m VaultMappedSecret) GetType() MappedSecretTypeEnum

GetType returns Type

func (VaultMappedSecret) MarshalJSON

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

MarshalJSON marshals to json representation

func (VaultMappedSecret) String

func (m VaultMappedSecret) String() string

func (VaultMappedSecret) ValidateEnumValue

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

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

type WorkRequest

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 (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestError

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 (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

WorkRequestErrorCollection 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 (WorkRequestErrorCollection) String

func (m WorkRequestErrorCollection) String() string

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

WorkRequestLogEntry A log message from the execution of a 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 (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

WorkRequestLogEntryCollection 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 (WorkRequestLogEntryCollection) String

func (m WorkRequestLogEntryCollection) String() string

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

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 (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestResourceMetadataKeyEnum

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

func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)

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

func GetWorkRequestResourceMetadataKeyEnumValues

func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum

GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum

type WorkRequestSummary

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 (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

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

type WorkRequestSummaryCollection

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 (WorkRequestSummaryCollection) String

func (m WorkRequestSummaryCollection) String() string

func (WorkRequestSummaryCollection) ValidateEnumValue

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

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