v20180831

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CategoryTypeCost  = CategoryType("Cost")
	CategoryTypeUsage = CategoryType("Usage")
)
View Source
const (
	OperatorTypeEqualTo              = OperatorType("EqualTo")
	OperatorTypeGreaterThan          = OperatorType("GreaterThan")
	OperatorTypeGreaterThanOrEqualTo = OperatorType("GreaterThanOrEqualTo")
)
View Source
const (
	TimeGrainTypeMonthly   = TimeGrainType("Monthly")
	TimeGrainTypeQuarterly = TimeGrainType("Quarterly")
	TimeGrainTypeAnnually  = TimeGrainType("Annually")
)

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 usage.
	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"`
	// May be used to filter budgets by resource group, resource, or meter.
	Filters FiltersResponsePtrOutput `pulumi:"filters"`
	// 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.

func (*Budget) ElementType added in v0.2.6

func (*Budget) ElementType() reflect.Type

func (*Budget) ToBudgetOutput added in v0.2.6

func (i *Budget) ToBudgetOutput() BudgetOutput

func (*Budget) ToBudgetOutputWithContext added in v0.2.6

func (i *Budget) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

type BudgetArgs

type BudgetArgs struct {
	// The total amount of cost to track with the budget
	Amount pulumi.Float64Input
	// Budget Name.
	BudgetName pulumi.StringInput
	// The category of the budget, whether the budget tracks cost or usage.
	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
	// May be used to filter budgets by resource group, resource, or meter.
	Filters FiltersPtrInput
	// 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 BudgetByResourceGroupName

type BudgetByResourceGroupName 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 usage.
	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"`
	// May be used to filter budgets by resource group, resource, or meter.
	Filters FiltersResponsePtrOutput `pulumi:"filters"`
	// 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 GetBudgetByResourceGroupName

func GetBudgetByResourceGroupName(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BudgetByResourceGroupNameState, opts ...pulumi.ResourceOption) (*BudgetByResourceGroupName, error)

GetBudgetByResourceGroupName gets an existing BudgetByResourceGroupName 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 NewBudgetByResourceGroupName

func NewBudgetByResourceGroupName(ctx *pulumi.Context,
	name string, args *BudgetByResourceGroupNameArgs, opts ...pulumi.ResourceOption) (*BudgetByResourceGroupName, error)

NewBudgetByResourceGroupName registers a new resource with the given unique name, arguments, and options.

func (*BudgetByResourceGroupName) ElementType added in v0.2.6

func (*BudgetByResourceGroupName) ElementType() reflect.Type

func (*BudgetByResourceGroupName) ToBudgetByResourceGroupNameOutput added in v0.2.6

func (i *BudgetByResourceGroupName) ToBudgetByResourceGroupNameOutput() BudgetByResourceGroupNameOutput

func (*BudgetByResourceGroupName) ToBudgetByResourceGroupNameOutputWithContext added in v0.2.6

func (i *BudgetByResourceGroupName) ToBudgetByResourceGroupNameOutputWithContext(ctx context.Context) BudgetByResourceGroupNameOutput

type BudgetByResourceGroupNameArgs

type BudgetByResourceGroupNameArgs struct {
	// The total amount of cost to track with the budget
	Amount pulumi.Float64Input
	// Budget Name.
	BudgetName pulumi.StringInput
	// The category of the budget, whether the budget tracks cost or usage.
	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
	// May be used to filter budgets by resource group, resource, or meter.
	Filters FiltersPtrInput
	// Dictionary of notifications associated with the budget. Budget can have up to five notifications.
	Notifications NotificationMapInput
	// Azure Resource Group Name.
	ResourceGroupName pulumi.StringInput
	// 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 BudgetByResourceGroupName resource.

func (BudgetByResourceGroupNameArgs) ElementType

type BudgetByResourceGroupNameInput added in v0.2.6

type BudgetByResourceGroupNameInput interface {
	pulumi.Input

	ToBudgetByResourceGroupNameOutput() BudgetByResourceGroupNameOutput
	ToBudgetByResourceGroupNameOutputWithContext(ctx context.Context) BudgetByResourceGroupNameOutput
}

type BudgetByResourceGroupNameOutput added in v0.2.6

type BudgetByResourceGroupNameOutput struct {
	*pulumi.OutputState
}

func (BudgetByResourceGroupNameOutput) ElementType added in v0.2.6

func (BudgetByResourceGroupNameOutput) ToBudgetByResourceGroupNameOutput added in v0.2.6

func (o BudgetByResourceGroupNameOutput) ToBudgetByResourceGroupNameOutput() BudgetByResourceGroupNameOutput

func (BudgetByResourceGroupNameOutput) ToBudgetByResourceGroupNameOutputWithContext added in v0.2.6

func (o BudgetByResourceGroupNameOutput) ToBudgetByResourceGroupNameOutputWithContext(ctx context.Context) BudgetByResourceGroupNameOutput

type BudgetByResourceGroupNameState

type BudgetByResourceGroupNameState 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 usage.
	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
	// May be used to filter budgets by resource group, resource, or meter.
	Filters FiltersResponsePtrInput
	// 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 (BudgetByResourceGroupNameState) ElementType

type BudgetInput added in v0.2.6

type BudgetInput interface {
	pulumi.Input

	ToBudgetOutput() BudgetOutput
	ToBudgetOutputWithContext(ctx context.Context) BudgetOutput
}

type BudgetOutput added in v0.2.6

type BudgetOutput struct {
	*pulumi.OutputState
}

func (BudgetOutput) ElementType added in v0.2.6

func (BudgetOutput) ElementType() reflect.Type

func (BudgetOutput) ToBudgetOutput added in v0.2.6

func (o BudgetOutput) ToBudgetOutput() BudgetOutput

func (BudgetOutput) ToBudgetOutputWithContext added in v0.2.6

func (o BudgetOutput) ToBudgetOutputWithContext(ctx context.Context) BudgetOutput

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 usage.
	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
	// May be used to filter budgets by resource group, resource, or meter.
	Filters FiltersResponsePtrInput
	// 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

The end date for the budget. If not provided, we default this to 10 years from the start date.

func (BudgetTimePeriodOutput) StartDate

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

type BudgetTimePeriodPtrOutput

type BudgetTimePeriodPtrOutput struct{ *pulumi.OutputState }

func (BudgetTimePeriodPtrOutput) Elem

func (BudgetTimePeriodPtrOutput) ElementType

func (BudgetTimePeriodPtrOutput) ElementType() reflect.Type

func (BudgetTimePeriodPtrOutput) EndDate

The end date for the budget. If not provided, we default this to 10 years from the start date.

func (BudgetTimePeriodPtrOutput) StartDate

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) 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) EndDate

The end date for the budget. If not provided, we default this to 10 years from the start date.

func (BudgetTimePeriodResponseOutput) StartDate

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

type BudgetTimePeriodResponsePtrOutput

type BudgetTimePeriodResponsePtrOutput struct{ *pulumi.OutputState }

func (BudgetTimePeriodResponsePtrOutput) Elem

func (BudgetTimePeriodResponsePtrOutput) ElementType

func (BudgetTimePeriodResponsePtrOutput) EndDate

The end date for the budget. If not provided, we default this to 10 years from the start date.

func (BudgetTimePeriodResponsePtrOutput) StartDate

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 CategoryType added in v0.3.1

type CategoryType pulumi.String

The category of the budget, whether the budget tracks cost or usage.

func (CategoryType) ElementType added in v0.3.1

func (CategoryType) ElementType() reflect.Type

func (CategoryType) ToStringOutput added in v0.3.1

func (e CategoryType) ToStringOutput() pulumi.StringOutput

func (CategoryType) ToStringOutputWithContext added in v0.3.1

func (e CategoryType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (CategoryType) ToStringPtrOutput added in v0.3.1

func (e CategoryType) ToStringPtrOutput() pulumi.StringPtrOutput

func (CategoryType) ToStringPtrOutputWithContext added in v0.3.1

func (e CategoryType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

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

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

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

type CurrentSpendResponsePtrOutput

type CurrentSpendResponsePtrOutput struct{ *pulumi.OutputState }

func (CurrentSpendResponsePtrOutput) Amount

The total amount of cost which is being tracked by the budget.

func (CurrentSpendResponsePtrOutput) Elem

func (CurrentSpendResponsePtrOutput) ElementType

func (CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutput

func (o CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutput() CurrentSpendResponsePtrOutput

func (CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutputWithContext

func (o CurrentSpendResponsePtrOutput) ToCurrentSpendResponsePtrOutputWithContext(ctx context.Context) CurrentSpendResponsePtrOutput

func (CurrentSpendResponsePtrOutput) Unit

The unit of measure for the budget amount.

type Filters

type Filters struct {
	// The list of filters on meters (GUID), mandatory for budgets of usage category.
	Meters []string `pulumi:"meters"`
	// The list of filters on resource groups, allowed at subscription level only.
	ResourceGroups []string `pulumi:"resourceGroups"`
	// The list of filters on resources.
	Resources []string `pulumi:"resources"`
	// The dictionary of filters on tags.
	Tags map[string][]string `pulumi:"tags"`
}

May be used to filter budgets by resource group, resource, or meter.

type FiltersArgs

type FiltersArgs struct {
	// The list of filters on meters (GUID), mandatory for budgets of usage category.
	Meters pulumi.StringArrayInput `pulumi:"meters"`
	// The list of filters on resource groups, allowed at subscription level only.
	ResourceGroups pulumi.StringArrayInput `pulumi:"resourceGroups"`
	// The list of filters on resources.
	Resources pulumi.StringArrayInput `pulumi:"resources"`
	// The dictionary of filters on tags.
	Tags pulumi.StringArrayMapInput `pulumi:"tags"`
}

May be used to filter budgets by resource group, resource, or meter.

func (FiltersArgs) ElementType

func (FiltersArgs) ElementType() reflect.Type

func (FiltersArgs) ToFiltersOutput

func (i FiltersArgs) ToFiltersOutput() FiltersOutput

func (FiltersArgs) ToFiltersOutputWithContext

func (i FiltersArgs) ToFiltersOutputWithContext(ctx context.Context) FiltersOutput

func (FiltersArgs) ToFiltersPtrOutput

func (i FiltersArgs) ToFiltersPtrOutput() FiltersPtrOutput

func (FiltersArgs) ToFiltersPtrOutputWithContext

func (i FiltersArgs) ToFiltersPtrOutputWithContext(ctx context.Context) FiltersPtrOutput

type FiltersInput

type FiltersInput interface {
	pulumi.Input

	ToFiltersOutput() FiltersOutput
	ToFiltersOutputWithContext(context.Context) FiltersOutput
}

FiltersInput is an input type that accepts FiltersArgs and FiltersOutput values. You can construct a concrete instance of `FiltersInput` via:

FiltersArgs{...}

type FiltersOutput

type FiltersOutput struct{ *pulumi.OutputState }

May be used to filter budgets by resource group, resource, or meter.

func (FiltersOutput) ElementType

func (FiltersOutput) ElementType() reflect.Type

func (FiltersOutput) Meters

The list of filters on meters (GUID), mandatory for budgets of usage category.

func (FiltersOutput) ResourceGroups

func (o FiltersOutput) ResourceGroups() pulumi.StringArrayOutput

The list of filters on resource groups, allowed at subscription level only.

func (FiltersOutput) Resources

func (o FiltersOutput) Resources() pulumi.StringArrayOutput

The list of filters on resources.

func (FiltersOutput) Tags

The dictionary of filters on tags.

func (FiltersOutput) ToFiltersOutput

func (o FiltersOutput) ToFiltersOutput() FiltersOutput

func (FiltersOutput) ToFiltersOutputWithContext

func (o FiltersOutput) ToFiltersOutputWithContext(ctx context.Context) FiltersOutput

func (FiltersOutput) ToFiltersPtrOutput

func (o FiltersOutput) ToFiltersPtrOutput() FiltersPtrOutput

func (FiltersOutput) ToFiltersPtrOutputWithContext

func (o FiltersOutput) ToFiltersPtrOutputWithContext(ctx context.Context) FiltersPtrOutput

type FiltersPtrInput

type FiltersPtrInput interface {
	pulumi.Input

	ToFiltersPtrOutput() FiltersPtrOutput
	ToFiltersPtrOutputWithContext(context.Context) FiltersPtrOutput
}

FiltersPtrInput is an input type that accepts FiltersArgs, FiltersPtr and FiltersPtrOutput values. You can construct a concrete instance of `FiltersPtrInput` via:

        FiltersArgs{...}

or:

        nil

func FiltersPtr

func FiltersPtr(v *FiltersArgs) FiltersPtrInput

type FiltersPtrOutput

type FiltersPtrOutput struct{ *pulumi.OutputState }

func (FiltersPtrOutput) Elem

func (FiltersPtrOutput) ElementType

func (FiltersPtrOutput) ElementType() reflect.Type

func (FiltersPtrOutput) Meters

The list of filters on meters (GUID), mandatory for budgets of usage category.

func (FiltersPtrOutput) ResourceGroups

func (o FiltersPtrOutput) ResourceGroups() pulumi.StringArrayOutput

The list of filters on resource groups, allowed at subscription level only.

func (FiltersPtrOutput) Resources

The list of filters on resources.

func (FiltersPtrOutput) Tags

The dictionary of filters on tags.

func (FiltersPtrOutput) ToFiltersPtrOutput

func (o FiltersPtrOutput) ToFiltersPtrOutput() FiltersPtrOutput

func (FiltersPtrOutput) ToFiltersPtrOutputWithContext

func (o FiltersPtrOutput) ToFiltersPtrOutputWithContext(ctx context.Context) FiltersPtrOutput

type FiltersResponse

type FiltersResponse struct {
	// The list of filters on meters (GUID), mandatory for budgets of usage category.
	Meters []string `pulumi:"meters"`
	// The list of filters on resource groups, allowed at subscription level only.
	ResourceGroups []string `pulumi:"resourceGroups"`
	// The list of filters on resources.
	Resources []string `pulumi:"resources"`
	// The dictionary of filters on tags.
	Tags map[string][]string `pulumi:"tags"`
}

May be used to filter budgets by resource group, resource, or meter.

type FiltersResponseArgs

type FiltersResponseArgs struct {
	// The list of filters on meters (GUID), mandatory for budgets of usage category.
	Meters pulumi.StringArrayInput `pulumi:"meters"`
	// The list of filters on resource groups, allowed at subscription level only.
	ResourceGroups pulumi.StringArrayInput `pulumi:"resourceGroups"`
	// The list of filters on resources.
	Resources pulumi.StringArrayInput `pulumi:"resources"`
	// The dictionary of filters on tags.
	Tags pulumi.StringArrayMapInput `pulumi:"tags"`
}

May be used to filter budgets by resource group, resource, or meter.

func (FiltersResponseArgs) ElementType

func (FiltersResponseArgs) ElementType() reflect.Type

func (FiltersResponseArgs) ToFiltersResponseOutput

func (i FiltersResponseArgs) ToFiltersResponseOutput() FiltersResponseOutput

func (FiltersResponseArgs) ToFiltersResponseOutputWithContext

func (i FiltersResponseArgs) ToFiltersResponseOutputWithContext(ctx context.Context) FiltersResponseOutput

func (FiltersResponseArgs) ToFiltersResponsePtrOutput

func (i FiltersResponseArgs) ToFiltersResponsePtrOutput() FiltersResponsePtrOutput

func (FiltersResponseArgs) ToFiltersResponsePtrOutputWithContext

func (i FiltersResponseArgs) ToFiltersResponsePtrOutputWithContext(ctx context.Context) FiltersResponsePtrOutput

type FiltersResponseInput

type FiltersResponseInput interface {
	pulumi.Input

	ToFiltersResponseOutput() FiltersResponseOutput
	ToFiltersResponseOutputWithContext(context.Context) FiltersResponseOutput
}

FiltersResponseInput is an input type that accepts FiltersResponseArgs and FiltersResponseOutput values. You can construct a concrete instance of `FiltersResponseInput` via:

FiltersResponseArgs{...}

type FiltersResponseOutput

type FiltersResponseOutput struct{ *pulumi.OutputState }

May be used to filter budgets by resource group, resource, or meter.

func (FiltersResponseOutput) ElementType

func (FiltersResponseOutput) ElementType() reflect.Type

func (FiltersResponseOutput) Meters

The list of filters on meters (GUID), mandatory for budgets of usage category.

func (FiltersResponseOutput) ResourceGroups

func (o FiltersResponseOutput) ResourceGroups() pulumi.StringArrayOutput

The list of filters on resource groups, allowed at subscription level only.

func (FiltersResponseOutput) Resources

The list of filters on resources.

func (FiltersResponseOutput) Tags

The dictionary of filters on tags.

func (FiltersResponseOutput) ToFiltersResponseOutput

func (o FiltersResponseOutput) ToFiltersResponseOutput() FiltersResponseOutput

func (FiltersResponseOutput) ToFiltersResponseOutputWithContext

func (o FiltersResponseOutput) ToFiltersResponseOutputWithContext(ctx context.Context) FiltersResponseOutput

func (FiltersResponseOutput) ToFiltersResponsePtrOutput

func (o FiltersResponseOutput) ToFiltersResponsePtrOutput() FiltersResponsePtrOutput

func (FiltersResponseOutput) ToFiltersResponsePtrOutputWithContext

func (o FiltersResponseOutput) ToFiltersResponsePtrOutputWithContext(ctx context.Context) FiltersResponsePtrOutput

type FiltersResponsePtrInput

type FiltersResponsePtrInput interface {
	pulumi.Input

	ToFiltersResponsePtrOutput() FiltersResponsePtrOutput
	ToFiltersResponsePtrOutputWithContext(context.Context) FiltersResponsePtrOutput
}

FiltersResponsePtrInput is an input type that accepts FiltersResponseArgs, FiltersResponsePtr and FiltersResponsePtrOutput values. You can construct a concrete instance of `FiltersResponsePtrInput` via:

        FiltersResponseArgs{...}

or:

        nil

type FiltersResponsePtrOutput

type FiltersResponsePtrOutput struct{ *pulumi.OutputState }

func (FiltersResponsePtrOutput) Elem

func (FiltersResponsePtrOutput) ElementType

func (FiltersResponsePtrOutput) ElementType() reflect.Type

func (FiltersResponsePtrOutput) Meters

The list of filters on meters (GUID), mandatory for budgets of usage category.

func (FiltersResponsePtrOutput) ResourceGroups

The list of filters on resource groups, allowed at subscription level only.

func (FiltersResponsePtrOutput) Resources

The list of filters on resources.

func (FiltersResponsePtrOutput) Tags

The dictionary of filters on tags.

func (FiltersResponsePtrOutput) ToFiltersResponsePtrOutput

func (o FiltersResponsePtrOutput) ToFiltersResponsePtrOutput() FiltersResponsePtrOutput

func (FiltersResponsePtrOutput) ToFiltersResponsePtrOutputWithContext

func (o FiltersResponsePtrOutput) ToFiltersResponsePtrOutputWithContext(ctx context.Context) FiltersResponsePtrOutput

type LookupBudgetArgs

type LookupBudgetArgs struct {
	// Budget Name.
	BudgetName string `pulumi:"budgetName"`
}

type LookupBudgetByResourceGroupNameArgs

type LookupBudgetByResourceGroupNameArgs struct {
	// Budget Name.
	BudgetName string `pulumi:"budgetName"`
	// Azure Resource Group Name.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

type LookupBudgetByResourceGroupNameResult

type LookupBudgetByResourceGroupNameResult 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 usage.
	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"`
	// May be used to filter budgets by resource group, resource, or meter.
	Filters *FiltersResponse `pulumi:"filters"`
	// Resource Id.
	Id string `pulumi:"id"`
	// 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.

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 usage.
	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"`
	// May be used to filter budgets by resource group, resource, or meter.
	Filters *FiltersResponse `pulumi:"filters"`
	// Resource Id.
	Id string `pulumi:"id"`
	// 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"`
	// Action groups to send the budget notification to when the threshold is exceeded.
	ContactGroups []string `pulumi:"contactGroups"`
	// 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"`
	// Action groups to send the budget notification to when the threshold is exceeded.
	ContactGroups pulumi.StringArrayInput `pulumi:"contactGroups"`
	// 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 (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) ContactGroups

func (o NotificationOutput) ContactGroups() pulumi.StringArrayOutput

Action groups 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"`
	// Action groups to send the budget notification to when the threshold is exceeded.
	ContactGroups []string `pulumi:"contactGroups"`
	// 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"`
	// Action groups to send the budget notification to when the threshold is exceeded.
	ContactGroups pulumi.StringArrayInput `pulumi:"contactGroups"`
	// 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) MapIndex

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

Email addresses to send the budget notification to when the threshold is exceeded.

func (NotificationResponseOutput) ContactGroups

Action groups to send the budget notification to when the threshold is exceeded.

func (NotificationResponseOutput) ContactRoles

Contact roles to send the budget notification to when the threshold is exceeded.

func (NotificationResponseOutput) ElementType

func (NotificationResponseOutput) ElementType() reflect.Type

func (NotificationResponseOutput) Enabled

The notification is enabled or not.

func (NotificationResponseOutput) Operator

The comparison operator.

func (NotificationResponseOutput) Threshold

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

type OperatorType added in v0.3.1

type OperatorType pulumi.String

The comparison operator.

func (OperatorType) ElementType added in v0.3.1

func (OperatorType) ElementType() reflect.Type

func (OperatorType) ToStringOutput added in v0.3.1

func (e OperatorType) ToStringOutput() pulumi.StringOutput

func (OperatorType) ToStringOutputWithContext added in v0.3.1

func (e OperatorType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (OperatorType) ToStringPtrOutput added in v0.3.1

func (e OperatorType) ToStringPtrOutput() pulumi.StringPtrOutput

func (OperatorType) ToStringPtrOutputWithContext added in v0.3.1

func (e OperatorType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type TimeGrainType added in v0.3.1

type TimeGrainType pulumi.String

The time covered by a budget. Tracking of the amount will be reset based on the time grain.

func (TimeGrainType) ElementType added in v0.3.1

func (TimeGrainType) ElementType() reflect.Type

func (TimeGrainType) ToStringOutput added in v0.3.1

func (e TimeGrainType) ToStringOutput() pulumi.StringOutput

func (TimeGrainType) ToStringOutputWithContext added in v0.3.1

func (e TimeGrainType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (TimeGrainType) ToStringPtrOutput added in v0.3.1

func (e TimeGrainType) ToStringPtrOutput() pulumi.StringPtrOutput

func (TimeGrainType) ToStringPtrOutputWithContext added in v0.3.1

func (e TimeGrainType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL