logging

package
v65.77.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypesEnumStringValues

func GetActionTypesEnumStringValues() []string

GetActionTypesEnumStringValues Enumerates the set of values in String for ActionTypesEnum

func GetCreateLogDetailsLogTypeEnumStringValues

func GetCreateLogDetailsLogTypeEnumStringValues() []string

GetCreateLogDetailsLogTypeEnumStringValues Enumerates the set of values in String for CreateLogDetailsLogTypeEnum

func GetListLogGroupsSortByEnumStringValues

func GetListLogGroupsSortByEnumStringValues() []string

GetListLogGroupsSortByEnumStringValues Enumerates the set of values in String for ListLogGroupsSortByEnum

func GetListLogGroupsSortOrderEnumStringValues

func GetListLogGroupsSortOrderEnumStringValues() []string

GetListLogGroupsSortOrderEnumStringValues Enumerates the set of values in String for ListLogGroupsSortOrderEnum

func GetListLogSavedSearchesSortByEnumStringValues

func GetListLogSavedSearchesSortByEnumStringValues() []string

GetListLogSavedSearchesSortByEnumStringValues Enumerates the set of values in String for ListLogSavedSearchesSortByEnum

func GetListLogSavedSearchesSortOrderEnumStringValues

func GetListLogSavedSearchesSortOrderEnumStringValues() []string

GetListLogSavedSearchesSortOrderEnumStringValues Enumerates the set of values in String for ListLogSavedSearchesSortOrderEnum

func GetListLogsLifecycleStateEnumStringValues

func GetListLogsLifecycleStateEnumStringValues() []string

GetListLogsLifecycleStateEnumStringValues Enumerates the set of values in String for ListLogsLifecycleStateEnum

func GetListLogsLogTypeEnumStringValues

func GetListLogsLogTypeEnumStringValues() []string

GetListLogsLogTypeEnumStringValues Enumerates the set of values in String for ListLogsLogTypeEnum

func GetListLogsSortByEnumStringValues

func GetListLogsSortByEnumStringValues() []string

GetListLogsSortByEnumStringValues Enumerates the set of values in String for ListLogsSortByEnum

func GetListLogsSortOrderEnumStringValues

func GetListLogsSortOrderEnumStringValues() []string

GetListLogsSortOrderEnumStringValues Enumerates the set of values in String for ListLogsSortOrderEnum

func GetListUnifiedAgentConfigurationsLifecycleStateEnumStringValues

func GetListUnifiedAgentConfigurationsLifecycleStateEnumStringValues() []string

GetListUnifiedAgentConfigurationsLifecycleStateEnumStringValues Enumerates the set of values in String for ListUnifiedAgentConfigurationsLifecycleStateEnum

func GetListUnifiedAgentConfigurationsSortByEnumStringValues

func GetListUnifiedAgentConfigurationsSortByEnumStringValues() []string

GetListUnifiedAgentConfigurationsSortByEnumStringValues Enumerates the set of values in String for ListUnifiedAgentConfigurationsSortByEnum

func GetListUnifiedAgentConfigurationsSortOrderEnumStringValues

func GetListUnifiedAgentConfigurationsSortOrderEnumStringValues() []string

GetListUnifiedAgentConfigurationsSortOrderEnumStringValues Enumerates the set of values in String for ListUnifiedAgentConfigurationsSortOrderEnum

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 GetLogGroupLifecycleStateEnumStringValues

func GetLogGroupLifecycleStateEnumStringValues() []string

GetLogGroupLifecycleStateEnumStringValues Enumerates the set of values in String for LogGroupLifecycleStateEnum

func GetLogLifecycleStateEnumStringValues

func GetLogLifecycleStateEnumStringValues() []string

GetLogLifecycleStateEnumStringValues Enumerates the set of values in String for LogLifecycleStateEnum

func GetLogLogTypeEnumStringValues

func GetLogLogTypeEnumStringValues() []string

GetLogLogTypeEnumStringValues Enumerates the set of values in String for LogLogTypeEnum

func GetLogSavedSearchLifecycleStateEnumStringValues

func GetLogSavedSearchLifecycleStateEnumStringValues() []string

GetLogSavedSearchLifecycleStateEnumStringValues Enumerates the set of values in String for LogSavedSearchLifecycleStateEnum

func GetLogSummaryLogTypeEnumStringValues

func GetLogSummaryLogTypeEnumStringValues() []string

GetLogSummaryLogTypeEnumStringValues Enumerates the set of values in String for LogSummaryLogTypeEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypesEnumStringValues

func GetOperationTypesEnumStringValues() []string

GetOperationTypesEnumStringValues Enumerates the set of values in String for OperationTypesEnum

func GetOperationalMetricsSourceTypeEnumStringValues added in v65.50.0

func GetOperationalMetricsSourceTypeEnumStringValues() []string

GetOperationalMetricsSourceTypeEnumStringValues Enumerates the set of values in String for OperationalMetricsSourceTypeEnum

func GetParameterTypeEnumStringValues

func GetParameterTypeEnumStringValues() []string

GetParameterTypeEnumStringValues Enumerates the set of values in String for ParameterTypeEnum

func GetSourceSourceTypeEnumStringValues

func GetSourceSourceTypeEnumStringValues() []string

GetSourceSourceTypeEnumStringValues Enumerates the set of values in String for SourceSourceTypeEnum

func GetUnifiedAgentKubernetesScrapeTargetResourceTypeEnumStringValues added in v65.62.0

func GetUnifiedAgentKubernetesScrapeTargetResourceTypeEnumStringValues() []string

GetUnifiedAgentKubernetesScrapeTargetResourceTypeEnumStringValues Enumerates the set of values in String for UnifiedAgentKubernetesScrapeTargetResourceTypeEnum

func GetUnifiedAgentLoggingFilterFilterTypeEnumStringValues added in v65.62.0

func GetUnifiedAgentLoggingFilterFilterTypeEnumStringValues() []string

GetUnifiedAgentLoggingFilterFilterTypeEnumStringValues Enumerates the set of values in String for UnifiedAgentLoggingFilterFilterTypeEnum

func GetUnifiedAgentLoggingSourceSourceTypeEnumStringValues

func GetUnifiedAgentLoggingSourceSourceTypeEnumStringValues() []string

GetUnifiedAgentLoggingSourceSourceTypeEnumStringValues Enumerates the set of values in String for UnifiedAgentLoggingSourceSourceTypeEnum

func GetUnifiedAgentMonitoringFilterFilterTypeEnumStringValues added in v65.62.0

func GetUnifiedAgentMonitoringFilterFilterTypeEnumStringValues() []string

GetUnifiedAgentMonitoringFilterFilterTypeEnumStringValues Enumerates the set of values in String for UnifiedAgentMonitoringFilterFilterTypeEnum

func GetUnifiedAgentMonitoringSourceTypesEnumStringValues added in v65.62.0

func GetUnifiedAgentMonitoringSourceTypesEnumStringValues() []string

GetUnifiedAgentMonitoringSourceTypesEnumStringValues Enumerates the set of values in String for UnifiedAgentMonitoringSourceTypesEnum

func GetUnifiedAgentParserParserTypeEnumStringValues

func GetUnifiedAgentParserParserTypeEnumStringValues() []string

GetUnifiedAgentParserParserTypeEnumStringValues Enumerates the set of values in String for UnifiedAgentParserParserTypeEnum

func GetUnifiedAgentServiceConfigurationStatesEnumStringValues

func GetUnifiedAgentServiceConfigurationStatesEnumStringValues() []string

GetUnifiedAgentServiceConfigurationStatesEnumStringValues Enumerates the set of values in String for UnifiedAgentServiceConfigurationStatesEnum

func GetUnifiedAgentServiceConfigurationTypesEnumStringValues

func GetUnifiedAgentServiceConfigurationTypesEnumStringValues() []string

GetUnifiedAgentServiceConfigurationTypesEnumStringValues Enumerates the set of values in String for UnifiedAgentServiceConfigurationTypesEnum

func GetUnifiedAgentSyslogParserMessageFormatEnumStringValues

func GetUnifiedAgentSyslogParserMessageFormatEnumStringValues() []string

GetUnifiedAgentSyslogParserMessageFormatEnumStringValues Enumerates the set of values in String for UnifiedAgentSyslogParserMessageFormatEnum

func GetUnifiedAgentSyslogParserSyslogParserTypeEnumStringValues

func GetUnifiedAgentSyslogParserSyslogParserTypeEnumStringValues() []string

GetUnifiedAgentSyslogParserSyslogParserTypeEnumStringValues Enumerates the set of values in String for UnifiedAgentSyslogParserSyslogParserTypeEnum

func GetUnifiedJsonParserTimeTypeEnumStringValues

func GetUnifiedJsonParserTimeTypeEnumStringValues() []string

GetUnifiedJsonParserTimeTypeEnumStringValues Enumerates the set of values in String for UnifiedJsonParserTimeTypeEnum

Types

type ActionTypesEnum

type ActionTypesEnum string

ActionTypesEnum Enum with underlying type: string

const (
	ActionTypesCreated    ActionTypesEnum = "CREATED"
	ActionTypesUpdated    ActionTypesEnum = "UPDATED"
	ActionTypesDeleted    ActionTypesEnum = "DELETED"
	ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS"
	ActionTypesRelated    ActionTypesEnum = "RELATED"
)

Set of constants representing the allowable values for ActionTypesEnum

func GetActionTypesEnumValues

func GetActionTypesEnumValues() []ActionTypesEnum

GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum

func GetMappingActionTypesEnum

func GetMappingActionTypesEnum(val string) (ActionTypesEnum, bool)

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

type Archiving

type Archiving struct {

	// True if archiving enabled. This field is now deprecated, you should use Service Connector Hub to enable archiving.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}

Archiving Log archiving configuration.

func (Archiving) String

func (m Archiving) String() string

func (Archiving) ValidateEnumValue

func (m Archiving) 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 Category

type Category struct {

	// Category name.
	Name *string `mandatory:"false" json:"name"`

	// Category display name. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Parameters the category supports.
	Parameters []Parameter `mandatory:"false" json:"parameters"`
}

Category Categories for resources.

func (Category) String

func (m Category) String() string

func (Category) ValidateEnumValue

func (m Category) 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 ChangeLogGroupCompartmentDetails

type ChangeLogGroupCompartmentDetails struct {

	// The compartment into which the resource should be moved.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeLogGroupCompartmentDetails Contains details indicating which compartment the resource should move to.

func (ChangeLogGroupCompartmentDetails) String

func (ChangeLogGroupCompartmentDetails) ValidateEnumValue

func (m ChangeLogGroupCompartmentDetails) 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 ChangeLogGroupCompartmentRequest

type ChangeLogGroupCompartmentRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// Request to change the compartment of a given resource.
	ChangeLogGroupCompartmentDetails `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"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ChangeLogGroupCompartmentRequest wrapper for the ChangeLogGroupCompartment operation

See also

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

func (ChangeLogGroupCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeLogGroupCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeLogGroupCompartmentRequest) RetryPolicy

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

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

func (ChangeLogGroupCompartmentRequest) String

func (request ChangeLogGroupCompartmentRequest) String() string

func (ChangeLogGroupCompartmentRequest) ValidateEnumValue

func (request ChangeLogGroupCompartmentRequest) 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 ChangeLogGroupCompartmentResponse

type ChangeLogGroupCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

ChangeLogGroupCompartmentResponse wrapper for the ChangeLogGroupCompartment operation

func (ChangeLogGroupCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeLogGroupCompartmentResponse) String

func (response ChangeLogGroupCompartmentResponse) String() string

type ChangeLogLogGroupDetails

type ChangeLogLogGroupDetails struct {

	// Log group OCID.
	TargetLogGroupId *string `mandatory:"false" json:"targetLogGroupId"`
}

ChangeLogLogGroupDetails Contains details indicating which log group the log should move to.

func (ChangeLogLogGroupDetails) String

func (m ChangeLogLogGroupDetails) String() string

func (ChangeLogLogGroupDetails) ValidateEnumValue

func (m ChangeLogLogGroupDetails) 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 ChangeLogLogGroupRequest

type ChangeLogLogGroupRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// OCID of a log to work with.
	LogId *string `mandatory:"true" contributesTo:"path" name:"logId"`

	// Request to change the log group of a given log.
	ChangeLogLogGroupDetails `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"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ChangeLogLogGroupRequest wrapper for the ChangeLogLogGroup operation

See also

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

func (ChangeLogLogGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeLogLogGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeLogLogGroupRequest) RetryPolicy

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

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

func (ChangeLogLogGroupRequest) String

func (request ChangeLogLogGroupRequest) String() string

func (ChangeLogLogGroupRequest) ValidateEnumValue

func (request ChangeLogLogGroupRequest) 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 ChangeLogLogGroupResponse

type ChangeLogLogGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

ChangeLogLogGroupResponse wrapper for the ChangeLogLogGroup operation

func (ChangeLogLogGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeLogLogGroupResponse) String

func (response ChangeLogLogGroupResponse) String() string

type ChangeLogSavedSearchCompartmentDetails

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

ChangeLogSavedSearchCompartmentDetails Contains details indicating which compartment the resource should move to.

func (ChangeLogSavedSearchCompartmentDetails) String

func (ChangeLogSavedSearchCompartmentDetails) ValidateEnumValue

func (m ChangeLogSavedSearchCompartmentDetails) 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 ChangeLogSavedSearchCompartmentRequest

type ChangeLogSavedSearchCompartmentRequest struct {

	// OCID of the logSavedSearch.
	LogSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"logSavedSearchId"`

	// Contains details indicating which compartment the resource should move to.
	ChangeLogSavedSearchCompartmentDetails `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 (e.g., if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ChangeLogSavedSearchCompartmentRequest wrapper for the ChangeLogSavedSearchCompartment operation

See also

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

func (ChangeLogSavedSearchCompartmentRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ChangeLogSavedSearchCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeLogSavedSearchCompartmentRequest) RetryPolicy

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

func (ChangeLogSavedSearchCompartmentRequest) String

func (ChangeLogSavedSearchCompartmentRequest) ValidateEnumValue

func (request ChangeLogSavedSearchCompartmentRequest) 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 ChangeLogSavedSearchCompartmentResponse

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

ChangeLogSavedSearchCompartmentResponse wrapper for the ChangeLogSavedSearchCompartment operation

func (ChangeLogSavedSearchCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeLogSavedSearchCompartmentResponse) String

type ChangeUnifiedAgentConfigurationCompartmentDetails

type ChangeUnifiedAgentConfigurationCompartmentDetails struct {

	// The OCID the compartment into which the resource should be moved.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

ChangeUnifiedAgentConfigurationCompartmentDetails Contains details indicating which compartment the resource should move to.

func (ChangeUnifiedAgentConfigurationCompartmentDetails) String

func (ChangeUnifiedAgentConfigurationCompartmentDetails) ValidateEnumValue

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 ChangeUnifiedAgentConfigurationCompartmentRequest

type ChangeUnifiedAgentConfigurationCompartmentRequest struct {

	// The OCID of the Unified Agent configuration.
	UnifiedAgentConfigurationId *string `mandatory:"true" contributesTo:"path" name:"unifiedAgentConfigurationId"`

	// Request to change the compartment of a given resource.
	ChangeUnifiedAgentConfigurationCompartmentDetails `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 (e.g., if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ChangeUnifiedAgentConfigurationCompartmentRequest wrapper for the ChangeUnifiedAgentConfigurationCompartment operation

See also

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

func (ChangeUnifiedAgentConfigurationCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeUnifiedAgentConfigurationCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeUnifiedAgentConfigurationCompartmentRequest) RetryPolicy

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

func (ChangeUnifiedAgentConfigurationCompartmentRequest) String

func (ChangeUnifiedAgentConfigurationCompartmentRequest) ValidateEnumValue

func (request ChangeUnifiedAgentConfigurationCompartmentRequest) 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 ChangeUnifiedAgentConfigurationCompartmentResponse

type ChangeUnifiedAgentConfigurationCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

ChangeUnifiedAgentConfigurationCompartmentResponse wrapper for the ChangeUnifiedAgentConfigurationCompartment operation

func (ChangeUnifiedAgentConfigurationCompartmentResponse) HTTPResponse

HTTPResponse implements the OCIResponse interface

func (ChangeUnifiedAgentConfigurationCompartmentResponse) String

type Configuration

type Configuration struct {
	Source Source `mandatory:"true" json:"source"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	Archiving *Archiving `mandatory:"false" json:"archiving"`
}

Configuration Log object configuration.

func (Configuration) String

func (m Configuration) String() string

func (*Configuration) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (Configuration) ValidateEnumValue

func (m Configuration) 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 CreateLogDetails

type CreateLogDetails struct {

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The logType that the log object is for, whether custom or service.
	LogType CreateLogDetailsLogTypeEnum `mandatory:"true" json:"logType"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	Configuration *Configuration `mandatory:"false" json:"configuration"`

	// Log retention duration in 30-day increments (30, 60, 90 and so on until 180).
	RetentionDuration *int `mandatory:"false" json:"retentionDuration"`
}

CreateLogDetails The details to create a log object.

func (CreateLogDetails) String

func (m CreateLogDetails) String() string

func (CreateLogDetails) ValidateEnumValue

func (m CreateLogDetails) 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 CreateLogDetailsLogTypeEnum

type CreateLogDetailsLogTypeEnum string

CreateLogDetailsLogTypeEnum Enum with underlying type: string

const (
	CreateLogDetailsLogTypeCustom  CreateLogDetailsLogTypeEnum = "CUSTOM"
	CreateLogDetailsLogTypeService CreateLogDetailsLogTypeEnum = "SERVICE"
)

Set of constants representing the allowable values for CreateLogDetailsLogTypeEnum

func GetCreateLogDetailsLogTypeEnumValues

func GetCreateLogDetailsLogTypeEnumValues() []CreateLogDetailsLogTypeEnum

GetCreateLogDetailsLogTypeEnumValues Enumerates the set of values for CreateLogDetailsLogTypeEnum

func GetMappingCreateLogDetailsLogTypeEnum

func GetMappingCreateLogDetailsLogTypeEnum(val string) (CreateLogDetailsLogTypeEnum, bool)

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

type CreateLogGroupDetails

type CreateLogGroupDetails struct {

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateLogGroupDetails The details to create a log group.

func (CreateLogGroupDetails) String

func (m CreateLogGroupDetails) String() string

func (CreateLogGroupDetails) ValidateEnumValue

func (m CreateLogGroupDetails) 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 CreateLogGroupRequest

type CreateLogGroupRequest struct {

	// Details to create log group.
	CreateLogGroupDetails `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 (e.g., if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

CreateLogGroupRequest wrapper for the CreateLogGroup operation

See also

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

func (CreateLogGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLogGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateLogGroupRequest) RetryPolicy

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

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

func (CreateLogGroupRequest) String

func (request CreateLogGroupRequest) String() string

func (CreateLogGroupRequest) ValidateEnumValue

func (request CreateLogGroupRequest) 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 CreateLogGroupResponse

type CreateLogGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

CreateLogGroupResponse wrapper for the CreateLogGroup operation

func (CreateLogGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateLogGroupResponse) String

func (response CreateLogGroupResponse) String() string

type CreateLogRequest

type CreateLogRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// Log object configuration details.
	CreateLogDetails `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 (e.g., if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

CreateLogRequest wrapper for the CreateLog operation

See also

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

func (CreateLogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateLogRequest) RetryPolicy

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

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

func (CreateLogRequest) String

func (request CreateLogRequest) String() string

func (CreateLogRequest) ValidateEnumValue

func (request CreateLogRequest) 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 CreateLogResponse

type CreateLogResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

CreateLogResponse wrapper for the CreateLog operation

func (CreateLogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateLogResponse) String

func (response CreateLogResponse) String() string

type CreateLogSavedSearchDetails

type CreateLogSavedSearchDetails struct {

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	Name *string `mandatory:"true" json:"name"`

	// The search query that is saved.
	Query *string `mandatory:"true" json:"query"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

CreateLogSavedSearchDetails A LogSavedSearch that can be used to save and share a given search result.

func (CreateLogSavedSearchDetails) String

func (CreateLogSavedSearchDetails) ValidateEnumValue

func (m CreateLogSavedSearchDetails) 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 CreateLogSavedSearchRequest

type CreateLogSavedSearchRequest struct {

	// Specification of the saved search to create.
	CreateLogSavedSearchDetails `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 (e.g., if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may be rejected).
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

CreateLogSavedSearchRequest wrapper for the CreateLogSavedSearch operation

See also

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

func (CreateLogSavedSearchRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateLogSavedSearchRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateLogSavedSearchRequest) RetryPolicy

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

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

func (CreateLogSavedSearchRequest) String

func (request CreateLogSavedSearchRequest) String() string

func (CreateLogSavedSearchRequest) ValidateEnumValue

func (request CreateLogSavedSearchRequest) 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 CreateLogSavedSearchResponse

type CreateLogSavedSearchResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LogSavedSearch instance
	LogSavedSearch `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

CreateLogSavedSearchResponse wrapper for the CreateLogSavedSearch operation

func (CreateLogSavedSearchResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateLogSavedSearchResponse) String

func (response CreateLogSavedSearchResponse) String() string

type CreateUnifiedAgentConfigurationDetails

type CreateUnifiedAgentConfigurationDetails struct {

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	ServiceConfiguration UnifiedAgentServiceConfigurationDetails `mandatory:"true" json:"serviceConfiguration"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Description for this resource.
	Description *string `mandatory:"true" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	GroupAssociation *GroupAssociationDetails `mandatory:"false" json:"groupAssociation"`
}

CreateUnifiedAgentConfigurationDetails Unified Agent configuration creation object.

func (CreateUnifiedAgentConfigurationDetails) String

func (*CreateUnifiedAgentConfigurationDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateUnifiedAgentConfigurationDetails) ValidateEnumValue

func (m CreateUnifiedAgentConfigurationDetails) 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 CreateUnifiedAgentConfigurationRequest

type CreateUnifiedAgentConfigurationRequest struct {

	// Unified agent configuration creation object.
	CreateUnifiedAgentConfigurationDetails `contributesTo:"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 `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 (e.g., if a resource has been
	// deleted and purged from the system, then a retry of the original
	// creation request may 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
}

CreateUnifiedAgentConfigurationRequest wrapper for the CreateUnifiedAgentConfiguration operation

See also

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

func (CreateUnifiedAgentConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateUnifiedAgentConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateUnifiedAgentConfigurationRequest) RetryPolicy

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

func (CreateUnifiedAgentConfigurationRequest) String

func (CreateUnifiedAgentConfigurationRequest) ValidateEnumValue

func (request CreateUnifiedAgentConfigurationRequest) 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 CreateUnifiedAgentConfigurationResponse

type CreateUnifiedAgentConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

CreateUnifiedAgentConfigurationResponse wrapper for the CreateUnifiedAgentConfiguration operation

func (CreateUnifiedAgentConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateUnifiedAgentConfigurationResponse) String

type DeleteLogGroupRequest

type DeleteLogGroupRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

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

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

DeleteLogGroupRequest wrapper for the DeleteLogGroup operation

See also

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

func (DeleteLogGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLogGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteLogGroupRequest) RetryPolicy

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

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

func (DeleteLogGroupRequest) String

func (request DeleteLogGroupRequest) String() string

func (DeleteLogGroupRequest) ValidateEnumValue

func (request DeleteLogGroupRequest) 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 DeleteLogGroupResponse

type DeleteLogGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

DeleteLogGroupResponse wrapper for the DeleteLogGroup operation

func (DeleteLogGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteLogGroupResponse) String

func (response DeleteLogGroupResponse) String() string

type DeleteLogRequest

type DeleteLogRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// OCID of a log to work with.
	LogId *string `mandatory:"true" contributesTo:"path" name:"logId"`

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

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

DeleteLogRequest wrapper for the DeleteLog operation

See also

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

func (DeleteLogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteLogRequest) RetryPolicy

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

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

func (DeleteLogRequest) String

func (request DeleteLogRequest) String() string

func (DeleteLogRequest) ValidateEnumValue

func (request DeleteLogRequest) 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 DeleteLogResponse

type DeleteLogResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

DeleteLogResponse wrapper for the DeleteLog operation

func (DeleteLogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteLogResponse) String

func (response DeleteLogResponse) String() string

type DeleteLogSavedSearchRequest

type DeleteLogSavedSearchRequest struct {

	// OCID of the logSavedSearch.
	LogSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"logSavedSearchId"`

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

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

DeleteLogSavedSearchRequest wrapper for the DeleteLogSavedSearch operation

See also

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

func (DeleteLogSavedSearchRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteLogSavedSearchRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteLogSavedSearchRequest) RetryPolicy

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

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

func (DeleteLogSavedSearchRequest) String

func (request DeleteLogSavedSearchRequest) String() string

func (DeleteLogSavedSearchRequest) ValidateEnumValue

func (request DeleteLogSavedSearchRequest) 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 DeleteLogSavedSearchResponse

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

DeleteLogSavedSearchResponse wrapper for the DeleteLogSavedSearch operation

func (DeleteLogSavedSearchResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteLogSavedSearchResponse) String

func (response DeleteLogSavedSearchResponse) String() string

type DeleteUnifiedAgentConfigurationRequest

type DeleteUnifiedAgentConfigurationRequest struct {

	// The OCID of the Unified Agent configuration.
	UnifiedAgentConfigurationId *string `mandatory:"true" contributesTo:"path" name:"unifiedAgentConfigurationId"`

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

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

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

DeleteUnifiedAgentConfigurationRequest wrapper for the DeleteUnifiedAgentConfiguration operation

See also

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

func (DeleteUnifiedAgentConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteUnifiedAgentConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteUnifiedAgentConfigurationRequest) RetryPolicy

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

func (DeleteUnifiedAgentConfigurationRequest) String

func (DeleteUnifiedAgentConfigurationRequest) ValidateEnumValue

func (request DeleteUnifiedAgentConfigurationRequest) 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 DeleteUnifiedAgentConfigurationResponse

type DeleteUnifiedAgentConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

DeleteUnifiedAgentConfigurationResponse wrapper for the DeleteUnifiedAgentConfiguration operation

func (DeleteUnifiedAgentConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteUnifiedAgentConfigurationResponse) String

type DeleteWorkRequestRequest

type DeleteWorkRequestRequest struct {

	// The asynchronous request ID.
	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"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation

See also

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

func (DeleteWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteWorkRequestRequest) RetryPolicy

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

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

func (DeleteWorkRequestRequest) String

func (request DeleteWorkRequestRequest) String() string

func (DeleteWorkRequestRequest) ValidateEnumValue

func (request DeleteWorkRequestRequest) 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 DeleteWorkRequestResponse

type DeleteWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation

func (DeleteWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteWorkRequestResponse) String

func (response DeleteWorkRequestResponse) String() string

type GetLogGroupRequest

type GetLogGroupRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

GetLogGroupRequest wrapper for the GetLogGroup operation

See also

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

func (GetLogGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLogGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLogGroupRequest) RetryPolicy

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

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

func (GetLogGroupRequest) String

func (request GetLogGroupRequest) String() string

func (GetLogGroupRequest) ValidateEnumValue

func (request GetLogGroupRequest) 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 GetLogGroupResponse

type GetLogGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LogGroup instance
	LogGroup `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetLogGroupResponse wrapper for the GetLogGroup operation

func (GetLogGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLogGroupResponse) String

func (response GetLogGroupResponse) String() string

type GetLogRequest

type GetLogRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// OCID of a log to work with.
	LogId *string `mandatory:"true" contributesTo:"path" name:"logId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

GetLogRequest wrapper for the GetLog operation

See also

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

func (GetLogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLogRequest) RetryPolicy

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

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

func (GetLogRequest) String

func (request GetLogRequest) String() string

func (GetLogRequest) ValidateEnumValue

func (request GetLogRequest) 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 GetLogResponse

type GetLogResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The Log instance
	Log `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetLogResponse wrapper for the GetLog operation

func (GetLogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLogResponse) String

func (response GetLogResponse) String() string

type GetLogSavedSearchRequest

type GetLogSavedSearchRequest struct {

	// OCID of the logSavedSearch.
	LogSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"logSavedSearchId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

GetLogSavedSearchRequest wrapper for the GetLogSavedSearch operation

See also

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

func (GetLogSavedSearchRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLogSavedSearchRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetLogSavedSearchRequest) RetryPolicy

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

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

func (GetLogSavedSearchRequest) String

func (request GetLogSavedSearchRequest) String() string

func (GetLogSavedSearchRequest) ValidateEnumValue

func (request GetLogSavedSearchRequest) 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 GetLogSavedSearchResponse

type GetLogSavedSearchResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LogSavedSearch instance
	LogSavedSearch `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetLogSavedSearchResponse wrapper for the GetLogSavedSearch operation

func (GetLogSavedSearchResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLogSavedSearchResponse) String

func (response GetLogSavedSearchResponse) String() string

type GetUnifiedAgentConfigurationRequest

type GetUnifiedAgentConfigurationRequest struct {

	// The OCID of the Unified Agent configuration.
	UnifiedAgentConfigurationId *string `mandatory:"true" contributesTo:"path" name:"unifiedAgentConfigurationId"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

GetUnifiedAgentConfigurationRequest wrapper for the GetUnifiedAgentConfiguration operation

See also

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

func (GetUnifiedAgentConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetUnifiedAgentConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetUnifiedAgentConfigurationRequest) RetryPolicy

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

func (GetUnifiedAgentConfigurationRequest) String

func (GetUnifiedAgentConfigurationRequest) ValidateEnumValue

func (request GetUnifiedAgentConfigurationRequest) 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 GetUnifiedAgentConfigurationResponse

type GetUnifiedAgentConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The UnifiedAgentConfiguration instance
	UnifiedAgentConfiguration `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

GetUnifiedAgentConfigurationResponse wrapper for the GetUnifiedAgentConfiguration operation

func (GetUnifiedAgentConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetUnifiedAgentConfigurationResponse) String

func (response GetUnifiedAgentConfigurationResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

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

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type GrepFilterAllowRule added in v65.62.0

type GrepFilterAllowRule struct {

	// The field name to which the regular expression is applied
	Key *string `mandatory:"false" json:"key"`

	// The regular expression
	Pattern *string `mandatory:"false" json:"pattern"`
}

GrepFilterAllowRule Specifies the filtering rule

func (GrepFilterAllowRule) String added in v65.62.0

func (m GrepFilterAllowRule) String() string

func (GrepFilterAllowRule) ValidateEnumValue added in v65.62.0

func (m GrepFilterAllowRule) 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 GrepFilterDenyRule added in v65.62.0

type GrepFilterDenyRule struct {

	// The field name to which the regular expression is applied
	Key *string `mandatory:"false" json:"key"`

	// The regular expression
	Pattern *string `mandatory:"false" json:"pattern"`
}

GrepFilterDenyRule Specifies the filtering rule to reject logs

func (GrepFilterDenyRule) String added in v65.62.0

func (m GrepFilterDenyRule) String() string

func (GrepFilterDenyRule) ValidateEnumValue added in v65.62.0

func (m GrepFilterDenyRule) 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 GrokPattern

type GrokPattern struct {

	// The Grok pattern.
	Pattern *string `mandatory:"true" json:"pattern"`

	// The name key to tag this Grok pattern.
	Name *string `mandatory:"false" json:"name"`

	// Specify the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Process value using the specified format. This is available only when time_type is a string.
	FieldTimeFormat *string `mandatory:"false" json:"fieldTimeFormat"`

	// Use the specified time zone. The time value can be parsed or formatted in the specified time zone.
	FieldTimeZone *string `mandatory:"false" json:"fieldTimeZone"`
}

GrokPattern Grok pattern object.

func (GrokPattern) String

func (m GrokPattern) String() string

func (GrokPattern) ValidateEnumValue

func (m GrokPattern) 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 GroupAssociationDetails

type GroupAssociationDetails struct {

	// list of group/dynamic group ids associated with this configuration.
	GroupList []string `mandatory:"false" json:"groupList"`
}

GroupAssociationDetails Groups using the configuration.

func (GroupAssociationDetails) String

func (m GroupAssociationDetails) String() string

func (GroupAssociationDetails) ValidateEnumValue

func (m GroupAssociationDetails) 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 ListLogGroupsRequest

type ListLogGroupsRequest struct {

	// Compartment OCID to list resources in. See compartmentIdInSubtree
	//      for nested compartments traversal.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Specifies whether or not nested compartments should be traversed. Defaults to false.
	IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"`

	// Resource name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The field to sort by (one column only). Default sort order is
	// ascending exception of `timeCreated` and `timeLastModified` columns (descending).
	SortBy ListLogGroupsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, whether 'asc' or 'desc'.
	SortOrder ListLogGroupsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ListLogGroupsRequest wrapper for the ListLogGroups operation

See also

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

func (ListLogGroupsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListLogGroupsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListLogGroupsRequest) RetryPolicy

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

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

func (ListLogGroupsRequest) String

func (request ListLogGroupsRequest) String() string

func (ListLogGroupsRequest) ValidateEnumValue

func (request ListLogGroupsRequest) 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 ListLogGroupsResponse

type ListLogGroupsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []LogGroupSummary instances
	Items []LogGroupSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For list pagination. When this header appears in the response, previous pages
	// of results exist. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcPreviousPage *string `presentIn:"header" name:"opc-previous-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"`
}

ListLogGroupsResponse wrapper for the ListLogGroups operation

func (ListLogGroupsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListLogGroupsResponse) String

func (response ListLogGroupsResponse) String() string

type ListLogGroupsSortByEnum

type ListLogGroupsSortByEnum string

ListLogGroupsSortByEnum Enum with underlying type: string

const (
	ListLogGroupsSortByTimecreated ListLogGroupsSortByEnum = "timeCreated"
	ListLogGroupsSortByDisplayname ListLogGroupsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListLogGroupsSortByEnum

func GetListLogGroupsSortByEnumValues

func GetListLogGroupsSortByEnumValues() []ListLogGroupsSortByEnum

GetListLogGroupsSortByEnumValues Enumerates the set of values for ListLogGroupsSortByEnum

func GetMappingListLogGroupsSortByEnum

func GetMappingListLogGroupsSortByEnum(val string) (ListLogGroupsSortByEnum, bool)

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

type ListLogGroupsSortOrderEnum

type ListLogGroupsSortOrderEnum string

ListLogGroupsSortOrderEnum Enum with underlying type: string

const (
	ListLogGroupsSortOrderAsc  ListLogGroupsSortOrderEnum = "ASC"
	ListLogGroupsSortOrderDesc ListLogGroupsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLogGroupsSortOrderEnum

func GetListLogGroupsSortOrderEnumValues

func GetListLogGroupsSortOrderEnumValues() []ListLogGroupsSortOrderEnum

GetListLogGroupsSortOrderEnumValues Enumerates the set of values for ListLogGroupsSortOrderEnum

func GetMappingListLogGroupsSortOrderEnum

func GetMappingListLogGroupsSortOrderEnum(val string) (ListLogGroupsSortOrderEnum, bool)

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

type ListLogSavedSearchesRequest

type ListLogSavedSearchesRequest struct {

	// Compartment OCID to list resources in. See compartmentIdInSubtree
	//      for nested compartments traversal.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// OCID of the LogSavedSearch.
	LogSavedSearchId *string `mandatory:"false" contributesTo:"query" name:"logSavedSearchId"`

	// Resource name.
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The field to sort by (one column only). Default sort order is
	// ascending exception of `timeCreated` and `timeLastModified` columns (descending).
	SortBy ListLogSavedSearchesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, whether 'asc' or 'desc'.
	SortOrder ListLogSavedSearchesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ListLogSavedSearchesRequest wrapper for the ListLogSavedSearches operation

See also

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

func (ListLogSavedSearchesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListLogSavedSearchesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListLogSavedSearchesRequest) RetryPolicy

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

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

func (ListLogSavedSearchesRequest) String

func (request ListLogSavedSearchesRequest) String() string

func (ListLogSavedSearchesRequest) ValidateEnumValue

func (request ListLogSavedSearchesRequest) 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 ListLogSavedSearchesResponse

type ListLogSavedSearchesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For list pagination. When this header appears in the response, previous pages
	// of results exist. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcPreviousPage *string `presentIn:"header" name:"opc-previous-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"`
}

ListLogSavedSearchesResponse wrapper for the ListLogSavedSearches operation

func (ListLogSavedSearchesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListLogSavedSearchesResponse) String

func (response ListLogSavedSearchesResponse) String() string

type ListLogSavedSearchesSortByEnum

type ListLogSavedSearchesSortByEnum string

ListLogSavedSearchesSortByEnum Enum with underlying type: string

const (
	ListLogSavedSearchesSortByTimecreated ListLogSavedSearchesSortByEnum = "timeCreated"
	ListLogSavedSearchesSortByDisplayname ListLogSavedSearchesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListLogSavedSearchesSortByEnum

func GetListLogSavedSearchesSortByEnumValues

func GetListLogSavedSearchesSortByEnumValues() []ListLogSavedSearchesSortByEnum

GetListLogSavedSearchesSortByEnumValues Enumerates the set of values for ListLogSavedSearchesSortByEnum

func GetMappingListLogSavedSearchesSortByEnum

func GetMappingListLogSavedSearchesSortByEnum(val string) (ListLogSavedSearchesSortByEnum, bool)

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

type ListLogSavedSearchesSortOrderEnum

type ListLogSavedSearchesSortOrderEnum string

ListLogSavedSearchesSortOrderEnum Enum with underlying type: string

const (
	ListLogSavedSearchesSortOrderAsc  ListLogSavedSearchesSortOrderEnum = "ASC"
	ListLogSavedSearchesSortOrderDesc ListLogSavedSearchesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLogSavedSearchesSortOrderEnum

func GetListLogSavedSearchesSortOrderEnumValues

func GetListLogSavedSearchesSortOrderEnumValues() []ListLogSavedSearchesSortOrderEnum

GetListLogSavedSearchesSortOrderEnumValues Enumerates the set of values for ListLogSavedSearchesSortOrderEnum

func GetMappingListLogSavedSearchesSortOrderEnum

func GetMappingListLogSavedSearchesSortOrderEnum(val string) (ListLogSavedSearchesSortOrderEnum, bool)

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

type ListLogsLifecycleStateEnum

type ListLogsLifecycleStateEnum string

ListLogsLifecycleStateEnum Enum with underlying type: string

const (
	ListLogsLifecycleStateCreating ListLogsLifecycleStateEnum = "CREATING"
	ListLogsLifecycleStateActive   ListLogsLifecycleStateEnum = "ACTIVE"
	ListLogsLifecycleStateUpdating ListLogsLifecycleStateEnum = "UPDATING"
	ListLogsLifecycleStateInactive ListLogsLifecycleStateEnum = "INACTIVE"
	ListLogsLifecycleStateDeleting ListLogsLifecycleStateEnum = "DELETING"
	ListLogsLifecycleStateFailed   ListLogsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListLogsLifecycleStateEnum

func GetListLogsLifecycleStateEnumValues

func GetListLogsLifecycleStateEnumValues() []ListLogsLifecycleStateEnum

GetListLogsLifecycleStateEnumValues Enumerates the set of values for ListLogsLifecycleStateEnum

func GetMappingListLogsLifecycleStateEnum

func GetMappingListLogsLifecycleStateEnum(val string) (ListLogsLifecycleStateEnum, bool)

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

type ListLogsLogTypeEnum

type ListLogsLogTypeEnum string

ListLogsLogTypeEnum Enum with underlying type: string

const (
	ListLogsLogTypeCustom  ListLogsLogTypeEnum = "CUSTOM"
	ListLogsLogTypeService ListLogsLogTypeEnum = "SERVICE"
)

Set of constants representing the allowable values for ListLogsLogTypeEnum

func GetListLogsLogTypeEnumValues

func GetListLogsLogTypeEnumValues() []ListLogsLogTypeEnum

GetListLogsLogTypeEnumValues Enumerates the set of values for ListLogsLogTypeEnum

func GetMappingListLogsLogTypeEnum

func GetMappingListLogsLogTypeEnum(val string) (ListLogsLogTypeEnum, bool)

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

type ListLogsRequest

type ListLogsRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// The logType that the log object is for, whether custom or service.
	LogType ListLogsLogTypeEnum `mandatory:"false" contributesTo:"query" name:"logType" omitEmpty:"true"`

	// Service that created the log object, which is a field of LogSummary.Configuration.Source.
	SourceService *string `mandatory:"false" contributesTo:"query" name:"sourceService"`

	// Log object resource, which is a field of LogSummary.Configuration.Source.
	SourceResource *string `mandatory:"false" contributesTo:"query" name:"sourceResource"`

	// Resource name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Lifecycle state of the log object
	LifecycleState ListLogsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The field to sort by (one column only). Default sort order is
	// ascending exception of `timeCreated` and `timeLastModified` columns (descending).
	SortBy ListLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, whether 'asc' or 'desc'.
	SortOrder ListLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ListLogsRequest wrapper for the ListLogs operation

See also

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

func (ListLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListLogsRequest) RetryPolicy

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

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

func (ListLogsRequest) String

func (request ListLogsRequest) String() string

func (ListLogsRequest) ValidateEnumValue

func (request ListLogsRequest) 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 ListLogsResponse

type ListLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []LogSummary instances
	Items []LogSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For list pagination. When this header appears in the response, previous pages
	// of results exist. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcPreviousPage *string `presentIn:"header" name:"opc-previous-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"`
}

ListLogsResponse wrapper for the ListLogs operation

func (ListLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListLogsResponse) String

func (response ListLogsResponse) String() string

type ListLogsSortByEnum

type ListLogsSortByEnum string

ListLogsSortByEnum Enum with underlying type: string

const (
	ListLogsSortByTimecreated ListLogsSortByEnum = "timeCreated"
	ListLogsSortByDisplayname ListLogsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListLogsSortByEnum

func GetListLogsSortByEnumValues

func GetListLogsSortByEnumValues() []ListLogsSortByEnum

GetListLogsSortByEnumValues Enumerates the set of values for ListLogsSortByEnum

func GetMappingListLogsSortByEnum

func GetMappingListLogsSortByEnum(val string) (ListLogsSortByEnum, bool)

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

type ListLogsSortOrderEnum

type ListLogsSortOrderEnum string

ListLogsSortOrderEnum Enum with underlying type: string

const (
	ListLogsSortOrderAsc  ListLogsSortOrderEnum = "ASC"
	ListLogsSortOrderDesc ListLogsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLogsSortOrderEnum

func GetListLogsSortOrderEnumValues

func GetListLogsSortOrderEnumValues() []ListLogsSortOrderEnum

GetListLogsSortOrderEnumValues Enumerates the set of values for ListLogsSortOrderEnum

func GetMappingListLogsSortOrderEnum

func GetMappingListLogsSortOrderEnum(val string) (ListLogsSortOrderEnum, bool)

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

type ListServicesRequest

type ListServicesRequest struct {

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ListServicesRequest wrapper for the ListServices operation

See also

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

func (ListServicesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListServicesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListServicesRequest) RetryPolicy

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

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

func (ListServicesRequest) String

func (request ListServicesRequest) String() string

func (ListServicesRequest) ValidateEnumValue

func (request ListServicesRequest) 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 ListServicesResponse

type ListServicesResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The []ServiceSummary instance
	Items []ServiceSummary `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 list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For list pagination. When this header appears in the response, previous pages
	// of results exist. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"`
}

ListServicesResponse wrapper for the ListServices operation

func (ListServicesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListServicesResponse) String

func (response ListServicesResponse) String() string

type ListUnifiedAgentConfigurationsLifecycleStateEnum

type ListUnifiedAgentConfigurationsLifecycleStateEnum string

ListUnifiedAgentConfigurationsLifecycleStateEnum Enum with underlying type: string

const (
	ListUnifiedAgentConfigurationsLifecycleStateCreating ListUnifiedAgentConfigurationsLifecycleStateEnum = "CREATING"
	ListUnifiedAgentConfigurationsLifecycleStateActive   ListUnifiedAgentConfigurationsLifecycleStateEnum = "ACTIVE"
	ListUnifiedAgentConfigurationsLifecycleStateUpdating ListUnifiedAgentConfigurationsLifecycleStateEnum = "UPDATING"
	ListUnifiedAgentConfigurationsLifecycleStateInactive ListUnifiedAgentConfigurationsLifecycleStateEnum = "INACTIVE"
	ListUnifiedAgentConfigurationsLifecycleStateDeleting ListUnifiedAgentConfigurationsLifecycleStateEnum = "DELETING"
	ListUnifiedAgentConfigurationsLifecycleStateFailed   ListUnifiedAgentConfigurationsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListUnifiedAgentConfigurationsLifecycleStateEnum

func GetListUnifiedAgentConfigurationsLifecycleStateEnumValues

func GetListUnifiedAgentConfigurationsLifecycleStateEnumValues() []ListUnifiedAgentConfigurationsLifecycleStateEnum

GetListUnifiedAgentConfigurationsLifecycleStateEnumValues Enumerates the set of values for ListUnifiedAgentConfigurationsLifecycleStateEnum

func GetMappingListUnifiedAgentConfigurationsLifecycleStateEnum

func GetMappingListUnifiedAgentConfigurationsLifecycleStateEnum(val string) (ListUnifiedAgentConfigurationsLifecycleStateEnum, bool)

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

type ListUnifiedAgentConfigurationsRequest

type ListUnifiedAgentConfigurationsRequest struct {

	// Compartment OCID to list resources in. See compartmentIdInSubtree
	//      for nested compartments traversal.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Custom log OCID to list resources with the log as destination.
	LogId *string `mandatory:"false" contributesTo:"query" name:"logId"`

	// Specifies whether or not nested compartments should be traversed. Defaults to false.
	IsCompartmentIdInSubtree *bool `mandatory:"false" contributesTo:"query" name:"isCompartmentIdInSubtree"`

	// The OCID of a group or a dynamic group.
	GroupId *string `mandatory:"false" contributesTo:"query" name:"groupId"`

	// Resource name.
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// Lifecycle state of the log object
	LifecycleState ListUnifiedAgentConfigurationsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

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

	// For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

	// The field to sort by (one column only). Default sort order is
	// ascending exception of `timeCreated` and `timeLastModified` columns (descending).
	SortBy ListUnifiedAgentConfigurationsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, whether 'asc' or 'desc'.
	SortOrder ListUnifiedAgentConfigurationsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

ListUnifiedAgentConfigurationsRequest wrapper for the ListUnifiedAgentConfigurations operation

See also

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

func (ListUnifiedAgentConfigurationsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListUnifiedAgentConfigurationsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListUnifiedAgentConfigurationsRequest) RetryPolicy

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

func (ListUnifiedAgentConfigurationsRequest) String

func (ListUnifiedAgentConfigurationsRequest) ValidateEnumValue

func (request ListUnifiedAgentConfigurationsRequest) 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 ListUnifiedAgentConfigurationsResponse

type ListUnifiedAgentConfigurationsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For list pagination. When this header appears in the response, previous pages
	// of results exist. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcPreviousPage *string `presentIn:"header" name:"opc-previous-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"`
}

ListUnifiedAgentConfigurationsResponse wrapper for the ListUnifiedAgentConfigurations operation

func (ListUnifiedAgentConfigurationsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListUnifiedAgentConfigurationsResponse) String

type ListUnifiedAgentConfigurationsSortByEnum

type ListUnifiedAgentConfigurationsSortByEnum string

ListUnifiedAgentConfigurationsSortByEnum Enum with underlying type: string

const (
	ListUnifiedAgentConfigurationsSortByTimecreated ListUnifiedAgentConfigurationsSortByEnum = "timeCreated"
	ListUnifiedAgentConfigurationsSortByDisplayname ListUnifiedAgentConfigurationsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListUnifiedAgentConfigurationsSortByEnum

func GetListUnifiedAgentConfigurationsSortByEnumValues

func GetListUnifiedAgentConfigurationsSortByEnumValues() []ListUnifiedAgentConfigurationsSortByEnum

GetListUnifiedAgentConfigurationsSortByEnumValues Enumerates the set of values for ListUnifiedAgentConfigurationsSortByEnum

func GetMappingListUnifiedAgentConfigurationsSortByEnum

func GetMappingListUnifiedAgentConfigurationsSortByEnum(val string) (ListUnifiedAgentConfigurationsSortByEnum, bool)

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

type ListUnifiedAgentConfigurationsSortOrderEnum

type ListUnifiedAgentConfigurationsSortOrderEnum string

ListUnifiedAgentConfigurationsSortOrderEnum Enum with underlying type: string

const (
	ListUnifiedAgentConfigurationsSortOrderAsc  ListUnifiedAgentConfigurationsSortOrderEnum = "ASC"
	ListUnifiedAgentConfigurationsSortOrderDesc ListUnifiedAgentConfigurationsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListUnifiedAgentConfigurationsSortOrderEnum

func GetListUnifiedAgentConfigurationsSortOrderEnumValues

func GetListUnifiedAgentConfigurationsSortOrderEnumValues() []ListUnifiedAgentConfigurationsSortOrderEnum

GetListUnifiedAgentConfigurationsSortOrderEnumValues Enumerates the set of values for ListUnifiedAgentConfigurationsSortOrderEnum

func GetMappingListUnifiedAgentConfigurationsSortOrderEnum

func GetMappingListUnifiedAgentConfigurationsSortOrderEnum(val string) (ListUnifiedAgentConfigurationsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

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

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

	// For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestError instances
	Items []WorkRequestError `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

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

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

	// For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestLog instances
	Items []WorkRequestLog `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

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

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// Compartment OCID to list resources in. See compartmentIdInSubtree
	//      for nested compartments traversal.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// Filter results by work request status.
	Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"`

	// <b>Filter</b> results by OCID (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.
	Id *string `mandatory:"false" contributesTo:"query" name:"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 `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

	// For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
	// For important details about how pagination works, see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Page *string `mandatory:"false" contributesTo:"query" name:"page"`

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

	// The sort order to use, whether 'asc' or 'desc'.
	SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order.
	SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []WorkRequestSummary instances
	Items []WorkRequestSummary `presentIn:"body"`

	// For list pagination. When this header appears in the response, additional pages
	// of results remain. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

	// For list pagination. When this header appears in the response, previous pages
	// of results exist. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	OpcPreviousPage *string `presentIn:"header" name:"opc-previous-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"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type ListWorkRequestsSortByEnum

type ListWorkRequestsSortByEnum string

ListWorkRequestsSortByEnum Enum with underlying type: string

const (
	ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType"
	ListWorkRequestsSortByStatus        ListWorkRequestsSortByEnum = "status"
	ListWorkRequestsSortByTimeaccepted  ListWorkRequestsSortByEnum = "timeAccepted"
)

Set of constants representing the allowable values for ListWorkRequestsSortByEnum

func GetListWorkRequestsSortByEnumValues

func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum

GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum

func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)

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

type ListWorkRequestsSortOrderEnum

type ListWorkRequestsSortOrderEnum string

ListWorkRequestsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum

func GetListWorkRequestsSortOrderEnumValues

func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum

GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum

func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)

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

type ListWorkRequestsStatusEnum

type ListWorkRequestsStatusEnum string

ListWorkRequestsStatusEnum Enum with underlying type: string

const (
	ListWorkRequestsStatusAccepted   ListWorkRequestsStatusEnum = "ACCEPTED"
	ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS"
	ListWorkRequestsStatusFailed     ListWorkRequestsStatusEnum = "FAILED"
	ListWorkRequestsStatusSucceeded  ListWorkRequestsStatusEnum = "SUCCEEDED"
	ListWorkRequestsStatusCancelling ListWorkRequestsStatusEnum = "CANCELLING"
	ListWorkRequestsStatusCanceled   ListWorkRequestsStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for ListWorkRequestsStatusEnum

func GetListWorkRequestsStatusEnumValues

func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum

GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum

func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)

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

type Log

type Log struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// Log group OCID.
	LogGroupId *string `mandatory:"true" json:"logGroupId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The logType that the log object is for, whether custom or service.
	LogType LogLogTypeEnum `mandatory:"true" json:"logType"`

	// The pipeline state.
	LifecycleState LogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The OCID of the tenancy.
	TenancyId *string `mandatory:"false" json:"tenancyId"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	Configuration *Configuration `mandatory:"false" json:"configuration"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`

	// Log retention duration in 30-day increments (30, 60, 90 and so on until 180).
	RetentionDuration *int `mandatory:"false" json:"retentionDuration"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

Log Represents a log object.

func (Log) String

func (m Log) String() string

func (Log) ValidateEnumValue

func (m Log) 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 LogGroup

type LogGroup struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// The log group object state.
	LifecycleState LogGroupLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`
}

LogGroup Represents a LogGroup object.

func (LogGroup) String

func (m LogGroup) String() string

func (LogGroup) ValidateEnumValue

func (m LogGroup) 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 LogGroupLifecycleStateEnum

type LogGroupLifecycleStateEnum string

LogGroupLifecycleStateEnum Enum with underlying type: string

const (
	LogGroupLifecycleStateCreating LogGroupLifecycleStateEnum = "CREATING"
	LogGroupLifecycleStateActive   LogGroupLifecycleStateEnum = "ACTIVE"
	LogGroupLifecycleStateUpdating LogGroupLifecycleStateEnum = "UPDATING"
	LogGroupLifecycleStateInactive LogGroupLifecycleStateEnum = "INACTIVE"
	LogGroupLifecycleStateDeleting LogGroupLifecycleStateEnum = "DELETING"
	LogGroupLifecycleStateFailed   LogGroupLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LogGroupLifecycleStateEnum

func GetLogGroupLifecycleStateEnumValues

func GetLogGroupLifecycleStateEnumValues() []LogGroupLifecycleStateEnum

GetLogGroupLifecycleStateEnumValues Enumerates the set of values for LogGroupLifecycleStateEnum

func GetMappingLogGroupLifecycleStateEnum

func GetMappingLogGroupLifecycleStateEnum(val string) (LogGroupLifecycleStateEnum, bool)

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

type LogGroupSummary

type LogGroupSummary struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`

	// The log group object state.
	LifecycleState LogGroupLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

LogGroupSummary Log group configuration summary.

func (LogGroupSummary) String

func (m LogGroupSummary) String() string

func (LogGroupSummary) ValidateEnumValue

func (m LogGroupSummary) 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 LogLifecycleStateEnum

type LogLifecycleStateEnum string

LogLifecycleStateEnum Enum with underlying type: string

const (
	LogLifecycleStateCreating LogLifecycleStateEnum = "CREATING"
	LogLifecycleStateActive   LogLifecycleStateEnum = "ACTIVE"
	LogLifecycleStateUpdating LogLifecycleStateEnum = "UPDATING"
	LogLifecycleStateInactive LogLifecycleStateEnum = "INACTIVE"
	LogLifecycleStateDeleting LogLifecycleStateEnum = "DELETING"
	LogLifecycleStateFailed   LogLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LogLifecycleStateEnum

func GetLogLifecycleStateEnumValues

func GetLogLifecycleStateEnumValues() []LogLifecycleStateEnum

GetLogLifecycleStateEnumValues Enumerates the set of values for LogLifecycleStateEnum

func GetMappingLogLifecycleStateEnum

func GetMappingLogLifecycleStateEnum(val string) (LogLifecycleStateEnum, bool)

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

type LogLogTypeEnum

type LogLogTypeEnum string

LogLogTypeEnum Enum with underlying type: string

const (
	LogLogTypeCustom  LogLogTypeEnum = "CUSTOM"
	LogLogTypeService LogLogTypeEnum = "SERVICE"
)

Set of constants representing the allowable values for LogLogTypeEnum

func GetLogLogTypeEnumValues

func GetLogLogTypeEnumValues() []LogLogTypeEnum

GetLogLogTypeEnumValues Enumerates the set of values for LogLogTypeEnum

func GetMappingLogLogTypeEnum

func GetMappingLogLogTypeEnum(val string) (LogLogTypeEnum, bool)

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

type LogSavedSearch

type LogSavedSearch struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	Name *string `mandatory:"true" json:"name"`

	// The search query that is saved.
	Query *string `mandatory:"true" json:"query"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The state of the LogSavedSearch
	LifecycleState LogSavedSearchLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

LogSavedSearch A LogSavedSearch that can be used to save and share a given search result.

func (LogSavedSearch) String

func (m LogSavedSearch) String() string

func (LogSavedSearch) ValidateEnumValue

func (m LogSavedSearch) 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 LogSavedSearchLifecycleStateEnum

type LogSavedSearchLifecycleStateEnum string

LogSavedSearchLifecycleStateEnum Enum with underlying type: string

const (
	LogSavedSearchLifecycleStateCreating LogSavedSearchLifecycleStateEnum = "CREATING"
	LogSavedSearchLifecycleStateActive   LogSavedSearchLifecycleStateEnum = "ACTIVE"
	LogSavedSearchLifecycleStateUpdating LogSavedSearchLifecycleStateEnum = "UPDATING"
	LogSavedSearchLifecycleStateInactive LogSavedSearchLifecycleStateEnum = "INACTIVE"
	LogSavedSearchLifecycleStateDeleting LogSavedSearchLifecycleStateEnum = "DELETING"
	LogSavedSearchLifecycleStateFailed   LogSavedSearchLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LogSavedSearchLifecycleStateEnum

func GetLogSavedSearchLifecycleStateEnumValues

func GetLogSavedSearchLifecycleStateEnumValues() []LogSavedSearchLifecycleStateEnum

GetLogSavedSearchLifecycleStateEnumValues Enumerates the set of values for LogSavedSearchLifecycleStateEnum

func GetMappingLogSavedSearchLifecycleStateEnum

func GetMappingLogSavedSearchLifecycleStateEnum(val string) (LogSavedSearchLifecycleStateEnum, bool)

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

type LogSavedSearchSummary

type LogSavedSearchSummary struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	Name *string `mandatory:"true" json:"name"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// The search query that is saved.
	Query *string `mandatory:"false" json:"query"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// The state of the LogSavedSearch
	LifecycleState LogSavedSearchLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
}

LogSavedSearchSummary A summary of a LogSavedSearch that can be used to save and share a given search result.

func (LogSavedSearchSummary) String

func (m LogSavedSearchSummary) String() string

func (LogSavedSearchSummary) ValidateEnumValue

func (m LogSavedSearchSummary) 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 LogSavedSearchSummaryCollection

type LogSavedSearchSummaryCollection struct {

	// The Saved Seach Summaries
	Items []LogSavedSearchSummary `mandatory:"true" json:"items"`
}

LogSavedSearchSummaryCollection A collection of LogSavedSearchSummary items.

func (LogSavedSearchSummaryCollection) String

func (LogSavedSearchSummaryCollection) ValidateEnumValue

func (m LogSavedSearchSummaryCollection) 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 LogSummary

type LogSummary struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// Log group OCID.
	LogGroupId *string `mandatory:"true" json:"logGroupId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The pipeline state.
	LifecycleState LogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The logType that the log object is for, whether custom or service.
	LogType LogSummaryLogTypeEnum `mandatory:"true" json:"logType"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	Configuration *Configuration `mandatory:"false" json:"configuration"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`

	// Log retention duration in 30-day increments (30, 60, 90 and so on until 180).
	RetentionDuration *int `mandatory:"false" json:"retentionDuration"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`
}

LogSummary Log object configuration summary.

func (LogSummary) String

func (m LogSummary) String() string

func (LogSummary) ValidateEnumValue

func (m LogSummary) 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 LogSummaryLogTypeEnum

type LogSummaryLogTypeEnum string

LogSummaryLogTypeEnum Enum with underlying type: string

const (
	LogSummaryLogTypeCustom  LogSummaryLogTypeEnum = "CUSTOM"
	LogSummaryLogTypeService LogSummaryLogTypeEnum = "SERVICE"
)

Set of constants representing the allowable values for LogSummaryLogTypeEnum

func GetLogSummaryLogTypeEnumValues

func GetLogSummaryLogTypeEnumValues() []LogSummaryLogTypeEnum

GetLogSummaryLogTypeEnumValues Enumerates the set of values for LogSummaryLogTypeEnum

func GetMappingLogSummaryLogTypeEnum

func GetMappingLogSummaryLogTypeEnum(val string) (LogSummaryLogTypeEnum, bool)

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

type LoggingManagementClient

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

LoggingManagementClient a client for LoggingManagement

func NewLoggingManagementClientWithConfigurationProvider

func NewLoggingManagementClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client LoggingManagementClient, err error)

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

func NewLoggingManagementClientWithOboToken

func NewLoggingManagementClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client LoggingManagementClient, err error)

NewLoggingManagementClientWithOboToken Creates a new default LoggingManagement 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 (LoggingManagementClient) ChangeLogGroupCompartment

func (client LoggingManagementClient) ChangeLogGroupCompartment(ctx context.Context, request ChangeLogGroupCompartmentRequest) (response ChangeLogGroupCompartmentResponse, err error)

ChangeLogGroupCompartment Moves a log group into a different compartment within the same tenancy. When provided, the If-Match is checked against the resource ETag values. For information about moving resources between compartments, see Moving Resources Between Compartments (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

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

func (LoggingManagementClient) ChangeLogLogGroup

func (client LoggingManagementClient) ChangeLogLogGroup(ctx context.Context, request ChangeLogLogGroupRequest) (response ChangeLogLogGroupResponse, err error)

ChangeLogLogGroup Moves a log into a different log group within the same tenancy. When provided, the If-Match is checked against the ETag values of the resource.

See also

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

func (LoggingManagementClient) ChangeLogSavedSearchCompartment

func (client LoggingManagementClient) ChangeLogSavedSearchCompartment(ctx context.Context, request ChangeLogSavedSearchCompartmentRequest) (response ChangeLogSavedSearchCompartmentResponse, err error)

ChangeLogSavedSearchCompartment Moves a saved search into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

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

func (LoggingManagementClient) ChangeUnifiedAgentConfigurationCompartment

func (client LoggingManagementClient) ChangeUnifiedAgentConfigurationCompartment(ctx context.Context, request ChangeUnifiedAgentConfigurationCompartmentRequest) (response ChangeUnifiedAgentConfigurationCompartmentResponse, err error)

ChangeUnifiedAgentConfigurationCompartment Moves the unified agent configuration into a different compartment within the same tenancy. When provided, the If-Match is checked against the ETag values of the resource. For information about moving resources between compartments, see Moving Resources Between Compartments (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes).

See also

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

func (*LoggingManagementClient) ConfigurationProvider

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

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

func (LoggingManagementClient) CreateLog

func (client LoggingManagementClient) CreateLog(ctx context.Context, request CreateLogRequest) (response CreateLogResponse, err error)

CreateLog Creates a log within the specified log group. This call fails if a log group has already been created with the same displayName or (service, resource, category) triplet.

See also

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

func (LoggingManagementClient) CreateLogGroup

func (client LoggingManagementClient) CreateLogGroup(ctx context.Context, request CreateLogGroupRequest) (response CreateLogGroupResponse, err error)

CreateLogGroup Create a new log group with a unique display name. This call fails if the log group is already created with the same displayName in the compartment.

See also

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

func (LoggingManagementClient) CreateLogSavedSearch

func (client LoggingManagementClient) CreateLogSavedSearch(ctx context.Context, request CreateLogSavedSearchRequest) (response CreateLogSavedSearchResponse, err error)

CreateLogSavedSearch Creates a new LogSavedSearch.

See also

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

func (LoggingManagementClient) CreateUnifiedAgentConfiguration

func (client LoggingManagementClient) CreateUnifiedAgentConfiguration(ctx context.Context, request CreateUnifiedAgentConfigurationRequest) (response CreateUnifiedAgentConfigurationResponse, err error)

CreateUnifiedAgentConfiguration Create unified agent configuration registration.

See also

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

func (LoggingManagementClient) DeleteLog

func (client LoggingManagementClient) DeleteLog(ctx context.Context, request DeleteLogRequest) (response DeleteLogResponse, err error)

DeleteLog Deletes the log object in a log group.

See also

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

func (LoggingManagementClient) DeleteLogGroup

func (client LoggingManagementClient) DeleteLogGroup(ctx context.Context, request DeleteLogGroupRequest) (response DeleteLogGroupResponse, err error)

DeleteLogGroup Deletes the specified log group.

See also

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

func (LoggingManagementClient) DeleteLogSavedSearch

func (client LoggingManagementClient) DeleteLogSavedSearch(ctx context.Context, request DeleteLogSavedSearchRequest) (response DeleteLogSavedSearchResponse, err error)

DeleteLogSavedSearch Deletes the specified LogSavedSearch.

See also

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

func (LoggingManagementClient) DeleteUnifiedAgentConfiguration

func (client LoggingManagementClient) DeleteUnifiedAgentConfiguration(ctx context.Context, request DeleteUnifiedAgentConfigurationRequest) (response DeleteUnifiedAgentConfigurationResponse, err error)

DeleteUnifiedAgentConfiguration Delete unified agent configuration.

See also

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

func (LoggingManagementClient) DeleteWorkRequest

func (client LoggingManagementClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)

DeleteWorkRequest Cancel a work request that has not started yet.

See also

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

func (LoggingManagementClient) GetLog

func (client LoggingManagementClient) GetLog(ctx context.Context, request GetLogRequest) (response GetLogResponse, err error)

GetLog Gets the log object configuration for the log object OCID.

See also

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

func (LoggingManagementClient) GetLogGroup

func (client LoggingManagementClient) GetLogGroup(ctx context.Context, request GetLogGroupRequest) (response GetLogGroupResponse, err error)

GetLogGroup Get the specified log group's information.

See also

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

func (LoggingManagementClient) GetLogSavedSearch

func (client LoggingManagementClient) GetLogSavedSearch(ctx context.Context, request GetLogSavedSearchRequest) (response GetLogSavedSearchResponse, err error)

GetLogSavedSearch Retrieves a LogSavedSearch.

See also

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

func (LoggingManagementClient) GetUnifiedAgentConfiguration

func (client LoggingManagementClient) GetUnifiedAgentConfiguration(ctx context.Context, request GetUnifiedAgentConfigurationRequest) (response GetUnifiedAgentConfigurationResponse, err error)

GetUnifiedAgentConfiguration Get the unified agent configuration for an ID.

See also

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

func (LoggingManagementClient) GetWorkRequest

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

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

See also

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

func (LoggingManagementClient) ListLogGroups

func (client LoggingManagementClient) ListLogGroups(ctx context.Context, request ListLogGroupsRequest) (response ListLogGroupsResponse, err error)

ListLogGroups Lists all log groups for the specified compartment or tenancy.

See also

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

func (LoggingManagementClient) ListLogSavedSearches

func (client LoggingManagementClient) ListLogSavedSearches(ctx context.Context, request ListLogSavedSearchesRequest) (response ListLogSavedSearchesResponse, err error)

ListLogSavedSearches Lists LogSavedSearches for this compartment.

See also

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

func (LoggingManagementClient) ListLogs

func (client LoggingManagementClient) ListLogs(ctx context.Context, request ListLogsRequest) (response ListLogsResponse, err error)

ListLogs Lists the specified log group's log objects.

See also

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

func (LoggingManagementClient) ListServices

func (client LoggingManagementClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error)

ListServices Lists all services that support logging.

See also

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

func (LoggingManagementClient) ListUnifiedAgentConfigurations

func (client LoggingManagementClient) ListUnifiedAgentConfigurations(ctx context.Context, request ListUnifiedAgentConfigurationsRequest) (response ListUnifiedAgentConfigurationsResponse, err error)

ListUnifiedAgentConfigurations Lists all unified agent configurations in the specified compartment.

See also

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

func (LoggingManagementClient) ListWorkRequestErrors

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

ListWorkRequestErrors Return a list of errors for a given work request.

See also

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

func (LoggingManagementClient) ListWorkRequestLogs

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

ListWorkRequestLogs Return a list of logs for a given work request.

See also

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

func (LoggingManagementClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in a compartment.

See also

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

func (*LoggingManagementClient) SetRegion

func (client *LoggingManagementClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (LoggingManagementClient) UpdateLog

func (client LoggingManagementClient) UpdateLog(ctx context.Context, request UpdateLogRequest) (response UpdateLogResponse, err error)

UpdateLog Updates the existing log object with the associated configuration. This call

fails if the log object does not exist.

See also

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

func (LoggingManagementClient) UpdateLogGroup

func (client LoggingManagementClient) UpdateLogGroup(ctx context.Context, request UpdateLogGroupRequest) (response UpdateLogGroupResponse, err error)

UpdateLogGroup Updates the existing log group with the associated configuration. This call

fails if the log group does not exist.

See also

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

func (LoggingManagementClient) UpdateLogSavedSearch

func (client LoggingManagementClient) UpdateLogSavedSearch(ctx context.Context, request UpdateLogSavedSearchRequest) (response UpdateLogSavedSearchResponse, err error)

UpdateLogSavedSearch Updates an existing LogSavedSearch.

See also

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

func (LoggingManagementClient) UpdateUnifiedAgentConfiguration

func (client LoggingManagementClient) UpdateUnifiedAgentConfiguration(ctx context.Context, request UpdateUnifiedAgentConfigurationRequest) (response UpdateUnifiedAgentConfigurationResponse, err error)

UpdateUnifiedAgentConfiguration Update an existing unified agent configuration. This call

fails if the log group does not exist.

See also

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

type OciService

type OciService struct {

	// Service generating log.
	Service *string `mandatory:"true" json:"service"`

	// The unique identifier of the resource emitting the log.
	Resource *string `mandatory:"true" json:"resource"`

	// Log object category.
	Category *string `mandatory:"true" json:"category"`

	// Log category parameters are stored here.
	Parameters map[string]string `mandatory:"false" json:"parameters"`
}

OciService OCI service logging configuration.

func (OciService) MarshalJSON

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

MarshalJSON marshals to json representation

func (OciService) String

func (m OciService) String() string

func (OciService) ValidateEnumValue

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

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

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

const (
	OperationStatusAccepted   OperationStatusEnum = "ACCEPTED"
	OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS"
	OperationStatusFailed     OperationStatusEnum = "FAILED"
	OperationStatusSucceeded  OperationStatusEnum = "SUCCEEDED"
	OperationStatusCancelling OperationStatusEnum = "CANCELLING"
	OperationStatusCanceled   OperationStatusEnum = "CANCELED"
)

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypesEnum

type OperationTypesEnum string

OperationTypesEnum Enum with underlying type: string

const (
	OperationTypesCreateLog           OperationTypesEnum = "CREATE_LOG"
	OperationTypesUpdateLog           OperationTypesEnum = "UPDATE_LOG"
	OperationTypesDeleteLog           OperationTypesEnum = "DELETE_LOG"
	OperationTypesMoveLog             OperationTypesEnum = "MOVE_LOG"
	OperationTypesCreateLogGroup      OperationTypesEnum = "CREATE_LOG_GROUP"
	OperationTypesUpdateLogGroup      OperationTypesEnum = "UPDATE_LOG_GROUP"
	OperationTypesDeleteLogGroup      OperationTypesEnum = "DELETE_LOG_GROUP"
	OperationTypesMoveLogGroup        OperationTypesEnum = "MOVE_LOG_GROUP"
	OperationTypesCreateConfiguration OperationTypesEnum = "CREATE_CONFIGURATION"
	OperationTypesUpdateConfiguration OperationTypesEnum = "UPDATE_CONFIGURATION"
	OperationTypesDeleteConfiguration OperationTypesEnum = "DELETE_CONFIGURATION"
	OperationTypesMoveConfiguration   OperationTypesEnum = "MOVE_CONFIGURATION"
)

Set of constants representing the allowable values for OperationTypesEnum

func GetMappingOperationTypesEnum

func GetMappingOperationTypesEnum(val string) (OperationTypesEnum, bool)

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

func GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type OperationalMetricsConfiguration added in v65.50.0

type OperationalMetricsConfiguration struct {
	Source *OperationalMetricsSource `mandatory:"true" json:"source"`

	Destination *OperationalMetricsDestination `mandatory:"true" json:"destination"`
}

OperationalMetricsConfiguration Unified monitoring agent operational metrics configuration object.

func (OperationalMetricsConfiguration) String added in v65.50.0

func (OperationalMetricsConfiguration) ValidateEnumValue added in v65.50.0

func (m OperationalMetricsConfiguration) 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 OperationalMetricsDestination added in v65.50.0

type OperationalMetricsDestination struct {

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

OperationalMetricsDestination Unified monitoring agent operational metrics destination object.

func (OperationalMetricsDestination) String added in v65.50.0

func (OperationalMetricsDestination) ValidateEnumValue added in v65.50.0

func (m OperationalMetricsDestination) 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 OperationalMetricsRecordInput added in v65.50.0

type OperationalMetricsRecordInput struct {

	// Namespace to emit the operational metrics.
	Namespace *string `mandatory:"true" json:"namespace"`

	// Resource group to emit the operational metrics.
	ResourceGroup *string `mandatory:"false" json:"resourceGroup"`
}

OperationalMetricsRecordInput Record section of OperationalMetricsSource object.

func (OperationalMetricsRecordInput) String added in v65.50.0

func (OperationalMetricsRecordInput) ValidateEnumValue added in v65.50.0

func (m OperationalMetricsRecordInput) 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 OperationalMetricsSource added in v65.50.0

type OperationalMetricsSource struct {

	// Type of the unified monitoring agent operational metrics source object.
	Type OperationalMetricsSourceTypeEnum `mandatory:"true" json:"type"`

	RecordInput *OperationalMetricsRecordInput `mandatory:"true" json:"recordInput"`

	// List of unified monitoring agent operational metrics.
	Metrics []string `mandatory:"false" json:"metrics"`
}

OperationalMetricsSource Unified monitoring agent operational metrics source object.

func (OperationalMetricsSource) String added in v65.50.0

func (m OperationalMetricsSource) String() string

func (OperationalMetricsSource) ValidateEnumValue added in v65.50.0

func (m OperationalMetricsSource) 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 OperationalMetricsSourceTypeEnum added in v65.50.0

type OperationalMetricsSourceTypeEnum string

OperationalMetricsSourceTypeEnum Enum with underlying type: string

const (
	OperationalMetricsSourceTypeUmaMetrics OperationalMetricsSourceTypeEnum = "UMA_METRICS"
)

Set of constants representing the allowable values for OperationalMetricsSourceTypeEnum

func GetMappingOperationalMetricsSourceTypeEnum added in v65.50.0

func GetMappingOperationalMetricsSourceTypeEnum(val string) (OperationalMetricsSourceTypeEnum, bool)

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

func GetOperationalMetricsSourceTypeEnumValues added in v65.50.0

func GetOperationalMetricsSourceTypeEnumValues() []OperationalMetricsSourceTypeEnum

GetOperationalMetricsSourceTypeEnumValues Enumerates the set of values for OperationalMetricsSourceTypeEnum

type Parameter

type Parameter struct {

	// Parameter name.
	Name *string `mandatory:"true" json:"name"`

	Type ParameterTypeEnum `mandatory:"true" json:"type"`

	// Java regex pattern to validate a parameter value.
	Pattern *string `mandatory:"false" json:"pattern"`
}

Parameter Parameters that a resource category supports.

func (Parameter) String

func (m Parameter) String() string

func (Parameter) ValidateEnumValue

func (m Parameter) 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 ParameterTypeEnum

type ParameterTypeEnum string

ParameterTypeEnum Enum with underlying type: string

const (
	ParameterTypeInteger ParameterTypeEnum = "integer"
	ParameterTypeString  ParameterTypeEnum = "string"
	ParameterTypeBoolean ParameterTypeEnum = "boolean"
)

Set of constants representing the allowable values for ParameterTypeEnum

func GetMappingParameterTypeEnum

func GetMappingParameterTypeEnum(val string) (ParameterTypeEnum, bool)

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

func GetParameterTypeEnumValues

func GetParameterTypeEnumValues() []ParameterTypeEnum

GetParameterTypeEnumValues Enumerates the set of values for ParameterTypeEnum

type RecordTransformerPair added in v65.62.0

type RecordTransformerPair struct {

	// A new key
	Key *string `mandatory:"false" json:"key"`

	// A new value
	Value *string `mandatory:"false" json:"value"`
}

RecordTransformerPair A new Key-value pairs added in logs

func (RecordTransformerPair) String added in v65.62.0

func (m RecordTransformerPair) String() string

func (RecordTransformerPair) ValidateEnumValue added in v65.62.0

func (m RecordTransformerPair) 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 ResourceType

type ResourceType struct {

	// Resource type name.
	Name *string `mandatory:"false" json:"name"`

	// Categories for resources.
	Categories []Category `mandatory:"false" json:"categories"`
}

ResourceType Type of resource that a service provides.

func (ResourceType) String

func (m ResourceType) String() string

func (ResourceType) ValidateEnumValue

func (m ResourceType) 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 ServiceSummary

type ServiceSummary struct {

	// Tenant OCID.
	TenantId *string `mandatory:"true" json:"tenantId"`

	// Service ID as set in Service Principal.
	ServicePrincipalName *string `mandatory:"true" json:"servicePrincipalName"`

	// Service endpoint.
	Endpoint *string `mandatory:"true" json:"endpoint"`

	// User-friendly service name.
	Name *string `mandatory:"true" json:"name"`

	// Type of resource that a service provides.
	ResourceTypes []ResourceType `mandatory:"true" json:"resourceTypes"`

	// Apollo project namespace, if any.
	Namespace *string `mandatory:"false" json:"namespace"`

	// Service ID.
	Id *string `mandatory:"false" json:"id"`
}

ServiceSummary Summary of services that are integrated with public logging.

func (ServiceSummary) String

func (m ServiceSummary) String() string

func (ServiceSummary) ValidateEnumValue

func (m ServiceSummary) 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 Source

type Source interface {
}

Source The source the log object comes from.

type SourceSourceTypeEnum

type SourceSourceTypeEnum string

SourceSourceTypeEnum Enum with underlying type: string

const (
	SourceSourceTypeOciservice SourceSourceTypeEnum = "OCISERVICE"
)

Set of constants representing the allowable values for SourceSourceTypeEnum

func GetMappingSourceSourceTypeEnum

func GetMappingSourceSourceTypeEnum(val string) (SourceSourceTypeEnum, bool)

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

func GetSourceSourceTypeEnumValues

func GetSourceSourceTypeEnumValues() []SourceSourceTypeEnum

GetSourceSourceTypeEnumValues Enumerates the set of values for SourceSourceTypeEnum

type SourceUpdateDetails

type SourceUpdateDetails struct {

	// Log category parameters are stored here.
	Parameters map[string]string `mandatory:"false" json:"parameters"`
}

SourceUpdateDetails Source updated configuration.

func (SourceUpdateDetails) String

func (m SourceUpdateDetails) String() string

func (SourceUpdateDetails) ValidateEnumValue

func (m SourceUpdateDetails) 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 UnifiedAgentApache2Parser

type UnifiedAgentApache2Parser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`
}

UnifiedAgentApache2Parser Apache 2 log parser.

func (UnifiedAgentApache2Parser) GetFieldTimeKey

func (m UnifiedAgentApache2Parser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentApache2Parser) GetIsEstimateCurrentEvent

func (m UnifiedAgentApache2Parser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentApache2Parser) GetIsKeepTimeKey

func (m UnifiedAgentApache2Parser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentApache2Parser) GetIsNullEmptyString

func (m UnifiedAgentApache2Parser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentApache2Parser) GetNullValuePattern

func (m UnifiedAgentApache2Parser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentApache2Parser) GetTimeoutInMilliseconds

func (m UnifiedAgentApache2Parser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentApache2Parser) GetTypes

func (m UnifiedAgentApache2Parser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentApache2Parser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentApache2Parser) String

func (m UnifiedAgentApache2Parser) String() string

func (UnifiedAgentApache2Parser) ValidateEnumValue

func (m UnifiedAgentApache2Parser) 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 UnifiedAgentApacheErrorParser

type UnifiedAgentApacheErrorParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`
}

UnifiedAgentApacheErrorParser Apache error log parser.

func (UnifiedAgentApacheErrorParser) GetFieldTimeKey

func (m UnifiedAgentApacheErrorParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentApacheErrorParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentApacheErrorParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentApacheErrorParser) GetIsKeepTimeKey

func (m UnifiedAgentApacheErrorParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentApacheErrorParser) GetIsNullEmptyString

func (m UnifiedAgentApacheErrorParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentApacheErrorParser) GetNullValuePattern

func (m UnifiedAgentApacheErrorParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentApacheErrorParser) GetTimeoutInMilliseconds

func (m UnifiedAgentApacheErrorParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentApacheErrorParser) GetTypes

func (m UnifiedAgentApacheErrorParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentApacheErrorParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentApacheErrorParser) String

func (UnifiedAgentApacheErrorParser) ValidateEnumValue

func (m UnifiedAgentApacheErrorParser) 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 UnifiedAgentAuditdParser

type UnifiedAgentAuditdParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`
}

UnifiedAgentAuditdParser auditd parser.

func (UnifiedAgentAuditdParser) GetFieldTimeKey

func (m UnifiedAgentAuditdParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentAuditdParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentAuditdParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentAuditdParser) GetIsKeepTimeKey

func (m UnifiedAgentAuditdParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentAuditdParser) GetIsNullEmptyString

func (m UnifiedAgentAuditdParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentAuditdParser) GetNullValuePattern

func (m UnifiedAgentAuditdParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentAuditdParser) GetTimeoutInMilliseconds

func (m UnifiedAgentAuditdParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentAuditdParser) GetTypes

func (m UnifiedAgentAuditdParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentAuditdParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentAuditdParser) String

func (m UnifiedAgentAuditdParser) String() string

func (UnifiedAgentAuditdParser) ValidateEnumValue

func (m UnifiedAgentAuditdParser) 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 UnifiedAgentConfiguration

type UnifiedAgentConfiguration struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The pipeline state.
	LifecycleState LogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// State of unified agent service configuration.
	ConfigurationState UnifiedAgentServiceConfigurationStatesEnum `mandatory:"true" json:"configurationState"`

	ServiceConfiguration UnifiedAgentServiceConfigurationDetails `mandatory:"true" json:"serviceConfiguration"`

	GroupAssociation *GroupAssociationDetails `mandatory:"true" json:"groupAssociation"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`
}

UnifiedAgentConfiguration Top Unified Agent configuration object.

func (UnifiedAgentConfiguration) String

func (m UnifiedAgentConfiguration) String() string

func (*UnifiedAgentConfiguration) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UnifiedAgentConfiguration) ValidateEnumValue

func (m UnifiedAgentConfiguration) 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 UnifiedAgentConfigurationCollection

type UnifiedAgentConfigurationCollection struct {

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

UnifiedAgentConfigurationCollection Results of a UnifiedAgentConfiguration search. Contains UnifiedAgentConfigurationSummary items.

func (UnifiedAgentConfigurationCollection) String

func (UnifiedAgentConfigurationCollection) ValidateEnumValue

func (m UnifiedAgentConfigurationCollection) 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 UnifiedAgentConfigurationSummary

type UnifiedAgentConfigurationSummary struct {

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The pipeline state.
	LifecycleState LogLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	// Type of Unified Agent service configuration.
	ConfigurationType UnifiedAgentServiceConfigurationTypesEnum `mandatory:"true" json:"configurationType"`

	// State of unified agent service configuration.
	ConfigurationState UnifiedAgentServiceConfigurationStatesEnum `mandatory:"true" json:"configurationState"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Time the resource was created.
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// Time the resource was last modified.
	TimeLastModified *common.SDKTime `mandatory:"false" json:"timeLastModified"`
}

UnifiedAgentConfigurationSummary Unified Agent configuration summary object returned by the list API.

func (UnifiedAgentConfigurationSummary) String

func (UnifiedAgentConfigurationSummary) ValidateEnumValue

func (m UnifiedAgentConfigurationSummary) 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 UnifiedAgentCriParser added in v65.39.0

type UnifiedAgentCriParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// If you don't need stream or logtag fields, set this to false.
	IsMergeCriFields *bool `mandatory:"false" json:"isMergeCriFields"`

	// Optional nested JSON Parser for CRI. Supported fields are fieldTimeKey, timeFormat, and isKeepTimeKey.
	NestedParser *UnifiedJsonParser `mandatory:"false" json:"nestedParser"`
}

UnifiedAgentCriParser CRI parser.

func (UnifiedAgentCriParser) GetFieldTimeKey added in v65.39.0

func (m UnifiedAgentCriParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentCriParser) GetIsEstimateCurrentEvent added in v65.39.0

func (m UnifiedAgentCriParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentCriParser) GetIsKeepTimeKey added in v65.39.0

func (m UnifiedAgentCriParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentCriParser) GetIsNullEmptyString added in v65.39.0

func (m UnifiedAgentCriParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentCriParser) GetNullValuePattern added in v65.39.0

func (m UnifiedAgentCriParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentCriParser) GetTimeoutInMilliseconds added in v65.39.0

func (m UnifiedAgentCriParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentCriParser) GetTypes added in v65.39.0

func (m UnifiedAgentCriParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentCriParser) MarshalJSON added in v65.39.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentCriParser) String added in v65.39.0

func (m UnifiedAgentCriParser) String() string

func (UnifiedAgentCriParser) ValidateEnumValue added in v65.39.0

func (m UnifiedAgentCriParser) 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 UnifiedAgentCsvParser

type UnifiedAgentCsvParser struct {

	// CSV keys.
	Keys []string `mandatory:"true" json:"keys"`

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// CSV delimiter.
	Delimiter *string `mandatory:"false" json:"delimiter"`
}

UnifiedAgentCsvParser CSV Parser.

func (UnifiedAgentCsvParser) GetFieldTimeKey

func (m UnifiedAgentCsvParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentCsvParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentCsvParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentCsvParser) GetIsKeepTimeKey

func (m UnifiedAgentCsvParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentCsvParser) GetIsNullEmptyString

func (m UnifiedAgentCsvParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentCsvParser) GetNullValuePattern

func (m UnifiedAgentCsvParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentCsvParser) GetTimeoutInMilliseconds

func (m UnifiedAgentCsvParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentCsvParser) GetTypes

func (m UnifiedAgentCsvParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentCsvParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentCsvParser) String

func (m UnifiedAgentCsvParser) String() string

func (UnifiedAgentCsvParser) ValidateEnumValue

func (m UnifiedAgentCsvParser) 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 UnifiedAgentCustomFilter added in v65.62.0

type UnifiedAgentCustomFilter struct {

	// Unique name for the filter.
	Name *string `mandatory:"true" json:"name"`

	// Type of the custom filter
	CustomFilterType *string `mandatory:"true" json:"customFilterType"`

	// Parameters of the custom filter
	Params map[string]string `mandatory:"false" json:"params"`

	// List of custom sections in custom filter
	CustomSections []UnifiedAgentCustomSection `mandatory:"false" json:"customSections"`
}

UnifiedAgentCustomFilter Logging custom filter plugin.

func (UnifiedAgentCustomFilter) GetName added in v65.62.0

func (m UnifiedAgentCustomFilter) GetName() *string

GetName returns Name

func (UnifiedAgentCustomFilter) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentCustomFilter) String added in v65.62.0

func (m UnifiedAgentCustomFilter) String() string

func (UnifiedAgentCustomFilter) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentCustomFilter) 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 UnifiedAgentCustomPluginLogSource added in v65.62.0

type UnifiedAgentCustomPluginLogSource struct {

	// Unique name for the source.
	Name *string `mandatory:"true" json:"name"`

	// User customized source plugin.
	CustomPlugin *string `mandatory:"true" json:"customPlugin"`
}

UnifiedAgentCustomPluginLogSource User-customized-source-plugin log source object.

func (UnifiedAgentCustomPluginLogSource) GetName added in v65.62.0

GetName returns Name

func (UnifiedAgentCustomPluginLogSource) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentCustomPluginLogSource) String added in v65.62.0

func (UnifiedAgentCustomPluginLogSource) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentCustomPluginLogSource) 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 UnifiedAgentCustomSection added in v65.62.0

type UnifiedAgentCustomSection struct {

	// The name of the custom section
	Name *string `mandatory:"false" json:"name"`

	// Parameters in the custom section
	Params map[string]string `mandatory:"false" json:"params"`
}

UnifiedAgentCustomSection Custom section in custom filter

func (UnifiedAgentCustomSection) String added in v65.62.0

func (m UnifiedAgentCustomSection) String() string

func (UnifiedAgentCustomSection) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentCustomSection) 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 UnifiedAgentGrokParser

type UnifiedAgentGrokParser struct {

	// Grok pattern object.
	Patterns []GrokPattern `mandatory:"true" json:"patterns"`

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// Grok name key.
	GrokNameKey *string `mandatory:"false" json:"grokNameKey"`

	// Grok failure key.
	GrokFailureKey *string `mandatory:"false" json:"grokFailureKey"`
}

UnifiedAgentGrokParser Grok parser.

func (UnifiedAgentGrokParser) GetFieldTimeKey

func (m UnifiedAgentGrokParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentGrokParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentGrokParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentGrokParser) GetIsKeepTimeKey

func (m UnifiedAgentGrokParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentGrokParser) GetIsNullEmptyString

func (m UnifiedAgentGrokParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentGrokParser) GetNullValuePattern

func (m UnifiedAgentGrokParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentGrokParser) GetTimeoutInMilliseconds

func (m UnifiedAgentGrokParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentGrokParser) GetTypes

func (m UnifiedAgentGrokParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentGrokParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentGrokParser) String

func (m UnifiedAgentGrokParser) String() string

func (UnifiedAgentGrokParser) ValidateEnumValue

func (m UnifiedAgentGrokParser) 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 UnifiedAgentKubernetesConfigurationDetails added in v65.62.0

type UnifiedAgentKubernetesConfigurationDetails struct {
	Source *UnifiedAgentKubernetesSource `mandatory:"true" json:"source"`

	Destination *UnifiedAgentMonitoringDestination `mandatory:"true" json:"destination"`

	Filter *UnifiedAgentKubernetesFilter `mandatory:"false" json:"filter"`
}

UnifiedAgentKubernetesConfigurationDetails Unified Agent kubernetes service configuration object.

func (UnifiedAgentKubernetesConfigurationDetails) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentKubernetesConfigurationDetails) String added in v65.62.0

func (UnifiedAgentKubernetesConfigurationDetails) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentKubernetesConfigurationDetails) 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 UnifiedAgentKubernetesFilter added in v65.62.0

type UnifiedAgentKubernetesFilter struct {

	// Unique name for the filter.
	Name *string `mandatory:"true" json:"name"`

	// List of metrics regex to be allowed.
	AllowList []string `mandatory:"false" json:"allowList"`

	// List of metrics regex to be denied.
	DenyList []string `mandatory:"false" json:"denyList"`
}

UnifiedAgentKubernetesFilter Kubernetes filter object

func (UnifiedAgentKubernetesFilter) GetName added in v65.62.0

func (m UnifiedAgentKubernetesFilter) GetName() *string

GetName returns Name

func (UnifiedAgentKubernetesFilter) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentKubernetesFilter) String added in v65.62.0

func (UnifiedAgentKubernetesFilter) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentKubernetesFilter) 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 UnifiedAgentKubernetesScrapeTarget added in v65.62.0

type UnifiedAgentKubernetesScrapeTarget struct {

	// Type of resource to scrape metrics.
	ResourceType UnifiedAgentKubernetesScrapeTargetResourceTypeEnum `mandatory:"true" json:"resourceType"`

	// K8s namespace of the resource.
	K8sNamespace *string `mandatory:"true" json:"k8sNamespace"`

	// Name of the service prepended to the endpoints.
	ServiceName *string `mandatory:"false" json:"serviceName"`

	// Resource group in OCI monitoring.
	ResourceGroup *string `mandatory:"false" json:"resourceGroup"`
}

UnifiedAgentKubernetesScrapeTarget Monitoring scrape object.

func (UnifiedAgentKubernetesScrapeTarget) String added in v65.62.0

func (UnifiedAgentKubernetesScrapeTarget) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentKubernetesScrapeTarget) 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 UnifiedAgentKubernetesScrapeTargetResourceTypeEnum added in v65.62.0

type UnifiedAgentKubernetesScrapeTargetResourceTypeEnum string

UnifiedAgentKubernetesScrapeTargetResourceTypeEnum Enum with underlying type: string

const (
	UnifiedAgentKubernetesScrapeTargetResourceTypePods      UnifiedAgentKubernetesScrapeTargetResourceTypeEnum = "PODS"
	UnifiedAgentKubernetesScrapeTargetResourceTypeEndpoints UnifiedAgentKubernetesScrapeTargetResourceTypeEnum = "ENDPOINTS"
	UnifiedAgentKubernetesScrapeTargetResourceTypeNodes     UnifiedAgentKubernetesScrapeTargetResourceTypeEnum = "NODES"
	UnifiedAgentKubernetesScrapeTargetResourceTypeServices  UnifiedAgentKubernetesScrapeTargetResourceTypeEnum = "SERVICES"
)

Set of constants representing the allowable values for UnifiedAgentKubernetesScrapeTargetResourceTypeEnum

func GetMappingUnifiedAgentKubernetesScrapeTargetResourceTypeEnum added in v65.62.0

func GetMappingUnifiedAgentKubernetesScrapeTargetResourceTypeEnum(val string) (UnifiedAgentKubernetesScrapeTargetResourceTypeEnum, bool)

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

func GetUnifiedAgentKubernetesScrapeTargetResourceTypeEnumValues added in v65.62.0

func GetUnifiedAgentKubernetesScrapeTargetResourceTypeEnumValues() []UnifiedAgentKubernetesScrapeTargetResourceTypeEnum

GetUnifiedAgentKubernetesScrapeTargetResourceTypeEnumValues Enumerates the set of values for UnifiedAgentKubernetesScrapeTargetResourceTypeEnum

type UnifiedAgentKubernetesSource added in v65.62.0

type UnifiedAgentKubernetesSource struct {

	// Unique name for the source.
	Name *string `mandatory:"true" json:"name"`

	// List of UnifiedAgentKubernetesScrapeTarget.
	ScrapeTargets []UnifiedAgentKubernetesScrapeTarget `mandatory:"true" json:"scrapeTargets"`
}

UnifiedAgentKubernetesSource Kubernetes source object.

func (UnifiedAgentKubernetesSource) String added in v65.62.0

func (UnifiedAgentKubernetesSource) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentKubernetesSource) 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 UnifiedAgentLoggingConfiguration

type UnifiedAgentLoggingConfiguration struct {

	// Logging source object.
	Sources []UnifiedAgentLoggingSource `mandatory:"true" json:"sources"`

	Destination *UnifiedAgentLoggingDestination `mandatory:"true" json:"destination"`

	// Logging filter object.
	Filter []UnifiedAgentLoggingFilter `mandatory:"false" json:"filter"`
}

UnifiedAgentLoggingConfiguration Unified Agent logging service configuration object.

func (UnifiedAgentLoggingConfiguration) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentLoggingConfiguration) String

func (*UnifiedAgentLoggingConfiguration) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UnifiedAgentLoggingConfiguration) ValidateEnumValue

func (m UnifiedAgentLoggingConfiguration) 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 UnifiedAgentLoggingDestination

type UnifiedAgentLoggingDestination struct {

	// The OCID of the resource.
	LogObjectId *string `mandatory:"true" json:"logObjectId"`

	OperationalMetricsConfiguration *OperationalMetricsConfiguration `mandatory:"false" json:"operationalMetricsConfiguration"`
}

UnifiedAgentLoggingDestination Logging destination object.

func (UnifiedAgentLoggingDestination) String

func (UnifiedAgentLoggingDestination) ValidateEnumValue

func (m UnifiedAgentLoggingDestination) 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 UnifiedAgentLoggingFilter added in v65.62.0

type UnifiedAgentLoggingFilter interface {

	// Unique name for the filter.
	GetName() *string
}

UnifiedAgentLoggingFilter Logging filter object.

type UnifiedAgentLoggingFilterFilterTypeEnum added in v65.62.0

type UnifiedAgentLoggingFilterFilterTypeEnum string

UnifiedAgentLoggingFilterFilterTypeEnum Enum with underlying type: string

const (
	UnifiedAgentLoggingFilterFilterTypeParserFilter            UnifiedAgentLoggingFilterFilterTypeEnum = "PARSER_FILTER"
	UnifiedAgentLoggingFilterFilterTypeGrepFilter              UnifiedAgentLoggingFilterFilterTypeEnum = "GREP_FILTER"
	UnifiedAgentLoggingFilterFilterTypeRecordTransformerFilter UnifiedAgentLoggingFilterFilterTypeEnum = "RECORD_TRANSFORMER_FILTER"
	UnifiedAgentLoggingFilterFilterTypeCustomFilter            UnifiedAgentLoggingFilterFilterTypeEnum = "CUSTOM_FILTER"
)

Set of constants representing the allowable values for UnifiedAgentLoggingFilterFilterTypeEnum

func GetMappingUnifiedAgentLoggingFilterFilterTypeEnum added in v65.62.0

func GetMappingUnifiedAgentLoggingFilterFilterTypeEnum(val string) (UnifiedAgentLoggingFilterFilterTypeEnum, bool)

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

func GetUnifiedAgentLoggingFilterFilterTypeEnumValues added in v65.62.0

func GetUnifiedAgentLoggingFilterFilterTypeEnumValues() []UnifiedAgentLoggingFilterFilterTypeEnum

GetUnifiedAgentLoggingFilterFilterTypeEnumValues Enumerates the set of values for UnifiedAgentLoggingFilterFilterTypeEnum

type UnifiedAgentLoggingGrepFilter added in v65.62.0

type UnifiedAgentLoggingGrepFilter struct {

	// Unique name for the filter.
	Name *string `mandatory:"true" json:"name"`

	// A list of filtering rules to include logs
	AllowList []GrepFilterAllowRule `mandatory:"false" json:"allowList"`

	// A list of filtering rules to reject logs
	DenyList []GrepFilterDenyRule `mandatory:"false" json:"denyList"`
}

UnifiedAgentLoggingGrepFilter Logging grep filter object greps events by the values of specified fields. Ref: https://docs.fluentd.org/filter/grep

func (UnifiedAgentLoggingGrepFilter) GetName added in v65.62.0

GetName returns Name

func (UnifiedAgentLoggingGrepFilter) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentLoggingGrepFilter) String added in v65.62.0

func (UnifiedAgentLoggingGrepFilter) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentLoggingGrepFilter) 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 UnifiedAgentLoggingRecordTransformerFilter added in v65.62.0

type UnifiedAgentLoggingRecordTransformerFilter struct {

	// Unique name for the filter.
	Name *string `mandatory:"true" json:"name"`

	// Add new key-value pairs in logs
	RecordList []RecordTransformerPair `mandatory:"true" json:"recordList"`

	// When set to true, the full Ruby syntax is enabled in the ${} expression.
	IsRubyEnabled *bool `mandatory:"false" json:"isRubyEnabled"`

	// If true, automatically casts the field types.
	IsAutoTypecastEnabled *bool `mandatory:"false" json:"isAutoTypecastEnabled"`

	// If true, it modifies a new empty hash
	IsRenewRecordEnabled *bool `mandatory:"false" json:"isRenewRecordEnabled"`

	// Overwrites the time of logs with this value, this value must be a Unix timestamp.
	RenewTimeKey *string `mandatory:"false" json:"renewTimeKey"`

	// A list of keys to keep. Only relevant if isRenewRecordEnabled is set to true
	KeepKeys []string `mandatory:"false" json:"keepKeys"`

	// A list of keys to delete
	RemoveKeys []string `mandatory:"false" json:"removeKeys"`
}

UnifiedAgentLoggingRecordTransformerFilter Logging record transformer filter object mutates/transforms logs. Ref: https://docs.fluentd.org/filter/record_transformer

func (UnifiedAgentLoggingRecordTransformerFilter) GetName added in v65.62.0

GetName returns Name

func (UnifiedAgentLoggingRecordTransformerFilter) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentLoggingRecordTransformerFilter) String added in v65.62.0

func (UnifiedAgentLoggingRecordTransformerFilter) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentLoggingRecordTransformerFilter) 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 UnifiedAgentLoggingSource

type UnifiedAgentLoggingSource interface {

	// Unique name for the source.
	GetName() *string
}

UnifiedAgentLoggingSource Logging source object.

type UnifiedAgentLoggingSourceSourceTypeEnum

type UnifiedAgentLoggingSourceSourceTypeEnum string

UnifiedAgentLoggingSourceSourceTypeEnum Enum with underlying type: string

const (
	UnifiedAgentLoggingSourceSourceTypeLogTail         UnifiedAgentLoggingSourceSourceTypeEnum = "LOG_TAIL"
	UnifiedAgentLoggingSourceSourceTypeWindowsEventLog UnifiedAgentLoggingSourceSourceTypeEnum = "WINDOWS_EVENT_LOG"
	UnifiedAgentLoggingSourceSourceTypeCustomPlugin    UnifiedAgentLoggingSourceSourceTypeEnum = "CUSTOM_PLUGIN"
)

Set of constants representing the allowable values for UnifiedAgentLoggingSourceSourceTypeEnum

func GetMappingUnifiedAgentLoggingSourceSourceTypeEnum

func GetMappingUnifiedAgentLoggingSourceSourceTypeEnum(val string) (UnifiedAgentLoggingSourceSourceTypeEnum, bool)

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

func GetUnifiedAgentLoggingSourceSourceTypeEnumValues

func GetUnifiedAgentLoggingSourceSourceTypeEnumValues() []UnifiedAgentLoggingSourceSourceTypeEnum

GetUnifiedAgentLoggingSourceSourceTypeEnumValues Enumerates the set of values for UnifiedAgentLoggingSourceSourceTypeEnum

type UnifiedAgentMonitoringApplicationConfigurationDetails added in v65.62.0

type UnifiedAgentMonitoringApplicationConfigurationDetails interface {
}

UnifiedAgentMonitoringApplicationConfigurationDetails Unified Agent monitoing application configuration details

type UnifiedAgentMonitoringConfigurationDetails added in v65.62.0

type UnifiedAgentMonitoringConfigurationDetails struct {

	// Unified Agent monitoring application configuration details.
	ApplicationConfigurations []UnifiedAgentMonitoringApplicationConfigurationDetails `mandatory:"true" json:"applicationConfigurations"`
}

UnifiedAgentMonitoringConfigurationDetails Unified Agent monitoring service configuration object.

func (UnifiedAgentMonitoringConfigurationDetails) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentMonitoringConfigurationDetails) String added in v65.62.0

func (*UnifiedAgentMonitoringConfigurationDetails) UnmarshalJSON added in v65.62.0

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

UnmarshalJSON unmarshals from json

func (UnifiedAgentMonitoringConfigurationDetails) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentMonitoringConfigurationDetails) 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 UnifiedAgentMonitoringDestination added in v65.62.0

type UnifiedAgentMonitoringDestination struct {

	// The OCID of the compartment that the resource belongs to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// Namespace to which metrics will be emitted.
	MetricsNamespace *string `mandatory:"true" json:"metricsNamespace"`
}

UnifiedAgentMonitoringDestination Kubernetes destination object.

func (UnifiedAgentMonitoringDestination) String added in v65.62.0

func (UnifiedAgentMonitoringDestination) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentMonitoringDestination) 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 UnifiedAgentMonitoringFilter added in v65.62.0

type UnifiedAgentMonitoringFilter interface {

	// Unique name for the filter.
	GetName() *string
}

UnifiedAgentMonitoringFilter Monitoring filter object.

type UnifiedAgentMonitoringFilterFilterTypeEnum added in v65.62.0

type UnifiedAgentMonitoringFilterFilterTypeEnum string

UnifiedAgentMonitoringFilterFilterTypeEnum Enum with underlying type: string

const (
	UnifiedAgentMonitoringFilterFilterTypeKubernetesFilter UnifiedAgentMonitoringFilterFilterTypeEnum = "KUBERNETES_FILTER"
	UnifiedAgentMonitoringFilterFilterTypeUrlFilter        UnifiedAgentMonitoringFilterFilterTypeEnum = "URL_FILTER"
)

Set of constants representing the allowable values for UnifiedAgentMonitoringFilterFilterTypeEnum

func GetMappingUnifiedAgentMonitoringFilterFilterTypeEnum added in v65.62.0

func GetMappingUnifiedAgentMonitoringFilterFilterTypeEnum(val string) (UnifiedAgentMonitoringFilterFilterTypeEnum, bool)

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

func GetUnifiedAgentMonitoringFilterFilterTypeEnumValues added in v65.62.0

func GetUnifiedAgentMonitoringFilterFilterTypeEnumValues() []UnifiedAgentMonitoringFilterFilterTypeEnum

GetUnifiedAgentMonitoringFilterFilterTypeEnumValues Enumerates the set of values for UnifiedAgentMonitoringFilterFilterTypeEnum

type UnifiedAgentMonitoringSourceTypesEnum added in v65.62.0

type UnifiedAgentMonitoringSourceTypesEnum string

UnifiedAgentMonitoringSourceTypesEnum Enum with underlying type: string

const (
	UnifiedAgentMonitoringSourceTypesKubernetes UnifiedAgentMonitoringSourceTypesEnum = "KUBERNETES"
	UnifiedAgentMonitoringSourceTypesTail       UnifiedAgentMonitoringSourceTypesEnum = "TAIL"
	UnifiedAgentMonitoringSourceTypesUrl        UnifiedAgentMonitoringSourceTypesEnum = "URL"
)

Set of constants representing the allowable values for UnifiedAgentMonitoringSourceTypesEnum

func GetMappingUnifiedAgentMonitoringSourceTypesEnum added in v65.62.0

func GetMappingUnifiedAgentMonitoringSourceTypesEnum(val string) (UnifiedAgentMonitoringSourceTypesEnum, bool)

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

func GetUnifiedAgentMonitoringSourceTypesEnumValues added in v65.62.0

func GetUnifiedAgentMonitoringSourceTypesEnumValues() []UnifiedAgentMonitoringSourceTypesEnum

GetUnifiedAgentMonitoringSourceTypesEnumValues Enumerates the set of values for UnifiedAgentMonitoringSourceTypesEnum

type UnifiedAgentMonitoringUrlSource added in v65.62.0

type UnifiedAgentMonitoringUrlSource struct {

	// Unique name for the source.
	Name *string `mandatory:"true" json:"name"`

	// List of UnifiedAgentKubernetesScrapeTarget.
	ScrapeTargets []UnifiedAgentUrlScrapeTarget `mandatory:"true" json:"scrapeTargets"`
}

UnifiedAgentMonitoringUrlSource Kubernetes source object.

func (UnifiedAgentMonitoringUrlSource) String added in v65.62.0

func (UnifiedAgentMonitoringUrlSource) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentMonitoringUrlSource) 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 UnifiedAgentMsgpackParser

type UnifiedAgentMsgpackParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`
}

UnifiedAgentMsgpackParser Msgpack parser.

func (UnifiedAgentMsgpackParser) GetFieldTimeKey

func (m UnifiedAgentMsgpackParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentMsgpackParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentMsgpackParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentMsgpackParser) GetIsKeepTimeKey

func (m UnifiedAgentMsgpackParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentMsgpackParser) GetIsNullEmptyString

func (m UnifiedAgentMsgpackParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentMsgpackParser) GetNullValuePattern

func (m UnifiedAgentMsgpackParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentMsgpackParser) GetTimeoutInMilliseconds

func (m UnifiedAgentMsgpackParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentMsgpackParser) GetTypes

func (m UnifiedAgentMsgpackParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentMsgpackParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentMsgpackParser) String

func (m UnifiedAgentMsgpackParser) String() string

func (UnifiedAgentMsgpackParser) ValidateEnumValue

func (m UnifiedAgentMsgpackParser) 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 UnifiedAgentMultilineGrokParser

type UnifiedAgentMultilineGrokParser struct {

	// Grok pattern object.
	Patterns []GrokPattern `mandatory:"true" json:"patterns"`

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// Grok name key.
	GrokNameKey *string `mandatory:"false" json:"grokNameKey"`

	// Grok failure key.
	GrokFailureKey *string `mandatory:"false" json:"grokFailureKey"`

	// Multiline start regexp pattern.
	MultiLineStartRegexp *string `mandatory:"false" json:"multiLineStartRegexp"`
}

UnifiedAgentMultilineGrokParser Multiline grok parser.

func (UnifiedAgentMultilineGrokParser) GetFieldTimeKey

func (m UnifiedAgentMultilineGrokParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentMultilineGrokParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentMultilineGrokParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentMultilineGrokParser) GetIsKeepTimeKey

func (m UnifiedAgentMultilineGrokParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentMultilineGrokParser) GetIsNullEmptyString

func (m UnifiedAgentMultilineGrokParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentMultilineGrokParser) GetNullValuePattern

func (m UnifiedAgentMultilineGrokParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentMultilineGrokParser) GetTimeoutInMilliseconds

func (m UnifiedAgentMultilineGrokParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentMultilineGrokParser) GetTypes

GetTypes returns Types

func (UnifiedAgentMultilineGrokParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentMultilineGrokParser) String

func (UnifiedAgentMultilineGrokParser) ValidateEnumValue

func (m UnifiedAgentMultilineGrokParser) 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 UnifiedAgentMultilineParser

type UnifiedAgentMultilineParser struct {

	// Mutiline pattern format.
	Format []string `mandatory:"true" json:"format"`

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// First line pattern format.
	FormatFirstline *string `mandatory:"false" json:"formatFirstline"`
}

UnifiedAgentMultilineParser Multiline parser.

func (UnifiedAgentMultilineParser) GetFieldTimeKey

func (m UnifiedAgentMultilineParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentMultilineParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentMultilineParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentMultilineParser) GetIsKeepTimeKey

func (m UnifiedAgentMultilineParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentMultilineParser) GetIsNullEmptyString

func (m UnifiedAgentMultilineParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentMultilineParser) GetNullValuePattern

func (m UnifiedAgentMultilineParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentMultilineParser) GetTimeoutInMilliseconds

func (m UnifiedAgentMultilineParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentMultilineParser) GetTypes

func (m UnifiedAgentMultilineParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentMultilineParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentMultilineParser) String

func (UnifiedAgentMultilineParser) ValidateEnumValue

func (m UnifiedAgentMultilineParser) 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 UnifiedAgentNoneParser

type UnifiedAgentNoneParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// Specifies the field name to contain logs.
	MessageKey *string `mandatory:"false" json:"messageKey"`
}

UnifiedAgentNoneParser This parser signifies a non-parser, and puts the entire log line in a message_key.

func (UnifiedAgentNoneParser) GetFieldTimeKey

func (m UnifiedAgentNoneParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentNoneParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentNoneParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentNoneParser) GetIsKeepTimeKey

func (m UnifiedAgentNoneParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentNoneParser) GetIsNullEmptyString

func (m UnifiedAgentNoneParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentNoneParser) GetNullValuePattern

func (m UnifiedAgentNoneParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentNoneParser) GetTimeoutInMilliseconds

func (m UnifiedAgentNoneParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentNoneParser) GetTypes

func (m UnifiedAgentNoneParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentNoneParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentNoneParser) String

func (m UnifiedAgentNoneParser) String() string

func (UnifiedAgentNoneParser) ValidateEnumValue

func (m UnifiedAgentNoneParser) 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 UnifiedAgentOpenmetricsParser added in v65.62.0

type UnifiedAgentOpenmetricsParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	RecordInput *UnifiedAgentOpenmetricsParserRecord `mandatory:"false" json:"recordInput"`
}

UnifiedAgentOpenmetricsParser Openmetrics parser.

func (UnifiedAgentOpenmetricsParser) GetFieldTimeKey added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentOpenmetricsParser) GetIsEstimateCurrentEvent added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentOpenmetricsParser) GetIsKeepTimeKey added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentOpenmetricsParser) GetIsNullEmptyString added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentOpenmetricsParser) GetNullValuePattern added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentOpenmetricsParser) GetTimeoutInMilliseconds added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentOpenmetricsParser) GetTypes added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentOpenmetricsParser) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentOpenmetricsParser) String added in v65.62.0

func (UnifiedAgentOpenmetricsParser) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentOpenmetricsParser) 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 UnifiedAgentOpenmetricsParserRecord added in v65.62.0

type UnifiedAgentOpenmetricsParserRecord struct {

	// Namespace to emit metrics.
	Namespace *string `mandatory:"false" json:"namespace"`

	// Resource group to emit metrics.
	ResourceGroup *string `mandatory:"false" json:"resourceGroup"`

	// Dimensions to be added for metrics.
	Dimensions map[string]string `mandatory:"false" json:"dimensions"`
}

UnifiedAgentOpenmetricsParserRecord record section of openmetrics parser.

func (UnifiedAgentOpenmetricsParserRecord) String added in v65.62.0

func (UnifiedAgentOpenmetricsParserRecord) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentOpenmetricsParserRecord) 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 UnifiedAgentOpenmetricsTailConfigurationDetails added in v65.62.0

type UnifiedAgentOpenmetricsTailConfigurationDetails struct {

	// Tail log source objects.
	Sources []UnifiedAgentTailLogSource `mandatory:"true" json:"sources"`

	Destination *UnifiedAgentMonitoringDestination `mandatory:"true" json:"destination"`
}

UnifiedAgentOpenmetricsTailConfigurationDetails Unified Agent Openmetrics tail configuration object.

func (UnifiedAgentOpenmetricsTailConfigurationDetails) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentOpenmetricsTailConfigurationDetails) String added in v65.62.0

func (UnifiedAgentOpenmetricsTailConfigurationDetails) ValidateEnumValue added in v65.62.0

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 UnifiedAgentParser

type UnifiedAgentParser interface {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	GetFieldTimeKey() *string

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	GetTypes() map[string]string

	// Specify the null value pattern.
	GetNullValuePattern() *string

	// If true, an empty string field is replaced with a null value.
	GetIsNullEmptyString() *bool

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	GetIsEstimateCurrentEvent() *bool

	// If true, keep the time field in the record.
	GetIsKeepTimeKey() *bool

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	GetTimeoutInMilliseconds() *int
}

UnifiedAgentParser Source parser object.

type UnifiedAgentParserFilter added in v65.62.0

type UnifiedAgentParserFilter struct {

	// Unique name for the filter.
	Name *string `mandatory:"true" json:"name"`

	Parser UnifiedAgentParser `mandatory:"true" json:"parser"`

	// The field name in the record to parse.
	KeyName *string `mandatory:"true" json:"keyName"`

	// If true, keep the original event time in the parsed result.
	ReserveTime *bool `mandatory:"false" json:"reserveTime"`

	// If true, keep the original key-value pair in the parsed result.
	ReserveData *bool `mandatory:"false" json:"reserveData"`

	// If true, remove the keyName field when parsing is succeeded.
	RemoveKeyNameField *bool `mandatory:"false" json:"removeKeyNameField"`

	// If true, the invalid string is replaced with safe characters and is re-parsed.
	ReplaceInvalidSequence *bool `mandatory:"false" json:"replaceInvalidSequence"`

	// Store the parsed values with the specified key name prefix.
	InjectKeyPrefix *string `mandatory:"false" json:"injectKeyPrefix"`

	// Store the parsed values as a hash value in a field.
	HashValueField *string `mandatory:"false" json:"hashValueField"`

	// If true, emit invalid record to @ERROR label. Invalid cases are: 1) key does not exist; 2) the format
	// does not match; or 3) an unexpected error. You can rescue unexpected format logs in the @ERROR lable.
	// If you want to ignore these errors, set this to false.
	EmitInvalidRecordToError *bool `mandatory:"false" json:"emitInvalidRecordToError"`
}

UnifiedAgentParserFilter Logging parser filter object. Ref: https://docs.fluentd.org/filter/parser

func (UnifiedAgentParserFilter) GetName added in v65.62.0

func (m UnifiedAgentParserFilter) GetName() *string

GetName returns Name

func (UnifiedAgentParserFilter) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentParserFilter) String added in v65.62.0

func (m UnifiedAgentParserFilter) String() string

func (*UnifiedAgentParserFilter) UnmarshalJSON added in v65.62.0

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

UnmarshalJSON unmarshals from json

func (UnifiedAgentParserFilter) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentParserFilter) 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 UnifiedAgentParserParserTypeEnum

type UnifiedAgentParserParserTypeEnum string

UnifiedAgentParserParserTypeEnum Enum with underlying type: string

const (
	UnifiedAgentParserParserTypeAuditd        UnifiedAgentParserParserTypeEnum = "AUDITD"
	UnifiedAgentParserParserTypeCri           UnifiedAgentParserParserTypeEnum = "CRI"
	UnifiedAgentParserParserTypeJson          UnifiedAgentParserParserTypeEnum = "JSON"
	UnifiedAgentParserParserTypeTsv           UnifiedAgentParserParserTypeEnum = "TSV"
	UnifiedAgentParserParserTypeCsv           UnifiedAgentParserParserTypeEnum = "CSV"
	UnifiedAgentParserParserTypeNone          UnifiedAgentParserParserTypeEnum = "NONE"
	UnifiedAgentParserParserTypeSyslog        UnifiedAgentParserParserTypeEnum = "SYSLOG"
	UnifiedAgentParserParserTypeApache2       UnifiedAgentParserParserTypeEnum = "APACHE2"
	UnifiedAgentParserParserTypeApacheError   UnifiedAgentParserParserTypeEnum = "APACHE_ERROR"
	UnifiedAgentParserParserTypeMsgpack       UnifiedAgentParserParserTypeEnum = "MSGPACK"
	UnifiedAgentParserParserTypeRegexp        UnifiedAgentParserParserTypeEnum = "REGEXP"
	UnifiedAgentParserParserTypeMultiline     UnifiedAgentParserParserTypeEnum = "MULTILINE"
	UnifiedAgentParserParserTypeGrok          UnifiedAgentParserParserTypeEnum = "GROK"
	UnifiedAgentParserParserTypeMultilineGrok UnifiedAgentParserParserTypeEnum = "MULTILINE_GROK"
	UnifiedAgentParserParserTypeOpenmetrics   UnifiedAgentParserParserTypeEnum = "OPENMETRICS"
)

Set of constants representing the allowable values for UnifiedAgentParserParserTypeEnum

func GetMappingUnifiedAgentParserParserTypeEnum

func GetMappingUnifiedAgentParserParserTypeEnum(val string) (UnifiedAgentParserParserTypeEnum, bool)

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

func GetUnifiedAgentParserParserTypeEnumValues

func GetUnifiedAgentParserParserTypeEnumValues() []UnifiedAgentParserParserTypeEnum

GetUnifiedAgentParserParserTypeEnumValues Enumerates the set of values for UnifiedAgentParserParserTypeEnum

type UnifiedAgentRegexParser

type UnifiedAgentRegexParser struct {

	// Regex pattern.
	Expression *string `mandatory:"true" json:"expression"`

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// Time format.
	TimeFormat *string `mandatory:"false" json:"timeFormat"`
}

UnifiedAgentRegexParser Regexp parser.

func (UnifiedAgentRegexParser) GetFieldTimeKey

func (m UnifiedAgentRegexParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentRegexParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentRegexParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentRegexParser) GetIsKeepTimeKey

func (m UnifiedAgentRegexParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentRegexParser) GetIsNullEmptyString

func (m UnifiedAgentRegexParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentRegexParser) GetNullValuePattern

func (m UnifiedAgentRegexParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentRegexParser) GetTimeoutInMilliseconds

func (m UnifiedAgentRegexParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentRegexParser) GetTypes

func (m UnifiedAgentRegexParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentRegexParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentRegexParser) String

func (m UnifiedAgentRegexParser) String() string

func (UnifiedAgentRegexParser) ValidateEnumValue

func (m UnifiedAgentRegexParser) 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 UnifiedAgentServiceConfigurationDetails

type UnifiedAgentServiceConfigurationDetails interface {
}

UnifiedAgentServiceConfigurationDetails Top level Unified Agent service configuration object.

type UnifiedAgentServiceConfigurationStatesEnum

type UnifiedAgentServiceConfigurationStatesEnum string

UnifiedAgentServiceConfigurationStatesEnum Enum with underlying type: string

const (
	UnifiedAgentServiceConfigurationStatesValid   UnifiedAgentServiceConfigurationStatesEnum = "VALID"
	UnifiedAgentServiceConfigurationStatesInvalid UnifiedAgentServiceConfigurationStatesEnum = "INVALID"
)

Set of constants representing the allowable values for UnifiedAgentServiceConfigurationStatesEnum

func GetMappingUnifiedAgentServiceConfigurationStatesEnum

func GetMappingUnifiedAgentServiceConfigurationStatesEnum(val string) (UnifiedAgentServiceConfigurationStatesEnum, bool)

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

func GetUnifiedAgentServiceConfigurationStatesEnumValues

func GetUnifiedAgentServiceConfigurationStatesEnumValues() []UnifiedAgentServiceConfigurationStatesEnum

GetUnifiedAgentServiceConfigurationStatesEnumValues Enumerates the set of values for UnifiedAgentServiceConfigurationStatesEnum

type UnifiedAgentServiceConfigurationTypesEnum

type UnifiedAgentServiceConfigurationTypesEnum string

UnifiedAgentServiceConfigurationTypesEnum Enum with underlying type: string

const (
	UnifiedAgentServiceConfigurationTypesLogging    UnifiedAgentServiceConfigurationTypesEnum = "LOGGING"
	UnifiedAgentServiceConfigurationTypesMonitoring UnifiedAgentServiceConfigurationTypesEnum = "MONITORING"
)

Set of constants representing the allowable values for UnifiedAgentServiceConfigurationTypesEnum

func GetMappingUnifiedAgentServiceConfigurationTypesEnum

func GetMappingUnifiedAgentServiceConfigurationTypesEnum(val string) (UnifiedAgentServiceConfigurationTypesEnum, bool)

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

func GetUnifiedAgentServiceConfigurationTypesEnumValues

func GetUnifiedAgentServiceConfigurationTypesEnumValues() []UnifiedAgentServiceConfigurationTypesEnum

GetUnifiedAgentServiceConfigurationTypesEnumValues Enumerates the set of values for UnifiedAgentServiceConfigurationTypesEnum

type UnifiedAgentSyslogParser

type UnifiedAgentSyslogParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// Time format.
	TimeFormat *string `mandatory:"false" json:"timeFormat"`

	// RFC 5424 time format.
	Rfc5424TimeFormat *string `mandatory:"false" json:"rfc5424TimeFormat"`

	// Specifies with priority or not. Corresponds to the Fluentd with_priority parameter.
	IsWithPriority *bool `mandatory:"false" json:"isWithPriority"`

	// Specifies whether or not to support colonless ident. Corresponds to the Fluentd support_colonless_ident parameter.
	IsSupportColonlessIdent *bool `mandatory:"false" json:"isSupportColonlessIdent"`

	// Syslog message format.
	MessageFormat UnifiedAgentSyslogParserMessageFormatEnum `mandatory:"false" json:"messageFormat,omitempty"`

	// Syslog parser type.
	SyslogParserType UnifiedAgentSyslogParserSyslogParserTypeEnum `mandatory:"false" json:"syslogParserType,omitempty"`
}

UnifiedAgentSyslogParser Syslog Parser.

func (UnifiedAgentSyslogParser) GetFieldTimeKey

func (m UnifiedAgentSyslogParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentSyslogParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentSyslogParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentSyslogParser) GetIsKeepTimeKey

func (m UnifiedAgentSyslogParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentSyslogParser) GetIsNullEmptyString

func (m UnifiedAgentSyslogParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentSyslogParser) GetNullValuePattern

func (m UnifiedAgentSyslogParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentSyslogParser) GetTimeoutInMilliseconds

func (m UnifiedAgentSyslogParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentSyslogParser) GetTypes

func (m UnifiedAgentSyslogParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentSyslogParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentSyslogParser) String

func (m UnifiedAgentSyslogParser) String() string

func (UnifiedAgentSyslogParser) ValidateEnumValue

func (m UnifiedAgentSyslogParser) 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 UnifiedAgentSyslogParserMessageFormatEnum

type UnifiedAgentSyslogParserMessageFormatEnum string

UnifiedAgentSyslogParserMessageFormatEnum Enum with underlying type: string

const (
	UnifiedAgentSyslogParserMessageFormatRfc3164 UnifiedAgentSyslogParserMessageFormatEnum = "RFC3164"
	UnifiedAgentSyslogParserMessageFormatRfc5424 UnifiedAgentSyslogParserMessageFormatEnum = "RFC5424"
	UnifiedAgentSyslogParserMessageFormatAuto    UnifiedAgentSyslogParserMessageFormatEnum = "AUTO"
)

Set of constants representing the allowable values for UnifiedAgentSyslogParserMessageFormatEnum

func GetMappingUnifiedAgentSyslogParserMessageFormatEnum

func GetMappingUnifiedAgentSyslogParserMessageFormatEnum(val string) (UnifiedAgentSyslogParserMessageFormatEnum, bool)

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

func GetUnifiedAgentSyslogParserMessageFormatEnumValues

func GetUnifiedAgentSyslogParserMessageFormatEnumValues() []UnifiedAgentSyslogParserMessageFormatEnum

GetUnifiedAgentSyslogParserMessageFormatEnumValues Enumerates the set of values for UnifiedAgentSyslogParserMessageFormatEnum

type UnifiedAgentSyslogParserSyslogParserTypeEnum

type UnifiedAgentSyslogParserSyslogParserTypeEnum string

UnifiedAgentSyslogParserSyslogParserTypeEnum Enum with underlying type: string

const (
	UnifiedAgentSyslogParserSyslogParserTypeString UnifiedAgentSyslogParserSyslogParserTypeEnum = "STRING"
	UnifiedAgentSyslogParserSyslogParserTypeRegexp UnifiedAgentSyslogParserSyslogParserTypeEnum = "REGEXP"
)

Set of constants representing the allowable values for UnifiedAgentSyslogParserSyslogParserTypeEnum

func GetMappingUnifiedAgentSyslogParserSyslogParserTypeEnum

func GetMappingUnifiedAgentSyslogParserSyslogParserTypeEnum(val string) (UnifiedAgentSyslogParserSyslogParserTypeEnum, bool)

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

func GetUnifiedAgentSyslogParserSyslogParserTypeEnumValues

func GetUnifiedAgentSyslogParserSyslogParserTypeEnumValues() []UnifiedAgentSyslogParserSyslogParserTypeEnum

GetUnifiedAgentSyslogParserSyslogParserTypeEnumValues Enumerates the set of values for UnifiedAgentSyslogParserSyslogParserTypeEnum

type UnifiedAgentTailLogSource

type UnifiedAgentTailLogSource struct {

	// Unique name for the source.
	Name *string `mandatory:"true" json:"name"`

	// Absolute paths for log source files. Wildcards can be used.
	Paths []string `mandatory:"true" json:"paths"`

	Parser UnifiedAgentParser `mandatory:"false" json:"parser"`

	AdvancedOptions *UnifiedAgentTailSourceAdvancedOptions `mandatory:"false" json:"advancedOptions"`
}

UnifiedAgentTailLogSource Tail log source object.

func (UnifiedAgentTailLogSource) GetName

func (m UnifiedAgentTailLogSource) GetName() *string

GetName returns Name

func (UnifiedAgentTailLogSource) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentTailLogSource) String

func (m UnifiedAgentTailLogSource) String() string

func (*UnifiedAgentTailLogSource) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UnifiedAgentTailLogSource) ValidateEnumValue

func (m UnifiedAgentTailLogSource) 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 UnifiedAgentTailSourceAdvancedOptions added in v65.62.0

type UnifiedAgentTailSourceAdvancedOptions struct {

	// Starts to read the logs from the head of the file or the last read position recorded in pos_file, not tail.
	IsReadFromHead *bool `mandatory:"false" json:"isReadFromHead"`
}

UnifiedAgentTailSourceAdvancedOptions Advanced options for logging configuration

func (UnifiedAgentTailSourceAdvancedOptions) String added in v65.62.0

func (UnifiedAgentTailSourceAdvancedOptions) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentTailSourceAdvancedOptions) 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 UnifiedAgentTsvParser

type UnifiedAgentTsvParser struct {

	// TSV keys.
	Keys []string `mandatory:"true" json:"keys"`

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// TSV delimiter.
	Delimiter *string `mandatory:"false" json:"delimiter"`
}

UnifiedAgentTsvParser TSV Parser.

func (UnifiedAgentTsvParser) GetFieldTimeKey

func (m UnifiedAgentTsvParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedAgentTsvParser) GetIsEstimateCurrentEvent

func (m UnifiedAgentTsvParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedAgentTsvParser) GetIsKeepTimeKey

func (m UnifiedAgentTsvParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedAgentTsvParser) GetIsNullEmptyString

func (m UnifiedAgentTsvParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedAgentTsvParser) GetNullValuePattern

func (m UnifiedAgentTsvParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedAgentTsvParser) GetTimeoutInMilliseconds

func (m UnifiedAgentTsvParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedAgentTsvParser) GetTypes

func (m UnifiedAgentTsvParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedAgentTsvParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentTsvParser) String

func (m UnifiedAgentTsvParser) String() string

func (UnifiedAgentTsvParser) ValidateEnumValue

func (m UnifiedAgentTsvParser) 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 UnifiedAgentUrlConfigurationDetails added in v65.62.0

type UnifiedAgentUrlConfigurationDetails struct {
	Source *UnifiedAgentMonitoringUrlSource `mandatory:"true" json:"source"`

	Destination *UnifiedAgentMonitoringDestination `mandatory:"true" json:"destination"`

	Filter *UnifiedAgentUrlFilter `mandatory:"false" json:"filter"`
}

UnifiedAgentUrlConfigurationDetails Unified Agent scrape URL configuration object.

func (UnifiedAgentUrlConfigurationDetails) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentUrlConfigurationDetails) String added in v65.62.0

func (UnifiedAgentUrlConfigurationDetails) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentUrlConfigurationDetails) 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 UnifiedAgentUrlFilter added in v65.62.0

type UnifiedAgentUrlFilter struct {

	// Unique name for the filter.
	Name *string `mandatory:"true" json:"name"`

	// List of metrics regex to be allowed.
	AllowList []string `mandatory:"false" json:"allowList"`

	// List of metrics regex to be denied.
	DenyList []string `mandatory:"false" json:"denyList"`
}

UnifiedAgentUrlFilter Kubernetes filter object

func (UnifiedAgentUrlFilter) GetName added in v65.62.0

func (m UnifiedAgentUrlFilter) GetName() *string

GetName returns Name

func (UnifiedAgentUrlFilter) MarshalJSON added in v65.62.0

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

MarshalJSON marshals to json representation

func (UnifiedAgentUrlFilter) String added in v65.62.0

func (m UnifiedAgentUrlFilter) String() string

func (UnifiedAgentUrlFilter) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentUrlFilter) 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 UnifiedAgentUrlScrapeTarget added in v65.62.0

type UnifiedAgentUrlScrapeTarget struct {

	// URL from which the metrics are fetched.
	Url *string `mandatory:"true" json:"url"`

	// Custom name.
	Name *string `mandatory:"false" json:"name"`
}

UnifiedAgentUrlScrapeTarget Monitoring scrape object.

func (UnifiedAgentUrlScrapeTarget) String added in v65.62.0

func (UnifiedAgentUrlScrapeTarget) ValidateEnumValue added in v65.62.0

func (m UnifiedAgentUrlScrapeTarget) 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 UnifiedAgentWindowsEventSource

type UnifiedAgentWindowsEventSource struct {

	// Unique name for the source.
	Name *string `mandatory:"true" json:"name"`

	// Windows event log channels.
	Channels []string `mandatory:"true" json:"channels"`
}

UnifiedAgentWindowsEventSource Windows events log source object.

func (UnifiedAgentWindowsEventSource) GetName

GetName returns Name

func (UnifiedAgentWindowsEventSource) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedAgentWindowsEventSource) String

func (UnifiedAgentWindowsEventSource) ValidateEnumValue

func (m UnifiedAgentWindowsEventSource) 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 UnifiedJsonParser

type UnifiedJsonParser struct {

	// Specifies the time field for the event time. If the event doesn't have this field, the current time is used.
	FieldTimeKey *string `mandatory:"false" json:"fieldTimeKey"`

	// Specify types for converting a field into another type.
	// For example,
	//   With this configuration:
	//       <parse>
	//         @type csv
	//         keys time,host,req_id,user
	//         time_key time
	//       </parse>
	//   This incoming event:
	//     "2013/02/28 12:00:00,192.168.0.1,111,-"
	//   is parsed as:
	//     1362020400 (2013/02/28/ 12:00:00)
	//     record:
	//     {
	//       "host"   : "192.168.0.1",
	//       "req_id" : "111",
	//       "user"   : "-"
	//     }
	Types map[string]string `mandatory:"false" json:"types"`

	// Specify the null value pattern.
	NullValuePattern *string `mandatory:"false" json:"nullValuePattern"`

	// If true, an empty string field is replaced with a null value.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

	// If true, use Fluent::EventTime.now(current time) as a timestamp when the time_key is specified.
	IsEstimateCurrentEvent *bool `mandatory:"false" json:"isEstimateCurrentEvent"`

	// If true, keep the time field in the record.
	IsKeepTimeKey *bool `mandatory:"false" json:"isKeepTimeKey"`

	// Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern.
	TimeoutInMilliseconds *int `mandatory:"false" json:"timeoutInMilliseconds"`

	// Process time value using the specified format.
	TimeFormat *string `mandatory:"false" json:"timeFormat"`

	// If true, a separator parameter can be further defined.
	ParseNested *bool `mandatory:"false" json:"parseNested"`

	// Keys of adjacent levels are joined by the separator.
	Separator *string `mandatory:"false" json:"separator"`

	// JSON parser time type.
	TimeType UnifiedJsonParserTimeTypeEnum `mandatory:"false" json:"timeType,omitempty"`
}

UnifiedJsonParser JSON parser.

func (UnifiedJsonParser) GetFieldTimeKey

func (m UnifiedJsonParser) GetFieldTimeKey() *string

GetFieldTimeKey returns FieldTimeKey

func (UnifiedJsonParser) GetIsEstimateCurrentEvent

func (m UnifiedJsonParser) GetIsEstimateCurrentEvent() *bool

GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent

func (UnifiedJsonParser) GetIsKeepTimeKey

func (m UnifiedJsonParser) GetIsKeepTimeKey() *bool

GetIsKeepTimeKey returns IsKeepTimeKey

func (UnifiedJsonParser) GetIsNullEmptyString

func (m UnifiedJsonParser) GetIsNullEmptyString() *bool

GetIsNullEmptyString returns IsNullEmptyString

func (UnifiedJsonParser) GetNullValuePattern

func (m UnifiedJsonParser) GetNullValuePattern() *string

GetNullValuePattern returns NullValuePattern

func (UnifiedJsonParser) GetTimeoutInMilliseconds

func (m UnifiedJsonParser) GetTimeoutInMilliseconds() *int

GetTimeoutInMilliseconds returns TimeoutInMilliseconds

func (UnifiedJsonParser) GetTypes

func (m UnifiedJsonParser) GetTypes() map[string]string

GetTypes returns Types

func (UnifiedJsonParser) MarshalJSON

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

MarshalJSON marshals to json representation

func (UnifiedJsonParser) String

func (m UnifiedJsonParser) String() string

func (UnifiedJsonParser) ValidateEnumValue

func (m UnifiedJsonParser) 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 UnifiedJsonParserTimeTypeEnum

type UnifiedJsonParserTimeTypeEnum string

UnifiedJsonParserTimeTypeEnum Enum with underlying type: string

const (
	UnifiedJsonParserTimeTypeFloat    UnifiedJsonParserTimeTypeEnum = "FLOAT"
	UnifiedJsonParserTimeTypeUnixtime UnifiedJsonParserTimeTypeEnum = "UNIXTIME"
	UnifiedJsonParserTimeTypeString   UnifiedJsonParserTimeTypeEnum = "STRING"
)

Set of constants representing the allowable values for UnifiedJsonParserTimeTypeEnum

func GetMappingUnifiedJsonParserTimeTypeEnum

func GetMappingUnifiedJsonParserTimeTypeEnum(val string) (UnifiedJsonParserTimeTypeEnum, bool)

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

func GetUnifiedJsonParserTimeTypeEnumValues

func GetUnifiedJsonParserTimeTypeEnumValues() []UnifiedJsonParserTimeTypeEnum

GetUnifiedJsonParserTimeTypeEnumValues Enumerates the set of values for UnifiedJsonParserTimeTypeEnum

type UpdateConfigurationDetails

type UpdateConfigurationDetails struct {
	Source *SourceUpdateDetails `mandatory:"true" json:"source"`

	Archiving *Archiving `mandatory:"false" json:"archiving"`
}

UpdateConfigurationDetails The updatable configuration properties.

func (UpdateConfigurationDetails) String

func (UpdateConfigurationDetails) ValidateEnumValue

func (m UpdateConfigurationDetails) 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 UpdateLogDetails

type UpdateLogDetails struct {

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Log retention duration in 30-day increments (30, 60, 90 and so on until 180).
	RetentionDuration *int `mandatory:"false" json:"retentionDuration"`

	Configuration *UpdateConfigurationDetails `mandatory:"false" json:"configuration"`
}

UpdateLogDetails Update log object properties.

func (UpdateLogDetails) String

func (m UpdateLogDetails) String() string

func (UpdateLogDetails) ValidateEnumValue

func (m UpdateLogDetails) 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 UpdateLogGroupDetails

type UpdateLogGroupDetails struct {

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateLogGroupDetails The details to update a log group.

func (UpdateLogGroupDetails) String

func (m UpdateLogGroupDetails) String() string

func (UpdateLogGroupDetails) ValidateEnumValue

func (m UpdateLogGroupDetails) 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 UpdateLogGroupRequest

type UpdateLogGroupRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// LogGroup config parameters to update.
	UpdateLogGroupDetails `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"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

UpdateLogGroupRequest wrapper for the UpdateLogGroup operation

See also

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

func (UpdateLogGroupRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateLogGroupRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateLogGroupRequest) RetryPolicy

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

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

func (UpdateLogGroupRequest) String

func (request UpdateLogGroupRequest) String() string

func (UpdateLogGroupRequest) ValidateEnumValue

func (request UpdateLogGroupRequest) 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 UpdateLogGroupResponse

type UpdateLogGroupResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

UpdateLogGroupResponse wrapper for the UpdateLogGroup operation

func (UpdateLogGroupResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateLogGroupResponse) String

func (response UpdateLogGroupResponse) String() string

type UpdateLogRequest

type UpdateLogRequest struct {

	// OCID of a log group to work with.
	LogGroupId *string `mandatory:"true" contributesTo:"path" name:"logGroupId"`

	// OCID of a log to work with.
	LogId *string `mandatory:"true" contributesTo:"path" name:"logId"`

	// Log config parameters to update.
	UpdateLogDetails `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"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

UpdateLogRequest wrapper for the UpdateLog operation

See also

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

func (UpdateLogRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateLogRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateLogRequest) RetryPolicy

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

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

func (UpdateLogRequest) String

func (request UpdateLogRequest) String() string

func (UpdateLogRequest) ValidateEnumValue

func (request UpdateLogRequest) 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 UpdateLogResponse

type UpdateLogResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

UpdateLogResponse wrapper for the UpdateLog operation

func (UpdateLogResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateLogResponse) String

func (response UpdateLogResponse) String() string

type UpdateLogSavedSearchDetails

type UpdateLogSavedSearchDetails struct {

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	Name *string `mandatory:"false" json:"name"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	// The search query that is saved.
	Query *string `mandatory:"false" json:"query"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
}

UpdateLogSavedSearchDetails The update details to update a LogSavedSearch.

func (UpdateLogSavedSearchDetails) String

func (UpdateLogSavedSearchDetails) ValidateEnumValue

func (m UpdateLogSavedSearchDetails) 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 UpdateLogSavedSearchRequest

type UpdateLogSavedSearchRequest struct {

	// OCID of the logSavedSearch.
	LogSavedSearchId *string `mandatory:"true" contributesTo:"path" name:"logSavedSearchId"`

	// Updates to the saved search.
	UpdateLogSavedSearchDetails `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"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

UpdateLogSavedSearchRequest wrapper for the UpdateLogSavedSearch operation

See also

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

func (UpdateLogSavedSearchRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateLogSavedSearchRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateLogSavedSearchRequest) RetryPolicy

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

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

func (UpdateLogSavedSearchRequest) String

func (request UpdateLogSavedSearchRequest) String() string

func (UpdateLogSavedSearchRequest) ValidateEnumValue

func (request UpdateLogSavedSearchRequest) 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 UpdateLogSavedSearchResponse

type UpdateLogSavedSearchResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The LogSavedSearch instance
	LogSavedSearch `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 optimistic concurrency control. See `if-match`.
	Etag *string `presentIn:"header" name:"etag"`
}

UpdateLogSavedSearchResponse wrapper for the UpdateLogSavedSearch operation

func (UpdateLogSavedSearchResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateLogSavedSearchResponse) String

func (response UpdateLogSavedSearchResponse) String() string

type UpdateUnifiedAgentConfigurationDetails

type UpdateUnifiedAgentConfigurationDetails struct {

	// The user-friendly display name. This must be unique within the enclosing resource,
	// and it's changeable. Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Whether or not this resource is currently enabled.
	IsEnabled *bool `mandatory:"true" json:"isEnabled"`

	ServiceConfiguration UnifiedAgentServiceConfigurationDetails `mandatory:"true" json:"serviceConfiguration"`

	// Defined tags for this resource. Each key is predefined and scoped to a
	// namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Operations": {"CostCenter": "42"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// Free-form tags for this resource. Each tag is a simple key-value pair with no
	// predefined name, type, or namespace. For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
	// Example: `{"Department": "Finance"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Description for this resource.
	Description *string `mandatory:"false" json:"description"`

	GroupAssociation *GroupAssociationDetails `mandatory:"false" json:"groupAssociation"`
}

UpdateUnifiedAgentConfigurationDetails Update Object for the Unified Agent configuration.

func (UpdateUnifiedAgentConfigurationDetails) String

func (*UpdateUnifiedAgentConfigurationDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateUnifiedAgentConfigurationDetails) ValidateEnumValue

func (m UpdateUnifiedAgentConfigurationDetails) 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 UpdateUnifiedAgentConfigurationRequest

type UpdateUnifiedAgentConfigurationRequest struct {

	// The OCID of the Unified Agent configuration.
	UnifiedAgentConfigurationId *string `mandatory:"true" contributesTo:"path" name:"unifiedAgentConfigurationId"`

	// Unified agent configuration to update. Empty group associations list doesn't modify the list, null value for group association clears all the previous associations.
	UpdateUnifiedAgentConfigurationDetails `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"`

	// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about
	// a particular request, please provide the request ID.
	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
}

UpdateUnifiedAgentConfigurationRequest wrapper for the UpdateUnifiedAgentConfiguration operation

See also

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

func (UpdateUnifiedAgentConfigurationRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateUnifiedAgentConfigurationRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateUnifiedAgentConfigurationRequest) RetryPolicy

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

func (UpdateUnifiedAgentConfigurationRequest) String

func (UpdateUnifiedAgentConfigurationRequest) ValidateEnumValue

func (request UpdateUnifiedAgentConfigurationRequest) 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 UpdateUnifiedAgentConfigurationResponse

type UpdateUnifiedAgentConfigurationResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// The OCID of the work request.
	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"`
}

UpdateUnifiedAgentConfigurationResponse wrapper for the UpdateUnifiedAgentConfiguration operation

func (UpdateUnifiedAgentConfigurationResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateUnifiedAgentConfigurationResponse) String

type WorkRequest

type WorkRequest struct {

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

	// The type of work the work request is doing.
	OperationType OperationTypesEnum `mandatory:"true" json:"operationType"`

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

	// The work request's compartment OCID.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources this work request affects.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The time the work request was accepted.
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The time the work request was started.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the work request was finished.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest A work request.

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. Error codes are listed at
	// 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 date and time string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestLog

type WorkRequestLog struct {

	// Human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The time the log message was written. An RFC3339-formatted date and time string.
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLog A log message from the execution of a work request.

func (WorkRequestLog) String

func (m WorkRequestLog) String() string

func (WorkRequestLog) ValidateEnumValue

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

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

type WorkRequestResource

type WorkRequestResource struct {

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

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource, at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypesEnum `mandatory:"true" json:"actionType"`

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

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

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

type WorkRequestSummary

type WorkRequestSummary struct {

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

	// The type of work the work request is doing.
	OperationType OperationTypesEnum `mandatory:"false" json:"operationType,omitempty"`

	// The current status of the work request.
	Status OperationStatusEnum `mandatory:"false" json:"status,omitempty"`

	// The OCID of the work request's compartment.
	CompartmentId *string `mandatory:"false" json:"compartmentId"`

	// The resources this work request affects.
	Resources []WorkRequestResource `mandatory:"false" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"false" json:"percentComplete"`

	// The time the work request was accepted.
	TimeAccepted *common.SDKTime `mandatory:"false" json:"timeAccepted"`

	// The time the work request was started.
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The time the work request was finished.
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequestSummary A summary of a work request.

func (WorkRequestSummary) String

func (m WorkRequestSummary) String() string

func (WorkRequestSummary) ValidateEnumValue

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

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

Source Files

Jump to

Keyboard shortcuts

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