logging

package
v43.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type 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

type Archiving

type Archiving struct {

	// True if archiving enabled. This field is now decrecated, you should use cloud flow to enable archiving.
	IsEnabled *bool `mandatory:"false" json:"isEnabled"`
}

Archiving Log archiving configuration.

func (Archiving) String

func (m Archiving) String() string

type Category

type Category struct {

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

	// Category display name.
	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

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

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

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

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

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

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

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

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

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

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).
	RetentionDuration *int `mandatory:"false" json:"retentionDuration"`
}

CreateLogDetails The details to create a log object.

func (CreateLogDetails) String

func (m CreateLogDetails) String() string

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

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

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

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

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 log saved search that can be used to save and share a given search result.

func (CreateLogSavedSearchDetails) String

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

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 {

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

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

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

CreateUnifiedAgentConfigurationDetails Unified Agent configuration creation object.

func (CreateUnifiedAgentConfigurationDetails) String

func (*CreateUnifiedAgentConfigurationDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

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

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

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

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

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

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

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

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 GetLogIncludedSearchRequest

type GetLogIncludedSearchRequest struct {

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

	// OCID of the included search
	LogIncludedSearchId *string `mandatory:"true" contributesTo:"path" name:"logIncludedSearchId"`

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

GetLogIncludedSearchRequest wrapper for the GetLogIncludedSearch operation

See also

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

func (GetLogIncludedSearchRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetLogIncludedSearchRequest) HTTPRequest

func (request GetLogIncludedSearchRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetLogIncludedSearchRequest) RetryPolicy

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

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

func (GetLogIncludedSearchRequest) String

func (request GetLogIncludedSearchRequest) String() string

type GetLogIncludedSearchResponse

type GetLogIncludedSearchResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetLogIncludedSearchResponse wrapper for the GetLogIncludedSearch operation

func (GetLogIncludedSearchResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetLogIncludedSearchResponse) String

func (response GetLogIncludedSearchResponse) 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) (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

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

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

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) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

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

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

type ListLogIncludedSearchesRequest

type ListLogIncludedSearchesRequest struct {

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

	// OCID of the LogIncludedSearch
	LogIncludedSearchId *string `mandatory:"false" contributesTo:"query" name:"logIncludedSearchId"`

	// 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 ListLogIncludedSearchesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

	// The sort order to use, whether 'asc' or 'desc'.
	SortOrder ListLogIncludedSearchesSortOrderEnum `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
}

ListLogIncludedSearchesRequest wrapper for the ListLogIncludedSearches operation

See also

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

func (ListLogIncludedSearchesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListLogIncludedSearchesRequest) HTTPRequest

func (request ListLogIncludedSearchesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListLogIncludedSearchesRequest) RetryPolicy

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

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

func (ListLogIncludedSearchesRequest) String

func (request ListLogIncludedSearchesRequest) String() string

type ListLogIncludedSearchesResponse

type ListLogIncludedSearchesResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

ListLogIncludedSearchesResponse wrapper for the ListLogIncludedSearches operation

func (ListLogIncludedSearchesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListLogIncludedSearchesResponse) String

func (response ListLogIncludedSearchesResponse) String() string

type ListLogIncludedSearchesSortByEnum

type ListLogIncludedSearchesSortByEnum string

ListLogIncludedSearchesSortByEnum Enum with underlying type: string

const (
	ListLogIncludedSearchesSortByTimecreated ListLogIncludedSearchesSortByEnum = "timeCreated"
	ListLogIncludedSearchesSortByDisplayname ListLogIncludedSearchesSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListLogIncludedSearchesSortByEnum

func GetListLogIncludedSearchesSortByEnumValues

func GetListLogIncludedSearchesSortByEnumValues() []ListLogIncludedSearchesSortByEnum

GetListLogIncludedSearchesSortByEnumValues Enumerates the set of values for ListLogIncludedSearchesSortByEnum

type ListLogIncludedSearchesSortOrderEnum

type ListLogIncludedSearchesSortOrderEnum string

ListLogIncludedSearchesSortOrderEnum Enum with underlying type: string

const (
	ListLogIncludedSearchesSortOrderAsc  ListLogIncludedSearchesSortOrderEnum = "ASC"
	ListLogIncludedSearchesSortOrderDesc ListLogIncludedSearchesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListLogIncludedSearchesSortOrderEnum

func GetListLogIncludedSearchesSortOrderEnumValues

func GetListLogIncludedSearchesSortOrderEnumValues() []ListLogIncludedSearchesSortOrderEnum

GetListLogIncludedSearchesSortOrderEnumValues Enumerates the set of values for ListLogIncludedSearchesSortOrderEnum

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

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

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

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

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

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.
	SourceService *string `mandatory:"false" contributesTo:"query" name:"sourceService"`

	// Log object resource.
	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) (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

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

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

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

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

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

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

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

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) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []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) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []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) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of []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

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

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

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

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

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

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

type LogIncludedSearch

type LogIncludedSearch struct {

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

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

LogIncludedSearch A search provided by OCI that serves common customer needs.

func (LogIncludedSearch) String

func (m LogIncludedSearch) String() string

type LogIncludedSearchSummary

type LogIncludedSearchSummary struct {

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

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

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

LogIncludedSearchSummary A summary of what the OCI included search does.

func (LogIncludedSearchSummary) String

func (m LogIncludedSearchSummary) String() string

type LogIncludedSearchSummaryCollection

type LogIncludedSearchSummaryCollection struct {

	// The list of summaries
	Items []LogIncludedSearchSummary `mandatory:"true" json:"items"`
}

LogIncludedSearchSummaryCollection A set of LogIncludedSummary

func (LogIncludedSearchSummaryCollection) String

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

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

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 log saved search that can be used to save and share a given search result.

func (LogSavedSearch) String

func (m LogSavedSearch) String() string

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

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 log saved search that can be used to save and share a given search result.

func (LogSavedSearchSummary) String

func (m LogSavedSearchSummary) String() string

type LogSavedSearchSummaryCollection

type LogSavedSearchSummaryCollection struct {

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

LogSavedSearchSummaryCollection A collection of LogSavedSearchSummary items.

func (LogSavedSearchSummaryCollection) String

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

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

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 log saved search.

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

func (client LoggingManagementClient) GetLogIncludedSearch(ctx context.Context, request GetLogIncludedSearchRequest) (response GetLogIncludedSearchResponse, err error)

GetLogIncludedSearch Retrieves a LogIncludedSearch.

See also

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

func (LoggingManagementClient) GetLogSavedSearch

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

GetLogSavedSearch Retrieves a log saved search.

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

func (client LoggingManagementClient) ListLogIncludedSearches(ctx context.Context, request ListLogIncludedSearchesRequest) (response ListLogIncludedSearchesResponse, err error)

ListLogIncludedSearches Lists Logging Included Searches for this compartment.

See also

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

func (LoggingManagementClient) ListLogSavedSearches

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

ListLogSavedSearches Lists Logging Saved Searches 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 log saved search.

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

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 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 GetOperationTypesEnumValues

func GetOperationTypesEnumValues() []OperationTypesEnum

GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum

type Parameter

type Parameter struct {

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

	// Parameter type. One of integer, string, boolean.
	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

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 GetParameterTypeEnumValues

func GetParameterTypeEnumValues() []ParameterTypeEnum

GetParameterTypeEnumValues Enumerates the set of values for ParameterTypeEnum

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

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

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

type UnifiedAgentApache2Parser

type UnifiedAgentApache2Parser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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

type UnifiedAgentApacheErrorParser

type UnifiedAgentApacheErrorParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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

type UnifiedAgentAuditdParser

type UnifiedAgentAuditdParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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

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

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

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

type UnifiedAgentCsvParser

type UnifiedAgentCsvParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	Delimiter *string `mandatory:"false" json:"delimiter"`

	Keys []string `mandatory:"false" json:"keys"`
}

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

type UnifiedAgentGrokParser

type UnifiedAgentGrokParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	GrokNameKey *string `mandatory:"false" json:"grokNameKey"`

	GrokFailureKey *string `mandatory:"false" json:"grokFailureKey"`

	Patterns []GrokPattern `mandatory:"false" json:"patterns"`
}

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

type UnifiedAgentLoggingConfiguration

type UnifiedAgentLoggingConfiguration struct {
	Sources []UnifiedAgentLoggingSource `mandatory:"false" json:"sources"`

	Destination *UnifiedAgentLoggingDestination `mandatory:"false" json:"destination"`
}

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

type UnifiedAgentLoggingDestination

type UnifiedAgentLoggingDestination struct {

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

UnifiedAgentLoggingDestination Logging destination object.

func (UnifiedAgentLoggingDestination) String

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

Set of constants representing the allowable values for UnifiedAgentLoggingSourceSourceTypeEnum

func GetUnifiedAgentLoggingSourceSourceTypeEnumValues

func GetUnifiedAgentLoggingSourceSourceTypeEnumValues() []UnifiedAgentLoggingSourceSourceTypeEnum

GetUnifiedAgentLoggingSourceSourceTypeEnumValues Enumerates the set of values for UnifiedAgentLoggingSourceSourceTypeEnum

type UnifiedAgentMsgpackParser

type UnifiedAgentMsgpackParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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

type UnifiedAgentMultilineGrokParser

type UnifiedAgentMultilineGrokParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	GrokNameKey *string `mandatory:"false" json:"grokNameKey"`

	GrokFailureKey *string `mandatory:"false" json:"grokFailureKey"`

	MultiLineStartRegexp *string `mandatory:"false" json:"multiLineStartRegexp"`

	Patterns []GrokPattern `mandatory:"false" json:"patterns"`
}

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

type UnifiedAgentMultilineParser

type UnifiedAgentMultilineParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	FormatFirstline *string `mandatory:"false" json:"formatFirstline"`

	Format []string `mandatory:"false" json:"format"`
}

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

type UnifiedAgentNoneParser

type UnifiedAgentNoneParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	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

type UnifiedAgentParser

type UnifiedAgentParser interface {

	// Specify 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.
	GetTypes() map[string]string

	// Specify the null value pattern.
	GetNullValuePattern() *string

	// If true, an empty string field is replaced with nil.
	GetIsNullEmptyString() *bool

	// If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.
	GetIsEstimateCurrentEvent() *bool

	// If true, keep 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 UnifiedAgentParserParserTypeEnum

type UnifiedAgentParserParserTypeEnum string

UnifiedAgentParserParserTypeEnum Enum with underlying type: string

const (
	UnifiedAgentParserParserTypeAuditd        UnifiedAgentParserParserTypeEnum = "AUDITD"
	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"
)

Set of constants representing the allowable values for UnifiedAgentParserParserTypeEnum

func GetUnifiedAgentParserParserTypeEnumValues

func GetUnifiedAgentParserParserTypeEnumValues() []UnifiedAgentParserParserTypeEnum

GetUnifiedAgentParserParserTypeEnumValues Enumerates the set of values for UnifiedAgentParserParserTypeEnum

type UnifiedAgentRegexParser

type UnifiedAgentRegexParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	Expression *string `mandatory:"false" json:"expression"`

	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

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

Set of constants representing the allowable values for UnifiedAgentServiceConfigurationTypesEnum

func GetUnifiedAgentServiceConfigurationTypesEnumValues

func GetUnifiedAgentServiceConfigurationTypesEnumValues() []UnifiedAgentServiceConfigurationTypesEnum

GetUnifiedAgentServiceConfigurationTypesEnumValues Enumerates the set of values for UnifiedAgentServiceConfigurationTypesEnum

type UnifiedAgentSyslogParser

type UnifiedAgentSyslogParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	TimeFormat *string `mandatory:"false" json:"timeFormat"`

	Rfc5424TimeFormat *string `mandatory:"false" json:"rfc5424TimeFormat"`

	IsWithPriority *bool `mandatory:"false" json:"isWithPriority"`

	IsSupportColonlessIdent *bool `mandatory:"false" json:"isSupportColonlessIdent"`

	MessageFormat UnifiedAgentSyslogParserMessageFormatEnum `mandatory:"false" json:"messageFormat,omitempty"`

	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

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

	Paths []string `mandatory:"false" json:"paths"`

	Parser UnifiedAgentParser `mandatory:"false" json:"parser"`
}

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

type UnifiedAgentTsvParser

type UnifiedAgentTsvParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	Delimiter *string `mandatory:"false" json:"delimiter"`

	Keys []string `mandatory:"false" json:"keys"`
}

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

type UnifiedAgentWindowsEventSource

type UnifiedAgentWindowsEventSource struct {

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

	Channels []string `mandatory:"false" 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

type UnifiedJsonParser

type UnifiedJsonParser struct {

	// Specify 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.
	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 nil.
	IsNullEmptyString *bool `mandatory:"false" json:"isNullEmptyString"`

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

	// If true, keep 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"`

	TimeFormat *string `mandatory:"false" json:"timeFormat"`

	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

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

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

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

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

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

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 log saved search.

func (UpdateLogSavedSearchDetails) String

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

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

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

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

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

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

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

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

Source Files

Jump to

Keyboard shortcuts

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