...

Package budget

import "github.com/oracle/oci-go-sdk/budget"
Overview
Index

Overview ▾

Index ▾

Variables
func GetAlertTypeEnumStringValues() []string
func GetCostAlertSubscriptionLifecycleStateEnumStringValues() []string
func GetCostAlertSubscriptionMapOperatorEnumStringValues() []string
func GetCostAnomalyEventFeedbackResponseEnumStringValues() []string
func GetCostAnomalyEventLifecycleStateEnumStringValues() []string
func GetCostAnomalyMonitorLifecycleStateEnumStringValues() []string
func GetLifecycleStateEnumStringValues() []string
func GetListAlertRulesLifecycleStateEnumStringValues() []string
func GetListAlertRulesSortByEnumStringValues() []string
func GetListAlertRulesSortOrderEnumStringValues() []string
func GetListBudgetsLifecycleStateEnumStringValues() []string
func GetListBudgetsSortByEnumStringValues() []string
func GetListBudgetsSortOrderEnumStringValues() []string
func GetListBudgetsTargetTypeEnumStringValues() []string
func GetListCostAlertSubscriptionsSortByEnumStringValues() []string
func GetListCostAlertSubscriptionsSortOrderEnumStringValues() []string
func GetListCostAnomalyEventsSortByEnumStringValues() []string
func GetListCostAnomalyEventsSortOrderEnumStringValues() []string
func GetListCostAnomalyMonitorsSortByEnumStringValues() []string
func GetListCostAnomalyMonitorsSortOrderEnumStringValues() []string
func GetMonitorTypeEnumStringValues() []string
func GetProcessingPeriodTypeEnumStringValues() []string
func GetResetPeriodEnumStringValues() []string
func GetSortByForBudgetEnumStringValues() []string
func GetSortByForCostAdEnumStringValues() []string
func GetSortByForCostAnomalyEventEnumStringValues() []string
func GetSortOrderEnumStringValues() []string
func GetSummarizeCostAnomalyEventAnalyticsSortByEnumStringValues() []string
func GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumStringValues() []string
func GetTargetResourceFilterOperatorEnumStringValues() []string
func GetTargetTypeEnumStringValues() []string
func GetThresholdTypeEnumStringValues() []string
type AlertRule
    func (m AlertRule) String() string
    func (m AlertRule) ValidateEnumValue() (bool, error)
type AlertRuleLifecycleStateEnum
type AlertRuleSummary
    func (m AlertRuleSummary) String() string
    func (m AlertRuleSummary) ValidateEnumValue() (bool, error)
type AlertRuleSummaryLifecycleStateEnum
type AlertRuleSummaryThresholdTypeEnum
type AlertRuleSummaryTypeEnum
type AlertRuleThresholdTypeEnum
type AlertRuleTypeEnum
type AlertTypeEnum
    func GetAlertTypeEnumValues() []AlertTypeEnum
    func GetMappingAlertTypeEnum(val string) (AlertTypeEnum, bool)
type Budget
    func (m Budget) String() string
    func (m Budget) ValidateEnumValue() (bool, error)
type BudgetClient
    func NewBudgetClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BudgetClient, err error)
    func NewBudgetClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BudgetClient, err error)
    func (client *BudgetClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client BudgetClient) CreateAlertRule(ctx context.Context, request CreateAlertRuleRequest) (response CreateAlertRuleResponse, err error)
    func (client BudgetClient) CreateBudget(ctx context.Context, request CreateBudgetRequest) (response CreateBudgetResponse, err error)
    func (client BudgetClient) DeleteAlertRule(ctx context.Context, request DeleteAlertRuleRequest) (response DeleteAlertRuleResponse, err error)
    func (client BudgetClient) DeleteBudget(ctx context.Context, request DeleteBudgetRequest) (response DeleteBudgetResponse, err error)
    func (client BudgetClient) GetAlertRule(ctx context.Context, request GetAlertRuleRequest) (response GetAlertRuleResponse, err error)
    func (client BudgetClient) GetBudget(ctx context.Context, request GetBudgetRequest) (response GetBudgetResponse, err error)
    func (client BudgetClient) ListAlertRules(ctx context.Context, request ListAlertRulesRequest) (response ListAlertRulesResponse, err error)
    func (client BudgetClient) ListBudgets(ctx context.Context, request ListBudgetsRequest) (response ListBudgetsResponse, err error)
    func (client *BudgetClient) SetRegion(region string)
    func (client BudgetClient) UpdateAlertRule(ctx context.Context, request UpdateAlertRuleRequest) (response UpdateAlertRuleResponse, err error)
    func (client BudgetClient) UpdateBudget(ctx context.Context, request UpdateBudgetRequest) (response UpdateBudgetResponse, err error)
type BudgetLifecycleStateEnum
type BudgetResetPeriodEnum
type BudgetSummary
    func (m BudgetSummary) String() string
    func (m BudgetSummary) ValidateEnumValue() (bool, error)
type BudgetSummaryLifecycleStateEnum
type BudgetSummaryResetPeriodEnum
type BudgetSummaryTargetTypeEnum
type BudgetTargetTypeEnum
type CostAdClient
    func NewCostAdClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CostAdClient, err error)
    func NewCostAdClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CostAdClient, err error)
    func (client *CostAdClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client CostAdClient) CreateCostAlertSubscription(ctx context.Context, request CreateCostAlertSubscriptionRequest) (response CreateCostAlertSubscriptionResponse, err error)
    func (client CostAdClient) CreateCostAnomalyMonitor(ctx context.Context, request CreateCostAnomalyMonitorRequest) (response CreateCostAnomalyMonitorResponse, err error)
    func (client CostAdClient) DeleteCostAlertSubscription(ctx context.Context, request DeleteCostAlertSubscriptionRequest) (response DeleteCostAlertSubscriptionResponse, err error)
    func (client CostAdClient) DeleteCostAnomalyMonitor(ctx context.Context, request DeleteCostAnomalyMonitorRequest) (response DeleteCostAnomalyMonitorResponse, err error)
    func (client CostAdClient) DisableCostAnomalyMonitor(ctx context.Context, request DisableCostAnomalyMonitorRequest) (response DisableCostAnomalyMonitorResponse, err error)
    func (client CostAdClient) EnableCostAnomalyMonitor(ctx context.Context, request EnableCostAnomalyMonitorRequest) (response EnableCostAnomalyMonitorResponse, err error)
    func (client CostAdClient) GetCostAlertSubscription(ctx context.Context, request GetCostAlertSubscriptionRequest) (response GetCostAlertSubscriptionResponse, err error)
    func (client CostAdClient) GetCostAnomalyEvent(ctx context.Context, request GetCostAnomalyEventRequest) (response GetCostAnomalyEventResponse, err error)
    func (client CostAdClient) GetCostAnomalyMonitor(ctx context.Context, request GetCostAnomalyMonitorRequest) (response GetCostAnomalyMonitorResponse, err error)
    func (client CostAdClient) ListCostAlertSubscriptions(ctx context.Context, request ListCostAlertSubscriptionsRequest) (response ListCostAlertSubscriptionsResponse, err error)
    func (client CostAdClient) ListCostAnomalyEvents(ctx context.Context, request ListCostAnomalyEventsRequest) (response ListCostAnomalyEventsResponse, err error)
    func (client CostAdClient) ListCostAnomalyMonitors(ctx context.Context, request ListCostAnomalyMonitorsRequest) (response ListCostAnomalyMonitorsResponse, err error)
    func (client *CostAdClient) SetRegion(region string)
    func (client CostAdClient) SummarizeCostAnomalyEventAnalytics(ctx context.Context, request SummarizeCostAnomalyEventAnalyticsRequest) (response SummarizeCostAnomalyEventAnalyticsResponse, err error)
    func (client CostAdClient) UpdateCostAlertSubscription(ctx context.Context, request UpdateCostAlertSubscriptionRequest) (response UpdateCostAlertSubscriptionResponse, err error)
    func (client CostAdClient) UpdateCostAnomalyEvent(ctx context.Context, request UpdateCostAnomalyEventRequest) (response UpdateCostAnomalyEventResponse, err error)
    func (client CostAdClient) UpdateCostAnomalyMonitor(ctx context.Context, request UpdateCostAnomalyMonitorRequest) (response UpdateCostAnomalyMonitorResponse, err error)
type CostAlertSubscription
    func (m CostAlertSubscription) String() string
    func (m CostAlertSubscription) ValidateEnumValue() (bool, error)
type CostAlertSubscriptionCollection
    func (m CostAlertSubscriptionCollection) String() string
    func (m CostAlertSubscriptionCollection) ValidateEnumValue() (bool, error)
type CostAlertSubscriptionLifecycleStateEnum
    func GetCostAlertSubscriptionLifecycleStateEnumValues() []CostAlertSubscriptionLifecycleStateEnum
    func GetMappingCostAlertSubscriptionLifecycleStateEnum(val string) (CostAlertSubscriptionLifecycleStateEnum, bool)
type CostAlertSubscriptionMap
    func (m CostAlertSubscriptionMap) String() string
    func (m CostAlertSubscriptionMap) ValidateEnumValue() (bool, error)
type CostAlertSubscriptionMapOperatorEnum
    func GetCostAlertSubscriptionMapOperatorEnumValues() []CostAlertSubscriptionMapOperatorEnum
    func GetMappingCostAlertSubscriptionMapOperatorEnum(val string) (CostAlertSubscriptionMapOperatorEnum, bool)
type CostAlertSubscriptionSummary
    func (m CostAlertSubscriptionSummary) String() string
    func (m CostAlertSubscriptionSummary) ValidateEnumValue() (bool, error)
type CostAnomalyEvent
    func (m CostAnomalyEvent) String() string
    func (m CostAnomalyEvent) ValidateEnumValue() (bool, error)
type CostAnomalyEventAnalyticCollection
    func (m CostAnomalyEventAnalyticCollection) String() string
    func (m CostAnomalyEventAnalyticCollection) ValidateEnumValue() (bool, error)
type CostAnomalyEventAnalyticSummary
    func (m CostAnomalyEventAnalyticSummary) String() string
    func (m CostAnomalyEventAnalyticSummary) ValidateEnumValue() (bool, error)
type CostAnomalyEventCollection
    func (m CostAnomalyEventCollection) String() string
    func (m CostAnomalyEventCollection) ValidateEnumValue() (bool, error)
type CostAnomalyEventFeedbackResponseEnum
    func GetCostAnomalyEventFeedbackResponseEnumValues() []CostAnomalyEventFeedbackResponseEnum
    func GetMappingCostAnomalyEventFeedbackResponseEnum(val string) (CostAnomalyEventFeedbackResponseEnum, bool)
type CostAnomalyEventLifecycleStateEnum
    func GetCostAnomalyEventLifecycleStateEnumValues() []CostAnomalyEventLifecycleStateEnum
    func GetMappingCostAnomalyEventLifecycleStateEnum(val string) (CostAnomalyEventLifecycleStateEnum, bool)
type CostAnomalyEventSummary
    func (m CostAnomalyEventSummary) String() string
    func (m CostAnomalyEventSummary) ValidateEnumValue() (bool, error)
type CostAnomalyMonitor
    func (m CostAnomalyMonitor) String() string
    func (m CostAnomalyMonitor) ValidateEnumValue() (bool, error)
type CostAnomalyMonitorCollection
    func (m CostAnomalyMonitorCollection) String() string
    func (m CostAnomalyMonitorCollection) ValidateEnumValue() (bool, error)
type CostAnomalyMonitorLifecycleStateEnum
    func GetCostAnomalyMonitorLifecycleStateEnumValues() []CostAnomalyMonitorLifecycleStateEnum
    func GetMappingCostAnomalyMonitorLifecycleStateEnum(val string) (CostAnomalyMonitorLifecycleStateEnum, bool)
type CostAnomalyMonitorSummary
    func (m CostAnomalyMonitorSummary) String() string
    func (m CostAnomalyMonitorSummary) ValidateEnumValue() (bool, error)
type CreateAlertRuleDetails
    func (m CreateAlertRuleDetails) String() string
    func (m CreateAlertRuleDetails) ValidateEnumValue() (bool, error)
type CreateAlertRuleDetailsThresholdTypeEnum
type CreateAlertRuleDetailsTypeEnum
type CreateAlertRuleRequest
    func (request CreateAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateAlertRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateAlertRuleRequest) String() string
    func (request CreateAlertRuleRequest) ValidateEnumValue() (bool, error)
type CreateAlertRuleResponse
    func (response CreateAlertRuleResponse) HTTPResponse() *http.Response
    func (response CreateAlertRuleResponse) String() string
type CreateBudgetDetails
    func (m CreateBudgetDetails) String() string
    func (m CreateBudgetDetails) ValidateEnumValue() (bool, error)
type CreateBudgetDetailsResetPeriodEnum
type CreateBudgetDetailsTargetTypeEnum
type CreateBudgetRequest
    func (request CreateBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateBudgetRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateBudgetRequest) String() string
    func (request CreateBudgetRequest) ValidateEnumValue() (bool, error)
type CreateBudgetResponse
    func (response CreateBudgetResponse) HTTPResponse() *http.Response
    func (response CreateBudgetResponse) String() string
type CreateCostAlertSubscriptionDetails
    func (m CreateCostAlertSubscriptionDetails) String() string
    func (m CreateCostAlertSubscriptionDetails) ValidateEnumValue() (bool, error)
type CreateCostAlertSubscriptionRequest
    func (request CreateCostAlertSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateCostAlertSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateCostAlertSubscriptionRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateCostAlertSubscriptionRequest) String() string
    func (request CreateCostAlertSubscriptionRequest) ValidateEnumValue() (bool, error)
type CreateCostAlertSubscriptionResponse
    func (response CreateCostAlertSubscriptionResponse) HTTPResponse() *http.Response
    func (response CreateCostAlertSubscriptionResponse) String() string
type CreateCostAnomalyMonitorDetails
    func (m CreateCostAnomalyMonitorDetails) String() string
    func (m CreateCostAnomalyMonitorDetails) ValidateEnumValue() (bool, error)
type CreateCostAnomalyMonitorRequest
    func (request CreateCostAnomalyMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request CreateCostAnomalyMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request CreateCostAnomalyMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateCostAnomalyMonitorRequest) String() string
    func (request CreateCostAnomalyMonitorRequest) ValidateEnumValue() (bool, error)
type CreateCostAnomalyMonitorResponse
    func (response CreateCostAnomalyMonitorResponse) HTTPResponse() *http.Response
    func (response CreateCostAnomalyMonitorResponse) String() string
type DeleteAlertRuleRequest
    func (request DeleteAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteAlertRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteAlertRuleRequest) String() string
    func (request DeleteAlertRuleRequest) ValidateEnumValue() (bool, error)
type DeleteAlertRuleResponse
    func (response DeleteAlertRuleResponse) HTTPResponse() *http.Response
    func (response DeleteAlertRuleResponse) String() string
type DeleteBudgetRequest
    func (request DeleteBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteBudgetRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteBudgetRequest) String() string
    func (request DeleteBudgetRequest) ValidateEnumValue() (bool, error)
type DeleteBudgetResponse
    func (response DeleteBudgetResponse) HTTPResponse() *http.Response
    func (response DeleteBudgetResponse) String() string
type DeleteCostAlertSubscriptionRequest
    func (request DeleteCostAlertSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteCostAlertSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteCostAlertSubscriptionRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteCostAlertSubscriptionRequest) String() string
    func (request DeleteCostAlertSubscriptionRequest) ValidateEnumValue() (bool, error)
type DeleteCostAlertSubscriptionResponse
    func (response DeleteCostAlertSubscriptionResponse) HTTPResponse() *http.Response
    func (response DeleteCostAlertSubscriptionResponse) String() string
type DeleteCostAnomalyMonitorRequest
    func (request DeleteCostAnomalyMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DeleteCostAnomalyMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DeleteCostAnomalyMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteCostAnomalyMonitorRequest) String() string
    func (request DeleteCostAnomalyMonitorRequest) ValidateEnumValue() (bool, error)
type DeleteCostAnomalyMonitorResponse
    func (response DeleteCostAnomalyMonitorResponse) HTTPResponse() *http.Response
    func (response DeleteCostAnomalyMonitorResponse) String() string
type Dimension
    func (m Dimension) String() string
    func (m Dimension) ValidateEnumValue() (bool, error)
type DisableCostAnomalyMonitorRequest
    func (request DisableCostAnomalyMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request DisableCostAnomalyMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request DisableCostAnomalyMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request DisableCostAnomalyMonitorRequest) String() string
    func (request DisableCostAnomalyMonitorRequest) ValidateEnumValue() (bool, error)
type DisableCostAnomalyMonitorResponse
    func (response DisableCostAnomalyMonitorResponse) HTTPResponse() *http.Response
    func (response DisableCostAnomalyMonitorResponse) String() string
type EnableCostAnomalyMonitorRequest
    func (request EnableCostAnomalyMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request EnableCostAnomalyMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request EnableCostAnomalyMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request EnableCostAnomalyMonitorRequest) String() string
    func (request EnableCostAnomalyMonitorRequest) ValidateEnumValue() (bool, error)
type EnableCostAnomalyMonitorResponse
    func (response EnableCostAnomalyMonitorResponse) HTTPResponse() *http.Response
    func (response EnableCostAnomalyMonitorResponse) String() string
type GetAlertRuleRequest
    func (request GetAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetAlertRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request GetAlertRuleRequest) String() string
    func (request GetAlertRuleRequest) ValidateEnumValue() (bool, error)
type GetAlertRuleResponse
    func (response GetAlertRuleResponse) HTTPResponse() *http.Response
    func (response GetAlertRuleResponse) String() string
type GetBudgetRequest
    func (request GetBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetBudgetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetBudgetRequest) String() string
    func (request GetBudgetRequest) ValidateEnumValue() (bool, error)
type GetBudgetResponse
    func (response GetBudgetResponse) HTTPResponse() *http.Response
    func (response GetBudgetResponse) String() string
type GetCostAlertSubscriptionRequest
    func (request GetCostAlertSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCostAlertSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCostAlertSubscriptionRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCostAlertSubscriptionRequest) String() string
    func (request GetCostAlertSubscriptionRequest) ValidateEnumValue() (bool, error)
type GetCostAlertSubscriptionResponse
    func (response GetCostAlertSubscriptionResponse) HTTPResponse() *http.Response
    func (response GetCostAlertSubscriptionResponse) String() string
type GetCostAnomalyEventRequest
    func (request GetCostAnomalyEventRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCostAnomalyEventRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCostAnomalyEventRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCostAnomalyEventRequest) String() string
    func (request GetCostAnomalyEventRequest) ValidateEnumValue() (bool, error)
type GetCostAnomalyEventResponse
    func (response GetCostAnomalyEventResponse) HTTPResponse() *http.Response
    func (response GetCostAnomalyEventResponse) String() string
type GetCostAnomalyMonitorRequest
    func (request GetCostAnomalyMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request GetCostAnomalyMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request GetCostAnomalyMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request GetCostAnomalyMonitorRequest) String() string
    func (request GetCostAnomalyMonitorRequest) ValidateEnumValue() (bool, error)
type GetCostAnomalyMonitorResponse
    func (response GetCostAnomalyMonitorResponse) HTTPResponse() *http.Response
    func (response GetCostAnomalyMonitorResponse) String() string
type LifecycleStateEnum
    func GetLifecycleStateEnumValues() []LifecycleStateEnum
    func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)
type ListAlertRulesLifecycleStateEnum
    func GetListAlertRulesLifecycleStateEnumValues() []ListAlertRulesLifecycleStateEnum
    func GetMappingListAlertRulesLifecycleStateEnum(val string) (ListAlertRulesLifecycleStateEnum, bool)
type ListAlertRulesRequest
    func (request ListAlertRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListAlertRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListAlertRulesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListAlertRulesRequest) String() string
    func (request ListAlertRulesRequest) ValidateEnumValue() (bool, error)
type ListAlertRulesResponse
    func (response ListAlertRulesResponse) HTTPResponse() *http.Response
    func (response ListAlertRulesResponse) String() string
type ListAlertRulesSortByEnum
    func GetListAlertRulesSortByEnumValues() []ListAlertRulesSortByEnum
    func GetMappingListAlertRulesSortByEnum(val string) (ListAlertRulesSortByEnum, bool)
type ListAlertRulesSortOrderEnum
    func GetListAlertRulesSortOrderEnumValues() []ListAlertRulesSortOrderEnum
    func GetMappingListAlertRulesSortOrderEnum(val string) (ListAlertRulesSortOrderEnum, bool)
type ListBudgetsLifecycleStateEnum
    func GetListBudgetsLifecycleStateEnumValues() []ListBudgetsLifecycleStateEnum
    func GetMappingListBudgetsLifecycleStateEnum(val string) (ListBudgetsLifecycleStateEnum, bool)
type ListBudgetsRequest
    func (request ListBudgetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListBudgetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListBudgetsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListBudgetsRequest) String() string
    func (request ListBudgetsRequest) ValidateEnumValue() (bool, error)
type ListBudgetsResponse
    func (response ListBudgetsResponse) HTTPResponse() *http.Response
    func (response ListBudgetsResponse) String() string
type ListBudgetsSortByEnum
    func GetListBudgetsSortByEnumValues() []ListBudgetsSortByEnum
    func GetMappingListBudgetsSortByEnum(val string) (ListBudgetsSortByEnum, bool)
type ListBudgetsSortOrderEnum
    func GetListBudgetsSortOrderEnumValues() []ListBudgetsSortOrderEnum
    func GetMappingListBudgetsSortOrderEnum(val string) (ListBudgetsSortOrderEnum, bool)
type ListBudgetsTargetTypeEnum
    func GetListBudgetsTargetTypeEnumValues() []ListBudgetsTargetTypeEnum
    func GetMappingListBudgetsTargetTypeEnum(val string) (ListBudgetsTargetTypeEnum, bool)
type ListCostAlertSubscriptionsRequest
    func (request ListCostAlertSubscriptionsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCostAlertSubscriptionsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCostAlertSubscriptionsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCostAlertSubscriptionsRequest) String() string
    func (request ListCostAlertSubscriptionsRequest) ValidateEnumValue() (bool, error)
type ListCostAlertSubscriptionsResponse
    func (response ListCostAlertSubscriptionsResponse) HTTPResponse() *http.Response
    func (response ListCostAlertSubscriptionsResponse) String() string
type ListCostAlertSubscriptionsSortByEnum
    func GetListCostAlertSubscriptionsSortByEnumValues() []ListCostAlertSubscriptionsSortByEnum
    func GetMappingListCostAlertSubscriptionsSortByEnum(val string) (ListCostAlertSubscriptionsSortByEnum, bool)
type ListCostAlertSubscriptionsSortOrderEnum
    func GetListCostAlertSubscriptionsSortOrderEnumValues() []ListCostAlertSubscriptionsSortOrderEnum
    func GetMappingListCostAlertSubscriptionsSortOrderEnum(val string) (ListCostAlertSubscriptionsSortOrderEnum, bool)
type ListCostAnomalyEventsRequest
    func (request ListCostAnomalyEventsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCostAnomalyEventsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCostAnomalyEventsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCostAnomalyEventsRequest) String() string
    func (request ListCostAnomalyEventsRequest) ValidateEnumValue() (bool, error)
type ListCostAnomalyEventsResponse
    func (response ListCostAnomalyEventsResponse) HTTPResponse() *http.Response
    func (response ListCostAnomalyEventsResponse) String() string
type ListCostAnomalyEventsSortByEnum
    func GetListCostAnomalyEventsSortByEnumValues() []ListCostAnomalyEventsSortByEnum
    func GetMappingListCostAnomalyEventsSortByEnum(val string) (ListCostAnomalyEventsSortByEnum, bool)
type ListCostAnomalyEventsSortOrderEnum
    func GetListCostAnomalyEventsSortOrderEnumValues() []ListCostAnomalyEventsSortOrderEnum
    func GetMappingListCostAnomalyEventsSortOrderEnum(val string) (ListCostAnomalyEventsSortOrderEnum, bool)
type ListCostAnomalyMonitorsRequest
    func (request ListCostAnomalyMonitorsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request ListCostAnomalyMonitorsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request ListCostAnomalyMonitorsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListCostAnomalyMonitorsRequest) String() string
    func (request ListCostAnomalyMonitorsRequest) ValidateEnumValue() (bool, error)
type ListCostAnomalyMonitorsResponse
    func (response ListCostAnomalyMonitorsResponse) HTTPResponse() *http.Response
    func (response ListCostAnomalyMonitorsResponse) String() string
type ListCostAnomalyMonitorsSortByEnum
    func GetListCostAnomalyMonitorsSortByEnumValues() []ListCostAnomalyMonitorsSortByEnum
    func GetMappingListCostAnomalyMonitorsSortByEnum(val string) (ListCostAnomalyMonitorsSortByEnum, bool)
type ListCostAnomalyMonitorsSortOrderEnum
    func GetListCostAnomalyMonitorsSortOrderEnumValues() []ListCostAnomalyMonitorsSortOrderEnum
    func GetMappingListCostAnomalyMonitorsSortOrderEnum(val string) (ListCostAnomalyMonitorsSortOrderEnum, bool)
type MonitorTypeEnum
    func GetMappingMonitorTypeEnum(val string) (MonitorTypeEnum, bool)
    func GetMonitorTypeEnumValues() []MonitorTypeEnum
type ProcessingPeriodTypeEnum
    func GetMappingProcessingPeriodTypeEnum(val string) (ProcessingPeriodTypeEnum, bool)
    func GetProcessingPeriodTypeEnumValues() []ProcessingPeriodTypeEnum
type ResetPeriodEnum
    func GetMappingResetPeriodEnum(val string) (ResetPeriodEnum, bool)
    func GetResetPeriodEnumValues() []ResetPeriodEnum
type RootCauseDetail
    func (m RootCauseDetail) String() string
    func (m RootCauseDetail) ValidateEnumValue() (bool, error)
type SortByForBudgetEnum
    func GetMappingSortByForBudgetEnum(val string) (SortByForBudgetEnum, bool)
    func GetSortByForBudgetEnumValues() []SortByForBudgetEnum
type SortByForCostAdEnum
    func GetMappingSortByForCostAdEnum(val string) (SortByForCostAdEnum, bool)
    func GetSortByForCostAdEnumValues() []SortByForCostAdEnum
type SortByForCostAnomalyEventEnum
    func GetMappingSortByForCostAnomalyEventEnum(val string) (SortByForCostAnomalyEventEnum, bool)
    func GetSortByForCostAnomalyEventEnumValues() []SortByForCostAnomalyEventEnum
type SortOrderEnum
    func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)
    func GetSortOrderEnumValues() []SortOrderEnum
type SummarizeCostAnomalyEventAnalyticsRequest
    func (request SummarizeCostAnomalyEventAnalyticsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request SummarizeCostAnomalyEventAnalyticsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request SummarizeCostAnomalyEventAnalyticsRequest) RetryPolicy() *common.RetryPolicy
    func (request SummarizeCostAnomalyEventAnalyticsRequest) String() string
    func (request SummarizeCostAnomalyEventAnalyticsRequest) ValidateEnumValue() (bool, error)
type SummarizeCostAnomalyEventAnalyticsResponse
    func (response SummarizeCostAnomalyEventAnalyticsResponse) HTTPResponse() *http.Response
    func (response SummarizeCostAnomalyEventAnalyticsResponse) String() string
type SummarizeCostAnomalyEventAnalyticsSortByEnum
    func GetMappingSummarizeCostAnomalyEventAnalyticsSortByEnum(val string) (SummarizeCostAnomalyEventAnalyticsSortByEnum, bool)
    func GetSummarizeCostAnomalyEventAnalyticsSortByEnumValues() []SummarizeCostAnomalyEventAnalyticsSortByEnum
type SummarizeCostAnomalyEventAnalyticsSortOrderEnum
    func GetMappingSummarizeCostAnomalyEventAnalyticsSortOrderEnum(val string) (SummarizeCostAnomalyEventAnalyticsSortOrderEnum, bool)
    func GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumValues() []SummarizeCostAnomalyEventAnalyticsSortOrderEnum
type Tag
    func (m Tag) String() string
    func (m Tag) ValidateEnumValue() (bool, error)
type TargetResourceFilter
    func (m TargetResourceFilter) String() string
    func (m TargetResourceFilter) ValidateEnumValue() (bool, error)
type TargetResourceFilterOperatorEnum
    func GetMappingTargetResourceFilterOperatorEnum(val string) (TargetResourceFilterOperatorEnum, bool)
    func GetTargetResourceFilterOperatorEnumValues() []TargetResourceFilterOperatorEnum
type TargetTypeEnum
    func GetMappingTargetTypeEnum(val string) (TargetTypeEnum, bool)
    func GetTargetTypeEnumValues() []TargetTypeEnum
type ThresholdTypeEnum
    func GetMappingThresholdTypeEnum(val string) (ThresholdTypeEnum, bool)
    func GetThresholdTypeEnumValues() []ThresholdTypeEnum
type UpdateAlertRuleDetails
    func (m UpdateAlertRuleDetails) String() string
    func (m UpdateAlertRuleDetails) ValidateEnumValue() (bool, error)
type UpdateAlertRuleDetailsThresholdTypeEnum
type UpdateAlertRuleDetailsTypeEnum
type UpdateAlertRuleRequest
    func (request UpdateAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateAlertRuleRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateAlertRuleRequest) String() string
    func (request UpdateAlertRuleRequest) ValidateEnumValue() (bool, error)
type UpdateAlertRuleResponse
    func (response UpdateAlertRuleResponse) HTTPResponse() *http.Response
    func (response UpdateAlertRuleResponse) String() string
type UpdateBudgetDetails
    func (m UpdateBudgetDetails) String() string
    func (m UpdateBudgetDetails) ValidateEnumValue() (bool, error)
type UpdateBudgetDetailsResetPeriodEnum
type UpdateBudgetRequest
    func (request UpdateBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateBudgetRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateBudgetRequest) String() string
    func (request UpdateBudgetRequest) ValidateEnumValue() (bool, error)
type UpdateBudgetResponse
    func (response UpdateBudgetResponse) HTTPResponse() *http.Response
    func (response UpdateBudgetResponse) String() string
type UpdateCostAlertSubscriptionDetails
    func (m UpdateCostAlertSubscriptionDetails) String() string
    func (m UpdateCostAlertSubscriptionDetails) ValidateEnumValue() (bool, error)
type UpdateCostAlertSubscriptionRequest
    func (request UpdateCostAlertSubscriptionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCostAlertSubscriptionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCostAlertSubscriptionRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCostAlertSubscriptionRequest) String() string
    func (request UpdateCostAlertSubscriptionRequest) ValidateEnumValue() (bool, error)
type UpdateCostAlertSubscriptionResponse
    func (response UpdateCostAlertSubscriptionResponse) HTTPResponse() *http.Response
    func (response UpdateCostAlertSubscriptionResponse) String() string
type UpdateCostAnomalyEventDetails
    func (m UpdateCostAnomalyEventDetails) String() string
    func (m UpdateCostAnomalyEventDetails) ValidateEnumValue() (bool, error)
type UpdateCostAnomalyEventRequest
    func (request UpdateCostAnomalyEventRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCostAnomalyEventRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCostAnomalyEventRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCostAnomalyEventRequest) String() string
    func (request UpdateCostAnomalyEventRequest) ValidateEnumValue() (bool, error)
type UpdateCostAnomalyEventResponse
    func (response UpdateCostAnomalyEventResponse) HTTPResponse() *http.Response
    func (response UpdateCostAnomalyEventResponse) String() string
type UpdateCostAnomalyMonitorDetails
    func (m UpdateCostAnomalyMonitorDetails) String() string
    func (m UpdateCostAnomalyMonitorDetails) ValidateEnumValue() (bool, error)
type UpdateCostAnomalyMonitorRequest
    func (request UpdateCostAnomalyMonitorRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
    func (request UpdateCostAnomalyMonitorRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
    func (request UpdateCostAnomalyMonitorRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateCostAnomalyMonitorRequest) String() string
    func (request UpdateCostAnomalyMonitorRequest) ValidateEnumValue() (bool, error)
type UpdateCostAnomalyMonitorResponse
    func (response UpdateCostAnomalyMonitorResponse) HTTPResponse() *http.Response
    func (response UpdateCostAnomalyMonitorResponse) String() string

Package files

alert_rule.go alert_rule_summary.go alert_type.go budget.go budget_client.go budget_costad_client.go budget_summary.go cost_alert_subscription.go cost_alert_subscription_collection.go cost_alert_subscription_map.go cost_alert_subscription_summary.go cost_anomaly_event.go cost_anomaly_event_analytic_collection.go cost_anomaly_event_analytic_summary.go cost_anomaly_event_collection.go cost_anomaly_event_summary.go cost_anomaly_monitor.go cost_anomaly_monitor_collection.go cost_anomaly_monitor_summary.go create_alert_rule_details.go create_alert_rule_request_response.go create_budget_details.go create_budget_request_response.go create_cost_alert_subscription_details.go create_cost_alert_subscription_request_response.go create_cost_anomaly_monitor_details.go create_cost_anomaly_monitor_request_response.go delete_alert_rule_request_response.go delete_budget_request_response.go delete_cost_alert_subscription_request_response.go delete_cost_anomaly_monitor_request_response.go dimension.go disable_cost_anomaly_monitor_request_response.go enable_cost_anomaly_monitor_request_response.go get_alert_rule_request_response.go get_budget_request_response.go get_cost_alert_subscription_request_response.go get_cost_anomaly_event_request_response.go get_cost_anomaly_monitor_request_response.go lifecycle_state.go list_alert_rules_request_response.go list_budgets_request_response.go list_cost_alert_subscriptions_request_response.go list_cost_anomaly_events_request_response.go list_cost_anomaly_monitors_request_response.go monitor_type.go processing_period_type.go reset_period.go root_cause_detail.go sort_by_for_budget.go sort_by_for_cost_ad.go sort_by_for_cost_anomaly_event.go sort_order.go summarize_cost_anomaly_event_analytics_request_response.go tag.go target_resource_filter.go target_type.go threshold_type.go update_alert_rule_details.go update_alert_rule_request_response.go update_budget_details.go update_budget_request_response.go update_cost_alert_subscription_details.go update_cost_alert_subscription_request_response.go update_cost_anomaly_event_details.go update_cost_anomaly_event_request_response.go update_cost_anomaly_monitor_details.go update_cost_anomaly_monitor_request_response.go

Variables

GetAlertRuleLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated

var GetAlertRuleLifecycleStateEnumValues = GetLifecycleStateEnumValues

GetAlertRuleSummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated

var GetAlertRuleSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues

GetAlertRuleSummaryThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated

var GetAlertRuleSummaryThresholdTypeEnumValues = GetThresholdTypeEnumValues

GetAlertRuleSummaryTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated

var GetAlertRuleSummaryTypeEnumValues = GetAlertTypeEnumValues

GetAlertRuleThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated

var GetAlertRuleThresholdTypeEnumValues = GetThresholdTypeEnumValues

GetAlertRuleTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated

var GetAlertRuleTypeEnumValues = GetAlertTypeEnumValues

GetBudgetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated

var GetBudgetLifecycleStateEnumValues = GetLifecycleStateEnumValues

GetBudgetResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated

var GetBudgetResetPeriodEnumValues = GetResetPeriodEnumValues

GetBudgetSummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated

var GetBudgetSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues

GetBudgetSummaryResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated

var GetBudgetSummaryResetPeriodEnumValues = GetResetPeriodEnumValues

GetBudgetSummaryTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum Consider using GetTargetTypeEnumValue Deprecated

var GetBudgetSummaryTargetTypeEnumValues = GetTargetTypeEnumValues

GetBudgetTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum Consider using GetTargetTypeEnumValue Deprecated

var GetBudgetTargetTypeEnumValues = GetTargetTypeEnumValues

GetCreateAlertRuleDetailsThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated

var GetCreateAlertRuleDetailsThresholdTypeEnumValues = GetThresholdTypeEnumValues

GetCreateAlertRuleDetailsTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated

var GetCreateAlertRuleDetailsTypeEnumValues = GetAlertTypeEnumValues

GetCreateBudgetDetailsResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated

var GetCreateBudgetDetailsResetPeriodEnumValues = GetResetPeriodEnumValues

GetCreateBudgetDetailsTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum Consider using GetTargetTypeEnumValue Deprecated

var GetCreateBudgetDetailsTargetTypeEnumValues = GetTargetTypeEnumValues

GetUpdateAlertRuleDetailsThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated

var GetUpdateAlertRuleDetailsThresholdTypeEnumValues = GetThresholdTypeEnumValues

GetUpdateAlertRuleDetailsTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated

var GetUpdateAlertRuleDetailsTypeEnumValues = GetAlertTypeEnumValues

GetUpdateBudgetDetailsResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated

var GetUpdateBudgetDetailsResetPeriodEnumValues = GetResetPeriodEnumValues

func GetAlertTypeEnumStringValues

func GetAlertTypeEnumStringValues() []string

GetAlertTypeEnumStringValues Enumerates the set of values in String for AlertTypeEnum

func GetCostAlertSubscriptionLifecycleStateEnumStringValues

func GetCostAlertSubscriptionLifecycleStateEnumStringValues() []string

GetCostAlertSubscriptionLifecycleStateEnumStringValues Enumerates the set of values in String for CostAlertSubscriptionLifecycleStateEnum

func GetCostAlertSubscriptionMapOperatorEnumStringValues

func GetCostAlertSubscriptionMapOperatorEnumStringValues() []string

GetCostAlertSubscriptionMapOperatorEnumStringValues Enumerates the set of values in String for CostAlertSubscriptionMapOperatorEnum

func GetCostAnomalyEventFeedbackResponseEnumStringValues

func GetCostAnomalyEventFeedbackResponseEnumStringValues() []string

GetCostAnomalyEventFeedbackResponseEnumStringValues Enumerates the set of values in String for CostAnomalyEventFeedbackResponseEnum

func GetCostAnomalyEventLifecycleStateEnumStringValues

func GetCostAnomalyEventLifecycleStateEnumStringValues() []string

GetCostAnomalyEventLifecycleStateEnumStringValues Enumerates the set of values in String for CostAnomalyEventLifecycleStateEnum

func GetCostAnomalyMonitorLifecycleStateEnumStringValues

func GetCostAnomalyMonitorLifecycleStateEnumStringValues() []string

GetCostAnomalyMonitorLifecycleStateEnumStringValues Enumerates the set of values in String for CostAnomalyMonitorLifecycleStateEnum

func GetLifecycleStateEnumStringValues

func GetLifecycleStateEnumStringValues() []string

GetLifecycleStateEnumStringValues Enumerates the set of values in String for LifecycleStateEnum

func GetListAlertRulesLifecycleStateEnumStringValues

func GetListAlertRulesLifecycleStateEnumStringValues() []string

GetListAlertRulesLifecycleStateEnumStringValues Enumerates the set of values in String for ListAlertRulesLifecycleStateEnum

func GetListAlertRulesSortByEnumStringValues

func GetListAlertRulesSortByEnumStringValues() []string

GetListAlertRulesSortByEnumStringValues Enumerates the set of values in String for ListAlertRulesSortByEnum

func GetListAlertRulesSortOrderEnumStringValues

func GetListAlertRulesSortOrderEnumStringValues() []string

GetListAlertRulesSortOrderEnumStringValues Enumerates the set of values in String for ListAlertRulesSortOrderEnum

func GetListBudgetsLifecycleStateEnumStringValues

func GetListBudgetsLifecycleStateEnumStringValues() []string

GetListBudgetsLifecycleStateEnumStringValues Enumerates the set of values in String for ListBudgetsLifecycleStateEnum

func GetListBudgetsSortByEnumStringValues

func GetListBudgetsSortByEnumStringValues() []string

GetListBudgetsSortByEnumStringValues Enumerates the set of values in String for ListBudgetsSortByEnum

func GetListBudgetsSortOrderEnumStringValues

func GetListBudgetsSortOrderEnumStringValues() []string

GetListBudgetsSortOrderEnumStringValues Enumerates the set of values in String for ListBudgetsSortOrderEnum

func GetListBudgetsTargetTypeEnumStringValues

func GetListBudgetsTargetTypeEnumStringValues() []string

GetListBudgetsTargetTypeEnumStringValues Enumerates the set of values in String for ListBudgetsTargetTypeEnum

func GetListCostAlertSubscriptionsSortByEnumStringValues

func GetListCostAlertSubscriptionsSortByEnumStringValues() []string

GetListCostAlertSubscriptionsSortByEnumStringValues Enumerates the set of values in String for ListCostAlertSubscriptionsSortByEnum

func GetListCostAlertSubscriptionsSortOrderEnumStringValues

func GetListCostAlertSubscriptionsSortOrderEnumStringValues() []string

GetListCostAlertSubscriptionsSortOrderEnumStringValues Enumerates the set of values in String for ListCostAlertSubscriptionsSortOrderEnum

func GetListCostAnomalyEventsSortByEnumStringValues

func GetListCostAnomalyEventsSortByEnumStringValues() []string

GetListCostAnomalyEventsSortByEnumStringValues Enumerates the set of values in String for ListCostAnomalyEventsSortByEnum

func GetListCostAnomalyEventsSortOrderEnumStringValues

func GetListCostAnomalyEventsSortOrderEnumStringValues() []string

GetListCostAnomalyEventsSortOrderEnumStringValues Enumerates the set of values in String for ListCostAnomalyEventsSortOrderEnum

func GetListCostAnomalyMonitorsSortByEnumStringValues

func GetListCostAnomalyMonitorsSortByEnumStringValues() []string

GetListCostAnomalyMonitorsSortByEnumStringValues Enumerates the set of values in String for ListCostAnomalyMonitorsSortByEnum

func GetListCostAnomalyMonitorsSortOrderEnumStringValues

func GetListCostAnomalyMonitorsSortOrderEnumStringValues() []string

GetListCostAnomalyMonitorsSortOrderEnumStringValues Enumerates the set of values in String for ListCostAnomalyMonitorsSortOrderEnum

func GetMonitorTypeEnumStringValues

func GetMonitorTypeEnumStringValues() []string

GetMonitorTypeEnumStringValues Enumerates the set of values in String for MonitorTypeEnum

func GetProcessingPeriodTypeEnumStringValues

func GetProcessingPeriodTypeEnumStringValues() []string

GetProcessingPeriodTypeEnumStringValues Enumerates the set of values in String for ProcessingPeriodTypeEnum

func GetResetPeriodEnumStringValues

func GetResetPeriodEnumStringValues() []string

GetResetPeriodEnumStringValues Enumerates the set of values in String for ResetPeriodEnum

func GetSortByForBudgetEnumStringValues

func GetSortByForBudgetEnumStringValues() []string

GetSortByForBudgetEnumStringValues Enumerates the set of values in String for SortByForBudgetEnum

func GetSortByForCostAdEnumStringValues

func GetSortByForCostAdEnumStringValues() []string

GetSortByForCostAdEnumStringValues Enumerates the set of values in String for SortByForCostAdEnum

func GetSortByForCostAnomalyEventEnumStringValues

func GetSortByForCostAnomalyEventEnumStringValues() []string

GetSortByForCostAnomalyEventEnumStringValues Enumerates the set of values in String for SortByForCostAnomalyEventEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetSummarizeCostAnomalyEventAnalyticsSortByEnumStringValues

func GetSummarizeCostAnomalyEventAnalyticsSortByEnumStringValues() []string

GetSummarizeCostAnomalyEventAnalyticsSortByEnumStringValues Enumerates the set of values in String for SummarizeCostAnomalyEventAnalyticsSortByEnum

func GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumStringValues

func GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumStringValues() []string

GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumStringValues Enumerates the set of values in String for SummarizeCostAnomalyEventAnalyticsSortOrderEnum

func GetTargetResourceFilterOperatorEnumStringValues

func GetTargetResourceFilterOperatorEnumStringValues() []string

GetTargetResourceFilterOperatorEnumStringValues Enumerates the set of values in String for TargetResourceFilterOperatorEnum

func GetTargetTypeEnumStringValues

func GetTargetTypeEnumStringValues() []string

GetTargetTypeEnumStringValues Enumerates the set of values in String for TargetTypeEnum

func GetThresholdTypeEnumStringValues

func GetThresholdTypeEnumStringValues() []string

GetThresholdTypeEnumStringValues Enumerates the set of values in String for ThresholdTypeEnum

type AlertRule

AlertRule The alert rule.

type AlertRule struct {

    // The OCID of the alert rule.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the budget.
    BudgetId *string `mandatory:"true" json:"budgetId"`

    // The name of the alert rule. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The type of the alert. Valid values are ACTUAL (the alert triggers based on actual usage), or
    // FORECAST (the alert triggers based on predicted usage).
    Type AlertTypeEnum `mandatory:"true" json:"type"`

    // The threshold for triggering the alert. If the thresholdType is PERCENTAGE, the maximum value is 10000.
    Threshold *float32 `mandatory:"true" json:"threshold"`

    // The type of threshold.
    ThresholdType ThresholdTypeEnum `mandatory:"true" json:"thresholdType"`

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

    // The delimited list of email addresses to receive the alert when it triggers.
    // Delimiter characters can be a comma, space, TAB, or semicolon.
    Recipients *string `mandatory:"true" json:"recipients"`

    // The time the budget was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time the budget was updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Custom message sent when an alert is triggered.
    Message *string `mandatory:"false" json:"message"`

    // The description of the alert rule.
    Description *string `mandatory:"false" json:"description"`

    // The version of the alert rule. Starts from 1 and increments by 1.
    Version *int `mandatory:"false" json:"version"`

    // 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 (AlertRule) String

func (m AlertRule) String() string

func (AlertRule) ValidateEnumValue

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

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

type AlertRuleLifecycleStateEnum

AlertRuleLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated

type AlertRuleLifecycleStateEnum = LifecycleStateEnum

type AlertRuleSummary

AlertRuleSummary The alert rule.

type AlertRuleSummary struct {

    // The OCID of the alert rule.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the budget.
    BudgetId *string `mandatory:"true" json:"budgetId"`

    // The name of the alert rule. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // ACTUAL means the alert triggers based on actual usage.
    // FORECAST means the alert triggers based on predicted usage.
    Type AlertTypeEnum `mandatory:"true" json:"type"`

    // The threshold for triggering the alert. If the thresholdType is PERCENTAGE, the maximum value is 10000.
    Threshold *float32 `mandatory:"true" json:"threshold"`

    // The type of threshold.
    ThresholdType ThresholdTypeEnum `mandatory:"true" json:"thresholdType"`

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

    // The audience that receives the alert when it triggers.
    Recipients *string `mandatory:"true" json:"recipients"`

    // The time when the budget was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time when the budget was updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The custom message that will be sent when the alert is triggered.
    Message *string `mandatory:"false" json:"message"`

    // The description of the alert rule.
    Description *string `mandatory:"false" json:"description"`

    // The version of the alert rule. Starts from 1 and increments by 1.
    Version *int `mandatory:"false" json:"version"`

    // 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 (AlertRuleSummary) String

func (m AlertRuleSummary) String() string

func (AlertRuleSummary) ValidateEnumValue

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

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

type AlertRuleSummaryLifecycleStateEnum

AlertRuleSummaryLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated

type AlertRuleSummaryLifecycleStateEnum = LifecycleStateEnum

type AlertRuleSummaryThresholdTypeEnum

AlertRuleSummaryThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated

type AlertRuleSummaryThresholdTypeEnum = ThresholdTypeEnum

type AlertRuleSummaryTypeEnum

AlertRuleSummaryTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated

type AlertRuleSummaryTypeEnum = AlertTypeEnum

type AlertRuleThresholdTypeEnum

AlertRuleThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated

type AlertRuleThresholdTypeEnum = ThresholdTypeEnum

type AlertRuleTypeEnum

AlertRuleTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated

type AlertRuleTypeEnum = AlertTypeEnum

type AlertTypeEnum

AlertTypeEnum Enum with underlying type: string

type AlertTypeEnum string

Set of constants representing the allowable values for AlertTypeEnum Deprecated

const (
    AlertRuleTypeActual   AlertTypeEnum = "ACTUAL"
    AlertRuleTypeForecast AlertTypeEnum = "FORECAST"
)

Set of constants representing the allowable values for AlertTypeEnum Deprecated

const (
    AlertRuleSummaryTypeActual   AlertTypeEnum = "ACTUAL"
    AlertRuleSummaryTypeForecast AlertTypeEnum = "FORECAST"
)

Set of constants representing the allowable values for AlertTypeEnum

const (
    AlertTypeActual   AlertTypeEnum = "ACTUAL"
    AlertTypeForecast AlertTypeEnum = "FORECAST"
)

Set of constants representing the allowable values for AlertTypeEnum Deprecated

const (
    CreateAlertRuleDetailsTypeActual   AlertTypeEnum = "ACTUAL"
    CreateAlertRuleDetailsTypeForecast AlertTypeEnum = "FORECAST"
)

Set of constants representing the allowable values for AlertTypeEnum Deprecated

const (
    UpdateAlertRuleDetailsTypeActual   AlertTypeEnum = "ACTUAL"
    UpdateAlertRuleDetailsTypeForecast AlertTypeEnum = "FORECAST"
)

func GetAlertTypeEnumValues

func GetAlertTypeEnumValues() []AlertTypeEnum

GetAlertTypeEnumValues Enumerates the set of values for AlertTypeEnum

func GetMappingAlertTypeEnum

func GetMappingAlertTypeEnum(val string) (AlertTypeEnum, bool)

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

type Budget

Budget A budget.

type Budget struct {

    // The OCID of the budget.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the budget. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The amount of the budget expressed in the currency of the customer's rate card.
    Amount *float32 `mandatory:"true" json:"amount"`

    // The reset period for the budget.
    ResetPeriod ResetPeriodEnum `mandatory:"true" json:"resetPeriod"`

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

    // The total number of alert rules in the budget.
    AlertRuleCount *int `mandatory:"true" json:"alertRuleCount"`

    // The time that the budget was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time that the budget was updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // This is DEPRECATED. For backwards compatability, the property is populated when
    // the targetType is "COMPARTMENT", and targets contain the specific target compartment OCID.
    // For all other scenarios, this property will be left empty.
    TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"`

    // The description of the budget.
    Description *string `mandatory:"false" json:"description"`

    // The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight.
    BudgetProcessingPeriodStartOffset *int `mandatory:"false" json:"budgetProcessingPeriodStartOffset"`

    // The budget processing period type. Valid values are INVOICE, MONTH, and SINGLE_USE.
    ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"`

    // The date when the one-time budget begins. For example, `2023-07-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    StartDate *common.SDKTime `mandatory:"false" json:"startDate"`

    // The time when the one-time budget concludes. For example, `2023-08-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    EndDate *common.SDKTime `mandatory:"false" json:"endDate"`

    // The type of target on which the budget is applied.
    TargetType TargetTypeEnum `mandatory:"false" json:"targetType,omitempty"`

    // The list of targets on which the budget is applied.
    //   If the targetType is "COMPARTMENT", the targets contain the list of compartment OCIDs.
    //   If the targetType is "TAG", the targets contain the list of cost tracking tag identifiers in the form of "{tagNamespace}.{tagKey}.{tagValue}".
    Targets []string `mandatory:"false" json:"targets"`

    // The version of the budget. Starts from 1 and increments by 1.
    Version *int `mandatory:"false" json:"version"`

    // The actual spend in currency for the current budget cycle.
    ActualSpend *float32 `mandatory:"false" json:"actualSpend"`

    // The forecasted spend in currency by the end of the current budget cycle.
    ForecastedSpend *float32 `mandatory:"false" json:"forecastedSpend"`

    // The time that the budget spend was last computed.
    TimeSpendComputed *common.SDKTime `mandatory:"false" json:"timeSpendComputed"`

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (Budget) String

func (m Budget) String() string

func (Budget) ValidateEnumValue

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

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

type BudgetClient

BudgetClient a client for Budget

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

func NewBudgetClientWithConfigurationProvider

func NewBudgetClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client BudgetClient, err error)

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

func NewBudgetClientWithOboToken

func NewBudgetClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client BudgetClient, err error)

NewBudgetClientWithOboToken Creates a new default Budget 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 (*BudgetClient) ConfigurationProvider

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

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

func (BudgetClient) CreateAlertRule

func (client BudgetClient) CreateAlertRule(ctx context.Context, request CreateAlertRuleRequest) (response CreateAlertRuleResponse, err error)

CreateAlertRule Creates a new Alert Rule.

See also

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

func (BudgetClient) CreateBudget

func (client BudgetClient) CreateBudget(ctx context.Context, request CreateBudgetRequest) (response CreateBudgetResponse, err error)

CreateBudget Creates a new budget.

See also

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

func (BudgetClient) DeleteAlertRule

func (client BudgetClient) DeleteAlertRule(ctx context.Context, request DeleteAlertRuleRequest) (response DeleteAlertRuleResponse, err error)

DeleteAlertRule Deletes a specified Alert Rule resource.

See also

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

func (BudgetClient) DeleteBudget

func (client BudgetClient) DeleteBudget(ctx context.Context, request DeleteBudgetRequest) (response DeleteBudgetResponse, err error)

DeleteBudget Deletes a specified budget resource.

See also

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

func (BudgetClient) GetAlertRule

func (client BudgetClient) GetAlertRule(ctx context.Context, request GetAlertRuleRequest) (response GetAlertRuleResponse, err error)

GetAlertRule Gets an Alert Rule for a specified budget.

See also

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

func (BudgetClient) GetBudget

func (client BudgetClient) GetBudget(ctx context.Context, request GetBudgetRequest) (response GetBudgetResponse, err error)

GetBudget Gets a budget by the identifier.

See also

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

func (BudgetClient) ListAlertRules

func (client BudgetClient) ListAlertRules(ctx context.Context, request ListAlertRulesRequest) (response ListAlertRulesResponse, err error)

ListAlertRules Returns a list of Alert Rules for a specified budget.

See also

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

func (BudgetClient) ListBudgets

func (client BudgetClient) ListBudgets(ctx context.Context, request ListBudgetsRequest) (response ListBudgetsResponse, err error)

ListBudgets Gets a list of budgets in a compartment. By default, ListBudgets returns budgets of the 'COMPARTMENT' target type, and the budget records with only one target compartment OCID. To list all budgets, set the targetType query parameter to ALL (for example: 'targetType=ALL'). Clients should ignore new targetTypes, or upgrade to the latest version of the client SDK to handle new targetTypes.

See also

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

func (*BudgetClient) SetRegion

func (client *BudgetClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (BudgetClient) UpdateAlertRule

func (client BudgetClient) UpdateAlertRule(ctx context.Context, request UpdateAlertRuleRequest) (response UpdateAlertRuleResponse, err error)

UpdateAlertRule Update an Alert Rule for the budget identified by the OCID.

See also

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

func (BudgetClient) UpdateBudget

func (client BudgetClient) UpdateBudget(ctx context.Context, request UpdateBudgetRequest) (response UpdateBudgetResponse, err error)

UpdateBudget Update a budget identified by the OCID.

See also

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

type BudgetLifecycleStateEnum

BudgetLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated

type BudgetLifecycleStateEnum = LifecycleStateEnum

type BudgetResetPeriodEnum

BudgetResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated

type BudgetResetPeriodEnum = ResetPeriodEnum

type BudgetSummary

BudgetSummary A budget.

type BudgetSummary struct {

    // The OCID of the budget.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the budget. Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The amount of the budget, expressed in the currency of the customer's rate card.
    Amount *float32 `mandatory:"true" json:"amount"`

    // The reset period for the budget.
    ResetPeriod ResetPeriodEnum `mandatory:"true" json:"resetPeriod"`

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

    // The total number of alert rules in the budget.
    AlertRuleCount *int `mandatory:"true" json:"alertRuleCount"`

    // The time the budget was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time the budget was updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // This is DEPRECATED. For backwards compatability, the property is populated when
    // the targetType is "COMPARTMENT", and the targets contain the specific target compartment OCID.
    // For all other scenarios, this property is left empty.
    TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"`

    // The description of the budget.
    Description *string `mandatory:"false" json:"description"`

    // The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight.
    BudgetProcessingPeriodStartOffset *int `mandatory:"false" json:"budgetProcessingPeriodStartOffset"`

    // The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE.
    ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"`

    // The date when the one-time budget begins. For example, `2023-07-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    StartDate *common.SDKTime `mandatory:"false" json:"startDate"`

    // The time when the one-time budget concludes. For example, - `2023-08-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    EndDate *common.SDKTime `mandatory:"false" json:"endDate"`

    // The type of target on which the budget is applied.
    TargetType TargetTypeEnum `mandatory:"false" json:"targetType,omitempty"`

    // The list of targets on which the budget is applied.
    //   If the targetType is "COMPARTMENT", the targets contain the list of compartment OCIDs.
    //   If the targetType is "TAG", the targets contain the list of cost tracking tag identifiers in the form of "{tagNamespace}.{tagKey}.{tagValue}".
    Targets []string `mandatory:"false" json:"targets"`

    // The version of the budget. Starts from 1 and increments by 1.
    Version *int `mandatory:"false" json:"version"`

    // The actual spend in currency for the current budget cycle.
    ActualSpend *float32 `mandatory:"false" json:"actualSpend"`

    // The forecasted spend in currency by the end of the current budget cycle.
    ForecastedSpend *float32 `mandatory:"false" json:"forecastedSpend"`

    // The time the budget spend was last computed.
    TimeSpendComputed *common.SDKTime `mandatory:"false" json:"timeSpendComputed"`

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (BudgetSummary) String

func (m BudgetSummary) String() string

func (BudgetSummary) ValidateEnumValue

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

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

type BudgetSummaryLifecycleStateEnum

BudgetSummaryLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated

type BudgetSummaryLifecycleStateEnum = LifecycleStateEnum

type BudgetSummaryResetPeriodEnum

BudgetSummaryResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated

type BudgetSummaryResetPeriodEnum = ResetPeriodEnum

type BudgetSummaryTargetTypeEnum

BudgetSummaryTargetTypeEnum is an alias to type: TargetTypeEnum Consider using TargetTypeEnum instead Deprecated

type BudgetSummaryTargetTypeEnum = TargetTypeEnum

type BudgetTargetTypeEnum

BudgetTargetTypeEnum is an alias to type: TargetTypeEnum Consider using TargetTypeEnum instead Deprecated

type BudgetTargetTypeEnum = TargetTypeEnum

type CostAdClient

CostAdClient a client for CostAd

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

func NewCostAdClientWithConfigurationProvider

func NewCostAdClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client CostAdClient, err error)

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

func NewCostAdClientWithOboToken

func NewCostAdClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client CostAdClient, err error)

NewCostAdClientWithOboToken Creates a new default CostAd 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 (*CostAdClient) ConfigurationProvider

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

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

func (CostAdClient) CreateCostAlertSubscription

func (client CostAdClient) CreateCostAlertSubscription(ctx context.Context, request CreateCostAlertSubscriptionRequest) (response CreateCostAlertSubscriptionResponse, err error)

CreateCostAlertSubscription Creates a new CostAlert Subscription.

See also

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

func (CostAdClient) CreateCostAnomalyMonitor

func (client CostAdClient) CreateCostAnomalyMonitor(ctx context.Context, request CreateCostAnomalyMonitorRequest) (response CreateCostAnomalyMonitorResponse, err error)

CreateCostAnomalyMonitor Creates a new costAnomaly Monitor.

See also

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

func (CostAdClient) DeleteCostAlertSubscription

func (client CostAdClient) DeleteCostAlertSubscription(ctx context.Context, request DeleteCostAlertSubscriptionRequest) (response DeleteCostAlertSubscriptionResponse, err error)

DeleteCostAlertSubscription Deletes a specified CostAlertSubscription resource.

See also

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

func (CostAdClient) DeleteCostAnomalyMonitor

func (client CostAdClient) DeleteCostAnomalyMonitor(ctx context.Context, request DeleteCostAnomalyMonitorRequest) (response DeleteCostAnomalyMonitorResponse, err error)

DeleteCostAnomalyMonitor Deletes a specified CostAnomalyMonitor resource.

See also

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

func (CostAdClient) DisableCostAnomalyMonitor

func (client CostAdClient) DisableCostAnomalyMonitor(ctx context.Context, request DisableCostAnomalyMonitorRequest) (response DisableCostAnomalyMonitorResponse, err error)

DisableCostAnomalyMonitor Disables the cost anomaly monitor. This stops cost anomaly detection for targeted resource(s).

See also

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

func (CostAdClient) EnableCostAnomalyMonitor

func (client CostAdClient) EnableCostAnomalyMonitor(ctx context.Context, request EnableCostAnomalyMonitorRequest) (response EnableCostAnomalyMonitorResponse, err error)

EnableCostAnomalyMonitor Enables the cost anomaly monitor. This (re)starts the cost anomaly detection for targeted resource(s).

See also

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

func (CostAdClient) GetCostAlertSubscription

func (client CostAdClient) GetCostAlertSubscription(ctx context.Context, request GetCostAlertSubscriptionRequest) (response GetCostAlertSubscriptionResponse, err error)

GetCostAlertSubscription Gets a CostAlertSubscription by the identifier.

See also

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

func (CostAdClient) GetCostAnomalyEvent

func (client CostAdClient) GetCostAnomalyEvent(ctx context.Context, request GetCostAnomalyEventRequest) (response GetCostAnomalyEventResponse, err error)

GetCostAnomalyEvent Gets a CostAnomalyEvent by the identifier.

See also

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

func (CostAdClient) GetCostAnomalyMonitor

func (client CostAdClient) GetCostAnomalyMonitor(ctx context.Context, request GetCostAnomalyMonitorRequest) (response GetCostAnomalyMonitorResponse, err error)

GetCostAnomalyMonitor Gets a CostAnomalyMonitor by the identifier.

See also

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

func (CostAdClient) ListCostAlertSubscriptions

func (client CostAdClient) ListCostAlertSubscriptions(ctx context.Context, request ListCostAlertSubscriptionsRequest) (response ListCostAlertSubscriptionsResponse, err error)

ListCostAlertSubscriptions Gets a list of Cost Alert Subscription in a compartment.

See also

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

func (CostAdClient) ListCostAnomalyEvents

func (client CostAdClient) ListCostAnomalyEvents(ctx context.Context, request ListCostAnomalyEventsRequest) (response ListCostAnomalyEventsResponse, err error)

ListCostAnomalyEvents Gets a list of Cost Anomaly Event in a compartment.

See also

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

func (CostAdClient) ListCostAnomalyMonitors

func (client CostAdClient) ListCostAnomalyMonitors(ctx context.Context, request ListCostAnomalyMonitorsRequest) (response ListCostAnomalyMonitorsResponse, err error)

ListCostAnomalyMonitors Gets a list of Cost Anomaly Monitors in a compartment.

See also

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

func (*CostAdClient) SetRegion

func (client *CostAdClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (CostAdClient) SummarizeCostAnomalyEventAnalytics

func (client CostAdClient) SummarizeCostAnomalyEventAnalytics(ctx context.Context, request SummarizeCostAnomalyEventAnalyticsRequest) (response SummarizeCostAnomalyEventAnalyticsResponse, err error)

SummarizeCostAnomalyEventAnalytics Gets a list of Cost Anomaly Events analytics summary - aggregated metrics for a given time period.

See also

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

func (CostAdClient) UpdateCostAlertSubscription

func (client CostAdClient) UpdateCostAlertSubscription(ctx context.Context, request UpdateCostAlertSubscriptionRequest) (response UpdateCostAlertSubscriptionResponse, err error)

UpdateCostAlertSubscription Update a CostAlertSubscription identified by the OCID.

See also

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

func (CostAdClient) UpdateCostAnomalyEvent

func (client CostAdClient) UpdateCostAnomalyEvent(ctx context.Context, request UpdateCostAnomalyEventRequest) (response UpdateCostAnomalyEventResponse, err error)

UpdateCostAnomalyEvent Update a CostAnomalyEvent identified by the OCID.

See also

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

func (CostAdClient) UpdateCostAnomalyMonitor

func (client CostAdClient) UpdateCostAnomalyMonitor(ctx context.Context, request UpdateCostAnomalyMonitorRequest) (response UpdateCostAnomalyMonitorResponse, err error)

UpdateCostAnomalyMonitor Update a CostAnomalyMonitor identified by the OCID.

See also

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

type CostAlertSubscription

CostAlertSubscription A CostAlertSubscription.

type CostAlertSubscription struct {

    // The OCID of the Cost Alert Subscription.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment which hold the cost alert subscription resource.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the cost alert subscription. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The current state of the cost alert subscription.
    LifecycleState CostAlertSubscriptionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The notification channels string.
    Channels *string `mandatory:"true" json:"channels"`

    // The time that the cost alert subscription was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time that the cost alert subscription was updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // List of monitor identifiers
    CostAnomalyMonitors *interface{} `mandatory:"true" json:"costAnomalyMonitors"`

    // The description of the cost alert subscription.
    Description *string `mandatory:"false" json:"description"`

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

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

    // System 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).
    // System tags can be viewed by users, but can only be created by the system.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CostAlertSubscription) String

func (m CostAlertSubscription) String() string

func (CostAlertSubscription) ValidateEnumValue

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

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

type CostAlertSubscriptionCollection

CostAlertSubscriptionCollection Results of a costAlertSubscription search. Contains both CostAlertSubscriptionSummary items and other data.

type CostAlertSubscriptionCollection struct {

    // A page of CostAnomalyMonitorSummary objects.
    Items []CostAlertSubscriptionSummary `mandatory:"true" json:"items"`
}

func (CostAlertSubscriptionCollection) String

func (m CostAlertSubscriptionCollection) String() string

func (CostAlertSubscriptionCollection) ValidateEnumValue

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

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

type CostAlertSubscriptionLifecycleStateEnum

CostAlertSubscriptionLifecycleStateEnum Enum with underlying type: string

type CostAlertSubscriptionLifecycleStateEnum string

Set of constants representing the allowable values for CostAlertSubscriptionLifecycleStateEnum

const (
    CostAlertSubscriptionLifecycleStateActive   CostAlertSubscriptionLifecycleStateEnum = "ACTIVE"
    CostAlertSubscriptionLifecycleStateInactive CostAlertSubscriptionLifecycleStateEnum = "INACTIVE"
)

func GetCostAlertSubscriptionLifecycleStateEnumValues

func GetCostAlertSubscriptionLifecycleStateEnumValues() []CostAlertSubscriptionLifecycleStateEnum

GetCostAlertSubscriptionLifecycleStateEnumValues Enumerates the set of values for CostAlertSubscriptionLifecycleStateEnum

func GetMappingCostAlertSubscriptionLifecycleStateEnum

func GetMappingCostAlertSubscriptionLifecycleStateEnum(val string) (CostAlertSubscriptionLifecycleStateEnum, bool)

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

type CostAlertSubscriptionMap

CostAlertSubscriptionMap The mapping of cost monitor to alert subscription along with thresholds.

type CostAlertSubscriptionMap struct {

    // The filter operator. Example: 'AND', 'OR'.
    Operator CostAlertSubscriptionMapOperatorEnum `mandatory:"false" json:"operator,omitempty"`

    // The absolute threshold value.
    ThresholdAbsoluteValue *int `mandatory:"false" json:"thresholdAbsoluteValue"`

    // The relative percentage threshold value.
    ThresholdRelativePercent *int `mandatory:"false" json:"thresholdRelativePercent"`

    // The costAlertSubscription ocid which the cost monitor alert maps to.
    CostAlertSubscriptionId *string `mandatory:"false" json:"costAlertSubscriptionId"`
}

func (CostAlertSubscriptionMap) String

func (m CostAlertSubscriptionMap) String() string

func (CostAlertSubscriptionMap) ValidateEnumValue

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

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

type CostAlertSubscriptionMapOperatorEnum

CostAlertSubscriptionMapOperatorEnum Enum with underlying type: string

type CostAlertSubscriptionMapOperatorEnum string

Set of constants representing the allowable values for CostAlertSubscriptionMapOperatorEnum

const (
    CostAlertSubscriptionMapOperatorAnd CostAlertSubscriptionMapOperatorEnum = "AND"
    CostAlertSubscriptionMapOperatorOr  CostAlertSubscriptionMapOperatorEnum = "OR"
)

func GetCostAlertSubscriptionMapOperatorEnumValues

func GetCostAlertSubscriptionMapOperatorEnumValues() []CostAlertSubscriptionMapOperatorEnum

GetCostAlertSubscriptionMapOperatorEnumValues Enumerates the set of values for CostAlertSubscriptionMapOperatorEnum

func GetMappingCostAlertSubscriptionMapOperatorEnum

func GetMappingCostAlertSubscriptionMapOperatorEnum(val string) (CostAlertSubscriptionMapOperatorEnum, bool)

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

type CostAlertSubscriptionSummary

CostAlertSubscriptionSummary A CostAlertSubscription.

type CostAlertSubscriptionSummary struct {

    // The OCID of the Cost Alert Subscription.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment which hold the cost alert subscription resource.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the cost alert subscription. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The notification channels types string.
    ChannelTypes *string `mandatory:"true" json:"channelTypes"`

    // The time that the cost alert subscription was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the cost alert subscription.
    LifecycleState CostAlertSubscriptionLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

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

    // System 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).
    // System tags can be viewed by users, but can only be created by the system.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CostAlertSubscriptionSummary) String

func (m CostAlertSubscriptionSummary) String() string

func (CostAlertSubscriptionSummary) ValidateEnumValue

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

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

type CostAnomalyEvent

CostAnomalyEvent A CostAnomalyEvent.

type CostAnomalyEvent struct {

    // The OCID of the Cost Anomaly Event.
    Id *string `mandatory:"true" json:"id"`

    // The name of the associated cost monitor.
    CostAnomalyName *string `mandatory:"true" json:"costAnomalyName"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The current state of the cost anomaly event.
    LifecycleState CostAnomalyEventLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID of the associated cost monitor.
    CostMonitorId *string `mandatory:"true" json:"costMonitorId"`

    // The name of the associated cost monitor.
    CostMonitorName *string `mandatory:"true" json:"costMonitorName"`

    TargetResourceFilter *TargetResourceFilter `mandatory:"true" json:"targetResourceFilter"`

    // The event date of the anomaly event.
    TimeAnomalyEventDate *common.SDKTime `mandatory:"true" json:"timeAnomalyEventDate"`

    // The created time of the cost anomaly event.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The updated time of the cost anomaly event.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Type of cost monitor
    CostMonitorType MonitorTypeEnum `mandatory:"false" json:"costMonitorType,omitempty"`

    // The cost impact of the detected anomaly.
    CostImpact *float64 `mandatory:"false" json:"costImpact"`

    // The cost variance percentage of the detected anomaly.
    CostVariancePercentage *float64 `mandatory:"false" json:"costVariancePercentage"`

    RootCauseDetail *RootCauseDetail `mandatory:"false" json:"rootCauseDetail"`

    // The feedback response for the cost anomaly event.
    FeedbackResponse CostAnomalyEventFeedbackResponseEnum `mandatory:"false" json:"feedbackResponse,omitempty"`

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

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

    // System 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).
    // System tags can be viewed by users, but can only be created by the system.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CostAnomalyEvent) String

func (m CostAnomalyEvent) String() string

func (CostAnomalyEvent) ValidateEnumValue

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

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

type CostAnomalyEventAnalyticCollection

CostAnomalyEventAnalyticCollection Results of a CostAnomalyEventAnalytics search.

type CostAnomalyEventAnalyticCollection struct {

    // The list of CostAnomalyEvent Analytic summary.
    Items []CostAnomalyEventAnalyticSummary `mandatory:"true" json:"items"`
}

func (CostAnomalyEventAnalyticCollection) String

func (m CostAnomalyEventAnalyticCollection) String() string

func (CostAnomalyEventAnalyticCollection) ValidateEnumValue

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

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

type CostAnomalyEventAnalyticSummary

CostAnomalyEventAnalyticSummary A CostAnomalyEventAnalyticSummary.

type CostAnomalyEventAnalyticSummary struct {

    // The number of cost anomaly events in the given time period.
    Count *int `mandatory:"true" json:"count"`

    // The average cost impact of the anomaly events in the given time period.
    AverageCostImpact *float64 `mandatory:"true" json:"averageCostImpact"`

    // The average cost variance of the anomaly events in the given time period.
    AverageCostVariance *float64 `mandatory:"true" json:"averageCostVariance"`
}

func (CostAnomalyEventAnalyticSummary) String

func (m CostAnomalyEventAnalyticSummary) String() string

func (CostAnomalyEventAnalyticSummary) ValidateEnumValue

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

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

type CostAnomalyEventCollection

CostAnomalyEventCollection Results of a costAnomalyEvent search. Contains both CostAnomalyEventSummary items and other data.

type CostAnomalyEventCollection struct {

    // A page of CostAnomalyMonitorSummary objects.
    Items []CostAnomalyEventSummary `mandatory:"true" json:"items"`
}

func (CostAnomalyEventCollection) String

func (m CostAnomalyEventCollection) String() string

func (CostAnomalyEventCollection) ValidateEnumValue

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

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

type CostAnomalyEventFeedbackResponseEnum

CostAnomalyEventFeedbackResponseEnum Enum with underlying type: string

type CostAnomalyEventFeedbackResponseEnum string

Set of constants representing the allowable values for CostAnomalyEventFeedbackResponseEnum

const (
    CostAnomalyEventFeedbackResponseAccurateAnomaly CostAnomalyEventFeedbackResponseEnum = "ACCURATE_ANOMALY"
    CostAnomalyEventFeedbackResponseExpectedAnomaly CostAnomalyEventFeedbackResponseEnum = "EXPECTED_ANOMALY"
)

func GetCostAnomalyEventFeedbackResponseEnumValues

func GetCostAnomalyEventFeedbackResponseEnumValues() []CostAnomalyEventFeedbackResponseEnum

GetCostAnomalyEventFeedbackResponseEnumValues Enumerates the set of values for CostAnomalyEventFeedbackResponseEnum

func GetMappingCostAnomalyEventFeedbackResponseEnum

func GetMappingCostAnomalyEventFeedbackResponseEnum(val string) (CostAnomalyEventFeedbackResponseEnum, bool)

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

type CostAnomalyEventLifecycleStateEnum

CostAnomalyEventLifecycleStateEnum Enum with underlying type: string

type CostAnomalyEventLifecycleStateEnum string

Set of constants representing the allowable values for CostAnomalyEventLifecycleStateEnum

const (
    CostAnomalyEventLifecycleStateActive   CostAnomalyEventLifecycleStateEnum = "ACTIVE"
    CostAnomalyEventLifecycleStateInactive CostAnomalyEventLifecycleStateEnum = "INACTIVE"
)

func GetCostAnomalyEventLifecycleStateEnumValues

func GetCostAnomalyEventLifecycleStateEnumValues() []CostAnomalyEventLifecycleStateEnum

GetCostAnomalyEventLifecycleStateEnumValues Enumerates the set of values for CostAnomalyEventLifecycleStateEnum

func GetMappingCostAnomalyEventLifecycleStateEnum

func GetMappingCostAnomalyEventLifecycleStateEnum(val string) (CostAnomalyEventLifecycleStateEnum, bool)

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

type CostAnomalyEventSummary

CostAnomalyEventSummary A CostAnomalyEvent.

type CostAnomalyEventSummary struct {

    // The OCID of the Cost Anomaly Event.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The OCID of the associated cost monitor.
    CostMonitorId *string `mandatory:"true" json:"costMonitorId"`

    // The name of the associated cost monitor.
    CostMonitorName *string `mandatory:"true" json:"costMonitorName"`

    TargetResourceFilter *TargetResourceFilter `mandatory:"true" json:"targetResourceFilter"`

    RootCauseDetail *RootCauseDetail `mandatory:"true" json:"rootCauseDetail"`

    // The event date of the anomaly event.
    TimeAnomalyEventDate *common.SDKTime `mandatory:"true" json:"timeAnomalyEventDate"`

    // The name of the associated cost Anomaly.
    CostAnomalyName *string `mandatory:"false" json:"costAnomalyName"`

    // Type of cost monitor
    CostMonitorType MonitorTypeEnum `mandatory:"false" json:"costMonitorType,omitempty"`

    // The current state of the cost anomaly event.
    LifecycleState CostAnomalyEventLifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`

    // The cost impact of the detected anomaly.
    CostImpact *float64 `mandatory:"false" json:"costImpact"`

    // The cost variance percentage of the detected anomaly.
    CostVariancePercentage *float64 `mandatory:"false" json:"costVariancePercentage"`

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

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

    // System 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).
    // System tags can be viewed by users, but can only be created by the system.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CostAnomalyEventSummary) String

func (m CostAnomalyEventSummary) String() string

func (CostAnomalyEventSummary) ValidateEnumValue

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

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

type CostAnomalyMonitor

CostAnomalyMonitor A CostAnomalyMonitor.

type CostAnomalyMonitor struct {

    // The OCID of the Cost Anomaly Monitor.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the cost anomaly monitor. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The current state of the cost monitor.
    LifecycleState CostAnomalyMonitorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    TargetResourceFilter *TargetResourceFilter `mandatory:"true" json:"targetResourceFilter"`

    // The time that the cost monitor was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time that the cost monitor was last updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Type of cost monitor
    Type MonitorTypeEnum `mandatory:"false" json:"type,omitempty"`

    // The description of the budget.
    Description *string `mandatory:"false" json:"description"`

    // The current state details of the cost monitor.
    LifecycleDetails *string `mandatory:"false" json:"lifecycleDetails"`

    CostAlertSubscriptionMap *CostAlertSubscriptionMap `mandatory:"false" json:"costAlertSubscriptionMap"`

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

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

    // System 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).
    // System tags can be viewed by users, but can only be created by the system.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CostAnomalyMonitor) String

func (m CostAnomalyMonitor) String() string

func (CostAnomalyMonitor) ValidateEnumValue

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

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

type CostAnomalyMonitorCollection

CostAnomalyMonitorCollection Results of a costAnomalyMonitor search. Contains both CostAnomalyMonitorSummary items and other data.

type CostAnomalyMonitorCollection struct {

    // A page of CostAnomalyMonitorSummary objects.
    Items []CostAnomalyMonitorSummary `mandatory:"true" json:"items"`
}

func (CostAnomalyMonitorCollection) String

func (m CostAnomalyMonitorCollection) String() string

func (CostAnomalyMonitorCollection) ValidateEnumValue

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

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

type CostAnomalyMonitorLifecycleStateEnum

CostAnomalyMonitorLifecycleStateEnum Enum with underlying type: string

type CostAnomalyMonitorLifecycleStateEnum string

Set of constants representing the allowable values for CostAnomalyMonitorLifecycleStateEnum

const (
    CostAnomalyMonitorLifecycleStateActive   CostAnomalyMonitorLifecycleStateEnum = "ACTIVE"
    CostAnomalyMonitorLifecycleStateInactive CostAnomalyMonitorLifecycleStateEnum = "INACTIVE"
    CostAnomalyMonitorLifecycleStateDeleted  CostAnomalyMonitorLifecycleStateEnum = "DELETED"
)

func GetCostAnomalyMonitorLifecycleStateEnumValues

func GetCostAnomalyMonitorLifecycleStateEnumValues() []CostAnomalyMonitorLifecycleStateEnum

GetCostAnomalyMonitorLifecycleStateEnumValues Enumerates the set of values for CostAnomalyMonitorLifecycleStateEnum

func GetMappingCostAnomalyMonitorLifecycleStateEnum

func GetMappingCostAnomalyMonitorLifecycleStateEnum(val string) (CostAnomalyMonitorLifecycleStateEnum, bool)

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

type CostAnomalyMonitorSummary

CostAnomalyMonitorSummary A CostAnomalyMonitor.

type CostAnomalyMonitorSummary struct {

    // The OCID of the Cost Anomaly Monitor.
    Id *string `mandatory:"true" json:"id"`

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the cost anomaly monitor. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The current state of the cost monitor.
    LifecycleState CostAnomalyMonitorLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    TargetResourceFilter *TargetResourceFilter `mandatory:"true" json:"targetResourceFilter"`

    // The time that the cost monitor was created.
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The time that the cost monitor was last updated.
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // Type of cost monitor
    Type MonitorTypeEnum `mandatory:"false" json:"type,omitempty"`

    // The description of the budget.
    Description *string `mandatory:"false" json:"description"`

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

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

    // System 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).
    // System tags can be viewed by users, but can only be created by the system.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CostAnomalyMonitorSummary) String

func (m CostAnomalyMonitorSummary) String() string

func (CostAnomalyMonitorSummary) ValidateEnumValue

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

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

type CreateAlertRuleDetails

CreateAlertRuleDetails The create alert rule details. This is a batch-create.

type CreateAlertRuleDetails struct {

    // The type of the alert. Valid values are ACTUAL (the alert triggers based on actual usage), or
    // FORECAST (the alert triggers based on predicted usage).
    Type AlertTypeEnum `mandatory:"true" json:"type"`

    // The threshold for triggering the alert, expressed as a whole number or decimal value.
    // If the thresholdType is ABSOLUTE, the threshold can have at most 12 digits before the decimal point, and up to two digits after the decimal point.
    // If the thresholdType is PERCENTAGE, the maximum value is 10000 and can have up to two digits after the decimal point.
    Threshold *float32 `mandatory:"true" json:"threshold"`

    // The type of threshold.
    ThresholdType ThresholdTypeEnum `mandatory:"true" json:"thresholdType"`

    // The name of the alert rule. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the alert rule.
    Description *string `mandatory:"false" json:"description"`

    // The audience that receives the alert when it triggers. An empty string is interpreted as null.
    Recipients *string `mandatory:"false" json:"recipients"`

    // The message to be sent to the recipients when the alert rule is triggered.
    Message *string `mandatory:"false" json:"message"`

    // 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 (CreateAlertRuleDetails) String

func (m CreateAlertRuleDetails) String() string

func (CreateAlertRuleDetails) ValidateEnumValue

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

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

type CreateAlertRuleDetailsThresholdTypeEnum

CreateAlertRuleDetailsThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated

type CreateAlertRuleDetailsThresholdTypeEnum = ThresholdTypeEnum

type CreateAlertRuleDetailsTypeEnum

CreateAlertRuleDetailsTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated

type CreateAlertRuleDetailsTypeEnum = AlertTypeEnum

type CreateAlertRuleRequest

CreateAlertRuleRequest wrapper for the CreateAlertRule operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateAlertRule.go.html to see an example of how to use CreateAlertRuleRequest.

type CreateAlertRuleRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

    // Details for the new Alert Rule.
    CreateAlertRuleDetails `contributesTo:"body"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateAlertRuleRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateAlertRuleRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateAlertRuleRequest) RetryPolicy

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

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

func (CreateAlertRuleRequest) String

func (request CreateAlertRuleRequest) String() string

func (CreateAlertRuleRequest) ValidateEnumValue

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

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

type CreateAlertRuleResponse

CreateAlertRuleResponse wrapper for the CreateAlertRule operation

type CreateAlertRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AlertRule instance
    AlertRule `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 (CreateAlertRuleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateAlertRuleResponse) String

func (response CreateAlertRuleResponse) String() string

type CreateBudgetDetails

CreateBudgetDetails The create budget details. Clients should use 'targetType' and 'targets' to specify the target type and list of targets on which the budget is applied. For backwards compatibility, 'targetCompartmentId' is still supported for all existing clients. This is considered deprecated, however, and all clients are upgraded to use 'targetType' and 'targets'. Specifying both 'targetCompartmentId' and 'targets' causes a Bad Request.

type CreateBudgetDetails struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The amount of the budget expressed as a whole number in the currency of the customer's rate card.
    Amount *float32 `mandatory:"true" json:"amount"`

    // The reset period for the budget.
    ResetPeriod ResetPeriodEnum `mandatory:"true" json:"resetPeriod"`

    // This is DEPRECATED. Set the target compartment ID in targets instead.
    TargetCompartmentId *string `mandatory:"false" json:"targetCompartmentId"`

    // The displayName of the budget. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the budget.
    Description *string `mandatory:"false" json:"description"`

    // The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight.
    BudgetProcessingPeriodStartOffset *int `mandatory:"false" json:"budgetProcessingPeriodStartOffset"`

    // The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE.
    ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"`

    // The date when the one-time budget begins. For example, `2023-07-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    StartDate *common.SDKTime `mandatory:"false" json:"startDate"`

    // The date when the one-time budget concludes. For example, `2023-08-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    EndDate *common.SDKTime `mandatory:"false" json:"endDate"`

    // The type of target on which the budget is applied.
    TargetType TargetTypeEnum `mandatory:"false" json:"targetType,omitempty"`

    // The list of targets on which the budget is applied.
    //   If targetType is "COMPARTMENT", the targets contain the list of compartment OCIDs.
    //   If targetType is "TAG", the targets contain the list of cost tracking tag identifiers in the form of "{tagNamespace}.{tagKey}.{tagValue}".
    // Curerntly, the array should contain exactly one item.
    Targets []string `mandatory:"false" 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"`

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (CreateBudgetDetails) String

func (m CreateBudgetDetails) String() string

func (CreateBudgetDetails) ValidateEnumValue

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

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

type CreateBudgetDetailsResetPeriodEnum

CreateBudgetDetailsResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated

type CreateBudgetDetailsResetPeriodEnum = ResetPeriodEnum

type CreateBudgetDetailsTargetTypeEnum

CreateBudgetDetailsTargetTypeEnum is an alias to type: TargetTypeEnum Consider using TargetTypeEnum instead Deprecated

type CreateBudgetDetailsTargetTypeEnum = TargetTypeEnum

type CreateBudgetRequest

CreateBudgetRequest wrapper for the CreateBudget operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateBudget.go.html to see an example of how to use CreateBudgetRequest.

type CreateBudgetRequest struct {

    // Details for the new budget.
    CreateBudgetDetails `contributesTo:"body"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateBudgetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateBudgetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateBudgetRequest) RetryPolicy

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

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

func (CreateBudgetRequest) String

func (request CreateBudgetRequest) String() string

func (CreateBudgetRequest) ValidateEnumValue

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

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

type CreateBudgetResponse

CreateBudgetResponse wrapper for the CreateBudget operation

type CreateBudgetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Budget instance
    Budget `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 (CreateBudgetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateBudgetResponse) String

func (response CreateBudgetResponse) String() string

type CreateCostAlertSubscriptionDetails

CreateCostAlertSubscriptionDetails The create CostAlertSubscriptionDetails details. The clients should pass compartmentId where the resource should belong, description and channels.

type CreateCostAlertSubscriptionDetails struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the cost alert subscription. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    // The notification channels string.
    Channels *string `mandatory:"true" json:"channels"`

    // The description of the cost alert subscription.
    Description *string `mandatory:"false" json:"description"`

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

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

func (CreateCostAlertSubscriptionDetails) String

func (m CreateCostAlertSubscriptionDetails) String() string

func (CreateCostAlertSubscriptionDetails) ValidateEnumValue

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

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

type CreateCostAlertSubscriptionRequest

CreateCostAlertSubscriptionRequest wrapper for the CreateCostAlertSubscription operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateCostAlertSubscription.go.html to see an example of how to use CreateCostAlertSubscriptionRequest.

type CreateCostAlertSubscriptionRequest struct {

    // Details for the new subscription.
    CreateCostAlertSubscriptionDetails `contributesTo:"body"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateCostAlertSubscriptionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateCostAlertSubscriptionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateCostAlertSubscriptionRequest) RetryPolicy

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

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

func (CreateCostAlertSubscriptionRequest) String

func (request CreateCostAlertSubscriptionRequest) String() string

func (CreateCostAlertSubscriptionRequest) ValidateEnumValue

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

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

type CreateCostAlertSubscriptionResponse

CreateCostAlertSubscriptionResponse wrapper for the CreateCostAlertSubscription operation

type CreateCostAlertSubscriptionResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAlertSubscription instance
    CostAlertSubscription `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 (CreateCostAlertSubscriptionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateCostAlertSubscriptionResponse) String

func (response CreateCostAlertSubscriptionResponse) String() string

type CreateCostAnomalyMonitorDetails

CreateCostAnomalyMonitorDetails The create CostAnomalyMonitor details. The clients should pass ocid of the compartmentId for the monitor resource to be created. tenantIdFilter and resourceFilter targets resources to monitor in a given tenancy.

type CreateCostAnomalyMonitorDetails struct {

    // The OCID of the compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The name of the cost anomaly monitor. Avoid entering confidential information.
    Name *string `mandatory:"true" json:"name"`

    TargetResourceFilter *TargetResourceFilter `mandatory:"true" json:"targetResourceFilter"`

    // The description of the cost anomaly monitor.
    Description *string `mandatory:"false" json:"description"`

    CostAlertSubscriptionMap *CostAlertSubscriptionMap `mandatory:"false" json:"costAlertSubscriptionMap"`

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

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

func (CreateCostAnomalyMonitorDetails) String

func (m CreateCostAnomalyMonitorDetails) String() string

func (CreateCostAnomalyMonitorDetails) ValidateEnumValue

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

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

type CreateCostAnomalyMonitorRequest

CreateCostAnomalyMonitorRequest wrapper for the CreateCostAnomalyMonitor operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateCostAnomalyMonitor.go.html to see an example of how to use CreateCostAnomalyMonitorRequest.

type CreateCostAnomalyMonitorRequest struct {

    // Details for the new monitor.
    CreateCostAnomalyMonitorDetails `contributesTo:"body"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (CreateCostAnomalyMonitorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (CreateCostAnomalyMonitorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (CreateCostAnomalyMonitorRequest) RetryPolicy

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

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

func (CreateCostAnomalyMonitorRequest) String

func (request CreateCostAnomalyMonitorRequest) String() string

func (CreateCostAnomalyMonitorRequest) ValidateEnumValue

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

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

type CreateCostAnomalyMonitorResponse

CreateCostAnomalyMonitorResponse wrapper for the CreateCostAnomalyMonitor operation

type CreateCostAnomalyMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAnomalyMonitor instance
    CostAnomalyMonitor `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 (CreateCostAnomalyMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateCostAnomalyMonitorResponse) String

func (response CreateCostAnomalyMonitorResponse) String() string

type DeleteAlertRuleRequest

DeleteAlertRuleRequest wrapper for the DeleteAlertRule operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteAlertRule.go.html to see an example of how to use DeleteAlertRuleRequest.

type DeleteAlertRuleRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

    // The unique Alert Rule OCID.
    AlertRuleId *string `mandatory:"true" contributesTo:"path" name:"alertRuleId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteAlertRuleRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteAlertRuleRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteAlertRuleRequest) RetryPolicy

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

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

func (DeleteAlertRuleRequest) String

func (request DeleteAlertRuleRequest) String() string

func (DeleteAlertRuleRequest) ValidateEnumValue

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

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

type DeleteAlertRuleResponse

DeleteAlertRuleResponse wrapper for the DeleteAlertRule operation

type DeleteAlertRuleResponse 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 (DeleteAlertRuleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteAlertRuleResponse) String

func (response DeleteAlertRuleResponse) String() string

type DeleteBudgetRequest

DeleteBudgetRequest wrapper for the DeleteBudget operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteBudget.go.html to see an example of how to use DeleteBudgetRequest.

type DeleteBudgetRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteBudgetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteBudgetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteBudgetRequest) RetryPolicy

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

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

func (DeleteBudgetRequest) String

func (request DeleteBudgetRequest) String() string

func (DeleteBudgetRequest) ValidateEnumValue

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

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

type DeleteBudgetResponse

DeleteBudgetResponse wrapper for the DeleteBudget operation

type DeleteBudgetResponse 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 (DeleteBudgetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteBudgetResponse) String

func (response DeleteBudgetResponse) String() string

type DeleteCostAlertSubscriptionRequest

DeleteCostAlertSubscriptionRequest wrapper for the DeleteCostAlertSubscription operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteCostAlertSubscription.go.html to see an example of how to use DeleteCostAlertSubscriptionRequest.

type DeleteCostAlertSubscriptionRequest struct {

    // The unique costAlertSubscription OCID.
    CostAlertSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"costAlertSubscriptionId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteCostAlertSubscriptionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteCostAlertSubscriptionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteCostAlertSubscriptionRequest) RetryPolicy

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

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

func (DeleteCostAlertSubscriptionRequest) String

func (request DeleteCostAlertSubscriptionRequest) String() string

func (DeleteCostAlertSubscriptionRequest) ValidateEnumValue

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

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

type DeleteCostAlertSubscriptionResponse

DeleteCostAlertSubscriptionResponse wrapper for the DeleteCostAlertSubscription operation

type DeleteCostAlertSubscriptionResponse 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 (DeleteCostAlertSubscriptionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteCostAlertSubscriptionResponse) String

func (response DeleteCostAlertSubscriptionResponse) String() string

type DeleteCostAnomalyMonitorRequest

DeleteCostAnomalyMonitorRequest wrapper for the DeleteCostAnomalyMonitor operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteCostAnomalyMonitor.go.html to see an example of how to use DeleteCostAnomalyMonitorRequest.

type DeleteCostAnomalyMonitorRequest struct {

    // The unique costAnomalyMonitor OCID.
    CostAnomalyMonitorId *string `mandatory:"true" contributesTo:"path" name:"costAnomalyMonitorId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (DeleteCostAnomalyMonitorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DeleteCostAnomalyMonitorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DeleteCostAnomalyMonitorRequest) RetryPolicy

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

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

func (DeleteCostAnomalyMonitorRequest) String

func (request DeleteCostAnomalyMonitorRequest) String() string

func (DeleteCostAnomalyMonitorRequest) ValidateEnumValue

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

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

type DeleteCostAnomalyMonitorResponse

DeleteCostAnomalyMonitorResponse wrapper for the DeleteCostAnomalyMonitor operation

type DeleteCostAnomalyMonitorResponse 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 (DeleteCostAnomalyMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteCostAnomalyMonitorResponse) String

func (response DeleteCostAnomalyMonitorResponse) String() string

type Dimension

Dimension The dimension used for filtering. Available dimensions are: "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "tenantName, "tenantId", "platform", "region", "logicalAd", "resourceId". For example: `[{value: "COMPUTE", key: "service"}]`

type Dimension struct {

    // The dimension key.
    Key *string `mandatory:"true" json:"key"`

    // The dimension value.
    Value *string `mandatory:"true" json:"value"`
}

func (Dimension) String

func (m Dimension) String() string

func (Dimension) ValidateEnumValue

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

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

type DisableCostAnomalyMonitorRequest

DisableCostAnomalyMonitorRequest wrapper for the DisableCostAnomalyMonitor operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DisableCostAnomalyMonitor.go.html to see an example of how to use DisableCostAnomalyMonitorRequest.

type DisableCostAnomalyMonitorRequest struct {

    // The unique costAnomalyMonitor OCID.
    CostAnomalyMonitorId *string `mandatory:"true" contributesTo:"path" name:"costAnomalyMonitorId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

func (DisableCostAnomalyMonitorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (DisableCostAnomalyMonitorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (DisableCostAnomalyMonitorRequest) RetryPolicy

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

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

func (DisableCostAnomalyMonitorRequest) String

func (request DisableCostAnomalyMonitorRequest) String() string

func (DisableCostAnomalyMonitorRequest) ValidateEnumValue

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

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

type DisableCostAnomalyMonitorResponse

DisableCostAnomalyMonitorResponse wrapper for the DisableCostAnomalyMonitor operation

type DisableCostAnomalyMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAnomalyMonitor instance
    CostAnomalyMonitor `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 (DisableCostAnomalyMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DisableCostAnomalyMonitorResponse) String

func (response DisableCostAnomalyMonitorResponse) String() string

type EnableCostAnomalyMonitorRequest

EnableCostAnomalyMonitorRequest wrapper for the EnableCostAnomalyMonitor operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/EnableCostAnomalyMonitor.go.html to see an example of how to use EnableCostAnomalyMonitorRequest.

type EnableCostAnomalyMonitorRequest struct {

    // The unique costAnomalyMonitor OCID.
    CostAnomalyMonitorId *string `mandatory:"true" contributesTo:"path" name:"costAnomalyMonitorId"`

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

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

func (EnableCostAnomalyMonitorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (EnableCostAnomalyMonitorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (EnableCostAnomalyMonitorRequest) RetryPolicy

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

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

func (EnableCostAnomalyMonitorRequest) String

func (request EnableCostAnomalyMonitorRequest) String() string

func (EnableCostAnomalyMonitorRequest) ValidateEnumValue

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

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

type EnableCostAnomalyMonitorResponse

EnableCostAnomalyMonitorResponse wrapper for the EnableCostAnomalyMonitor operation

type EnableCostAnomalyMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAnomalyMonitor instance
    CostAnomalyMonitor `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 (EnableCostAnomalyMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (EnableCostAnomalyMonitorResponse) String

func (response EnableCostAnomalyMonitorResponse) String() string

type GetAlertRuleRequest

GetAlertRuleRequest wrapper for the GetAlertRule operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetAlertRule.go.html to see an example of how to use GetAlertRuleRequest.

type GetAlertRuleRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

    // The unique Alert Rule OCID.
    AlertRuleId *string `mandatory:"true" contributesTo:"path" name:"alertRuleId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetAlertRuleRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetAlertRuleRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetAlertRuleRequest) RetryPolicy

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

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

func (GetAlertRuleRequest) String

func (request GetAlertRuleRequest) String() string

func (GetAlertRuleRequest) ValidateEnumValue

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

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

type GetAlertRuleResponse

GetAlertRuleResponse wrapper for the GetAlertRule operation

type GetAlertRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AlertRule instance
    AlertRule `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 (GetAlertRuleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetAlertRuleResponse) String

func (response GetAlertRuleResponse) String() string

type GetBudgetRequest

GetBudgetRequest wrapper for the GetBudget operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetBudget.go.html to see an example of how to use GetBudgetRequest.

type GetBudgetRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetBudgetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetBudgetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetBudgetRequest) RetryPolicy

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

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

func (GetBudgetRequest) String

func (request GetBudgetRequest) String() string

func (GetBudgetRequest) ValidateEnumValue

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

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

type GetBudgetResponse

GetBudgetResponse wrapper for the GetBudget operation

type GetBudgetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Budget instance
    Budget `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 (GetBudgetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetBudgetResponse) String

func (response GetBudgetResponse) String() string

type GetCostAlertSubscriptionRequest

GetCostAlertSubscriptionRequest wrapper for the GetCostAlertSubscription operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetCostAlertSubscription.go.html to see an example of how to use GetCostAlertSubscriptionRequest.

type GetCostAlertSubscriptionRequest struct {

    // The unique costAlertSubscription OCID.
    CostAlertSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"costAlertSubscriptionId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetCostAlertSubscriptionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetCostAlertSubscriptionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetCostAlertSubscriptionRequest) RetryPolicy

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

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

func (GetCostAlertSubscriptionRequest) String

func (request GetCostAlertSubscriptionRequest) String() string

func (GetCostAlertSubscriptionRequest) ValidateEnumValue

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

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

type GetCostAlertSubscriptionResponse

GetCostAlertSubscriptionResponse wrapper for the GetCostAlertSubscription operation

type GetCostAlertSubscriptionResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAlertSubscription instance
    CostAlertSubscription `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 (GetCostAlertSubscriptionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCostAlertSubscriptionResponse) String

func (response GetCostAlertSubscriptionResponse) String() string

type GetCostAnomalyEventRequest

GetCostAnomalyEventRequest wrapper for the GetCostAnomalyEvent operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetCostAnomalyEvent.go.html to see an example of how to use GetCostAnomalyEventRequest.

type GetCostAnomalyEventRequest struct {

    // The unique costAnomalyEventId OCID.
    CostAnomalyEventId *string `mandatory:"true" contributesTo:"path" name:"costAnomalyEventId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetCostAnomalyEventRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetCostAnomalyEventRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetCostAnomalyEventRequest) RetryPolicy

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

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

func (GetCostAnomalyEventRequest) String

func (request GetCostAnomalyEventRequest) String() string

func (GetCostAnomalyEventRequest) ValidateEnumValue

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

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

type GetCostAnomalyEventResponse

GetCostAnomalyEventResponse wrapper for the GetCostAnomalyEvent operation

type GetCostAnomalyEventResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAnomalyEvent instance
    CostAnomalyEvent `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 (GetCostAnomalyEventResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCostAnomalyEventResponse) String

func (response GetCostAnomalyEventResponse) String() string

type GetCostAnomalyMonitorRequest

GetCostAnomalyMonitorRequest wrapper for the GetCostAnomalyMonitor operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetCostAnomalyMonitor.go.html to see an example of how to use GetCostAnomalyMonitorRequest.

type GetCostAnomalyMonitorRequest struct {

    // The unique costAnomalyMonitor OCID.
    CostAnomalyMonitorId *string `mandatory:"true" contributesTo:"path" name:"costAnomalyMonitorId"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (GetCostAnomalyMonitorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (GetCostAnomalyMonitorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (GetCostAnomalyMonitorRequest) RetryPolicy

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

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

func (GetCostAnomalyMonitorRequest) String

func (request GetCostAnomalyMonitorRequest) String() string

func (GetCostAnomalyMonitorRequest) ValidateEnumValue

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

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

type GetCostAnomalyMonitorResponse

GetCostAnomalyMonitorResponse wrapper for the GetCostAnomalyMonitor operation

type GetCostAnomalyMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAnomalyMonitor instance
    CostAnomalyMonitor `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 (GetCostAnomalyMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetCostAnomalyMonitorResponse) String

func (response GetCostAnomalyMonitorResponse) String() string

type LifecycleStateEnum

LifecycleStateEnum Enum with underlying type: string

type LifecycleStateEnum string

Set of constants representing the allowable values for LifecycleStateEnum Deprecated

const (
    AlertRuleLifecycleStateActive   LifecycleStateEnum = "ACTIVE"
    AlertRuleLifecycleStateInactive LifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for LifecycleStateEnum Deprecated

const (
    AlertRuleSummaryLifecycleStateActive   LifecycleStateEnum = "ACTIVE"
    AlertRuleSummaryLifecycleStateInactive LifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for LifecycleStateEnum Deprecated

const (
    BudgetLifecycleStateActive   LifecycleStateEnum = "ACTIVE"
    BudgetLifecycleStateInactive LifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for LifecycleStateEnum Deprecated

const (
    BudgetSummaryLifecycleStateActive   LifecycleStateEnum = "ACTIVE"
    BudgetSummaryLifecycleStateInactive LifecycleStateEnum = "INACTIVE"
)

Set of constants representing the allowable values for LifecycleStateEnum

const (
    LifecycleStateActive   LifecycleStateEnum = "ACTIVE"
    LifecycleStateInactive LifecycleStateEnum = "INACTIVE"
)

func GetLifecycleStateEnumValues

func GetLifecycleStateEnumValues() []LifecycleStateEnum

GetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum

func GetMappingLifecycleStateEnum

func GetMappingLifecycleStateEnum(val string) (LifecycleStateEnum, bool)

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

type ListAlertRulesLifecycleStateEnum

ListAlertRulesLifecycleStateEnum Enum with underlying type: string

type ListAlertRulesLifecycleStateEnum string

Set of constants representing the allowable values for ListAlertRulesLifecycleStateEnum

const (
    ListAlertRulesLifecycleStateActive   ListAlertRulesLifecycleStateEnum = "ACTIVE"
    ListAlertRulesLifecycleStateInactive ListAlertRulesLifecycleStateEnum = "INACTIVE"
)

func GetListAlertRulesLifecycleStateEnumValues

func GetListAlertRulesLifecycleStateEnumValues() []ListAlertRulesLifecycleStateEnum

GetListAlertRulesLifecycleStateEnumValues Enumerates the set of values for ListAlertRulesLifecycleStateEnum

func GetMappingListAlertRulesLifecycleStateEnum

func GetMappingListAlertRulesLifecycleStateEnum(val string) (ListAlertRulesLifecycleStateEnum, bool)

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

type ListAlertRulesRequest

ListAlertRulesRequest wrapper for the ListAlertRules operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListAlertRules.go.html to see an example of how to use ListAlertRulesRequest.

type ListAlertRulesRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListAlertRulesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. If not specified, the default is timeCreated.
    // The default sort order for timeCreated is DESC.
    // The default sort order for displayName is ASC in alphanumeric order.
    SortBy ListAlertRulesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The current state of the resource to filter by.
    LifecycleState ListAlertRulesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A user-friendly name. This does not have to be unique, and it's changeable.
    // Example: `My new resource`
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListAlertRulesRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListAlertRulesRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListAlertRulesRequest) RetryPolicy

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

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

func (ListAlertRulesRequest) String

func (request ListAlertRulesRequest) String() string

func (ListAlertRulesRequest) ValidateEnumValue

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

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

type ListAlertRulesResponse

ListAlertRulesResponse wrapper for the ListAlertRules operation

type ListAlertRulesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []AlertRuleSummary instances
    Items []AlertRuleSummary `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 pagination of a list of `AlertRuleSummary`. If this header appears in the response, then this
    // is a partial list of AlertRuleSummaries. Include this value as the `page` parameter in a subsequent
    // GET request to get the next batch of AlertRuleSummaries.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListAlertRulesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListAlertRulesResponse) String

func (response ListAlertRulesResponse) String() string

type ListAlertRulesSortByEnum

ListAlertRulesSortByEnum Enum with underlying type: string

type ListAlertRulesSortByEnum string

Set of constants representing the allowable values for ListAlertRulesSortByEnum

const (
    ListAlertRulesSortByTimecreated ListAlertRulesSortByEnum = "timeCreated"
    ListAlertRulesSortByDisplayname ListAlertRulesSortByEnum = "displayName"
)

func GetListAlertRulesSortByEnumValues

func GetListAlertRulesSortByEnumValues() []ListAlertRulesSortByEnum

GetListAlertRulesSortByEnumValues Enumerates the set of values for ListAlertRulesSortByEnum

func GetMappingListAlertRulesSortByEnum

func GetMappingListAlertRulesSortByEnum(val string) (ListAlertRulesSortByEnum, bool)

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

type ListAlertRulesSortOrderEnum

ListAlertRulesSortOrderEnum Enum with underlying type: string

type ListAlertRulesSortOrderEnum string

Set of constants representing the allowable values for ListAlertRulesSortOrderEnum

const (
    ListAlertRulesSortOrderAsc  ListAlertRulesSortOrderEnum = "ASC"
    ListAlertRulesSortOrderDesc ListAlertRulesSortOrderEnum = "DESC"
)

func GetListAlertRulesSortOrderEnumValues

func GetListAlertRulesSortOrderEnumValues() []ListAlertRulesSortOrderEnum

GetListAlertRulesSortOrderEnumValues Enumerates the set of values for ListAlertRulesSortOrderEnum

func GetMappingListAlertRulesSortOrderEnum

func GetMappingListAlertRulesSortOrderEnum(val string) (ListAlertRulesSortOrderEnum, bool)

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

type ListBudgetsLifecycleStateEnum

ListBudgetsLifecycleStateEnum Enum with underlying type: string

type ListBudgetsLifecycleStateEnum string

Set of constants representing the allowable values for ListBudgetsLifecycleStateEnum

const (
    ListBudgetsLifecycleStateActive   ListBudgetsLifecycleStateEnum = "ACTIVE"
    ListBudgetsLifecycleStateInactive ListBudgetsLifecycleStateEnum = "INACTIVE"
)

func GetListBudgetsLifecycleStateEnumValues

func GetListBudgetsLifecycleStateEnumValues() []ListBudgetsLifecycleStateEnum

GetListBudgetsLifecycleStateEnumValues Enumerates the set of values for ListBudgetsLifecycleStateEnum

func GetMappingListBudgetsLifecycleStateEnum

func GetMappingListBudgetsLifecycleStateEnum(val string) (ListBudgetsLifecycleStateEnum, bool)

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

type ListBudgetsRequest

ListBudgetsRequest wrapper for the ListBudgets operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListBudgets.go.html to see an example of how to use ListBudgetsRequest.

type ListBudgetsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListBudgetsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. If not specified, the default is timeCreated.
    // The default sort order for timeCreated is DESC.
    // The default sort order for displayName is ASC in alphanumeric order.
    SortBy ListBudgetsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The current state of the resource to filter by.
    LifecycleState ListBudgetsLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // A user-friendly name. This does not have to be unique, and it's changeable.
    // Example: `My new resource`
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The type of target to filter by:
    //   * ALL - List all budgets
    //   * COMPARTMENT - List all budgets with targetType == "COMPARTMENT"
    //   * TAG - List all budgets with targetType == "TAG"
    TargetType ListBudgetsTargetTypeEnum `mandatory:"false" contributesTo:"query" name:"targetType" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListBudgetsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListBudgetsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListBudgetsRequest) RetryPolicy

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

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

func (ListBudgetsRequest) String

func (request ListBudgetsRequest) String() string

func (ListBudgetsRequest) ValidateEnumValue

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

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

type ListBudgetsResponse

ListBudgetsResponse wrapper for the ListBudgets operation

type ListBudgetsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []BudgetSummary instances
    Items []BudgetSummary `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 pagination of a list of `Budget`s. If this header appears in the response, then this
    // is a partial list of budgets. Include this value as the `page` parameter in a subsequent
    // GET request to get the next batch of budgets.
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListBudgetsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListBudgetsResponse) String

func (response ListBudgetsResponse) String() string

type ListBudgetsSortByEnum

ListBudgetsSortByEnum Enum with underlying type: string

type ListBudgetsSortByEnum string

Set of constants representing the allowable values for ListBudgetsSortByEnum

const (
    ListBudgetsSortByTimecreated ListBudgetsSortByEnum = "timeCreated"
    ListBudgetsSortByDisplayname ListBudgetsSortByEnum = "displayName"
)

func GetListBudgetsSortByEnumValues

func GetListBudgetsSortByEnumValues() []ListBudgetsSortByEnum

GetListBudgetsSortByEnumValues Enumerates the set of values for ListBudgetsSortByEnum

func GetMappingListBudgetsSortByEnum

func GetMappingListBudgetsSortByEnum(val string) (ListBudgetsSortByEnum, bool)

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

type ListBudgetsSortOrderEnum

ListBudgetsSortOrderEnum Enum with underlying type: string

type ListBudgetsSortOrderEnum string

Set of constants representing the allowable values for ListBudgetsSortOrderEnum

const (
    ListBudgetsSortOrderAsc  ListBudgetsSortOrderEnum = "ASC"
    ListBudgetsSortOrderDesc ListBudgetsSortOrderEnum = "DESC"
)

func GetListBudgetsSortOrderEnumValues

func GetListBudgetsSortOrderEnumValues() []ListBudgetsSortOrderEnum

GetListBudgetsSortOrderEnumValues Enumerates the set of values for ListBudgetsSortOrderEnum

func GetMappingListBudgetsSortOrderEnum

func GetMappingListBudgetsSortOrderEnum(val string) (ListBudgetsSortOrderEnum, bool)

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

type ListBudgetsTargetTypeEnum

ListBudgetsTargetTypeEnum Enum with underlying type: string

type ListBudgetsTargetTypeEnum string

Set of constants representing the allowable values for ListBudgetsTargetTypeEnum

const (
    ListBudgetsTargetTypeAll         ListBudgetsTargetTypeEnum = "ALL"
    ListBudgetsTargetTypeCompartment ListBudgetsTargetTypeEnum = "COMPARTMENT"
    ListBudgetsTargetTypeTag         ListBudgetsTargetTypeEnum = "TAG"
)

func GetListBudgetsTargetTypeEnumValues

func GetListBudgetsTargetTypeEnumValues() []ListBudgetsTargetTypeEnum

GetListBudgetsTargetTypeEnumValues Enumerates the set of values for ListBudgetsTargetTypeEnum

func GetMappingListBudgetsTargetTypeEnum

func GetMappingListBudgetsTargetTypeEnum(val string) (ListBudgetsTargetTypeEnum, bool)

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

type ListCostAlertSubscriptionsRequest

ListCostAlertSubscriptionsRequest wrapper for the ListCostAlertSubscriptions operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListCostAlertSubscriptions.go.html to see an example of how to use ListCostAlertSubscriptionsRequest.

type ListCostAlertSubscriptionsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListCostAlertSubscriptionsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. If not specified, the default is timeCreated.
    // The default sort order for timeCreated is DESC.
    // The default sort order for displayName is ASC in alphanumeric order.
    SortBy ListCostAlertSubscriptionsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique, non-changeable resource name.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // The current state of the cost alert subscription.
    LifecycleState CostAlertSubscriptionLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListCostAlertSubscriptionsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListCostAlertSubscriptionsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListCostAlertSubscriptionsRequest) RetryPolicy

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

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

func (ListCostAlertSubscriptionsRequest) String

func (request ListCostAlertSubscriptionsRequest) String() string

func (ListCostAlertSubscriptionsRequest) ValidateEnumValue

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

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

type ListCostAlertSubscriptionsResponse

ListCostAlertSubscriptionsResponse wrapper for the ListCostAlertSubscriptions operation

type ListCostAlertSubscriptionsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of CostAlertSubscriptionCollection instances
    CostAlertSubscriptionCollection `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 (ListCostAlertSubscriptionsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCostAlertSubscriptionsResponse) String

func (response ListCostAlertSubscriptionsResponse) String() string

type ListCostAlertSubscriptionsSortByEnum

ListCostAlertSubscriptionsSortByEnum Enum with underlying type: string

type ListCostAlertSubscriptionsSortByEnum string

Set of constants representing the allowable values for ListCostAlertSubscriptionsSortByEnum

const (
    ListCostAlertSubscriptionsSortByTimecreated ListCostAlertSubscriptionsSortByEnum = "timeCreated"
    ListCostAlertSubscriptionsSortByName        ListCostAlertSubscriptionsSortByEnum = "name"
    ListCostAlertSubscriptionsSortById          ListCostAlertSubscriptionsSortByEnum = "id"
)

func GetListCostAlertSubscriptionsSortByEnumValues

func GetListCostAlertSubscriptionsSortByEnumValues() []ListCostAlertSubscriptionsSortByEnum

GetListCostAlertSubscriptionsSortByEnumValues Enumerates the set of values for ListCostAlertSubscriptionsSortByEnum

func GetMappingListCostAlertSubscriptionsSortByEnum

func GetMappingListCostAlertSubscriptionsSortByEnum(val string) (ListCostAlertSubscriptionsSortByEnum, bool)

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

type ListCostAlertSubscriptionsSortOrderEnum

ListCostAlertSubscriptionsSortOrderEnum Enum with underlying type: string

type ListCostAlertSubscriptionsSortOrderEnum string

Set of constants representing the allowable values for ListCostAlertSubscriptionsSortOrderEnum

const (
    ListCostAlertSubscriptionsSortOrderAsc  ListCostAlertSubscriptionsSortOrderEnum = "ASC"
    ListCostAlertSubscriptionsSortOrderDesc ListCostAlertSubscriptionsSortOrderEnum = "DESC"
)

func GetListCostAlertSubscriptionsSortOrderEnumValues

func GetListCostAlertSubscriptionsSortOrderEnumValues() []ListCostAlertSubscriptionsSortOrderEnum

GetListCostAlertSubscriptionsSortOrderEnumValues Enumerates the set of values for ListCostAlertSubscriptionsSortOrderEnum

func GetMappingListCostAlertSubscriptionsSortOrderEnum

func GetMappingListCostAlertSubscriptionsSortOrderEnum(val string) (ListCostAlertSubscriptionsSortOrderEnum, bool)

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

type ListCostAnomalyEventsRequest

ListCostAnomalyEventsRequest wrapper for the ListCostAnomalyEvents operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListCostAnomalyEvents.go.html to see an example of how to use ListCostAnomalyEventsRequest.

type ListCostAnomalyEventsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListCostAnomalyEventsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. If not specified, the default is timeAnomalyEventDate.
    // The default sort order for timeAnomalyEventDate is DESC.
    // The default sort order for costAnomalyName is ASC in alphanumeric order.
    SortBy ListCostAnomalyEventsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique, non-changeable resource name.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // The cost monitor ocid.
    CostAnomalyMonitorId *string `mandatory:"false" contributesTo:"query" name:"costAnomalyMonitorId"`

    // The target tenantId ocid filter param.
    TargetTenantId []string `contributesTo:"query" name:"targetTenantId" collectionFormat:"csv"`

    // startDate for anomaly event date.
    TimeAnomalyEventStartDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAnomalyEventStartDate"`

    // endDate for anomaly event date.
    TimeAnomalyEventEndDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAnomalyEventEndDate"`

    // region of the anomaly event.
    Region []string `contributesTo:"query" name:"region" collectionFormat:"csv"`

    // cost impact (absolute) of the anomaly event.
    CostImpact *float64 `mandatory:"false" contributesTo:"query" name:"costImpact"`

    // cost impact (percentage) of the anomaly event.
    CostImpactPercentage *float64 `mandatory:"false" contributesTo:"query" name:"costImpactPercentage"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListCostAnomalyEventsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListCostAnomalyEventsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListCostAnomalyEventsRequest) RetryPolicy

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

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

func (ListCostAnomalyEventsRequest) String

func (request ListCostAnomalyEventsRequest) String() string

func (ListCostAnomalyEventsRequest) ValidateEnumValue

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

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

type ListCostAnomalyEventsResponse

ListCostAnomalyEventsResponse wrapper for the ListCostAnomalyEvents operation

type ListCostAnomalyEventsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of CostAnomalyEventCollection instances
    CostAnomalyEventCollection `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 (ListCostAnomalyEventsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCostAnomalyEventsResponse) String

func (response ListCostAnomalyEventsResponse) String() string

type ListCostAnomalyEventsSortByEnum

ListCostAnomalyEventsSortByEnum Enum with underlying type: string

type ListCostAnomalyEventsSortByEnum string

Set of constants representing the allowable values for ListCostAnomalyEventsSortByEnum

const (
    ListCostAnomalyEventsSortByTimeanomalyeventdate ListCostAnomalyEventsSortByEnum = "timeAnomalyEventDate"
    ListCostAnomalyEventsSortByCostanomalyname      ListCostAnomalyEventsSortByEnum = "costAnomalyName"
    ListCostAnomalyEventsSortById                   ListCostAnomalyEventsSortByEnum = "id"
)

func GetListCostAnomalyEventsSortByEnumValues

func GetListCostAnomalyEventsSortByEnumValues() []ListCostAnomalyEventsSortByEnum

GetListCostAnomalyEventsSortByEnumValues Enumerates the set of values for ListCostAnomalyEventsSortByEnum

func GetMappingListCostAnomalyEventsSortByEnum

func GetMappingListCostAnomalyEventsSortByEnum(val string) (ListCostAnomalyEventsSortByEnum, bool)

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

type ListCostAnomalyEventsSortOrderEnum

ListCostAnomalyEventsSortOrderEnum Enum with underlying type: string

type ListCostAnomalyEventsSortOrderEnum string

Set of constants representing the allowable values for ListCostAnomalyEventsSortOrderEnum

const (
    ListCostAnomalyEventsSortOrderAsc  ListCostAnomalyEventsSortOrderEnum = "ASC"
    ListCostAnomalyEventsSortOrderDesc ListCostAnomalyEventsSortOrderEnum = "DESC"
)

func GetListCostAnomalyEventsSortOrderEnumValues

func GetListCostAnomalyEventsSortOrderEnumValues() []ListCostAnomalyEventsSortOrderEnum

GetListCostAnomalyEventsSortOrderEnumValues Enumerates the set of values for ListCostAnomalyEventsSortOrderEnum

func GetMappingListCostAnomalyEventsSortOrderEnum

func GetMappingListCostAnomalyEventsSortOrderEnum(val string) (ListCostAnomalyEventsSortOrderEnum, bool)

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

type ListCostAnomalyMonitorsRequest

ListCostAnomalyMonitorsRequest wrapper for the ListCostAnomalyMonitors operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListCostAnomalyMonitors.go.html to see an example of how to use ListCostAnomalyMonitorsRequest.

type ListCostAnomalyMonitorsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder ListCostAnomalyMonitorsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. If not specified, the default is timeCreated.
    // The default sort order for timeCreated is DESC.
    // The default sort order for displayName is ASC in alphanumeric order.
    SortBy ListCostAnomalyMonitorsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The current state of the cost monitor.
    LifecycleState CostAnomalyMonitorLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Unique, non-changeable resource name.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // The target tenantId ocid filter param.
    TargetTenantId []string `contributesTo:"query" name:"targetTenantId" collectionFormat:"csv"`

    // Cost Anomaly Monitor target resource filter region.
    Region []string `contributesTo:"query" name:"region" collectionFormat:"csv"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (ListCostAnomalyMonitorsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (ListCostAnomalyMonitorsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (ListCostAnomalyMonitorsRequest) RetryPolicy

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

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

func (ListCostAnomalyMonitorsRequest) String

func (request ListCostAnomalyMonitorsRequest) String() string

func (ListCostAnomalyMonitorsRequest) ValidateEnumValue

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

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

type ListCostAnomalyMonitorsResponse

ListCostAnomalyMonitorsResponse wrapper for the ListCostAnomalyMonitors operation

type ListCostAnomalyMonitorsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of CostAnomalyMonitorCollection instances
    CostAnomalyMonitorCollection `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 (ListCostAnomalyMonitorsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListCostAnomalyMonitorsResponse) String

func (response ListCostAnomalyMonitorsResponse) String() string

type ListCostAnomalyMonitorsSortByEnum

ListCostAnomalyMonitorsSortByEnum Enum with underlying type: string

type ListCostAnomalyMonitorsSortByEnum string

Set of constants representing the allowable values for ListCostAnomalyMonitorsSortByEnum

const (
    ListCostAnomalyMonitorsSortByTimecreated ListCostAnomalyMonitorsSortByEnum = "timeCreated"
    ListCostAnomalyMonitorsSortByName        ListCostAnomalyMonitorsSortByEnum = "name"
    ListCostAnomalyMonitorsSortById          ListCostAnomalyMonitorsSortByEnum = "id"
)

func GetListCostAnomalyMonitorsSortByEnumValues

func GetListCostAnomalyMonitorsSortByEnumValues() []ListCostAnomalyMonitorsSortByEnum

GetListCostAnomalyMonitorsSortByEnumValues Enumerates the set of values for ListCostAnomalyMonitorsSortByEnum

func GetMappingListCostAnomalyMonitorsSortByEnum

func GetMappingListCostAnomalyMonitorsSortByEnum(val string) (ListCostAnomalyMonitorsSortByEnum, bool)

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

type ListCostAnomalyMonitorsSortOrderEnum

ListCostAnomalyMonitorsSortOrderEnum Enum with underlying type: string

type ListCostAnomalyMonitorsSortOrderEnum string

Set of constants representing the allowable values for ListCostAnomalyMonitorsSortOrderEnum

const (
    ListCostAnomalyMonitorsSortOrderAsc  ListCostAnomalyMonitorsSortOrderEnum = "ASC"
    ListCostAnomalyMonitorsSortOrderDesc ListCostAnomalyMonitorsSortOrderEnum = "DESC"
)

func GetListCostAnomalyMonitorsSortOrderEnumValues

func GetListCostAnomalyMonitorsSortOrderEnumValues() []ListCostAnomalyMonitorsSortOrderEnum

GetListCostAnomalyMonitorsSortOrderEnumValues Enumerates the set of values for ListCostAnomalyMonitorsSortOrderEnum

func GetMappingListCostAnomalyMonitorsSortOrderEnum

func GetMappingListCostAnomalyMonitorsSortOrderEnum(val string) (ListCostAnomalyMonitorsSortOrderEnum, bool)

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

type MonitorTypeEnum

MonitorTypeEnum Enum with underlying type: string

type MonitorTypeEnum string

Set of constants representing the allowable values for MonitorTypeEnum

const (
    MonitorTypeDefault MonitorTypeEnum = "DEFAULT"
    MonitorTypeCustom  MonitorTypeEnum = "CUSTOM"
)

func GetMappingMonitorTypeEnum

func GetMappingMonitorTypeEnum(val string) (MonitorTypeEnum, bool)

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

func GetMonitorTypeEnumValues

func GetMonitorTypeEnumValues() []MonitorTypeEnum

GetMonitorTypeEnumValues Enumerates the set of values for MonitorTypeEnum

type ProcessingPeriodTypeEnum

ProcessingPeriodTypeEnum Enum with underlying type: string

type ProcessingPeriodTypeEnum string

Set of constants representing the allowable values for ProcessingPeriodTypeEnum

const (
    ProcessingPeriodTypeInvoice   ProcessingPeriodTypeEnum = "INVOICE"
    ProcessingPeriodTypeMonth     ProcessingPeriodTypeEnum = "MONTH"
    ProcessingPeriodTypeSingleUse ProcessingPeriodTypeEnum = "SINGLE_USE"
)

func GetMappingProcessingPeriodTypeEnum

func GetMappingProcessingPeriodTypeEnum(val string) (ProcessingPeriodTypeEnum, bool)

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

func GetProcessingPeriodTypeEnumValues

func GetProcessingPeriodTypeEnumValues() []ProcessingPeriodTypeEnum

GetProcessingPeriodTypeEnumValues Enumerates the set of values for ProcessingPeriodTypeEnum

type ResetPeriodEnum

ResetPeriodEnum Enum with underlying type: string

type ResetPeriodEnum string

Set of constants representing the allowable values for ResetPeriodEnum Deprecated

const (
    BudgetResetPeriodMonthly ResetPeriodEnum = "MONTHLY"
)

Set of constants representing the allowable values for ResetPeriodEnum Deprecated

const (
    BudgetSummaryResetPeriodMonthly ResetPeriodEnum = "MONTHLY"
)

Set of constants representing the allowable values for ResetPeriodEnum Deprecated

const (
    CreateBudgetDetailsResetPeriodMonthly ResetPeriodEnum = "MONTHLY"
)

Set of constants representing the allowable values for ResetPeriodEnum

const (
    ResetPeriodMonthly ResetPeriodEnum = "MONTHLY"
)

Set of constants representing the allowable values for ResetPeriodEnum Deprecated

const (
    UpdateBudgetDetailsResetPeriodMonthly ResetPeriodEnum = "MONTHLY"
)

func GetMappingResetPeriodEnum

func GetMappingResetPeriodEnum(val string) (ResetPeriodEnum, bool)

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

func GetResetPeriodEnumValues

func GetResetPeriodEnumValues() []ResetPeriodEnum

GetResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum

type RootCauseDetail

RootCauseDetail The root cause details of the cost anomaly event.

type RootCauseDetail struct {

    // The json object representing the root cause details of the anomaly event.
    Value *interface{} `mandatory:"false" json:"value"`
}

func (RootCauseDetail) String

func (m RootCauseDetail) String() string

func (RootCauseDetail) ValidateEnumValue

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

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

type SortByForBudgetEnum

SortByForBudgetEnum Enum with underlying type: string

type SortByForBudgetEnum string

Set of constants representing the allowable values for SortByForBudgetEnum

const (
    SortByForBudgetTimeCreated SortByForBudgetEnum = "timeCreated"
    SortByForBudgetDisplayName SortByForBudgetEnum = "displayName"
)

func GetMappingSortByForBudgetEnum

func GetMappingSortByForBudgetEnum(val string) (SortByForBudgetEnum, bool)

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

func GetSortByForBudgetEnumValues

func GetSortByForBudgetEnumValues() []SortByForBudgetEnum

GetSortByForBudgetEnumValues Enumerates the set of values for SortByForBudgetEnum

type SortByForCostAdEnum

SortByForCostAdEnum Enum with underlying type: string

type SortByForCostAdEnum string

Set of constants representing the allowable values for SortByForCostAdEnum

const (
    SortByForCostAdTimeCreated SortByForCostAdEnum = "timeCreated"
    SortByForCostAdName        SortByForCostAdEnum = "name"
    SortByForCostAdId          SortByForCostAdEnum = "id"
)

func GetMappingSortByForCostAdEnum

func GetMappingSortByForCostAdEnum(val string) (SortByForCostAdEnum, bool)

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

func GetSortByForCostAdEnumValues

func GetSortByForCostAdEnumValues() []SortByForCostAdEnum

GetSortByForCostAdEnumValues Enumerates the set of values for SortByForCostAdEnum

type SortByForCostAnomalyEventEnum

SortByForCostAnomalyEventEnum Enum with underlying type: string

type SortByForCostAnomalyEventEnum string

Set of constants representing the allowable values for SortByForCostAnomalyEventEnum

const (
    SortByForCostAnomalyEventTimeAnomalyEventDate SortByForCostAnomalyEventEnum = "timeAnomalyEventDate"
    SortByForCostAnomalyEventCostAnomalyName      SortByForCostAnomalyEventEnum = "costAnomalyName"
    SortByForCostAnomalyEventId                   SortByForCostAnomalyEventEnum = "id"
)

func GetMappingSortByForCostAnomalyEventEnum

func GetMappingSortByForCostAnomalyEventEnum(val string) (SortByForCostAnomalyEventEnum, bool)

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

func GetSortByForCostAnomalyEventEnumValues

func GetSortByForCostAnomalyEventEnumValues() []SortByForCostAnomalyEventEnum

GetSortByForCostAnomalyEventEnumValues Enumerates the set of values for SortByForCostAnomalyEventEnum

type SortOrderEnum

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

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

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

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SummarizeCostAnomalyEventAnalyticsRequest

SummarizeCostAnomalyEventAnalyticsRequest wrapper for the SummarizeCostAnomalyEventAnalytics operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/SummarizeCostAnomalyEventAnalytics.go.html to see an example of how to use SummarizeCostAnomalyEventAnalyticsRequest.

type SummarizeCostAnomalyEventAnalyticsRequest struct {

    // The ID of the compartment in which to list resources.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // The maximum number of items to return.
    Limit *int `mandatory:"false" contributesTo:"query" name:"limit"`

    // The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The sort order to use, either 'asc' or 'desc'.
    SortOrder SummarizeCostAnomalyEventAnalyticsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field to sort by. If not specified, the default is timeAnomalyEventDate.
    // The default sort order for timeAnomalyEventDate is DESC.
    // The default sort order for costAnomalyName is ASC in alphanumeric order.
    SortBy SummarizeCostAnomalyEventAnalyticsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // Unique, non-changeable resource name.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // The cost monitor ocid.
    CostAnomalyMonitorId *string `mandatory:"false" contributesTo:"query" name:"costAnomalyMonitorId"`

    // The target tenantId ocid filter param.
    TargetTenantId []string `contributesTo:"query" name:"targetTenantId" collectionFormat:"csv"`

    // startDate for anomaly event date.
    TimeAnomalyEventStartDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAnomalyEventStartDate"`

    // endDate for anomaly event date.
    TimeAnomalyEventEndDate *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeAnomalyEventEndDate"`

    // region of the anomaly event.
    Region []string `contributesTo:"query" name:"region" collectionFormat:"csv"`

    // cost impact (absolute) of the anomaly event.
    CostImpact *float64 `mandatory:"false" contributesTo:"query" name:"costImpact"`

    // cost impact (percentage) of the anomaly event.
    CostImpactPercentage *float64 `mandatory:"false" contributesTo:"query" name:"costImpactPercentage"`

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (SummarizeCostAnomalyEventAnalyticsRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (SummarizeCostAnomalyEventAnalyticsRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (SummarizeCostAnomalyEventAnalyticsRequest) RetryPolicy

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

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

func (SummarizeCostAnomalyEventAnalyticsRequest) String

func (request SummarizeCostAnomalyEventAnalyticsRequest) String() string

func (SummarizeCostAnomalyEventAnalyticsRequest) ValidateEnumValue

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

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

type SummarizeCostAnomalyEventAnalyticsResponse

SummarizeCostAnomalyEventAnalyticsResponse wrapper for the SummarizeCostAnomalyEventAnalytics operation

type SummarizeCostAnomalyEventAnalyticsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of CostAnomalyEventAnalyticCollection instances
    CostAnomalyEventAnalyticCollection `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 (SummarizeCostAnomalyEventAnalyticsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (SummarizeCostAnomalyEventAnalyticsResponse) String

func (response SummarizeCostAnomalyEventAnalyticsResponse) String() string

type SummarizeCostAnomalyEventAnalyticsSortByEnum

SummarizeCostAnomalyEventAnalyticsSortByEnum Enum with underlying type: string

type SummarizeCostAnomalyEventAnalyticsSortByEnum string

Set of constants representing the allowable values for SummarizeCostAnomalyEventAnalyticsSortByEnum

const (
    SummarizeCostAnomalyEventAnalyticsSortByTimeanomalyeventdate SummarizeCostAnomalyEventAnalyticsSortByEnum = "timeAnomalyEventDate"
    SummarizeCostAnomalyEventAnalyticsSortByCostanomalyname      SummarizeCostAnomalyEventAnalyticsSortByEnum = "costAnomalyName"
    SummarizeCostAnomalyEventAnalyticsSortById                   SummarizeCostAnomalyEventAnalyticsSortByEnum = "id"
)

func GetMappingSummarizeCostAnomalyEventAnalyticsSortByEnum

func GetMappingSummarizeCostAnomalyEventAnalyticsSortByEnum(val string) (SummarizeCostAnomalyEventAnalyticsSortByEnum, bool)

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

func GetSummarizeCostAnomalyEventAnalyticsSortByEnumValues

func GetSummarizeCostAnomalyEventAnalyticsSortByEnumValues() []SummarizeCostAnomalyEventAnalyticsSortByEnum

GetSummarizeCostAnomalyEventAnalyticsSortByEnumValues Enumerates the set of values for SummarizeCostAnomalyEventAnalyticsSortByEnum

type SummarizeCostAnomalyEventAnalyticsSortOrderEnum

SummarizeCostAnomalyEventAnalyticsSortOrderEnum Enum with underlying type: string

type SummarizeCostAnomalyEventAnalyticsSortOrderEnum string

Set of constants representing the allowable values for SummarizeCostAnomalyEventAnalyticsSortOrderEnum

const (
    SummarizeCostAnomalyEventAnalyticsSortOrderAsc  SummarizeCostAnomalyEventAnalyticsSortOrderEnum = "ASC"
    SummarizeCostAnomalyEventAnalyticsSortOrderDesc SummarizeCostAnomalyEventAnalyticsSortOrderEnum = "DESC"
)

func GetMappingSummarizeCostAnomalyEventAnalyticsSortOrderEnum

func GetMappingSummarizeCostAnomalyEventAnalyticsSortOrderEnum(val string) (SummarizeCostAnomalyEventAnalyticsSortOrderEnum, bool)

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

func GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumValues

func GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumValues() []SummarizeCostAnomalyEventAnalyticsSortOrderEnum

GetSummarizeCostAnomalyEventAnalyticsSortOrderEnumValues Enumerates the set of values for SummarizeCostAnomalyEventAnalyticsSortOrderEnum

type Tag

Tag The tag used for filtering.

type Tag struct {

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

    // The tag key.
    Key *string `mandatory:"false" json:"key"`

    // The tag value.
    Value *string `mandatory:"false" json:"value"`
}

func (Tag) String

func (m Tag) String() string

func (Tag) ValidateEnumValue

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

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

type TargetResourceFilter

TargetResourceFilter The filter object to target resources for cost monitor. Cost generated by one or more resources identified by this filter is monitored for anomalous deviations.

type TargetResourceFilter struct {

    // The filter operator. Example: 'AND', 'OR'.
    Operator TargetResourceFilterOperatorEnum `mandatory:"false" json:"operator,omitempty"`

    // The dimensions to filter on.
    Dimensions []Dimension `mandatory:"false" json:"dimensions"`

    // The tags to filter on.
    Tags []Tag `mandatory:"false" json:"tags"`

    // The nested filter object.
    Filters []TargetResourceFilter `mandatory:"false" json:"filters"`
}

func (TargetResourceFilter) String

func (m TargetResourceFilter) String() string

func (TargetResourceFilter) ValidateEnumValue

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

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

type TargetResourceFilterOperatorEnum

TargetResourceFilterOperatorEnum Enum with underlying type: string

type TargetResourceFilterOperatorEnum string

Set of constants representing the allowable values for TargetResourceFilterOperatorEnum

const (
    TargetResourceFilterOperatorAnd TargetResourceFilterOperatorEnum = "AND"
    TargetResourceFilterOperatorOr  TargetResourceFilterOperatorEnum = "OR"
)

func GetMappingTargetResourceFilterOperatorEnum

func GetMappingTargetResourceFilterOperatorEnum(val string) (TargetResourceFilterOperatorEnum, bool)

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

func GetTargetResourceFilterOperatorEnumValues

func GetTargetResourceFilterOperatorEnumValues() []TargetResourceFilterOperatorEnum

GetTargetResourceFilterOperatorEnumValues Enumerates the set of values for TargetResourceFilterOperatorEnum

type TargetTypeEnum

TargetTypeEnum Enum with underlying type: string

type TargetTypeEnum string

Set of constants representing the allowable values for TargetTypeEnum Deprecated

const (
    BudgetTargetTypeCompartment TargetTypeEnum = "COMPARTMENT"
    BudgetTargetTypeTag         TargetTypeEnum = "TAG"
)

Set of constants representing the allowable values for TargetTypeEnum Deprecated

const (
    BudgetSummaryTargetTypeCompartment TargetTypeEnum = "COMPARTMENT"
    BudgetSummaryTargetTypeTag         TargetTypeEnum = "TAG"
)

Set of constants representing the allowable values for TargetTypeEnum Deprecated

const (
    CreateBudgetDetailsTargetTypeCompartment TargetTypeEnum = "COMPARTMENT"
    CreateBudgetDetailsTargetTypeTag         TargetTypeEnum = "TAG"
)

Set of constants representing the allowable values for TargetTypeEnum

const (
    TargetTypeCompartment TargetTypeEnum = "COMPARTMENT"
    TargetTypeTag         TargetTypeEnum = "TAG"
)

func GetMappingTargetTypeEnum

func GetMappingTargetTypeEnum(val string) (TargetTypeEnum, bool)

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

func GetTargetTypeEnumValues

func GetTargetTypeEnumValues() []TargetTypeEnum

GetTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum

type ThresholdTypeEnum

ThresholdTypeEnum Enum with underlying type: string

type ThresholdTypeEnum string

Set of constants representing the allowable values for ThresholdTypeEnum Deprecated

const (
    AlertRuleThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE"
    AlertRuleThresholdTypeAbsolute   ThresholdTypeEnum = "ABSOLUTE"
)

Set of constants representing the allowable values for ThresholdTypeEnum Deprecated

const (
    AlertRuleSummaryThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE"
    AlertRuleSummaryThresholdTypeAbsolute   ThresholdTypeEnum = "ABSOLUTE"
)

Set of constants representing the allowable values for ThresholdTypeEnum Deprecated

const (
    CreateAlertRuleDetailsThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE"
    CreateAlertRuleDetailsThresholdTypeAbsolute   ThresholdTypeEnum = "ABSOLUTE"
)

Set of constants representing the allowable values for ThresholdTypeEnum

const (
    ThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE"
    ThresholdTypeAbsolute   ThresholdTypeEnum = "ABSOLUTE"
)

Set of constants representing the allowable values for ThresholdTypeEnum Deprecated

const (
    UpdateAlertRuleDetailsThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE"
    UpdateAlertRuleDetailsThresholdTypeAbsolute   ThresholdTypeEnum = "ABSOLUTE"
)

func GetMappingThresholdTypeEnum

func GetMappingThresholdTypeEnum(val string) (ThresholdTypeEnum, bool)

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

func GetThresholdTypeEnumValues

func GetThresholdTypeEnumValues() []ThresholdTypeEnum

GetThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum

type UpdateAlertRuleDetails

UpdateAlertRuleDetails The update alert rule details.

type UpdateAlertRuleDetails struct {

    // The name of the alert rule. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The type of the alert. Valid values are ACTUAL (the alert triggers based on actual usage), or
    // FORECAST (the alert triggers based on predicted usage).
    Type AlertTypeEnum `mandatory:"false" json:"type,omitempty"`

    // The threshold for triggering the alert, expressed as a whole number or decimal value.
    // If the thresholdType is ABSOLUTE, the threshold can have at most 12 digits before the decimal point, and up to two digits after the decimal point.
    // If the thresholdType is PERCENTAGE, the maximum value is 10000 and can have up to two digits after the decimal point.
    Threshold *float32 `mandatory:"false" json:"threshold"`

    // The type of threshold.
    ThresholdType ThresholdTypeEnum `mandatory:"false" json:"thresholdType,omitempty"`

    // The audience that receives the alert when it triggers. If you need to clear out this value, pass in an empty string instead of a null value.
    Recipients *string `mandatory:"false" json:"recipients"`

    // The description of the alert rule.
    Description *string `mandatory:"false" json:"description"`

    // The message to be delivered to the recipients when an alert is triggered.
    Message *string `mandatory:"false" json:"message"`

    // 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 (UpdateAlertRuleDetails) String

func (m UpdateAlertRuleDetails) String() string

func (UpdateAlertRuleDetails) ValidateEnumValue

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

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

type UpdateAlertRuleDetailsThresholdTypeEnum

UpdateAlertRuleDetailsThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated

type UpdateAlertRuleDetailsThresholdTypeEnum = ThresholdTypeEnum

type UpdateAlertRuleDetailsTypeEnum

UpdateAlertRuleDetailsTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated

type UpdateAlertRuleDetailsTypeEnum = AlertTypeEnum

type UpdateAlertRuleRequest

UpdateAlertRuleRequest wrapper for the UpdateAlertRule operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateAlertRule.go.html to see an example of how to use UpdateAlertRuleRequest.

type UpdateAlertRuleRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

    // The unique Alert Rule OCID.
    AlertRuleId *string `mandatory:"true" contributesTo:"path" name:"alertRuleId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateAlertRuleRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateAlertRuleRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateAlertRuleRequest) RetryPolicy

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

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

func (UpdateAlertRuleRequest) String

func (request UpdateAlertRuleRequest) String() string

func (UpdateAlertRuleRequest) ValidateEnumValue

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

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

type UpdateAlertRuleResponse

UpdateAlertRuleResponse wrapper for the UpdateAlertRule operation

type UpdateAlertRuleResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The AlertRule instance
    AlertRule `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 (UpdateAlertRuleResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateAlertRuleResponse) String

func (response UpdateAlertRuleResponse) String() string

type UpdateBudgetDetails

UpdateBudgetDetails The update budget details.

type UpdateBudgetDetails struct {

    // The displayName of the budget. Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The description of the budget.
    Description *string `mandatory:"false" json:"description"`

    // The amount of the budget expressed as a whole number in the currency of the customer's rate card.
    Amount *float32 `mandatory:"false" json:"amount"`

    // The number of days offset from the first day of the month, at which the budget processing period starts. In months that have fewer days than this value, processing will begin on the last day of that month. For example, for a value of 12, processing starts every month on the 12th at midnight.
    BudgetProcessingPeriodStartOffset *int `mandatory:"false" json:"budgetProcessingPeriodStartOffset"`

    // The type of the budget processing period. Valid values are INVOICE, MONTH, and SINGLE_USE.
    ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"`

    // The date when the one-time budget begins. For example, `2023-07-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    StartDate *common.SDKTime `mandatory:"false" json:"startDate"`

    // The time when the one-time budget concludes. For example, `2023-08-12T16:01:19.847222+05:30`. The date-time format conforms to RFC 3339, and will be truncated to the starting point of the date provided after being converted to UTC time.
    EndDate *common.SDKTime `mandatory:"false" json:"endDate"`

    // The reset period for the budget.
    ResetPeriod ResetPeriodEnum `mandatory:"false" json:"resetPeriod,omitempty"`

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

    // Usage of system tag keys. These predefined keys are scoped to namespaces.
    // Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`
    SystemTags map[string]map[string]interface{} `mandatory:"false" json:"systemTags"`
}

func (UpdateBudgetDetails) String

func (m UpdateBudgetDetails) String() string

func (UpdateBudgetDetails) ValidateEnumValue

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

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

type UpdateBudgetDetailsResetPeriodEnum

UpdateBudgetDetailsResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated

type UpdateBudgetDetailsResetPeriodEnum = ResetPeriodEnum

type UpdateBudgetRequest

UpdateBudgetRequest wrapper for the UpdateBudget operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateBudget.go.html to see an example of how to use UpdateBudgetRequest.

type UpdateBudgetRequest struct {

    // The unique budget OCID.
    BudgetId *string `mandatory:"true" contributesTo:"path" name:"budgetId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateBudgetRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateBudgetRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateBudgetRequest) RetryPolicy

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

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

func (UpdateBudgetRequest) String

func (request UpdateBudgetRequest) String() string

func (UpdateBudgetRequest) ValidateEnumValue

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

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

type UpdateBudgetResponse

UpdateBudgetResponse wrapper for the UpdateBudget operation

type UpdateBudgetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Budget instance
    Budget `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 (UpdateBudgetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateBudgetResponse) String

func (response UpdateBudgetResponse) String() string

type UpdateCostAlertSubscriptionDetails

UpdateCostAlertSubscriptionDetails The update CostAlertSubscriptionDetails details.

type UpdateCostAlertSubscriptionDetails struct {

    // The description of the cost alert subscription.
    Description *string `mandatory:"false" json:"description"`

    // The notification channels string.
    Channels *string `mandatory:"false" json:"channels"`

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

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

func (UpdateCostAlertSubscriptionDetails) String

func (m UpdateCostAlertSubscriptionDetails) String() string

func (UpdateCostAlertSubscriptionDetails) ValidateEnumValue

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

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

type UpdateCostAlertSubscriptionRequest

UpdateCostAlertSubscriptionRequest wrapper for the UpdateCostAlertSubscription operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateCostAlertSubscription.go.html to see an example of how to use UpdateCostAlertSubscriptionRequest.

type UpdateCostAlertSubscriptionRequest struct {

    // The unique costAlertSubscription OCID.
    CostAlertSubscriptionId *string `mandatory:"true" contributesTo:"path" name:"costAlertSubscriptionId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateCostAlertSubscriptionRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateCostAlertSubscriptionRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateCostAlertSubscriptionRequest) RetryPolicy

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

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

func (UpdateCostAlertSubscriptionRequest) String

func (request UpdateCostAlertSubscriptionRequest) String() string

func (UpdateCostAlertSubscriptionRequest) ValidateEnumValue

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

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

type UpdateCostAlertSubscriptionResponse

UpdateCostAlertSubscriptionResponse wrapper for the UpdateCostAlertSubscription operation

type UpdateCostAlertSubscriptionResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAlertSubscription instance
    CostAlertSubscription `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 (UpdateCostAlertSubscriptionResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCostAlertSubscriptionResponse) String

func (response UpdateCostAlertSubscriptionResponse) String() string

type UpdateCostAnomalyEventDetails

UpdateCostAnomalyEventDetails The update CostAnomalyEvent details.

type UpdateCostAnomalyEventDetails struct {

    // The feedback response for the cost anomaly event.
    FeedbackResponse CostAnomalyEventFeedbackResponseEnum `mandatory:"false" json:"feedbackResponse,omitempty"`

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

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

func (UpdateCostAnomalyEventDetails) String

func (m UpdateCostAnomalyEventDetails) String() string

func (UpdateCostAnomalyEventDetails) ValidateEnumValue

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

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

type UpdateCostAnomalyEventRequest

UpdateCostAnomalyEventRequest wrapper for the UpdateCostAnomalyEvent operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateCostAnomalyEvent.go.html to see an example of how to use UpdateCostAnomalyEventRequest.

type UpdateCostAnomalyEventRequest struct {

    // The unique costAnomalyEventId OCID.
    CostAnomalyEventId *string `mandatory:"true" contributesTo:"path" name:"costAnomalyEventId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateCostAnomalyEventRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateCostAnomalyEventRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateCostAnomalyEventRequest) RetryPolicy

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

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

func (UpdateCostAnomalyEventRequest) String

func (request UpdateCostAnomalyEventRequest) String() string

func (UpdateCostAnomalyEventRequest) ValidateEnumValue

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

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

type UpdateCostAnomalyEventResponse

UpdateCostAnomalyEventResponse wrapper for the UpdateCostAnomalyEvent operation

type UpdateCostAnomalyEventResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAnomalyEvent instance
    CostAnomalyEvent `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 (UpdateCostAnomalyEventResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCostAnomalyEventResponse) String

func (response UpdateCostAnomalyEventResponse) String() string

type UpdateCostAnomalyMonitorDetails

UpdateCostAnomalyMonitorDetails Update CostAnomalyMonitor details.

type UpdateCostAnomalyMonitorDetails struct {

    // The description of the cost anomaly monitor.
    Description *string `mandatory:"false" json:"description"`

    CostAlertSubscriptionMap *CostAlertSubscriptionMap `mandatory:"false" json:"costAlertSubscriptionMap"`

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

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

func (UpdateCostAnomalyMonitorDetails) String

func (m UpdateCostAnomalyMonitorDetails) String() string

func (UpdateCostAnomalyMonitorDetails) ValidateEnumValue

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

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

type UpdateCostAnomalyMonitorRequest

UpdateCostAnomalyMonitorRequest wrapper for the UpdateCostAnomalyMonitor operation

See also

Click https://docs.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateCostAnomalyMonitor.go.html to see an example of how to use UpdateCostAnomalyMonitorRequest.

type UpdateCostAnomalyMonitorRequest struct {

    // The unique costAnomalyMonitor OCID.
    CostAnomalyMonitorId *string `mandatory:"true" contributesTo:"path" name:"costAnomalyMonitorId"`

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

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

    // The client request ID for tracing.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

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

func (UpdateCostAnomalyMonitorRequest) BinaryRequestBody

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

BinaryRequestBody implements the OCIRequest interface

func (UpdateCostAnomalyMonitorRequest) HTTPRequest

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

HTTPRequest implements the OCIRequest interface

func (UpdateCostAnomalyMonitorRequest) RetryPolicy

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

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

func (UpdateCostAnomalyMonitorRequest) String

func (request UpdateCostAnomalyMonitorRequest) String() string

func (UpdateCostAnomalyMonitorRequest) ValidateEnumValue

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

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

type UpdateCostAnomalyMonitorResponse

UpdateCostAnomalyMonitorResponse wrapper for the UpdateCostAnomalyMonitor operation

type UpdateCostAnomalyMonitorResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The CostAnomalyMonitor instance
    CostAnomalyMonitor `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 (UpdateCostAnomalyMonitorResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateCostAnomalyMonitorResponse) String

func (response UpdateCostAnomalyMonitorResponse) String() string