func GetActionTypeEnumStringValues() []string
GetActionTypeEnumStringValues Enumerates the set of values in String for ActionTypeEnum
func GetJavaMigrationAnalysisSortByEnumStringValues() []string
GetJavaMigrationAnalysisSortByEnumStringValues Enumerates the set of values in String for JavaMigrationAnalysisSortByEnum
func GetListJavaMigrationAnalysisSortByEnumStringValues() []string
GetListJavaMigrationAnalysisSortByEnumStringValues Enumerates the set of values in String for ListJavaMigrationAnalysisSortByEnum
func GetListJavaMigrationAnalysisSortOrderEnumStringValues() []string
GetListJavaMigrationAnalysisSortOrderEnumStringValues Enumerates the set of values in String for ListJavaMigrationAnalysisSortOrderEnum
func GetListPerformanceTuningAnalysisSortByEnumStringValues() []string
GetListPerformanceTuningAnalysisSortByEnumStringValues Enumerates the set of values in String for ListPerformanceTuningAnalysisSortByEnum
func GetListPerformanceTuningAnalysisSortOrderEnumStringValues() []string
GetListPerformanceTuningAnalysisSortOrderEnumStringValues Enumerates the set of values in String for ListPerformanceTuningAnalysisSortOrderEnum
func GetListWorkRequestErrorsSortByEnumStringValues() []string
GetListWorkRequestErrorsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortByEnum
func GetListWorkRequestErrorsSortOrderEnumStringValues() []string
GetListWorkRequestErrorsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestErrorsSortOrderEnum
func GetListWorkRequestLogsSortByEnumStringValues() []string
GetListWorkRequestLogsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortByEnum
func GetListWorkRequestLogsSortOrderEnumStringValues() []string
GetListWorkRequestLogsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestLogsSortOrderEnum
func GetListWorkRequestsSortByEnumStringValues() []string
GetListWorkRequestsSortByEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortByEnum
func GetListWorkRequestsSortOrderEnumStringValues() []string
GetListWorkRequestsSortOrderEnumStringValues Enumerates the set of values in String for ListWorkRequestsSortOrderEnum
func GetListWorkRequestsStatusEnumStringValues() []string
GetListWorkRequestsStatusEnumStringValues Enumerates the set of values in String for ListWorkRequestsStatusEnum
func GetOperationStatusEnumStringValues() []string
GetOperationStatusEnumStringValues Enumerates the set of values in String for OperationStatusEnum
func GetOperationTypeEnumStringValues() []string
GetOperationTypeEnumStringValues Enumerates the set of values in String for OperationTypeEnum
func GetPerformanceTuningAnalysisResultEnumStringValues() []string
GetPerformanceTuningAnalysisResultEnumStringValues Enumerates the set of values in String for PerformanceTuningAnalysisResultEnum
func GetPerformanceTuningAnalysisSortByEnumStringValues() []string
GetPerformanceTuningAnalysisSortByEnumStringValues Enumerates the set of values in String for PerformanceTuningAnalysisSortByEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetWorkItemDetailsKindEnumStringValues() []string
GetWorkItemDetailsKindEnumStringValues Enumerates the set of values in String for WorkItemDetailsKindEnum
func GetWorkItemStatusEnumStringValues() []string
GetWorkItemStatusEnumStringValues Enumerates the set of values in String for WorkItemStatusEnum
func GetWorkItemTypeEnumStringValues() []string
GetWorkItemTypeEnumStringValues Enumerates the set of values in String for WorkItemTypeEnum
func GetWorkRequestResourceMetadataKeyEnumStringValues() []string
GetWorkRequestResourceMetadataKeyEnumStringValues Enumerates the set of values in String for WorkRequestResourceMetadataKeyEnum
ActionTypeEnum Enum with underlying type: string
type ActionTypeEnum string
Set of constants representing the allowable values for ActionTypeEnum
const ( ActionTypeCreated ActionTypeEnum = "CREATED" ActionTypeUpdated ActionTypeEnum = "UPDATED" ActionTypeDeleted ActionTypeEnum = "DELETED" ActionTypeInProgress ActionTypeEnum = "IN_PROGRESS" ActionTypeRelated ActionTypeEnum = "RELATED" ActionTypeFailed ActionTypeEnum = "FAILED" )
func GetActionTypeEnumValues() []ActionTypeEnum
GetActionTypeEnumValues Enumerates the set of values for ActionTypeEnum
func GetMappingActionTypeEnum(val string) (ActionTypeEnum, bool)
GetMappingActionTypeEnum performs case Insensitive comparison on enum value and return the desired enum
AnalyzeApplicationsConfiguration The configuration for analyzing applications.
type AnalyzeApplicationsConfiguration struct { // The Object Storage namespace used for analyzing applications. NamespaceName *string `mandatory:"true" json:"namespaceName"` // The name of the bucket used for analyzing applications. BucketName *string `mandatory:"true" json:"bucketName"` }
func (m AnalyzeApplicationsConfiguration) String() string
func (m AnalyzeApplicationsConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
BasicWorkItemDetails The common work item details.
type BasicWorkItemDetails struct { // The work item type. WorkItemType WorkItemTypeEnum `mandatory:"false" json:"workItemType,omitempty"` }
func (m BasicWorkItemDetails) GetWorkItemType() WorkItemTypeEnum
GetWorkItemType returns WorkItemType
func (m BasicWorkItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m BasicWorkItemDetails) String() string
func (m BasicWorkItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestRequest wrapper for the CancelWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequestRequest.
type CancelWorkRequestRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 CancelWorkRequestRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CancelWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CancelWorkRequestRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CancelWorkRequestRequest) String() string
func (request CancelWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CancelWorkRequestResponse wrapper for the CancelWorkRequest operation
type CancelWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response CancelWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CancelWorkRequestResponse) String() string
DeleteJavaMigrationAnalysisRequest wrapper for the DeleteJavaMigrationAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/DeleteJavaMigrationAnalysis.go.html to see an example of how to use DeleteJavaMigrationAnalysisRequest.
type DeleteJavaMigrationAnalysisRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. JavaMigrationAnalysisId *string `mandatory:"true" contributesTo:"path" name:"javaMigrationAnalysisId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 DeleteJavaMigrationAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteJavaMigrationAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteJavaMigrationAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteJavaMigrationAnalysisRequest) String() string
func (request DeleteJavaMigrationAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeleteJavaMigrationAnalysisResponse wrapper for the DeleteJavaMigrationAnalysis operation
type DeleteJavaMigrationAnalysisResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeleteJavaMigrationAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteJavaMigrationAnalysisResponse) String() string
DeletePerformanceTuningAnalysisRequest wrapper for the DeletePerformanceTuningAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/DeletePerformanceTuningAnalysis.go.html to see an example of how to use DeletePerformanceTuningAnalysisRequest.
type DeletePerformanceTuningAnalysisRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. PerformanceTuningAnalysisId *string `mandatory:"true" contributesTo:"path" name:"performanceTuningAnalysisId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 DeletePerformanceTuningAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeletePerformanceTuningAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeletePerformanceTuningAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeletePerformanceTuningAnalysisRequest) String() string
func (request DeletePerformanceTuningAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
DeletePerformanceTuningAnalysisResponse wrapper for the DeletePerformanceTuningAnalysis operation
type DeletePerformanceTuningAnalysisResponse struct { // The underlying http response RawResponse *http.Response // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response DeletePerformanceTuningAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeletePerformanceTuningAnalysisResponse) String() string
GetAnalyzeApplicationsConfigurationRequest wrapper for the GetAnalyzeApplicationsConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetAnalyzeApplicationsConfiguration.go.html to see an example of how to use GetAnalyzeApplicationsConfigurationRequest.
type GetAnalyzeApplicationsConfigurationRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 GetAnalyzeApplicationsConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetAnalyzeApplicationsConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetAnalyzeApplicationsConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetAnalyzeApplicationsConfigurationRequest) String() string
func (request GetAnalyzeApplicationsConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetAnalyzeApplicationsConfigurationResponse wrapper for the GetAnalyzeApplicationsConfiguration operation
type GetAnalyzeApplicationsConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The AnalyzeApplicationsConfiguration instance AnalyzeApplicationsConfiguration `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetAnalyzeApplicationsConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetAnalyzeApplicationsConfigurationResponse) String() string
GetJavaMigrationAnalysisRequest wrapper for the GetJavaMigrationAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetJavaMigrationAnalysis.go.html to see an example of how to use GetJavaMigrationAnalysisRequest.
type GetJavaMigrationAnalysisRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. JavaMigrationAnalysisId *string `mandatory:"true" contributesTo:"path" name:"javaMigrationAnalysisId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 GetJavaMigrationAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetJavaMigrationAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetJavaMigrationAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetJavaMigrationAnalysisRequest) String() string
func (request GetJavaMigrationAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetJavaMigrationAnalysisResponse wrapper for the GetJavaMigrationAnalysis operation
type GetJavaMigrationAnalysisResponse struct { // The underlying http response RawResponse *http.Response // The JavaMigrationAnalysis instance JavaMigrationAnalysis `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 GetJavaMigrationAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetJavaMigrationAnalysisResponse) String() string
GetPerformanceTuningAnalysisRequest wrapper for the GetPerformanceTuningAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetPerformanceTuningAnalysis.go.html to see an example of how to use GetPerformanceTuningAnalysisRequest.
type GetPerformanceTuningAnalysisRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. PerformanceTuningAnalysisId *string `mandatory:"true" contributesTo:"path" name:"performanceTuningAnalysisId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 GetPerformanceTuningAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetPerformanceTuningAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetPerformanceTuningAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetPerformanceTuningAnalysisRequest) String() string
func (request GetPerformanceTuningAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetPerformanceTuningAnalysisResponse wrapper for the GetPerformanceTuningAnalysis operation
type GetPerformanceTuningAnalysisResponse struct { // The underlying http response RawResponse *http.Response // The PerformanceTuningAnalysis instance PerformanceTuningAnalysis `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 GetPerformanceTuningAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetPerformanceTuningAnalysisResponse) String() string
GetSubscriptionAcknowledgmentConfigurationRequest wrapper for the GetSubscriptionAcknowledgmentConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetSubscriptionAcknowledgmentConfiguration.go.html to see an example of how to use GetSubscriptionAcknowledgmentConfigurationRequest.
type GetSubscriptionAcknowledgmentConfigurationRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 GetSubscriptionAcknowledgmentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSubscriptionAcknowledgmentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSubscriptionAcknowledgmentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSubscriptionAcknowledgmentConfigurationRequest) String() string
func (request GetSubscriptionAcknowledgmentConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetSubscriptionAcknowledgmentConfigurationResponse wrapper for the GetSubscriptionAcknowledgmentConfiguration operation
type GetSubscriptionAcknowledgmentConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The SubscriptionAcknowledgmentConfiguration instance SubscriptionAcknowledgmentConfiguration `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response GetSubscriptionAcknowledgmentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSubscriptionAcknowledgmentConfigurationResponse) String() string
GetWorkRequestRequest wrapper for the GetWorkRequest operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetWorkRequest.go.html to see an example of how to use GetWorkRequestRequest.
type GetWorkRequestRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetWorkRequestRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request GetWorkRequestRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetWorkRequestResponse wrapper for the GetWorkRequest operation
type GetWorkRequestResponse struct { // The underlying http response RawResponse *http.Response // The WorkRequest instance WorkRequest `presentIn:"body"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // A decimal number representing the number of seconds the client should wait before polling this endpoint again. RetryAfter *int `presentIn:"header" name:"retry-after"` }
func (response GetWorkRequestResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetWorkRequestResponse) String() string
JavaMigrationAnalysis To use any of the API operations, you must be authorized by an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
type JavaMigrationAnalysis struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. WorkRequestId *string `mandatory:"true" json:"workRequestId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // Object storage paths to the input files applications to be analysed. InputApplicationsObjectStoragePaths []string `mandatory:"true" json:"inputApplicationsObjectStoragePaths"` // Jdk Version of the Java Migration Analysis target. TargetJdkVersion *string `mandatory:"true" json:"targetJdkVersion"` // Object storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Object storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // Path to the Object Storage analysis application result. AnalysisResultObjectStoragePath *string `mandatory:"true" json:"analysisResultObjectStoragePath"` // The analysis application file names result in the Object Storage. AnalysisResultFiles []string `mandatory:"true" json:"analysisResultFiles"` // The date and time the Java Migration Analysis was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Java Migration Analysis was started, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The date and time the Java Migration Analysis was finished, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` CreatedBy *Principal `mandatory:"true" json:"createdBy"` // Additional info reserved for future use. Metadata *string `mandatory:"false" json:"metadata"` }
func (m JavaMigrationAnalysis) String() string
func (m JavaMigrationAnalysis) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JavaMigrationAnalysisCollection Results of a Java Migration Analysis search. Contains JavaMigrationAnalysisSummary items.
type JavaMigrationAnalysisCollection struct { // List of Java Migration Analysis. Items []JavaMigrationAnalysisSummary `mandatory:"true" json:"items"` }
func (m JavaMigrationAnalysisCollection) String() string
func (m JavaMigrationAnalysisCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JavaMigrationAnalysisSortByEnum Enum with underlying type: string
type JavaMigrationAnalysisSortByEnum string
Set of constants representing the allowable values for JavaMigrationAnalysisSortByEnum
const ( JavaMigrationAnalysisSortByTimeCreated JavaMigrationAnalysisSortByEnum = "TIME_CREATED" JavaMigrationAnalysisSortByTimeStarted JavaMigrationAnalysisSortByEnum = "TIME_STARTED" JavaMigrationAnalysisSortByTimeFinished JavaMigrationAnalysisSortByEnum = "TIME_FINISHED" )
func GetJavaMigrationAnalysisSortByEnumValues() []JavaMigrationAnalysisSortByEnum
GetJavaMigrationAnalysisSortByEnumValues Enumerates the set of values for JavaMigrationAnalysisSortByEnum
func GetMappingJavaMigrationAnalysisSortByEnum(val string) (JavaMigrationAnalysisSortByEnum, bool)
GetMappingJavaMigrationAnalysisSortByEnum performs case Insensitive comparison on enum value and return the desired enum
JavaMigrationAnalysisSummary Summary information about a Java Migration Analysis.
type JavaMigrationAnalysisSummary struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. WorkRequestId *string `mandatory:"true" json:"workRequestId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // Object storage paths to the input files applications to be analysed. InputApplicationsObjectStoragePaths []string `mandatory:"true" json:"inputApplicationsObjectStoragePaths"` // Jdk Version of the Java Migration Analysis target. TargetJdkVersion *string `mandatory:"true" json:"targetJdkVersion"` // Object storage namespace. NamespaceName *string `mandatory:"true" json:"namespaceName"` // Object storage bucket name. BucketName *string `mandatory:"true" json:"bucketName"` // Path to the Object Storage analysis application result. AnalysisResultObjectStoragePath *string `mandatory:"true" json:"analysisResultObjectStoragePath"` // The analysis application file names result in the Object Storage. AnalysisResultFiles []string `mandatory:"true" json:"analysisResultFiles"` // The date and time the Java Migration Analysis was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Java Migration Analysis was started, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The date and time the Java Migration Analysis was finished, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` CreatedBy *Principal `mandatory:"true" json:"createdBy"` // Additional info reserved for future use. Metadata *string `mandatory:"false" json:"metadata"` }
func (m JavaMigrationAnalysisSummary) String() string
func (m JavaMigrationAnalysisSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JavaMigrationAnalysisTarget The target for the Java Migration Analysis
type JavaMigrationAnalysisTarget struct { // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // Object storage paths to the input files applications to be analysed. InputApplicationsObjectStoragePaths []string `mandatory:"true" json:"inputApplicationsObjectStoragePaths"` // Version of the target JDKs. TargetJdkVersions []string `mandatory:"true" json:"targetJdkVersions"` // Package prefixes to be included from the migration analysis. Either this or excludePackagePrefixes can be specified. IncludePackagePrefixes []string `mandatory:"false" json:"includePackagePrefixes"` // Package prefixes to be excluded from the migration analysis. Either this or includePackagePrefixes can be specified. ExcludePackagePrefixes []string `mandatory:"false" json:"excludePackagePrefixes"` }
func (m JavaMigrationAnalysisTarget) String() string
func (m JavaMigrationAnalysisTarget) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JavaMigrationWorkItemDetails The java migration work item details.
type JavaMigrationWorkItemDetails struct { // The JDK version against which the migration analysis was performed to identify effort required to move from source JDK. TargetJdkVersion *string `mandatory:"true" json:"targetJdkVersion"` // Object storage path to the input artifact/s in the form of a serialized array. // Example: "[\"/JMS/Utils/myartifacts1.jar\",\"/JMS/Utils/myartifacts2.war\"]" InputApplicationsObjectStoragePaths *string `mandatory:"true" json:"inputApplicationsObjectStoragePaths"` // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // The work item type. WorkItemType WorkItemTypeEnum `mandatory:"false" json:"workItemType,omitempty"` }
func (m JavaMigrationWorkItemDetails) GetWorkItemType() WorkItemTypeEnum
GetWorkItemType returns WorkItemType
func (m JavaMigrationWorkItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m JavaMigrationWorkItemDetails) String() string
func (m JavaMigrationWorkItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
JmsUtilsClient a client for JmsUtils
type JmsUtilsClient struct { common.BaseClient // contains filtered or unexported fields }
func NewJmsUtilsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client JmsUtilsClient, err error)
NewJmsUtilsClientWithConfigurationProvider Creates a new default JmsUtils client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region
func NewJmsUtilsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client JmsUtilsClient, err error)
NewJmsUtilsClientWithOboToken Creates a new default JmsUtils 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 JmsUtilsClient) CancelWorkRequest(ctx context.Context, request CancelWorkRequestRequest) (response CancelWorkRequestResponse, err error)
CancelWorkRequest Cancels a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/CancelWorkRequest.go.html to see an example of how to use CancelWorkRequest API. A default retry strategy applies to this operation CancelWorkRequest()
func (client *JmsUtilsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client JmsUtilsClient) DeleteJavaMigrationAnalysis(ctx context.Context, request DeleteJavaMigrationAnalysisRequest) (response DeleteJavaMigrationAnalysisResponse, err error)
DeleteJavaMigrationAnalysis Deletes a Java Migration Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/DeleteJavaMigrationAnalysis.go.html to see an example of how to use DeleteJavaMigrationAnalysis API. A default retry strategy applies to this operation DeleteJavaMigrationAnalysis()
func (client JmsUtilsClient) DeletePerformanceTuningAnalysis(ctx context.Context, request DeletePerformanceTuningAnalysisRequest) (response DeletePerformanceTuningAnalysisResponse, err error)
DeletePerformanceTuningAnalysis Deletes a Performance Tuning Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/DeletePerformanceTuningAnalysis.go.html to see an example of how to use DeletePerformanceTuningAnalysis API. A default retry strategy applies to this operation DeletePerformanceTuningAnalysis()
func (client JmsUtilsClient) GetAnalyzeApplicationsConfiguration(ctx context.Context, request GetAnalyzeApplicationsConfigurationRequest) (response GetAnalyzeApplicationsConfigurationResponse, err error)
GetAnalyzeApplicationsConfiguration Returns the configuration for analyzing applications.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetAnalyzeApplicationsConfiguration.go.html to see an example of how to use GetAnalyzeApplicationsConfiguration API. A default retry strategy applies to this operation GetAnalyzeApplicationsConfiguration()
func (client JmsUtilsClient) GetJavaMigrationAnalysis(ctx context.Context, request GetJavaMigrationAnalysisRequest) (response GetJavaMigrationAnalysisResponse, err error)
GetJavaMigrationAnalysis Gets information about a Java Migration Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetJavaMigrationAnalysis.go.html to see an example of how to use GetJavaMigrationAnalysis API. A default retry strategy applies to this operation GetJavaMigrationAnalysis()
func (client JmsUtilsClient) GetPerformanceTuningAnalysis(ctx context.Context, request GetPerformanceTuningAnalysisRequest) (response GetPerformanceTuningAnalysisResponse, err error)
GetPerformanceTuningAnalysis Gets information about a Performance Tuning Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetPerformanceTuningAnalysis.go.html to see an example of how to use GetPerformanceTuningAnalysis API. A default retry strategy applies to this operation GetPerformanceTuningAnalysis()
func (client JmsUtilsClient) GetSubscriptionAcknowledgmentConfiguration(ctx context.Context, request GetSubscriptionAcknowledgmentConfigurationRequest) (response GetSubscriptionAcknowledgmentConfigurationResponse, err error)
GetSubscriptionAcknowledgmentConfiguration Returns the configuration for subscription acknowledgment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetSubscriptionAcknowledgmentConfiguration.go.html to see an example of how to use GetSubscriptionAcknowledgmentConfiguration API. A default retry strategy applies to this operation GetSubscriptionAcknowledgmentConfiguration()
func (client JmsUtilsClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error)
GetWorkRequest Gets the details of a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/GetWorkRequest.go.html to see an example of how to use GetWorkRequest API. A default retry strategy applies to this operation GetWorkRequest()
func (client JmsUtilsClient) ListJavaMigrationAnalysis(ctx context.Context, request ListJavaMigrationAnalysisRequest) (response ListJavaMigrationAnalysisResponse, err error)
ListJavaMigrationAnalysis Gets a list of Java Migration Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListJavaMigrationAnalysis.go.html to see an example of how to use ListJavaMigrationAnalysis API. A default retry strategy applies to this operation ListJavaMigrationAnalysis()
func (client JmsUtilsClient) ListPerformanceTuningAnalysis(ctx context.Context, request ListPerformanceTuningAnalysisRequest) (response ListPerformanceTuningAnalysisResponse, err error)
ListPerformanceTuningAnalysis Gets a list of Performance tuning Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListPerformanceTuningAnalysis.go.html to see an example of how to use ListPerformanceTuningAnalysis API. A default retry strategy applies to this operation ListPerformanceTuningAnalysis()
func (client JmsUtilsClient) ListWorkItems(ctx context.Context, request ListWorkItemsRequest) (response ListWorkItemsResponse, err error)
ListWorkItems Retrieve a paginated list of work items for a specified work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkItems.go.html to see an example of how to use ListWorkItems API. A default retry strategy applies to this operation ListWorkItems()
func (client JmsUtilsClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error)
ListWorkRequestErrors Lists the errors for a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrors API. A default retry strategy applies to this operation ListWorkRequestErrors()
func (client JmsUtilsClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error)
ListWorkRequestLogs Lists the logs for a work request.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogs API. A default retry strategy applies to this operation ListWorkRequestLogs()
func (client JmsUtilsClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error)
ListWorkRequests Lists the work requests in a compartment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkRequests.go.html to see an example of how to use ListWorkRequests API. A default retry strategy applies to this operation ListWorkRequests()
func (client JmsUtilsClient) RequestJavaMigrationAnalysis(ctx context.Context, request RequestJavaMigrationAnalysisRequest) (response RequestJavaMigrationAnalysisResponse, err error)
RequestJavaMigrationAnalysis Requests Java Migration Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/RequestJavaMigrationAnalysis.go.html to see an example of how to use RequestJavaMigrationAnalysis API. A default retry strategy applies to this operation RequestJavaMigrationAnalysis()
func (client JmsUtilsClient) RequestPerformanceTuningAnalysis(ctx context.Context, request RequestPerformanceTuningAnalysisRequest) (response RequestPerformanceTuningAnalysisResponse, err error)
RequestPerformanceTuningAnalysis Requests Performance Tuning Analysis.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/RequestPerformanceTuningAnalysis.go.html to see an example of how to use RequestPerformanceTuningAnalysis API. A default retry strategy applies to this operation RequestPerformanceTuningAnalysis()
func (client *JmsUtilsClient) SetRegion(region string)
SetRegion overrides the region of this client.
func (client JmsUtilsClient) UpdateAnalyzeApplicationsConfiguration(ctx context.Context, request UpdateAnalyzeApplicationsConfigurationRequest) (response UpdateAnalyzeApplicationsConfigurationResponse, err error)
UpdateAnalyzeApplicationsConfiguration Updates the configuration for analyze application.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/UpdateAnalyzeApplicationsConfiguration.go.html to see an example of how to use UpdateAnalyzeApplicationsConfiguration API. A default retry strategy applies to this operation UpdateAnalyzeApplicationsConfiguration()
func (client JmsUtilsClient) UpdateSubscriptionAcknowledgmentConfiguration(ctx context.Context, request UpdateSubscriptionAcknowledgmentConfigurationRequest) (response UpdateSubscriptionAcknowledgmentConfigurationResponse, err error)
UpdateSubscriptionAcknowledgmentConfiguration Updates the configuration for subscription acknowledgment.
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/UpdateSubscriptionAcknowledgmentConfiguration.go.html to see an example of how to use UpdateSubscriptionAcknowledgmentConfiguration API. A default retry strategy applies to this operation UpdateSubscriptionAcknowledgmentConfiguration()
ListJavaMigrationAnalysisRequest wrapper for the ListJavaMigrationAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListJavaMigrationAnalysis.go.html to see an example of how to use ListJavaMigrationAnalysisRequest.
type ListJavaMigrationAnalysisRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Java Migration Analysis. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The project name of the Performance Tuning Analysis to query for. AnalysisProjectName *string `mandatory:"false" contributesTo:"query" name:"analysisProjectName"` // 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListJavaMigrationAnalysisSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort Java Migration Analysis. Only one sort order may be provided. SortBy ListJavaMigrationAnalysisSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 ListJavaMigrationAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListJavaMigrationAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListJavaMigrationAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListJavaMigrationAnalysisRequest) String() string
func (request ListJavaMigrationAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListJavaMigrationAnalysisResponse wrapper for the ListJavaMigrationAnalysis operation
type ListJavaMigrationAnalysisResponse struct { // The underlying http response RawResponse *http.Response // A list of JavaMigrationAnalysisCollection instances JavaMigrationAnalysisCollection `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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListJavaMigrationAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListJavaMigrationAnalysisResponse) String() string
ListJavaMigrationAnalysisSortByEnum Enum with underlying type: string
type ListJavaMigrationAnalysisSortByEnum string
Set of constants representing the allowable values for ListJavaMigrationAnalysisSortByEnum
const ( ListJavaMigrationAnalysisSortByCreated ListJavaMigrationAnalysisSortByEnum = "TIME_CREATED" ListJavaMigrationAnalysisSortByStarted ListJavaMigrationAnalysisSortByEnum = "TIME_STARTED" ListJavaMigrationAnalysisSortByFinished ListJavaMigrationAnalysisSortByEnum = "TIME_FINISHED" )
func GetListJavaMigrationAnalysisSortByEnumValues() []ListJavaMigrationAnalysisSortByEnum
GetListJavaMigrationAnalysisSortByEnumValues Enumerates the set of values for ListJavaMigrationAnalysisSortByEnum
func GetMappingListJavaMigrationAnalysisSortByEnum(val string) (ListJavaMigrationAnalysisSortByEnum, bool)
GetMappingListJavaMigrationAnalysisSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListJavaMigrationAnalysisSortOrderEnum Enum with underlying type: string
type ListJavaMigrationAnalysisSortOrderEnum string
Set of constants representing the allowable values for ListJavaMigrationAnalysisSortOrderEnum
const ( ListJavaMigrationAnalysisSortOrderAsc ListJavaMigrationAnalysisSortOrderEnum = "ASC" ListJavaMigrationAnalysisSortOrderDesc ListJavaMigrationAnalysisSortOrderEnum = "DESC" )
func GetListJavaMigrationAnalysisSortOrderEnumValues() []ListJavaMigrationAnalysisSortOrderEnum
GetListJavaMigrationAnalysisSortOrderEnumValues Enumerates the set of values for ListJavaMigrationAnalysisSortOrderEnum
func GetMappingListJavaMigrationAnalysisSortOrderEnum(val string) (ListJavaMigrationAnalysisSortOrderEnum, bool)
GetMappingListJavaMigrationAnalysisSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListPerformanceTuningAnalysisRequest wrapper for the ListPerformanceTuningAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListPerformanceTuningAnalysis.go.html to see an example of how to use ListPerformanceTuningAnalysisRequest.
type ListPerformanceTuningAnalysisRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. Id *string `mandatory:"false" contributesTo:"query" name:"id"` // The project name of the Performance Tuning Analysis to query for. AnalysisProjectName *string `mandatory:"false" contributesTo:"query" name:"analysisProjectName"` // The result of the Performance Tuning Analysis to query for. PerformanceTuningAnalysisResult PerformanceTuningAnalysisResultEnum `mandatory:"false" contributesTo:"query" name:"performanceTuningAnalysisResult" 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. The token is usually retrieved from a previous list call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListPerformanceTuningAnalysisSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort Performance Tuning Analysis. Only one sort order may be provided. SortBy ListPerformanceTuningAnalysisSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 ListPerformanceTuningAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListPerformanceTuningAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListPerformanceTuningAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListPerformanceTuningAnalysisRequest) String() string
func (request ListPerformanceTuningAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListPerformanceTuningAnalysisResponse wrapper for the ListPerformanceTuningAnalysis operation
type ListPerformanceTuningAnalysisResponse struct { // The underlying http response RawResponse *http.Response // A list of PerformanceTuningAnalysisCollection instances PerformanceTuningAnalysisCollection `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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListPerformanceTuningAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListPerformanceTuningAnalysisResponse) String() string
ListPerformanceTuningAnalysisSortByEnum Enum with underlying type: string
type ListPerformanceTuningAnalysisSortByEnum string
Set of constants representing the allowable values for ListPerformanceTuningAnalysisSortByEnum
const ( ListPerformanceTuningAnalysisSortByCreated ListPerformanceTuningAnalysisSortByEnum = "TIME_CREATED" ListPerformanceTuningAnalysisSortByStarted ListPerformanceTuningAnalysisSortByEnum = "TIME_STARTED" ListPerformanceTuningAnalysisSortByFinished ListPerformanceTuningAnalysisSortByEnum = "TIME_FINISHED" )
func GetListPerformanceTuningAnalysisSortByEnumValues() []ListPerformanceTuningAnalysisSortByEnum
GetListPerformanceTuningAnalysisSortByEnumValues Enumerates the set of values for ListPerformanceTuningAnalysisSortByEnum
func GetMappingListPerformanceTuningAnalysisSortByEnum(val string) (ListPerformanceTuningAnalysisSortByEnum, bool)
GetMappingListPerformanceTuningAnalysisSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListPerformanceTuningAnalysisSortOrderEnum Enum with underlying type: string
type ListPerformanceTuningAnalysisSortOrderEnum string
Set of constants representing the allowable values for ListPerformanceTuningAnalysisSortOrderEnum
const ( ListPerformanceTuningAnalysisSortOrderAsc ListPerformanceTuningAnalysisSortOrderEnum = "ASC" ListPerformanceTuningAnalysisSortOrderDesc ListPerformanceTuningAnalysisSortOrderEnum = "DESC" )
func GetListPerformanceTuningAnalysisSortOrderEnumValues() []ListPerformanceTuningAnalysisSortOrderEnum
GetListPerformanceTuningAnalysisSortOrderEnumValues Enumerates the set of values for ListPerformanceTuningAnalysisSortOrderEnum
func GetMappingListPerformanceTuningAnalysisSortOrderEnum(val string) (ListPerformanceTuningAnalysisSortOrderEnum, bool)
GetMappingListPerformanceTuningAnalysisSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkItemsRequest wrapper for the ListWorkItems operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkItems.go.html to see an example of how to use ListWorkItemsRequest.
type ListWorkItemsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. The token 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"` // 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 ListWorkItemsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkItemsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListWorkItemsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListWorkItemsRequest) String() string
func (request ListWorkItemsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkItemsResponse wrapper for the ListWorkItems operation
type ListWorkItemsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkItemCollection instances WorkItemCollection `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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkItemsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkItemsResponse) String() string
ListWorkRequestErrorsRequest wrapper for the ListWorkRequestErrors operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkRequestErrors.go.html to see an example of how to use ListWorkRequestErrorsRequest.
type ListWorkRequestErrorsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. The token 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 field to sort by. Only one sort order may be provided. Default order for `timeCreated` is descending. SortBy ListWorkRequestErrorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListWorkRequestErrorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestErrorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ListWorkRequestErrorsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestErrorsResponse wrapper for the ListWorkRequestErrors operation
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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestErrorsResponse) String() string
ListWorkRequestErrorsSortByEnum Enum with underlying type: string
type ListWorkRequestErrorsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortByEnum
const ( ListWorkRequestErrorsSortByTimecreated ListWorkRequestErrorsSortByEnum = "timeCreated" )
func GetListWorkRequestErrorsSortByEnumValues() []ListWorkRequestErrorsSortByEnum
GetListWorkRequestErrorsSortByEnumValues Enumerates the set of values for ListWorkRequestErrorsSortByEnum
func GetMappingListWorkRequestErrorsSortByEnum(val string) (ListWorkRequestErrorsSortByEnum, bool)
GetMappingListWorkRequestErrorsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestErrorsSortOrderEnum Enum with underlying type: string
type ListWorkRequestErrorsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestErrorsSortOrderEnum
const ( ListWorkRequestErrorsSortOrderAsc ListWorkRequestErrorsSortOrderEnum = "ASC" ListWorkRequestErrorsSortOrderDesc ListWorkRequestErrorsSortOrderEnum = "DESC" )
func GetListWorkRequestErrorsSortOrderEnumValues() []ListWorkRequestErrorsSortOrderEnum
GetListWorkRequestErrorsSortOrderEnumValues Enumerates the set of values for ListWorkRequestErrorsSortOrderEnum
func GetMappingListWorkRequestErrorsSortOrderEnum(val string) (ListWorkRequestErrorsSortOrderEnum, bool)
GetMappingListWorkRequestErrorsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsRequest wrapper for the ListWorkRequestLogs operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkRequestLogs.go.html to see an example of how to use ListWorkRequestLogsRequest.
type ListWorkRequestLogsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"true" contributesTo:"path" name:"workRequestId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. The token 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 field to sort by. Only one sort order may be provided. Default order for `timeCreated` is descending. SortBy ListWorkRequestLogsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // The sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListWorkRequestLogsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestLogsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ListWorkRequestLogsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestLogsResponse wrapper for the ListWorkRequestLogs operation
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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestLogsResponse) String() string
ListWorkRequestLogsSortByEnum Enum with underlying type: string
type ListWorkRequestLogsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortByEnum
const ( ListWorkRequestLogsSortByTimecreated ListWorkRequestLogsSortByEnum = "timeCreated" )
func GetListWorkRequestLogsSortByEnumValues() []ListWorkRequestLogsSortByEnum
GetListWorkRequestLogsSortByEnumValues Enumerates the set of values for ListWorkRequestLogsSortByEnum
func GetMappingListWorkRequestLogsSortByEnum(val string) (ListWorkRequestLogsSortByEnum, bool)
GetMappingListWorkRequestLogsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestLogsSortOrderEnum Enum with underlying type: string
type ListWorkRequestLogsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestLogsSortOrderEnum
const ( ListWorkRequestLogsSortOrderAsc ListWorkRequestLogsSortOrderEnum = "ASC" ListWorkRequestLogsSortOrderDesc ListWorkRequestLogsSortOrderEnum = "DESC" )
func GetListWorkRequestLogsSortOrderEnumValues() []ListWorkRequestLogsSortOrderEnum
GetListWorkRequestLogsSortOrderEnumValues Enumerates the set of values for ListWorkRequestLogsSortOrderEnum
func GetMappingListWorkRequestLogsSortOrderEnum(val string) (ListWorkRequestLogsSortOrderEnum, bool)
GetMappingListWorkRequestLogsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsRequest wrapper for the ListWorkRequests operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/ListWorkRequests.go.html to see an example of how to use ListWorkRequestsRequest.
type ListWorkRequestsRequest struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. WorkRequestId *string `mandatory:"false" contributesTo:"query" name:"workRequestId"` // A filter to return only the resources that match the given lifecycle state. Status ListWorkRequestsStatusEnum `mandatory:"false" contributesTo:"query" name:"status" omitEmpty:"true"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource affected by the work request. ResourceId *string `mandatory:"false" contributesTo:"query" name:"resourceId"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"` // The page token representing the page at which to start retrieving results. The token 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 sort order to use, either ascending (`ASC`) or descending (`DESC`). SortOrder ListWorkRequestsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"` // The field to sort by. Only one sort order may be provided. Default order for `timeAccepted` is descending. SortBy ListWorkRequestsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"` // Metadata about the request. This information will not be transmitted to the service, but // represents information that the SDK will consume to drive retry behavior. RequestMetadata common.RequestMetadata }
func (request ListWorkRequestsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListWorkRequestsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]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
func (request ListWorkRequestsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListWorkRequestsResponse wrapper for the ListWorkRequests operation
type ListWorkRequestsResponse struct { // The underlying http response RawResponse *http.Response // A list of WorkRequestSummaryCollection instances WorkRequestSummaryCollection `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.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). OpcNextPage *string `presentIn:"header" name:"opc-next-page"` }
func (response ListWorkRequestsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListWorkRequestsResponse) String() string
ListWorkRequestsSortByEnum Enum with underlying type: string
type ListWorkRequestsSortByEnum string
Set of constants representing the allowable values for ListWorkRequestsSortByEnum
const ( ListWorkRequestsSortByTimeaccepted ListWorkRequestsSortByEnum = "timeAccepted" )
func GetListWorkRequestsSortByEnumValues() []ListWorkRequestsSortByEnum
GetListWorkRequestsSortByEnumValues Enumerates the set of values for ListWorkRequestsSortByEnum
func GetMappingListWorkRequestsSortByEnum(val string) (ListWorkRequestsSortByEnum, bool)
GetMappingListWorkRequestsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsSortOrderEnum Enum with underlying type: string
type ListWorkRequestsSortOrderEnum string
Set of constants representing the allowable values for ListWorkRequestsSortOrderEnum
const ( ListWorkRequestsSortOrderAsc ListWorkRequestsSortOrderEnum = "ASC" ListWorkRequestsSortOrderDesc ListWorkRequestsSortOrderEnum = "DESC" )
func GetListWorkRequestsSortOrderEnumValues() []ListWorkRequestsSortOrderEnum
GetListWorkRequestsSortOrderEnumValues Enumerates the set of values for ListWorkRequestsSortOrderEnum
func GetMappingListWorkRequestsSortOrderEnum(val string) (ListWorkRequestsSortOrderEnum, bool)
GetMappingListWorkRequestsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListWorkRequestsStatusEnum Enum with underlying type: string
type ListWorkRequestsStatusEnum string
Set of constants representing the allowable values for ListWorkRequestsStatusEnum
const ( ListWorkRequestsStatusAccepted ListWorkRequestsStatusEnum = "ACCEPTED" ListWorkRequestsStatusInProgress ListWorkRequestsStatusEnum = "IN_PROGRESS" ListWorkRequestsStatusWaiting ListWorkRequestsStatusEnum = "WAITING" ListWorkRequestsStatusNeedsAttention ListWorkRequestsStatusEnum = "NEEDS_ATTENTION" ListWorkRequestsStatusFailed ListWorkRequestsStatusEnum = "FAILED" ListWorkRequestsStatusSucceeded ListWorkRequestsStatusEnum = "SUCCEEDED" ListWorkRequestsStatusCancelling ListWorkRequestsStatusEnum = "CANCELLING" ListWorkRequestsStatusCancelled ListWorkRequestsStatusEnum = "CANCELLED" )
func GetListWorkRequestsStatusEnumValues() []ListWorkRequestsStatusEnum
GetListWorkRequestsStatusEnumValues Enumerates the set of values for ListWorkRequestsStatusEnum
func GetMappingListWorkRequestsStatusEnum(val string) (ListWorkRequestsStatusEnum, bool)
GetMappingListWorkRequestsStatusEnum performs case Insensitive comparison on enum value and return the desired enum
OperationStatusEnum Enum with underlying type: string
type OperationStatusEnum string
Set of constants representing the allowable values for OperationStatusEnum
const ( OperationStatusAccepted OperationStatusEnum = "ACCEPTED" OperationStatusInProgress OperationStatusEnum = "IN_PROGRESS" OperationStatusWaiting OperationStatusEnum = "WAITING" OperationStatusNeedsAttention OperationStatusEnum = "NEEDS_ATTENTION" OperationStatusFailed OperationStatusEnum = "FAILED" OperationStatusSucceeded OperationStatusEnum = "SUCCEEDED" OperationStatusCancelling OperationStatusEnum = "CANCELLING" OperationStatusCancelled OperationStatusEnum = "CANCELLED" )
func GetMappingOperationStatusEnum(val string) (OperationStatusEnum, bool)
GetMappingOperationStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationStatusEnumValues() []OperationStatusEnum
GetOperationStatusEnumValues Enumerates the set of values for OperationStatusEnum
OperationTypeEnum Enum with underlying type: string
type OperationTypeEnum string
Set of constants representing the allowable values for OperationTypeEnum
const ( OperationTypeRequestJavaMigrationSaAnalysis OperationTypeEnum = "REQUEST_JAVA_MIGRATION_SA_ANALYSIS" OperationTypeRequestPerformanceTuningSaAnalysis OperationTypeEnum = "REQUEST_PERFORMANCE_TUNING_SA_ANALYSIS" )
func GetMappingOperationTypeEnum(val string) (OperationTypeEnum, bool)
GetMappingOperationTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetOperationTypeEnumValues() []OperationTypeEnum
GetOperationTypeEnumValues Enumerates the set of values for OperationTypeEnum
PerformanceTuningAnalysis To use any of the API operations, you must be authorized by an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see Getting Started with Policies (https://docs.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm).
type PerformanceTuningAnalysis struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. WorkRequestId *string `mandatory:"true" json:"workRequestId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // Number of warnings in the Performance Tuning Analysis. WarningCount *int `mandatory:"true" json:"warningCount"` // Possible Performance Tuning Result statuses. Result PerformanceTuningAnalysisResultEnum `mandatory:"true" json:"result"` // Object storage path to the analysis. ResultObjectStoragePath *string `mandatory:"true" json:"resultObjectStoragePath"` // Object storage path to the artifact. ArtifactObjectStoragePath *string `mandatory:"true" json:"artifactObjectStoragePath"` // The date and time the Performance Tuning Analysis was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Performance Tuning Analysis was started, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The date and time the Performance Tuning Analysis was finished, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` CreatedBy *Principal `mandatory:"true" json:"createdBy"` }
func (m PerformanceTuningAnalysis) String() string
func (m PerformanceTuningAnalysis) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PerformanceTuningAnalysisCollection Results of a Performance Tuning Analysis search. Contains PerformanceTuningAnalysisSummary items.
type PerformanceTuningAnalysisCollection struct { // List of Performance Tuning Analysis. Items []PerformanceTuningAnalysisSummary `mandatory:"true" json:"items"` }
func (m PerformanceTuningAnalysisCollection) String() string
func (m PerformanceTuningAnalysisCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PerformanceTuningAnalysisResultEnum Enum with underlying type: string
type PerformanceTuningAnalysisResultEnum string
Set of constants representing the allowable values for PerformanceTuningAnalysisResultEnum
const ( PerformanceTuningAnalysisResultActionRecommended PerformanceTuningAnalysisResultEnum = "ACTION_RECOMMENDED" PerformanceTuningAnalysisResultNoWarnings PerformanceTuningAnalysisResultEnum = "NO_WARNINGS" )
func GetMappingPerformanceTuningAnalysisResultEnum(val string) (PerformanceTuningAnalysisResultEnum, bool)
GetMappingPerformanceTuningAnalysisResultEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPerformanceTuningAnalysisResultEnumValues() []PerformanceTuningAnalysisResultEnum
GetPerformanceTuningAnalysisResultEnumValues Enumerates the set of values for PerformanceTuningAnalysisResultEnum
PerformanceTuningAnalysisSortByEnum Enum with underlying type: string
type PerformanceTuningAnalysisSortByEnum string
Set of constants representing the allowable values for PerformanceTuningAnalysisSortByEnum
const ( PerformanceTuningAnalysisSortByTimeCreated PerformanceTuningAnalysisSortByEnum = "TIME_CREATED" PerformanceTuningAnalysisSortByTimeStarted PerformanceTuningAnalysisSortByEnum = "TIME_STARTED" PerformanceTuningAnalysisSortByTimeFinished PerformanceTuningAnalysisSortByEnum = "TIME_FINISHED" )
func GetMappingPerformanceTuningAnalysisSortByEnum(val string) (PerformanceTuningAnalysisSortByEnum, bool)
GetMappingPerformanceTuningAnalysisSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetPerformanceTuningAnalysisSortByEnumValues() []PerformanceTuningAnalysisSortByEnum
GetPerformanceTuningAnalysisSortByEnumValues Enumerates the set of values for PerformanceTuningAnalysisSortByEnum
PerformanceTuningAnalysisSummary Summary information about a Performance Tuning Analysis.
type PerformanceTuningAnalysisSummary struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Performance Tuning Analysis. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Work Request. WorkRequestId *string `mandatory:"true" json:"workRequestId"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId *string `mandatory:"true" json:"compartmentId"` // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // Number of warnings in the Performance Tuning Analysis. WarningCount *int `mandatory:"true" json:"warningCount"` // Possible Performance Tuning Result statuses. Result PerformanceTuningAnalysisResultEnum `mandatory:"true" json:"result"` // Object storage path to the analysis. ResultObjectStoragePath *string `mandatory:"true" json:"resultObjectStoragePath"` // Object storage path to the artifact. ArtifactObjectStoragePath *string `mandatory:"true" json:"artifactObjectStoragePath"` // The date and time the Performance Tuning Analysis was created, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"` // The date and time the Performance Tuning Analysis was started, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeStarted *common.SDKTime `mandatory:"true" json:"timeStarted"` // The date and time the Performance Tuning Analysis was finished, in the format defined by RFC 3339 (https://tools.ietf.org/html/rfc3339). // Example: `2016-08-25T21:10:29.600Z` TimeFinished *common.SDKTime `mandatory:"true" json:"timeFinished"` CreatedBy *Principal `mandatory:"true" json:"createdBy"` }
func (m PerformanceTuningAnalysisSummary) String() string
func (m PerformanceTuningAnalysisSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PerformanceTuningAnalysisTarget The target for the Performance Tuning Analysis
type PerformanceTuningAnalysisTarget struct { // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // Object storage path to the artifact. ArtifactObjectStoragePath *string `mandatory:"true" json:"artifactObjectStoragePath"` }
func (m PerformanceTuningAnalysisTarget) String() string
func (m PerformanceTuningAnalysisTarget) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PerformanceTuningWorkItemDetails The performance tuning work item details.
type PerformanceTuningWorkItemDetails struct { // Object storage path to the artifact. ArtifactObjectStoragePath *string `mandatory:"true" json:"artifactObjectStoragePath"` // Name of the analysis project. AnalysisProjectName *string `mandatory:"true" json:"analysisProjectName"` // The work item type. WorkItemType WorkItemTypeEnum `mandatory:"false" json:"workItemType,omitempty"` }
func (m PerformanceTuningWorkItemDetails) GetWorkItemType() WorkItemTypeEnum
GetWorkItemType returns WorkItemType
func (m PerformanceTuningWorkItemDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m PerformanceTuningWorkItemDetails) String() string
func (m PerformanceTuningWorkItemDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
Principal An authorized principal.
type Principal struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal. Id *string `mandatory:"true" json:"id"` // The name of the principal. DisplayName *string `mandatory:"true" json:"displayName"` }
func (m Principal) String() string
func (m Principal) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestJavaMigrationAnalysisDetails The data to bulk create Java Migration Analysis.
type RequestJavaMigrationAnalysisDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Java Migration Analysis will be created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of targets for the Java Migration Analysis. Targets []JavaMigrationAnalysisTarget `mandatory:"true" json:"targets"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m RequestJavaMigrationAnalysisDetails) String() string
func (m RequestJavaMigrationAnalysisDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestJavaMigrationAnalysisRequest wrapper for the RequestJavaMigrationAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/RequestJavaMigrationAnalysis.go.html to see an example of how to use RequestJavaMigrationAnalysisRequest.
type RequestJavaMigrationAnalysisRequest struct { // Details for the new JavaMigrationAnalysis. RequestJavaMigrationAnalysisDetails `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 running 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 removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 RequestJavaMigrationAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestJavaMigrationAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestJavaMigrationAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestJavaMigrationAnalysisRequest) String() string
func (request RequestJavaMigrationAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestJavaMigrationAnalysisResponse wrapper for the RequestJavaMigrationAnalysis operation
type RequestJavaMigrationAnalysisResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. // Use GetWorkRequest with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RequestJavaMigrationAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestJavaMigrationAnalysisResponse) String() string
RequestPerformanceTuningAnalysisDetails The data to create Performance Tuning Analysis.
type RequestPerformanceTuningAnalysisDetails struct { // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where the Performance Tuning Analysis will be created. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The list of targets for the Performance Tuning Analysis. Targets []PerformanceTuningAnalysisTarget `mandatory:"true" json:"targets"` // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Department": "Finance"}` FreeformTags map[string]string `mandatory:"false" json:"freeformTags"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. // For more information, see Resource Tags (https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
func (m RequestPerformanceTuningAnalysisDetails) String() string
func (m RequestPerformanceTuningAnalysisDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestPerformanceTuningAnalysisRequest wrapper for the RequestPerformanceTuningAnalysis operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/RequestPerformanceTuningAnalysis.go.html to see an example of how to use RequestPerformanceTuningAnalysisRequest.
type RequestPerformanceTuningAnalysisRequest struct { // Details for the new PerformanceTuningAnalysis. RequestPerformanceTuningAnalysisDetails `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 running 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 removed from the system, then a retry of the original creation request // might be rejected. OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 RequestPerformanceTuningAnalysisRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request RequestPerformanceTuningAnalysisRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request RequestPerformanceTuningAnalysisRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request RequestPerformanceTuningAnalysisRequest) String() string
func (request RequestPerformanceTuningAnalysisRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
RequestPerformanceTuningAnalysisResponse wrapper for the RequestPerformanceTuningAnalysis operation
type RequestPerformanceTuningAnalysisResponse struct { // The underlying http response RawResponse *http.Response // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the asynchronous work request. // Use GetWorkRequest with this ID to track the status of the request. OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` }
func (response RequestPerformanceTuningAnalysisResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response RequestPerformanceTuningAnalysisResponse) String() string
SortOrderEnum Enum with underlying type: string
type SortOrderEnum string
Set of constants representing the allowable values for SortOrderEnum
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortOrderEnumValues() []SortOrderEnum
GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum
SubscriptionAcknowledgmentConfiguration The configuration for subscription acknowledgment.
type SubscriptionAcknowledgmentConfiguration struct { // Flag to determine whether the subscription was acknowledged or not. IsAcknowledged *bool `mandatory:"true" json:"isAcknowledged"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the principal that ackwnoledged the subscription. AcknowledgedBy *string `mandatory:"false" json:"acknowledgedBy"` // The date and time the subscription was acknowledged (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeAcknowledged *common.SDKTime `mandatory:"false" json:"timeAcknowledged"` }
func (m SubscriptionAcknowledgmentConfiguration) String() string
func (m SubscriptionAcknowledgmentConfiguration) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAnalyzeApplicationsConfigurationDetails Attributes to update an Analyze Applications Configuration.
type UpdateAnalyzeApplicationsConfigurationDetails struct { // The Object Storage namespace used for analyzing applications. NamespaceName *string `mandatory:"false" json:"namespaceName"` // The name of the bucket used for analyzing applications. BucketName *string `mandatory:"false" json:"bucketName"` }
func (m UpdateAnalyzeApplicationsConfigurationDetails) String() string
func (m UpdateAnalyzeApplicationsConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAnalyzeApplicationsConfigurationRequest wrapper for the UpdateAnalyzeApplicationsConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/UpdateAnalyzeApplicationsConfiguration.go.html to see an example of how to use UpdateAnalyzeApplicationsConfigurationRequest.
type UpdateAnalyzeApplicationsConfigurationRequest struct { // The information to be updated. UpdateAnalyzeApplicationsConfigurationDetails `contributesTo:"body"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 UpdateAnalyzeApplicationsConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateAnalyzeApplicationsConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateAnalyzeApplicationsConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateAnalyzeApplicationsConfigurationRequest) String() string
func (request UpdateAnalyzeApplicationsConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateAnalyzeApplicationsConfigurationResponse wrapper for the UpdateAnalyzeApplicationsConfiguration operation
type UpdateAnalyzeApplicationsConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The AnalyzeApplicationsConfiguration instance AnalyzeApplicationsConfiguration `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateAnalyzeApplicationsConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateAnalyzeApplicationsConfigurationResponse) String() string
UpdateSubscriptionAcknowledgmentConfigurationDetails Attributes to update a Subscription Acknowledgment Configuration.
type UpdateSubscriptionAcknowledgmentConfigurationDetails struct { // Flag to determine whether the subscription was acknowledged or not. IsAcknowledged *bool `mandatory:"false" json:"isAcknowledged"` }
func (m UpdateSubscriptionAcknowledgmentConfigurationDetails) String() string
func (m UpdateSubscriptionAcknowledgmentConfigurationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateSubscriptionAcknowledgmentConfigurationRequest wrapper for the UpdateSubscriptionAcknowledgmentConfiguration operation
Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/jmsutils/UpdateSubscriptionAcknowledgmentConfiguration.go.html to see an example of how to use UpdateSubscriptionAcknowledgmentConfigurationRequest.
type UpdateSubscriptionAcknowledgmentConfigurationRequest struct { // The configuration to be updated. UpdateSubscriptionAcknowledgmentConfigurationDetails `contributesTo:"body"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"` // For optimistic concurrency control. In the PUT or DELETE call for a resource, set the // `if-match` parameter to the value of the etag from a previous GET or POST response for // that resource. The resource will be updated or deleted only if the etag you provide // matches the resource's current etag value. IfMatch *string `mandatory:"false" contributesTo:"header" name:"if-match"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. // The only valid characters for request IDs are letters, numbers, // underscore, and dash. 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 UpdateSubscriptionAcknowledgmentConfigurationRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request UpdateSubscriptionAcknowledgmentConfigurationRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request UpdateSubscriptionAcknowledgmentConfigurationRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request UpdateSubscriptionAcknowledgmentConfigurationRequest) String() string
func (request UpdateSubscriptionAcknowledgmentConfigurationRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
UpdateSubscriptionAcknowledgmentConfigurationResponse wrapper for the UpdateSubscriptionAcknowledgmentConfiguration operation
type UpdateSubscriptionAcknowledgmentConfigurationResponse struct { // The underlying http response RawResponse *http.Response // The SubscriptionAcknowledgmentConfiguration instance SubscriptionAcknowledgmentConfiguration `presentIn:"body"` // Unique Oracle-assigned identifier for the request. If you need to contact // Oracle about a particular request, please provide the request ID. OpcRequestId *string `presentIn:"header" name:"opc-request-id"` // For optimistic concurrency control. See `if-match`. Etag *string `presentIn:"header" name:"etag"` }
func (response UpdateSubscriptionAcknowledgmentConfigurationResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response UpdateSubscriptionAcknowledgmentConfigurationResponse) String() string
WorkItemCollection A list of WorkItem.
type WorkItemCollection struct { // A list of work request items. Items []WorkItemSummary `mandatory:"true" json:"items"` }
func (m WorkItemCollection) String() string
func (m WorkItemCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkItemDetails The minimum details of a work item.
type WorkItemDetails interface { // The work item type. GetWorkItemType() WorkItemTypeEnum }
WorkItemDetailsKindEnum Enum with underlying type: string
type WorkItemDetailsKindEnum string
Set of constants representing the allowable values for WorkItemDetailsKindEnum
const ( WorkItemDetailsKindBasic WorkItemDetailsKindEnum = "BASIC" WorkItemDetailsKindJavaMigration WorkItemDetailsKindEnum = "JAVA_MIGRATION" WorkItemDetailsKindPerformanceTuning WorkItemDetailsKindEnum = "PERFORMANCE_TUNING" )
func GetMappingWorkItemDetailsKindEnum(val string) (WorkItemDetailsKindEnum, bool)
GetMappingWorkItemDetailsKindEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkItemDetailsKindEnumValues() []WorkItemDetailsKindEnum
GetWorkItemDetailsKindEnumValues Enumerates the set of values for WorkItemDetailsKindEnum
WorkItemStatusEnum Enum with underlying type: string
type WorkItemStatusEnum string
Set of constants representing the allowable values for WorkItemStatusEnum
const ( WorkItemStatusAccepted WorkItemStatusEnum = "ACCEPTED" WorkItemStatusInProgress WorkItemStatusEnum = "IN_PROGRESS" WorkItemStatusCanceling WorkItemStatusEnum = "CANCELING" WorkItemStatusCanceled WorkItemStatusEnum = "CANCELED" WorkItemStatusSucceeded WorkItemStatusEnum = "SUCCEEDED" WorkItemStatusNeedsAttention WorkItemStatusEnum = "NEEDS_ATTENTION" WorkItemStatusRetrying WorkItemStatusEnum = "RETRYING" WorkItemStatusSkipped WorkItemStatusEnum = "SKIPPED" )
func GetMappingWorkItemStatusEnum(val string) (WorkItemStatusEnum, bool)
GetMappingWorkItemStatusEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkItemStatusEnumValues() []WorkItemStatusEnum
GetWorkItemStatusEnumValues Enumerates the set of values for WorkItemStatusEnum
WorkItemSummary Work item to complete a work request.
type WorkItemSummary struct { // The unique ID of ths work item. Id *string `mandatory:"true" json:"id"` // The OCID of the work request created this work item. WorkRequestId *string `mandatory:"true" json:"workRequestId"` // The status of the work item. Status WorkItemStatusEnum `mandatory:"true" json:"status"` Details WorkItemDetails `mandatory:"true" json:"details"` // Number of times this work item is retried. RetryCount *int `mandatory:"true" json:"retryCount"` // The date and time the work item was last updated. (formatted according to RFC3339 (https://datatracker.ietf.org/doc/html/rfc3339)). TimeLastUpdated *common.SDKTime `mandatory:"false" json:"timeLastUpdated"` }
func (m WorkItemSummary) String() string
func (m *WorkItemSummary) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m WorkItemSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkItemTypeEnum Enum with underlying type: string
type WorkItemTypeEnum string
Set of constants representing the allowable values for WorkItemTypeEnum
const ( WorkItemTypePerformanceTuning WorkItemTypeEnum = "PERFORMANCE_TUNING" WorkItemTypeJavaMigration WorkItemTypeEnum = "JAVA_MIGRATION" )
func GetMappingWorkItemTypeEnum(val string) (WorkItemTypeEnum, bool)
GetMappingWorkItemTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkItemTypeEnumValues() []WorkItemTypeEnum
GetWorkItemTypeEnumValues Enumerates the set of values for WorkItemTypeEnum
WorkRequest An asynchronous work request. Work requests help you monitor long-running operations. When you start a long-running operation, the service creates a work request. A work request is an activity log that lets you track each step in the operation's progress. Each work request has an OCID that lets you interact with it programmatically and use it for automation.
type WorkRequest struct { // The asynchronous operation tracked by this work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources that are affected by the work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Shows the progress of the operation tracked by the work request, as a percentage of the total work // that must be performed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was created, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The total number of tasks to be executed for this work request. TotalTaskCount *int `mandatory:"false" json:"totalTaskCount"` // The number of tasks had been executed to a terminal state. CompletedTaskCount *int `mandatory:"false" json:"completedTaskCount"` // The date and time the work request was started, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request was finished, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The date and time the work request was updated, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` CreatedBy *Principal `mandatory:"false" json:"createdBy"` }
func (m WorkRequest) String() string
func (m WorkRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestError An error encountered while performing an operation that is tracked by a work request.
type WorkRequestError struct { // A machine-usable code for the error that occurred. For a list of error codes, see // API Errors (https://docs.oracle.com/iaas/Content/API/References/apierrors.htm). Code *string `mandatory:"true" json:"code"` // A human-readable error message. Message *string `mandatory:"true" json:"message"` // The date and time the error occurred, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestError) String() string
func (m WorkRequestError) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestErrorCollection A list of work request errors. Can contain both errors and other information, such as metadata.
type WorkRequestErrorCollection struct { // A list of work request errors. Items []WorkRequestError `mandatory:"true" json:"items"` }
func (m WorkRequestErrorCollection) String() string
func (m WorkRequestErrorCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntry A log message from performing an operation that is tracked by a work request.
type WorkRequestLogEntry struct { // A human-readable log message. Message *string `mandatory:"true" json:"message"` // The date and time the log message was written, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). Timestamp *common.SDKTime `mandatory:"true" json:"timestamp"` }
func (m WorkRequestLogEntry) String() string
func (m WorkRequestLogEntry) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestLogEntryCollection A list of work request logs. Can contain both logs and other information, such as metadata.
type WorkRequestLogEntryCollection struct { // A list of work request log entries. Items []WorkRequestLogEntry `mandatory:"true" json:"items"` }
func (m WorkRequestLogEntryCollection) String() string
func (m WorkRequestLogEntryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResource A resource created or operated on by a work request.
type WorkRequestResource struct { // The resource type that the work request affects. EntityType *string `mandatory:"true" json:"entityType"` // The way in which this resource is affected by the operation tracked in the work request. // A resource being created, updated, or deleted remains in the IN_PROGRESS state until // work is complete for that resource, at which point it transitions to CREATED, UPDATED, // or DELETED, respectively. ActionType ActionTypeEnum `mandatory:"true" json:"actionType"` // An OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) or other unique identifier for the resource. 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"` // Additional information that helps to explain the resource. Metadata map[string]string `mandatory:"false" json:"metadata"` }
func (m WorkRequestResource) String() string
func (m WorkRequestResource) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestResourceMetadataKeyEnum Enum with underlying type: string
type WorkRequestResourceMetadataKeyEnum string
Set of constants representing the allowable values for WorkRequestResourceMetadataKeyEnum
const ( WorkRequestResourceMetadataKeyIsDryRun WorkRequestResourceMetadataKeyEnum = "IS_DRY_RUN" )
func GetMappingWorkRequestResourceMetadataKeyEnum(val string) (WorkRequestResourceMetadataKeyEnum, bool)
GetMappingWorkRequestResourceMetadataKeyEnum performs case Insensitive comparison on enum value and return the desired enum
func GetWorkRequestResourceMetadataKeyEnumValues() []WorkRequestResourceMetadataKeyEnum
GetWorkRequestResourceMetadataKeyEnumValues Enumerates the set of values for WorkRequestResourceMetadataKeyEnum
WorkRequestSummary Summary information about an asynchronous work request.
type WorkRequestSummary struct { // The asynchronous operation tracked by this work request. OperationType OperationTypeEnum `mandatory:"true" json:"operationType"` // The status of the work request. Status OperationStatusEnum `mandatory:"true" json:"status"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the work request. Id *string `mandatory:"true" json:"id"` // The OCID (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the work request. CompartmentId *string `mandatory:"true" json:"compartmentId"` // The resources that are affected by this work request. Resources []WorkRequestResource `mandatory:"true" json:"resources"` // Shows the progress of the operation tracked by the work request, as a percentage of the total work // that must be performed. PercentComplete *float32 `mandatory:"true" json:"percentComplete"` // The date and time the work request was created, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeAccepted *common.SDKTime `mandatory:"true" json:"timeAccepted"` // The date and time the work request was started, in the format defined by // RFC 3339 (https://tools.ietf.org/html/rfc3339). TimeStarted *common.SDKTime `mandatory:"false" json:"timeStarted"` // The date and time the work request was finished, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeFinished *common.SDKTime `mandatory:"false" json:"timeFinished"` // The date and time the work request was updated, in the format defined by // RFC 3339 (https://tools.ietf.org/rfc/rfc3339). TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"` CreatedBy *Principal `mandatory:"false" json:"createdBy"` }
func (m WorkRequestSummary) String() string
func (m WorkRequestSummary) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
WorkRequestSummaryCollection A list of work requests. Can contain both work requests and other information, such as metadata.
type WorkRequestSummaryCollection struct { // A list of work requests. Items []WorkRequestSummary `mandatory:"true" json:"items"` }
func (m WorkRequestSummaryCollection) String() string
func (m WorkRequestSummaryCollection) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly