sch

package
v65.81.1 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, UPL-1.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetActionTypeEnumStringValues

func GetActionTypeEnumStringValues() []string

GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum

func GetConnectorPluginKindEnumStringValues added in v65.60.0

func GetConnectorPluginKindEnumStringValues() []string

GetConnectorPluginKindEnumStringValues Enumerates the set of values in String for ConnectorPluginKindEnum

func GetConnectorPluginLifecycleStateEnumStringValues added in v65.60.0

func GetConnectorPluginLifecycleStateEnumStringValues() []string

GetConnectorPluginLifecycleStateEnumStringValues Enumerates the set of values in String for ConnectorPluginLifecycleStateEnum

func GetConnectorPluginSummaryKindEnumStringValues added in v65.60.0

func GetConnectorPluginSummaryKindEnumStringValues() []string

GetConnectorPluginSummaryKindEnumStringValues Enumerates the set of values in String for ConnectorPluginSummaryKindEnum

func GetDimensionValueDetailsKindEnumStringValues

func GetDimensionValueDetailsKindEnumStringValues() []string

GetDimensionValueDetailsKindEnumStringValues Enumerates the set of values in String for DimensionValueDetailsKindEnum

func GetEstimatedThroughputEnumStringValues added in v65.60.0

func GetEstimatedThroughputEnumStringValues() []string

GetEstimatedThroughputEnumStringValues Enumerates the set of values in String for EstimatedThroughputEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListConnectorPluginsLifecycleStateEnumStringValues added in v65.60.0

func GetListConnectorPluginsLifecycleStateEnumStringValues() []string

GetListConnectorPluginsLifecycleStateEnumStringValues Enumerates the set of values in String for ListConnectorPluginsLifecycleStateEnum

func GetListConnectorPluginsSortByEnumStringValues added in v65.60.0

func GetListConnectorPluginsSortByEnumStringValues() []string

GetListConnectorPluginsSortByEnumStringValues Enumerates the set of values in String for ListConnectorPluginsSortByEnum

func GetListConnectorPluginsSortOrderEnumStringValues added in v65.60.0

func GetListConnectorPluginsSortOrderEnumStringValues() []string

GetListConnectorPluginsSortOrderEnumStringValues Enumerates the set of values in String for ListConnectorPluginsSortOrderEnum

func GetListServiceConnectorsLifecycleStateEnumStringValues

func GetListServiceConnectorsLifecycleStateEnumStringValues() []string

GetListServiceConnectorsLifecycleStateEnumStringValues Enumerates the set of values in String for ListServiceConnectorsLifecycleStateEnum

func GetListServiceConnectorsSortByEnumStringValues

func GetListServiceConnectorsSortByEnumStringValues() []string

GetListServiceConnectorsSortByEnumStringValues Enumerates the set of values in String for ListServiceConnectorsSortByEnum

func GetListServiceConnectorsSortOrderEnumStringValues

func GetListServiceConnectorsSortOrderEnumStringValues() []string

GetListServiceConnectorsSortOrderEnumStringValues Enumerates the set of values in String for ListServiceConnectorsSortOrderEnum

func GetMonitoringSourceMetricDetailsKindEnumStringValues added in v65.3.0

func GetMonitoringSourceMetricDetailsKindEnumStringValues() []string

GetMonitoringSourceMetricDetailsKindEnumStringValues Enumerates the set of values in String for MonitoringSourceMetricDetailsKindEnum

func GetMonitoringSourceNamespaceDetailsKindEnumStringValues added in v65.3.0

func GetMonitoringSourceNamespaceDetailsKindEnumStringValues() []string

GetMonitoringSourceNamespaceDetailsKindEnumStringValues Enumerates the set of values in String for MonitoringSourceNamespaceDetailsKindEnum

func GetOperationStatusEnumStringValues

func GetOperationStatusEnumStringValues() []string

GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum

func GetOperationTypeEnumStringValues

func GetOperationTypeEnumStringValues() []string

GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetSourceDetailsKindEnumStringValues

func GetSourceDetailsKindEnumStringValues() []string

GetSourceDetailsKindEnumStringValues Enumerates the set of values in String for SourceDetailsKindEnum

func GetStreamingCursorDetailsKindEnumStringValues

func GetStreamingCursorDetailsKindEnumStringValues() []string

GetStreamingCursorDetailsKindEnumStringValues Enumerates the set of values in String for StreamingCursorDetailsKindEnum

func GetTargetDetailsKindEnumStringValues

func GetTargetDetailsKindEnumStringValues() []string

GetTargetDetailsKindEnumStringValues Enumerates the set of values in String for TargetDetailsKindEnum

func GetTaskDetailsKindEnumStringValues

func GetTaskDetailsKindEnumStringValues() []string

GetTaskDetailsKindEnumStringValues Enumerates the set of values in String for TaskDetailsKindEnum

Types

type ActionTypeEnum

type ActionTypeEnum string

ActionTypeEnum Enum with underlying type: string

const (
	ActionTypeCreated    ActionTypeEnum = "CREATED"
	ActionTypeUpdated    ActionTypeEnum = "UPDATED"
	ActionTypeDeleted    ActionTypeEnum = "DELETED"
	ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS"
	ActionTypeRelated    ActionTypeEnum = "RELATED"
)

Set of constants representing the allowable values for ActionTypeEnum

func GetActionTypeEnumValues

func GetActionTypeEnumValues() []ActionTypeEnum

GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum

func GetMappingActionTypeEnum

func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)

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

type ActivateServiceConnectorRequest

type ActivateServiceConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	ServiceConnectorId *string `mandatory:"true" contributesTo:"path" name:"serviceConnectorId"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

ActivateServiceConnectorRequest wrapper for the ActivateServiceConnector operation

See also

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

func (ActivateServiceConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ActivateServiceConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ActivateServiceConnectorRequest) RetryPolicy

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

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

func (ActivateServiceConnectorRequest) String

func (request ActivateServiceConnectorRequest) String() string

func (ActivateServiceConnectorRequest) ValidateEnumValue

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

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

type ActivateServiceConnectorResponse

type ActivateServiceConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ActivateServiceConnectorResponse wrapper for the ActivateServiceConnector operation

func (ActivateServiceConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ActivateServiceConnectorResponse) String

func (response ActivateServiceConnectorResponse) String() string

type ChangeServiceConnectorCompartmentDetails

type ChangeServiceConnectorCompartmentDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// to move the connector to.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

ChangeServiceConnectorCompartmentDetails The configuration details for moving a connector to a different compartment.

func (ChangeServiceConnectorCompartmentDetails) String

func (ChangeServiceConnectorCompartmentDetails) ValidateEnumValue

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

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

type ChangeServiceConnectorCompartmentRequest

type ChangeServiceConnectorCompartmentRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	ServiceConnectorId *string `mandatory:"true" contributesTo:"path" name:"serviceConnectorId"`

	// The configuration details for moving a connector to a different compartment.
	ChangeServiceConnectorCompartmentDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

ChangeServiceConnectorCompartmentRequest wrapper for the ChangeServiceConnectorCompartment operation

See also

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

func (ChangeServiceConnectorCompartmentRequest) BinaryRequestBody

BinaryRequestBody implements the OCIRequest interface

func (ChangeServiceConnectorCompartmentRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ChangeServiceConnectorCompartmentRequest) RetryPolicy

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

func (ChangeServiceConnectorCompartmentRequest) String

func (ChangeServiceConnectorCompartmentRequest) ValidateEnumValue

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

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

type ChangeServiceConnectorCompartmentResponse

type ChangeServiceConnectorCompartmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

ChangeServiceConnectorCompartmentResponse wrapper for the ChangeServiceConnectorCompartment operation

func (ChangeServiceConnectorCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeServiceConnectorCompartmentResponse) String

type ConnectorPlugin added in v65.60.0

type ConnectorPlugin interface {

	// The service to be called by the connector plugin.
	// Example: `QueueSource`
	GetName() *string

	// The date and time when this plugin became available.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2023-09-09T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	// The current state of the service connector.
	GetLifecycleState() ConnectorPluginLifecycleStateEnum

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The estimated throughput range (LOW, MEDIUM, HIGH).
	GetEstimatedThroughput() EstimatedThroughputEnum

	// Gets the specified connector plugin configuration information in OpenAPI specification format.
	GetSchema() *string
}

ConnectorPlugin A service source or service target used to create a connector. Example connector plugins include the Queue source and the Notifications target. For more information about flows defined by connectors, see Overview of Connector Hub (https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm). For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

type ConnectorPluginCollection added in v65.60.0

type ConnectorPluginCollection struct {

	// A list of connector plugins.
	Items []ConnectorPluginSummary `mandatory:"true" json:"items"`
}

ConnectorPluginCollection A list of connector plugins that match filter criteria. Results contain `ConnectorPlugin` objects.

func (ConnectorPluginCollection) String added in v65.60.0

func (m ConnectorPluginCollection) String() string

func (*ConnectorPluginCollection) UnmarshalJSON added in v65.60.0

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

UnmarshalJSON unmarshals from json

func (ConnectorPluginCollection) ValidateEnumValue added in v65.60.0

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

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

type ConnectorPluginKindEnum added in v65.60.0

type ConnectorPluginKindEnum string

ConnectorPluginKindEnum Enum with underlying type: string

const (
	ConnectorPluginKindSource ConnectorPluginKindEnum = "SOURCE"
	ConnectorPluginKindTarget ConnectorPluginKindEnum = "TARGET"
)

Set of constants representing the allowable values for ConnectorPluginKindEnum

func GetConnectorPluginKindEnumValues added in v65.60.0

func GetConnectorPluginKindEnumValues() []ConnectorPluginKindEnum

GetConnectorPluginKindEnumValues Enumerates the set of values for ConnectorPluginKindEnum

func GetMappingConnectorPluginKindEnum added in v65.60.0

func GetMappingConnectorPluginKindEnum(val string) (ConnectorPluginKindEnum, bool)

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

type ConnectorPluginLifecycleStateEnum added in v65.60.0

type ConnectorPluginLifecycleStateEnum string

ConnectorPluginLifecycleStateEnum Enum with underlying type: string

const (
	ConnectorPluginLifecycleStateActive  ConnectorPluginLifecycleStateEnum = "ACTIVE"
	ConnectorPluginLifecycleStateDeleted ConnectorPluginLifecycleStateEnum = "DELETED"
)

Set of constants representing the allowable values for ConnectorPluginLifecycleStateEnum

func GetConnectorPluginLifecycleStateEnumValues added in v65.60.0

func GetConnectorPluginLifecycleStateEnumValues() []ConnectorPluginLifecycleStateEnum

GetConnectorPluginLifecycleStateEnumValues Enumerates the set of values for ConnectorPluginLifecycleStateEnum

func GetMappingConnectorPluginLifecycleStateEnum added in v65.60.0

func GetMappingConnectorPluginLifecycleStateEnum(val string) (ConnectorPluginLifecycleStateEnum, bool)

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

type ConnectorPluginSummary added in v65.60.0

type ConnectorPluginSummary interface {

	// The service to be called by the connector plugin.
	GetName() *string

	// The date and time when this plugin became available.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2023-09-10T21:10:29.600Z`
	GetTimeCreated() *common.SDKTime

	// The current state of the service connector.
	GetLifecycleState() ConnectorPluginLifecycleStateEnum

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	GetDisplayName() *string

	// The estimated throughput range (LOW, MEDIUM, HIGH).
	GetEstimatedThroughput() EstimatedThroughputEnum
}

ConnectorPluginSummary Summary information for a connector plugin. Example connector plugins include the Streaming source and the Notifications target. For more information about flows defined by connectors, see Overview of Connector Hub (https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm). For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

type ConnectorPluginSummaryKindEnum added in v65.60.0

type ConnectorPluginSummaryKindEnum string

ConnectorPluginSummaryKindEnum Enum with underlying type: string

const (
	ConnectorPluginSummaryKindSource ConnectorPluginSummaryKindEnum = "SOURCE"
	ConnectorPluginSummaryKindTarget ConnectorPluginSummaryKindEnum = "TARGET"
)

Set of constants representing the allowable values for ConnectorPluginSummaryKindEnum

func GetConnectorPluginSummaryKindEnumValues added in v65.60.0

func GetConnectorPluginSummaryKindEnumValues() []ConnectorPluginSummaryKindEnum

GetConnectorPluginSummaryKindEnumValues Enumerates the set of values for ConnectorPluginSummaryKindEnum

func GetMappingConnectorPluginSummaryKindEnum added in v65.60.0

func GetMappingConnectorPluginSummaryKindEnum(val string) (ConnectorPluginSummaryKindEnum, bool)

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

type ConnectorPluginsClient added in v65.60.0

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

ConnectorPluginsClient a client for ConnectorPlugins

func NewConnectorPluginsClientWithConfigurationProvider added in v65.60.0

func NewConnectorPluginsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ConnectorPluginsClient, err error)

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

func NewConnectorPluginsClientWithOboToken added in v65.60.0

func NewConnectorPluginsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ConnectorPluginsClient, err error)

NewConnectorPluginsClientWithOboToken Creates a new default ConnectorPlugins 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 (*ConnectorPluginsClient) ConfigurationProvider added in v65.60.0

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

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

func (ConnectorPluginsClient) GetConnectorPlugin added in v65.60.0

func (client ConnectorPluginsClient) GetConnectorPlugin(ctx context.Context, request GetConnectorPluginRequest) (response GetConnectorPluginResponse, err error)

GetConnectorPlugin Gets the specified connector plugin configuration information.

See also

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

func (ConnectorPluginsClient) ListConnectorPlugins added in v65.60.0

func (client ConnectorPluginsClient) ListConnectorPlugins(ctx context.Context, request ListConnectorPluginsRequest) (response ListConnectorPluginsResponse, err error)

ListConnectorPlugins Lists connector plugins according to the specified filter.

See also

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

func (*ConnectorPluginsClient) SetRegion added in v65.60.0

func (client *ConnectorPluginsClient) SetRegion(region string)

SetRegion overrides the region of this client.

type CreateServiceConnectorDetails

type CreateServiceConnectorDetails struct {

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the
	// comparment to create the connector in.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	Source SourceDetails `mandatory:"true" json:"source"`

	Target TargetDetails `mandatory:"true" json:"target"`

	// The description of the resource. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// The list of tasks.
	Tasks []TaskDetails `mandatory:"false" json:"tasks"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

CreateServiceConnectorDetails The configuration details for creating a connector.

func (CreateServiceConnectorDetails) String

func (*CreateServiceConnectorDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateServiceConnectorDetails) ValidateEnumValue

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

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

type CreateServiceConnectorRequest

type CreateServiceConnectorRequest struct {

	// Configuration details for the new connector.
	CreateServiceConnectorDetails `contributesTo:"body"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

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

CreateServiceConnectorRequest wrapper for the CreateServiceConnector operation

See also

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

func (CreateServiceConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateServiceConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateServiceConnectorRequest) RetryPolicy

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

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

func (CreateServiceConnectorRequest) String

func (request CreateServiceConnectorRequest) String() string

func (CreateServiceConnectorRequest) ValidateEnumValue

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

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

type CreateServiceConnectorResponse

type CreateServiceConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

CreateServiceConnectorResponse wrapper for the CreateServiceConnector operation

func (CreateServiceConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateServiceConnectorResponse) String

func (response CreateServiceConnectorResponse) String() string

type DeactivateServiceConnectorRequest

type DeactivateServiceConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	ServiceConnectorId *string `mandatory:"true" contributesTo:"path" name:"serviceConnectorId"`

	// A token that uniquely identifies a request so it can be retried in case of a timeout or
	// server error without risk of executing that same action again. Retry tokens expire after 24
	// hours, but can be invalidated before then due to conflicting operations. For example, if a resource
	// has been deleted and purged from the system, then a retry of the original creation request
	// might be rejected.
	OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeactivateServiceConnectorRequest wrapper for the DeactivateServiceConnector operation

See also

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

func (DeactivateServiceConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeactivateServiceConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeactivateServiceConnectorRequest) RetryPolicy

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

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

func (DeactivateServiceConnectorRequest) String

func (request DeactivateServiceConnectorRequest) String() string

func (DeactivateServiceConnectorRequest) ValidateEnumValue

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

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

type DeactivateServiceConnectorResponse

type DeactivateServiceConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeactivateServiceConnectorResponse wrapper for the DeactivateServiceConnector operation

func (DeactivateServiceConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeactivateServiceConnectorResponse) String

func (response DeactivateServiceConnectorResponse) String() string

type DeleteServiceConnectorRequest

type DeleteServiceConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	ServiceConnectorId *string `mandatory:"true" contributesTo:"path" name:"serviceConnectorId"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

DeleteServiceConnectorRequest wrapper for the DeleteServiceConnector operation

See also

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

func (DeleteServiceConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteServiceConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteServiceConnectorRequest) RetryPolicy

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

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

func (DeleteServiceConnectorRequest) String

func (request DeleteServiceConnectorRequest) String() string

func (DeleteServiceConnectorRequest) ValidateEnumValue

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

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

type DeleteServiceConnectorResponse

type DeleteServiceConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

DeleteServiceConnectorResponse wrapper for the DeleteServiceConnector operation

func (DeleteServiceConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteServiceConnectorResponse) String

func (response DeleteServiceConnectorResponse) String() string

type DimensionDetails

type DimensionDetails struct {

	// Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces.
	// Custom dimension keys are acceptable. Avoid entering confidential information.
	// Due to use by Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`.
	// For information on valid dimension keys and values, see MetricDataDetails.
	// Example: `type`
	Name *string `mandatory:"true" json:"name"`

	DimensionValue DimensionValueDetails `mandatory:"true" json:"dimensionValue"`
}

DimensionDetails A dimension name and value.

func (DimensionDetails) String

func (m DimensionDetails) String() string

func (*DimensionDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (DimensionDetails) ValidateEnumValue

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

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

type DimensionValueDetails

type DimensionValueDetails interface {
}

DimensionValueDetails Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated).

type DimensionValueDetailsKindEnum

type DimensionValueDetailsKindEnum string

DimensionValueDetailsKindEnum Enum with underlying type: string

const (
	DimensionValueDetailsKindJmespath DimensionValueDetailsKindEnum = "jmesPath"
	DimensionValueDetailsKindStatic   DimensionValueDetailsKindEnum = "static"
)

Set of constants representing the allowable values for DimensionValueDetailsKindEnum

func GetDimensionValueDetailsKindEnumValues

func GetDimensionValueDetailsKindEnumValues() []DimensionValueDetailsKindEnum

GetDimensionValueDetailsKindEnumValues Enumerates the set of values for DimensionValueDetailsKindEnum

func GetMappingDimensionValueDetailsKindEnum

func GetMappingDimensionValueDetailsKindEnum(val string) (DimensionValueDetailsKindEnum, bool)

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

type EstimatedThroughputEnum added in v65.60.0

type EstimatedThroughputEnum string

EstimatedThroughputEnum Enum with underlying type: string

const (
	EstimatedThroughputLow     EstimatedThroughputEnum = "LOW"
	EstimatedThroughputMedium  EstimatedThroughputEnum = "MEDIUM"
	EstimatedThroughputHigh    EstimatedThroughputEnum = "HIGH"
	EstimatedThroughputUnknown EstimatedThroughputEnum = "UNKNOWN"
)

Set of constants representing the allowable values for EstimatedThroughputEnum

func GetEstimatedThroughputEnumValues added in v65.60.0

func GetEstimatedThroughputEnumValues() []EstimatedThroughputEnum

GetEstimatedThroughputEnumValues Enumerates the set of values for EstimatedThroughputEnum

func GetMappingEstimatedThroughputEnum added in v65.60.0

func GetMappingEstimatedThroughputEnum(val string) (EstimatedThroughputEnum, bool)

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

type FunctionTaskDetails

type FunctionTaskDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function to be used as a task.
	FunctionId *string `mandatory:"true" json:"functionId"`

	// Size limit (kilobytes) for batch sent to invoke the function.
	BatchSizeInKbs *int `mandatory:"false" json:"batchSizeInKbs"`

	// Time limit (seconds) for batch sent to invoke the function.
	BatchTimeInSec *int `mandatory:"false" json:"batchTimeInSec"`
}

FunctionTaskDetails The Functions task. Batch input for a function can be limited by either size or time. The first limit reached determines the boundary of the batch. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (FunctionTaskDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FunctionTaskDetails) String

func (m FunctionTaskDetails) String() string

func (FunctionTaskDetails) ValidateEnumValue

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

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

type FunctionsTargetDetails

type FunctionsTargetDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function.
	FunctionId *string `mandatory:"true" json:"functionId"`

	// The batch rollover size in kilobytes.
	BatchSizeInKbs *int `mandatory:"false" json:"batchSizeInKbs"`

	// The batch rollover size in number of messages.
	BatchSizeInNum *int `mandatory:"false" json:"batchSizeInNum"`

	// The batch rollover time in seconds.
	BatchTimeInSec *int `mandatory:"false" json:"batchTimeInSec"`
}

FunctionsTargetDetails The destination function for data transferred from the source. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (FunctionsTargetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (FunctionsTargetDetails) String

func (m FunctionsTargetDetails) String() string

func (FunctionsTargetDetails) ValidateEnumValue

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

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

type GetConnectorPluginRequest added in v65.60.0

type GetConnectorPluginRequest struct {

	// The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, `QueueSource` indicates the Queue service.
	ConnectorPluginName *string `mandatory:"true" contributesTo:"path" name:"connectorPluginName"`

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

GetConnectorPluginRequest wrapper for the GetConnectorPlugin operation

See also

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

func (GetConnectorPluginRequest) BinaryRequestBody added in v65.60.0

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

BinaryRequestBody implements the OCIRequest interface

func (GetConnectorPluginRequest) HTTPRequest added in v65.60.0

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

HTTPRequest implements the OCIRequest interface

func (GetConnectorPluginRequest) RetryPolicy added in v65.60.0

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

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

func (GetConnectorPluginRequest) String added in v65.60.0

func (request GetConnectorPluginRequest) String() string

func (GetConnectorPluginRequest) ValidateEnumValue added in v65.60.0

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

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

type GetConnectorPluginResponse added in v65.60.0

type GetConnectorPluginResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetConnectorPluginResponse wrapper for the GetConnectorPlugin operation

func (GetConnectorPluginResponse) HTTPResponse added in v65.60.0

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

HTTPResponse implements the OCIResponse interface

func (GetConnectorPluginResponse) String added in v65.60.0

func (response GetConnectorPluginResponse) String() string

type GetServiceConnectorRequest

type GetServiceConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	ServiceConnectorId *string `mandatory:"true" contributesTo:"path" name:"serviceConnectorId"`

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

GetServiceConnectorRequest wrapper for the GetServiceConnector operation

See also

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

func (GetServiceConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetServiceConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetServiceConnectorRequest) RetryPolicy

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

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

func (GetServiceConnectorRequest) String

func (request GetServiceConnectorRequest) String() string

func (GetServiceConnectorRequest) ValidateEnumValue

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

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

type GetServiceConnectorResponse

type GetServiceConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

GetServiceConnectorResponse wrapper for the GetServiceConnector operation

func (GetServiceConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetServiceConnectorResponse) String

func (response GetServiceConnectorResponse) String() string

type GetWorkRequestRequest

type GetWorkRequestRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

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

GetWorkRequestRequest wrapper for the GetWorkRequest operation

See also

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

func (GetWorkRequestRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetWorkRequestRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetWorkRequestRequest) RetryPolicy

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

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

func (GetWorkRequestRequest) String

func (request GetWorkRequestRequest) String() string

func (GetWorkRequestRequest) ValidateEnumValue

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

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

type GetWorkRequestResponse

type GetWorkRequestResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

GetWorkRequestResponse wrapper for the GetWorkRequest operation

func (GetWorkRequestResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetWorkRequestResponse) String

func (response GetWorkRequestResponse) String() string

type JmesPathDimensionValue

type JmesPathDimensionValue struct {

	// The location to use for deriving the dimension value (evaluated).
	// The path must start with `logContent` in an acceptable notation style with supported JMESPath selectors (https://jmespath.org/specification.html): expression with dot and index operator (`.` and `MetricDataDetails.
	// The returned value depends on the results of evaluation.
	// If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `"compartmentId"` is returned as `compartmentId`.)
	// If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`.
	// If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`.
	Path *string `mandatory:"true" json:"path"`
}

JmesPathDimensionValue Evaluated type of dimension value.

func (JmesPathDimensionValue) MarshalJSON

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

MarshalJSON marshals to json representation

func (JmesPathDimensionValue) String

func (m JmesPathDimensionValue) String() string

func (JmesPathDimensionValue) ValidateEnumValue

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

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

type LatestStreamingCursor

type LatestStreamingCursor struct {
}

LatestStreamingCursor `LATEST` cursor type. Starts reading messages published after creating the connector. For configuration instructions, see Creating a Connector with a Streaming Source (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-streaming-source.htm).

func (LatestStreamingCursor) MarshalJSON

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

MarshalJSON marshals to json representation

func (LatestStreamingCursor) String

func (m LatestStreamingCursor) String() string

func (LatestStreamingCursor) ValidateEnumValue

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

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

type LifecycleStateEnum

type LifecycleStateEnum string

LifecycleStateEnum Enum with underlying type: string

const (
	LifecycleStateCreating LifecycleStateEnum = "CREATING"
	LifecycleStateUpdating LifecycleStateEnum = "UPDATING"
	LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
	LifecycleStateInactive LifecycleStateEnum = "INACTIVE"
	LifecycleStateDeleting LifecycleStateEnum = "DELETING"
	LifecycleStateDeleted  LifecycleStateEnum = "DELETED"
	LifecycleStateFailed   LifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for LifecycleStateEnum

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

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

type ListConnectorPluginsLifecycleStateEnum added in v65.60.0

type ListConnectorPluginsLifecycleStateEnum string

ListConnectorPluginsLifecycleStateEnum Enum with underlying type: string

const (
	ListConnectorPluginsLifecycleStateCreating ListConnectorPluginsLifecycleStateEnum = "CREATING"
	ListConnectorPluginsLifecycleStateUpdating ListConnectorPluginsLifecycleStateEnum = "UPDATING"
	ListConnectorPluginsLifecycleStateActive   ListConnectorPluginsLifecycleStateEnum = "ACTIVE"
	ListConnectorPluginsLifecycleStateInactive ListConnectorPluginsLifecycleStateEnum = "INACTIVE"
	ListConnectorPluginsLifecycleStateDeleting ListConnectorPluginsLifecycleStateEnum = "DELETING"
	ListConnectorPluginsLifecycleStateDeleted  ListConnectorPluginsLifecycleStateEnum = "DELETED"
	ListConnectorPluginsLifecycleStateFailed   ListConnectorPluginsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListConnectorPluginsLifecycleStateEnum

func GetListConnectorPluginsLifecycleStateEnumValues added in v65.60.0

func GetListConnectorPluginsLifecycleStateEnumValues() []ListConnectorPluginsLifecycleStateEnum

GetListConnectorPluginsLifecycleStateEnumValues Enumerates the set of values for ListConnectorPluginsLifecycleStateEnum

func GetMappingListConnectorPluginsLifecycleStateEnum added in v65.60.0

func GetMappingListConnectorPluginsLifecycleStateEnum(val string) (ListConnectorPluginsLifecycleStateEnum, bool)

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

type ListConnectorPluginsRequest added in v65.60.0

type ListConnectorPluginsRequest struct {

	// A filter to return only resources that match the given lifecycle state.
	// Example: `ACTIVE`
	LifecycleState ListConnectorPluginsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the given display name exactly.
	// Example: `example_service_connector`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// A filter to return only resources that match the given connector plugin name ignoring case.
	// Example: `QueueSource`
	Name *string `mandatory:"false" contributesTo:"query" name:"name"`

	// For list pagination. The maximum number of results per page, or items to return
	// in a paginated "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the opc-next-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 sort order to use, either 'asc' or 'desc'.
	SortOrder ListConnectorPluginsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for `timeCreated` is descending.
	// Default order for `displayName` is ascending. If no value is specified `timeCreated` is default.
	SortBy ListConnectorPluginsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

ListConnectorPluginsRequest wrapper for the ListConnectorPlugins operation

See also

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

func (ListConnectorPluginsRequest) BinaryRequestBody added in v65.60.0

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

BinaryRequestBody implements the OCIRequest interface

func (ListConnectorPluginsRequest) HTTPRequest added in v65.60.0

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

HTTPRequest implements the OCIRequest interface

func (ListConnectorPluginsRequest) RetryPolicy added in v65.60.0

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

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

func (ListConnectorPluginsRequest) String added in v65.60.0

func (request ListConnectorPluginsRequest) String() string

func (ListConnectorPluginsRequest) ValidateEnumValue added in v65.60.0

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

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

type ListConnectorPluginsResponse added in v65.60.0

type ListConnectorPluginsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ConnectorPluginCollection instances
	ConnectorPluginCollection `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).
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListConnectorPluginsResponse wrapper for the ListConnectorPlugins operation

func (ListConnectorPluginsResponse) HTTPResponse added in v65.60.0

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

HTTPResponse implements the OCIResponse interface

func (ListConnectorPluginsResponse) String added in v65.60.0

func (response ListConnectorPluginsResponse) String() string

type ListConnectorPluginsSortByEnum added in v65.60.0

type ListConnectorPluginsSortByEnum string

ListConnectorPluginsSortByEnum Enum with underlying type: string

const (
	ListConnectorPluginsSortByTimecreated ListConnectorPluginsSortByEnum = "timeCreated"
	ListConnectorPluginsSortByDisplayname ListConnectorPluginsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListConnectorPluginsSortByEnum

func GetListConnectorPluginsSortByEnumValues added in v65.60.0

func GetListConnectorPluginsSortByEnumValues() []ListConnectorPluginsSortByEnum

GetListConnectorPluginsSortByEnumValues Enumerates the set of values for ListConnectorPluginsSortByEnum

func GetMappingListConnectorPluginsSortByEnum added in v65.60.0

func GetMappingListConnectorPluginsSortByEnum(val string) (ListConnectorPluginsSortByEnum, bool)

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

type ListConnectorPluginsSortOrderEnum added in v65.60.0

type ListConnectorPluginsSortOrderEnum string

ListConnectorPluginsSortOrderEnum Enum with underlying type: string

const (
	ListConnectorPluginsSortOrderAsc  ListConnectorPluginsSortOrderEnum = "ASC"
	ListConnectorPluginsSortOrderDesc ListConnectorPluginsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListConnectorPluginsSortOrderEnum

func GetListConnectorPluginsSortOrderEnumValues added in v65.60.0

func GetListConnectorPluginsSortOrderEnumValues() []ListConnectorPluginsSortOrderEnum

GetListConnectorPluginsSortOrderEnumValues Enumerates the set of values for ListConnectorPluginsSortOrderEnum

func GetMappingListConnectorPluginsSortOrderEnum added in v65.60.0

func GetMappingListConnectorPluginsSortOrderEnum(val string) (ListConnectorPluginsSortOrderEnum, bool)

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

type ListServiceConnectorsLifecycleStateEnum

type ListServiceConnectorsLifecycleStateEnum string

ListServiceConnectorsLifecycleStateEnum Enum with underlying type: string

const (
	ListServiceConnectorsLifecycleStateCreating ListServiceConnectorsLifecycleStateEnum = "CREATING"
	ListServiceConnectorsLifecycleStateUpdating ListServiceConnectorsLifecycleStateEnum = "UPDATING"
	ListServiceConnectorsLifecycleStateActive   ListServiceConnectorsLifecycleStateEnum = "ACTIVE"
	ListServiceConnectorsLifecycleStateInactive ListServiceConnectorsLifecycleStateEnum = "INACTIVE"
	ListServiceConnectorsLifecycleStateDeleting ListServiceConnectorsLifecycleStateEnum = "DELETING"
	ListServiceConnectorsLifecycleStateDeleted  ListServiceConnectorsLifecycleStateEnum = "DELETED"
	ListServiceConnectorsLifecycleStateFailed   ListServiceConnectorsLifecycleStateEnum = "FAILED"
)

Set of constants representing the allowable values for ListServiceConnectorsLifecycleStateEnum

func GetListServiceConnectorsLifecycleStateEnumValues

func GetListServiceConnectorsLifecycleStateEnumValues() []ListServiceConnectorsLifecycleStateEnum

GetListServiceConnectorsLifecycleStateEnumValues Enumerates the set of values for ListServiceConnectorsLifecycleStateEnum

func GetMappingListServiceConnectorsLifecycleStateEnum

func GetMappingListServiceConnectorsLifecycleStateEnum(val string) (ListServiceConnectorsLifecycleStateEnum, bool)

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

type ListServiceConnectorsRequest

type ListServiceConnectorsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this request.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

	// A filter to return only resources that match the given lifecycle state.
	// Example: `ACTIVE`
	LifecycleState ListServiceConnectorsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

	// A filter to return only resources that match the given display name exactly.
	// Example: `example_service_connector`
	DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

	// For list pagination. The maximum number of results per page, or items to return
	// in a paginated "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

	// For list pagination. The value of the opc-next-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 sort order to use, either 'asc' or 'desc'.
	SortOrder ListServiceConnectorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

	// The field to sort by. Only one sort order may be provided. Default order for `timeCreated` is descending.
	// Default order for `displayName` is ascending. If no value is specified `timeCreated` is default.
	SortBy ListServiceConnectorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

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

ListServiceConnectorsRequest wrapper for the ListServiceConnectors operation

See also

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

func (ListServiceConnectorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListServiceConnectorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListServiceConnectorsRequest) RetryPolicy

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

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

func (ListServiceConnectorsRequest) String

func (request ListServiceConnectorsRequest) String() string

func (ListServiceConnectorsRequest) ValidateEnumValue

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

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

type ListServiceConnectorsResponse

type ListServiceConnectorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of ServiceConnectorCollection instances
	ServiceConnectorCollection `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).
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListServiceConnectorsResponse wrapper for the ListServiceConnectors operation

func (ListServiceConnectorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListServiceConnectorsResponse) String

func (response ListServiceConnectorsResponse) String() string

type ListServiceConnectorsSortByEnum

type ListServiceConnectorsSortByEnum string

ListServiceConnectorsSortByEnum Enum with underlying type: string

const (
	ListServiceConnectorsSortByTimecreated ListServiceConnectorsSortByEnum = "timeCreated"
	ListServiceConnectorsSortByDisplayname ListServiceConnectorsSortByEnum = "displayName"
)

Set of constants representing the allowable values for ListServiceConnectorsSortByEnum

func GetListServiceConnectorsSortByEnumValues

func GetListServiceConnectorsSortByEnumValues() []ListServiceConnectorsSortByEnum

GetListServiceConnectorsSortByEnumValues Enumerates the set of values for ListServiceConnectorsSortByEnum

func GetMappingListServiceConnectorsSortByEnum

func GetMappingListServiceConnectorsSortByEnum(val string) (ListServiceConnectorsSortByEnum, bool)

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

type ListServiceConnectorsSortOrderEnum

type ListServiceConnectorsSortOrderEnum string

ListServiceConnectorsSortOrderEnum Enum with underlying type: string

const (
	ListServiceConnectorsSortOrderAsc  ListServiceConnectorsSortOrderEnum = "ASC"
	ListServiceConnectorsSortOrderDesc ListServiceConnectorsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListServiceConnectorsSortOrderEnum

func GetListServiceConnectorsSortOrderEnumValues

func GetListServiceConnectorsSortOrderEnumValues() []ListServiceConnectorsSortOrderEnum

GetListServiceConnectorsSortOrderEnumValues Enumerates the set of values for ListServiceConnectorsSortOrderEnum

func GetMappingListServiceConnectorsSortOrderEnum

func GetMappingListServiceConnectorsSortOrderEnum(val string) (ListServiceConnectorsSortOrderEnum, bool)

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

type ListWorkRequestErrorsRequest

type ListWorkRequestErrorsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

	// For list pagination. The maximum number of results per page, or items to return
	// in a paginated "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation

See also

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

func (ListWorkRequestErrorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestErrorsRequest) RetryPolicy

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

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

func (ListWorkRequestErrorsRequest) String

func (request ListWorkRequestErrorsRequest) String() string

func (ListWorkRequestErrorsRequest) ValidateEnumValue

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

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

type ListWorkRequestErrorsResponse

type ListWorkRequestErrorsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// 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).
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation

func (ListWorkRequestErrorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestErrorsResponse) String

func (response ListWorkRequestErrorsResponse) String() string

type ListWorkRequestLogsRequest

type ListWorkRequestLogsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"`

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

	// For list pagination. The maximum number of results per page, or items to return
	// in a paginated "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

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

ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation

See also

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

func (ListWorkRequestLogsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestLogsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestLogsRequest) RetryPolicy

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

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

func (ListWorkRequestLogsRequest) String

func (request ListWorkRequestLogsRequest) String() string

func (ListWorkRequestLogsRequest) ValidateEnumValue

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

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

type ListWorkRequestLogsResponse

type ListWorkRequestLogsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

	// 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).
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation

func (ListWorkRequestLogsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestLogsResponse) String

func (response ListWorkRequestLogsResponse) String() string

type ListWorkRequestsRequest

type ListWorkRequestsRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this request.
	CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

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

	// For list pagination. The maximum number of results per page, or items to return
	// in a paginated "List" call. For important details about how pagination works, see
	// List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
	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
}

ListWorkRequestsRequest wrapper for the ListWorkRequests operation

See also

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

func (ListWorkRequestsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListWorkRequestsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListWorkRequestsRequest) RetryPolicy

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

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

func (ListWorkRequestsRequest) String

func (request ListWorkRequestsRequest) String() string

func (ListWorkRequestsRequest) ValidateEnumValue

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

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

type ListWorkRequestsResponse

type ListWorkRequestsResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// A list of WorkRequestCollection instances
	WorkRequestCollection `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).
	OpcPrevPage *string `presentIn:"header" name:"opc-prev-page"`
}

ListWorkRequestsResponse wrapper for the ListWorkRequests operation

func (ListWorkRequestsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListWorkRequestsResponse) String

func (response ListWorkRequestsResponse) String() string

type LogRuleTaskDetails

type LogRuleTaskDetails struct {

	// A filter or mask to limit the source used in the flow defined by the connector.
	Condition *string `mandatory:"true" json:"condition"`
}

LogRuleTaskDetails The log filter task. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (LogRuleTaskDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (LogRuleTaskDetails) String

func (m LogRuleTaskDetails) String() string

func (LogRuleTaskDetails) ValidateEnumValue

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

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

type LogSource

type LogSource struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the log source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group.
	// Note: For the Notifications target, only _Audit is allowed.
	// Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit
	LogGroupId *string `mandatory:"false" json:"logGroupId"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log.
	LogId *string `mandatory:"false" json:"logId"`
}

LogSource The logs for this Logging source.

func (LogSource) String

func (m LogSource) String() string

func (LogSource) ValidateEnumValue

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

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

type LoggingAnalyticsTargetDetails

type LoggingAnalyticsTargetDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Logging Analytics log group.
	LogGroupId *string `mandatory:"true" json:"logGroupId"`

	// Identifier of the log source that you want to use for processing data received from the connector source.
	// Applies to `StreamingSource` only.
	// Equivalent to `name` at LogAnalyticsSource.
	LogSourceIdentifier *string `mandatory:"false" json:"logSourceIdentifier"`
}

LoggingAnalyticsTargetDetails The destination log group for data transferred from the source. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (LoggingAnalyticsTargetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (LoggingAnalyticsTargetDetails) String

func (LoggingAnalyticsTargetDetails) ValidateEnumValue

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

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

type LoggingSourceDetails

type LoggingSourceDetails struct {

	// The logs for this Logging source.
	LogSources []LogSource `mandatory:"true" json:"logSources"`
}

LoggingSourceDetails The Logging source. For configuration instructions, see Creating a Connector with a Logging Source (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-logging-source.htm).

func (LoggingSourceDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (LoggingSourceDetails) String

func (m LoggingSourceDetails) String() string

func (LoggingSourceDetails) ValidateEnumValue

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

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

type MonitoringSource added in v65.3.0

type MonitoringSource struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a compartment containing metric namespaces you want to use for the Monitoring source.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	NamespaceDetails MonitoringSourceNamespaceDetails `mandatory:"true" json:"namespaceDetails"`
}

MonitoringSource A compartment-specific list of metric namespaces to retrieve data from.

func (MonitoringSource) String added in v65.3.0

func (m MonitoringSource) String() string

func (*MonitoringSource) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (MonitoringSource) ValidateEnumValue added in v65.3.0

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

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

type MonitoringSourceAllMetrics added in v65.3.0

type MonitoringSourceAllMetrics struct {
}

MonitoringSourceAllMetrics Discriminator for metrics in the compartment-specific list.

func (MonitoringSourceAllMetrics) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (MonitoringSourceAllMetrics) String added in v65.3.0

func (MonitoringSourceAllMetrics) ValidateEnumValue added in v65.3.0

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

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

type MonitoringSourceDetails added in v65.3.0

type MonitoringSourceDetails struct {

	// One or more compartment-specific lists of metric namespaces to retrieve data from.
	MonitoringSources []MonitoringSource `mandatory:"true" json:"monitoringSources"`
}

MonitoringSourceDetails The Monitoring source. For configuration instructions, see Creating a Connector with a Monitoring Source (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-monitoring-source.htm).

func (MonitoringSourceDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (MonitoringSourceDetails) String added in v65.3.0

func (m MonitoringSourceDetails) String() string

func (MonitoringSourceDetails) ValidateEnumValue added in v65.3.0

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

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

type MonitoringSourceMetricDetails added in v65.3.0

type MonitoringSourceMetricDetails interface {
}

MonitoringSourceMetricDetails The metrics to query for the specified metric namespace.

type MonitoringSourceMetricDetailsKindEnum added in v65.3.0

type MonitoringSourceMetricDetailsKindEnum string

MonitoringSourceMetricDetailsKindEnum Enum with underlying type: string

const (
	MonitoringSourceMetricDetailsKindAll MonitoringSourceMetricDetailsKindEnum = "all"
)

Set of constants representing the allowable values for MonitoringSourceMetricDetailsKindEnum

func GetMappingMonitoringSourceMetricDetailsKindEnum added in v65.3.0

func GetMappingMonitoringSourceMetricDetailsKindEnum(val string) (MonitoringSourceMetricDetailsKindEnum, bool)

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

func GetMonitoringSourceMetricDetailsKindEnumValues added in v65.3.0

func GetMonitoringSourceMetricDetailsKindEnumValues() []MonitoringSourceMetricDetailsKindEnum

GetMonitoringSourceMetricDetailsKindEnumValues Enumerates the set of values for MonitoringSourceMetricDetailsKindEnum

type MonitoringSourceNamespaceDetails added in v65.3.0

type MonitoringSourceNamespaceDetails interface {
}

MonitoringSourceNamespaceDetails Discriminator for namespaces in the compartment-specific list.

type MonitoringSourceNamespaceDetailsKindEnum added in v65.3.0

type MonitoringSourceNamespaceDetailsKindEnum string

MonitoringSourceNamespaceDetailsKindEnum Enum with underlying type: string

const (
	MonitoringSourceNamespaceDetailsKindSelected MonitoringSourceNamespaceDetailsKindEnum = "selected"
)

Set of constants representing the allowable values for MonitoringSourceNamespaceDetailsKindEnum

func GetMappingMonitoringSourceNamespaceDetailsKindEnum added in v65.3.0

func GetMappingMonitoringSourceNamespaceDetailsKindEnum(val string) (MonitoringSourceNamespaceDetailsKindEnum, bool)

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

func GetMonitoringSourceNamespaceDetailsKindEnumValues added in v65.3.0

func GetMonitoringSourceNamespaceDetailsKindEnumValues() []MonitoringSourceNamespaceDetailsKindEnum

GetMonitoringSourceNamespaceDetailsKindEnumValues Enumerates the set of values for MonitoringSourceNamespaceDetailsKindEnum

type MonitoringSourceSelectedNamespace added in v65.3.0

type MonitoringSourceSelectedNamespace struct {

	// The source service or application to use when querying for metric data points. Must begin with `oci_`.
	// Example: `oci_computeagent`
	Namespace *string `mandatory:"true" json:"namespace"`

	Metrics MonitoringSourceMetricDetails `mandatory:"true" json:"metrics"`
}

MonitoringSourceSelectedNamespace A metric namespace for the compartment-specific list.

func (MonitoringSourceSelectedNamespace) String added in v65.3.0

func (*MonitoringSourceSelectedNamespace) UnmarshalJSON added in v65.3.0

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

UnmarshalJSON unmarshals from json

func (MonitoringSourceSelectedNamespace) ValidateEnumValue added in v65.3.0

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

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

type MonitoringSourceSelectedNamespaceDetails added in v65.3.0

type MonitoringSourceSelectedNamespaceDetails struct {

	// The namespaces for the compartment-specific list.
	Namespaces []MonitoringSourceSelectedNamespace `mandatory:"true" json:"namespaces"`
}

MonitoringSourceSelectedNamespaceDetails The namespaces for the compartment-specific list.

func (MonitoringSourceSelectedNamespaceDetails) MarshalJSON added in v65.3.0

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

MarshalJSON marshals to json representation

func (MonitoringSourceSelectedNamespaceDetails) String added in v65.3.0

func (MonitoringSourceSelectedNamespaceDetails) ValidateEnumValue added in v65.3.0

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

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

type MonitoringTargetDetails

type MonitoringTargetDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The namespace of the metric.
	// Example: `oci_computeagent`
	MetricNamespace *string `mandatory:"true" json:"metricNamespace"`

	// The name of the metric.
	// Example: `CpuUtilization`
	Metric *string `mandatory:"true" json:"metric"`

	// List of dimension names and values.
	Dimensions []DimensionDetails `mandatory:"false" json:"dimensions"`
}

MonitoringTargetDetails The destination metric for data transferred from the source. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (MonitoringTargetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (MonitoringTargetDetails) String

func (m MonitoringTargetDetails) String() string

func (MonitoringTargetDetails) ValidateEnumValue

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

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

type NotificationsTargetDetails

type NotificationsTargetDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic.
	TopicId *string `mandatory:"true" json:"topicId"`

	// Whether to apply a simplified, user-friendly format to the message. Applies only when friendly formatting is supported by the connector source and the subscription protocol.
	// Example: `true`
	EnableFormattedMessaging *bool `mandatory:"false" json:"enableFormattedMessaging"`
}

NotificationsTargetDetails The destination topic for data transferred from the source. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (NotificationsTargetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (NotificationsTargetDetails) String

func (NotificationsTargetDetails) ValidateEnumValue

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

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

type ObjectStorageTargetDetails

type ObjectStorageTargetDetails struct {

	// The name of the bucket. Valid characters are letters (upper or lower case), numbers, hyphens (-),
	// underscores(_), and periods (.). Bucket names must be unique within an Object Storage namespace.
	// Avoid entering confidential information. Example: my-new-bucket1
	BucketName *string `mandatory:"true" json:"bucketName"`

	// The namespace.
	Namespace *string `mandatory:"false" json:"namespace"`

	// The prefix of the objects. Avoid entering confidential information.
	ObjectNamePrefix *string `mandatory:"false" json:"objectNamePrefix"`

	// The batch rollover size in megabytes.
	BatchRolloverSizeInMBs *int `mandatory:"false" json:"batchRolloverSizeInMBs"`

	// The batch rollover time in milliseconds.
	BatchRolloverTimeInMs *int `mandatory:"false" json:"batchRolloverTimeInMs"`
}

ObjectStorageTargetDetails The destination bucket for data transferred from the source. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (ObjectStorageTargetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (ObjectStorageTargetDetails) String

func (ObjectStorageTargetDetails) ValidateEnumValue

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

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

type OperationStatusEnum

type OperationStatusEnum string

OperationStatusEnum Enum with underlying type: string

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

Set of constants representing the allowable values for OperationStatusEnum

func GetMappingOperationStatusEnum

func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)

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

func GetOperationStatusEnumValues

func GetOperationStatusEnumValues() []OperationStatusEnum

GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum

type OperationTypeEnum

type OperationTypeEnum string

OperationTypeEnum Enum with underlying type: string

const (
	OperationTypeCreateServiceConnector     OperationTypeEnum = "CREATE_SERVICE_CONNECTOR"
	OperationTypeUpdateServiceConnector     OperationTypeEnum = "UPDATE_SERVICE_CONNECTOR"
	OperationTypeDeleteServiceConnector     OperationTypeEnum = "DELETE_SERVICE_CONNECTOR"
	OperationTypeActivateServiceConnector   OperationTypeEnum = "ACTIVATE_SERVICE_CONNECTOR"
	OperationTypeDeactivateServiceConnector OperationTypeEnum = "DEACTIVATE_SERVICE_CONNECTOR"
)

Set of constants representing the allowable values for OperationTypeEnum

func GetMappingOperationTypeEnum

func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)

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

func GetOperationTypeEnumValues

func GetOperationTypeEnumValues() []OperationTypeEnum

GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum

type PluginSourceDetails added in v65.60.0

type PluginSourceDetails struct {

	// The name of the connector plugin. This name indicates the service to be called by the connector plugin. For example, `QueueSource` indicates the Queue service.
	// To find names of connector plugins, list the plugin using (ListConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPluginSummary/ListConnectorPlugins].
	PluginName *string `mandatory:"true" json:"pluginName"`

	// The configuration map for the connector plugin. This map includes parameters specific to the connector plugin type.
	// For example, for `QueueSource`, the map lists the OCID of the selected queue.
	// To find the parameters for a connector plugin, get the plugin using (GetConnectorPlugin)[#/en/serviceconnectors/latest/ConnectorPlugin/GetConnectorPlugin] and review its schema value.
	ConfigMap *interface{} `mandatory:"true" json:"configMap"`
}

PluginSourceDetails Details about a connector plugin used to fetch data from a source. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (PluginSourceDetails) MarshalJSON added in v65.60.0

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

MarshalJSON marshals to json representation

func (PluginSourceDetails) String added in v65.60.0

func (m PluginSourceDetails) String() string

func (PluginSourceDetails) ValidateEnumValue added in v65.60.0

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

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

type ServiceConnector

type ServiceConnector struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time when the connector was created.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time when the connector was updated.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the connector.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The description of the resource. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// A message describing the current state in more detail.
	// For example, the message might provide actionable
	// information for a resource in a `FAILED` state.
	LifecyleDetails *string `mandatory:"false" json:"lifecyleDetails"`

	Source SourceDetails `mandatory:"false" json:"source"`

	// The list of tasks.
	Tasks []TaskDetails `mandatory:"false" json:"tasks"`

	Target TargetDetails `mandatory:"false" json:"target"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{orcl-cloud: {free-tier-retain: true}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ServiceConnector The configuration details of the flow defined by the connector. For more information about flows defined by connectors, see Overview of Connector Hub (https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm).

func (ServiceConnector) String

func (m ServiceConnector) String() string

func (*ServiceConnector) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (ServiceConnector) ValidateEnumValue

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

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

type ServiceConnectorClient

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

ServiceConnectorClient a client for ServiceConnector

func NewServiceConnectorClientWithConfigurationProvider

func NewServiceConnectorClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client ServiceConnectorClient, err error)

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

func NewServiceConnectorClientWithOboToken

func NewServiceConnectorClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client ServiceConnectorClient, err error)

NewServiceConnectorClientWithOboToken Creates a new default ServiceConnector 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 (ServiceConnectorClient) ActivateServiceConnector

func (client ServiceConnectorClient) ActivateServiceConnector(ctx context.Context, request ActivateServiceConnectorRequest) (response ActivateServiceConnectorResponse, err error)

ActivateServiceConnector Activates the specified connector. After you send your request, the connector's state is temporarily UPDATING. When the state changes to ACTIVE, data begins transferring from the source service to the target service. For more information, see Activating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/activate-service-connector.htm).

See also

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

func (ServiceConnectorClient) ChangeServiceConnectorCompartment

func (client ServiceConnectorClient) ChangeServiceConnectorCompartment(ctx context.Context, request ChangeServiceConnectorCompartmentRequest) (response ChangeServiceConnectorCompartmentResponse, err error)

ChangeServiceConnectorCompartment Moves a connector into a different compartment within the same tenancy. For more information, see Moving a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/change-compartment-service-connector.htm). When provided, If-Match is checked against ETag values of the resource.

See also

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

func (*ServiceConnectorClient) ConfigurationProvider

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

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

func (ServiceConnectorClient) CreateServiceConnector

func (client ServiceConnectorClient) CreateServiceConnector(ctx context.Context, request CreateServiceConnectorRequest) (response CreateServiceConnectorResponse, err error)

CreateServiceConnector Creates a new connector in the specified compartment. A connector is a logically defined flow for moving data from a source service to a destination service in Oracle Cloud Infrastructure. For more information, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm). For general information about connectors, see Overview of Connector Hub (https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm). For purposes of access control, you must provide the OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the connector to reside. Notice that the connector doesn't have to be in the same compartment as the source or target services. For information about access control and compartments, see Overview of the IAM Service (https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm). After you send your request, the new connector's state is temporarily CREATING. When the state changes to ACTIVE, data begins transferring from the source service to the target service. For instructions on deactivating and activating connectors, see Activating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/activate-service-connector.htm).

See also

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

func (ServiceConnectorClient) DeactivateServiceConnector

func (client ServiceConnectorClient) DeactivateServiceConnector(ctx context.Context, request DeactivateServiceConnectorRequest) (response DeactivateServiceConnectorResponse, err error)

DeactivateServiceConnector Deactivates the specified connector. After you send your request, the connector's state is temporarily UPDATING and any data transfer stops. The state then changes to INACTIVE. For more information, see Deactivating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/deactivate-service-connector.htm).

See also

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

func (ServiceConnectorClient) DeleteServiceConnector

func (client ServiceConnectorClient) DeleteServiceConnector(ctx context.Context, request DeleteServiceConnectorRequest) (response DeleteServiceConnectorResponse, err error)

DeleteServiceConnector Deletes the specified connector. For more information, see Deleting a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/delete-service-connector.htm). After you send your request, the connector's state is temporarily DELETING and any data transfer stops. The state then changes to DELETED.

See also

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

func (ServiceConnectorClient) GetServiceConnector

func (client ServiceConnectorClient) GetServiceConnector(ctx context.Context, request GetServiceConnectorRequest) (response GetServiceConnectorResponse, err error)

GetServiceConnector Gets the specified connector's configuration information. For more information, see Getting a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/get-service-connector.htm).

See also

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

func (ServiceConnectorClient) GetWorkRequest

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

GetWorkRequest Gets the details of the specified work request. For more information, see Getting a Work Request's Details (https://docs.cloud.oracle.com/iaas/Content/connector-hub/get-work-request.htm).

See also

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

func (ServiceConnectorClient) ListServiceConnectors

func (client ServiceConnectorClient) ListServiceConnectors(ctx context.Context, request ListServiceConnectorsRequest) (response ListServiceConnectorsResponse, err error)

ListServiceConnectors Lists connectors in the specified compartment. For more information, see Listing Connectors (https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-service-connector.htm).

See also

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

func (ServiceConnectorClient) ListWorkRequestErrors

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

ListWorkRequestErrors Lists work request errors for the specified work request. Results are paginated. For more information, see Listing Work Request Errors (https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-work-request-error.htm).

See also

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

func (ServiceConnectorClient) ListWorkRequestLogs

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

ListWorkRequestLogs Lists logs for the specified work request. Results are paginated. For more information, see Listing Work Request Log Entries (https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-work-request-log-entry.htm).

See also

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

func (ServiceConnectorClient) ListWorkRequests

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

ListWorkRequests Lists the work requests in the specified compartment. For more information, see Listing Work Requests (https://docs.cloud.oracle.com/iaas/Content/connector-hub/list-work-request.htm).

See also

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

func (*ServiceConnectorClient) SetRegion

func (client *ServiceConnectorClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (ServiceConnectorClient) UpdateServiceConnector

func (client ServiceConnectorClient) UpdateServiceConnector(ctx context.Context, request UpdateServiceConnectorRequest) (response UpdateServiceConnectorResponse, err error)

UpdateServiceConnector Updates the configuration information for the specified connector. For more information, see Updating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/update-service-connector.htm). After you send your request, the connector's state is temporarily UPDATING and any data transfer pauses. The state then changes back to its original value: if ACTIVE, then data transfer resumes.

See also

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

type ServiceConnectorCollection

type ServiceConnectorCollection struct {

	// The list of items.
	Items []ServiceConnectorSummary `mandatory:"true" json:"items"`
}

ServiceConnectorCollection Collection of connector property summaries.

func (ServiceConnectorCollection) String

func (ServiceConnectorCollection) ValidateEnumValue

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

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

type ServiceConnectorSummary

type ServiceConnectorSummary struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	Id *string `mandatory:"true" json:"id"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the connector.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time when the connector was created.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time when the connector was updated.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the connector.
	LifecycleState LifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The description of the resource. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	// A message describing the current state in more detail.
	// For example, the message might provide actionable
	// information for a resource in a `FAILED` state.
	LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

	// The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces.
	// For more information, see Resource Tags (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm).
	// Example: `{orcl-cloud: {free-tier-retain: true}}`
	SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

ServiceConnectorSummary A summary of properties for the specified connector.

func (ServiceConnectorSummary) String

func (m ServiceConnectorSummary) String() string

func (ServiceConnectorSummary) ValidateEnumValue

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

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

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SourceConnectorPlugin added in v65.60.0

type SourceConnectorPlugin struct {

	// The service to be called by the connector plugin.
	// Example: `QueueSource`
	Name *string `mandatory:"true" json:"name"`

	// The date and time when this plugin became available.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2023-09-09T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Gets the specified connector plugin configuration information in OpenAPI specification format.
	Schema *string `mandatory:"false" json:"schema"`

	// The estimated maximum period of time the data will be kept at the source.
	// The duration is specified as a string in ISO 8601 format (P1D for one day or P30D for thrity days).
	MaxRetention *string `mandatory:"false" json:"maxRetention"`

	// The estimated throughput range (LOW, MEDIUM, HIGH).
	EstimatedThroughput EstimatedThroughputEnum `mandatory:"false" json:"estimatedThroughput,omitempty"`

	// The current state of the service connector.
	LifecycleState ConnectorPluginLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

SourceConnectorPlugin A connector plugin for fetching data from a source service. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (SourceConnectorPlugin) GetDisplayName added in v65.60.0

func (m SourceConnectorPlugin) GetDisplayName() *string

GetDisplayName returns DisplayName

func (SourceConnectorPlugin) GetEstimatedThroughput added in v65.60.0

func (m SourceConnectorPlugin) GetEstimatedThroughput() EstimatedThroughputEnum

GetEstimatedThroughput returns EstimatedThroughput

func (SourceConnectorPlugin) GetLifecycleState added in v65.60.0

GetLifecycleState returns LifecycleState

func (SourceConnectorPlugin) GetName added in v65.60.0

func (m SourceConnectorPlugin) GetName() *string

GetName returns Name

func (SourceConnectorPlugin) GetSchema added in v65.60.0

func (m SourceConnectorPlugin) GetSchema() *string

GetSchema returns Schema

func (SourceConnectorPlugin) GetTimeCreated added in v65.60.0

func (m SourceConnectorPlugin) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SourceConnectorPlugin) MarshalJSON added in v65.60.0

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

MarshalJSON marshals to json representation

func (SourceConnectorPlugin) String added in v65.60.0

func (m SourceConnectorPlugin) String() string

func (SourceConnectorPlugin) ValidateEnumValue added in v65.60.0

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

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

type SourceConnectorPluginSummary added in v65.60.0

type SourceConnectorPluginSummary struct {

	// The service to be called by the connector plugin.
	Name *string `mandatory:"true" json:"name"`

	// The date and time when this plugin became available.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2023-09-10T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The estimated maximum period of time the data will be kept at the source.
	//     description: |
	MaxRetention *string `mandatory:"false" json:"maxRetention"`

	// The estimated throughput range (LOW, MEDIUM, HIGH).
	EstimatedThroughput EstimatedThroughputEnum `mandatory:"false" json:"estimatedThroughput,omitempty"`

	// The current state of the service connector.
	LifecycleState ConnectorPluginLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

SourceConnectorPluginSummary Summary information for a connector plugin that fetches data from a source service. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (SourceConnectorPluginSummary) GetDisplayName added in v65.60.0

func (m SourceConnectorPluginSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (SourceConnectorPluginSummary) GetEstimatedThroughput added in v65.60.0

func (m SourceConnectorPluginSummary) GetEstimatedThroughput() EstimatedThroughputEnum

GetEstimatedThroughput returns EstimatedThroughput

func (SourceConnectorPluginSummary) GetLifecycleState added in v65.60.0

GetLifecycleState returns LifecycleState

func (SourceConnectorPluginSummary) GetName added in v65.60.0

func (m SourceConnectorPluginSummary) GetName() *string

GetName returns Name

func (SourceConnectorPluginSummary) GetTimeCreated added in v65.60.0

func (m SourceConnectorPluginSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (SourceConnectorPluginSummary) MarshalJSON added in v65.60.0

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

MarshalJSON marshals to json representation

func (SourceConnectorPluginSummary) String added in v65.60.0

func (SourceConnectorPluginSummary) ValidateEnumValue added in v65.60.0

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

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

type SourceDetails

type SourceDetails interface {
}

SourceDetails An object that represents the source of the flow defined by the connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by connectors, see Overview of Connector Hub (https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm). For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

type SourceDetailsKindEnum

type SourceDetailsKindEnum string

SourceDetailsKindEnum Enum with underlying type: string

const (
	SourceDetailsKindLogging    SourceDetailsKindEnum = "logging"
	SourceDetailsKindMonitoring SourceDetailsKindEnum = "monitoring"
	SourceDetailsKindStreaming  SourceDetailsKindEnum = "streaming"
	SourceDetailsKindPlugin     SourceDetailsKindEnum = "plugin"
)

Set of constants representing the allowable values for SourceDetailsKindEnum

func GetMappingSourceDetailsKindEnum

func GetMappingSourceDetailsKindEnum(val string) (SourceDetailsKindEnum, bool)

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

func GetSourceDetailsKindEnumValues

func GetSourceDetailsKindEnumValues() []SourceDetailsKindEnum

GetSourceDetailsKindEnumValues Enumerates the set of values for SourceDetailsKindEnum

type StaticDimensionValue

type StaticDimensionValue struct {

	// The data extracted from the specified dimension value (passed as-is). Unicode characters only.
	// For information on valid dimension keys and values, see MetricDataDetails.
	Value *string `mandatory:"true" json:"value"`
}

StaticDimensionValue Static type of dimension value (passed as-is).

func (StaticDimensionValue) MarshalJSON

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

MarshalJSON marshals to json representation

func (StaticDimensionValue) String

func (m StaticDimensionValue) String() string

func (StaticDimensionValue) ValidateEnumValue

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

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

type StreamingCursorDetails

type StreamingCursorDetails interface {
}

StreamingCursorDetails The read setting (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-streaming-source.htm), which determines where in the stream to start moving data. For configuration instructions, see Creating a Connector with a Streaming Source (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-streaming-source.htm).

type StreamingCursorDetailsKindEnum

type StreamingCursorDetailsKindEnum string

StreamingCursorDetailsKindEnum Enum with underlying type: string

const (
	StreamingCursorDetailsKindLatest      StreamingCursorDetailsKindEnum = "LATEST"
	StreamingCursorDetailsKindTrimHorizon StreamingCursorDetailsKindEnum = "TRIM_HORIZON"
)

Set of constants representing the allowable values for StreamingCursorDetailsKindEnum

func GetMappingStreamingCursorDetailsKindEnum

func GetMappingStreamingCursorDetailsKindEnum(val string) (StreamingCursorDetailsKindEnum, bool)

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

func GetStreamingCursorDetailsKindEnumValues

func GetStreamingCursorDetailsKindEnumValues() []StreamingCursorDetailsKindEnum

GetStreamingCursorDetailsKindEnumValues Enumerates the set of values for StreamingCursorDetailsKindEnum

type StreamingSourceDetails

type StreamingSourceDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream.
	StreamId *string `mandatory:"true" json:"streamId"`

	Cursor StreamingCursorDetails `mandatory:"false" json:"cursor"`
}

StreamingSourceDetails The Streaming source. For configuration instructions, see Creating a Connector with a Streaming Source (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-streaming-source.htm).

func (StreamingSourceDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (StreamingSourceDetails) String

func (m StreamingSourceDetails) String() string

func (*StreamingSourceDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (StreamingSourceDetails) ValidateEnumValue

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

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

type StreamingTargetDetails

type StreamingTargetDetails struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream.
	StreamId *string `mandatory:"true" json:"streamId"`
}

StreamingTargetDetails The destination stream for data transferred from the source. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (StreamingTargetDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (StreamingTargetDetails) String

func (m StreamingTargetDetails) String() string

func (StreamingTargetDetails) ValidateEnumValue

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

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

type TargetConnectorPlugin added in v65.60.0

type TargetConnectorPlugin struct {

	// The service to be called by the connector plugin.
	// Example: `QueueSource`
	Name *string `mandatory:"true" json:"name"`

	// The date and time when this plugin became available.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2023-09-09T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// Gets the specified connector plugin configuration information in OpenAPI specification format.
	Schema *string `mandatory:"false" json:"schema"`

	// The estimated throughput range (LOW, MEDIUM, HIGH).
	EstimatedThroughput EstimatedThroughputEnum `mandatory:"false" json:"estimatedThroughput,omitempty"`

	// The current state of the service connector.
	LifecycleState ConnectorPluginLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

TargetConnectorPlugin A connector plugin for sending data to a target service. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (TargetConnectorPlugin) GetDisplayName added in v65.60.0

func (m TargetConnectorPlugin) GetDisplayName() *string

GetDisplayName returns DisplayName

func (TargetConnectorPlugin) GetEstimatedThroughput added in v65.60.0

func (m TargetConnectorPlugin) GetEstimatedThroughput() EstimatedThroughputEnum

GetEstimatedThroughput returns EstimatedThroughput

func (TargetConnectorPlugin) GetLifecycleState added in v65.60.0

GetLifecycleState returns LifecycleState

func (TargetConnectorPlugin) GetName added in v65.60.0

func (m TargetConnectorPlugin) GetName() *string

GetName returns Name

func (TargetConnectorPlugin) GetSchema added in v65.60.0

func (m TargetConnectorPlugin) GetSchema() *string

GetSchema returns Schema

func (TargetConnectorPlugin) GetTimeCreated added in v65.60.0

func (m TargetConnectorPlugin) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (TargetConnectorPlugin) MarshalJSON added in v65.60.0

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

MarshalJSON marshals to json representation

func (TargetConnectorPlugin) String added in v65.60.0

func (m TargetConnectorPlugin) String() string

func (TargetConnectorPlugin) ValidateEnumValue added in v65.60.0

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

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

type TargetConnectorPluginSummary added in v65.60.0

type TargetConnectorPluginSummary struct {

	// The service to be called by the connector plugin.
	Name *string `mandatory:"true" json:"name"`

	// The date and time when this plugin became available.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2023-09-10T21:10:29.600Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"true" json:"displayName"`

	// The estimated throughput range (LOW, MEDIUM, HIGH).
	EstimatedThroughput EstimatedThroughputEnum `mandatory:"false" json:"estimatedThroughput,omitempty"`

	// The current state of the service connector.
	LifecycleState ConnectorPluginLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

TargetConnectorPluginSummary Summary information for a connector plugin that sends data to a target service. For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

func (TargetConnectorPluginSummary) GetDisplayName added in v65.60.0

func (m TargetConnectorPluginSummary) GetDisplayName() *string

GetDisplayName returns DisplayName

func (TargetConnectorPluginSummary) GetEstimatedThroughput added in v65.60.0

func (m TargetConnectorPluginSummary) GetEstimatedThroughput() EstimatedThroughputEnum

GetEstimatedThroughput returns EstimatedThroughput

func (TargetConnectorPluginSummary) GetLifecycleState added in v65.60.0

GetLifecycleState returns LifecycleState

func (TargetConnectorPluginSummary) GetName added in v65.60.0

func (m TargetConnectorPluginSummary) GetName() *string

GetName returns Name

func (TargetConnectorPluginSummary) GetTimeCreated added in v65.60.0

func (m TargetConnectorPluginSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (TargetConnectorPluginSummary) MarshalJSON added in v65.60.0

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

MarshalJSON marshals to json representation

func (TargetConnectorPluginSummary) String added in v65.60.0

func (TargetConnectorPluginSummary) ValidateEnumValue added in v65.60.0

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

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

type TargetDetails

type TargetDetails interface {
}

TargetDetails An object that represents the target of the flow defined by the connector. An example target is a stream (Streaming service). For more information about flows defined by connectors, see Overview of Connector Hub (https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm). For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

type TargetDetailsKindEnum

type TargetDetailsKindEnum string

TargetDetailsKindEnum Enum with underlying type: string

const (
	TargetDetailsKindFunctions        TargetDetailsKindEnum = "functions"
	TargetDetailsKindLogginganalytics TargetDetailsKindEnum = "loggingAnalytics"
	TargetDetailsKindMonitoring       TargetDetailsKindEnum = "monitoring"
	TargetDetailsKindNotifications    TargetDetailsKindEnum = "notifications"
	TargetDetailsKindObjectstorage    TargetDetailsKindEnum = "objectStorage"
	TargetDetailsKindStreaming        TargetDetailsKindEnum = "streaming"
)

Set of constants representing the allowable values for TargetDetailsKindEnum

func GetMappingTargetDetailsKindEnum

func GetMappingTargetDetailsKindEnum(val string) (TargetDetailsKindEnum, bool)

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

func GetTargetDetailsKindEnumValues

func GetTargetDetailsKindEnumValues() []TargetDetailsKindEnum

GetTargetDetailsKindEnumValues Enumerates the set of values for TargetDetailsKindEnum

type TaskDetails

type TaskDetails interface {
}

TaskDetails An object that represents a task within the flow defined by the connector. An example task is a filter for error logs. For more information about flows defined by connectors, see Overview of Connector Hub (https://docs.cloud.oracle.com/iaas/Content/connector-hub/overview.htm). For configuration instructions, see Creating a Connector (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector.htm).

type TaskDetailsKindEnum

type TaskDetailsKindEnum string

TaskDetailsKindEnum Enum with underlying type: string

const (
	TaskDetailsKindFunction TaskDetailsKindEnum = "function"
	TaskDetailsKindLogrule  TaskDetailsKindEnum = "logRule"
)

Set of constants representing the allowable values for TaskDetailsKindEnum

func GetMappingTaskDetailsKindEnum

func GetMappingTaskDetailsKindEnum(val string) (TaskDetailsKindEnum, bool)

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

func GetTaskDetailsKindEnumValues

func GetTaskDetailsKindEnumValues() []TaskDetailsKindEnum

GetTaskDetailsKindEnumValues Enumerates the set of values for TaskDetailsKindEnum

type TrimHorizonStreamingCursor

type TrimHorizonStreamingCursor struct {
}

TrimHorizonStreamingCursor `TRIM_HORIZON` cursor type. Starts reading from the oldest available message in the stream. For configuration instructions, see Creating a Connector with a Streaming Source (https://docs.cloud.oracle.com/iaas/Content/connector-hub/create-service-connector-streaming-source.htm).

func (TrimHorizonStreamingCursor) MarshalJSON

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

MarshalJSON marshals to json representation

func (TrimHorizonStreamingCursor) String

func (TrimHorizonStreamingCursor) ValidateEnumValue

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

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

type UpdateServiceConnectorDetails

type UpdateServiceConnectorDetails struct {

	// A user-friendly name. It does not have to be unique, and it is changeable.
	// Avoid entering confidential information.
	DisplayName *string `mandatory:"false" json:"displayName"`

	// The description of the resource. Avoid entering confidential information.
	Description *string `mandatory:"false" json:"description"`

	Source SourceDetails `mandatory:"false" json:"source"`

	// The list of the tasks.
	Tasks []TaskDetails `mandatory:"false" json:"tasks"`

	Target TargetDetails `mandatory:"false" json:"target"`

	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
	// Example: `{"bar-key": "value"}`
	FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

	// Defined tags for this resource. Each key is predefined and scoped to a namespace.
	// Example: `{"foo-namespace": {"bar-key": "value"}}`
	DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

UpdateServiceConnectorDetails The configuration details for updating a connector.

func (UpdateServiceConnectorDetails) String

func (*UpdateServiceConnectorDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateServiceConnectorDetails) ValidateEnumValue

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

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

type UpdateServiceConnectorRequest

type UpdateServiceConnectorRequest struct {

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the connector.
	ServiceConnectorId *string `mandatory:"true" contributesTo:"path" name:"serviceConnectorId"`

	// The information to be updated.
	UpdateServiceConnectorDetails `contributesTo:"body"`

	// For optimistic concurrency control. In the PUT or DELETE call
	// for a resource, set the `if-match` parameter to the value of the
	// etag from a previous GET or POST response for that resource.
	// The resource will be updated or deleted only if the etag you
	// provide matches the resource's current etag value.
	IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"`

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

UpdateServiceConnectorRequest wrapper for the UpdateServiceConnector operation

See also

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

func (UpdateServiceConnectorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateServiceConnectorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateServiceConnectorRequest) RetryPolicy

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

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

func (UpdateServiceConnectorRequest) String

func (request UpdateServiceConnectorRequest) String() string

func (UpdateServiceConnectorRequest) ValidateEnumValue

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

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

type UpdateServiceConnectorResponse

type UpdateServiceConnectorResponse struct {

	// The underlying http response
	RawResponse *http.Response

	// Unique Oracle-assigned identifier for the asynchronous request. You can use this to query status of the asynchronous operation.
	OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`

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

UpdateServiceConnectorResponse wrapper for the UpdateServiceConnector operation

func (UpdateServiceConnectorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateServiceConnectorResponse) String

func (response UpdateServiceConnectorResponse) String() string

type WorkRequest

type WorkRequest struct {

	// The type of action the work request represents.
	OperationType OperationTypeEnum `mandatory:"true" json:"operationType"`

	// Status of current work request.
	Status OperationStatusEnum `mandatory:"true" json:"status"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request.
	Id *string `mandatory:"true" json:"id"`

	// The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment
	// containing the work request.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The resources affected by this work request.
	Resources []WorkRequestResource `mandatory:"true" json:"resources"`

	// Percentage of the request completed.
	PercentComplete *float32 `mandatory:"true" json:"percentComplete"`

	// The date and time when the request was created.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"`

	// The date and time when the request was started.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"`

	// The date and time when the object finished.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"`
}

WorkRequest An object representing an asynchronous work flow. Many of the API requests you use to create and configure connectors do not take effect immediately. In these cases, the request spawns an asynchronous work flow to fulfill the request. WorkRequest objects provide visibility for in-progress work flows. For more information about work requests, see Viewing the State of a Work Request (https://docs.cloud.oracle.com/iaas/Content/connector-hub/workrequests.htm).

func (WorkRequest) String

func (m WorkRequest) String() string

func (WorkRequest) ValidateEnumValue

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

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

type WorkRequestCollection

type WorkRequestCollection struct {

	// The list of items.
	Items []WorkRequest `mandatory:"true" json:"items"`
}

WorkRequestCollection Collection of work requests.

func (WorkRequestCollection) String

func (m WorkRequestCollection) String() string

func (WorkRequestCollection) ValidateEnumValue

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

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

type WorkRequestError

type WorkRequestError struct {

	// A machine-usable code for the error that occured. See
	// API Errors (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 date and time when the error occurred.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestError An error encountered while executing a work request.

func (WorkRequestError) String

func (m WorkRequestError) String() string

func (WorkRequestError) ValidateEnumValue

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

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

type WorkRequestErrorCollection

type WorkRequestErrorCollection struct {

	// The list of items.
	Items []WorkRequestError `mandatory:"true" json:"items"`
}

WorkRequestErrorCollection Collection of work request errors.

func (WorkRequestErrorCollection) String

func (WorkRequestErrorCollection) ValidateEnumValue

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

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

type WorkRequestLogEntry

type WorkRequestLogEntry struct {

	// Human-readable log message.
	Message *string `mandatory:"true" json:"message"`

	// The date and time when the log message was written.
	// Format is defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
	// Example: `2020-01-25T21:10:29.600Z`
	Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"`
}

WorkRequestLogEntry A log message from the execution of a work request.

func (WorkRequestLogEntry) String

func (m WorkRequestLogEntry) String() string

func (WorkRequestLogEntry) ValidateEnumValue

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

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

type WorkRequestLogEntryCollection

type WorkRequestLogEntryCollection struct {

	// The list of items.
	Items []WorkRequestLogEntry `mandatory:"true" json:"items"`
}

WorkRequestLogEntryCollection Collection of work request logs.

func (WorkRequestLogEntryCollection) String

func (WorkRequestLogEntryCollection) ValidateEnumValue

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

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

type WorkRequestResource

type WorkRequestResource struct {

	// The resource type the work request affects.
	EntityType *string `mandatory:"true" json:"entityType"`

	// The way in which this resource is affected by the work tracked in the work request.
	// A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
	// work is complete for that resource at which point it will transition to CREATED, UPDATED,
	// or DELETED, respectively.
	ActionType ActionTypeEnum `mandatory:"true" json:"actionType"`

	// An OCID or other unique identifier for the resource affected by the work request.
	Identifier *string `mandatory:"true" json:"identifier"`

	// The URI path that you can use for a GET request to access the resource metadata.
	EntityUri *string `mandatory:"false" json:"entityUri"`
}

WorkRequestResource A resource created or operated on by a work request.

func (WorkRequestResource) String

func (m WorkRequestResource) String() string

func (WorkRequestResource) ValidateEnumValue

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

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

Source Files

Jump to

Keyboard shortcuts

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