Documentation
¶
Index ¶
- Variables
- func GetAlertTypeEnumStringValues() []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 GetProcessingPeriodTypeEnumStringValues() []string
- func GetResetPeriodEnumStringValues() []string
- func GetSortByEnumStringValues() []string
- func GetSortOrderEnumStringValues() []string
- func GetTargetTypeEnumStringValues() []string
- func GetThresholdTypeEnumStringValues() []string
- type AlertRule
- type AlertRuleLifecycleStateEnum
- type AlertRuleSummary
- type AlertRuleSummaryLifecycleStateEnum
- type AlertRuleSummaryThresholdTypeEnum
- type AlertRuleSummaryTypeEnum
- type AlertRuleThresholdTypeEnum
- type AlertRuleTypeEnum
- type AlertTypeEnum
- type Budget
- type BudgetClient
- 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
- type BudgetSummaryLifecycleStateEnum
- type BudgetSummaryResetPeriodEnum
- type BudgetSummaryTargetTypeEnum
- type BudgetTargetTypeEnum
- type CreateAlertRuleDetails
- type CreateAlertRuleDetailsThresholdTypeEnum
- type CreateAlertRuleDetailsTypeEnum
- type CreateAlertRuleRequest
- 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
- func (request CreateAlertRuleRequest) ValidateEnumValue() (bool, error)
- type CreateAlertRuleResponse
- type CreateBudgetDetails
- type CreateBudgetDetailsResetPeriodEnum
- type CreateBudgetDetailsTargetTypeEnum
- type CreateBudgetRequest
- 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
- func (request CreateBudgetRequest) ValidateEnumValue() (bool, error)
- type CreateBudgetResponse
- type DeleteAlertRuleRequest
- 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
- func (request DeleteAlertRuleRequest) ValidateEnumValue() (bool, error)
- type DeleteAlertRuleResponse
- type DeleteBudgetRequest
- 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
- func (request DeleteBudgetRequest) ValidateEnumValue() (bool, error)
- type DeleteBudgetResponse
- type GetAlertRuleRequest
- 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
- func (request GetAlertRuleRequest) ValidateEnumValue() (bool, error)
- type GetAlertRuleResponse
- type GetBudgetRequest
- 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
- func (request GetBudgetRequest) ValidateEnumValue() (bool, error)
- type GetBudgetResponse
- type LifecycleStateEnum
- type ListAlertRulesLifecycleStateEnum
- type ListAlertRulesRequest
- 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
- func (request ListAlertRulesRequest) ValidateEnumValue() (bool, error)
- type ListAlertRulesResponse
- type ListAlertRulesSortByEnum
- type ListAlertRulesSortOrderEnum
- type ListBudgetsLifecycleStateEnum
- type ListBudgetsRequest
- 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
- func (request ListBudgetsRequest) ValidateEnumValue() (bool, error)
- type ListBudgetsResponse
- type ListBudgetsSortByEnum
- type ListBudgetsSortOrderEnum
- type ListBudgetsTargetTypeEnum
- type ProcessingPeriodTypeEnum
- type ResetPeriodEnum
- type SortByEnum
- type SortOrderEnum
- type TargetTypeEnum
- type ThresholdTypeEnum
- type UpdateAlertRuleDetails
- type UpdateAlertRuleDetailsThresholdTypeEnum
- type UpdateAlertRuleDetailsTypeEnum
- type UpdateAlertRuleRequest
- 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
- func (request UpdateAlertRuleRequest) ValidateEnumValue() (bool, error)
- type UpdateAlertRuleResponse
- type UpdateBudgetDetails
- type UpdateBudgetDetailsResetPeriodEnum
- type UpdateBudgetRequest
- 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
- func (request UpdateBudgetRequest) ValidateEnumValue() (bool, error)
- type UpdateBudgetResponse
Constants ¶
This section is empty.
Variables ¶
var GetAlertRuleLifecycleStateEnumValues = GetLifecycleStateEnumValues
GetAlertRuleLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated
var GetAlertRuleSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues
GetAlertRuleSummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated
var GetAlertRuleSummaryThresholdTypeEnumValues = GetThresholdTypeEnumValues
GetAlertRuleSummaryThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated
var GetAlertRuleSummaryTypeEnumValues = GetAlertTypeEnumValues
GetAlertRuleSummaryTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated
var GetAlertRuleThresholdTypeEnumValues = GetThresholdTypeEnumValues
GetAlertRuleThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated
var GetAlertRuleTypeEnumValues = GetAlertTypeEnumValues
GetAlertRuleTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated
var GetBudgetLifecycleStateEnumValues = GetLifecycleStateEnumValues
GetBudgetLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated
var GetBudgetResetPeriodEnumValues = GetResetPeriodEnumValues
GetBudgetResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated
var GetBudgetSummaryLifecycleStateEnumValues = GetLifecycleStateEnumValues
GetBudgetSummaryLifecycleStateEnumValues Enumerates the set of values for LifecycleStateEnum Consider using GetLifecycleStateEnumValue Deprecated
var GetBudgetSummaryResetPeriodEnumValues = GetResetPeriodEnumValues
GetBudgetSummaryResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated
var GetBudgetSummaryTargetTypeEnumValues = GetTargetTypeEnumValues
GetBudgetSummaryTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum Consider using GetTargetTypeEnumValue Deprecated
var GetBudgetTargetTypeEnumValues = GetTargetTypeEnumValues
GetBudgetTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum Consider using GetTargetTypeEnumValue Deprecated
var GetCreateAlertRuleDetailsThresholdTypeEnumValues = GetThresholdTypeEnumValues
GetCreateAlertRuleDetailsThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated
var GetCreateAlertRuleDetailsTypeEnumValues = GetAlertTypeEnumValues
GetCreateAlertRuleDetailsTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated
var GetCreateBudgetDetailsResetPeriodEnumValues = GetResetPeriodEnumValues
GetCreateBudgetDetailsResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated
var GetCreateBudgetDetailsTargetTypeEnumValues = GetTargetTypeEnumValues
GetCreateBudgetDetailsTargetTypeEnumValues Enumerates the set of values for TargetTypeEnum Consider using GetTargetTypeEnumValue Deprecated
var GetUpdateAlertRuleDetailsThresholdTypeEnumValues = GetThresholdTypeEnumValues
GetUpdateAlertRuleDetailsThresholdTypeEnumValues Enumerates the set of values for ThresholdTypeEnum Consider using GetThresholdTypeEnumValue Deprecated
var GetUpdateAlertRuleDetailsTypeEnumValues = GetAlertTypeEnumValues
GetUpdateAlertRuleDetailsTypeEnumValues Enumerates the set of values for AlertTypeEnum Consider using GetAlertTypeEnumValue Deprecated
var GetUpdateBudgetDetailsResetPeriodEnumValues = GetResetPeriodEnumValues
GetUpdateBudgetDetailsResetPeriodEnumValues Enumerates the set of values for ResetPeriodEnum Consider using GetResetPeriodEnumValue Deprecated
Functions ¶
func GetAlertTypeEnumStringValues ¶
func GetAlertTypeEnumStringValues() []string
GetAlertTypeEnumStringValues Enumerates the set of values in String for AlertTypeEnum
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 GetProcessingPeriodTypeEnumStringValues ¶ added in v65.3.0
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 GetSortByEnumStringValues ¶
func GetSortByEnumStringValues() []string
GetSortByEnumStringValues Enumerates the set of values in String for SortByEnum
func GetSortOrderEnumStringValues ¶
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
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
Types ¶
type AlertRule ¶
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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
AlertRule The alert rule.
func (AlertRule) ValidateEnumValue ¶
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 ¶
type AlertRuleLifecycleStateEnum = LifecycleStateEnum
AlertRuleLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated
type AlertRuleSummary ¶
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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
AlertRuleSummary The alert rule.
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 ¶
type AlertRuleSummaryLifecycleStateEnum = LifecycleStateEnum
AlertRuleSummaryLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated
type AlertRuleSummaryThresholdTypeEnum ¶
type AlertRuleSummaryThresholdTypeEnum = ThresholdTypeEnum
AlertRuleSummaryThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated
type AlertRuleSummaryTypeEnum ¶
type AlertRuleSummaryTypeEnum = AlertTypeEnum
AlertRuleSummaryTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated
type AlertRuleThresholdTypeEnum ¶
type AlertRuleThresholdTypeEnum = ThresholdTypeEnum
AlertRuleThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated
type AlertRuleTypeEnum ¶
type AlertRuleTypeEnum = AlertTypeEnum
AlertRuleTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated
type AlertTypeEnum ¶
type AlertTypeEnum string
AlertTypeEnum Enum with underlying type: string
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 Deprecated
const ( AlertTypeActual AlertTypeEnum = "ACTUAL" AlertTypeForecast AlertTypeEnum = "FORECAST" )
Set of constants representing the allowable values for AlertTypeEnum
const ( CreateAlertRuleDetailsTypeActual AlertTypeEnum = "ACTUAL" CreateAlertRuleDetailsTypeForecast AlertTypeEnum = "FORECAST" )
Set of constants representing the allowable values for AlertTypeEnum Deprecated
const ( UpdateAlertRuleDetailsTypeActual AlertTypeEnum = "ACTUAL" UpdateAlertRuleDetailsTypeForecast AlertTypeEnum = "FORECAST" )
Set of constants representing the allowable values for AlertTypeEnum Deprecated
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 ¶
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 type of the budget processing period. Valid values are INVOICE and MONTH. ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"` // 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
Budget A budget.
func (Budget) ValidateEnumValue ¶
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 ¶
type BudgetClient struct { common.BaseClient // contains filtered or unexported fields }
BudgetClient a client for Budget
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateAlertRule.go.html to see an example of how to use CreateAlertRule API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateBudget.go.html to see an example of how to use CreateBudget API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteAlertRule.go.html to see an example of how to use DeleteAlertRule API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteBudget.go.html to see an example of how to use DeleteBudget API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetAlertRule.go.html to see an example of how to use GetAlertRule API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetBudget.go.html to see an example of how to use GetBudget API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListAlertRules.go.html to see an example of how to use ListAlertRules API.
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'). Additional targetTypes would be available in future releases. Clients should ignore new targetTypes, or upgrade to the latest version of the client SDK to handle new targetTypes.
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListBudgets.go.html to see an example of how to use ListBudgets API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateAlertRule.go.html to see an example of how to use UpdateAlertRule API.
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.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateBudget.go.html to see an example of how to use UpdateBudget API.
type BudgetLifecycleStateEnum ¶
type BudgetLifecycleStateEnum = LifecycleStateEnum
BudgetLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated
type BudgetResetPeriodEnum ¶
type BudgetResetPeriodEnum = ResetPeriodEnum
BudgetResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated
type BudgetSummary ¶
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 and MONTH. ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"` // 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
BudgetSummary A budget.
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 ¶
type BudgetSummaryLifecycleStateEnum = LifecycleStateEnum
BudgetSummaryLifecycleStateEnum is an alias to type: LifecycleStateEnum Consider using LifecycleStateEnum instead Deprecated
type BudgetSummaryResetPeriodEnum ¶
type BudgetSummaryResetPeriodEnum = ResetPeriodEnum
BudgetSummaryResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated
type BudgetSummaryTargetTypeEnum ¶
type BudgetSummaryTargetTypeEnum = TargetTypeEnum
BudgetSummaryTargetTypeEnum is an alias to type: TargetTypeEnum Consider using TargetTypeEnum instead Deprecated
type BudgetTargetTypeEnum ¶
type BudgetTargetTypeEnum = TargetTypeEnum
BudgetTargetTypeEnum is an alias to type: TargetTypeEnum Consider using TargetTypeEnum instead Deprecated
type CreateAlertRuleDetails ¶
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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
CreateAlertRuleDetails The create alert rule details. This is a batch-create.
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 ¶
type CreateAlertRuleDetailsThresholdTypeEnum = ThresholdTypeEnum
CreateAlertRuleDetailsThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated
type CreateAlertRuleDetailsTypeEnum ¶
type CreateAlertRuleDetailsTypeEnum = AlertTypeEnum
CreateAlertRuleDetailsTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated
type 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 }
CreateAlertRuleRequest wrapper for the CreateAlertRule operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateAlertRule.go.html to see an example of how to use CreateAlertRuleRequest.
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 ¶
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"` }
CreateAlertRuleResponse wrapper for the CreateAlertRule operation
func (CreateAlertRuleResponse) HTTPResponse ¶
func (response CreateAlertRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateAlertRuleResponse) String ¶
func (response CreateAlertRuleResponse) String() string
type CreateBudgetDetails ¶
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 and MONTH. ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"` // 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
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.
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 ¶
type CreateBudgetDetailsResetPeriodEnum = ResetPeriodEnum
CreateBudgetDetailsResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated
type CreateBudgetDetailsTargetTypeEnum ¶
type CreateBudgetDetailsTargetTypeEnum = TargetTypeEnum
CreateBudgetDetailsTargetTypeEnum is an alias to type: TargetTypeEnum Consider using TargetTypeEnum instead Deprecated
type 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 }
CreateBudgetRequest wrapper for the CreateBudget operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/CreateBudget.go.html to see an example of how to use CreateBudgetRequest.
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 ¶
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"` }
CreateBudgetResponse wrapper for the CreateBudget operation
func (CreateBudgetResponse) HTTPResponse ¶
func (response CreateBudgetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (CreateBudgetResponse) String ¶
func (response CreateBudgetResponse) String() string
type 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 }
DeleteAlertRuleRequest wrapper for the DeleteAlertRule operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteAlertRule.go.html to see an example of how to use DeleteAlertRuleRequest.
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 ¶
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"` }
DeleteAlertRuleResponse wrapper for the DeleteAlertRule operation
func (DeleteAlertRuleResponse) HTTPResponse ¶
func (response DeleteAlertRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteAlertRuleResponse) String ¶
func (response DeleteAlertRuleResponse) String() string
type 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 }
DeleteBudgetRequest wrapper for the DeleteBudget operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/DeleteBudget.go.html to see an example of how to use DeleteBudgetRequest.
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 ¶
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"` }
DeleteBudgetResponse wrapper for the DeleteBudget operation
func (DeleteBudgetResponse) HTTPResponse ¶
func (response DeleteBudgetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (DeleteBudgetResponse) String ¶
func (response DeleteBudgetResponse) String() string
type 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 }
GetAlertRuleRequest wrapper for the GetAlertRule operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetAlertRule.go.html to see an example of how to use GetAlertRuleRequest.
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 ¶
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"` }
GetAlertRuleResponse wrapper for the GetAlertRule operation
func (GetAlertRuleResponse) HTTPResponse ¶
func (response GetAlertRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetAlertRuleResponse) String ¶
func (response GetAlertRuleResponse) String() string
type 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 }
GetBudgetRequest wrapper for the GetBudget operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/GetBudget.go.html to see an example of how to use GetBudgetRequest.
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 ¶
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"` }
GetBudgetResponse wrapper for the GetBudget operation
func (GetBudgetResponse) HTTPResponse ¶
func (response GetBudgetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (GetBudgetResponse) String ¶
func (response GetBudgetResponse) String() string
type LifecycleStateEnum ¶
type LifecycleStateEnum string
LifecycleStateEnum Enum with underlying type: string
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 Deprecated
const ( LifecycleStateActive LifecycleStateEnum = "ACTIVE" LifecycleStateInactive LifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for LifecycleStateEnum
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 ¶
type ListAlertRulesLifecycleStateEnum string
ListAlertRulesLifecycleStateEnum Enum with underlying type: string
const ( ListAlertRulesLifecycleStateActive ListAlertRulesLifecycleStateEnum = "ACTIVE" ListAlertRulesLifecycleStateInactive ListAlertRulesLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ListAlertRulesLifecycleStateEnum
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 ¶
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 }
ListAlertRulesRequest wrapper for the ListAlertRules operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListAlertRules.go.html to see an example of how to use ListAlertRulesRequest.
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 ¶
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"` }
ListAlertRulesResponse wrapper for the ListAlertRules operation
func (ListAlertRulesResponse) HTTPResponse ¶
func (response ListAlertRulesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListAlertRulesResponse) String ¶
func (response ListAlertRulesResponse) String() string
type ListAlertRulesSortByEnum ¶
type ListAlertRulesSortByEnum string
ListAlertRulesSortByEnum Enum with underlying type: string
const ( ListAlertRulesSortByTimecreated ListAlertRulesSortByEnum = "timeCreated" ListAlertRulesSortByDisplayname ListAlertRulesSortByEnum = "displayName" )
Set of constants representing the allowable values for ListAlertRulesSortByEnum
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 ¶
type ListAlertRulesSortOrderEnum string
ListAlertRulesSortOrderEnum Enum with underlying type: string
const ( ListAlertRulesSortOrderAsc ListAlertRulesSortOrderEnum = "ASC" ListAlertRulesSortOrderDesc ListAlertRulesSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListAlertRulesSortOrderEnum
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 ¶
type ListBudgetsLifecycleStateEnum string
ListBudgetsLifecycleStateEnum Enum with underlying type: string
const ( ListBudgetsLifecycleStateActive ListBudgetsLifecycleStateEnum = "ACTIVE" ListBudgetsLifecycleStateInactive ListBudgetsLifecycleStateEnum = "INACTIVE" )
Set of constants representing the allowable values for ListBudgetsLifecycleStateEnum
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 ¶
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 }
ListBudgetsRequest wrapper for the ListBudgets operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/ListBudgets.go.html to see an example of how to use ListBudgetsRequest.
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 ¶
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"` }
ListBudgetsResponse wrapper for the ListBudgets operation
func (ListBudgetsResponse) HTTPResponse ¶
func (response ListBudgetsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (ListBudgetsResponse) String ¶
func (response ListBudgetsResponse) String() string
type ListBudgetsSortByEnum ¶
type ListBudgetsSortByEnum string
ListBudgetsSortByEnum Enum with underlying type: string
const ( ListBudgetsSortByTimecreated ListBudgetsSortByEnum = "timeCreated" ListBudgetsSortByDisplayname ListBudgetsSortByEnum = "displayName" )
Set of constants representing the allowable values for ListBudgetsSortByEnum
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 ¶
type ListBudgetsSortOrderEnum string
ListBudgetsSortOrderEnum Enum with underlying type: string
const ( ListBudgetsSortOrderAsc ListBudgetsSortOrderEnum = "ASC" ListBudgetsSortOrderDesc ListBudgetsSortOrderEnum = "DESC" )
Set of constants representing the allowable values for ListBudgetsSortOrderEnum
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 ¶
type ListBudgetsTargetTypeEnum string
ListBudgetsTargetTypeEnum Enum with underlying type: string
const ( ListBudgetsTargetTypeAll ListBudgetsTargetTypeEnum = "ALL" ListBudgetsTargetTypeCompartment ListBudgetsTargetTypeEnum = "COMPARTMENT" ListBudgetsTargetTypeTag ListBudgetsTargetTypeEnum = "TAG" )
Set of constants representing the allowable values for ListBudgetsTargetTypeEnum
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 ProcessingPeriodTypeEnum ¶ added in v65.3.0
type ProcessingPeriodTypeEnum string
ProcessingPeriodTypeEnum Enum with underlying type: string
const ( ProcessingPeriodTypeInvoice ProcessingPeriodTypeEnum = "INVOICE" ProcessingPeriodTypeMonth ProcessingPeriodTypeEnum = "MONTH" )
Set of constants representing the allowable values for ProcessingPeriodTypeEnum
func GetMappingProcessingPeriodTypeEnum ¶ added in v65.3.0
func GetMappingProcessingPeriodTypeEnum(val string) (ProcessingPeriodTypeEnum, bool)
GetMappingProcessingPeriodTypeEnum performs case Insensitive comparison on enum value and return the desired enum
func GetProcessingPeriodTypeEnumValues ¶ added in v65.3.0
func GetProcessingPeriodTypeEnumValues() []ProcessingPeriodTypeEnum
GetProcessingPeriodTypeEnumValues Enumerates the set of values for ProcessingPeriodTypeEnum
type ResetPeriodEnum ¶
type ResetPeriodEnum string
ResetPeriodEnum Enum with underlying type: string
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 Deprecated
const (
ResetPeriodMonthly ResetPeriodEnum = "MONTHLY"
)
Set of constants representing the allowable values for ResetPeriodEnum
const (
UpdateBudgetDetailsResetPeriodMonthly ResetPeriodEnum = "MONTHLY"
)
Set of constants representing the allowable values for ResetPeriodEnum Deprecated
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 SortByEnum ¶
type SortByEnum string
SortByEnum Enum with underlying type: string
const ( SortByTimeCreated SortByEnum = "timeCreated" SortByDisplayName SortByEnum = "displayName" )
Set of constants representing the allowable values for SortByEnum
func GetMappingSortByEnum ¶
func GetMappingSortByEnum(val string) (SortByEnum, bool)
GetMappingSortByEnum performs case Insensitive comparison on enum value and return the desired enum
func GetSortByEnumValues ¶
func GetSortByEnumValues() []SortByEnum
GetSortByEnumValues Enumerates the set of values for SortByEnum
type SortOrderEnum ¶
type SortOrderEnum string
SortOrderEnum Enum with underlying type: string
const ( SortOrderAsc SortOrderEnum = "ASC" SortOrderDesc SortOrderEnum = "DESC" )
Set of constants representing the allowable values for SortOrderEnum
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 TargetTypeEnum ¶
type TargetTypeEnum string
TargetTypeEnum Enum with underlying type: string
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 Deprecated
const ( TargetTypeCompartment TargetTypeEnum = "COMPARTMENT" TargetTypeTag TargetTypeEnum = "TAG" )
Set of constants representing the allowable values for TargetTypeEnum
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 ¶
type ThresholdTypeEnum string
ThresholdTypeEnum Enum with underlying type: string
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 Deprecated
const ( ThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE" ThresholdTypeAbsolute ThresholdTypeEnum = "ABSOLUTE" )
Set of constants representing the allowable values for ThresholdTypeEnum
const ( UpdateAlertRuleDetailsThresholdTypePercentage ThresholdTypeEnum = "PERCENTAGE" UpdateAlertRuleDetailsThresholdTypeAbsolute ThresholdTypeEnum = "ABSOLUTE" )
Set of constants representing the allowable values for ThresholdTypeEnum Deprecated
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 ¶
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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateAlertRuleDetails The update alert rule details.
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 ¶
type UpdateAlertRuleDetailsThresholdTypeEnum = ThresholdTypeEnum
UpdateAlertRuleDetailsThresholdTypeEnum is an alias to type: ThresholdTypeEnum Consider using ThresholdTypeEnum instead Deprecated
type UpdateAlertRuleDetailsTypeEnum ¶
type UpdateAlertRuleDetailsTypeEnum = AlertTypeEnum
UpdateAlertRuleDetailsTypeEnum is an alias to type: AlertTypeEnum Consider using AlertTypeEnum instead Deprecated
type 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 }
UpdateAlertRuleRequest wrapper for the UpdateAlertRule operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateAlertRule.go.html to see an example of how to use UpdateAlertRuleRequest.
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 ¶
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"` }
UpdateAlertRuleResponse wrapper for the UpdateAlertRule operation
func (UpdateAlertRuleResponse) HTTPResponse ¶
func (response UpdateAlertRuleResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateAlertRuleResponse) String ¶
func (response UpdateAlertRuleResponse) String() string
type UpdateBudgetDetails ¶
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 and MONTH. ProcessingPeriodType ProcessingPeriodTypeEnum `mandatory:"false" json:"processingPeriodType,omitempty"` // 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.cloud.oracle.com/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.cloud.oracle.com/Content/General/Concepts/resourcetags.htm). // Example: `{"Operations": {"CostCenter": "42"}}` DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"` }
UpdateBudgetDetails The update budget details.
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 ¶
type UpdateBudgetDetailsResetPeriodEnum = ResetPeriodEnum
UpdateBudgetDetailsResetPeriodEnum is an alias to type: ResetPeriodEnum Consider using ResetPeriodEnum instead Deprecated
type 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 }
UpdateBudgetRequest wrapper for the UpdateBudget operation
See also ¶
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/budget/UpdateBudget.go.html to see an example of how to use UpdateBudgetRequest.
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 ¶
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"` }
UpdateBudgetResponse wrapper for the UpdateBudget operation
func (UpdateBudgetResponse) HTTPResponse ¶
func (response UpdateBudgetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (UpdateBudgetResponse) String ¶
func (response UpdateBudgetResponse) String() string
Source Files
¶
- alert_rule.go
- alert_rule_summary.go
- alert_type.go
- budget.go
- budget_client.go
- budget_summary.go
- create_alert_rule_details.go
- create_alert_rule_request_response.go
- create_budget_details.go
- create_budget_request_response.go
- delete_alert_rule_request_response.go
- delete_budget_request_response.go
- get_alert_rule_request_response.go
- get_budget_request_response.go
- lifecycle_state.go
- list_alert_rules_request_response.go
- list_budgets_request_response.go
- processing_period_type.go
- reset_period.go
- sort_by.go
- sort_order.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