Documentation ¶
Index ¶
- type ActionTypeEnum
- type ActivateServiceConnectorRequest
- func (request ActivateServiceConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ActivateServiceConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ActivateServiceConnectorRequest) RetryPolicy() *common.RetryPolicy
- func (request ActivateServiceConnectorRequest) String() string
- type ActivateServiceConnectorResponse
- type ChangeServiceConnectorCompartmentDetails
- type ChangeServiceConnectorCompartmentRequest
- func (request ChangeServiceConnectorCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ChangeServiceConnectorCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ChangeServiceConnectorCompartmentRequest) RetryPolicy() *common.RetryPolicy
- func (request ChangeServiceConnectorCompartmentRequest) String() string
- type ChangeServiceConnectorCompartmentResponse
- type CreateServiceConnectorDetails
- type CreateServiceConnectorRequest
- func (request CreateServiceConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request CreateServiceConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request CreateServiceConnectorRequest) RetryPolicy() *common.RetryPolicy
- func (request CreateServiceConnectorRequest) String() string
- type CreateServiceConnectorResponse
- type DeactivateServiceConnectorRequest
- func (request DeactivateServiceConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeactivateServiceConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request DeactivateServiceConnectorRequest) RetryPolicy() *common.RetryPolicy
- func (request DeactivateServiceConnectorRequest) String() string
- type DeactivateServiceConnectorResponse
- type DeleteServiceConnectorRequest
- func (request DeleteServiceConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request DeleteServiceConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request DeleteServiceConnectorRequest) RetryPolicy() *common.RetryPolicy
- func (request DeleteServiceConnectorRequest) String() string
- type DeleteServiceConnectorResponse
- type FunctionTaskDetails
- type FunctionsTargetDetails
- type GetServiceConnectorRequest
- func (request GetServiceConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetServiceConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetServiceConnectorRequest) RetryPolicy() *common.RetryPolicy
- func (request GetServiceConnectorRequest) String() string
- type GetServiceConnectorResponse
- type GetWorkRequestRequest
- func (request GetWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
- func (request GetWorkRequestRequest) String() string
- type GetWorkRequestResponse
- type LatestStreamingCursor
- type LifecycleStateEnum
- type ListServiceConnectorsLifecycleStateEnum
- type ListServiceConnectorsRequest
- func (request ListServiceConnectorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListServiceConnectorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListServiceConnectorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListServiceConnectorsRequest) String() string
- type ListServiceConnectorsResponse
- type ListServiceConnectorsSortByEnum
- type ListServiceConnectorsSortOrderEnum
- type ListWorkRequestErrorsRequest
- func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestErrorsRequest) String() string
- type ListWorkRequestErrorsResponse
- type ListWorkRequestLogsRequest
- func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestLogsRequest) String() string
- type ListWorkRequestLogsResponse
- type ListWorkRequestsRequest
- func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
- func (request ListWorkRequestsRequest) String() string
- type ListWorkRequestsResponse
- type LogRuleTaskDetails
- type LogSource
- type LoggingAnalyticsTargetDetails
- type LoggingSourceDetails
- type MonitoringTargetDetails
- type NotificationsTargetDetails
- type ObjectStorageTargetDetails
- type OperationStatusEnum
- type OperationTypeEnum
- type ServiceConnector
- type ServiceConnectorClient
- func (client ServiceConnectorClient) ActivateServiceConnector(ctx context.Context, request ActivateServiceConnectorRequest) (response ActivateServiceConnectorResponse, err error)
- func (client ServiceConnectorClient) ChangeServiceConnectorCompartment(ctx context.Context, request ChangeServiceConnectorCompartmentRequest) (response ChangeServiceConnectorCompartmentResponse, err error)
- func (client *ServiceConnectorClient) ConfigurationProvider() *common.ConfigurationProvider
- func (client ServiceConnectorClient) CreateServiceConnector(ctx context.Context, request CreateServiceConnectorRequest) (response CreateServiceConnectorResponse, err error)
- func (client ServiceConnectorClient) DeactivateServiceConnector(ctx context.Context, request DeactivateServiceConnectorRequest) (response DeactivateServiceConnectorResponse, err error)
- func (client ServiceConnectorClient) DeleteServiceConnector(ctx context.Context, request DeleteServiceConnectorRequest) (response DeleteServiceConnectorResponse, err error)
- func (client ServiceConnectorClient) GetServiceConnector(ctx context.Context, request GetServiceConnectorRequest) (response GetServiceConnectorResponse, err error)
- func (client ServiceConnectorClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
- func (client ServiceConnectorClient) ListServiceConnectors(ctx context.Context, request ListServiceConnectorsRequest) (response ListServiceConnectorsResponse, err error)
- func (client ServiceConnectorClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
- func (client ServiceConnectorClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
- func (client ServiceConnectorClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
- func (client *ServiceConnectorClient) SetRegion(region string)
- func (client ServiceConnectorClient) UpdateServiceConnector(ctx context.Context, request UpdateServiceConnectorRequest) (response UpdateServiceConnectorResponse, err error)
- type ServiceConnectorCollection
- type ServiceConnectorSummary
- type SortOrderEnum
- type SourceDetails
- type SourceDetailsKindEnum
- type StreamingCursorDetails
- type StreamingCursorDetailsKindEnum
- type StreamingSourceDetails
- type StreamingTargetDetails
- type TargetDetails
- type TargetDetailsKindEnum
- type TaskDetails
- type TaskDetailsKindEnum
- type TrimHorizonStreamingCursor
- type UpdateServiceConnectorDetails
- type UpdateServiceConnectorRequest
- func (request UpdateServiceConnectorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
- func (request UpdateServiceConnectorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
- func (request UpdateServiceConnectorRequest) RetryPolicy() *common.RetryPolicy
- func (request UpdateServiceConnectorRequest) String() string
- type UpdateServiceConnectorResponse
- type WorkRequest
- type WorkRequestCollection
- type WorkRequestError
- type WorkRequestErrorCollection
- type WorkRequestLogEntry
- type WorkRequestLogEntryCollection
- type WorkRequestResource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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
type ActivateServiceConnectorRequest ¶
type ActivateServiceConnectorRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service 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) (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
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 service connector to. CompartmentId *string `mandatory:"true" json:"compartmentId"` }
ChangeServiceConnectorCompartmentDetails The configuration details for moving a service connector to a different compartment.
func (ChangeServiceConnectorCompartmentDetails) String ¶
func (m ChangeServiceConnectorCompartmentDetails) String() string
type ChangeServiceConnectorCompartmentRequest ¶
type ChangeServiceConnectorCompartmentRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service connector. ServiceConnectorId *string `mandatory:"true" contributesTo:"path" name:"serviceConnectorId"` // The configuration details for moving a service 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 ¶
func (request ChangeServiceConnectorCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (ChangeServiceConnectorCompartmentRequest) HTTPRequest ¶
func (request ChangeServiceConnectorCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ChangeServiceConnectorCompartmentRequest) RetryPolicy ¶
func (request ChangeServiceConnectorCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ChangeServiceConnectorCompartmentRequest) String ¶
func (request ChangeServiceConnectorCompartmentRequest) String() string
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 ¶
func (response ChangeServiceConnectorCompartmentResponse) String() string
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 service 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 service connector.
func (CreateServiceConnectorDetails) String ¶
func (m CreateServiceConnectorDetails) String() string
func (*CreateServiceConnectorDetails) UnmarshalJSON ¶
func (m *CreateServiceConnectorDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type CreateServiceConnectorRequest ¶
type CreateServiceConnectorRequest struct { // Configuration details for the new service 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) (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
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 service 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) (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
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 service 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) (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
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 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 function task. Batch input can be limited by either size or time. The first limit reached determines the boundary of the batch.
func (FunctionTaskDetails) MarshalJSON ¶
func (m FunctionTaskDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (FunctionTaskDetails) String ¶
func (m FunctionTaskDetails) String() string
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"` }
FunctionsTargetDetails The function used for the Functions target.
func (FunctionsTargetDetails) MarshalJSON ¶
func (m FunctionsTargetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (FunctionsTargetDetails) String ¶
func (m FunctionsTargetDetails) String() string
type GetServiceConnectorRequest ¶
type GetServiceConnectorRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service 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) (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
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) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (GetWorkRequestRequest) RetryPolicy ¶
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (GetWorkRequestRequest) String ¶
func (request GetWorkRequestRequest) String() string
type GetWorkRequestResponse ¶
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // 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 LatestStreamingCursor ¶
type LatestStreamingCursor struct { }
LatestStreamingCursor `LATEST` cursor type. Sets the starting point for consuming the stream at messages published after saving the service connector. For more information about Streaming cursors, see Using Cursors (https://docs.cloud.oracle.com/iaas/Content/Streaming/Tasks/using_a_single_consumer.htm#usingcursors).
func (LatestStreamingCursor) MarshalJSON ¶
func (m LatestStreamingCursor) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (LatestStreamingCursor) String ¶
func (m LatestStreamingCursor) String() string
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
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
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) (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
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
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
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) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestErrorsRequest) RetryPolicy ¶
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestErrorsRequest) String ¶
func (request ListWorkRequestErrorsRequest) String() string
type ListWorkRequestErrorsResponse ¶
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of 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) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestLogsRequest) RetryPolicy ¶
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestLogsRequest) String ¶
func (request ListWorkRequestLogsRequest) String() string
type ListWorkRequestLogsResponse ¶
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of 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) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (ListWorkRequestsRequest) RetryPolicy ¶
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (ListWorkRequestsRequest) String ¶
func (request ListWorkRequestsRequest) String() string
type ListWorkRequestsResponse ¶
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of 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 service connector. Condition *string `mandatory:"true" json:"condition"` }
LogRuleTaskDetails The log rule task.
func (LogRuleTaskDetails) MarshalJSON ¶
func (m LogRuleTaskDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (LogRuleTaskDetails) String ¶
func (m LogRuleTaskDetails) String() string
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. 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 log source.
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"` }
LoggingAnalyticsTargetDetails The log group used for the Logging Analytics target.
func (LoggingAnalyticsTargetDetails) MarshalJSON ¶
func (m LoggingAnalyticsTargetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (LoggingAnalyticsTargetDetails) String ¶
func (m LoggingAnalyticsTargetDetails) String() string
type LoggingSourceDetails ¶
type LoggingSourceDetails struct { // The resources affected by this work request. LogSources []LogSource `mandatory:"true" json:"logSources"` }
LoggingSourceDetails The logging source.
func (LoggingSourceDetails) MarshalJSON ¶
func (m LoggingSourceDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (LoggingSourceDetails) String ¶
func (m LoggingSourceDetails) String() string
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"` }
MonitoringTargetDetails The metric and metric namespace used for the Monitoring target.
func (MonitoringTargetDetails) MarshalJSON ¶
func (m MonitoringTargetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (MonitoringTargetDetails) String ¶
func (m MonitoringTargetDetails) String() string
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 service connector source and the subscription protocol. // Example: `true` EnableFormattedMessaging *bool `mandatory:"false" json:"enableFormattedMessaging"` }
NotificationsTargetDetails The topic used for the Notifications target.
func (NotificationsTargetDetails) MarshalJSON ¶
func (m NotificationsTargetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (NotificationsTargetDetails) String ¶
func (m NotificationsTargetDetails) String() string
type ObjectStorageTargetDetails ¶
type ObjectStorageTargetDetails struct { // The name of the bucket. Avoid entering confidential information. 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 bucket used for the Object Storage target.
func (ObjectStorageTargetDetails) MarshalJSON ¶
func (m ObjectStorageTargetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (ObjectStorageTargetDetails) String ¶
func (m ObjectStorageTargetDetails) String() string
type OperationStatusEnum ¶
type OperationStatusEnum string
OperationStatusEnum Enum with underlying type: string
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCanceling OperationStatusEnum = "CANCELING" OperationStatusCanceled OperationStatusEnum = "CANCELED" )
Set of constants representing the allowable values for OperationStatusEnum
func GetOperationStatusEnumValues ¶
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
type 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 GetOperationTypeEnumValues ¶
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
type ServiceConnector ¶
type ServiceConnector struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service 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 service connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time when the service 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 service 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 service 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 service connector. For more information about flows defined by service connectors, see Service Connector Hub Overview (https://docs.cloud.oracle.com/iaas/Content/service-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
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 service connector. After you send your request, the service connector's state is temporarily UPDATING. When the state changes to ACTIVE, data begins transferring from the source service to the target service. For instructions on activating service connectors, see To activate a service connector (https://docs.cloud.oracle.com/iaas/Content/service-connector-hub/managingconnectors.htm#activate).
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.
func (ServiceConnectorClient) ChangeServiceConnectorCompartment ¶
func (client ServiceConnectorClient) ChangeServiceConnectorCompartment(ctx context.Context, request ChangeServiceConnectorCompartmentRequest) (response ChangeServiceConnectorCompartmentResponse, err error)
ChangeServiceConnectorCompartment Moves a service connector into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment (https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes). 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.
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 service connector in the specified compartment. A service connector is a logically defined flow for moving data from a source service to a destination service in Oracle Cloud Infrastructure. For general information about service connectors, see Service Connector Hub Overview (https://docs.cloud.oracle.com/iaas/Content/service-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 service connector to reside. Notice that the service 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 service 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 service connectors, see To activate or deactivate a service connector (https://docs.cloud.oracle.com/iaas/Content/service-connector-hub/overview.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.
func (ServiceConnectorClient) DeactivateServiceConnector ¶
func (client ServiceConnectorClient) DeactivateServiceConnector(ctx context.Context, request DeactivateServiceConnectorRequest) (response DeactivateServiceConnectorResponse, err error)
DeactivateServiceConnector Deactivates the specified service connector. After you send your request, the service connector's state is temporarily UPDATING and any data transfer stops. The state then changes to INACTIVE. For instructions on deactivating service connectors, see To deactivate a service connector (https://docs.cloud.oracle.com/iaas/Content/service-connector-hub/managingconnectors.htm#deactivate).
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.
func (ServiceConnectorClient) DeleteServiceConnector ¶
func (client ServiceConnectorClient) DeleteServiceConnector(ctx context.Context, request DeleteServiceConnectorRequest) (response DeleteServiceConnectorResponse, err error)
DeleteServiceConnector Deletes the specified service connector. After you send your request, the service 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.
func (ServiceConnectorClient) GetServiceConnector ¶
func (client ServiceConnectorClient) GetServiceConnector(ctx context.Context, request GetServiceConnectorRequest) (response GetServiceConnectorResponse, err error)
GetServiceConnector Gets the specified service connector's configuration information.
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.
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.
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.
func (ServiceConnectorClient) ListServiceConnectors ¶
func (client ServiceConnectorClient) ListServiceConnectors(ctx context.Context, request ListServiceConnectorsRequest) (response ListServiceConnectorsResponse, err error)
ListServiceConnectors Lists service connectors in the specified compartment.
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.
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.
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.
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.
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.
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.
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.
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 service connector. After you send your request, the service 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.
type ServiceConnectorCollection ¶
type ServiceConnectorCollection struct { // The list of items. Items []ServiceConnectorSummary `mandatory:"true" json:"items"` }
ServiceConnectorCollection Collection of service connector property summaries.
func (ServiceConnectorCollection) String ¶
func (m ServiceConnectorCollection) String() string
type ServiceConnectorSummary ¶
type ServiceConnectorSummary struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service 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 service connector. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The date and time when the service 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 service 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 service 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 service connector.
func (ServiceConnectorSummary) String ¶
func (m ServiceConnectorSummary) String() string
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 GetSortOrderEnumValues ¶
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
type SourceDetails ¶
type SourceDetails interface { }
SourceDetails An object that represents the source of the flow defined by the service connector. An example source is the VCNFlow logs within the NetworkLogs group. For more information about flows defined by service connectors, see Service Connector Hub Overview (https://docs.cloud.oracle.com/iaas/Content/service-connector-hub/overview.htm).
type SourceDetailsKindEnum ¶
type SourceDetailsKindEnum string
SourceDetailsKindEnum Enum with underlying type: string
const ( SourceDetailsKindLogging SourceDetailsKindEnum = "logging" SourceDetailsKindStreaming SourceDetailsKindEnum = "streaming" )
Set of constants representing the allowable values for SourceDetailsKindEnum
func GetSourceDetailsKindEnumValues ¶
func GetSourceDetailsKindEnumValues() []SourceDetailsKindEnum
GetSourceDetailsKindEnumValues Enumerates the set of values for SourceDetailsKindEnum
type StreamingCursorDetails ¶
type StreamingCursorDetails interface { }
StreamingCursorDetails The type of cursor (https://docs.cloud.oracle.com/iaas/Content/Streaming/Tasks/using_a_single_consumer.htm#usingcursors), which determines the starting point from which the stream will be consumed.
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 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.
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
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 stream used for the Streaming target.
func (StreamingTargetDetails) MarshalJSON ¶
func (m StreamingTargetDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (StreamingTargetDetails) String ¶
func (m StreamingTargetDetails) String() string
type TargetDetails ¶
type TargetDetails interface { }
TargetDetails An object that represents the target of the flow defined by the service connector. An example target is a stream. For more information about flows defined by service connectors, see Service Connector Hub Overview (https://docs.cloud.oracle.com/iaas/Content/service-connector-hub/overview.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 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 service connector. An example task is a filter for error logs. For more information about flows defined by service connectors, see Service Connector Hub Overview (https://docs.cloud.oracle.com/iaas/Content/service-connector-hub/overview.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 GetTaskDetailsKindEnumValues ¶
func GetTaskDetailsKindEnumValues() []TaskDetailsKindEnum
GetTaskDetailsKindEnumValues Enumerates the set of values for TaskDetailsKindEnum
type TrimHorizonStreamingCursor ¶
type TrimHorizonStreamingCursor struct { }
TrimHorizonStreamingCursor `TRIM_HORIZON` cursor type. Sets the starting point for consuming the stream at the oldest available message in the stream. For more information about Streaming cursors, see Using Cursors (https://docs.cloud.oracle.com/iaas/Content/Streaming/Tasks/using_a_single_consumer.htm#usingcursors).
func (TrimHorizonStreamingCursor) MarshalJSON ¶
func (m TrimHorizonStreamingCursor) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (TrimHorizonStreamingCursor) String ¶
func (m TrimHorizonStreamingCursor) String() string
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 service connector.
func (UpdateServiceConnectorDetails) String ¶
func (m UpdateServiceConnectorDetails) String() string
func (*UpdateServiceConnectorDetails) UnmarshalJSON ¶
func (m *UpdateServiceConnectorDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
type UpdateServiceConnectorRequest ¶
type UpdateServiceConnectorRequest struct { // The OCID (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service 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) (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
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 service 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/service-connector-hub/workrequests.htm).
func (WorkRequest) String ¶
func (m WorkRequest) String() string
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
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
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 (m WorkRequestErrorCollection) String() string
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
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 (m WorkRequestLogEntryCollection) String() string
type WorkRequestResource ¶
type WorkRequestResource struct { // The resource type the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the work tracked in the work request. // A resource being created, updated, or deleted will remain in the IN_PROGRESS state until // work is complete for that resource at which point it will transition to CREATED, UPDATED, // or DELETED, respectively. ActionType 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
Source Files ¶
- action_type.go
- activate_service_connector_request_response.go
- change_service_connector_compartment_details.go
- change_service_connector_compartment_request_response.go
- create_service_connector_details.go
- create_service_connector_request_response.go
- deactivate_service_connector_request_response.go
- delete_service_connector_request_response.go
- function_task_details.go
- functions_target_details.go
- get_service_connector_request_response.go
- get_work_request_request_response.go
- latest_streaming_cursor.go
- lifecycle_state.go
- list_service_connectors_request_response.go
- list_work_request_errors_request_response.go
- list_work_request_logs_request_response.go
- list_work_requests_request_response.go
- log_rule_task_details.go
- log_source.go
- logging_analytics_target_details.go
- logging_source_details.go
- monitoring_target_details.go
- notifications_target_details.go
- object_storage_target_details.go
- operation_status.go
- operation_type.go
- sch_serviceconnector_client.go
- service_connector.go
- service_connector_collection.go
- service_connector_summary.go
- sort_order.go
- source_details.go
- streaming_cursor_details.go
- streaming_source_details.go
- streaming_target_details.go
- target_details.go
- task_details.go
- trim_horizon_streaming_cursor.go
- update_service_connector_details.go
- update_service_connector_request_response.go
- work_request.go
- work_request_collection.go
- work_request_error.go
- work_request_error_collection.go
- work_request_log_entry.go
- work_request_log_entry_collection.go
- work_request_resource.go