Documentation
¶
Index ¶
- type Budget
- type BudgetArgs
- type BudgetState
- type BudgetTimePeriod
- type BudgetTimePeriodArgs
- func (BudgetTimePeriodArgs) ElementType() reflect.Type
- func (i BudgetTimePeriodArgs) ToBudgetTimePeriodOutput() BudgetTimePeriodOutput
- func (i BudgetTimePeriodArgs) ToBudgetTimePeriodOutputWithContext(ctx context.Context) BudgetTimePeriodOutput
- func (i BudgetTimePeriodArgs) ToBudgetTimePeriodPtrOutput() BudgetTimePeriodPtrOutput
- func (i BudgetTimePeriodArgs) ToBudgetTimePeriodPtrOutputWithContext(ctx context.Context) BudgetTimePeriodPtrOutput
- type BudgetTimePeriodInput
- type BudgetTimePeriodOutput
- func (BudgetTimePeriodOutput) ElementType() reflect.Type
- func (o BudgetTimePeriodOutput) EndDate() pulumi.StringPtrOutput
- func (o BudgetTimePeriodOutput) StartDate() pulumi.StringOutput
- func (o BudgetTimePeriodOutput) ToBudgetTimePeriodOutput() BudgetTimePeriodOutput
- func (o BudgetTimePeriodOutput) ToBudgetTimePeriodOutputWithContext(ctx context.Context) BudgetTimePeriodOutput
- func (o BudgetTimePeriodOutput) ToBudgetTimePeriodPtrOutput() BudgetTimePeriodPtrOutput
- func (o BudgetTimePeriodOutput) ToBudgetTimePeriodPtrOutputWithContext(ctx context.Context) BudgetTimePeriodPtrOutput
- type BudgetTimePeriodPtrInput
- type BudgetTimePeriodPtrOutput
- func (o BudgetTimePeriodPtrOutput) Elem() BudgetTimePeriodOutput
- func (BudgetTimePeriodPtrOutput) ElementType() reflect.Type
- func (o BudgetTimePeriodPtrOutput) EndDate() pulumi.StringPtrOutput
- func (o BudgetTimePeriodPtrOutput) StartDate() pulumi.StringPtrOutput
- func (o BudgetTimePeriodPtrOutput) ToBudgetTimePeriodPtrOutput() BudgetTimePeriodPtrOutput
- func (o BudgetTimePeriodPtrOutput) ToBudgetTimePeriodPtrOutputWithContext(ctx context.Context) BudgetTimePeriodPtrOutput
- type BudgetTimePeriodResponse
- type BudgetTimePeriodResponseArgs
- func (BudgetTimePeriodResponseArgs) ElementType() reflect.Type
- func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponseOutput() BudgetTimePeriodResponseOutput
- func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponseOutputWithContext(ctx context.Context) BudgetTimePeriodResponseOutput
- func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponsePtrOutput() BudgetTimePeriodResponsePtrOutput
- func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponsePtrOutputWithContext(ctx context.Context) BudgetTimePeriodResponsePtrOutput
- type BudgetTimePeriodResponseInput
- type BudgetTimePeriodResponseOutput
- func (BudgetTimePeriodResponseOutput) ElementType() reflect.Type
- func (o BudgetTimePeriodResponseOutput) EndDate() pulumi.StringPtrOutput
- func (o BudgetTimePeriodResponseOutput) StartDate() pulumi.StringOutput
- func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponseOutput() BudgetTimePeriodResponseOutput
- func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponseOutputWithContext(ctx context.Context) BudgetTimePeriodResponseOutput
- func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponsePtrOutput() BudgetTimePeriodResponsePtrOutput
- func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponsePtrOutputWithContext(ctx context.Context) BudgetTimePeriodResponsePtrOutput
- type BudgetTimePeriodResponsePtrInput
- type BudgetTimePeriodResponsePtrOutput
- func (o BudgetTimePeriodResponsePtrOutput) Elem() BudgetTimePeriodResponseOutput
- func (BudgetTimePeriodResponsePtrOutput) ElementType() reflect.Type
- func (o BudgetTimePeriodResponsePtrOutput) EndDate() pulumi.StringPtrOutput
- func (o BudgetTimePeriodResponsePtrOutput) StartDate() pulumi.StringPtrOutput
- func (o BudgetTimePeriodResponsePtrOutput) ToBudgetTimePeriodResponsePtrOutput() BudgetTimePeriodResponsePtrOutput
- func (o BudgetTimePeriodResponsePtrOutput) ToBudgetTimePeriodResponsePtrOutputWithContext(ctx context.Context) BudgetTimePeriodResponsePtrOutput
- type CurrentSpendResponse
- type CurrentSpendResponseArgs
- func (CurrentSpendResponseArgs) ElementType() reflect.Type
- func (i CurrentSpendResponseArgs) ToCurrentSpendResponseOutput() CurrentSpendResponseOutput
- func (i CurrentSpendResponseArgs) ToCurrentSpendResponseOutputWithContext(ctx context.Context) CurrentSpendResponseOutput
- func (i CurrentSpendResponseArgs) ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput
- func (i CurrentSpendResponseArgs) ToCurrentSpendResponsePtrOutputWithContext(ctx context.Context) CurrentSpendResponsePtrOutput
- type CurrentSpendResponseInput
- type CurrentSpendResponseOutput
- func (o CurrentSpendResponseOutput) Amount() pulumi.Float64Output
- func (CurrentSpendResponseOutput) ElementType() reflect.Type
- func (o CurrentSpendResponseOutput) ToCurrentSpendResponseOutput() CurrentSpendResponseOutput
- func (o CurrentSpendResponseOutput) ToCurrentSpendResponseOutputWithContext(ctx context.Context) CurrentSpendResponseOutput
- func (o CurrentSpendResponseOutput) ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput
- func (o CurrentSpendResponseOutput) ToCurrentSpendResponsePtrOutputWithContext(ctx context.Context) CurrentSpendResponsePtrOutput
- func (o CurrentSpendResponseOutput) Unit() pulumi.StringOutput
- type CurrentSpendResponsePtrInput
- type CurrentSpendResponsePtrOutput
- func (o CurrentSpendResponsePtrOutput) Amount() pulumi.Float64PtrOutput
- func (o CurrentSpendResponsePtrOutput) Elem() CurrentSpendResponseOutput
- func (CurrentSpendResponsePtrOutput) ElementType() reflect.Type
- func (o CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput
- func (o CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutputWithContext(ctx context.Context) CurrentSpendResponsePtrOutput
- func (o CurrentSpendResponsePtrOutput) Unit() pulumi.StringPtrOutput
- type LookupBudgetArgs
- type LookupBudgetResult
- type Notification
- type NotificationArgs
- type NotificationInput
- type NotificationMap
- type NotificationMapInput
- type NotificationMapOutput
- func (NotificationMapOutput) ElementType() reflect.Type
- func (o NotificationMapOutput) MapIndex(k pulumi.StringInput) NotificationOutput
- func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput
- func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
- type NotificationOutput
- func (o NotificationOutput) ContactEmails() pulumi.StringArrayOutput
- func (o NotificationOutput) ContactRoles() pulumi.StringArrayOutput
- func (NotificationOutput) ElementType() reflect.Type
- func (o NotificationOutput) Enabled() pulumi.BoolOutput
- func (o NotificationOutput) Operator() pulumi.StringOutput
- func (o NotificationOutput) Threshold() pulumi.Float64Output
- func (o NotificationOutput) ToNotificationOutput() NotificationOutput
- func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
- type NotificationResponse
- type NotificationResponseArgs
- type NotificationResponseInput
- type NotificationResponseMap
- type NotificationResponseMapInput
- type NotificationResponseMapOutput
- func (NotificationResponseMapOutput) ElementType() reflect.Type
- func (o NotificationResponseMapOutput) MapIndex(k pulumi.StringInput) NotificationResponseOutput
- func (o NotificationResponseMapOutput) ToNotificationResponseMapOutput() NotificationResponseMapOutput
- func (o NotificationResponseMapOutput) ToNotificationResponseMapOutputWithContext(ctx context.Context) NotificationResponseMapOutput
- type NotificationResponseOutput
- func (o NotificationResponseOutput) ContactEmails() pulumi.StringArrayOutput
- func (o NotificationResponseOutput) ContactRoles() pulumi.StringArrayOutput
- func (NotificationResponseOutput) ElementType() reflect.Type
- func (o NotificationResponseOutput) Enabled() pulumi.BoolOutput
- func (o NotificationResponseOutput) Operator() pulumi.StringOutput
- func (o NotificationResponseOutput) Threshold() pulumi.Float64Output
- func (o NotificationResponseOutput) ToNotificationResponseOutput() NotificationResponseOutput
- func (o NotificationResponseOutput) ToNotificationResponseOutputWithContext(ctx context.Context) NotificationResponseOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Budget ¶
type Budget struct { pulumi.CustomResourceState // The total amount of cost to track with the budget Amount pulumi.Float64Output `pulumi:"amount"` // The category of the budget, whether the budget tracks cost or something else. Category pulumi.StringOutput `pulumi:"category"` // The current amount of cost which is being tracked for a budget. CurrentSpend CurrentSpendResponseOutput `pulumi:"currentSpend"` // eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. ETag pulumi.StringPtrOutput `pulumi:"eTag"` // Resource name. Name pulumi.StringOutput `pulumi:"name"` // Dictionary of notifications associated with the budget. Budget can have up to five notifications. Notifications NotificationResponseMapOutput `pulumi:"notifications"` // The time covered by a budget. Tracking of the amount will be reset based on the time grain. TimeGrain pulumi.StringOutput `pulumi:"timeGrain"` // Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date. TimePeriod BudgetTimePeriodResponseOutput `pulumi:"timePeriod"` // Resource type. Type pulumi.StringOutput `pulumi:"type"` }
A budget resource.
func GetBudget ¶
func GetBudget(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BudgetState, opts ...pulumi.ResourceOption) (*Budget, error)
GetBudget gets an existing Budget resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewBudget ¶
func NewBudget(ctx *pulumi.Context, name string, args *BudgetArgs, opts ...pulumi.ResourceOption) (*Budget, error)
NewBudget registers a new resource with the given unique name, arguments, and options.
type BudgetArgs ¶
type BudgetArgs struct { // The total amount of cost to track with the budget Amount pulumi.Float64Input // The category of the budget, whether the budget tracks cost or something else. Category pulumi.StringInput // eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. ETag pulumi.StringPtrInput // Budget name. Name pulumi.StringInput // Dictionary of notifications associated with the budget. Budget can have up to five notifications. Notifications NotificationMapInput // The time covered by a budget. Tracking of the amount will be reset based on the time grain. TimeGrain pulumi.StringInput // Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date. TimePeriod BudgetTimePeriodInput }
The set of arguments for constructing a Budget resource.
func (BudgetArgs) ElementType ¶
func (BudgetArgs) ElementType() reflect.Type
type BudgetState ¶
type BudgetState struct { // The total amount of cost to track with the budget Amount pulumi.Float64PtrInput // The category of the budget, whether the budget tracks cost or something else. Category pulumi.StringPtrInput // The current amount of cost which is being tracked for a budget. CurrentSpend CurrentSpendResponsePtrInput // eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. ETag pulumi.StringPtrInput // Resource name. Name pulumi.StringPtrInput // Dictionary of notifications associated with the budget. Budget can have up to five notifications. Notifications NotificationResponseMapInput // The time covered by a budget. Tracking of the amount will be reset based on the time grain. TimeGrain pulumi.StringPtrInput // Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date. TimePeriod BudgetTimePeriodResponsePtrInput // Resource type. Type pulumi.StringPtrInput }
func (BudgetState) ElementType ¶
func (BudgetState) ElementType() reflect.Type
type BudgetTimePeriod ¶
type BudgetTimePeriod struct { // The end date for the budget. If not provided, we default this to 10 years from the start date. EndDate *string `pulumi:"endDate"` // The start date for the budget. StartDate string `pulumi:"startDate"` }
The start and end date for a budget.
type BudgetTimePeriodArgs ¶
type BudgetTimePeriodArgs struct { // The end date for the budget. If not provided, we default this to 10 years from the start date. EndDate pulumi.StringPtrInput `pulumi:"endDate"` // The start date for the budget. StartDate pulumi.StringInput `pulumi:"startDate"` }
The start and end date for a budget.
func (BudgetTimePeriodArgs) ElementType ¶
func (BudgetTimePeriodArgs) ElementType() reflect.Type
func (BudgetTimePeriodArgs) ToBudgetTimePeriodOutput ¶
func (i BudgetTimePeriodArgs) ToBudgetTimePeriodOutput() BudgetTimePeriodOutput
func (BudgetTimePeriodArgs) ToBudgetTimePeriodOutputWithContext ¶
func (i BudgetTimePeriodArgs) ToBudgetTimePeriodOutputWithContext(ctx context.Context) BudgetTimePeriodOutput
func (BudgetTimePeriodArgs) ToBudgetTimePeriodPtrOutput ¶
func (i BudgetTimePeriodArgs) ToBudgetTimePeriodPtrOutput() BudgetTimePeriodPtrOutput
func (BudgetTimePeriodArgs) ToBudgetTimePeriodPtrOutputWithContext ¶
func (i BudgetTimePeriodArgs) ToBudgetTimePeriodPtrOutputWithContext(ctx context.Context) BudgetTimePeriodPtrOutput
type BudgetTimePeriodInput ¶
type BudgetTimePeriodInput interface { pulumi.Input ToBudgetTimePeriodOutput() BudgetTimePeriodOutput ToBudgetTimePeriodOutputWithContext(context.Context) BudgetTimePeriodOutput }
BudgetTimePeriodInput is an input type that accepts BudgetTimePeriodArgs and BudgetTimePeriodOutput values. You can construct a concrete instance of `BudgetTimePeriodInput` via:
BudgetTimePeriodArgs{...}
type BudgetTimePeriodOutput ¶
type BudgetTimePeriodOutput struct{ *pulumi.OutputState }
The start and end date for a budget.
func (BudgetTimePeriodOutput) ElementType ¶
func (BudgetTimePeriodOutput) ElementType() reflect.Type
func (BudgetTimePeriodOutput) EndDate ¶
func (o BudgetTimePeriodOutput) EndDate() pulumi.StringPtrOutput
The end date for the budget. If not provided, we default this to 10 years from the start date.
func (BudgetTimePeriodOutput) StartDate ¶
func (o BudgetTimePeriodOutput) StartDate() pulumi.StringOutput
The start date for the budget.
func (BudgetTimePeriodOutput) ToBudgetTimePeriodOutput ¶
func (o BudgetTimePeriodOutput) ToBudgetTimePeriodOutput() BudgetTimePeriodOutput
func (BudgetTimePeriodOutput) ToBudgetTimePeriodOutputWithContext ¶
func (o BudgetTimePeriodOutput) ToBudgetTimePeriodOutputWithContext(ctx context.Context) BudgetTimePeriodOutput
func (BudgetTimePeriodOutput) ToBudgetTimePeriodPtrOutput ¶
func (o BudgetTimePeriodOutput) ToBudgetTimePeriodPtrOutput() BudgetTimePeriodPtrOutput
func (BudgetTimePeriodOutput) ToBudgetTimePeriodPtrOutputWithContext ¶
func (o BudgetTimePeriodOutput) ToBudgetTimePeriodPtrOutputWithContext(ctx context.Context) BudgetTimePeriodPtrOutput
type BudgetTimePeriodPtrInput ¶
type BudgetTimePeriodPtrInput interface { pulumi.Input ToBudgetTimePeriodPtrOutput() BudgetTimePeriodPtrOutput ToBudgetTimePeriodPtrOutputWithContext(context.Context) BudgetTimePeriodPtrOutput }
BudgetTimePeriodPtrInput is an input type that accepts BudgetTimePeriodArgs, BudgetTimePeriodPtr and BudgetTimePeriodPtrOutput values. You can construct a concrete instance of `BudgetTimePeriodPtrInput` via:
BudgetTimePeriodArgs{...} or: nil
func BudgetTimePeriodPtr ¶
func BudgetTimePeriodPtr(v *BudgetTimePeriodArgs) BudgetTimePeriodPtrInput
type BudgetTimePeriodPtrOutput ¶
type BudgetTimePeriodPtrOutput struct{ *pulumi.OutputState }
func (BudgetTimePeriodPtrOutput) Elem ¶
func (o BudgetTimePeriodPtrOutput) Elem() BudgetTimePeriodOutput
func (BudgetTimePeriodPtrOutput) ElementType ¶
func (BudgetTimePeriodPtrOutput) ElementType() reflect.Type
func (BudgetTimePeriodPtrOutput) EndDate ¶
func (o BudgetTimePeriodPtrOutput) EndDate() pulumi.StringPtrOutput
The end date for the budget. If not provided, we default this to 10 years from the start date.
func (BudgetTimePeriodPtrOutput) StartDate ¶
func (o BudgetTimePeriodPtrOutput) StartDate() pulumi.StringPtrOutput
The start date for the budget.
func (BudgetTimePeriodPtrOutput) ToBudgetTimePeriodPtrOutput ¶
func (o BudgetTimePeriodPtrOutput) ToBudgetTimePeriodPtrOutput() BudgetTimePeriodPtrOutput
func (BudgetTimePeriodPtrOutput) ToBudgetTimePeriodPtrOutputWithContext ¶
func (o BudgetTimePeriodPtrOutput) ToBudgetTimePeriodPtrOutputWithContext(ctx context.Context) BudgetTimePeriodPtrOutput
type BudgetTimePeriodResponse ¶
type BudgetTimePeriodResponse struct { // The end date for the budget. If not provided, we default this to 10 years from the start date. EndDate *string `pulumi:"endDate"` // The start date for the budget. StartDate string `pulumi:"startDate"` }
The start and end date for a budget.
type BudgetTimePeriodResponseArgs ¶
type BudgetTimePeriodResponseArgs struct { // The end date for the budget. If not provided, we default this to 10 years from the start date. EndDate pulumi.StringPtrInput `pulumi:"endDate"` // The start date for the budget. StartDate pulumi.StringInput `pulumi:"startDate"` }
The start and end date for a budget.
func (BudgetTimePeriodResponseArgs) ElementType ¶
func (BudgetTimePeriodResponseArgs) ElementType() reflect.Type
func (BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponseOutput ¶
func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponseOutput() BudgetTimePeriodResponseOutput
func (BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponseOutputWithContext ¶
func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponseOutputWithContext(ctx context.Context) BudgetTimePeriodResponseOutput
func (BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponsePtrOutput ¶
func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponsePtrOutput() BudgetTimePeriodResponsePtrOutput
func (BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponsePtrOutputWithContext ¶
func (i BudgetTimePeriodResponseArgs) ToBudgetTimePeriodResponsePtrOutputWithContext(ctx context.Context) BudgetTimePeriodResponsePtrOutput
type BudgetTimePeriodResponseInput ¶
type BudgetTimePeriodResponseInput interface { pulumi.Input ToBudgetTimePeriodResponseOutput() BudgetTimePeriodResponseOutput ToBudgetTimePeriodResponseOutputWithContext(context.Context) BudgetTimePeriodResponseOutput }
BudgetTimePeriodResponseInput is an input type that accepts BudgetTimePeriodResponseArgs and BudgetTimePeriodResponseOutput values. You can construct a concrete instance of `BudgetTimePeriodResponseInput` via:
BudgetTimePeriodResponseArgs{...}
type BudgetTimePeriodResponseOutput ¶
type BudgetTimePeriodResponseOutput struct{ *pulumi.OutputState }
The start and end date for a budget.
func (BudgetTimePeriodResponseOutput) ElementType ¶
func (BudgetTimePeriodResponseOutput) ElementType() reflect.Type
func (BudgetTimePeriodResponseOutput) EndDate ¶
func (o BudgetTimePeriodResponseOutput) EndDate() pulumi.StringPtrOutput
The end date for the budget. If not provided, we default this to 10 years from the start date.
func (BudgetTimePeriodResponseOutput) StartDate ¶
func (o BudgetTimePeriodResponseOutput) StartDate() pulumi.StringOutput
The start date for the budget.
func (BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponseOutput ¶
func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponseOutput() BudgetTimePeriodResponseOutput
func (BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponseOutputWithContext ¶
func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponseOutputWithContext(ctx context.Context) BudgetTimePeriodResponseOutput
func (BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponsePtrOutput ¶
func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponsePtrOutput() BudgetTimePeriodResponsePtrOutput
func (BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponsePtrOutputWithContext ¶
func (o BudgetTimePeriodResponseOutput) ToBudgetTimePeriodResponsePtrOutputWithContext(ctx context.Context) BudgetTimePeriodResponsePtrOutput
type BudgetTimePeriodResponsePtrInput ¶
type BudgetTimePeriodResponsePtrInput interface { pulumi.Input ToBudgetTimePeriodResponsePtrOutput() BudgetTimePeriodResponsePtrOutput ToBudgetTimePeriodResponsePtrOutputWithContext(context.Context) BudgetTimePeriodResponsePtrOutput }
BudgetTimePeriodResponsePtrInput is an input type that accepts BudgetTimePeriodResponseArgs, BudgetTimePeriodResponsePtr and BudgetTimePeriodResponsePtrOutput values. You can construct a concrete instance of `BudgetTimePeriodResponsePtrInput` via:
BudgetTimePeriodResponseArgs{...} or: nil
func BudgetTimePeriodResponsePtr ¶
func BudgetTimePeriodResponsePtr(v *BudgetTimePeriodResponseArgs) BudgetTimePeriodResponsePtrInput
type BudgetTimePeriodResponsePtrOutput ¶
type BudgetTimePeriodResponsePtrOutput struct{ *pulumi.OutputState }
func (BudgetTimePeriodResponsePtrOutput) Elem ¶
func (o BudgetTimePeriodResponsePtrOutput) Elem() BudgetTimePeriodResponseOutput
func (BudgetTimePeriodResponsePtrOutput) ElementType ¶
func (BudgetTimePeriodResponsePtrOutput) ElementType() reflect.Type
func (BudgetTimePeriodResponsePtrOutput) EndDate ¶
func (o BudgetTimePeriodResponsePtrOutput) EndDate() pulumi.StringPtrOutput
The end date for the budget. If not provided, we default this to 10 years from the start date.
func (BudgetTimePeriodResponsePtrOutput) StartDate ¶
func (o BudgetTimePeriodResponsePtrOutput) StartDate() pulumi.StringPtrOutput
The start date for the budget.
func (BudgetTimePeriodResponsePtrOutput) ToBudgetTimePeriodResponsePtrOutput ¶
func (o BudgetTimePeriodResponsePtrOutput) ToBudgetTimePeriodResponsePtrOutput() BudgetTimePeriodResponsePtrOutput
func (BudgetTimePeriodResponsePtrOutput) ToBudgetTimePeriodResponsePtrOutputWithContext ¶
func (o BudgetTimePeriodResponsePtrOutput) ToBudgetTimePeriodResponsePtrOutputWithContext(ctx context.Context) BudgetTimePeriodResponsePtrOutput
type CurrentSpendResponse ¶
type CurrentSpendResponse struct { // The total amount of cost which is being tracked by the budget. Amount float64 `pulumi:"amount"` // The unit of measure for the budget amount. Unit string `pulumi:"unit"` }
The current amount of cost which is being tracked for a budget.
type CurrentSpendResponseArgs ¶
type CurrentSpendResponseArgs struct { // The total amount of cost which is being tracked by the budget. Amount pulumi.Float64Input `pulumi:"amount"` // The unit of measure for the budget amount. Unit pulumi.StringInput `pulumi:"unit"` }
The current amount of cost which is being tracked for a budget.
func (CurrentSpendResponseArgs) ElementType ¶
func (CurrentSpendResponseArgs) ElementType() reflect.Type
func (CurrentSpendResponseArgs) ToCurrentSpendResponseOutput ¶
func (i CurrentSpendResponseArgs) ToCurrentSpendResponseOutput() CurrentSpendResponseOutput
func (CurrentSpendResponseArgs) ToCurrentSpendResponseOutputWithContext ¶
func (i CurrentSpendResponseArgs) ToCurrentSpendResponseOutputWithContext(ctx context.Context) CurrentSpendResponseOutput
func (CurrentSpendResponseArgs) ToCurrentSpendResponsePtrOutput ¶
func (i CurrentSpendResponseArgs) ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput
func (CurrentSpendResponseArgs) ToCurrentSpendResponsePtrOutputWithContext ¶
func (i CurrentSpendResponseArgs) ToCurrentSpendResponsePtrOutputWithContext(ctx context.Context) CurrentSpendResponsePtrOutput
type CurrentSpendResponseInput ¶
type CurrentSpendResponseInput interface { pulumi.Input ToCurrentSpendResponseOutput() CurrentSpendResponseOutput ToCurrentSpendResponseOutputWithContext(context.Context) CurrentSpendResponseOutput }
CurrentSpendResponseInput is an input type that accepts CurrentSpendResponseArgs and CurrentSpendResponseOutput values. You can construct a concrete instance of `CurrentSpendResponseInput` via:
CurrentSpendResponseArgs{...}
type CurrentSpendResponseOutput ¶
type CurrentSpendResponseOutput struct{ *pulumi.OutputState }
The current amount of cost which is being tracked for a budget.
func (CurrentSpendResponseOutput) Amount ¶
func (o CurrentSpendResponseOutput) Amount() pulumi.Float64Output
The total amount of cost which is being tracked by the budget.
func (CurrentSpendResponseOutput) ElementType ¶
func (CurrentSpendResponseOutput) ElementType() reflect.Type
func (CurrentSpendResponseOutput) ToCurrentSpendResponseOutput ¶
func (o CurrentSpendResponseOutput) ToCurrentSpendResponseOutput() CurrentSpendResponseOutput
func (CurrentSpendResponseOutput) ToCurrentSpendResponseOutputWithContext ¶
func (o CurrentSpendResponseOutput) ToCurrentSpendResponseOutputWithContext(ctx context.Context) CurrentSpendResponseOutput
func (CurrentSpendResponseOutput) ToCurrentSpendResponsePtrOutput ¶
func (o CurrentSpendResponseOutput) ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput
func (CurrentSpendResponseOutput) ToCurrentSpendResponsePtrOutputWithContext ¶
func (o CurrentSpendResponseOutput) ToCurrentSpendResponsePtrOutputWithContext(ctx context.Context) CurrentSpendResponsePtrOutput
func (CurrentSpendResponseOutput) Unit ¶
func (o CurrentSpendResponseOutput) Unit() pulumi.StringOutput
The unit of measure for the budget amount.
type CurrentSpendResponsePtrInput ¶
type CurrentSpendResponsePtrInput interface { pulumi.Input ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput ToCurrentSpendResponsePtrOutputWithContext(context.Context) CurrentSpendResponsePtrOutput }
CurrentSpendResponsePtrInput is an input type that accepts CurrentSpendResponseArgs, CurrentSpendResponsePtr and CurrentSpendResponsePtrOutput values. You can construct a concrete instance of `CurrentSpendResponsePtrInput` via:
CurrentSpendResponseArgs{...} or: nil
func CurrentSpendResponsePtr ¶
func CurrentSpendResponsePtr(v *CurrentSpendResponseArgs) CurrentSpendResponsePtrInput
type CurrentSpendResponsePtrOutput ¶
type CurrentSpendResponsePtrOutput struct{ *pulumi.OutputState }
func (CurrentSpendResponsePtrOutput) Amount ¶
func (o CurrentSpendResponsePtrOutput) Amount() pulumi.Float64PtrOutput
The total amount of cost which is being tracked by the budget.
func (CurrentSpendResponsePtrOutput) Elem ¶
func (o CurrentSpendResponsePtrOutput) Elem() CurrentSpendResponseOutput
func (CurrentSpendResponsePtrOutput) ElementType ¶
func (CurrentSpendResponsePtrOutput) ElementType() reflect.Type
func (CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutput ¶
func (o CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput
func (CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutputWithContext ¶
func (o CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutputWithContext(ctx context.Context) CurrentSpendResponsePtrOutput
func (CurrentSpendResponsePtrOutput) Unit ¶
func (o CurrentSpendResponsePtrOutput) Unit() pulumi.StringPtrOutput
The unit of measure for the budget amount.
type LookupBudgetArgs ¶
type LookupBudgetArgs struct { // Budget name. Name string `pulumi:"name"` }
type LookupBudgetResult ¶
type LookupBudgetResult struct { // The total amount of cost to track with the budget Amount float64 `pulumi:"amount"` // The category of the budget, whether the budget tracks cost or something else. Category string `pulumi:"category"` // The current amount of cost which is being tracked for a budget. CurrentSpend CurrentSpendResponse `pulumi:"currentSpend"` // eTag of the resource. To handle concurrent update scenario, this field will be used to determine whether the user is updating the latest version or not. ETag *string `pulumi:"eTag"` // Resource name. Name string `pulumi:"name"` // Dictionary of notifications associated with the budget. Budget can have up to five notifications. Notifications map[string]NotificationResponse `pulumi:"notifications"` // The time covered by a budget. Tracking of the amount will be reset based on the time grain. TimeGrain string `pulumi:"timeGrain"` // Has start and end date of the budget. The start date must be first of the month and should be less than the end date. Budget start date must be on or after June 1, 2017. Future start date should not be more than three months. Past start date should be selected within the timegrain period. There are no restrictions on the end date. TimePeriod BudgetTimePeriodResponse `pulumi:"timePeriod"` // Resource type. Type string `pulumi:"type"` }
A budget resource.
func LookupBudget ¶
func LookupBudget(ctx *pulumi.Context, args *LookupBudgetArgs, opts ...pulumi.InvokeOption) (*LookupBudgetResult, error)
type Notification ¶
type Notification struct { // Email addresses to send the budget notification to when the threshold is exceeded. ContactEmails []string `pulumi:"contactEmails"` // Contact roles to send the budget notification to when the threshold is exceeded. ContactRoles []string `pulumi:"contactRoles"` // The notification is enabled or not. Enabled bool `pulumi:"enabled"` // The comparison operator. Operator string `pulumi:"operator"` // Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. Threshold float64 `pulumi:"threshold"` }
The notification associated with a budget.
type NotificationArgs ¶
type NotificationArgs struct { // Email addresses to send the budget notification to when the threshold is exceeded. ContactEmails pulumi.StringArrayInput `pulumi:"contactEmails"` // Contact roles to send the budget notification to when the threshold is exceeded. ContactRoles pulumi.StringArrayInput `pulumi:"contactRoles"` // The notification is enabled or not. Enabled pulumi.BoolInput `pulumi:"enabled"` // The comparison operator. Operator pulumi.StringInput `pulumi:"operator"` // Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. Threshold pulumi.Float64Input `pulumi:"threshold"` }
The notification associated with a budget.
func (NotificationArgs) ElementType ¶
func (NotificationArgs) ElementType() reflect.Type
func (NotificationArgs) ToNotificationOutput ¶
func (i NotificationArgs) ToNotificationOutput() NotificationOutput
func (NotificationArgs) ToNotificationOutputWithContext ¶
func (i NotificationArgs) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
type NotificationInput ¶
type NotificationInput interface { pulumi.Input ToNotificationOutput() NotificationOutput ToNotificationOutputWithContext(context.Context) NotificationOutput }
NotificationInput is an input type that accepts NotificationArgs and NotificationOutput values. You can construct a concrete instance of `NotificationInput` via:
NotificationArgs{...}
type NotificationMap ¶
type NotificationMap map[string]NotificationInput
func (NotificationMap) ElementType ¶
func (NotificationMap) ElementType() reflect.Type
func (NotificationMap) ToNotificationMapOutput ¶
func (i NotificationMap) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMap) ToNotificationMapOutputWithContext ¶
func (i NotificationMap) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationMapInput ¶
type NotificationMapInput interface { pulumi.Input ToNotificationMapOutput() NotificationMapOutput ToNotificationMapOutputWithContext(context.Context) NotificationMapOutput }
NotificationMapInput is an input type that accepts NotificationMap and NotificationMapOutput values. You can construct a concrete instance of `NotificationMapInput` via:
NotificationMap{ "key": NotificationArgs{...} }
type NotificationMapOutput ¶
type NotificationMapOutput struct{ *pulumi.OutputState }
func (NotificationMapOutput) ElementType ¶
func (NotificationMapOutput) ElementType() reflect.Type
func (NotificationMapOutput) MapIndex ¶
func (o NotificationMapOutput) MapIndex(k pulumi.StringInput) NotificationOutput
func (NotificationMapOutput) ToNotificationMapOutput ¶
func (o NotificationMapOutput) ToNotificationMapOutput() NotificationMapOutput
func (NotificationMapOutput) ToNotificationMapOutputWithContext ¶
func (o NotificationMapOutput) ToNotificationMapOutputWithContext(ctx context.Context) NotificationMapOutput
type NotificationOutput ¶
type NotificationOutput struct{ *pulumi.OutputState }
The notification associated with a budget.
func (NotificationOutput) ContactEmails ¶
func (o NotificationOutput) ContactEmails() pulumi.StringArrayOutput
Email addresses to send the budget notification to when the threshold is exceeded.
func (NotificationOutput) ContactRoles ¶
func (o NotificationOutput) ContactRoles() pulumi.StringArrayOutput
Contact roles to send the budget notification to when the threshold is exceeded.
func (NotificationOutput) ElementType ¶
func (NotificationOutput) ElementType() reflect.Type
func (NotificationOutput) Enabled ¶
func (o NotificationOutput) Enabled() pulumi.BoolOutput
The notification is enabled or not.
func (NotificationOutput) Operator ¶
func (o NotificationOutput) Operator() pulumi.StringOutput
The comparison operator.
func (NotificationOutput) Threshold ¶
func (o NotificationOutput) Threshold() pulumi.Float64Output
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
func (NotificationOutput) ToNotificationOutput ¶
func (o NotificationOutput) ToNotificationOutput() NotificationOutput
func (NotificationOutput) ToNotificationOutputWithContext ¶
func (o NotificationOutput) ToNotificationOutputWithContext(ctx context.Context) NotificationOutput
type NotificationResponse ¶
type NotificationResponse struct { // Email addresses to send the budget notification to when the threshold is exceeded. ContactEmails []string `pulumi:"contactEmails"` // Contact roles to send the budget notification to when the threshold is exceeded. ContactRoles []string `pulumi:"contactRoles"` // The notification is enabled or not. Enabled bool `pulumi:"enabled"` // The comparison operator. Operator string `pulumi:"operator"` // Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. Threshold float64 `pulumi:"threshold"` }
The notification associated with a budget.
type NotificationResponseArgs ¶
type NotificationResponseArgs struct { // Email addresses to send the budget notification to when the threshold is exceeded. ContactEmails pulumi.StringArrayInput `pulumi:"contactEmails"` // Contact roles to send the budget notification to when the threshold is exceeded. ContactRoles pulumi.StringArrayInput `pulumi:"contactRoles"` // The notification is enabled or not. Enabled pulumi.BoolInput `pulumi:"enabled"` // The comparison operator. Operator pulumi.StringInput `pulumi:"operator"` // Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000. Threshold pulumi.Float64Input `pulumi:"threshold"` }
The notification associated with a budget.
func (NotificationResponseArgs) ElementType ¶
func (NotificationResponseArgs) ElementType() reflect.Type
func (NotificationResponseArgs) ToNotificationResponseOutput ¶
func (i NotificationResponseArgs) ToNotificationResponseOutput() NotificationResponseOutput
func (NotificationResponseArgs) ToNotificationResponseOutputWithContext ¶
func (i NotificationResponseArgs) ToNotificationResponseOutputWithContext(ctx context.Context) NotificationResponseOutput
type NotificationResponseInput ¶
type NotificationResponseInput interface { pulumi.Input ToNotificationResponseOutput() NotificationResponseOutput ToNotificationResponseOutputWithContext(context.Context) NotificationResponseOutput }
NotificationResponseInput is an input type that accepts NotificationResponseArgs and NotificationResponseOutput values. You can construct a concrete instance of `NotificationResponseInput` via:
NotificationResponseArgs{...}
type NotificationResponseMap ¶
type NotificationResponseMap map[string]NotificationResponseInput
func (NotificationResponseMap) ElementType ¶
func (NotificationResponseMap) ElementType() reflect.Type
func (NotificationResponseMap) ToNotificationResponseMapOutput ¶
func (i NotificationResponseMap) ToNotificationResponseMapOutput() NotificationResponseMapOutput
func (NotificationResponseMap) ToNotificationResponseMapOutputWithContext ¶
func (i NotificationResponseMap) ToNotificationResponseMapOutputWithContext(ctx context.Context) NotificationResponseMapOutput
type NotificationResponseMapInput ¶
type NotificationResponseMapInput interface { pulumi.Input ToNotificationResponseMapOutput() NotificationResponseMapOutput ToNotificationResponseMapOutputWithContext(context.Context) NotificationResponseMapOutput }
NotificationResponseMapInput is an input type that accepts NotificationResponseMap and NotificationResponseMapOutput values. You can construct a concrete instance of `NotificationResponseMapInput` via:
NotificationResponseMap{ "key": NotificationResponseArgs{...} }
type NotificationResponseMapOutput ¶
type NotificationResponseMapOutput struct{ *pulumi.OutputState }
func (NotificationResponseMapOutput) ElementType ¶
func (NotificationResponseMapOutput) ElementType() reflect.Type
func (NotificationResponseMapOutput) MapIndex ¶
func (o NotificationResponseMapOutput) MapIndex(k pulumi.StringInput) NotificationResponseOutput
func (NotificationResponseMapOutput) ToNotificationResponseMapOutput ¶
func (o NotificationResponseMapOutput) ToNotificationResponseMapOutput() NotificationResponseMapOutput
func (NotificationResponseMapOutput) ToNotificationResponseMapOutputWithContext ¶
func (o NotificationResponseMapOutput) ToNotificationResponseMapOutputWithContext(ctx context.Context) NotificationResponseMapOutput
type NotificationResponseOutput ¶
type NotificationResponseOutput struct{ *pulumi.OutputState }
The notification associated with a budget.
func (NotificationResponseOutput) ContactEmails ¶
func (o NotificationResponseOutput) ContactEmails() pulumi.StringArrayOutput
Email addresses to send the budget notification to when the threshold is exceeded.
func (NotificationResponseOutput) ContactRoles ¶
func (o NotificationResponseOutput) ContactRoles() pulumi.StringArrayOutput
Contact roles to send the budget notification to when the threshold is exceeded.
func (NotificationResponseOutput) ElementType ¶
func (NotificationResponseOutput) ElementType() reflect.Type
func (NotificationResponseOutput) Enabled ¶
func (o NotificationResponseOutput) Enabled() pulumi.BoolOutput
The notification is enabled or not.
func (NotificationResponseOutput) Operator ¶
func (o NotificationResponseOutput) Operator() pulumi.StringOutput
The comparison operator.
func (NotificationResponseOutput) Threshold ¶
func (o NotificationResponseOutput) Threshold() pulumi.Float64Output
Threshold value associated with a notification. Notification is sent when the cost exceeded the threshold. It is always percent and has to be between 0 and 1000.
func (NotificationResponseOutput) ToNotificationResponseOutput ¶
func (o NotificationResponseOutput) ToNotificationResponseOutput() NotificationResponseOutput
func (NotificationResponseOutput) ToNotificationResponseOutputWithContext ¶
func (o NotificationResponseOutput) ToNotificationResponseOutputWithContext(ctx context.Context) NotificationResponseOutput