ActionTypesEnum Enum with underlying type: string
type ActionTypesEnum string
Set of constants representing the allowable values for ActionTypesEnum
const ( ActionTypesCreated ActionTypesEnum = "CREATED" ActionTypesUpdated ActionTypesEnum = "UPDATED" ActionTypesDeleted ActionTypesEnum = "DELETED" ActionTypesInProgress ActionTypesEnum = "IN_PROGRESS" ActionTypesRelated ActionTypesEnum = "RELATED" )
func GetActionTypesEnumValues() []ActionTypesEnum
GetActionTypesEnumValues Enumerates the set of values for ActionTypesEnum
Archiving Log archiving configuration.
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"` }
func (m Archiving) String() string
Category Categories for resources.
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"` }
func (m Category) String() string
ChangeLogGroupCompartmentDetails Contains details indicating which compartment the resource should move to.
type ChangeLogGroupCompartmentDetails struct { // The compartment into which the resource should be moved. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeLogGroupCompartmentDetails) String() string
ChangeLogGroupCompartmentRequest wrapper for the ChangeLogGroupCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeLogGroupCompartment.go.html to see an example of how to use 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 }
func (request ChangeLogGroupCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeLogGroupCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeLogGroupCompartmentRequest) String() string
ChangeLogGroupCompartmentResponse wrapper for the ChangeLogGroupCompartment operation
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"` }
func (response ChangeLogGroupCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeLogGroupCompartmentResponse) String() string
ChangeLogLogGroupDetails Contains details indicating which log group the log should move to.
type ChangeLogLogGroupDetails struct { // Log group OCID. TargetLogGroupId *string `mandatory:"false" json:"targetLogGroupId"` }
func (m ChangeLogLogGroupDetails) String() string
ChangeLogLogGroupRequest wrapper for the ChangeLogLogGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeLogLogGroup.go.html to see an example of how to use 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 }
func (request ChangeLogLogGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeLogLogGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeLogLogGroupRequest) String() string
ChangeLogLogGroupResponse wrapper for the ChangeLogLogGroup operation
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"` }
func (response ChangeLogLogGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeLogLogGroupResponse) String() string
ChangeLogSavedSearchCompartmentDetails Contains details indicating which compartment the resource should move to
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"` }
func (m ChangeLogSavedSearchCompartmentDetails) String() string
ChangeLogSavedSearchCompartmentRequest wrapper for the ChangeLogSavedSearchCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeLogSavedSearchCompartment.go.html to see an example of how to use 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 }
func (request ChangeLogSavedSearchCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeLogSavedSearchCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeLogSavedSearchCompartmentRequest) String() string
ChangeLogSavedSearchCompartmentResponse wrapper for the ChangeLogSavedSearchCompartment operation
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"` }
func (response ChangeLogSavedSearchCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeLogSavedSearchCompartmentResponse) String() string
ChangeUnifiedAgentConfigurationCompartmentDetails Contains details indicating which compartment the resource should move to.
type ChangeUnifiedAgentConfigurationCompartmentDetails struct { // The OCID the compartment into which the resource should be moved. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeUnifiedAgentConfigurationCompartmentDetails) String() string
ChangeUnifiedAgentConfigurationCompartmentRequest wrapper for the ChangeUnifiedAgentConfigurationCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeUnifiedAgentConfigurationCompartment.go.html to see an example of how to use 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 }
func (request ChangeUnifiedAgentConfigurationCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeUnifiedAgentConfigurationCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeUnifiedAgentConfigurationCompartmentRequest) String() string
ChangeUnifiedAgentConfigurationCompartmentResponse wrapper for the ChangeUnifiedAgentConfigurationCompartment operation
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"` }
func (response ChangeUnifiedAgentConfigurationCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeUnifiedAgentConfigurationCompartmentResponse) String() string
Configuration Log object 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"` }
func (m Configuration) String() string
func (m *Configuration) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateLogDetails The details to create a log object.
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"` }
func (m CreateLogDetails) String() string
CreateLogDetailsLogTypeEnum Enum with underlying type: string
type CreateLogDetailsLogTypeEnum string
Set of constants representing the allowable values for CreateLogDetailsLogTypeEnum
const ( CreateLogDetailsLogTypeCustom CreateLogDetailsLogTypeEnum = "CUSTOM" CreateLogDetailsLogTypeService CreateLogDetailsLogTypeEnum = "SERVICE" )
func GetCreateLogDetailsLogTypeEnumValues() []CreateLogDetailsLogTypeEnum
GetCreateLogDetailsLogTypeEnumValues Enumerates the set of values for CreateLogDetailsLogTypeEnum
CreateLogGroupDetails The details to create a log group.
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"` }
func (m CreateLogGroupDetails) String() string
CreateLogGroupRequest wrapper for the CreateLogGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateLogGroup.go.html to see an example of how to use 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 }
func (request CreateLogGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateLogGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateLogGroupRequest) String() string
CreateLogGroupResponse wrapper for the CreateLogGroup operation
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"` }
func (response CreateLogGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateLogGroupResponse) String() string
CreateLogRequest wrapper for the CreateLog operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateLog.go.html to see an example of how to use 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 }
func (request CreateLogRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateLogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateLogRequest) String() string
CreateLogResponse wrapper for the CreateLog operation
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"` }
func (response CreateLogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateLogResponse) String() string
CreateLogSavedSearchDetails A log saved search that can be used to save and share a given search result.
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"` }
func (m CreateLogSavedSearchDetails) String() string
CreateLogSavedSearchRequest wrapper for the CreateLogSavedSearch operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateLogSavedSearch.go.html to see an example of how to use 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 }
func (request CreateLogSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateLogSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateLogSavedSearchRequest) String() string
CreateLogSavedSearchResponse wrapper for the CreateLogSavedSearch operation
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"` }
func (response CreateLogSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateLogSavedSearchResponse) String() string
CreateUnifiedAgentConfigurationDetails Unified Agent configuration creation object.
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"` }
func (m CreateUnifiedAgentConfigurationDetails) String() string
func (m *CreateUnifiedAgentConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateUnifiedAgentConfigurationRequest wrapper for the CreateUnifiedAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateUnifiedAgentConfiguration.go.html to see an example of how to use 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 }
func (request CreateUnifiedAgentConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateUnifiedAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateUnifiedAgentConfigurationRequest) String() string
CreateUnifiedAgentConfigurationResponse wrapper for the CreateUnifiedAgentConfiguration operation
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"` }
func (response CreateUnifiedAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateUnifiedAgentConfigurationResponse) String() string
DeleteLogGroupRequest wrapper for the DeleteLogGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteLogGroup.go.html to see an example of how to use 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 }
func (request DeleteLogGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteLogGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteLogGroupRequest) String() string
DeleteLogGroupResponse wrapper for the DeleteLogGroup operation
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"` }
func (response DeleteLogGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteLogGroupResponse) String() string
DeleteLogRequest wrapper for the DeleteLog operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteLog.go.html to see an example of how to use 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 }
func (request DeleteLogRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteLogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteLogRequest) String() string
DeleteLogResponse wrapper for the DeleteLog operation
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"` }
func (response DeleteLogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteLogResponse) String() string
DeleteLogSavedSearchRequest wrapper for the DeleteLogSavedSearch operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteLogSavedSearch.go.html to see an example of how to use 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 }
func (request DeleteLogSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteLogSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteLogSavedSearchRequest) String() string
DeleteLogSavedSearchResponse wrapper for the DeleteLogSavedSearch operation
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"` }
func (response DeleteLogSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteLogSavedSearchResponse) String() string
DeleteUnifiedAgentConfigurationRequest wrapper for the DeleteUnifiedAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteUnifiedAgentConfiguration.go.html to see an example of how to use 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 }
func (request DeleteUnifiedAgentConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteUnifiedAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteUnifiedAgentConfigurationRequest) String() string
DeleteUnifiedAgentConfigurationResponse wrapper for the DeleteUnifiedAgentConfiguration operation
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"` }
func (response DeleteUnifiedAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteUnifiedAgentConfigurationResponse) String() string
DeleteWorkRequestRequest wrapper for the DeleteWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteWorkRequest.go.html to see an example of how to use 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 }
func (request DeleteWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteWorkRequestRequest) String() string
DeleteWorkRequestResponse wrapper for the DeleteWorkRequest operation
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"` }
func (response DeleteWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteWorkRequestResponse) String() string
GetLogGroupRequest wrapper for the GetLogGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLogGroup.go.html to see an example of how to use 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 }
func (request GetLogGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLogGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLogGroupRequest) String() string
GetLogGroupResponse wrapper for the GetLogGroup operation
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"` }
func (response GetLogGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLogGroupResponse) String() string
GetLogIncludedSearchRequest wrapper for the GetLogIncludedSearch operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLogIncludedSearch.go.html to see an example of how to use 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 }
func (request GetLogIncludedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLogIncludedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLogIncludedSearchRequest) String() string
GetLogIncludedSearchResponse wrapper for the GetLogIncludedSearch operation
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"` }
func (response GetLogIncludedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLogIncludedSearchResponse) String() string
GetLogRequest wrapper for the GetLog operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLog.go.html to see an example of how to use 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 }
func (request GetLogRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLogRequest) String() string
GetLogResponse wrapper for the GetLog operation
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"` }
func (response GetLogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLogResponse) String() string
GetLogSavedSearchRequest wrapper for the GetLogSavedSearch operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLogSavedSearch.go.html to see an example of how to use 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 }
func (request GetLogSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetLogSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetLogSavedSearchRequest) String() string
GetLogSavedSearchResponse wrapper for the GetLogSavedSearch operation
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"` }
func (response GetLogSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetLogSavedSearchResponse) String() string
GetUnifiedAgentConfigurationRequest wrapper for the GetUnifiedAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetUnifiedAgentConfiguration.go.html to see an example of how to use 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 }
func (request GetUnifiedAgentConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetUnifiedAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetUnifiedAgentConfigurationRequest) String() string
GetUnifiedAgentConfigurationResponse wrapper for the GetUnifiedAgentConfiguration operation
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"` }
func (response GetUnifiedAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetUnifiedAgentConfigurationResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetWorkRequest.go.html to see an example of how to use 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 }
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
GrokPattern grok pattern object.
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"` }
func (m GrokPattern) String() string
GroupAssociationDetails Groups using the configuration.
type GroupAssociationDetails struct { // list of group/dynamic group ids associated with this configuration. GroupList []string `mandatory:"false" json:"groupList"` }
func (m GroupAssociationDetails) String() string
ListLogGroupsRequest wrapper for the ListLogGroups operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogGroups.go.html to see an example of how to use 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 }
func (request ListLogGroupsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLogGroupsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLogGroupsRequest) String() string
ListLogGroupsResponse wrapper for the ListLogGroups operation
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"` }
func (response ListLogGroupsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLogGroupsResponse) String() string
ListLogGroupsSortByEnum Enum with underlying type: string
type ListLogGroupsSortByEnum string
Set of constants representing the allowable values for ListLogGroupsSortByEnum
const ( ListLogGroupsSortByTimecreated ListLogGroupsSortByEnum = "timeCreated" ListLogGroupsSortByDisplayname ListLogGroupsSortByEnum = "displayName" )
func GetListLogGroupsSortByEnumValues() []ListLogGroupsSortByEnum
GetListLogGroupsSortByEnumValues Enumerates the set of values for ListLogGroupsSortByEnum
ListLogGroupsSortOrderEnum Enum with underlying type: string
type ListLogGroupsSortOrderEnum string
Set of constants representing the allowable values for ListLogGroupsSortOrderEnum
const ( ListLogGroupsSortOrderAsc ListLogGroupsSortOrderEnum = "ASC" ListLogGroupsSortOrderDesc ListLogGroupsSortOrderEnum = "DESC" )
func GetListLogGroupsSortOrderEnumValues() []ListLogGroupsSortOrderEnum
GetListLogGroupsSortOrderEnumValues Enumerates the set of values for ListLogGroupsSortOrderEnum
ListLogIncludedSearchesRequest wrapper for the ListLogIncludedSearches operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogIncludedSearches.go.html to see an example of how to use 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 }
func (request ListLogIncludedSearchesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLogIncludedSearchesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLogIncludedSearchesRequest) String() string
ListLogIncludedSearchesResponse wrapper for the ListLogIncludedSearches operation
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"` }
func (response ListLogIncludedSearchesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLogIncludedSearchesResponse) String() string
ListLogIncludedSearchesSortByEnum Enum with underlying type: string
type ListLogIncludedSearchesSortByEnum string
Set of constants representing the allowable values for ListLogIncludedSearchesSortByEnum
const ( ListLogIncludedSearchesSortByTimecreated ListLogIncludedSearchesSortByEnum = "timeCreated" ListLogIncludedSearchesSortByDisplayname ListLogIncludedSearchesSortByEnum = "displayName" )
func GetListLogIncludedSearchesSortByEnumValues() []ListLogIncludedSearchesSortByEnum
GetListLogIncludedSearchesSortByEnumValues Enumerates the set of values for ListLogIncludedSearchesSortByEnum
ListLogIncludedSearchesSortOrderEnum Enum with underlying type: string
type ListLogIncludedSearchesSortOrderEnum string
Set of constants representing the allowable values for ListLogIncludedSearchesSortOrderEnum
const ( ListLogIncludedSearchesSortOrderAsc ListLogIncludedSearchesSortOrderEnum = "ASC" ListLogIncludedSearchesSortOrderDesc ListLogIncludedSearchesSortOrderEnum = "DESC" )
func GetListLogIncludedSearchesSortOrderEnumValues() []ListLogIncludedSearchesSortOrderEnum
GetListLogIncludedSearchesSortOrderEnumValues Enumerates the set of values for ListLogIncludedSearchesSortOrderEnum
ListLogSavedSearchesRequest wrapper for the ListLogSavedSearches operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogSavedSearches.go.html to see an example of how to use 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 }
func (request ListLogSavedSearchesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLogSavedSearchesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLogSavedSearchesRequest) String() string
ListLogSavedSearchesResponse wrapper for the ListLogSavedSearches operation
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"` }
func (response ListLogSavedSearchesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLogSavedSearchesResponse) String() string
ListLogSavedSearchesSortByEnum Enum with underlying type: string
type ListLogSavedSearchesSortByEnum string
Set of constants representing the allowable values for ListLogSavedSearchesSortByEnum
const ( ListLogSavedSearchesSortByTimecreated ListLogSavedSearchesSortByEnum = "timeCreated" ListLogSavedSearchesSortByDisplayname ListLogSavedSearchesSortByEnum = "displayName" )
func GetListLogSavedSearchesSortByEnumValues() []ListLogSavedSearchesSortByEnum
GetListLogSavedSearchesSortByEnumValues Enumerates the set of values for ListLogSavedSearchesSortByEnum
ListLogSavedSearchesSortOrderEnum Enum with underlying type: string
type ListLogSavedSearchesSortOrderEnum string
Set of constants representing the allowable values for ListLogSavedSearchesSortOrderEnum
const ( ListLogSavedSearchesSortOrderAsc ListLogSavedSearchesSortOrderEnum = "ASC" ListLogSavedSearchesSortOrderDesc ListLogSavedSearchesSortOrderEnum = "DESC" )
func GetListLogSavedSearchesSortOrderEnumValues() []ListLogSavedSearchesSortOrderEnum
GetListLogSavedSearchesSortOrderEnumValues Enumerates the set of values for ListLogSavedSearchesSortOrderEnum
ListLogsLifecycleStateEnum Enum with underlying type: string
type ListLogsLifecycleStateEnum string
Set of constants representing the allowable values for ListLogsLifecycleStateEnum
const ( ListLogsLifecycleStateCreating ListLogsLifecycleStateEnum = "CREATING" ListLogsLifecycleStateActive ListLogsLifecycleStateEnum = "ACTIVE" ListLogsLifecycleStateUpdating ListLogsLifecycleStateEnum = "UPDATING" ListLogsLifecycleStateInactive ListLogsLifecycleStateEnum = "INACTIVE" ListLogsLifecycleStateDeleting ListLogsLifecycleStateEnum = "DELETING" ListLogsLifecycleStateFailed ListLogsLifecycleStateEnum = "FAILED" )
func GetListLogsLifecycleStateEnumValues() []ListLogsLifecycleStateEnum
GetListLogsLifecycleStateEnumValues Enumerates the set of values for ListLogsLifecycleStateEnum
ListLogsLogTypeEnum Enum with underlying type: string
type ListLogsLogTypeEnum string
Set of constants representing the allowable values for ListLogsLogTypeEnum
const ( ListLogsLogTypeCustom ListLogsLogTypeEnum = "CUSTOM" ListLogsLogTypeService ListLogsLogTypeEnum = "SERVICE" )
func GetListLogsLogTypeEnumValues() []ListLogsLogTypeEnum
GetListLogsLogTypeEnumValues Enumerates the set of values for ListLogsLogTypeEnum
ListLogsRequest wrapper for the ListLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogs.go.html to see an example of how to use 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 }
func (request ListLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListLogsRequest) String() string
ListLogsResponse wrapper for the ListLogs operation
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"` }
func (response ListLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListLogsResponse) String() string
ListLogsSortByEnum Enum with underlying type: string
type ListLogsSortByEnum string
Set of constants representing the allowable values for ListLogsSortByEnum
const ( ListLogsSortByTimecreated ListLogsSortByEnum = "timeCreated" ListLogsSortByDisplayname ListLogsSortByEnum = "displayName" )
func GetListLogsSortByEnumValues() []ListLogsSortByEnum
GetListLogsSortByEnumValues Enumerates the set of values for ListLogsSortByEnum
ListLogsSortOrderEnum Enum with underlying type: string
type ListLogsSortOrderEnum string
Set of constants representing the allowable values for ListLogsSortOrderEnum
const ( ListLogsSortOrderAsc ListLogsSortOrderEnum = "ASC" ListLogsSortOrderDesc ListLogsSortOrderEnum = "DESC" )
func GetListLogsSortOrderEnumValues() []ListLogsSortOrderEnum
GetListLogsSortOrderEnumValues Enumerates the set of values for ListLogsSortOrderEnum
ListServicesRequest wrapper for the ListServices operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListServices.go.html to see an example of how to use 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 }
func (request ListServicesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListServicesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListServicesRequest) String() string
ListServicesResponse wrapper for the ListServices operation
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"` }
func (response ListServicesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListServicesResponse) String() string
ListUnifiedAgentConfigurationsLifecycleStateEnum Enum with underlying type: string
type ListUnifiedAgentConfigurationsLifecycleStateEnum string
Set of constants representing the allowable values for ListUnifiedAgentConfigurationsLifecycleStateEnum
const ( ListUnifiedAgentConfigurationsLifecycleStateCreating ListUnifiedAgentConfigurationsLifecycleStateEnum = "CREATING" ListUnifiedAgentConfigurationsLifecycleStateActive ListUnifiedAgentConfigurationsLifecycleStateEnum = "ACTIVE" ListUnifiedAgentConfigurationsLifecycleStateUpdating ListUnifiedAgentConfigurationsLifecycleStateEnum = "UPDATING" ListUnifiedAgentConfigurationsLifecycleStateInactive ListUnifiedAgentConfigurationsLifecycleStateEnum = "INACTIVE" ListUnifiedAgentConfigurationsLifecycleStateDeleting ListUnifiedAgentConfigurationsLifecycleStateEnum = "DELETING" ListUnifiedAgentConfigurationsLifecycleStateFailed ListUnifiedAgentConfigurationsLifecycleStateEnum = "FAILED" )
func GetListUnifiedAgentConfigurationsLifecycleStateEnumValues() []ListUnifiedAgentConfigurationsLifecycleStateEnum
GetListUnifiedAgentConfigurationsLifecycleStateEnumValues Enumerates the set of values for ListUnifiedAgentConfigurationsLifecycleStateEnum
ListUnifiedAgentConfigurationsRequest wrapper for the ListUnifiedAgentConfigurations operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListUnifiedAgentConfigurations.go.html to see an example of how to use 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 }
func (request ListUnifiedAgentConfigurationsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListUnifiedAgentConfigurationsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListUnifiedAgentConfigurationsRequest) String() string
ListUnifiedAgentConfigurationsResponse wrapper for the ListUnifiedAgentConfigurations operation
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"` }
func (response ListUnifiedAgentConfigurationsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListUnifiedAgentConfigurationsResponse) String() string
ListUnifiedAgentConfigurationsSortByEnum Enum with underlying type: string
type ListUnifiedAgentConfigurationsSortByEnum string
Set of constants representing the allowable values for ListUnifiedAgentConfigurationsSortByEnum
const ( ListUnifiedAgentConfigurationsSortByTimecreated ListUnifiedAgentConfigurationsSortByEnum = "timeCreated" ListUnifiedAgentConfigurationsSortByDisplayname ListUnifiedAgentConfigurationsSortByEnum = "displayName" )
func GetListUnifiedAgentConfigurationsSortByEnumValues() []ListUnifiedAgentConfigurationsSortByEnum
GetListUnifiedAgentConfigurationsSortByEnumValues Enumerates the set of values for ListUnifiedAgentConfigurationsSortByEnum
ListUnifiedAgentConfigurationsSortOrderEnum Enum with underlying type: string
type ListUnifiedAgentConfigurationsSortOrderEnum string
Set of constants representing the allowable values for ListUnifiedAgentConfigurationsSortOrderEnum
const ( ListUnifiedAgentConfigurationsSortOrderAsc ListUnifiedAgentConfigurationsSortOrderEnum = "ASC" ListUnifiedAgentConfigurationsSortOrderDesc ListUnifiedAgentConfigurationsSortOrderEnum = "DESC" )
func GetListUnifiedAgentConfigurationsSortOrderEnumValues() []ListUnifiedAgentConfigurationsSortOrderEnum
GetListUnifiedAgentConfigurationsSortOrderEnumValues Enumerates the set of values for ListUnifiedAgentConfigurationsSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListWorkRequestErrors.go.html to see an example of how to use 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 }
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
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"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListWorkRequestLogs.go.html to see an example of how to use 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 }
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
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"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListWorkRequests.go.html to see an example of how to use 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 }
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
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"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByOperationtype ListWorkRequestsSortByEnum = "operationType" ListWorkRequestsSortByStatus ListWorkRequestsSortByEnum = "status" ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCancelling ListWorkRequestsStatusEnum = "CANCELLING" ListWorkRequestsStatusCanceled ListWorkRequestsStatusEnum = "CANCELED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
Log Represents a log object.
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"` }
func (m Log) String() string
LogGroup Represents a LogGroup object.
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"` }
func (m LogGroup) String() string
LogGroupLifecycleStateEnum Enum with underlying type: string
type LogGroupLifecycleStateEnum string
Set of constants representing the allowable values for LogGroupLifecycleStateEnum
const ( LogGroupLifecycleStateCreating LogGroupLifecycleStateEnum = "CREATING" LogGroupLifecycleStateActive LogGroupLifecycleStateEnum = "ACTIVE" LogGroupLifecycleStateUpdating LogGroupLifecycleStateEnum = "UPDATING" LogGroupLifecycleStateInactive LogGroupLifecycleStateEnum = "INACTIVE" LogGroupLifecycleStateDeleting LogGroupLifecycleStateEnum = "DELETING" LogGroupLifecycleStateFailed LogGroupLifecycleStateEnum = "FAILED" )
func GetLogGroupLifecycleStateEnumValues() []LogGroupLifecycleStateEnum
GetLogGroupLifecycleStateEnumValues Enumerates the set of values for LogGroupLifecycleStateEnum
LogGroupSummary Log group configuration summary.
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"` }
func (m LogGroupSummary) String() string
LogIncludedSearch A search provided by OCI that serves common customer needs.
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"` }
func (m LogIncludedSearch) String() string
LogIncludedSearchSummary A summary of what the OCI included search does.
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"` }
func (m LogIncludedSearchSummary) String() string
LogIncludedSearchSummaryCollection A set of LogIncludedSummary
type LogIncludedSearchSummaryCollection struct { // The list of summaries Items []LogIncludedSearchSummary `mandatory:"true" json:"items"` }
func (m LogIncludedSearchSummaryCollection) String() string
LogLifecycleStateEnum Enum with underlying type: string
type LogLifecycleStateEnum string
Set of constants representing the allowable values for LogLifecycleStateEnum
const ( LogLifecycleStateCreating LogLifecycleStateEnum = "CREATING" LogLifecycleStateActive LogLifecycleStateEnum = "ACTIVE" LogLifecycleStateUpdating LogLifecycleStateEnum = "UPDATING" LogLifecycleStateInactive LogLifecycleStateEnum = "INACTIVE" LogLifecycleStateDeleting LogLifecycleStateEnum = "DELETING" LogLifecycleStateFailed LogLifecycleStateEnum = "FAILED" )
func GetLogLifecycleStateEnumValues() []LogLifecycleStateEnum
GetLogLifecycleStateEnumValues Enumerates the set of values for LogLifecycleStateEnum
LogLogTypeEnum Enum with underlying type: string
type LogLogTypeEnum string
Set of constants representing the allowable values for LogLogTypeEnum
const ( LogLogTypeCustom LogLogTypeEnum = "CUSTOM" LogLogTypeService LogLogTypeEnum = "SERVICE" )
func GetLogLogTypeEnumValues() []LogLogTypeEnum
GetLogLogTypeEnumValues Enumerates the set of values for LogLogTypeEnum
LogSavedSearch A log saved search that can be used to save and share a given search result.
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"` }
func (m LogSavedSearch) String() string
LogSavedSearchLifecycleStateEnum Enum with underlying type: string
type LogSavedSearchLifecycleStateEnum string
Set of constants representing the allowable values for LogSavedSearchLifecycleStateEnum
const ( LogSavedSearchLifecycleStateCreating LogSavedSearchLifecycleStateEnum = "CREATING" LogSavedSearchLifecycleStateActive LogSavedSearchLifecycleStateEnum = "ACTIVE" LogSavedSearchLifecycleStateUpdating LogSavedSearchLifecycleStateEnum = "UPDATING" LogSavedSearchLifecycleStateInactive LogSavedSearchLifecycleStateEnum = "INACTIVE" LogSavedSearchLifecycleStateDeleting LogSavedSearchLifecycleStateEnum = "DELETING" LogSavedSearchLifecycleStateFailed LogSavedSearchLifecycleStateEnum = "FAILED" )
func GetLogSavedSearchLifecycleStateEnumValues() []LogSavedSearchLifecycleStateEnum
GetLogSavedSearchLifecycleStateEnumValues Enumerates the set of values for LogSavedSearchLifecycleStateEnum
LogSavedSearchSummary A summary of a log saved search that can be used to save and share a given search result.
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"` }
func (m LogSavedSearchSummary) String() string
LogSavedSearchSummaryCollection A collection of LogSavedSearchSummary items.
type LogSavedSearchSummaryCollection struct { // The Saved Seach Summaries Items []LogSavedSearchSummary `mandatory:"true" json:"items"` }
func (m LogSavedSearchSummaryCollection) String() string
LogSummary Log object configuration summary.
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"` }
func (m LogSummary) String() string
LogSummaryLogTypeEnum Enum with underlying type: string
type LogSummaryLogTypeEnum string
Set of constants representing the allowable values for LogSummaryLogTypeEnum
const ( LogSummaryLogTypeCustom LogSummaryLogTypeEnum = "CUSTOM" LogSummaryLogTypeService LogSummaryLogTypeEnum = "SERVICE" )
func GetLogSummaryLogTypeEnumValues() []LogSummaryLogTypeEnum
GetLogSummaryLogTypeEnumValues Enumerates the set of values for LogSummaryLogTypeEnum
LoggingManagementClient a client for LoggingManagement
type LoggingManagementClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeLogGroupCompartment.go.html to see an example of how to use ChangeLogGroupCompartment API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeLogLogGroup.go.html to see an example of how to use ChangeLogLogGroup API.
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeLogSavedSearchCompartment.go.html to see an example of how to use ChangeLogSavedSearchCompartment API.
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).
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ChangeUnifiedAgentConfigurationCompartment.go.html to see an example of how to use ChangeUnifiedAgentConfigurationCompartment API.
func (client *LoggingManagementClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateLog.go.html to see an example of how to use CreateLog API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateLogGroup.go.html to see an example of how to use CreateLogGroup API.
func (client LoggingManagementClient) CreateLogSavedSearch(ctx context.Context, request CreateLogSavedSearchRequest) (response CreateLogSavedSearchResponse, err error)
CreateLogSavedSearch Creates a new LogSavedSearch.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateLogSavedSearch.go.html to see an example of how to use CreateLogSavedSearch API.
func (client LoggingManagementClient) CreateUnifiedAgentConfiguration(ctx context.Context, request CreateUnifiedAgentConfigurationRequest) (response CreateUnifiedAgentConfigurationResponse, err error)
CreateUnifiedAgentConfiguration Create unified agent configuration registration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/CreateUnifiedAgentConfiguration.go.html to see an example of how to use CreateUnifiedAgentConfiguration API.
func (client LoggingManagementClient) DeleteLog(ctx context.Context, request DeleteLogRequest) (response DeleteLogResponse, err error)
DeleteLog Deletes the log object in a log group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteLog.go.html to see an example of how to use DeleteLog API.
func (client LoggingManagementClient) DeleteLogGroup(ctx context.Context, request DeleteLogGroupRequest) (response DeleteLogGroupResponse, err error)
DeleteLogGroup Deletes the specified log group.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteLogGroup.go.html to see an example of how to use DeleteLogGroup API.
func (client LoggingManagementClient) DeleteLogSavedSearch(ctx context.Context, request DeleteLogSavedSearchRequest) (response DeleteLogSavedSearchResponse, err error)
DeleteLogSavedSearch Deletes the specified log saved search.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteLogSavedSearch.go.html to see an example of how to use DeleteLogSavedSearch API.
func (client LoggingManagementClient) DeleteUnifiedAgentConfiguration(ctx context.Context, request DeleteUnifiedAgentConfigurationRequest) (response DeleteUnifiedAgentConfigurationResponse, err error)
DeleteUnifiedAgentConfiguration Delete unified agent configuration.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteUnifiedAgentConfiguration.go.html to see an example of how to use DeleteUnifiedAgentConfiguration API.
func (client LoggingManagementClient) DeleteWorkRequest(ctx context.Context, request DeleteWorkRequestRequest) (response DeleteWorkRequestResponse, err error)
DeleteWorkRequest Cancel a work request that has not started yet.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/DeleteWorkRequest.go.html to see an example of how to use DeleteWorkRequest API.
func (client LoggingManagementClient) GetLog(ctx context.Context, request GetLogRequest) (response GetLogResponse, err error)
GetLog Gets the log object configuration for the log object OCID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLog.go.html to see an example of how to use GetLog API.
func (client LoggingManagementClient) GetLogGroup(ctx context.Context, request GetLogGroupRequest) (response GetLogGroupResponse, err error)
GetLogGroup Get the specified log group's information.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLogGroup.go.html to see an example of how to use GetLogGroup API.
func (client LoggingManagementClient) GetLogIncludedSearch(ctx context.Context, request GetLogIncludedSearchRequest) (response GetLogIncludedSearchResponse, err error)
GetLogIncludedSearch Retrieves a LogIncludedSearch.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLogIncludedSearch.go.html to see an example of how to use GetLogIncludedSearch API.
func (client LoggingManagementClient) GetLogSavedSearch(ctx context.Context, request GetLogSavedSearchRequest) (response GetLogSavedSearchResponse, err error)
GetLogSavedSearch Retrieves a log saved search.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetLogSavedSearch.go.html to see an example of how to use GetLogSavedSearch API.
func (client LoggingManagementClient) GetUnifiedAgentConfiguration(ctx context.Context, request GetUnifiedAgentConfigurationRequest) (response GetUnifiedAgentConfigurationResponse, err error)
GetUnifiedAgentConfiguration Get the unified agent configuration for an ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetUnifiedAgentConfiguration.go.html to see an example of how to use GetUnifiedAgentConfiguration API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client LoggingManagementClient) ListLogGroups(ctx context.Context, request ListLogGroupsRequest) (response ListLogGroupsResponse, err error)
ListLogGroups Lists all log groups for the specified compartment or tenancy.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogGroups.go.html to see an example of how to use ListLogGroups API.
func (client LoggingManagementClient) ListLogIncludedSearches(ctx context.Context, request ListLogIncludedSearchesRequest) (response ListLogIncludedSearchesResponse, err error)
ListLogIncludedSearches Lists Logging Included Searches for this compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogIncludedSearches.go.html to see an example of how to use ListLogIncludedSearches API.
func (client LoggingManagementClient) ListLogSavedSearches(ctx context.Context, request ListLogSavedSearchesRequest) (response ListLogSavedSearchesResponse, err error)
ListLogSavedSearches Lists Logging Saved Searches for this compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogSavedSearches.go.html to see an example of how to use ListLogSavedSearches API.
func (client LoggingManagementClient) ListLogs(ctx context.Context, request ListLogsRequest) (response ListLogsResponse, err error)
ListLogs Lists the specified log group's log objects.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListLogs.go.html to see an example of how to use ListLogs API.
func (client LoggingManagementClient) ListServices(ctx context.Context, request ListServicesRequest) (response ListServicesResponse, err error)
ListServices Lists all services that support logging.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListServices.go.html to see an example of how to use ListServices API.
func (client LoggingManagementClient) ListUnifiedAgentConfigurations(ctx context.Context, request ListUnifiedAgentConfigurationsRequest) (response ListUnifiedAgentConfigurationsResponse, err error)
ListUnifiedAgentConfigurations Lists all unified agent configurations in the specified compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListUnifiedAgentConfigurations.go.html to see an example of how to use ListUnifiedAgentConfigurations API.
func (client LoggingManagementClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Return a list of errors for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client LoggingManagementClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Return a list of logs for a given work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client LoggingManagementClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *LoggingManagementClient) SetRegion(region string)
SetRegion overrides the region of this client.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateLog.go.html to see an example of how to use UpdateLog API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateLogGroup.go.html to see an example of how to use UpdateLogGroup API.
func (client LoggingManagementClient) UpdateLogSavedSearch(ctx context.Context, request UpdateLogSavedSearchRequest) (response UpdateLogSavedSearchResponse, err error)
UpdateLogSavedSearch Updates an existing log saved search.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateLogSavedSearch.go.html to see an example of how to use UpdateLogSavedSearch API.
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.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateUnifiedAgentConfiguration.go.html to see an example of how to use UpdateUnifiedAgentConfiguration API.
OciService OCI service logging configuration.
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"` }
func (m OciService) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m OciService) String() string
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCancelling OperationStatusEnum = "CANCELLING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypesEnum Enum with underlying type: string
type OperationTypesEnum string
Set of constants representing the allowable values for OperationTypesEnum
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" )
func GetOperationTypesEnumValues() []OperationTypesEnum
GetOperationTypesEnumValues Enumerates the set of values for OperationTypesEnum
Parameter Parameters that a resource category supports.
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"` }
func (m Parameter) String() string
ParameterTypeEnum Enum with underlying type: string
type ParameterTypeEnum string
Set of constants representing the allowable values for ParameterTypeEnum
const ( ParameterTypeInteger ParameterTypeEnum = "integer" ParameterTypeString ParameterTypeEnum = "string" ParameterTypeBoolean ParameterTypeEnum = "boolean" )
func GetParameterTypeEnumValues() []ParameterTypeEnum
GetParameterTypeEnumValues Enumerates the set of values for ParameterTypeEnum
ResourceType Type of resource that a service provides.
type ResourceType struct { // Resource type name. Name *string `mandatory:"false" json:"name"` // Categories for resources. Categories []Category `mandatory:"false" json:"categories"` }
func (m ResourceType) String() string
ServiceSummary Summary of services that are integrated with public logging.
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"` }
func (m ServiceSummary) String() string
Source The source the log object comes from.
type Source interface { }
SourceSourceTypeEnum Enum with underlying type: string
type SourceSourceTypeEnum string
Set of constants representing the allowable values for SourceSourceTypeEnum
const ( SourceSourceTypeOciservice SourceSourceTypeEnum = "OCISERVICE" )
func GetSourceSourceTypeEnumValues() []SourceSourceTypeEnum
GetSourceSourceTypeEnumValues Enumerates the set of values for SourceSourceTypeEnum
SourceUpdateDetails Source updated configuration.
type SourceUpdateDetails struct { // Log category parameters are stored here. Parameters map[string]string `mandatory:"false" json:"parameters"` }
func (m SourceUpdateDetails) String() string
UnifiedAgentApache2Parser Apache 2 log parser.
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"` }
func (m UnifiedAgentApache2Parser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentApache2Parser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentApache2Parser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentApache2Parser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentApache2Parser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentApache2Parser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentApache2Parser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentApache2Parser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentApache2Parser) String() string
UnifiedAgentApacheErrorParser Apache error log parser.
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"` }
func (m UnifiedAgentApacheErrorParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentApacheErrorParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentApacheErrorParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentApacheErrorParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentApacheErrorParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentApacheErrorParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentApacheErrorParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentApacheErrorParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentApacheErrorParser) String() string
UnifiedAgentAuditdParser auditd parser.
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"` }
func (m UnifiedAgentAuditdParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentAuditdParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentAuditdParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentAuditdParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentAuditdParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentAuditdParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentAuditdParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentAuditdParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentAuditdParser) String() string
UnifiedAgentConfiguration Top Unified Agent configuration object.
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"` }
func (m UnifiedAgentConfiguration) String() string
func (m *UnifiedAgentConfiguration) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UnifiedAgentConfigurationCollection Results of a UnifiedAgentConfiguration search. Contains UnifiedAgentConfigurationSummary items.
type UnifiedAgentConfigurationCollection struct { // List of UnifiedAgentConfigurationSummary. Items []UnifiedAgentConfigurationSummary `mandatory:"true" json:"items"` }
func (m UnifiedAgentConfigurationCollection) String() string
UnifiedAgentConfigurationSummary Unified Agent configuration summary object returned by the list API.
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"` }
func (m UnifiedAgentConfigurationSummary) String() string
UnifiedAgentCsvParser CSV Parser.
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"` }
func (m UnifiedAgentCsvParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentCsvParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentCsvParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentCsvParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentCsvParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentCsvParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentCsvParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentCsvParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentCsvParser) String() string
UnifiedAgentGrokParser grok parser.
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"` }
func (m UnifiedAgentGrokParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentGrokParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentGrokParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentGrokParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentGrokParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentGrokParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentGrokParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentGrokParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentGrokParser) String() string
UnifiedAgentLoggingConfiguration Unified Agent logging service configuration object.
type UnifiedAgentLoggingConfiguration struct { Sources []UnifiedAgentLoggingSource `mandatory:"false" json:"sources"` Destination *UnifiedAgentLoggingDestination `mandatory:"false" json:"destination"` }
func (m UnifiedAgentLoggingConfiguration) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentLoggingConfiguration) String() string
func (m *UnifiedAgentLoggingConfiguration) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UnifiedAgentLoggingDestination Logging destination object.
type UnifiedAgentLoggingDestination struct { // The OCID of the resource. LogObjectId *string `mandatory:"true" json:"logObjectId"` }
func (m UnifiedAgentLoggingDestination) String() string
UnifiedAgentLoggingSource Logging source object.
type UnifiedAgentLoggingSource interface { // unique name for the source GetName() *string }
UnifiedAgentLoggingSourceSourceTypeEnum Enum with underlying type: string
type UnifiedAgentLoggingSourceSourceTypeEnum string
Set of constants representing the allowable values for UnifiedAgentLoggingSourceSourceTypeEnum
const ( UnifiedAgentLoggingSourceSourceTypeLogTail UnifiedAgentLoggingSourceSourceTypeEnum = "LOG_TAIL" UnifiedAgentLoggingSourceSourceTypeWindowsEventLog UnifiedAgentLoggingSourceSourceTypeEnum = "WINDOWS_EVENT_LOG" )
func GetUnifiedAgentLoggingSourceSourceTypeEnumValues() []UnifiedAgentLoggingSourceSourceTypeEnum
GetUnifiedAgentLoggingSourceSourceTypeEnumValues Enumerates the set of values for UnifiedAgentLoggingSourceSourceTypeEnum
UnifiedAgentMsgpackParser msgpack parser.
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"` }
func (m UnifiedAgentMsgpackParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentMsgpackParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentMsgpackParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentMsgpackParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentMsgpackParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentMsgpackParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentMsgpackParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentMsgpackParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentMsgpackParser) String() string
UnifiedAgentMultilineGrokParser Multiline grok parser.
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"` }
func (m UnifiedAgentMultilineGrokParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentMultilineGrokParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentMultilineGrokParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentMultilineGrokParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentMultilineGrokParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentMultilineGrokParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentMultilineGrokParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentMultilineGrokParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentMultilineGrokParser) String() string
UnifiedAgentMultilineParser Multiline parser.
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"` }
func (m UnifiedAgentMultilineParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentMultilineParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentMultilineParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentMultilineParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentMultilineParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentMultilineParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentMultilineParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentMultilineParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentMultilineParser) String() string
UnifiedAgentNoneParser This parser signifies a non-parser, and puts the entire log line in a message_key.
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"` }
func (m UnifiedAgentNoneParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentNoneParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentNoneParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentNoneParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentNoneParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentNoneParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentNoneParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentNoneParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentNoneParser) String() string
UnifiedAgentParser source parser object.
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 }
UnifiedAgentParserParserTypeEnum Enum with underlying type: string
type UnifiedAgentParserParserTypeEnum string
Set of constants representing the allowable values for UnifiedAgentParserParserTypeEnum
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" )
func GetUnifiedAgentParserParserTypeEnumValues() []UnifiedAgentParserParserTypeEnum
GetUnifiedAgentParserParserTypeEnumValues Enumerates the set of values for UnifiedAgentParserParserTypeEnum
UnifiedAgentRegexParser regexp parser.
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"` }
func (m UnifiedAgentRegexParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentRegexParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentRegexParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentRegexParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentRegexParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentRegexParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentRegexParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentRegexParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentRegexParser) String() string
UnifiedAgentServiceConfigurationDetails Top level Unified Agent service configuration object.
type UnifiedAgentServiceConfigurationDetails interface { }
UnifiedAgentServiceConfigurationStatesEnum Enum with underlying type: string
type UnifiedAgentServiceConfigurationStatesEnum string
Set of constants representing the allowable values for UnifiedAgentServiceConfigurationStatesEnum
const ( UnifiedAgentServiceConfigurationStatesValid UnifiedAgentServiceConfigurationStatesEnum = "VALID" UnifiedAgentServiceConfigurationStatesInvalid UnifiedAgentServiceConfigurationStatesEnum = "INVALID" )
func GetUnifiedAgentServiceConfigurationStatesEnumValues() []UnifiedAgentServiceConfigurationStatesEnum
GetUnifiedAgentServiceConfigurationStatesEnumValues Enumerates the set of values for UnifiedAgentServiceConfigurationStatesEnum
UnifiedAgentServiceConfigurationTypesEnum Enum with underlying type: string
type UnifiedAgentServiceConfigurationTypesEnum string
Set of constants representing the allowable values for UnifiedAgentServiceConfigurationTypesEnum
const ( UnifiedAgentServiceConfigurationTypesLogging UnifiedAgentServiceConfigurationTypesEnum = "LOGGING" )
func GetUnifiedAgentServiceConfigurationTypesEnumValues() []UnifiedAgentServiceConfigurationTypesEnum
GetUnifiedAgentServiceConfigurationTypesEnumValues Enumerates the set of values for UnifiedAgentServiceConfigurationTypesEnum
UnifiedAgentSyslogParser Syslog Parser.
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"` }
func (m UnifiedAgentSyslogParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentSyslogParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentSyslogParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentSyslogParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentSyslogParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentSyslogParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentSyslogParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentSyslogParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentSyslogParser) String() string
UnifiedAgentSyslogParserMessageFormatEnum Enum with underlying type: string
type UnifiedAgentSyslogParserMessageFormatEnum string
Set of constants representing the allowable values for UnifiedAgentSyslogParserMessageFormatEnum
const ( UnifiedAgentSyslogParserMessageFormatRfc3164 UnifiedAgentSyslogParserMessageFormatEnum = "RFC3164" UnifiedAgentSyslogParserMessageFormatRfc5424 UnifiedAgentSyslogParserMessageFormatEnum = "RFC5424" UnifiedAgentSyslogParserMessageFormatAuto UnifiedAgentSyslogParserMessageFormatEnum = "AUTO" )
func GetUnifiedAgentSyslogParserMessageFormatEnumValues() []UnifiedAgentSyslogParserMessageFormatEnum
GetUnifiedAgentSyslogParserMessageFormatEnumValues Enumerates the set of values for UnifiedAgentSyslogParserMessageFormatEnum
UnifiedAgentSyslogParserSyslogParserTypeEnum Enum with underlying type: string
type UnifiedAgentSyslogParserSyslogParserTypeEnum string
Set of constants representing the allowable values for UnifiedAgentSyslogParserSyslogParserTypeEnum
const ( UnifiedAgentSyslogParserSyslogParserTypeString UnifiedAgentSyslogParserSyslogParserTypeEnum = "STRING" UnifiedAgentSyslogParserSyslogParserTypeRegexp UnifiedAgentSyslogParserSyslogParserTypeEnum = "REGEXP" )
func GetUnifiedAgentSyslogParserSyslogParserTypeEnumValues() []UnifiedAgentSyslogParserSyslogParserTypeEnum
GetUnifiedAgentSyslogParserSyslogParserTypeEnumValues Enumerates the set of values for UnifiedAgentSyslogParserSyslogParserTypeEnum
UnifiedAgentTailLogSource Tail log source object.
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"` }
func (m UnifiedAgentTailLogSource) GetName() *string
GetName returns Name
func (m UnifiedAgentTailLogSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentTailLogSource) String() string
func (m *UnifiedAgentTailLogSource) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UnifiedAgentTsvParser TSV Parser.
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"` }
func (m UnifiedAgentTsvParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedAgentTsvParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedAgentTsvParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedAgentTsvParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedAgentTsvParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedAgentTsvParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedAgentTsvParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedAgentTsvParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentTsvParser) String() string
UnifiedAgentWindowsEventSource Windows events log source object.
type UnifiedAgentWindowsEventSource struct { // unique name for the source Name *string `mandatory:"true" json:"name"` Channels []string `mandatory:"false" json:"channels"` }
func (m UnifiedAgentWindowsEventSource) GetName() *string
GetName returns Name
func (m UnifiedAgentWindowsEventSource) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedAgentWindowsEventSource) String() string
UnifiedJsonParser JSON parser.
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"` }
func (m UnifiedJsonParser) GetFieldTimeKey() *string
GetFieldTimeKey returns FieldTimeKey
func (m UnifiedJsonParser) GetIsEstimateCurrentEvent() *bool
GetIsEstimateCurrentEvent returns IsEstimateCurrentEvent
func (m UnifiedJsonParser) GetIsKeepTimeKey() *bool
GetIsKeepTimeKey returns IsKeepTimeKey
func (m UnifiedJsonParser) GetIsNullEmptyString() *bool
GetIsNullEmptyString returns IsNullEmptyString
func (m UnifiedJsonParser) GetNullValuePattern() *string
GetNullValuePattern returns NullValuePattern
func (m UnifiedJsonParser) GetTimeoutInMilliseconds() *int
GetTimeoutInMilliseconds returns TimeoutInMilliseconds
func (m UnifiedJsonParser) GetTypes() map[string]string
GetTypes returns Types
func (m UnifiedJsonParser) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m UnifiedJsonParser) String() string
UnifiedJsonParserTimeTypeEnum Enum with underlying type: string
type UnifiedJsonParserTimeTypeEnum string
Set of constants representing the allowable values for UnifiedJsonParserTimeTypeEnum
const ( UnifiedJsonParserTimeTypeFloat UnifiedJsonParserTimeTypeEnum = "FLOAT" UnifiedJsonParserTimeTypeUnixtime UnifiedJsonParserTimeTypeEnum = "UNIXTIME" UnifiedJsonParserTimeTypeString UnifiedJsonParserTimeTypeEnum = "STRING" )
func GetUnifiedJsonParserTimeTypeEnumValues() []UnifiedJsonParserTimeTypeEnum
GetUnifiedJsonParserTimeTypeEnumValues Enumerates the set of values for UnifiedJsonParserTimeTypeEnum
UpdateConfigurationDetails The updatable configuration properties.
type UpdateConfigurationDetails struct { Source *SourceUpdateDetails `mandatory:"true" json:"source"` Archiving *Archiving `mandatory:"false" json:"archiving"` }
func (m UpdateConfigurationDetails) String() string
UpdateLogDetails Update log object properties.
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"` }
func (m UpdateLogDetails) String() string
UpdateLogGroupDetails The details to update a log group.
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"` }
func (m UpdateLogGroupDetails) String() string
UpdateLogGroupRequest wrapper for the UpdateLogGroup operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateLogGroup.go.html to see an example of how to use 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 }
func (request UpdateLogGroupRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateLogGroupRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateLogGroupRequest) String() string
UpdateLogGroupResponse wrapper for the UpdateLogGroup operation
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"` }
func (response UpdateLogGroupResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateLogGroupResponse) String() string
UpdateLogRequest wrapper for the UpdateLog operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateLog.go.html to see an example of how to use 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 }
func (request UpdateLogRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateLogRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateLogRequest) String() string
UpdateLogResponse wrapper for the UpdateLog operation
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"` }
func (response UpdateLogResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateLogResponse) String() string
UpdateLogSavedSearchDetails The update details to update a log saved search.
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"` }
func (m UpdateLogSavedSearchDetails) String() string
UpdateLogSavedSearchRequest wrapper for the UpdateLogSavedSearch operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateLogSavedSearch.go.html to see an example of how to use 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 }
func (request UpdateLogSavedSearchRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateLogSavedSearchRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateLogSavedSearchRequest) String() string
UpdateLogSavedSearchResponse wrapper for the UpdateLogSavedSearch operation
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"` }
func (response UpdateLogSavedSearchResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateLogSavedSearchResponse) String() string
UpdateUnifiedAgentConfigurationDetails Update Object for the Unified Agent configuration.
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"` }
func (m UpdateUnifiedAgentConfigurationDetails) String() string
func (m *UpdateUnifiedAgentConfigurationDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
UpdateUnifiedAgentConfigurationRequest wrapper for the UpdateUnifiedAgentConfiguration operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/logging/UpdateUnifiedAgentConfiguration.go.html to see an example of how to use 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 }
func (request UpdateUnifiedAgentConfigurationRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateUnifiedAgentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateUnifiedAgentConfigurationRequest) String() string
UpdateUnifiedAgentConfigurationResponse wrapper for the UpdateUnifiedAgentConfiguration operation
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"` }
func (response UpdateUnifiedAgentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateUnifiedAgentConfigurationResponse) String() string
WorkRequest A work request.
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"` }
func (m WorkRequest) String() string
WorkRequestError An error encountered while executing a work request.
type WorkRequestError struct { // A machine-usable code for the error that occured. Error codes are listed 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"` }
func (m WorkRequestError) String() string
WorkRequestLog A log message from the execution of a work request.
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"` }
func (m WorkRequestLog) String() string
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource, at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType 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"` }
func (m WorkRequestResource) String() string
WorkRequestSummary A summary of a work request.
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"` }
func (m WorkRequestSummary) String() string