Versions in this module Expand all Collapse all v27 v27.3.0 Nov 3, 2020 Changes in this version + type Action struct + Description *string + Type ActionTypeEnum + Url *string + func (m Action) String() string + type ActionTypeEnum string + const ActionTypeKbArticle + func GetActionTypeEnumValues() []ActionTypeEnum + type BulkApplyRecommendationsDetails struct + ResourceActionIds []string + Status StatusEnum + TimeStatusEnd *common.SDKTime + func (m BulkApplyRecommendationsDetails) String() string + type BulkApplyRecommendationsRequest struct + OpcRequestId *string + OpcRetryToken *string + RecommendationId *string + RequestMetadata common.RequestMetadata + func (request BulkApplyRecommendationsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request BulkApplyRecommendationsRequest) RetryPolicy() *common.RetryPolicy + func (request BulkApplyRecommendationsRequest) String() string + type BulkApplyRecommendationsResponse struct + OpcRequestId *string + OpcWorkRequestId *string + RawResponse *http.Response + func (response BulkApplyRecommendationsResponse) HTTPResponse() *http.Response + func (response BulkApplyRecommendationsResponse) String() string + type Category struct + CompartmentId *string + Description *string + EstimatedCostSaving *float64 + Id *string + LifecycleState LifecycleStateEnum + Name *string + RecommendationCounts []RecommendationCount + ResourceCounts []ResourceCount + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + func (m Category) String() string + type CategoryCollection struct + Items []CategorySummary + func (m CategoryCollection) String() string + type CategorySummary struct + CompartmentId *string + Description *string + EstimatedCostSaving *float64 + Id *string + LifecycleState LifecycleStateEnum + Name *string + RecommendationCounts []RecommendationCount + ResourceCounts []ResourceCount + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + func (m CategorySummary) String() string + type CreateProfileDetails struct + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + LevelsConfiguration *LevelsConfiguration + Name *string + func (m CreateProfileDetails) String() string + type CreateProfileRequest struct + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request CreateProfileRequest) HTTPRequest(method, path string) (http.Request, error) + func (request CreateProfileRequest) RetryPolicy() *common.RetryPolicy + func (request CreateProfileRequest) String() string + type CreateProfileResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CreateProfileResponse) HTTPResponse() *http.Response + func (response CreateProfileResponse) String() string + type DeleteProfileRequest struct + IfMatch *string + OpcRequestId *string + ProfileId *string + RequestMetadata common.RequestMetadata + func (request DeleteProfileRequest) HTTPRequest(method, path string) (http.Request, error) + func (request DeleteProfileRequest) RetryPolicy() *common.RetryPolicy + func (request DeleteProfileRequest) String() string + type DeleteProfileResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response DeleteProfileResponse) HTTPResponse() *http.Response + func (response DeleteProfileResponse) String() string + type EnrollmentStatus struct + CompartmentId *string + Id *string + LifecycleState LifecycleStateEnum + Status OptimizerEnrollmentStatusEnum + StatusReason *string + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + func (m EnrollmentStatus) String() string + type EnrollmentStatusCollection struct + Items []EnrollmentStatusSummary + func (m EnrollmentStatusCollection) String() string + type EnrollmentStatusSummary struct + CompartmentId *string + Id *string + LifecycleState LifecycleStateEnum + Status OptimizerEnrollmentStatusEnum + StatusReason *string + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + func (m EnrollmentStatusSummary) String() string + type GetCategoryRequest struct + CategoryId *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request GetCategoryRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetCategoryRequest) RetryPolicy() *common.RetryPolicy + func (request GetCategoryRequest) String() string + type GetCategoryResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response GetCategoryResponse) HTTPResponse() *http.Response + func (response GetCategoryResponse) String() string + type GetEnrollmentStatusRequest struct + EnrollmentStatusId *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request GetEnrollmentStatusRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetEnrollmentStatusRequest) RetryPolicy() *common.RetryPolicy + func (request GetEnrollmentStatusRequest) String() string + type GetEnrollmentStatusResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetEnrollmentStatusResponse) HTTPResponse() *http.Response + func (response GetEnrollmentStatusResponse) String() string + type GetProfileRequest struct + OpcRequestId *string + ProfileId *string + RequestMetadata common.RequestMetadata + func (request GetProfileRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetProfileRequest) RetryPolicy() *common.RetryPolicy + func (request GetProfileRequest) String() string + type GetProfileResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetProfileResponse) HTTPResponse() *http.Response + func (response GetProfileResponse) String() string + type GetRecommendationRequest struct + OpcRequestId *string + RecommendationId *string + RequestMetadata common.RequestMetadata + func (request GetRecommendationRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetRecommendationRequest) RetryPolicy() *common.RetryPolicy + func (request GetRecommendationRequest) String() string + type GetRecommendationResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetRecommendationResponse) HTTPResponse() *http.Response + func (response GetRecommendationResponse) String() string + type GetResourceActionRequest struct + OpcRequestId *string + RequestMetadata common.RequestMetadata + ResourceActionId *string + func (request GetResourceActionRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetResourceActionRequest) RetryPolicy() *common.RetryPolicy + func (request GetResourceActionRequest) String() string + type GetResourceActionResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetResourceActionResponse) HTTPResponse() *http.Response + func (response GetResourceActionResponse) String() string + type GetWorkRequestRequest struct + OpcRequestId *string + RequestMetadata common.RequestMetadata + WorkRequestId *string + func (request GetWorkRequestRequest) HTTPRequest(method, path string) (http.Request, error) + func (request GetWorkRequestRequest) RetryPolicy() *common.RetryPolicy + func (request GetWorkRequestRequest) String() string + type GetWorkRequestResponse struct + OpcRequestId *string + RawResponse *http.Response + RetryAfter *float32 + func (response GetWorkRequestResponse) HTTPResponse() *http.Response + func (response GetWorkRequestResponse) String() string + type HistoryCollection struct + Items []HistorySummary + func (m HistoryCollection) String() string + type HistorySummary struct + Action *Action + CategoryId *string + CompartmentId *string + CompartmentName *string + EstimatedCostSaving *float64 + ExtendedMetadata map[string]interface{} + Id *string + LifecycleState LifecycleStateEnum + Metadata map[string]string + Name *string + RecommendationId *string + RecommendationName *string + ResourceActionId *string + ResourceId *string + ResourceType *string + Status StatusEnum + TimeCreated *common.SDKTime + func (m HistorySummary) String() string + type ImportanceEnum string + const ImportanceCritical + const ImportanceHigh + const ImportanceLow + const ImportanceMinor + const ImportanceModerate + func GetImportanceEnumValues() []ImportanceEnum + type LevelConfiguration struct + Level *string + RecommendationId *string + func (m LevelConfiguration) String() string + type LevelsConfiguration struct + Items []LevelConfiguration + func (m LevelsConfiguration) String() string + type LifecycleStateEnum string + const LifecycleStateActive + const LifecycleStateAttaching + const LifecycleStateCreating + const LifecycleStateDeleted + const LifecycleStateDeleting + const LifecycleStateDetaching + const LifecycleStateFailed + const LifecycleStateInactive + const LifecycleStateUpdating + func GetLifecycleStateEnumValues() []LifecycleStateEnum + type ListCategoriesLifecycleStateEnum string + const ListCategoriesLifecycleStateActive + const ListCategoriesLifecycleStateAttaching + const ListCategoriesLifecycleStateCreating + const ListCategoriesLifecycleStateDeleted + const ListCategoriesLifecycleStateDeleting + const ListCategoriesLifecycleStateDetaching + const ListCategoriesLifecycleStateFailed + const ListCategoriesLifecycleStateInactive + const ListCategoriesLifecycleStateUpdating + func GetListCategoriesLifecycleStateEnumValues() []ListCategoriesLifecycleStateEnum + type ListCategoriesRequest struct + CompartmentId *string + CompartmentIdInSubtree *bool + LifecycleState ListCategoriesLifecycleStateEnum + Limit *int + Name *string + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListCategoriesSortByEnum + SortOrder ListCategoriesSortOrderEnum + func (request ListCategoriesRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListCategoriesRequest) RetryPolicy() *common.RetryPolicy + func (request ListCategoriesRequest) String() string + type ListCategoriesResponse struct + OpcNextPage *string + OpcPrevPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListCategoriesResponse) HTTPResponse() *http.Response + func (response ListCategoriesResponse) String() string + type ListCategoriesSortByEnum string + const ListCategoriesSortByName + const ListCategoriesSortByTimecreated + func GetListCategoriesSortByEnumValues() []ListCategoriesSortByEnum + type ListCategoriesSortOrderEnum string + const ListCategoriesSortOrderAsc + const ListCategoriesSortOrderDesc + func GetListCategoriesSortOrderEnumValues() []ListCategoriesSortOrderEnum + type ListEnrollmentStatusesLifecycleStateEnum string + const ListEnrollmentStatusesLifecycleStateActive + const ListEnrollmentStatusesLifecycleStateAttaching + const ListEnrollmentStatusesLifecycleStateCreating + const ListEnrollmentStatusesLifecycleStateDeleted + const ListEnrollmentStatusesLifecycleStateDeleting + const ListEnrollmentStatusesLifecycleStateDetaching + const ListEnrollmentStatusesLifecycleStateFailed + const ListEnrollmentStatusesLifecycleStateInactive + const ListEnrollmentStatusesLifecycleStateUpdating + func GetListEnrollmentStatusesLifecycleStateEnumValues() []ListEnrollmentStatusesLifecycleStateEnum + type ListEnrollmentStatusesRequest struct + CompartmentId *string + LifecycleState ListEnrollmentStatusesLifecycleStateEnum + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListEnrollmentStatusesSortByEnum + SortOrder ListEnrollmentStatusesSortOrderEnum + Status ListEnrollmentStatusesStatusEnum + func (request ListEnrollmentStatusesRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListEnrollmentStatusesRequest) RetryPolicy() *common.RetryPolicy + func (request ListEnrollmentStatusesRequest) String() string + type ListEnrollmentStatusesResponse struct + OpcNextPage *string + OpcPrevPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListEnrollmentStatusesResponse) HTTPResponse() *http.Response + func (response ListEnrollmentStatusesResponse) String() string + type ListEnrollmentStatusesSortByEnum string + const ListEnrollmentStatusesSortByName + const ListEnrollmentStatusesSortByTimecreated + func GetListEnrollmentStatusesSortByEnumValues() []ListEnrollmentStatusesSortByEnum + type ListEnrollmentStatusesSortOrderEnum string + const ListEnrollmentStatusesSortOrderAsc + const ListEnrollmentStatusesSortOrderDesc + func GetListEnrollmentStatusesSortOrderEnumValues() []ListEnrollmentStatusesSortOrderEnum + type ListEnrollmentStatusesStatusEnum string + const ListEnrollmentStatusesStatusActive + const ListEnrollmentStatusesStatusInactive + func GetListEnrollmentStatusesStatusEnumValues() []ListEnrollmentStatusesStatusEnum + type ListHistoriesLifecycleStateEnum string + const ListHistoriesLifecycleStateActive + const ListHistoriesLifecycleStateAttaching + const ListHistoriesLifecycleStateCreating + const ListHistoriesLifecycleStateDeleted + const ListHistoriesLifecycleStateDeleting + const ListHistoriesLifecycleStateDetaching + const ListHistoriesLifecycleStateFailed + const ListHistoriesLifecycleStateInactive + const ListHistoriesLifecycleStateUpdating + func GetListHistoriesLifecycleStateEnumValues() []ListHistoriesLifecycleStateEnum + type ListHistoriesRequest struct + CompartmentId *string + CompartmentIdInSubtree *bool + LifecycleState ListHistoriesLifecycleStateEnum + Limit *int + Name *string + OpcRequestId *string + Page *string + RecommendationId *string + RecommendationName *string + RequestMetadata common.RequestMetadata + ResourceType *string + SortBy ListHistoriesSortByEnum + SortOrder ListHistoriesSortOrderEnum + Status ListHistoriesStatusEnum + func (request ListHistoriesRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListHistoriesRequest) RetryPolicy() *common.RetryPolicy + func (request ListHistoriesRequest) String() string + type ListHistoriesResponse struct + OpcNextPage *string + OpcPrevPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListHistoriesResponse) HTTPResponse() *http.Response + func (response ListHistoriesResponse) String() string + type ListHistoriesSortByEnum string + const ListHistoriesSortByName + const ListHistoriesSortByTimecreated + func GetListHistoriesSortByEnumValues() []ListHistoriesSortByEnum + type ListHistoriesSortOrderEnum string + const ListHistoriesSortOrderAsc + const ListHistoriesSortOrderDesc + func GetListHistoriesSortOrderEnumValues() []ListHistoriesSortOrderEnum + type ListHistoriesStatusEnum string + const ListHistoriesStatusDismissed + const ListHistoriesStatusImplemented + const ListHistoriesStatusPending + const ListHistoriesStatusPostponed + func GetListHistoriesStatusEnumValues() []ListHistoriesStatusEnum + type ListProfilesLifecycleStateEnum string + const ListProfilesLifecycleStateActive + const ListProfilesLifecycleStateAttaching + const ListProfilesLifecycleStateCreating + const ListProfilesLifecycleStateDeleted + const ListProfilesLifecycleStateDeleting + const ListProfilesLifecycleStateDetaching + const ListProfilesLifecycleStateFailed + const ListProfilesLifecycleStateInactive + const ListProfilesLifecycleStateUpdating + func GetListProfilesLifecycleStateEnumValues() []ListProfilesLifecycleStateEnum + type ListProfilesRequest struct + CompartmentId *string + LifecycleState ListProfilesLifecycleStateEnum + Limit *int + Name *string + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListProfilesSortByEnum + SortOrder ListProfilesSortOrderEnum + func (request ListProfilesRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListProfilesRequest) RetryPolicy() *common.RetryPolicy + func (request ListProfilesRequest) String() string + type ListProfilesResponse struct + OpcNextPage *string + OpcPrevPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListProfilesResponse) HTTPResponse() *http.Response + func (response ListProfilesResponse) String() string + type ListProfilesSortByEnum string + const ListProfilesSortByName + const ListProfilesSortByTimecreated + func GetListProfilesSortByEnumValues() []ListProfilesSortByEnum + type ListProfilesSortOrderEnum string + const ListProfilesSortOrderAsc + const ListProfilesSortOrderDesc + func GetListProfilesSortOrderEnumValues() []ListProfilesSortOrderEnum + type ListRecommendationsLifecycleStateEnum string + const ListRecommendationsLifecycleStateActive + const ListRecommendationsLifecycleStateAttaching + const ListRecommendationsLifecycleStateCreating + const ListRecommendationsLifecycleStateDeleted + const ListRecommendationsLifecycleStateDeleting + const ListRecommendationsLifecycleStateDetaching + const ListRecommendationsLifecycleStateFailed + const ListRecommendationsLifecycleStateInactive + const ListRecommendationsLifecycleStateUpdating + func GetListRecommendationsLifecycleStateEnumValues() []ListRecommendationsLifecycleStateEnum + type ListRecommendationsRequest struct + CategoryId *string + CompartmentId *string + CompartmentIdInSubtree *bool + LifecycleState ListRecommendationsLifecycleStateEnum + Limit *int + Name *string + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListRecommendationsSortByEnum + SortOrder ListRecommendationsSortOrderEnum + Status ListRecommendationsStatusEnum + func (request ListRecommendationsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListRecommendationsRequest) RetryPolicy() *common.RetryPolicy + func (request ListRecommendationsRequest) String() string + type ListRecommendationsResponse struct + OpcNextPage *string + OpcPrevPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListRecommendationsResponse) HTTPResponse() *http.Response + func (response ListRecommendationsResponse) String() string + type ListRecommendationsSortByEnum string + const ListRecommendationsSortByName + const ListRecommendationsSortByTimecreated + func GetListRecommendationsSortByEnumValues() []ListRecommendationsSortByEnum + type ListRecommendationsSortOrderEnum string + const ListRecommendationsSortOrderAsc + const ListRecommendationsSortOrderDesc + func GetListRecommendationsSortOrderEnumValues() []ListRecommendationsSortOrderEnum + type ListRecommendationsStatusEnum string + const ListRecommendationsStatusDismissed + const ListRecommendationsStatusImplemented + const ListRecommendationsStatusPending + const ListRecommendationsStatusPostponed + func GetListRecommendationsStatusEnumValues() []ListRecommendationsStatusEnum + type ListResourceActionsLifecycleStateEnum string + const ListResourceActionsLifecycleStateActive + const ListResourceActionsLifecycleStateAttaching + const ListResourceActionsLifecycleStateCreating + const ListResourceActionsLifecycleStateDeleted + const ListResourceActionsLifecycleStateDeleting + const ListResourceActionsLifecycleStateDetaching + const ListResourceActionsLifecycleStateFailed + const ListResourceActionsLifecycleStateInactive + const ListResourceActionsLifecycleStateUpdating + func GetListResourceActionsLifecycleStateEnumValues() []ListResourceActionsLifecycleStateEnum + type ListResourceActionsRequest struct + CompartmentId *string + CompartmentIdInSubtree *bool + LifecycleState ListResourceActionsLifecycleStateEnum + Limit *int + Name *string + OpcRequestId *string + Page *string + RecommendationId *string + RequestMetadata common.RequestMetadata + ResourceType *string + SortBy ListResourceActionsSortByEnum + SortOrder ListResourceActionsSortOrderEnum + Status ListResourceActionsStatusEnum + func (request ListResourceActionsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListResourceActionsRequest) RetryPolicy() *common.RetryPolicy + func (request ListResourceActionsRequest) String() string + type ListResourceActionsResponse struct + OpcNextPage *string + OpcPrevPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListResourceActionsResponse) HTTPResponse() *http.Response + func (response ListResourceActionsResponse) String() string + type ListResourceActionsSortByEnum string + const ListResourceActionsSortByName + const ListResourceActionsSortByTimecreated + func GetListResourceActionsSortByEnumValues() []ListResourceActionsSortByEnum + type ListResourceActionsSortOrderEnum string + const ListResourceActionsSortOrderAsc + const ListResourceActionsSortOrderDesc + func GetListResourceActionsSortOrderEnumValues() []ListResourceActionsSortOrderEnum + type ListResourceActionsStatusEnum string + const ListResourceActionsStatusDismissed + const ListResourceActionsStatusImplemented + const ListResourceActionsStatusPending + const ListResourceActionsStatusPostponed + func GetListResourceActionsStatusEnumValues() []ListResourceActionsStatusEnum + type ListWorkRequestErrorsRequest struct + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + WorkRequestId *string + func (request ListWorkRequestErrorsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListWorkRequestErrorsRequest) RetryPolicy() *common.RetryPolicy + func (request ListWorkRequestErrorsRequest) String() string + type ListWorkRequestErrorsResponse struct + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListWorkRequestErrorsResponse) HTTPResponse() *http.Response + func (response ListWorkRequestErrorsResponse) String() string + type ListWorkRequestLogsRequest struct + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + WorkRequestId *string + func (request ListWorkRequestLogsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListWorkRequestLogsRequest) RetryPolicy() *common.RetryPolicy + func (request ListWorkRequestLogsRequest) String() string + type ListWorkRequestLogsResponse struct + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListWorkRequestLogsResponse) HTTPResponse() *http.Response + func (response ListWorkRequestLogsResponse) String() string + type ListWorkRequestsRequest struct + CompartmentId *string + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + func (request ListWorkRequestsRequest) HTTPRequest(method, path string) (http.Request, error) + func (request ListWorkRequestsRequest) RetryPolicy() *common.RetryPolicy + func (request ListWorkRequestsRequest) String() string + type ListWorkRequestsResponse struct + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListWorkRequestsResponse) HTTPResponse() *http.Response + func (response ListWorkRequestsResponse) String() string + type OperationStatusEnum string + const OperationStatusAccepted + const OperationStatusCanceled + const OperationStatusCanceling + const OperationStatusFailed + const OperationStatusInProgress + const OperationStatusSucceeded + func GetOperationStatusEnumValues() []OperationStatusEnum + type OperationTypeEnum string + const OperationTypeBulkApplyRecommendations + func GetOperationTypeEnumValues() []OperationTypeEnum + type OptimizerClient struct + func NewOptimizerClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client OptimizerClient, err error) + func NewOptimizerClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client OptimizerClient, err error) + func (client *OptimizerClient) ConfigurationProvider() *common.ConfigurationProvider + func (client *OptimizerClient) SetRegion(region string) + func (client OptimizerClient) BulkApplyRecommendations(ctx context.Context, request BulkApplyRecommendationsRequest) (response BulkApplyRecommendationsResponse, err error) + func (client OptimizerClient) CreateProfile(ctx context.Context, request CreateProfileRequest) (response CreateProfileResponse, err error) + func (client OptimizerClient) DeleteProfile(ctx context.Context, request DeleteProfileRequest) (response DeleteProfileResponse, err error) + func (client OptimizerClient) GetCategory(ctx context.Context, request GetCategoryRequest) (response GetCategoryResponse, err error) + func (client OptimizerClient) GetEnrollmentStatus(ctx context.Context, request GetEnrollmentStatusRequest) (response GetEnrollmentStatusResponse, err error) + func (client OptimizerClient) GetProfile(ctx context.Context, request GetProfileRequest) (response GetProfileResponse, err error) + func (client OptimizerClient) GetRecommendation(ctx context.Context, request GetRecommendationRequest) (response GetRecommendationResponse, err error) + func (client OptimizerClient) GetResourceAction(ctx context.Context, request GetResourceActionRequest) (response GetResourceActionResponse, err error) + func (client OptimizerClient) GetWorkRequest(ctx context.Context, request GetWorkRequestRequest) (response GetWorkRequestResponse, err error) + func (client OptimizerClient) ListCategories(ctx context.Context, request ListCategoriesRequest) (response ListCategoriesResponse, err error) + func (client OptimizerClient) ListEnrollmentStatuses(ctx context.Context, request ListEnrollmentStatusesRequest) (response ListEnrollmentStatusesResponse, err error) + func (client OptimizerClient) ListHistories(ctx context.Context, request ListHistoriesRequest) (response ListHistoriesResponse, err error) + func (client OptimizerClient) ListProfiles(ctx context.Context, request ListProfilesRequest) (response ListProfilesResponse, err error) + func (client OptimizerClient) ListRecommendations(ctx context.Context, request ListRecommendationsRequest) (response ListRecommendationsResponse, err error) + func (client OptimizerClient) ListResourceActions(ctx context.Context, request ListResourceActionsRequest) (response ListResourceActionsResponse, err error) + func (client OptimizerClient) ListWorkRequestErrors(ctx context.Context, request ListWorkRequestErrorsRequest) (response ListWorkRequestErrorsResponse, err error) + func (client OptimizerClient) ListWorkRequestLogs(ctx context.Context, request ListWorkRequestLogsRequest) (response ListWorkRequestLogsResponse, err error) + func (client OptimizerClient) ListWorkRequests(ctx context.Context, request ListWorkRequestsRequest) (response ListWorkRequestsResponse, err error) + func (client OptimizerClient) UpdateEnrollmentStatus(ctx context.Context, request UpdateEnrollmentStatusRequest) (response UpdateEnrollmentStatusResponse, err error) + func (client OptimizerClient) UpdateProfile(ctx context.Context, request UpdateProfileRequest) (response UpdateProfileResponse, err error) + func (client OptimizerClient) UpdateRecommendation(ctx context.Context, request UpdateRecommendationRequest) (response UpdateRecommendationResponse, err error) + func (client OptimizerClient) UpdateResourceAction(ctx context.Context, request UpdateResourceActionRequest) (response UpdateResourceActionResponse, err error) + type OptimizerEnrollmentStatusEnum string + const OptimizerEnrollmentStatusActive + const OptimizerEnrollmentStatusInactive + func GetOptimizerEnrollmentStatusEnumValues() []OptimizerEnrollmentStatusEnum + type Profile struct + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + Id *string + LevelsConfiguration *LevelsConfiguration + LifecycleState LifecycleStateEnum + Name *string + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + func (m Profile) String() string + type ProfileCollection struct + Items []ProfileSummary + func (m ProfileCollection) String() string + type ProfileSummary struct + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + Id *string + LevelsConfiguration *LevelsConfiguration + LifecycleState LifecycleStateEnum + Name *string + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + func (m ProfileSummary) String() string + type Recommendation struct + CategoryId *string + CompartmentId *string + Description *string + EstimatedCostSaving *float64 + Id *string + Importance ImportanceEnum + LifecycleState LifecycleStateEnum + Name *string + ResourceCounts []ResourceCount + Status StatusEnum + SupportedLevels *SupportedLevels + TimeCreated *common.SDKTime + TimeStatusBegin *common.SDKTime + TimeStatusEnd *common.SDKTime + TimeUpdated *common.SDKTime + func (m Recommendation) String() string + type RecommendationCollection struct + Items []RecommendationSummary + func (m RecommendationCollection) String() string + type RecommendationCount struct + Count *int + Importance ImportanceEnum + func (m RecommendationCount) String() string + type RecommendationSummary struct + CategoryId *string + CompartmentId *string + Description *string + EstimatedCostSaving *float64 + Id *string + Importance ImportanceEnum + LifecycleState LifecycleStateEnum + Name *string + ResourceCounts []ResourceCount + Status StatusEnum + SupportedLevels *SupportedLevels + TimeCreated *common.SDKTime + TimeStatusBegin *common.SDKTime + TimeStatusEnd *common.SDKTime + TimeUpdated *common.SDKTime + func (m RecommendationSummary) String() string + type ResourceAction struct + Action *Action + CategoryId *string + CompartmentId *string + CompartmentName *string + EstimatedCostSaving *float64 + ExtendedMetadata map[string]interface{} + Id *string + LifecycleState LifecycleStateEnum + Metadata map[string]string + Name *string + RecommendationId *string + ResourceId *string + ResourceType *string + Status StatusEnum + TimeCreated *common.SDKTime + TimeStatusBegin *common.SDKTime + TimeStatusEnd *common.SDKTime + TimeUpdated *common.SDKTime + func (m ResourceAction) String() string + type ResourceActionCollection struct + Items []ResourceActionSummary + func (m ResourceActionCollection) String() string + type ResourceActionSummary struct + Action *Action + CategoryId *string + CompartmentId *string + CompartmentName *string + EstimatedCostSaving *float64 + ExtendedMetadata map[string]interface{} + Id *string + LifecycleState LifecycleStateEnum + Metadata map[string]string + Name *string + RecommendationId *string + ResourceId *string + ResourceType *string + Status StatusEnum + TimeCreated *common.SDKTime + TimeStatusBegin *common.SDKTime + TimeStatusEnd *common.SDKTime + TimeUpdated *common.SDKTime + func (m ResourceActionSummary) String() string + type ResourceCount struct + Count *int + Status StatusEnum + func (m ResourceCount) String() string + type SortOrderEnum string + const SortOrderAsc + const SortOrderDesc + func GetSortOrderEnumValues() []SortOrderEnum + type StatusEnum string + const StatusDismissed + const StatusImplemented + const StatusPending + const StatusPostponed + func GetStatusEnumValues() []StatusEnum + type SupportedLevel struct + Name *string + func (m SupportedLevel) String() string + type SupportedLevels struct + Items []SupportedLevel + func (m SupportedLevels) String() string + type UpdateEnrollmentStatusDetails struct + Status OptimizerEnrollmentStatusEnum + func (m UpdateEnrollmentStatusDetails) String() string + type UpdateEnrollmentStatusRequest struct + EnrollmentStatusId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request UpdateEnrollmentStatusRequest) HTTPRequest(method, path string) (http.Request, error) + func (request UpdateEnrollmentStatusRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateEnrollmentStatusRequest) String() string + type UpdateEnrollmentStatusResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateEnrollmentStatusResponse) HTTPResponse() *http.Response + func (response UpdateEnrollmentStatusResponse) String() string + type UpdateProfileDetails struct + DefinedTags map[string]map[string]interface{} + Description *string + FreeformTags map[string]string + LevelsConfiguration *LevelsConfiguration + func (m UpdateProfileDetails) String() string + type UpdateProfileRequest struct + IfMatch *string + OpcRequestId *string + ProfileId *string + RequestMetadata common.RequestMetadata + func (request UpdateProfileRequest) HTTPRequest(method, path string) (http.Request, error) + func (request UpdateProfileRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateProfileRequest) String() string + type UpdateProfileResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateProfileResponse) HTTPResponse() *http.Response + func (response UpdateProfileResponse) String() string + type UpdateRecommendationDetails struct + Status StatusEnum + TimeStatusEnd *common.SDKTime + func (m UpdateRecommendationDetails) String() string + type UpdateRecommendationRequest struct + IfMatch *string + OpcRequestId *string + RecommendationId *string + RequestMetadata common.RequestMetadata + func (request UpdateRecommendationRequest) HTTPRequest(method, path string) (http.Request, error) + func (request UpdateRecommendationRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateRecommendationRequest) String() string + type UpdateRecommendationResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateRecommendationResponse) HTTPResponse() *http.Response + func (response UpdateRecommendationResponse) String() string + type UpdateResourceActionDetails struct + Status StatusEnum + TimeStatusEnd *common.SDKTime + func (m UpdateResourceActionDetails) String() string + type UpdateResourceActionRequest struct + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + ResourceActionId *string + func (request UpdateResourceActionRequest) HTTPRequest(method, path string) (http.Request, error) + func (request UpdateResourceActionRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateResourceActionRequest) String() string + type UpdateResourceActionResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateResourceActionResponse) HTTPResponse() *http.Response + func (response UpdateResourceActionResponse) String() string + type WorkRequest struct + CompartmentId *string + Id *string + OperationType OperationTypeEnum + PercentComplete *float32 + Resources []WorkRequestResource + Status OperationStatusEnum + TimeAccepted *common.SDKTime + TimeFinished *common.SDKTime + TimeStarted *common.SDKTime + func (m WorkRequest) String() string + type WorkRequestActionTypeEnum string + const WorkRequestActionTypeCreated + const WorkRequestActionTypeDeleted + const WorkRequestActionTypeInProgress + const WorkRequestActionTypeRelated + const WorkRequestActionTypeUpdated + func GetWorkRequestActionTypeEnumValues() []WorkRequestActionTypeEnum + type WorkRequestCollection struct + Items []WorkRequest + func (m WorkRequestCollection) String() string + type WorkRequestError struct + Code *string + Message *string + Timestamp *common.SDKTime + func (m WorkRequestError) String() string + type WorkRequestErrorCollection struct + Items []WorkRequestError + func (m WorkRequestErrorCollection) String() string + type WorkRequestLogEntry struct + Message *string + Timestamp *common.SDKTime + func (m WorkRequestLogEntry) String() string + type WorkRequestLogEntryCollection struct + Items []WorkRequestLogEntry + func (m WorkRequestLogEntryCollection) String() string + type WorkRequestResource struct + ActionType WorkRequestActionTypeEnum + EntityType *string + EntityUri *string + Identifier *string + func (m WorkRequestResource) String() string Other modules containing this package github.com/oracle/oci-go-sdk/v28 github.com/oracle/oci-go-sdk/v29 github.com/oracle/oci-go-sdk/v30 github.com/oracle/oci-go-sdk/v31 github.com/oracle/oci-go-sdk/v32 github.com/oracle/oci-go-sdk/v33 github.com/oracle/oci-go-sdk/v34 github.com/oracle/oci-go-sdk/v35 github.com/oracle/oci-go-sdk/v36 github.com/oracle/oci-go-sdk/v37 github.com/oracle/oci-go-sdk/v38 github.com/oracle/oci-go-sdk/v39 github.com/oracle/oci-go-sdk/v40 github.com/oracle/oci-go-sdk/v41 github.com/oracle/oci-go-sdk/v42 github.com/oracle/oci-go-sdk/v43 github.com/oracle/oci-go-sdk/v44 github.com/oracle/oci-go-sdk/v45 github.com/oracle/oci-go-sdk/v46 github.com/oracle/oci-go-sdk/v47 github.com/oracle/oci-go-sdk/v48 github.com/oracle/oci-go-sdk/v49 github.com/oracle/oci-go-sdk/v50 github.com/oracle/oci-go-sdk/v51 github.com/oracle/oci-go-sdk/v52 github.com/oracle/oci-go-sdk/v53 github.com/oracle/oci-go-sdk/v54 github.com/oracle/oci-go-sdk/v55 github.com/oracle/oci-go-sdk/v56 github.com/oracle/oci-go-sdk/v57 github.com/oracle/oci-go-sdk/v58 github.com/oracle/oci-go-sdk/v59 github.com/oracle/oci-go-sdk/v60 github.com/oracle/oci-go-sdk/v61 github.com/oracle/oci-go-sdk/v62 github.com/oracle/oci-go-sdk/v63 github.com/oracle/oci-go-sdk/v64 github.com/oracle/oci-go-sdk/v65