v20191001

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorTypeEqualTo              = OperatorType("EqualTo")
	OperatorTypeGreaterThan          = OperatorType("GreaterThan")
	OperatorTypeGreaterThanOrEqualTo = OperatorType("GreaterThanOrEqualTo")
)
View Source
const (
	TimeGrainTypeMonthly        = TimeGrainType("Monthly")
	TimeGrainTypeQuarterly      = TimeGrainType("Quarterly")
	TimeGrainTypeAnnually       = TimeGrainType("Annually")
	TimeGrainTypeBillingMonth   = TimeGrainType("BillingMonth")
	TimeGrainTypeBillingQuarter = TimeGrainType("BillingQuarter")
	TimeGrainTypeBillingAnnual  = TimeGrainType("BillingAnnual")
)
View Source
const (
	BudgetOperatorTypeIn = BudgetOperatorType("In")
)
View Source
const (
	CategoryTypeCost = CategoryType("Cost")
)
View Source
const (
	ThresholdTypeActual = ThresholdType("Actual")
)

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 user-specified dimensions and/or tags.
	Filter BudgetFilterResponsePtrOutput `pulumi:"filter"`
	// 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. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
	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 twelve 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 user-specified dimensions and/or tags.
	Filter BudgetFilterPtrInput
	// Dictionary of notifications associated with the budget. Budget can have up to five notifications.
	Notifications NotificationMapInput
	// The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
	Scope pulumi.StringInput
	// The time covered by a budget. Tracking of the amount will be reset based on the time grain. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
	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 twelve 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 BudgetComparisonExpression

type BudgetComparisonExpression struct {
	// The name of the column to use in comparison.
	Name string `pulumi:"name"`
	// The operator to use for comparison.
	Operator string `pulumi:"operator"`
	// Array of values to use for comparison
	Values []string `pulumi:"values"`
}

The comparison expression to be used in the budgets.

type BudgetComparisonExpressionArgs

type BudgetComparisonExpressionArgs struct {
	// The name of the column to use in comparison.
	Name pulumi.StringInput `pulumi:"name"`
	// The operator to use for comparison.
	Operator pulumi.StringInput `pulumi:"operator"`
	// Array of values to use for comparison
	Values pulumi.StringArrayInput `pulumi:"values"`
}

The comparison expression to be used in the budgets.

func (BudgetComparisonExpressionArgs) ElementType

func (BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionOutput

func (i BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionOutput() BudgetComparisonExpressionOutput

func (BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionOutputWithContext

func (i BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionOutputWithContext(ctx context.Context) BudgetComparisonExpressionOutput

func (BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionPtrOutput

func (i BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionPtrOutput() BudgetComparisonExpressionPtrOutput

func (BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionPtrOutputWithContext

func (i BudgetComparisonExpressionArgs) ToBudgetComparisonExpressionPtrOutputWithContext(ctx context.Context) BudgetComparisonExpressionPtrOutput

type BudgetComparisonExpressionInput

type BudgetComparisonExpressionInput interface {
	pulumi.Input

	ToBudgetComparisonExpressionOutput() BudgetComparisonExpressionOutput
	ToBudgetComparisonExpressionOutputWithContext(context.Context) BudgetComparisonExpressionOutput
}

BudgetComparisonExpressionInput is an input type that accepts BudgetComparisonExpressionArgs and BudgetComparisonExpressionOutput values. You can construct a concrete instance of `BudgetComparisonExpressionInput` via:

BudgetComparisonExpressionArgs{...}

type BudgetComparisonExpressionOutput

type BudgetComparisonExpressionOutput struct{ *pulumi.OutputState }

The comparison expression to be used in the budgets.

func (BudgetComparisonExpressionOutput) ElementType

func (BudgetComparisonExpressionOutput) Name

The name of the column to use in comparison.

func (BudgetComparisonExpressionOutput) Operator

The operator to use for comparison.

func (BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionOutput

func (o BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionOutput() BudgetComparisonExpressionOutput

func (BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionOutputWithContext

func (o BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionOutputWithContext(ctx context.Context) BudgetComparisonExpressionOutput

func (BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionPtrOutput

func (o BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionPtrOutput() BudgetComparisonExpressionPtrOutput

func (BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionPtrOutputWithContext

func (o BudgetComparisonExpressionOutput) ToBudgetComparisonExpressionPtrOutputWithContext(ctx context.Context) BudgetComparisonExpressionPtrOutput

func (BudgetComparisonExpressionOutput) Values

Array of values to use for comparison

type BudgetComparisonExpressionPtrInput

type BudgetComparisonExpressionPtrInput interface {
	pulumi.Input

	ToBudgetComparisonExpressionPtrOutput() BudgetComparisonExpressionPtrOutput
	ToBudgetComparisonExpressionPtrOutputWithContext(context.Context) BudgetComparisonExpressionPtrOutput
}

BudgetComparisonExpressionPtrInput is an input type that accepts BudgetComparisonExpressionArgs, BudgetComparisonExpressionPtr and BudgetComparisonExpressionPtrOutput values. You can construct a concrete instance of `BudgetComparisonExpressionPtrInput` via:

        BudgetComparisonExpressionArgs{...}

or:

        nil

type BudgetComparisonExpressionPtrOutput

type BudgetComparisonExpressionPtrOutput struct{ *pulumi.OutputState }

func (BudgetComparisonExpressionPtrOutput) Elem

func (BudgetComparisonExpressionPtrOutput) ElementType

func (BudgetComparisonExpressionPtrOutput) Name

The name of the column to use in comparison.

func (BudgetComparisonExpressionPtrOutput) Operator

The operator to use for comparison.

func (BudgetComparisonExpressionPtrOutput) ToBudgetComparisonExpressionPtrOutput

func (o BudgetComparisonExpressionPtrOutput) ToBudgetComparisonExpressionPtrOutput() BudgetComparisonExpressionPtrOutput

func (BudgetComparisonExpressionPtrOutput) ToBudgetComparisonExpressionPtrOutputWithContext

func (o BudgetComparisonExpressionPtrOutput) ToBudgetComparisonExpressionPtrOutputWithContext(ctx context.Context) BudgetComparisonExpressionPtrOutput

func (BudgetComparisonExpressionPtrOutput) Values

Array of values to use for comparison

type BudgetComparisonExpressionResponse

type BudgetComparisonExpressionResponse struct {
	// The name of the column to use in comparison.
	Name string `pulumi:"name"`
	// The operator to use for comparison.
	Operator string `pulumi:"operator"`
	// Array of values to use for comparison
	Values []string `pulumi:"values"`
}

The comparison expression to be used in the budgets.

type BudgetComparisonExpressionResponseArgs

type BudgetComparisonExpressionResponseArgs struct {
	// The name of the column to use in comparison.
	Name pulumi.StringInput `pulumi:"name"`
	// The operator to use for comparison.
	Operator pulumi.StringInput `pulumi:"operator"`
	// Array of values to use for comparison
	Values pulumi.StringArrayInput `pulumi:"values"`
}

The comparison expression to be used in the budgets.

func (BudgetComparisonExpressionResponseArgs) ElementType

func (BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponseOutput

func (i BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponseOutput() BudgetComparisonExpressionResponseOutput

func (BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponseOutputWithContext

func (i BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponseOutputWithContext(ctx context.Context) BudgetComparisonExpressionResponseOutput

func (BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponsePtrOutput

func (i BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponsePtrOutput() BudgetComparisonExpressionResponsePtrOutput

func (BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponsePtrOutputWithContext

func (i BudgetComparisonExpressionResponseArgs) ToBudgetComparisonExpressionResponsePtrOutputWithContext(ctx context.Context) BudgetComparisonExpressionResponsePtrOutput

type BudgetComparisonExpressionResponseInput

type BudgetComparisonExpressionResponseInput interface {
	pulumi.Input

	ToBudgetComparisonExpressionResponseOutput() BudgetComparisonExpressionResponseOutput
	ToBudgetComparisonExpressionResponseOutputWithContext(context.Context) BudgetComparisonExpressionResponseOutput
}

BudgetComparisonExpressionResponseInput is an input type that accepts BudgetComparisonExpressionResponseArgs and BudgetComparisonExpressionResponseOutput values. You can construct a concrete instance of `BudgetComparisonExpressionResponseInput` via:

BudgetComparisonExpressionResponseArgs{...}

type BudgetComparisonExpressionResponseOutput

type BudgetComparisonExpressionResponseOutput struct{ *pulumi.OutputState }

The comparison expression to be used in the budgets.

func (BudgetComparisonExpressionResponseOutput) ElementType

func (BudgetComparisonExpressionResponseOutput) Name

The name of the column to use in comparison.

func (BudgetComparisonExpressionResponseOutput) Operator

The operator to use for comparison.

func (BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponseOutput

func (o BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponseOutput() BudgetComparisonExpressionResponseOutput

func (BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponseOutputWithContext

func (o BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponseOutputWithContext(ctx context.Context) BudgetComparisonExpressionResponseOutput

func (BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponsePtrOutput

func (o BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponsePtrOutput() BudgetComparisonExpressionResponsePtrOutput

func (BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponsePtrOutputWithContext

func (o BudgetComparisonExpressionResponseOutput) ToBudgetComparisonExpressionResponsePtrOutputWithContext(ctx context.Context) BudgetComparisonExpressionResponsePtrOutput

func (BudgetComparisonExpressionResponseOutput) Values

Array of values to use for comparison

type BudgetComparisonExpressionResponsePtrInput

type BudgetComparisonExpressionResponsePtrInput interface {
	pulumi.Input

	ToBudgetComparisonExpressionResponsePtrOutput() BudgetComparisonExpressionResponsePtrOutput
	ToBudgetComparisonExpressionResponsePtrOutputWithContext(context.Context) BudgetComparisonExpressionResponsePtrOutput
}

BudgetComparisonExpressionResponsePtrInput is an input type that accepts BudgetComparisonExpressionResponseArgs, BudgetComparisonExpressionResponsePtr and BudgetComparisonExpressionResponsePtrOutput values. You can construct a concrete instance of `BudgetComparisonExpressionResponsePtrInput` via:

        BudgetComparisonExpressionResponseArgs{...}

or:

        nil

type BudgetComparisonExpressionResponsePtrOutput

type BudgetComparisonExpressionResponsePtrOutput struct{ *pulumi.OutputState }

func (BudgetComparisonExpressionResponsePtrOutput) Elem

func (BudgetComparisonExpressionResponsePtrOutput) ElementType

func (BudgetComparisonExpressionResponsePtrOutput) Name

The name of the column to use in comparison.

func (BudgetComparisonExpressionResponsePtrOutput) Operator

The operator to use for comparison.

func (BudgetComparisonExpressionResponsePtrOutput) ToBudgetComparisonExpressionResponsePtrOutput

func (o BudgetComparisonExpressionResponsePtrOutput) ToBudgetComparisonExpressionResponsePtrOutput() BudgetComparisonExpressionResponsePtrOutput

func (BudgetComparisonExpressionResponsePtrOutput) ToBudgetComparisonExpressionResponsePtrOutputWithContext

func (o BudgetComparisonExpressionResponsePtrOutput) ToBudgetComparisonExpressionResponsePtrOutputWithContext(ctx context.Context) BudgetComparisonExpressionResponsePtrOutput

func (BudgetComparisonExpressionResponsePtrOutput) Values

Array of values to use for comparison

type BudgetFilter

type BudgetFilter struct {
	// The logical "AND" expression. Must have at least 2 items.
	And []BudgetFilterProperties `pulumi:"and"`
	// Has comparison expression for a dimension
	Dimensions *BudgetComparisonExpression `pulumi:"dimensions"`
	// The logical "NOT" expression.
	Not *BudgetFilterProperties `pulumi:"not"`
	// Has comparison expression for a tag
	Tags *BudgetComparisonExpression `pulumi:"tags"`
}

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

type BudgetFilterArgs

type BudgetFilterArgs struct {
	// The logical "AND" expression. Must have at least 2 items.
	And BudgetFilterPropertiesArrayInput `pulumi:"and"`
	// Has comparison expression for a dimension
	Dimensions BudgetComparisonExpressionPtrInput `pulumi:"dimensions"`
	// The logical "NOT" expression.
	Not BudgetFilterPropertiesPtrInput `pulumi:"not"`
	// Has comparison expression for a tag
	Tags BudgetComparisonExpressionPtrInput `pulumi:"tags"`
}

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

func (BudgetFilterArgs) ElementType

func (BudgetFilterArgs) ElementType() reflect.Type

func (BudgetFilterArgs) ToBudgetFilterOutput

func (i BudgetFilterArgs) ToBudgetFilterOutput() BudgetFilterOutput

func (BudgetFilterArgs) ToBudgetFilterOutputWithContext

func (i BudgetFilterArgs) ToBudgetFilterOutputWithContext(ctx context.Context) BudgetFilterOutput

func (BudgetFilterArgs) ToBudgetFilterPtrOutput

func (i BudgetFilterArgs) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput

func (BudgetFilterArgs) ToBudgetFilterPtrOutputWithContext

func (i BudgetFilterArgs) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput

type BudgetFilterInput

type BudgetFilterInput interface {
	pulumi.Input

	ToBudgetFilterOutput() BudgetFilterOutput
	ToBudgetFilterOutputWithContext(context.Context) BudgetFilterOutput
}

BudgetFilterInput is an input type that accepts BudgetFilterArgs and BudgetFilterOutput values. You can construct a concrete instance of `BudgetFilterInput` via:

BudgetFilterArgs{...}

type BudgetFilterOutput

type BudgetFilterOutput struct{ *pulumi.OutputState }

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

func (BudgetFilterOutput) And

The logical "AND" expression. Must have at least 2 items.

func (BudgetFilterOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterOutput) ElementType

func (BudgetFilterOutput) ElementType() reflect.Type

func (BudgetFilterOutput) Not

The logical "NOT" expression.

func (BudgetFilterOutput) Tags

Has comparison expression for a tag

func (BudgetFilterOutput) ToBudgetFilterOutput

func (o BudgetFilterOutput) ToBudgetFilterOutput() BudgetFilterOutput

func (BudgetFilterOutput) ToBudgetFilterOutputWithContext

func (o BudgetFilterOutput) ToBudgetFilterOutputWithContext(ctx context.Context) BudgetFilterOutput

func (BudgetFilterOutput) ToBudgetFilterPtrOutput

func (o BudgetFilterOutput) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput

func (BudgetFilterOutput) ToBudgetFilterPtrOutputWithContext

func (o BudgetFilterOutput) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput

type BudgetFilterProperties

type BudgetFilterProperties struct {
	// Has comparison expression for a dimension
	Dimensions *BudgetComparisonExpression `pulumi:"dimensions"`
	// Has comparison expression for a tag
	Tags *BudgetComparisonExpression `pulumi:"tags"`
}

The Dimensions or Tags to filter a budget by.

type BudgetFilterPropertiesArgs

type BudgetFilterPropertiesArgs struct {
	// Has comparison expression for a dimension
	Dimensions BudgetComparisonExpressionPtrInput `pulumi:"dimensions"`
	// Has comparison expression for a tag
	Tags BudgetComparisonExpressionPtrInput `pulumi:"tags"`
}

The Dimensions or Tags to filter a budget by.

func (BudgetFilterPropertiesArgs) ElementType

func (BudgetFilterPropertiesArgs) ElementType() reflect.Type

func (BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesOutput

func (i BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesOutput() BudgetFilterPropertiesOutput

func (BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesOutputWithContext

func (i BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesOutputWithContext(ctx context.Context) BudgetFilterPropertiesOutput

func (BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesPtrOutput

func (i BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesPtrOutput() BudgetFilterPropertiesPtrOutput

func (BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesPtrOutputWithContext

func (i BudgetFilterPropertiesArgs) ToBudgetFilterPropertiesPtrOutputWithContext(ctx context.Context) BudgetFilterPropertiesPtrOutput

type BudgetFilterPropertiesArray

type BudgetFilterPropertiesArray []BudgetFilterPropertiesInput

func (BudgetFilterPropertiesArray) ElementType

func (BudgetFilterPropertiesArray) ToBudgetFilterPropertiesArrayOutput

func (i BudgetFilterPropertiesArray) ToBudgetFilterPropertiesArrayOutput() BudgetFilterPropertiesArrayOutput

func (BudgetFilterPropertiesArray) ToBudgetFilterPropertiesArrayOutputWithContext

func (i BudgetFilterPropertiesArray) ToBudgetFilterPropertiesArrayOutputWithContext(ctx context.Context) BudgetFilterPropertiesArrayOutput

type BudgetFilterPropertiesArrayInput

type BudgetFilterPropertiesArrayInput interface {
	pulumi.Input

	ToBudgetFilterPropertiesArrayOutput() BudgetFilterPropertiesArrayOutput
	ToBudgetFilterPropertiesArrayOutputWithContext(context.Context) BudgetFilterPropertiesArrayOutput
}

BudgetFilterPropertiesArrayInput is an input type that accepts BudgetFilterPropertiesArray and BudgetFilterPropertiesArrayOutput values. You can construct a concrete instance of `BudgetFilterPropertiesArrayInput` via:

BudgetFilterPropertiesArray{ BudgetFilterPropertiesArgs{...} }

type BudgetFilterPropertiesArrayOutput

type BudgetFilterPropertiesArrayOutput struct{ *pulumi.OutputState }

func (BudgetFilterPropertiesArrayOutput) ElementType

func (BudgetFilterPropertiesArrayOutput) Index

func (BudgetFilterPropertiesArrayOutput) ToBudgetFilterPropertiesArrayOutput

func (o BudgetFilterPropertiesArrayOutput) ToBudgetFilterPropertiesArrayOutput() BudgetFilterPropertiesArrayOutput

func (BudgetFilterPropertiesArrayOutput) ToBudgetFilterPropertiesArrayOutputWithContext

func (o BudgetFilterPropertiesArrayOutput) ToBudgetFilterPropertiesArrayOutputWithContext(ctx context.Context) BudgetFilterPropertiesArrayOutput

type BudgetFilterPropertiesInput

type BudgetFilterPropertiesInput interface {
	pulumi.Input

	ToBudgetFilterPropertiesOutput() BudgetFilterPropertiesOutput
	ToBudgetFilterPropertiesOutputWithContext(context.Context) BudgetFilterPropertiesOutput
}

BudgetFilterPropertiesInput is an input type that accepts BudgetFilterPropertiesArgs and BudgetFilterPropertiesOutput values. You can construct a concrete instance of `BudgetFilterPropertiesInput` via:

BudgetFilterPropertiesArgs{...}

type BudgetFilterPropertiesOutput

type BudgetFilterPropertiesOutput struct{ *pulumi.OutputState }

The Dimensions or Tags to filter a budget by.

func (BudgetFilterPropertiesOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterPropertiesOutput) ElementType

func (BudgetFilterPropertiesOutput) Tags

Has comparison expression for a tag

func (BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesOutput

func (o BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesOutput() BudgetFilterPropertiesOutput

func (BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesOutputWithContext

func (o BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesOutputWithContext(ctx context.Context) BudgetFilterPropertiesOutput

func (BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesPtrOutput

func (o BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesPtrOutput() BudgetFilterPropertiesPtrOutput

func (BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesPtrOutputWithContext

func (o BudgetFilterPropertiesOutput) ToBudgetFilterPropertiesPtrOutputWithContext(ctx context.Context) BudgetFilterPropertiesPtrOutput

type BudgetFilterPropertiesPtrInput

type BudgetFilterPropertiesPtrInput interface {
	pulumi.Input

	ToBudgetFilterPropertiesPtrOutput() BudgetFilterPropertiesPtrOutput
	ToBudgetFilterPropertiesPtrOutputWithContext(context.Context) BudgetFilterPropertiesPtrOutput
}

BudgetFilterPropertiesPtrInput is an input type that accepts BudgetFilterPropertiesArgs, BudgetFilterPropertiesPtr and BudgetFilterPropertiesPtrOutput values. You can construct a concrete instance of `BudgetFilterPropertiesPtrInput` via:

        BudgetFilterPropertiesArgs{...}

or:

        nil

type BudgetFilterPropertiesPtrOutput

type BudgetFilterPropertiesPtrOutput struct{ *pulumi.OutputState }

func (BudgetFilterPropertiesPtrOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterPropertiesPtrOutput) Elem

func (BudgetFilterPropertiesPtrOutput) ElementType

func (BudgetFilterPropertiesPtrOutput) Tags

Has comparison expression for a tag

func (BudgetFilterPropertiesPtrOutput) ToBudgetFilterPropertiesPtrOutput

func (o BudgetFilterPropertiesPtrOutput) ToBudgetFilterPropertiesPtrOutput() BudgetFilterPropertiesPtrOutput

func (BudgetFilterPropertiesPtrOutput) ToBudgetFilterPropertiesPtrOutputWithContext

func (o BudgetFilterPropertiesPtrOutput) ToBudgetFilterPropertiesPtrOutputWithContext(ctx context.Context) BudgetFilterPropertiesPtrOutput

type BudgetFilterPropertiesResponse

type BudgetFilterPropertiesResponse struct {
	// Has comparison expression for a dimension
	Dimensions *BudgetComparisonExpressionResponse `pulumi:"dimensions"`
	// Has comparison expression for a tag
	Tags *BudgetComparisonExpressionResponse `pulumi:"tags"`
}

The Dimensions or Tags to filter a budget by.

type BudgetFilterPropertiesResponseArgs

type BudgetFilterPropertiesResponseArgs struct {
	// Has comparison expression for a dimension
	Dimensions BudgetComparisonExpressionResponsePtrInput `pulumi:"dimensions"`
	// Has comparison expression for a tag
	Tags BudgetComparisonExpressionResponsePtrInput `pulumi:"tags"`
}

The Dimensions or Tags to filter a budget by.

func (BudgetFilterPropertiesResponseArgs) ElementType

func (BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponseOutput

func (i BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponseOutput() BudgetFilterPropertiesResponseOutput

func (BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponseOutputWithContext

func (i BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponseOutputWithContext(ctx context.Context) BudgetFilterPropertiesResponseOutput

func (BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponsePtrOutput

func (i BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponsePtrOutput() BudgetFilterPropertiesResponsePtrOutput

func (BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponsePtrOutputWithContext

func (i BudgetFilterPropertiesResponseArgs) ToBudgetFilterPropertiesResponsePtrOutputWithContext(ctx context.Context) BudgetFilterPropertiesResponsePtrOutput

type BudgetFilterPropertiesResponseArray

type BudgetFilterPropertiesResponseArray []BudgetFilterPropertiesResponseInput

func (BudgetFilterPropertiesResponseArray) ElementType

func (BudgetFilterPropertiesResponseArray) ToBudgetFilterPropertiesResponseArrayOutput

func (i BudgetFilterPropertiesResponseArray) ToBudgetFilterPropertiesResponseArrayOutput() BudgetFilterPropertiesResponseArrayOutput

func (BudgetFilterPropertiesResponseArray) ToBudgetFilterPropertiesResponseArrayOutputWithContext

func (i BudgetFilterPropertiesResponseArray) ToBudgetFilterPropertiesResponseArrayOutputWithContext(ctx context.Context) BudgetFilterPropertiesResponseArrayOutput

type BudgetFilterPropertiesResponseArrayInput

type BudgetFilterPropertiesResponseArrayInput interface {
	pulumi.Input

	ToBudgetFilterPropertiesResponseArrayOutput() BudgetFilterPropertiesResponseArrayOutput
	ToBudgetFilterPropertiesResponseArrayOutputWithContext(context.Context) BudgetFilterPropertiesResponseArrayOutput
}

BudgetFilterPropertiesResponseArrayInput is an input type that accepts BudgetFilterPropertiesResponseArray and BudgetFilterPropertiesResponseArrayOutput values. You can construct a concrete instance of `BudgetFilterPropertiesResponseArrayInput` via:

BudgetFilterPropertiesResponseArray{ BudgetFilterPropertiesResponseArgs{...} }

type BudgetFilterPropertiesResponseArrayOutput

type BudgetFilterPropertiesResponseArrayOutput struct{ *pulumi.OutputState }

func (BudgetFilterPropertiesResponseArrayOutput) ElementType

func (BudgetFilterPropertiesResponseArrayOutput) Index

func (BudgetFilterPropertiesResponseArrayOutput) ToBudgetFilterPropertiesResponseArrayOutput

func (o BudgetFilterPropertiesResponseArrayOutput) ToBudgetFilterPropertiesResponseArrayOutput() BudgetFilterPropertiesResponseArrayOutput

func (BudgetFilterPropertiesResponseArrayOutput) ToBudgetFilterPropertiesResponseArrayOutputWithContext

func (o BudgetFilterPropertiesResponseArrayOutput) ToBudgetFilterPropertiesResponseArrayOutputWithContext(ctx context.Context) BudgetFilterPropertiesResponseArrayOutput

type BudgetFilterPropertiesResponseInput

type BudgetFilterPropertiesResponseInput interface {
	pulumi.Input

	ToBudgetFilterPropertiesResponseOutput() BudgetFilterPropertiesResponseOutput
	ToBudgetFilterPropertiesResponseOutputWithContext(context.Context) BudgetFilterPropertiesResponseOutput
}

BudgetFilterPropertiesResponseInput is an input type that accepts BudgetFilterPropertiesResponseArgs and BudgetFilterPropertiesResponseOutput values. You can construct a concrete instance of `BudgetFilterPropertiesResponseInput` via:

BudgetFilterPropertiesResponseArgs{...}

type BudgetFilterPropertiesResponseOutput

type BudgetFilterPropertiesResponseOutput struct{ *pulumi.OutputState }

The Dimensions or Tags to filter a budget by.

func (BudgetFilterPropertiesResponseOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterPropertiesResponseOutput) ElementType

func (BudgetFilterPropertiesResponseOutput) Tags

Has comparison expression for a tag

func (BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponseOutput

func (o BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponseOutput() BudgetFilterPropertiesResponseOutput

func (BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponseOutputWithContext

func (o BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponseOutputWithContext(ctx context.Context) BudgetFilterPropertiesResponseOutput

func (BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponsePtrOutput

func (o BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponsePtrOutput() BudgetFilterPropertiesResponsePtrOutput

func (BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponsePtrOutputWithContext

func (o BudgetFilterPropertiesResponseOutput) ToBudgetFilterPropertiesResponsePtrOutputWithContext(ctx context.Context) BudgetFilterPropertiesResponsePtrOutput

type BudgetFilterPropertiesResponsePtrInput

type BudgetFilterPropertiesResponsePtrInput interface {
	pulumi.Input

	ToBudgetFilterPropertiesResponsePtrOutput() BudgetFilterPropertiesResponsePtrOutput
	ToBudgetFilterPropertiesResponsePtrOutputWithContext(context.Context) BudgetFilterPropertiesResponsePtrOutput
}

BudgetFilterPropertiesResponsePtrInput is an input type that accepts BudgetFilterPropertiesResponseArgs, BudgetFilterPropertiesResponsePtr and BudgetFilterPropertiesResponsePtrOutput values. You can construct a concrete instance of `BudgetFilterPropertiesResponsePtrInput` via:

        BudgetFilterPropertiesResponseArgs{...}

or:

        nil

type BudgetFilterPropertiesResponsePtrOutput

type BudgetFilterPropertiesResponsePtrOutput struct{ *pulumi.OutputState }

func (BudgetFilterPropertiesResponsePtrOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterPropertiesResponsePtrOutput) Elem

func (BudgetFilterPropertiesResponsePtrOutput) ElementType

func (BudgetFilterPropertiesResponsePtrOutput) Tags

Has comparison expression for a tag

func (BudgetFilterPropertiesResponsePtrOutput) ToBudgetFilterPropertiesResponsePtrOutput

func (o BudgetFilterPropertiesResponsePtrOutput) ToBudgetFilterPropertiesResponsePtrOutput() BudgetFilterPropertiesResponsePtrOutput

func (BudgetFilterPropertiesResponsePtrOutput) ToBudgetFilterPropertiesResponsePtrOutputWithContext

func (o BudgetFilterPropertiesResponsePtrOutput) ToBudgetFilterPropertiesResponsePtrOutputWithContext(ctx context.Context) BudgetFilterPropertiesResponsePtrOutput

type BudgetFilterPtrInput

type BudgetFilterPtrInput interface {
	pulumi.Input

	ToBudgetFilterPtrOutput() BudgetFilterPtrOutput
	ToBudgetFilterPtrOutputWithContext(context.Context) BudgetFilterPtrOutput
}

BudgetFilterPtrInput is an input type that accepts BudgetFilterArgs, BudgetFilterPtr and BudgetFilterPtrOutput values. You can construct a concrete instance of `BudgetFilterPtrInput` via:

        BudgetFilterArgs{...}

or:

        nil

type BudgetFilterPtrOutput

type BudgetFilterPtrOutput struct{ *pulumi.OutputState }

func (BudgetFilterPtrOutput) And

The logical "AND" expression. Must have at least 2 items.

func (BudgetFilterPtrOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterPtrOutput) Elem

func (BudgetFilterPtrOutput) ElementType

func (BudgetFilterPtrOutput) ElementType() reflect.Type

func (BudgetFilterPtrOutput) Not

The logical "NOT" expression.

func (BudgetFilterPtrOutput) Tags

Has comparison expression for a tag

func (BudgetFilterPtrOutput) ToBudgetFilterPtrOutput

func (o BudgetFilterPtrOutput) ToBudgetFilterPtrOutput() BudgetFilterPtrOutput

func (BudgetFilterPtrOutput) ToBudgetFilterPtrOutputWithContext

func (o BudgetFilterPtrOutput) ToBudgetFilterPtrOutputWithContext(ctx context.Context) BudgetFilterPtrOutput

type BudgetFilterResponse

type BudgetFilterResponse struct {
	// The logical "AND" expression. Must have at least 2 items.
	And []BudgetFilterPropertiesResponse `pulumi:"and"`
	// Has comparison expression for a dimension
	Dimensions *BudgetComparisonExpressionResponse `pulumi:"dimensions"`
	// The logical "NOT" expression.
	Not *BudgetFilterPropertiesResponse `pulumi:"not"`
	// Has comparison expression for a tag
	Tags *BudgetComparisonExpressionResponse `pulumi:"tags"`
}

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

type BudgetFilterResponseArgs

type BudgetFilterResponseArgs struct {
	// The logical "AND" expression. Must have at least 2 items.
	And BudgetFilterPropertiesResponseArrayInput `pulumi:"and"`
	// Has comparison expression for a dimension
	Dimensions BudgetComparisonExpressionResponsePtrInput `pulumi:"dimensions"`
	// The logical "NOT" expression.
	Not BudgetFilterPropertiesResponsePtrInput `pulumi:"not"`
	// Has comparison expression for a tag
	Tags BudgetComparisonExpressionResponsePtrInput `pulumi:"tags"`
}

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

func (BudgetFilterResponseArgs) ElementType

func (BudgetFilterResponseArgs) ElementType() reflect.Type

func (BudgetFilterResponseArgs) ToBudgetFilterResponseOutput

func (i BudgetFilterResponseArgs) ToBudgetFilterResponseOutput() BudgetFilterResponseOutput

func (BudgetFilterResponseArgs) ToBudgetFilterResponseOutputWithContext

func (i BudgetFilterResponseArgs) ToBudgetFilterResponseOutputWithContext(ctx context.Context) BudgetFilterResponseOutput

func (BudgetFilterResponseArgs) ToBudgetFilterResponsePtrOutput

func (i BudgetFilterResponseArgs) ToBudgetFilterResponsePtrOutput() BudgetFilterResponsePtrOutput

func (BudgetFilterResponseArgs) ToBudgetFilterResponsePtrOutputWithContext

func (i BudgetFilterResponseArgs) ToBudgetFilterResponsePtrOutputWithContext(ctx context.Context) BudgetFilterResponsePtrOutput

type BudgetFilterResponseInput

type BudgetFilterResponseInput interface {
	pulumi.Input

	ToBudgetFilterResponseOutput() BudgetFilterResponseOutput
	ToBudgetFilterResponseOutputWithContext(context.Context) BudgetFilterResponseOutput
}

BudgetFilterResponseInput is an input type that accepts BudgetFilterResponseArgs and BudgetFilterResponseOutput values. You can construct a concrete instance of `BudgetFilterResponseInput` via:

BudgetFilterResponseArgs{...}

type BudgetFilterResponseOutput

type BudgetFilterResponseOutput struct{ *pulumi.OutputState }

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

func (BudgetFilterResponseOutput) And

The logical "AND" expression. Must have at least 2 items.

func (BudgetFilterResponseOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterResponseOutput) ElementType

func (BudgetFilterResponseOutput) ElementType() reflect.Type

func (BudgetFilterResponseOutput) Not

The logical "NOT" expression.

func (BudgetFilterResponseOutput) Tags

Has comparison expression for a tag

func (BudgetFilterResponseOutput) ToBudgetFilterResponseOutput

func (o BudgetFilterResponseOutput) ToBudgetFilterResponseOutput() BudgetFilterResponseOutput

func (BudgetFilterResponseOutput) ToBudgetFilterResponseOutputWithContext

func (o BudgetFilterResponseOutput) ToBudgetFilterResponseOutputWithContext(ctx context.Context) BudgetFilterResponseOutput

func (BudgetFilterResponseOutput) ToBudgetFilterResponsePtrOutput

func (o BudgetFilterResponseOutput) ToBudgetFilterResponsePtrOutput() BudgetFilterResponsePtrOutput

func (BudgetFilterResponseOutput) ToBudgetFilterResponsePtrOutputWithContext

func (o BudgetFilterResponseOutput) ToBudgetFilterResponsePtrOutputWithContext(ctx context.Context) BudgetFilterResponsePtrOutput

type BudgetFilterResponsePtrInput

type BudgetFilterResponsePtrInput interface {
	pulumi.Input

	ToBudgetFilterResponsePtrOutput() BudgetFilterResponsePtrOutput
	ToBudgetFilterResponsePtrOutputWithContext(context.Context) BudgetFilterResponsePtrOutput
}

BudgetFilterResponsePtrInput is an input type that accepts BudgetFilterResponseArgs, BudgetFilterResponsePtr and BudgetFilterResponsePtrOutput values. You can construct a concrete instance of `BudgetFilterResponsePtrInput` via:

        BudgetFilterResponseArgs{...}

or:

        nil

type BudgetFilterResponsePtrOutput

type BudgetFilterResponsePtrOutput struct{ *pulumi.OutputState }

func (BudgetFilterResponsePtrOutput) And

The logical "AND" expression. Must have at least 2 items.

func (BudgetFilterResponsePtrOutput) Dimensions

Has comparison expression for a dimension

func (BudgetFilterResponsePtrOutput) Elem

func (BudgetFilterResponsePtrOutput) ElementType

func (BudgetFilterResponsePtrOutput) Not

The logical "NOT" expression.

func (BudgetFilterResponsePtrOutput) Tags

Has comparison expression for a tag

func (BudgetFilterResponsePtrOutput) ToBudgetFilterResponsePtrOutput

func (o BudgetFilterResponsePtrOutput) ToBudgetFilterResponsePtrOutput() BudgetFilterResponsePtrOutput

func (BudgetFilterResponsePtrOutput) ToBudgetFilterResponsePtrOutputWithContext

func (o BudgetFilterResponsePtrOutput) ToBudgetFilterResponsePtrOutputWithContext(ctx context.Context) BudgetFilterResponsePtrOutput

type BudgetInput added in v0.2.6

type BudgetInput interface {
	pulumi.Input

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

type BudgetOperatorType added in v0.3.1

type BudgetOperatorType pulumi.String

The operator to use for comparison.

func (BudgetOperatorType) ElementType added in v0.3.1

func (BudgetOperatorType) ElementType() reflect.Type

func (BudgetOperatorType) ToStringOutput added in v0.3.1

func (e BudgetOperatorType) ToStringOutput() pulumi.StringOutput

func (BudgetOperatorType) ToStringOutputWithContext added in v0.3.1

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

func (BudgetOperatorType) ToStringPtrOutput added in v0.3.1

func (e BudgetOperatorType) ToStringPtrOutput() pulumi.StringPtrOutput

func (BudgetOperatorType) ToStringPtrOutputWithContext added in v0.3.1

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

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 user-specified dimensions and/or tags.
	Filter BudgetFilterResponsePtrInput
	// 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. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
	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 twelve 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 LookupBudgetArgs

type LookupBudgetArgs struct {
	// Budget Name.
	BudgetName string `pulumi:"budgetName"`
	// The scope associated with budget operations. This includes '/subscriptions/{subscriptionId}/' for subscription scope, '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for resourceGroup scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}' for Billing Account scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/departments/{departmentId}' for Department scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/enrollmentAccounts/{enrollmentAccountId}' for EnrollmentAccount scope, '/providers/Microsoft.Management/managementGroups/{managementGroupId}' for Management Group scope, '/providers/Microsoft.Billing/billingAccounts/{billingAccountId}/billingProfiles/{billingProfileId}' for billingProfile scope, 'providers/Microsoft.Billing/billingAccounts/{billingAccountId}/invoiceSections/{invoiceSectionId}' for invoiceSection scope.
	Scope string `pulumi:"scope"`
}

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 user-specified dimensions and/or tags.
	Filter *BudgetFilterResponse `pulumi:"filter"`
	// 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. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers
	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 twelve 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. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
	ContactEmails []string `pulumi:"contactEmails"`
	// Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
	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 type of threshold
	ThresholdType *string `pulumi:"thresholdType"`
}

The notification associated with a budget.

type NotificationArgs

type NotificationArgs struct {
	// Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
	ContactEmails pulumi.StringArrayInput `pulumi:"contactEmails"`
	// Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
	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 type of threshold
	ThresholdType pulumi.StringPtrInput `pulumi:"thresholdType"`
}

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. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.

func (NotificationOutput) ContactGroups

func (o NotificationOutput) ContactGroups() pulumi.StringArrayOutput

Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.

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

func (o NotificationOutput) ThresholdType() pulumi.StringPtrOutput

The type of threshold

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. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
	ContactEmails []string `pulumi:"contactEmails"`
	// Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
	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 type of threshold
	ThresholdType *string `pulumi:"thresholdType"`
}

The notification associated with a budget.

type NotificationResponseArgs

type NotificationResponseArgs struct {
	// Email addresses to send the budget notification to when the threshold is exceeded. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.
	ContactEmails pulumi.StringArrayInput `pulumi:"contactEmails"`
	// Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.
	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 type of threshold
	ThresholdType pulumi.StringPtrInput `pulumi:"thresholdType"`
}

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. Must have at least one contact email or contact group specified at the Subscription or Resource Group scopes. All other scopes must have at least one contact email specified.

func (NotificationResponseOutput) ContactGroups

Action groups to send the budget notification to when the threshold is exceeded. Must be provided as a fully qualified Azure resource id. Only supported at Subscription or Resource Group scopes.

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

The type of threshold

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

type ThresholdType pulumi.String

The type of threshold

func (ThresholdType) ElementType added in v0.3.1

func (ThresholdType) ElementType() reflect.Type

func (ThresholdType) ToStringOutput added in v0.3.1

func (e ThresholdType) ToStringOutput() pulumi.StringOutput

func (ThresholdType) ToStringOutputWithContext added in v0.3.1

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

func (ThresholdType) ToStringPtrOutput added in v0.3.1

func (e ThresholdType) ToStringPtrOutput() pulumi.StringPtrOutput

func (ThresholdType) ToStringPtrOutputWithContext added in v0.3.1

func (e ThresholdType) 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. BillingMonth, BillingQuarter, and BillingAnnual are only supported by WD customers

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