Versions in this module Expand all Collapse all v55 v55.1.0 Jan 18, 2022 v55.0.0 Jan 11, 2022 Changes in this version + var GetAlertRuleLifecycleStateEnumValues = GetLifecycleStateEnumValues + var GetAlertRuleSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues + var GetAlertRuleSummaryThresholdTypeEnumValues = GetThresholdTypeEnumValues + var GetAlertRuleSummaryTypeEnumValues = GetAlertTypeEnumValues + var GetAlertRuleThresholdTypeEnumValues = GetThresholdTypeEnumValues + var GetAlertRuleTypeEnumValues = GetAlertTypeEnumValues + var GetBudgetLifecycleStateEnumValues = GetLifecycleStateEnumValues + var GetBudgetResetPeriodEnumValues = GetResetPeriodEnumValues + var GetBudgetSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues + var GetBudgetSummaryResetPeriodEnumValues = GetResetPeriodEnumValues + var GetBudgetSummaryTargetTypeEnumValues = GetTargetTypeEnumValues + var GetBudgetTargetTypeEnumValues = GetTargetTypeEnumValues + var GetCreateAlertRuleDetailsThresholdTypeEnumValues = GetThresholdTypeEnumValues + var GetCreateAlertRuleDetailsTypeEnumValues = GetAlertTypeEnumValues + var GetCreateBudgetDetailsResetPeriodEnumValues = GetResetPeriodEnumValues + var GetCreateBudgetDetailsTargetTypeEnumValues = GetTargetTypeEnumValues + var GetUpdateAlertRuleDetailsThresholdTypeEnumValues = GetThresholdTypeEnumValues + var GetUpdateAlertRuleDetailsTypeEnumValues = GetAlertTypeEnumValues + var GetUpdateBudgetDetailsResetPeriodEnumValues = GetResetPeriodEnumValues + type AlertRule struct + BudgetId *string + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + FreeformTags map[string]string + Id *string + LifecycleState LifecycleStateEnum + Message *string + Recipients *string + Threshold *float32 + ThresholdType ThresholdTypeEnum + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + Type AlertTypeEnum + Version *int + func (m AlertRule) String() string + type AlertRuleLifecycleStateEnum = LifecycleStateEnum + type AlertRuleSummary struct + BudgetId *string + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + FreeformTags map[string]string + Id *string + LifecycleState LifecycleStateEnum + Message *string + Recipients *string + Threshold *float32 + ThresholdType ThresholdTypeEnum + TimeCreated *common.SDKTime + TimeUpdated *common.SDKTime + Type AlertTypeEnum + Version *int + func (m AlertRuleSummary) String() string + type AlertRuleSummaryLifecycleStateEnum = LifecycleStateEnum + type AlertRuleSummaryThresholdTypeEnum = ThresholdTypeEnum + type AlertRuleSummaryTypeEnum = AlertTypeEnum + type AlertRuleThresholdTypeEnum = ThresholdTypeEnum + type AlertRuleTypeEnum = AlertTypeEnum + type AlertTypeEnum string + const AlertRuleSummaryTypeActual + const AlertRuleSummaryTypeForecast + const AlertRuleTypeActual + const AlertRuleTypeForecast + const AlertTypeActual + const AlertTypeForecast + const CreateAlertRuleDetailsTypeActual + const CreateAlertRuleDetailsTypeForecast + const UpdateAlertRuleDetailsTypeActual + const UpdateAlertRuleDetailsTypeForecast + func GetAlertTypeEnumValues() []AlertTypeEnum + type Budget struct + ActualSpend *float32 + AlertRuleCount *int + Amount *float32 + BudgetProcessingPeriodStartOffset *int + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + ForecastedSpend *float32 + FreeformTags map[string]string + Id *string + LifecycleState LifecycleStateEnum + ResetPeriod ResetPeriodEnum + TargetCompartmentId *string + TargetType TargetTypeEnum + Targets []string + TimeCreated *common.SDKTime + TimeSpendComputed *common.SDKTime + TimeUpdated *common.SDKTime + Version *int + func (m Budget) String() string + type BudgetClient struct + 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) SetRegion(region string) + 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) 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 = LifecycleStateEnum + type BudgetResetPeriodEnum = ResetPeriodEnum + type BudgetSummary struct + ActualSpend *float32 + AlertRuleCount *int + Amount *float32 + BudgetProcessingPeriodStartOffset *int + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + ForecastedSpend *float32 + FreeformTags map[string]string + Id *string + LifecycleState LifecycleStateEnum + ResetPeriod ResetPeriodEnum + TargetCompartmentId *string + TargetType TargetTypeEnum + Targets []string + TimeCreated *common.SDKTime + TimeSpendComputed *common.SDKTime + TimeUpdated *common.SDKTime + Version *int + func (m BudgetSummary) String() string + type BudgetSummaryLifecycleStateEnum = LifecycleStateEnum + type BudgetSummaryResetPeriodEnum = ResetPeriodEnum + type BudgetSummaryTargetTypeEnum = TargetTypeEnum + type BudgetTargetTypeEnum = TargetTypeEnum + type CreateAlertRuleDetails struct + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + FreeformTags map[string]string + Message *string + Recipients *string + Threshold *float32 + ThresholdType ThresholdTypeEnum + Type AlertTypeEnum + func (m CreateAlertRuleDetails) String() string + type CreateAlertRuleDetailsThresholdTypeEnum = ThresholdTypeEnum + type CreateAlertRuleDetailsTypeEnum = AlertTypeEnum + type CreateAlertRuleRequest struct + BudgetId *string + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request CreateAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request CreateAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request CreateAlertRuleRequest) RetryPolicy() *common.RetryPolicy + func (request CreateAlertRuleRequest) String() string + type CreateAlertRuleResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CreateAlertRuleResponse) HTTPResponse() *http.Response + func (response CreateAlertRuleResponse) String() string + type CreateBudgetDetails struct + Amount *float32 + BudgetProcessingPeriodStartOffset *int + CompartmentId *string + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + FreeformTags map[string]string + ResetPeriod ResetPeriodEnum + TargetCompartmentId *string + TargetType TargetTypeEnum + Targets []string + func (m CreateBudgetDetails) String() string + type CreateBudgetDetailsResetPeriodEnum = ResetPeriodEnum + type CreateBudgetDetailsTargetTypeEnum = TargetTypeEnum + type CreateBudgetRequest struct + OpcRequestId *string + OpcRetryToken *string + RequestMetadata common.RequestMetadata + func (request CreateBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request CreateBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request CreateBudgetRequest) RetryPolicy() *common.RetryPolicy + func (request CreateBudgetRequest) String() string + type CreateBudgetResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response CreateBudgetResponse) HTTPResponse() *http.Response + func (response CreateBudgetResponse) String() string + type DeleteAlertRuleRequest struct + AlertRuleId *string + BudgetId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request DeleteAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request DeleteAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request DeleteAlertRuleRequest) RetryPolicy() *common.RetryPolicy + func (request DeleteAlertRuleRequest) String() string + type DeleteAlertRuleResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response DeleteAlertRuleResponse) HTTPResponse() *http.Response + func (response DeleteAlertRuleResponse) String() string + type DeleteBudgetRequest struct + BudgetId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request DeleteBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request DeleteBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request DeleteBudgetRequest) RetryPolicy() *common.RetryPolicy + func (request DeleteBudgetRequest) String() string + type DeleteBudgetResponse struct + OpcRequestId *string + RawResponse *http.Response + func (response DeleteBudgetResponse) HTTPResponse() *http.Response + func (response DeleteBudgetResponse) String() string + type GetAlertRuleRequest struct + AlertRuleId *string + BudgetId *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request GetAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request GetAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request GetAlertRuleRequest) RetryPolicy() *common.RetryPolicy + func (request GetAlertRuleRequest) String() string + type GetAlertRuleResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetAlertRuleResponse) HTTPResponse() *http.Response + func (response GetAlertRuleResponse) String() string + type GetBudgetRequest struct + BudgetId *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request GetBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request GetBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request GetBudgetRequest) RetryPolicy() *common.RetryPolicy + func (request GetBudgetRequest) String() string + type GetBudgetResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response GetBudgetResponse) HTTPResponse() *http.Response + func (response GetBudgetResponse) String() string + type LifecycleStateEnum string + const AlertRuleLifecycleStateActive + const AlertRuleLifecycleStateInactive + const AlertRuleSummaryLifecycleStateActive + const AlertRuleSummaryLifecycleStateInactive + const BudgetLifecycleStateActive + const BudgetLifecycleStateInactive + const BudgetSummaryLifecycleStateActive + const BudgetSummaryLifecycleStateInactive + const LifecycleStateActive + const LifecycleStateInactive + func GetLifecycleStateEnumValues() []LifecycleStateEnum + type ListAlertRulesLifecycleStateEnum string + const ListAlertRulesLifecycleStateActive + const ListAlertRulesLifecycleStateInactive + func GetListAlertRulesLifecycleStateEnumValues() []ListAlertRulesLifecycleStateEnum + type ListAlertRulesRequest struct + BudgetId *string + DisplayName *string + LifecycleState ListAlertRulesLifecycleStateEnum + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListAlertRulesSortByEnum + SortOrder ListAlertRulesSortOrderEnum + func (request ListAlertRulesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request ListAlertRulesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request ListAlertRulesRequest) RetryPolicy() *common.RetryPolicy + func (request ListAlertRulesRequest) String() string + type ListAlertRulesResponse struct + Items []AlertRuleSummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListAlertRulesResponse) HTTPResponse() *http.Response + func (response ListAlertRulesResponse) String() string + type ListAlertRulesSortByEnum string + const ListAlertRulesSortByDisplayname + const ListAlertRulesSortByTimecreated + func GetListAlertRulesSortByEnumValues() []ListAlertRulesSortByEnum + type ListAlertRulesSortOrderEnum string + const ListAlertRulesSortOrderAsc + const ListAlertRulesSortOrderDesc + func GetListAlertRulesSortOrderEnumValues() []ListAlertRulesSortOrderEnum + type ListBudgetsLifecycleStateEnum string + const ListBudgetsLifecycleStateActive + const ListBudgetsLifecycleStateInactive + func GetListBudgetsLifecycleStateEnumValues() []ListBudgetsLifecycleStateEnum + type ListBudgetsRequest struct + CompartmentId *string + DisplayName *string + LifecycleState ListBudgetsLifecycleStateEnum + Limit *int + OpcRequestId *string + Page *string + RequestMetadata common.RequestMetadata + SortBy ListBudgetsSortByEnum + SortOrder ListBudgetsSortOrderEnum + TargetType ListBudgetsTargetTypeEnum + func (request ListBudgetsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request ListBudgetsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request ListBudgetsRequest) RetryPolicy() *common.RetryPolicy + func (request ListBudgetsRequest) String() string + type ListBudgetsResponse struct + Items []BudgetSummary + OpcNextPage *string + OpcRequestId *string + RawResponse *http.Response + func (response ListBudgetsResponse) HTTPResponse() *http.Response + func (response ListBudgetsResponse) String() string + type ListBudgetsSortByEnum string + const ListBudgetsSortByDisplayname + const ListBudgetsSortByTimecreated + func GetListBudgetsSortByEnumValues() []ListBudgetsSortByEnum + type ListBudgetsSortOrderEnum string + const ListBudgetsSortOrderAsc + const ListBudgetsSortOrderDesc + func GetListBudgetsSortOrderEnumValues() []ListBudgetsSortOrderEnum + type ListBudgetsTargetTypeEnum string + const ListBudgetsTargetTypeAll + const ListBudgetsTargetTypeCompartment + const ListBudgetsTargetTypeTag + func GetListBudgetsTargetTypeEnumValues() []ListBudgetsTargetTypeEnum + type ResetPeriodEnum string + const BudgetResetPeriodMonthly + const BudgetSummaryResetPeriodMonthly + const CreateBudgetDetailsResetPeriodMonthly + const ResetPeriodMonthly + const UpdateBudgetDetailsResetPeriodMonthly + func GetResetPeriodEnumValues() []ResetPeriodEnum + type SortByEnum string + const SortByDisplayName + const SortByTimeCreated + func GetSortByEnumValues() []SortByEnum + type SortOrderEnum string + const SortOrderAsc + const SortOrderDesc + func GetSortOrderEnumValues() []SortOrderEnum + type TargetTypeEnum string + const BudgetSummaryTargetTypeCompartment + const BudgetSummaryTargetTypeTag + const BudgetTargetTypeCompartment + const BudgetTargetTypeTag + const CreateBudgetDetailsTargetTypeCompartment + const CreateBudgetDetailsTargetTypeTag + const TargetTypeCompartment + const TargetTypeTag + func GetTargetTypeEnumValues() []TargetTypeEnum + type ThresholdTypeEnum string + const AlertRuleSummaryThresholdTypeAbsolute + const AlertRuleSummaryThresholdTypePercentage + const AlertRuleThresholdTypeAbsolute + const AlertRuleThresholdTypePercentage + const CreateAlertRuleDetailsThresholdTypeAbsolute + const CreateAlertRuleDetailsThresholdTypePercentage + const ThresholdTypeAbsolute + const ThresholdTypePercentage + const UpdateAlertRuleDetailsThresholdTypeAbsolute + const UpdateAlertRuleDetailsThresholdTypePercentage + func GetThresholdTypeEnumValues() []ThresholdTypeEnum + type UpdateAlertRuleDetails struct + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + FreeformTags map[string]string + Message *string + Recipients *string + Threshold *float32 + ThresholdType ThresholdTypeEnum + Type AlertTypeEnum + func (m UpdateAlertRuleDetails) String() string + type UpdateAlertRuleDetailsThresholdTypeEnum = ThresholdTypeEnum + type UpdateAlertRuleDetailsTypeEnum = AlertTypeEnum + type UpdateAlertRuleRequest struct + AlertRuleId *string + BudgetId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request UpdateAlertRuleRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request UpdateAlertRuleRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request UpdateAlertRuleRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateAlertRuleRequest) String() string + type UpdateAlertRuleResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateAlertRuleResponse) HTTPResponse() *http.Response + func (response UpdateAlertRuleResponse) String() string + type UpdateBudgetDetails struct + Amount *float32 + BudgetProcessingPeriodStartOffset *int + DefinedTags map[string]map[string]interface{} + Description *string + DisplayName *string + FreeformTags map[string]string + ResetPeriod ResetPeriodEnum + func (m UpdateBudgetDetails) String() string + type UpdateBudgetDetailsResetPeriodEnum = ResetPeriodEnum + type UpdateBudgetRequest struct + BudgetId *string + IfMatch *string + OpcRequestId *string + RequestMetadata common.RequestMetadata + func (request UpdateBudgetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool) + func (request UpdateBudgetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, ...) (http.Request, error) + func (request UpdateBudgetRequest) RetryPolicy() *common.RetryPolicy + func (request UpdateBudgetRequest) String() string + type UpdateBudgetResponse struct + Etag *string + OpcRequestId *string + RawResponse *http.Response + func (response UpdateBudgetResponse) HTTPResponse() *http.Response + func (response UpdateBudgetResponse) String() string Other modules containing this package github.com/oracle/oci-go-sdk github.com/oracle/oci-go-sdk/v25 github.com/oracle/oci-go-sdk/v26 github.com/oracle/oci-go-sdk/v27 github.com/oracle/oci-go-sdk/v28 github.com/oracle/oci-go-sdk/v29 github.com/oracle/oci-go-sdk/v30 github.com/oracle/oci-go-sdk/v31 github.com/oracle/oci-go-sdk/v32 github.com/oracle/oci-go-sdk/v33 github.com/oracle/oci-go-sdk/v34 github.com/oracle/oci-go-sdk/v35 github.com/oracle/oci-go-sdk/v36 github.com/oracle/oci-go-sdk/v37 github.com/oracle/oci-go-sdk/v38 github.com/oracle/oci-go-sdk/v39 github.com/oracle/oci-go-sdk/v40 github.com/oracle/oci-go-sdk/v41 github.com/oracle/oci-go-sdk/v42 github.com/oracle/oci-go-sdk/v43 github.com/oracle/oci-go-sdk/v44 github.com/oracle/oci-go-sdk/v45 github.com/oracle/oci-go-sdk/v46 github.com/oracle/oci-go-sdk/v47 github.com/oracle/oci-go-sdk/v48 github.com/oracle/oci-go-sdk/v49 github.com/oracle/oci-go-sdk/v50 github.com/oracle/oci-go-sdk/v51 github.com/oracle/oci-go-sdk/v52 github.com/oracle/oci-go-sdk/v53 github.com/oracle/oci-go-sdk/v54 github.com/oracle/oci-go-sdk/v56 github.com/oracle/oci-go-sdk/v57 github.com/oracle/oci-go-sdk/v58 github.com/oracle/oci-go-sdk/v59 github.com/oracle/oci-go-sdk/v60 github.com/oracle/oci-go-sdk/v61 github.com/oracle/oci-go-sdk/v62 github.com/oracle/oci-go-sdk/v63 github.com/oracle/oci-go-sdk/v64 github.com/oracle/oci-go-sdk/v65