ChangeIntegrationInstanceCompartmentDetails The information to be updated.
type ChangeIntegrationInstanceCompartmentDetails struct { // Compartment Identifier. CompartmentId *string `mandatory:"false" json:"compartmentId"` }
func (m ChangeIntegrationInstanceCompartmentDetails) String() string
ChangeIntegrationInstanceCompartmentRequest wrapper for the ChangeIntegrationInstanceCompartment operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ChangeIntegrationInstanceCompartment.go.html to see an example of how to use ChangeIntegrationInstanceCompartmentRequest.
type ChangeIntegrationInstanceCompartmentRequest struct { // Unique Integration Instance identifier. IntegrationInstanceId *string `mandatory:"true" contributesTo:"path" name:"integrationInstanceId"` // Details for the update integration instance ChangeIntegrationInstanceCompartmentDetails `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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case // of a timeout or server error without risk of executing that same action // again. Retry tokens expire after 24 hours, but can be invalidated before // then due to conflicting operations. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeIntegrationInstanceCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeIntegrationInstanceCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeIntegrationInstanceCompartmentRequest) String() string
ChangeIntegrationInstanceCompartmentResponse wrapper for the ChangeIntegrationInstanceCompartment operation
type ChangeIntegrationInstanceCompartmentResponse 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"` }
func (response ChangeIntegrationInstanceCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeIntegrationInstanceCompartmentResponse) String() string
ChangeIntegrationInstanceNetworkEndpointDetails Input payload to update an Integration instance endpoint details. An empty payload will clear out any existing configuration.
type ChangeIntegrationInstanceNetworkEndpointDetails struct { NetworkEndpointDetails NetworkEndpointDetails `mandatory:"false" json:"networkEndpointDetails"` }
func (m ChangeIntegrationInstanceNetworkEndpointDetails) String() string
func (m *ChangeIntegrationInstanceNetworkEndpointDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
ChangeIntegrationInstanceNetworkEndpointRequest wrapper for the ChangeIntegrationInstanceNetworkEndpoint operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ChangeIntegrationInstanceNetworkEndpoint.go.html to see an example of how to use ChangeIntegrationInstanceNetworkEndpointRequest.
type ChangeIntegrationInstanceNetworkEndpointRequest struct { // Unique Integration Instance identifier. IntegrationInstanceId *string `mandatory:"true" contributesTo:"path" name:"integrationInstanceId"` // Details for the updated Integration instance network endpoint ChangeIntegrationInstanceNetworkEndpointDetails `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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case // of a timeout or server error without risk of executing that same action // again. Retry tokens expire after 24 hours, but can be invalidated before // then due to conflicting operations. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ChangeIntegrationInstanceNetworkEndpointRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeIntegrationInstanceNetworkEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeIntegrationInstanceNetworkEndpointRequest) String() string
ChangeIntegrationInstanceNetworkEndpointResponse wrapper for the ChangeIntegrationInstanceNetworkEndpoint operation
type ChangeIntegrationInstanceNetworkEndpointResponse 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"` }
func (response ChangeIntegrationInstanceNetworkEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeIntegrationInstanceNetworkEndpointResponse) String() string
CreateCustomEndpointDetails Details for a custom endpoint for the integration instance (update).
type CreateCustomEndpointDetails struct { // A custom hostname to be used for the integration instance URL, in FQDN format. Hostname *string `mandatory:"true" json:"hostname"` // Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. // All certificates should be stored in a single base64 encoded secret // Note the update will fail if this is not a valid certificate. CertificateSecretId *string `mandatory:"false" json:"certificateSecretId"` }
func (m CreateCustomEndpointDetails) String() string
CreateIntegrationInstanceDetails The information about new IntegrationInstance.
type CreateIntegrationInstanceDetails struct { // Integration Instance Identifier. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Standard or Enterprise type IntegrationInstanceType CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum `mandatory:"true" json:"integrationInstanceType"` // Bring your own license. IsByol *bool `mandatory:"true" json:"isByol"` // The number of configured message packs MessagePacks *int `mandatory:"true" json:"messagePacks"` // 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"` // Usage of predefined tag keys. These predefined keys are scoped to // namespaces. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // IDCS Authentication token. This is required for all realms with IDCS. Its optional as its not required for non IDCS realms. IdcsAt *string `mandatory:"false" json:"idcsAt"` // Visual Builder is enabled or not. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *CreateCustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints to be used for the integration instance URL // (contact Oracle for alternateCustomEndpoints availability for a specific instance). AlternateCustomEndpoints []CreateCustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` // Optional parameter specifying which entitlement to use for billing purposes. Only required if the account possesses more than one entitlement. ConsumptionModel CreateIntegrationInstanceDetailsConsumptionModelEnum `mandatory:"false" json:"consumptionModel,omitempty"` // The file server is enabled or not. IsFileServerEnabled *bool `mandatory:"false" json:"isFileServerEnabled"` NetworkEndpointDetails NetworkEndpointDetails `mandatory:"false" json:"networkEndpointDetails"` }
func (m CreateIntegrationInstanceDetails) String() string
func (m *CreateIntegrationInstanceDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
CreateIntegrationInstanceDetailsConsumptionModelEnum Enum with underlying type: string
type CreateIntegrationInstanceDetailsConsumptionModelEnum string
Set of constants representing the allowable values for CreateIntegrationInstanceDetailsConsumptionModelEnum
const ( CreateIntegrationInstanceDetailsConsumptionModelUcm CreateIntegrationInstanceDetailsConsumptionModelEnum = "UCM" CreateIntegrationInstanceDetailsConsumptionModelGov CreateIntegrationInstanceDetailsConsumptionModelEnum = "GOV" CreateIntegrationInstanceDetailsConsumptionModelOic4saas CreateIntegrationInstanceDetailsConsumptionModelEnum = "OIC4SAAS" )
func GetCreateIntegrationInstanceDetailsConsumptionModelEnumValues() []CreateIntegrationInstanceDetailsConsumptionModelEnum
GetCreateIntegrationInstanceDetailsConsumptionModelEnumValues Enumerates the set of values for CreateIntegrationInstanceDetailsConsumptionModelEnum
CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum Enum with underlying type: string
type CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum string
Set of constants representing the allowable values for CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum
const ( CreateIntegrationInstanceDetailsIntegrationInstanceTypeStandard CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum = "STANDARD" CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnterprise CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum = "ENTERPRISE" )
func GetCreateIntegrationInstanceDetailsIntegrationInstanceTypeEnumValues() []CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum
GetCreateIntegrationInstanceDetailsIntegrationInstanceTypeEnumValues Enumerates the set of values for CreateIntegrationInstanceDetailsIntegrationInstanceTypeEnum
CreateIntegrationInstanceRequest wrapper for the CreateIntegrationInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/CreateIntegrationInstance.go.html to see an example of how to use CreateIntegrationInstanceRequest.
type CreateIntegrationInstanceRequest struct { // Details for the new Integration Instance. CreateIntegrationInstanceDetails `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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request CreateIntegrationInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateIntegrationInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateIntegrationInstanceRequest) String() string
CreateIntegrationInstanceResponse wrapper for the CreateIntegrationInstance operation
type CreateIntegrationInstanceResponse 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"` }
func (response CreateIntegrationInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateIntegrationInstanceResponse) String() string
CustomEndpointDetails Details for a custom endpoint for the integration instance.
type CustomEndpointDetails struct { // A custom hostname to be used for the integration instance URL, in FQDN format. Hostname *string `mandatory:"true" json:"hostname"` // Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. CertificateSecretId *string `mandatory:"false" json:"certificateSecretId"` // The secret version used for the certificate-secret-id (if certificate-secret-id is specified). CertificateSecretVersion *int `mandatory:"false" json:"certificateSecretVersion"` }
func (m CustomEndpointDetails) String() string
DeleteIntegrationInstanceRequest wrapper for the DeleteIntegrationInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/DeleteIntegrationInstance.go.html to see an example of how to use DeleteIntegrationInstanceRequest.
type DeleteIntegrationInstanceRequest struct { // Unique Integration Instance identifier. IntegrationInstanceId *string `mandatory:"true" contributesTo:"path" name:"integrationInstanceId"` // 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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request DeleteIntegrationInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteIntegrationInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteIntegrationInstanceRequest) String() string
DeleteIntegrationInstanceResponse wrapper for the DeleteIntegrationInstance operation
type DeleteIntegrationInstanceResponse 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"` }
func (response DeleteIntegrationInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteIntegrationInstanceResponse) String() string
GetIntegrationInstanceRequest wrapper for the GetIntegrationInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/GetIntegrationInstance.go.html to see an example of how to use GetIntegrationInstanceRequest.
type GetIntegrationInstanceRequest struct { // Unique Integration Instance identifier. IntegrationInstanceId *string `mandatory:"true" contributesTo:"path" name:"integrationInstanceId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetIntegrationInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetIntegrationInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetIntegrationInstanceRequest) String() string
GetIntegrationInstanceResponse wrapper for the GetIntegrationInstance operation
type GetIntegrationInstanceResponse struct { // The underlying http response RawResponse *http.Response // The IntegrationInstance instance IntegrationInstance `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"` }
func (response GetIntegrationInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetIntegrationInstanceResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetWorkRequestRequest) String() string
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If // you need to contact Oracle about a particular request, // please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // some decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *float32 `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
IntegrationInstance Description of Integration Instance.
type IntegrationInstance struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Integration Instance Identifier, can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Standard or Enterprise type IntegrationInstanceType IntegrationInstanceIntegrationInstanceTypeEnum `mandatory:"true" json:"integrationInstanceType"` // Bring your own license. IsByol *bool `mandatory:"true" json:"isByol"` // The Integration Instance URL. InstanceUrl *string `mandatory:"true" json:"instanceUrl"` // The number of configured message packs (if any) MessagePacks *int `mandatory:"true" json:"messagePacks"` // The time the the IntegrationInstance was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the IntegrationInstance was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the integration instance. LifecycleState IntegrationInstanceLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. StateMessage *string `mandatory:"false" json:"stateMessage"` // 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"` // Usage of predefined tag keys. These predefined keys are scoped to // namespaces. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // The file server is enabled or not. IsFileServerEnabled *bool `mandatory:"false" json:"isFileServerEnabled"` // VisualBuilder is enabled or not. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *CustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints used for the integration instance URL. AlternateCustomEndpoints []CustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` // The entitlement used for billing purposes. ConsumptionModel IntegrationInstanceConsumptionModelEnum `mandatory:"false" json:"consumptionModel,omitempty"` NetworkEndpointDetails NetworkEndpointDetails `mandatory:"false" json:"networkEndpointDetails"` }
func (m IntegrationInstance) String() string
func (m *IntegrationInstance) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
IntegrationInstanceClient a client for IntegrationInstance
type IntegrationInstanceClient struct { common.BaseClient // contains filtered or unexported fields }
func NewIntegrationInstanceClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client IntegrationInstanceClient, err error)
NewIntegrationInstanceClientWithConfigurationProvider Creates a new default IntegrationInstance client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewIntegrationInstanceClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client IntegrationInstanceClient, err error)
NewIntegrationInstanceClientWithOboToken Creates a new default IntegrationInstance client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer
as well as reading the region
func (client IntegrationInstanceClient) ChangeIntegrationInstanceCompartment(ctx context.Context, request ChangeIntegrationInstanceCompartmentRequest) (response ChangeIntegrationInstanceCompartmentResponse, err error)
ChangeIntegrationInstanceCompartment Change the compartment for an integration instance
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ChangeIntegrationInstanceCompartment.go.html to see an example of how to use ChangeIntegrationInstanceCompartment API.
func (client IntegrationInstanceClient) ChangeIntegrationInstanceNetworkEndpoint(ctx context.Context, request ChangeIntegrationInstanceNetworkEndpointRequest) (response ChangeIntegrationInstanceNetworkEndpointResponse, err error)
ChangeIntegrationInstanceNetworkEndpoint Change an Integration instance network endpoint. The operation is long-running and creates a new WorkRequest.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ChangeIntegrationInstanceNetworkEndpoint.go.html to see an example of how to use ChangeIntegrationInstanceNetworkEndpoint API.
func (client *IntegrationInstanceClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client IntegrationInstanceClient) CreateIntegrationInstance(ctx context.Context, request CreateIntegrationInstanceRequest) (response CreateIntegrationInstanceResponse, err error)
CreateIntegrationInstance Creates a new Integration Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/CreateIntegrationInstance.go.html to see an example of how to use CreateIntegrationInstance API.
func (client IntegrationInstanceClient) DeleteIntegrationInstance(ctx context.Context, request DeleteIntegrationInstanceRequest) (response DeleteIntegrationInstanceResponse, err error)
DeleteIntegrationInstance Deletes an Integration Instance resource by identifier.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/DeleteIntegrationInstance.go.html to see an example of how to use DeleteIntegrationInstance API.
func (client IntegrationInstanceClient) GetIntegrationInstance(ctx context.Context, request GetIntegrationInstanceRequest) (response GetIntegrationInstanceResponse, err error)
GetIntegrationInstance Gets a IntegrationInstance by identifier
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/GetIntegrationInstance.go.html to see an example of how to use GetIntegrationInstance API.
func (client IntegrationInstanceClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the status of the work request with the given ID.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API.
func (client IntegrationInstanceClient) ListIntegrationInstances(ctx context.Context, request ListIntegrationInstancesRequest) (response ListIntegrationInstancesResponse, err error)
ListIntegrationInstances Returns a list of Integration Instances.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListIntegrationInstances.go.html to see an example of how to use ListIntegrationInstances API.
func (client IntegrationInstanceClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Get the errors of a work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API.
func (client IntegrationInstanceClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Get the logs of a work request.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API.
func (client IntegrationInstanceClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API.
func (client *IntegrationInstanceClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client IntegrationInstanceClient) StartIntegrationInstance(ctx context.Context, request StartIntegrationInstanceRequest) (response StartIntegrationInstanceResponse, err error)
StartIntegrationInstance Start an integration instance that was previously in an INACTIVE state
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/StartIntegrationInstance.go.html to see an example of how to use StartIntegrationInstance API.
func (client IntegrationInstanceClient) StopIntegrationInstance(ctx context.Context, request StopIntegrationInstanceRequest) (response StopIntegrationInstanceResponse, err error)
StopIntegrationInstance Stop an integration instance that was previously in an ACTIVE state
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/StopIntegrationInstance.go.html to see an example of how to use StopIntegrationInstance API.
func (client IntegrationInstanceClient) UpdateIntegrationInstance(ctx context.Context, request UpdateIntegrationInstanceRequest) (response UpdateIntegrationInstanceResponse, err error)
UpdateIntegrationInstance Updates the Integration Instance.
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/UpdateIntegrationInstance.go.html to see an example of how to use UpdateIntegrationInstance API.
IntegrationInstanceConsumptionModelEnum Enum with underlying type: string
type IntegrationInstanceConsumptionModelEnum string
Set of constants representing the allowable values for IntegrationInstanceConsumptionModelEnum
const ( IntegrationInstanceConsumptionModelUcm IntegrationInstanceConsumptionModelEnum = "UCM" IntegrationInstanceConsumptionModelGov IntegrationInstanceConsumptionModelEnum = "GOV" IntegrationInstanceConsumptionModelOic4saas IntegrationInstanceConsumptionModelEnum = "OIC4SAAS" )
func GetIntegrationInstanceConsumptionModelEnumValues() []IntegrationInstanceConsumptionModelEnum
GetIntegrationInstanceConsumptionModelEnumValues Enumerates the set of values for IntegrationInstanceConsumptionModelEnum
IntegrationInstanceIntegrationInstanceTypeEnum Enum with underlying type: string
type IntegrationInstanceIntegrationInstanceTypeEnum string
Set of constants representing the allowable values for IntegrationInstanceIntegrationInstanceTypeEnum
const ( IntegrationInstanceIntegrationInstanceTypeStandard IntegrationInstanceIntegrationInstanceTypeEnum = "STANDARD" IntegrationInstanceIntegrationInstanceTypeEnterprise IntegrationInstanceIntegrationInstanceTypeEnum = "ENTERPRISE" )
func GetIntegrationInstanceIntegrationInstanceTypeEnumValues() []IntegrationInstanceIntegrationInstanceTypeEnum
GetIntegrationInstanceIntegrationInstanceTypeEnumValues Enumerates the set of values for IntegrationInstanceIntegrationInstanceTypeEnum
IntegrationInstanceLifecycleStateEnum Enum with underlying type: string
type IntegrationInstanceLifecycleStateEnum string
Set of constants representing the allowable values for IntegrationInstanceLifecycleStateEnum
const ( IntegrationInstanceLifecycleStateCreating IntegrationInstanceLifecycleStateEnum = "CREATING" IntegrationInstanceLifecycleStateUpdating IntegrationInstanceLifecycleStateEnum = "UPDATING" IntegrationInstanceLifecycleStateActive IntegrationInstanceLifecycleStateEnum = "ACTIVE" IntegrationInstanceLifecycleStateInactive IntegrationInstanceLifecycleStateEnum = "INACTIVE" IntegrationInstanceLifecycleStateDeleting IntegrationInstanceLifecycleStateEnum = "DELETING" IntegrationInstanceLifecycleStateDeleted IntegrationInstanceLifecycleStateEnum = "DELETED" IntegrationInstanceLifecycleStateFailed IntegrationInstanceLifecycleStateEnum = "FAILED" )
func GetIntegrationInstanceLifecycleStateEnumValues() []IntegrationInstanceLifecycleStateEnum
GetIntegrationInstanceLifecycleStateEnumValues Enumerates the set of values for IntegrationInstanceLifecycleStateEnum
IntegrationInstanceSummary Summary of the Integration Instance.
type IntegrationInstanceSummary struct { // Unique identifier that is immutable on creation. Id *string `mandatory:"true" json:"id"` // Integration Instance Identifier, can be renamed. DisplayName *string `mandatory:"true" json:"displayName"` // Compartment Identifier. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Standard or Enterprise type IntegrationInstanceType IntegrationInstanceSummaryIntegrationInstanceTypeEnum `mandatory:"true" json:"integrationInstanceType"` // Bring your own license. IsByol *bool `mandatory:"true" json:"isByol"` // The Integration Instance URL. InstanceUrl *string `mandatory:"true" json:"instanceUrl"` // The number of configured message packs (if any) MessagePacks *int `mandatory:"true" json:"messagePacks"` // The time the the Integration Instance was created. An RFC3339 formatted datetime string. TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"` // The time the IntegrationInstance was updated. An RFC3339 formatted datetime string. TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` // The current state of the Integration Instance. LifecycleState IntegrationInstanceSummaryLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"` // An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. StateMessage *string `mandatory:"false" json:"stateMessage"` // The file server is enabled or not. IsFileServerEnabled *bool `mandatory:"false" json:"isFileServerEnabled"` // Visual Builder is enabled or not. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *CustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints used for the integration instance URL. AlternateCustomEndpoints []CustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` // The entitlement used for billing purposes. ConsumptionModel IntegrationInstanceSummaryConsumptionModelEnum `mandatory:"false" json:"consumptionModel,omitempty"` NetworkEndpointDetails NetworkEndpointDetails `mandatory:"false" json:"networkEndpointDetails"` }
func (m IntegrationInstanceSummary) String() string
func (m *IntegrationInstanceSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
IntegrationInstanceSummaryConsumptionModelEnum Enum with underlying type: string
type IntegrationInstanceSummaryConsumptionModelEnum string
Set of constants representing the allowable values for IntegrationInstanceSummaryConsumptionModelEnum
const ( IntegrationInstanceSummaryConsumptionModelUcm IntegrationInstanceSummaryConsumptionModelEnum = "UCM" IntegrationInstanceSummaryConsumptionModelGov IntegrationInstanceSummaryConsumptionModelEnum = "GOV" IntegrationInstanceSummaryConsumptionModelOic4saas IntegrationInstanceSummaryConsumptionModelEnum = "OIC4SAAS" )
func GetIntegrationInstanceSummaryConsumptionModelEnumValues() []IntegrationInstanceSummaryConsumptionModelEnum
GetIntegrationInstanceSummaryConsumptionModelEnumValues Enumerates the set of values for IntegrationInstanceSummaryConsumptionModelEnum
IntegrationInstanceSummaryIntegrationInstanceTypeEnum Enum with underlying type: string
type IntegrationInstanceSummaryIntegrationInstanceTypeEnum string
Set of constants representing the allowable values for IntegrationInstanceSummaryIntegrationInstanceTypeEnum
const ( IntegrationInstanceSummaryIntegrationInstanceTypeStandard IntegrationInstanceSummaryIntegrationInstanceTypeEnum = "STANDARD" IntegrationInstanceSummaryIntegrationInstanceTypeEnterprise IntegrationInstanceSummaryIntegrationInstanceTypeEnum = "ENTERPRISE" )
func GetIntegrationInstanceSummaryIntegrationInstanceTypeEnumValues() []IntegrationInstanceSummaryIntegrationInstanceTypeEnum
GetIntegrationInstanceSummaryIntegrationInstanceTypeEnumValues Enumerates the set of values for IntegrationInstanceSummaryIntegrationInstanceTypeEnum
IntegrationInstanceSummaryLifecycleStateEnum Enum with underlying type: string
type IntegrationInstanceSummaryLifecycleStateEnum string
Set of constants representing the allowable values for IntegrationInstanceSummaryLifecycleStateEnum
const ( IntegrationInstanceSummaryLifecycleStateCreating IntegrationInstanceSummaryLifecycleStateEnum = "CREATING" IntegrationInstanceSummaryLifecycleStateUpdating IntegrationInstanceSummaryLifecycleStateEnum = "UPDATING" IntegrationInstanceSummaryLifecycleStateActive IntegrationInstanceSummaryLifecycleStateEnum = "ACTIVE" IntegrationInstanceSummaryLifecycleStateInactive IntegrationInstanceSummaryLifecycleStateEnum = "INACTIVE" IntegrationInstanceSummaryLifecycleStateDeleting IntegrationInstanceSummaryLifecycleStateEnum = "DELETING" IntegrationInstanceSummaryLifecycleStateDeleted IntegrationInstanceSummaryLifecycleStateEnum = "DELETED" IntegrationInstanceSummaryLifecycleStateFailed IntegrationInstanceSummaryLifecycleStateEnum = "FAILED" )
func GetIntegrationInstanceSummaryLifecycleStateEnumValues() []IntegrationInstanceSummaryLifecycleStateEnum
GetIntegrationInstanceSummaryLifecycleStateEnumValues Enumerates the set of values for IntegrationInstanceSummaryLifecycleStateEnum
ListIntegrationInstancesLifecycleStateEnum Enum with underlying type: string
type ListIntegrationInstancesLifecycleStateEnum string
Set of constants representing the allowable values for ListIntegrationInstancesLifecycleStateEnum
const ( ListIntegrationInstancesLifecycleStateCreating ListIntegrationInstancesLifecycleStateEnum = "CREATING" ListIntegrationInstancesLifecycleStateUpdating ListIntegrationInstancesLifecycleStateEnum = "UPDATING" ListIntegrationInstancesLifecycleStateActive ListIntegrationInstancesLifecycleStateEnum = "ACTIVE" ListIntegrationInstancesLifecycleStateInactive ListIntegrationInstancesLifecycleStateEnum = "INACTIVE" ListIntegrationInstancesLifecycleStateDeleting ListIntegrationInstancesLifecycleStateEnum = "DELETING" ListIntegrationInstancesLifecycleStateDeleted ListIntegrationInstancesLifecycleStateEnum = "DELETED" ListIntegrationInstancesLifecycleStateFailed ListIntegrationInstancesLifecycleStateEnum = "FAILED" )
func GetListIntegrationInstancesLifecycleStateEnumValues() []ListIntegrationInstancesLifecycleStateEnum
GetListIntegrationInstancesLifecycleStateEnumValues Enumerates the set of values for ListIntegrationInstancesLifecycleStateEnum
ListIntegrationInstancesRequest wrapper for the ListIntegrationInstances operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListIntegrationInstances.go.html to see an example of how to use ListIntegrationInstancesRequest.
type ListIntegrationInstancesRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // A user-friendly name. Does not have to be unique, and it's changeable. // Example: `My new resource` DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"` // Life cycle state to query on. LifecycleState ListIntegrationInstancesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either 'asc' or 'desc'. SortOrder ListIntegrationInstancesSortOrderEnum `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 ListIntegrationInstancesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListIntegrationInstancesRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListIntegrationInstancesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListIntegrationInstancesRequest) String() string
ListIntegrationInstancesResponse wrapper for the ListIntegrationInstances operation
type ListIntegrationInstancesResponse struct { // The underlying http response RawResponse *http.Response // A list of []IntegrationInstanceSummary instances Items []IntegrationInstanceSummary `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 OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
func (response ListIntegrationInstancesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListIntegrationInstancesResponse) String() string
ListIntegrationInstancesSortByEnum Enum with underlying type: string
type ListIntegrationInstancesSortByEnum string
Set of constants representing the allowable values for ListIntegrationInstancesSortByEnum
const ( ListIntegrationInstancesSortByTimecreated ListIntegrationInstancesSortByEnum = "TIMECREATED" ListIntegrationInstancesSortByDisplayname ListIntegrationInstancesSortByEnum = "DISPLAYNAME" )
func GetListIntegrationInstancesSortByEnumValues() []ListIntegrationInstancesSortByEnum
GetListIntegrationInstancesSortByEnumValues Enumerates the set of values for ListIntegrationInstancesSortByEnum
ListIntegrationInstancesSortOrderEnum Enum with underlying type: string
type ListIntegrationInstancesSortOrderEnum string
Set of constants representing the allowable values for ListIntegrationInstancesSortOrderEnum
const ( ListIntegrationInstancesSortOrderAsc ListIntegrationInstancesSortOrderEnum = "ASC" ListIntegrationInstancesSortOrderDesc ListIntegrationInstancesSortOrderEnum = "DESC" )
func GetListIntegrationInstancesSortOrderEnumValues() []ListIntegrationInstancesSortOrderEnum
GetListIntegrationInstancesSortOrderEnumValues Enumerates the set of values for ListIntegrationInstancesSortOrderEnum
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestErrorsRequest) String() string
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
type ListWorkRequestErrorsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestError instances Items []WorkRequestError `presentIn:"body"` // 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 OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The ID of the asynchronous request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestLogsRequest) String() string
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
type ListWorkRequestLogsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestLogEntry instances Items []WorkRequestLogEntry `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 OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The ID of the compartment in which to list resources. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The maximum number of items to return. Limit *int `mandatory:"false" contributesTo:"query" name:"limit"` // The Integration Instance identifier to use to filter results IntegrationInstanceId *string `mandatory:"false" contributesTo:"query" name:"integrationInstanceId"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkRequestsRequest) String() string
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of []WorkRequestSummary instances Items []WorkRequestSummary `presentIn:"body"` // 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 OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // For list pagination. When this header appears in the response, additional pages of results have been previously returned OpcPreviousPage *string `presentIn:"header" name:"opc-previous-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
NetworkEndpointDetails Base representation of a network endpoint.
type NetworkEndpointDetails interface { }
NetworkEndpointTypeEnum Enum with underlying type: string
type NetworkEndpointTypeEnum string
Set of constants representing the allowable values for NetworkEndpointTypeEnum
const ( NetworkEndpointTypePublic NetworkEndpointTypeEnum = "PUBLIC" )
func GetNetworkEndpointTypeEnumValues() []NetworkEndpointTypeEnum
GetNetworkEndpointTypeEnumValues Enumerates the set of values for NetworkEndpointTypeEnum
PublicEndpointDetails Public endpoint configuration details.
type PublicEndpointDetails struct { // Source IP addresses or IP address ranges ingress rules. AllowlistedHttpIps []string `mandatory:"false" json:"allowlistedHttpIps"` // Virtual Cloud Networks allowed to access this network endpoint. AllowlistedHttpVcns []VirtualCloudNetwork `mandatory:"false" json:"allowlistedHttpVcns"` // The Integration service's VCN is allow-listed to allow integrations to call back into other integrations IsIntegrationVcnAllowlisted *bool `mandatory:"false" json:"isIntegrationVcnAllowlisted"` }
func (m PublicEndpointDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PublicEndpointDetails) String() string
StartIntegrationInstanceRequest wrapper for the StartIntegrationInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/StartIntegrationInstance.go.html to see an example of how to use StartIntegrationInstanceRequest.
type StartIntegrationInstanceRequest struct { // Unique Integration Instance identifier. IntegrationInstanceId *string `mandatory:"true" contributesTo:"path" name:"integrationInstanceId"` // 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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case // of a timeout or server error without risk of executing that same action // again. Retry tokens expire after 24 hours, but can be invalidated before // then due to conflicting operations. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StartIntegrationInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StartIntegrationInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StartIntegrationInstanceRequest) String() string
StartIntegrationInstanceResponse wrapper for the StartIntegrationInstance operation
type StartIntegrationInstanceResponse 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"` }
func (response StartIntegrationInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StartIntegrationInstanceResponse) String() string
StopIntegrationInstanceRequest wrapper for the StopIntegrationInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/StopIntegrationInstance.go.html to see an example of how to use StopIntegrationInstanceRequest.
type StopIntegrationInstanceRequest struct { // Unique Integration Instance identifier. IntegrationInstanceId *string `mandatory:"true" contributesTo:"path" name:"integrationInstanceId"` // 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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // A token that uniquely identifies a request so it can be retried in case // of a timeout or server error without risk of executing that same action // again. Retry tokens expire after 24 hours, but can be invalidated before // then due to conflicting operations. 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"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request StopIntegrationInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request StopIntegrationInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request StopIntegrationInstanceRequest) String() string
StopIntegrationInstanceResponse wrapper for the StopIntegrationInstance operation
type StopIntegrationInstanceResponse 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"` }
func (response StopIntegrationInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response StopIntegrationInstanceResponse) String() string
UpdateCustomEndpointDetails Details for a custom endpoint for the integration instance (update).
type UpdateCustomEndpointDetails struct { // A custom hostname to be used for the integration instance URL, in FQDN format. Hostname *string `mandatory:"true" json:"hostname"` // Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. // All certificates should be stored in a single base64 encoded secret. // Note the update will fail if this is not a valid certificate. CertificateSecretId *string `mandatory:"false" json:"certificateSecretId"` }
func (m UpdateCustomEndpointDetails) String() string
UpdateIntegrationInstanceDetails The information to be updated.
type UpdateIntegrationInstanceDetails struct { // Integration Instance Identifier. DisplayName *string `mandatory:"false" json:"displayName"` // Standard or Enterprise type IntegrationInstanceType UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum `mandatory:"false" json:"integrationInstanceType,omitempty"` // 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"` // Usage of predefined tag keys. These predefined keys are scoped to // namespaces. // Example: `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` // Bring your own license. IsByol *bool `mandatory:"false" json:"isByol"` // The number of configured message packs MessagePacks *int `mandatory:"false" json:"messagePacks"` // The file server is enabled or not. IsFileServerEnabled *bool `mandatory:"false" json:"isFileServerEnabled"` // Visual Builder is enabled or not. IsVisualBuilderEnabled *bool `mandatory:"false" json:"isVisualBuilderEnabled"` CustomEndpoint *UpdateCustomEndpointDetails `mandatory:"false" json:"customEndpoint"` // A list of alternate custom endpoints to be used for the integration instance URL // (contact Oracle for alternateCustomEndpoints availability for a specific instance). AlternateCustomEndpoints []UpdateCustomEndpointDetails `mandatory:"false" json:"alternateCustomEndpoints"` }
func (m UpdateIntegrationInstanceDetails) String() string
UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum Enum with underlying type: string
type UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum string
Set of constants representing the allowable values for UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum
const ( UpdateIntegrationInstanceDetailsIntegrationInstanceTypeStandard UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum = "STANDARD" UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnterprise UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum = "ENTERPRISE" )
func GetUpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnumValues() []UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum
GetUpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnumValues Enumerates the set of values for UpdateIntegrationInstanceDetailsIntegrationInstanceTypeEnum
UpdateIntegrationInstanceRequest wrapper for the UpdateIntegrationInstance operation
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/integration/UpdateIntegrationInstance.go.html to see an example of how to use UpdateIntegrationInstanceRequest.
type UpdateIntegrationInstanceRequest struct { // Unique Integration Instance identifier. IntegrationInstanceId *string `mandatory:"true" contributesTo:"path" name:"integrationInstanceId"` // The information to be updated. UpdateIntegrationInstanceDetails `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 client request ID for tracing. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request UpdateIntegrationInstanceRequest) HTTPRequest(method, path string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateIntegrationInstanceRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateIntegrationInstanceRequest) String() string
UpdateIntegrationInstanceResponse wrapper for the UpdateIntegrationInstance operation
type UpdateIntegrationInstanceResponse 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"` }
func (response UpdateIntegrationInstanceResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateIntegrationInstanceResponse) String() string
VirtualCloudNetwork Virtual Cloud Network definition.
type VirtualCloudNetwork struct { // The Virtual Cloud Network OCID. Id *string `mandatory:"true" json:"id"` // Source IP addresses or IP address ranges ingress rules. AllowlistedIps []string `mandatory:"false" json:"allowlistedIps"` }
func (m VirtualCloudNetwork) String() string
WorkRequest A description of work request status.
type WorkRequest struct { // Type of the work request. OperationType WorkRequestOperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status WorkRequestStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work // requests should be scoped to the same compartment as the resource the // work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the // service team to pick the primary resource whose compartment should be // used. 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 the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequest) String() string
WorkRequestError Errors related to a specific work request.
type WorkRequestError struct { // A short error code that defines the error, meant for programmatic parsing Code *string `mandatory:"true" json:"code"` // A human-readable error string. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
WorkRequestLogEntry Log entries related to a specific work request.
type WorkRequestLogEntry struct { // The description of an action that occurred. Message *string `mandatory:"true" json:"message"` // The date and time the log entry occurred. Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
WorkRequestOperationTypeEnum Enum with underlying type: string
type WorkRequestOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestOperationTypeEnum
const ( WorkRequestOperationTypeCreateIntegrationInstance WorkRequestOperationTypeEnum = "CREATE_INTEGRATION_INSTANCE" WorkRequestOperationTypeUpdateIntegrationInstance WorkRequestOperationTypeEnum = "UPDATE_INTEGRATION_INSTANCE" WorkRequestOperationTypeStopIntegrationInstance WorkRequestOperationTypeEnum = "STOP_INTEGRATION_INSTANCE" WorkRequestOperationTypeStartIntegrationInstance WorkRequestOperationTypeEnum = "START_INTEGRATION_INSTANCE" WorkRequestOperationTypeDeleteIntegrationInstance WorkRequestOperationTypeEnum = "DELETE_INTEGRATION_INSTANCE" )
func GetWorkRequestOperationTypeEnumValues() []WorkRequestOperationTypeEnum
GetWorkRequestOperationTypeEnumValues Enumerates the set of values for WorkRequestOperationTypeEnum
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type the work request is 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 WorkRequestResourceActionTypeEnum `mandatory:"true" json:"actionType"` // The identifier of the resource the work request affects. Identifier *string `mandatory:"true" json:"identifier"` // The URI path that the user can do a GET on to access the resource metadata. EntityUri *string `mandatory:"false" json:"entityUri"` }
func (m WorkRequestResource) String() string
WorkRequestResourceActionTypeEnum Enum with underlying type: string
type WorkRequestResourceActionTypeEnum string
Set of constants representing the allowable values for WorkRequestResourceActionTypeEnum
const ( WorkRequestResourceActionTypeCreated WorkRequestResourceActionTypeEnum = "CREATED" WorkRequestResourceActionTypeUpdated WorkRequestResourceActionTypeEnum = "UPDATED" WorkRequestResourceActionTypeStopped WorkRequestResourceActionTypeEnum = "STOPPED" WorkRequestResourceActionTypeStarted WorkRequestResourceActionTypeEnum = "STARTED" WorkRequestResourceActionTypeDeleted WorkRequestResourceActionTypeEnum = "DELETED" WorkRequestResourceActionTypeInProgress WorkRequestResourceActionTypeEnum = "IN_PROGRESS" )
func GetWorkRequestResourceActionTypeEnumValues() []WorkRequestResourceActionTypeEnum
GetWorkRequestResourceActionTypeEnumValues Enumerates the set of values for WorkRequestResourceActionTypeEnum
WorkRequestStatusEnum Enum with underlying type: string
type WorkRequestStatusEnum string
Set of constants representing the allowable values for WorkRequestStatusEnum
const ( WorkRequestStatusAccepted WorkRequestStatusEnum = "ACCEPTED" WorkRequestStatusInProgress WorkRequestStatusEnum = "IN_PROGRESS" WorkRequestStatusFailed WorkRequestStatusEnum = "FAILED" WorkRequestStatusSucceeded WorkRequestStatusEnum = "SUCCEEDED" WorkRequestStatusCanceling WorkRequestStatusEnum = "CANCELING" WorkRequestStatusCanceled WorkRequestStatusEnum = "CANCELED" )
func GetWorkRequestStatusEnumValues() []WorkRequestStatusEnum
GetWorkRequestStatusEnumValues Enumerates the set of values for WorkRequestStatusEnum
WorkRequestSummary A description of work request status.
type WorkRequestSummary struct { // Type of the work request. OperationType WorkRequestSummaryOperationTypeEnum `mandatory:"true" json:"operationType"` // Status of current work request. Status WorkRequestSummaryStatusEnum `mandatory:"true" json:"status"` // The id of the work request. Id *string `mandatory:"true" json:"id"` // The ocid of the compartment that contains the work request. Work // requests should be scoped to the same compartment as the resource the // work request affects. If the work request affects multiple resources, // and those resources are not in the same compartment, it is up to the // service team to pick the primary resource whose compartment should be // used. 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 the request was created, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), section 14.29. TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the request was started, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339), // section 14.29. TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the object was finished, as described in // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` }
func (m WorkRequestSummary) String() string
WorkRequestSummaryOperationTypeEnum Enum with underlying type: string
type WorkRequestSummaryOperationTypeEnum string
Set of constants representing the allowable values for WorkRequestSummaryOperationTypeEnum
const ( WorkRequestSummaryOperationTypeCreateIntegrationInstance WorkRequestSummaryOperationTypeEnum = "CREATE_INTEGRATION_INSTANCE" WorkRequestSummaryOperationTypeUpdateIntegrationInstance WorkRequestSummaryOperationTypeEnum = "UPDATE_INTEGRATION_INSTANCE" WorkRequestSummaryOperationTypeStopIntegrationInstance WorkRequestSummaryOperationTypeEnum = "STOP_INTEGRATION_INSTANCE" WorkRequestSummaryOperationTypeStartIntegrationInstance WorkRequestSummaryOperationTypeEnum = "START_INTEGRATION_INSTANCE" WorkRequestSummaryOperationTypeDeleteIntegrationInstance WorkRequestSummaryOperationTypeEnum = "DELETE_INTEGRATION_INSTANCE" )
func GetWorkRequestSummaryOperationTypeEnumValues() []WorkRequestSummaryOperationTypeEnum
GetWorkRequestSummaryOperationTypeEnumValues Enumerates the set of values for WorkRequestSummaryOperationTypeEnum
WorkRequestSummaryStatusEnum Enum with underlying type: string
type WorkRequestSummaryStatusEnum string
Set of constants representing the allowable values for WorkRequestSummaryStatusEnum
const ( WorkRequestSummaryStatusAccepted WorkRequestSummaryStatusEnum = "ACCEPTED" WorkRequestSummaryStatusInProgress WorkRequestSummaryStatusEnum = "IN_PROGRESS" WorkRequestSummaryStatusFailed WorkRequestSummaryStatusEnum = "FAILED" WorkRequestSummaryStatusSucceeded WorkRequestSummaryStatusEnum = "SUCCEEDED" WorkRequestSummaryStatusCanceling WorkRequestSummaryStatusEnum = "CANCELING" WorkRequestSummaryStatusCanceled WorkRequestSummaryStatusEnum = "CANCELED" )
func GetWorkRequestSummaryStatusEnumValues() []WorkRequestSummaryStatusEnum
GetWorkRequestSummaryStatusEnumValues Enumerates the set of values for WorkRequestSummaryStatusEnum