v20200804preview

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 (
	HealthStateNameWarning  = HealthStateName("Warning")
	HealthStateNameCritical = HealthStateName("Critical")
)
View Source
const (
	HealthAlertsNamespaceGuestVmHealth = HealthAlertsNamespace("GuestVmHealth")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthAlert

type HealthAlert struct {
	pulumi.CustomResourceState

	// the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
	Actions HealthAlertActionResponseArrayOutput `pulumi:"actions"`
	// defines the specific alert criteria information.
	Criteria HealthAlertCriteriaResponseOutput `pulumi:"criteria"`
	// the description of the health alert that will be included in the alert email.
	Description pulumi.StringOutput `pulumi:"description"`
	// the flag that indicates whether the health alert is enabled.
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// Last time the rule was updated in ISO8601 format.
	LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"`
	// Resource location
	Location pulumi.StringOutput `pulumi:"location"`
	// Azure resource name
	Name pulumi.StringOutput `pulumi:"name"`
	// the list of resource id's that this health alert is scoped to.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	// Resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Azure resource type
	Type pulumi.StringOutput `pulumi:"type"`
}

The health alert resource.

func GetHealthAlert

func GetHealthAlert(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HealthAlertState, opts ...pulumi.ResourceOption) (*HealthAlert, error)

GetHealthAlert gets an existing HealthAlert 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 NewHealthAlert

func NewHealthAlert(ctx *pulumi.Context,
	name string, args *HealthAlertArgs, opts ...pulumi.ResourceOption) (*HealthAlert, error)

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

func (*HealthAlert) ElementType added in v0.2.6

func (*HealthAlert) ElementType() reflect.Type

func (*HealthAlert) ToHealthAlertOutput added in v0.2.6

func (i *HealthAlert) ToHealthAlertOutput() HealthAlertOutput

func (*HealthAlert) ToHealthAlertOutputWithContext added in v0.2.6

func (i *HealthAlert) ToHealthAlertOutputWithContext(ctx context.Context) HealthAlertOutput

type HealthAlertAction

type HealthAlertAction struct {
	// the id of the action group to use.
	ActionGroupId *string `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties map[string]string `pulumi:"webHookProperties"`
}

An alert action.

type HealthAlertActionArgs

type HealthAlertActionArgs struct {
	// the id of the action group to use.
	ActionGroupId pulumi.StringPtrInput `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties pulumi.StringMapInput `pulumi:"webHookProperties"`
}

An alert action.

func (HealthAlertActionArgs) ElementType

func (HealthAlertActionArgs) ElementType() reflect.Type

func (HealthAlertActionArgs) ToHealthAlertActionOutput

func (i HealthAlertActionArgs) ToHealthAlertActionOutput() HealthAlertActionOutput

func (HealthAlertActionArgs) ToHealthAlertActionOutputWithContext

func (i HealthAlertActionArgs) ToHealthAlertActionOutputWithContext(ctx context.Context) HealthAlertActionOutput

type HealthAlertActionArray

type HealthAlertActionArray []HealthAlertActionInput

func (HealthAlertActionArray) ElementType

func (HealthAlertActionArray) ElementType() reflect.Type

func (HealthAlertActionArray) ToHealthAlertActionArrayOutput

func (i HealthAlertActionArray) ToHealthAlertActionArrayOutput() HealthAlertActionArrayOutput

func (HealthAlertActionArray) ToHealthAlertActionArrayOutputWithContext

func (i HealthAlertActionArray) ToHealthAlertActionArrayOutputWithContext(ctx context.Context) HealthAlertActionArrayOutput

type HealthAlertActionArrayInput

type HealthAlertActionArrayInput interface {
	pulumi.Input

	ToHealthAlertActionArrayOutput() HealthAlertActionArrayOutput
	ToHealthAlertActionArrayOutputWithContext(context.Context) HealthAlertActionArrayOutput
}

HealthAlertActionArrayInput is an input type that accepts HealthAlertActionArray and HealthAlertActionArrayOutput values. You can construct a concrete instance of `HealthAlertActionArrayInput` via:

HealthAlertActionArray{ HealthAlertActionArgs{...} }

type HealthAlertActionArrayOutput

type HealthAlertActionArrayOutput struct{ *pulumi.OutputState }

func (HealthAlertActionArrayOutput) ElementType

func (HealthAlertActionArrayOutput) Index

func (HealthAlertActionArrayOutput) ToHealthAlertActionArrayOutput

func (o HealthAlertActionArrayOutput) ToHealthAlertActionArrayOutput() HealthAlertActionArrayOutput

func (HealthAlertActionArrayOutput) ToHealthAlertActionArrayOutputWithContext

func (o HealthAlertActionArrayOutput) ToHealthAlertActionArrayOutputWithContext(ctx context.Context) HealthAlertActionArrayOutput

type HealthAlertActionInput

type HealthAlertActionInput interface {
	pulumi.Input

	ToHealthAlertActionOutput() HealthAlertActionOutput
	ToHealthAlertActionOutputWithContext(context.Context) HealthAlertActionOutput
}

HealthAlertActionInput is an input type that accepts HealthAlertActionArgs and HealthAlertActionOutput values. You can construct a concrete instance of `HealthAlertActionInput` via:

HealthAlertActionArgs{...}

type HealthAlertActionOutput

type HealthAlertActionOutput struct{ *pulumi.OutputState }

An alert action.

func (HealthAlertActionOutput) ActionGroupId

the id of the action group to use.

func (HealthAlertActionOutput) ElementType

func (HealthAlertActionOutput) ElementType() reflect.Type

func (HealthAlertActionOutput) ToHealthAlertActionOutput

func (o HealthAlertActionOutput) ToHealthAlertActionOutput() HealthAlertActionOutput

func (HealthAlertActionOutput) ToHealthAlertActionOutputWithContext

func (o HealthAlertActionOutput) ToHealthAlertActionOutputWithContext(ctx context.Context) HealthAlertActionOutput

func (HealthAlertActionOutput) WebHookProperties

func (o HealthAlertActionOutput) WebHookProperties() pulumi.StringMapOutput

The properties of a webhook object.

type HealthAlertActionResponse

type HealthAlertActionResponse struct {
	// the id of the action group to use.
	ActionGroupId *string `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties map[string]string `pulumi:"webHookProperties"`
}

An alert action.

type HealthAlertActionResponseArgs

type HealthAlertActionResponseArgs struct {
	// the id of the action group to use.
	ActionGroupId pulumi.StringPtrInput `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties pulumi.StringMapInput `pulumi:"webHookProperties"`
}

An alert action.

func (HealthAlertActionResponseArgs) ElementType

func (HealthAlertActionResponseArgs) ToHealthAlertActionResponseOutput

func (i HealthAlertActionResponseArgs) ToHealthAlertActionResponseOutput() HealthAlertActionResponseOutput

func (HealthAlertActionResponseArgs) ToHealthAlertActionResponseOutputWithContext

func (i HealthAlertActionResponseArgs) ToHealthAlertActionResponseOutputWithContext(ctx context.Context) HealthAlertActionResponseOutput

type HealthAlertActionResponseArray

type HealthAlertActionResponseArray []HealthAlertActionResponseInput

func (HealthAlertActionResponseArray) ElementType

func (HealthAlertActionResponseArray) ToHealthAlertActionResponseArrayOutput

func (i HealthAlertActionResponseArray) ToHealthAlertActionResponseArrayOutput() HealthAlertActionResponseArrayOutput

func (HealthAlertActionResponseArray) ToHealthAlertActionResponseArrayOutputWithContext

func (i HealthAlertActionResponseArray) ToHealthAlertActionResponseArrayOutputWithContext(ctx context.Context) HealthAlertActionResponseArrayOutput

type HealthAlertActionResponseArrayInput

type HealthAlertActionResponseArrayInput interface {
	pulumi.Input

	ToHealthAlertActionResponseArrayOutput() HealthAlertActionResponseArrayOutput
	ToHealthAlertActionResponseArrayOutputWithContext(context.Context) HealthAlertActionResponseArrayOutput
}

HealthAlertActionResponseArrayInput is an input type that accepts HealthAlertActionResponseArray and HealthAlertActionResponseArrayOutput values. You can construct a concrete instance of `HealthAlertActionResponseArrayInput` via:

HealthAlertActionResponseArray{ HealthAlertActionResponseArgs{...} }

type HealthAlertActionResponseArrayOutput

type HealthAlertActionResponseArrayOutput struct{ *pulumi.OutputState }

func (HealthAlertActionResponseArrayOutput) ElementType

func (HealthAlertActionResponseArrayOutput) Index

func (HealthAlertActionResponseArrayOutput) ToHealthAlertActionResponseArrayOutput

func (o HealthAlertActionResponseArrayOutput) ToHealthAlertActionResponseArrayOutput() HealthAlertActionResponseArrayOutput

func (HealthAlertActionResponseArrayOutput) ToHealthAlertActionResponseArrayOutputWithContext

func (o HealthAlertActionResponseArrayOutput) ToHealthAlertActionResponseArrayOutputWithContext(ctx context.Context) HealthAlertActionResponseArrayOutput

type HealthAlertActionResponseInput

type HealthAlertActionResponseInput interface {
	pulumi.Input

	ToHealthAlertActionResponseOutput() HealthAlertActionResponseOutput
	ToHealthAlertActionResponseOutputWithContext(context.Context) HealthAlertActionResponseOutput
}

HealthAlertActionResponseInput is an input type that accepts HealthAlertActionResponseArgs and HealthAlertActionResponseOutput values. You can construct a concrete instance of `HealthAlertActionResponseInput` via:

HealthAlertActionResponseArgs{...}

type HealthAlertActionResponseOutput

type HealthAlertActionResponseOutput struct{ *pulumi.OutputState }

An alert action.

func (HealthAlertActionResponseOutput) ActionGroupId

the id of the action group to use.

func (HealthAlertActionResponseOutput) ElementType

func (HealthAlertActionResponseOutput) ToHealthAlertActionResponseOutput

func (o HealthAlertActionResponseOutput) ToHealthAlertActionResponseOutput() HealthAlertActionResponseOutput

func (HealthAlertActionResponseOutput) ToHealthAlertActionResponseOutputWithContext

func (o HealthAlertActionResponseOutput) ToHealthAlertActionResponseOutputWithContext(ctx context.Context) HealthAlertActionResponseOutput

func (HealthAlertActionResponseOutput) WebHookProperties

The properties of a webhook object.

type HealthAlertArgs

type HealthAlertArgs struct {
	// the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
	Actions HealthAlertActionArrayInput
	// defines the specific alert criteria information.
	Criteria HealthAlertCriteriaInput
	// the description of the health alert that will be included in the alert email.
	Description pulumi.StringInput
	// the flag that indicates whether the health alert is enabled.
	Enabled pulumi.BoolInput
	// Resource location
	Location pulumi.StringPtrInput
	// The name of the resource group.
	ResourceGroupName pulumi.StringInput
	// The name of the rule.
	RuleName pulumi.StringInput
	// the list of resource id's that this health alert is scoped to.
	Scopes pulumi.StringArrayInput
	// Resource tags
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a HealthAlert resource.

func (HealthAlertArgs) ElementType

func (HealthAlertArgs) ElementType() reflect.Type

type HealthAlertCriteria

type HealthAlertCriteria struct {
	// The list of metric criteria for this 'all of' operation.
	AllOf []VmGuestHealthAlertCriterion `pulumi:"allOf"`
}

Specifies the resource health alert criteria for a single resource that has multiple metric criteria.

type HealthAlertCriteriaArgs

type HealthAlertCriteriaArgs struct {
	// The list of metric criteria for this 'all of' operation.
	AllOf VmGuestHealthAlertCriterionArrayInput `pulumi:"allOf"`
}

Specifies the resource health alert criteria for a single resource that has multiple metric criteria.

func (HealthAlertCriteriaArgs) ElementType

func (HealthAlertCriteriaArgs) ElementType() reflect.Type

func (HealthAlertCriteriaArgs) ToHealthAlertCriteriaOutput

func (i HealthAlertCriteriaArgs) ToHealthAlertCriteriaOutput() HealthAlertCriteriaOutput

func (HealthAlertCriteriaArgs) ToHealthAlertCriteriaOutputWithContext

func (i HealthAlertCriteriaArgs) ToHealthAlertCriteriaOutputWithContext(ctx context.Context) HealthAlertCriteriaOutput

func (HealthAlertCriteriaArgs) ToHealthAlertCriteriaPtrOutput

func (i HealthAlertCriteriaArgs) ToHealthAlertCriteriaPtrOutput() HealthAlertCriteriaPtrOutput

func (HealthAlertCriteriaArgs) ToHealthAlertCriteriaPtrOutputWithContext

func (i HealthAlertCriteriaArgs) ToHealthAlertCriteriaPtrOutputWithContext(ctx context.Context) HealthAlertCriteriaPtrOutput

type HealthAlertCriteriaInput

type HealthAlertCriteriaInput interface {
	pulumi.Input

	ToHealthAlertCriteriaOutput() HealthAlertCriteriaOutput
	ToHealthAlertCriteriaOutputWithContext(context.Context) HealthAlertCriteriaOutput
}

HealthAlertCriteriaInput is an input type that accepts HealthAlertCriteriaArgs and HealthAlertCriteriaOutput values. You can construct a concrete instance of `HealthAlertCriteriaInput` via:

HealthAlertCriteriaArgs{...}

type HealthAlertCriteriaOutput

type HealthAlertCriteriaOutput struct{ *pulumi.OutputState }

Specifies the resource health alert criteria for a single resource that has multiple metric criteria.

func (HealthAlertCriteriaOutput) AllOf

The list of metric criteria for this 'all of' operation.

func (HealthAlertCriteriaOutput) ElementType

func (HealthAlertCriteriaOutput) ElementType() reflect.Type

func (HealthAlertCriteriaOutput) ToHealthAlertCriteriaOutput

func (o HealthAlertCriteriaOutput) ToHealthAlertCriteriaOutput() HealthAlertCriteriaOutput

func (HealthAlertCriteriaOutput) ToHealthAlertCriteriaOutputWithContext

func (o HealthAlertCriteriaOutput) ToHealthAlertCriteriaOutputWithContext(ctx context.Context) HealthAlertCriteriaOutput

func (HealthAlertCriteriaOutput) ToHealthAlertCriteriaPtrOutput

func (o HealthAlertCriteriaOutput) ToHealthAlertCriteriaPtrOutput() HealthAlertCriteriaPtrOutput

func (HealthAlertCriteriaOutput) ToHealthAlertCriteriaPtrOutputWithContext

func (o HealthAlertCriteriaOutput) ToHealthAlertCriteriaPtrOutputWithContext(ctx context.Context) HealthAlertCriteriaPtrOutput

type HealthAlertCriteriaPtrInput

type HealthAlertCriteriaPtrInput interface {
	pulumi.Input

	ToHealthAlertCriteriaPtrOutput() HealthAlertCriteriaPtrOutput
	ToHealthAlertCriteriaPtrOutputWithContext(context.Context) HealthAlertCriteriaPtrOutput
}

HealthAlertCriteriaPtrInput is an input type that accepts HealthAlertCriteriaArgs, HealthAlertCriteriaPtr and HealthAlertCriteriaPtrOutput values. You can construct a concrete instance of `HealthAlertCriteriaPtrInput` via:

        HealthAlertCriteriaArgs{...}

or:

        nil

type HealthAlertCriteriaPtrOutput

type HealthAlertCriteriaPtrOutput struct{ *pulumi.OutputState }

func (HealthAlertCriteriaPtrOutput) AllOf

The list of metric criteria for this 'all of' operation.

func (HealthAlertCriteriaPtrOutput) Elem

func (HealthAlertCriteriaPtrOutput) ElementType

func (HealthAlertCriteriaPtrOutput) ToHealthAlertCriteriaPtrOutput

func (o HealthAlertCriteriaPtrOutput) ToHealthAlertCriteriaPtrOutput() HealthAlertCriteriaPtrOutput

func (HealthAlertCriteriaPtrOutput) ToHealthAlertCriteriaPtrOutputWithContext

func (o HealthAlertCriteriaPtrOutput) ToHealthAlertCriteriaPtrOutputWithContext(ctx context.Context) HealthAlertCriteriaPtrOutput

type HealthAlertCriteriaResponse

type HealthAlertCriteriaResponse struct {
	// The list of metric criteria for this 'all of' operation.
	AllOf []VmGuestHealthAlertCriterionResponse `pulumi:"allOf"`
}

Specifies the resource health alert criteria for a single resource that has multiple metric criteria.

type HealthAlertCriteriaResponseArgs

type HealthAlertCriteriaResponseArgs struct {
	// The list of metric criteria for this 'all of' operation.
	AllOf VmGuestHealthAlertCriterionResponseArrayInput `pulumi:"allOf"`
}

Specifies the resource health alert criteria for a single resource that has multiple metric criteria.

func (HealthAlertCriteriaResponseArgs) ElementType

func (HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponseOutput

func (i HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponseOutput() HealthAlertCriteriaResponseOutput

func (HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponseOutputWithContext

func (i HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponseOutputWithContext(ctx context.Context) HealthAlertCriteriaResponseOutput

func (HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponsePtrOutput

func (i HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponsePtrOutput() HealthAlertCriteriaResponsePtrOutput

func (HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponsePtrOutputWithContext

func (i HealthAlertCriteriaResponseArgs) ToHealthAlertCriteriaResponsePtrOutputWithContext(ctx context.Context) HealthAlertCriteriaResponsePtrOutput

type HealthAlertCriteriaResponseInput

type HealthAlertCriteriaResponseInput interface {
	pulumi.Input

	ToHealthAlertCriteriaResponseOutput() HealthAlertCriteriaResponseOutput
	ToHealthAlertCriteriaResponseOutputWithContext(context.Context) HealthAlertCriteriaResponseOutput
}

HealthAlertCriteriaResponseInput is an input type that accepts HealthAlertCriteriaResponseArgs and HealthAlertCriteriaResponseOutput values. You can construct a concrete instance of `HealthAlertCriteriaResponseInput` via:

HealthAlertCriteriaResponseArgs{...}

type HealthAlertCriteriaResponseOutput

type HealthAlertCriteriaResponseOutput struct{ *pulumi.OutputState }

Specifies the resource health alert criteria for a single resource that has multiple metric criteria.

func (HealthAlertCriteriaResponseOutput) AllOf

The list of metric criteria for this 'all of' operation.

func (HealthAlertCriteriaResponseOutput) ElementType

func (HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponseOutput

func (o HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponseOutput() HealthAlertCriteriaResponseOutput

func (HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponseOutputWithContext

func (o HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponseOutputWithContext(ctx context.Context) HealthAlertCriteriaResponseOutput

func (HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponsePtrOutput

func (o HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponsePtrOutput() HealthAlertCriteriaResponsePtrOutput

func (HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponsePtrOutputWithContext

func (o HealthAlertCriteriaResponseOutput) ToHealthAlertCriteriaResponsePtrOutputWithContext(ctx context.Context) HealthAlertCriteriaResponsePtrOutput

type HealthAlertCriteriaResponsePtrInput

type HealthAlertCriteriaResponsePtrInput interface {
	pulumi.Input

	ToHealthAlertCriteriaResponsePtrOutput() HealthAlertCriteriaResponsePtrOutput
	ToHealthAlertCriteriaResponsePtrOutputWithContext(context.Context) HealthAlertCriteriaResponsePtrOutput
}

HealthAlertCriteriaResponsePtrInput is an input type that accepts HealthAlertCriteriaResponseArgs, HealthAlertCriteriaResponsePtr and HealthAlertCriteriaResponsePtrOutput values. You can construct a concrete instance of `HealthAlertCriteriaResponsePtrInput` via:

        HealthAlertCriteriaResponseArgs{...}

or:

        nil

type HealthAlertCriteriaResponsePtrOutput

type HealthAlertCriteriaResponsePtrOutput struct{ *pulumi.OutputState }

func (HealthAlertCriteriaResponsePtrOutput) AllOf

The list of metric criteria for this 'all of' operation.

func (HealthAlertCriteriaResponsePtrOutput) Elem

func (HealthAlertCriteriaResponsePtrOutput) ElementType

func (HealthAlertCriteriaResponsePtrOutput) ToHealthAlertCriteriaResponsePtrOutput

func (o HealthAlertCriteriaResponsePtrOutput) ToHealthAlertCriteriaResponsePtrOutput() HealthAlertCriteriaResponsePtrOutput

func (HealthAlertCriteriaResponsePtrOutput) ToHealthAlertCriteriaResponsePtrOutputWithContext

func (o HealthAlertCriteriaResponsePtrOutput) ToHealthAlertCriteriaResponsePtrOutputWithContext(ctx context.Context) HealthAlertCriteriaResponsePtrOutput

type HealthAlertInput added in v0.2.6

type HealthAlertInput interface {
	pulumi.Input

	ToHealthAlertOutput() HealthAlertOutput
	ToHealthAlertOutputWithContext(ctx context.Context) HealthAlertOutput
}

type HealthAlertOutput added in v0.2.6

type HealthAlertOutput struct {
	*pulumi.OutputState
}

func (HealthAlertOutput) ElementType added in v0.2.6

func (HealthAlertOutput) ElementType() reflect.Type

func (HealthAlertOutput) ToHealthAlertOutput added in v0.2.6

func (o HealthAlertOutput) ToHealthAlertOutput() HealthAlertOutput

func (HealthAlertOutput) ToHealthAlertOutputWithContext added in v0.2.6

func (o HealthAlertOutput) ToHealthAlertOutputWithContext(ctx context.Context) HealthAlertOutput

type HealthAlertState

type HealthAlertState struct {
	// the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
	Actions HealthAlertActionResponseArrayInput
	// defines the specific alert criteria information.
	Criteria HealthAlertCriteriaResponsePtrInput
	// the description of the health alert that will be included in the alert email.
	Description pulumi.StringPtrInput
	// the flag that indicates whether the health alert is enabled.
	Enabled pulumi.BoolPtrInput
	// Last time the rule was updated in ISO8601 format.
	LastUpdatedTime pulumi.StringPtrInput
	// Resource location
	Location pulumi.StringPtrInput
	// Azure resource name
	Name pulumi.StringPtrInput
	// the list of resource id's that this health alert is scoped to.
	Scopes pulumi.StringArrayInput
	// Resource tags
	Tags pulumi.StringMapInput
	// Azure resource type
	Type pulumi.StringPtrInput
}

func (HealthAlertState) ElementType

func (HealthAlertState) ElementType() reflect.Type

type HealthAlertsNamespace added in v0.3.1

type HealthAlertsNamespace pulumi.String

specifies the type of the alert criterion.

func (HealthAlertsNamespace) ElementType added in v0.3.1

func (HealthAlertsNamespace) ElementType() reflect.Type

func (HealthAlertsNamespace) ToStringOutput added in v0.3.1

func (e HealthAlertsNamespace) ToStringOutput() pulumi.StringOutput

func (HealthAlertsNamespace) ToStringOutputWithContext added in v0.3.1

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

func (HealthAlertsNamespace) ToStringPtrOutput added in v0.3.1

func (e HealthAlertsNamespace) ToStringPtrOutput() pulumi.StringPtrOutput

func (HealthAlertsNamespace) ToStringPtrOutputWithContext added in v0.3.1

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

type HealthState

type HealthState struct {
	// Health state name
	HealthStateName string `pulumi:"healthStateName"`
	// Severity of alert fired
	Severity float64 `pulumi:"severity"`
}

Specifies the health state to alert on and the corresponding severity

type HealthStateArgs

type HealthStateArgs struct {
	// Health state name
	HealthStateName pulumi.StringInput `pulumi:"healthStateName"`
	// Severity of alert fired
	Severity pulumi.Float64Input `pulumi:"severity"`
}

Specifies the health state to alert on and the corresponding severity

func (HealthStateArgs) ElementType

func (HealthStateArgs) ElementType() reflect.Type

func (HealthStateArgs) ToHealthStateOutput

func (i HealthStateArgs) ToHealthStateOutput() HealthStateOutput

func (HealthStateArgs) ToHealthStateOutputWithContext

func (i HealthStateArgs) ToHealthStateOutputWithContext(ctx context.Context) HealthStateOutput

type HealthStateArray

type HealthStateArray []HealthStateInput

func (HealthStateArray) ElementType

func (HealthStateArray) ElementType() reflect.Type

func (HealthStateArray) ToHealthStateArrayOutput

func (i HealthStateArray) ToHealthStateArrayOutput() HealthStateArrayOutput

func (HealthStateArray) ToHealthStateArrayOutputWithContext

func (i HealthStateArray) ToHealthStateArrayOutputWithContext(ctx context.Context) HealthStateArrayOutput

type HealthStateArrayInput

type HealthStateArrayInput interface {
	pulumi.Input

	ToHealthStateArrayOutput() HealthStateArrayOutput
	ToHealthStateArrayOutputWithContext(context.Context) HealthStateArrayOutput
}

HealthStateArrayInput is an input type that accepts HealthStateArray and HealthStateArrayOutput values. You can construct a concrete instance of `HealthStateArrayInput` via:

HealthStateArray{ HealthStateArgs{...} }

type HealthStateArrayOutput

type HealthStateArrayOutput struct{ *pulumi.OutputState }

func (HealthStateArrayOutput) ElementType

func (HealthStateArrayOutput) ElementType() reflect.Type

func (HealthStateArrayOutput) Index

func (HealthStateArrayOutput) ToHealthStateArrayOutput

func (o HealthStateArrayOutput) ToHealthStateArrayOutput() HealthStateArrayOutput

func (HealthStateArrayOutput) ToHealthStateArrayOutputWithContext

func (o HealthStateArrayOutput) ToHealthStateArrayOutputWithContext(ctx context.Context) HealthStateArrayOutput

type HealthStateInput

type HealthStateInput interface {
	pulumi.Input

	ToHealthStateOutput() HealthStateOutput
	ToHealthStateOutputWithContext(context.Context) HealthStateOutput
}

HealthStateInput is an input type that accepts HealthStateArgs and HealthStateOutput values. You can construct a concrete instance of `HealthStateInput` via:

HealthStateArgs{...}

type HealthStateName added in v0.3.1

type HealthStateName pulumi.String

Health state name

func (HealthStateName) ElementType added in v0.3.1

func (HealthStateName) ElementType() reflect.Type

func (HealthStateName) ToStringOutput added in v0.3.1

func (e HealthStateName) ToStringOutput() pulumi.StringOutput

func (HealthStateName) ToStringOutputWithContext added in v0.3.1

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

func (HealthStateName) ToStringPtrOutput added in v0.3.1

func (e HealthStateName) ToStringPtrOutput() pulumi.StringPtrOutput

func (HealthStateName) ToStringPtrOutputWithContext added in v0.3.1

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

type HealthStateOutput

type HealthStateOutput struct{ *pulumi.OutputState }

Specifies the health state to alert on and the corresponding severity

func (HealthStateOutput) ElementType

func (HealthStateOutput) ElementType() reflect.Type

func (HealthStateOutput) HealthStateName

func (o HealthStateOutput) HealthStateName() pulumi.StringOutput

Health state name

func (HealthStateOutput) Severity

func (o HealthStateOutput) Severity() pulumi.Float64Output

Severity of alert fired

func (HealthStateOutput) ToHealthStateOutput

func (o HealthStateOutput) ToHealthStateOutput() HealthStateOutput

func (HealthStateOutput) ToHealthStateOutputWithContext

func (o HealthStateOutput) ToHealthStateOutputWithContext(ctx context.Context) HealthStateOutput

type HealthStateResponse

type HealthStateResponse struct {
	// Health state name
	HealthStateName string `pulumi:"healthStateName"`
	// Severity of alert fired
	Severity float64 `pulumi:"severity"`
}

Specifies the health state to alert on and the corresponding severity

type HealthStateResponseArgs

type HealthStateResponseArgs struct {
	// Health state name
	HealthStateName pulumi.StringInput `pulumi:"healthStateName"`
	// Severity of alert fired
	Severity pulumi.Float64Input `pulumi:"severity"`
}

Specifies the health state to alert on and the corresponding severity

func (HealthStateResponseArgs) ElementType

func (HealthStateResponseArgs) ElementType() reflect.Type

func (HealthStateResponseArgs) ToHealthStateResponseOutput

func (i HealthStateResponseArgs) ToHealthStateResponseOutput() HealthStateResponseOutput

func (HealthStateResponseArgs) ToHealthStateResponseOutputWithContext

func (i HealthStateResponseArgs) ToHealthStateResponseOutputWithContext(ctx context.Context) HealthStateResponseOutput

type HealthStateResponseArray

type HealthStateResponseArray []HealthStateResponseInput

func (HealthStateResponseArray) ElementType

func (HealthStateResponseArray) ElementType() reflect.Type

func (HealthStateResponseArray) ToHealthStateResponseArrayOutput

func (i HealthStateResponseArray) ToHealthStateResponseArrayOutput() HealthStateResponseArrayOutput

func (HealthStateResponseArray) ToHealthStateResponseArrayOutputWithContext

func (i HealthStateResponseArray) ToHealthStateResponseArrayOutputWithContext(ctx context.Context) HealthStateResponseArrayOutput

type HealthStateResponseArrayInput

type HealthStateResponseArrayInput interface {
	pulumi.Input

	ToHealthStateResponseArrayOutput() HealthStateResponseArrayOutput
	ToHealthStateResponseArrayOutputWithContext(context.Context) HealthStateResponseArrayOutput
}

HealthStateResponseArrayInput is an input type that accepts HealthStateResponseArray and HealthStateResponseArrayOutput values. You can construct a concrete instance of `HealthStateResponseArrayInput` via:

HealthStateResponseArray{ HealthStateResponseArgs{...} }

type HealthStateResponseArrayOutput

type HealthStateResponseArrayOutput struct{ *pulumi.OutputState }

func (HealthStateResponseArrayOutput) ElementType

func (HealthStateResponseArrayOutput) Index

func (HealthStateResponseArrayOutput) ToHealthStateResponseArrayOutput

func (o HealthStateResponseArrayOutput) ToHealthStateResponseArrayOutput() HealthStateResponseArrayOutput

func (HealthStateResponseArrayOutput) ToHealthStateResponseArrayOutputWithContext

func (o HealthStateResponseArrayOutput) ToHealthStateResponseArrayOutputWithContext(ctx context.Context) HealthStateResponseArrayOutput

type HealthStateResponseInput

type HealthStateResponseInput interface {
	pulumi.Input

	ToHealthStateResponseOutput() HealthStateResponseOutput
	ToHealthStateResponseOutputWithContext(context.Context) HealthStateResponseOutput
}

HealthStateResponseInput is an input type that accepts HealthStateResponseArgs and HealthStateResponseOutput values. You can construct a concrete instance of `HealthStateResponseInput` via:

HealthStateResponseArgs{...}

type HealthStateResponseOutput

type HealthStateResponseOutput struct{ *pulumi.OutputState }

Specifies the health state to alert on and the corresponding severity

func (HealthStateResponseOutput) ElementType

func (HealthStateResponseOutput) ElementType() reflect.Type

func (HealthStateResponseOutput) HealthStateName

func (o HealthStateResponseOutput) HealthStateName() pulumi.StringOutput

Health state name

func (HealthStateResponseOutput) Severity

Severity of alert fired

func (HealthStateResponseOutput) ToHealthStateResponseOutput

func (o HealthStateResponseOutput) ToHealthStateResponseOutput() HealthStateResponseOutput

func (HealthStateResponseOutput) ToHealthStateResponseOutputWithContext

func (o HealthStateResponseOutput) ToHealthStateResponseOutputWithContext(ctx context.Context) HealthStateResponseOutput

type LookupHealthAlertArgs

type LookupHealthAlertArgs struct {
	// The name of the resource group.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the rule.
	RuleName string `pulumi:"ruleName"`
}

type LookupHealthAlertResult

type LookupHealthAlertResult struct {
	// the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.
	Actions []HealthAlertActionResponse `pulumi:"actions"`
	// defines the specific alert criteria information.
	Criteria HealthAlertCriteriaResponse `pulumi:"criteria"`
	// the description of the health alert that will be included in the alert email.
	Description string `pulumi:"description"`
	// the flag that indicates whether the health alert is enabled.
	Enabled bool `pulumi:"enabled"`
	// Azure resource Id
	Id string `pulumi:"id"`
	// Last time the rule was updated in ISO8601 format.
	LastUpdatedTime string `pulumi:"lastUpdatedTime"`
	// Resource location
	Location string `pulumi:"location"`
	// Azure resource name
	Name string `pulumi:"name"`
	// the list of resource id's that this health alert is scoped to.
	Scopes []string `pulumi:"scopes"`
	// Resource tags
	Tags map[string]string `pulumi:"tags"`
	// Azure resource type
	Type string `pulumi:"type"`
}

The health alert resource.

type VmGuestHealthAlertCriterion

type VmGuestHealthAlertCriterion struct {
	// Health states to alert on
	HealthStates []HealthState `pulumi:"healthStates"`
	// Names of health monitor on which to define alert
	MonitorNames []string `pulumi:"monitorNames"`
	// Names of health monitor type on which to define alert
	MonitorTypes []string `pulumi:"monitorTypes"`
	// specifies the type of the alert criterion.
	// Expected value is 'GuestVmHealth'.
	Namespace string `pulumi:"namespace"`
}

Specifies the health alert criteria to alert on.

type VmGuestHealthAlertCriterionArgs

type VmGuestHealthAlertCriterionArgs struct {
	// Health states to alert on
	HealthStates HealthStateArrayInput `pulumi:"healthStates"`
	// Names of health monitor on which to define alert
	MonitorNames pulumi.StringArrayInput `pulumi:"monitorNames"`
	// Names of health monitor type on which to define alert
	MonitorTypes pulumi.StringArrayInput `pulumi:"monitorTypes"`
	// specifies the type of the alert criterion.
	// Expected value is 'GuestVmHealth'.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

Specifies the health alert criteria to alert on.

func (VmGuestHealthAlertCriterionArgs) ElementType

func (VmGuestHealthAlertCriterionArgs) ToVmGuestHealthAlertCriterionOutput

func (i VmGuestHealthAlertCriterionArgs) ToVmGuestHealthAlertCriterionOutput() VmGuestHealthAlertCriterionOutput

func (VmGuestHealthAlertCriterionArgs) ToVmGuestHealthAlertCriterionOutputWithContext

func (i VmGuestHealthAlertCriterionArgs) ToVmGuestHealthAlertCriterionOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionOutput

type VmGuestHealthAlertCriterionArray

type VmGuestHealthAlertCriterionArray []VmGuestHealthAlertCriterionInput

func (VmGuestHealthAlertCriterionArray) ElementType

func (VmGuestHealthAlertCriterionArray) ToVmGuestHealthAlertCriterionArrayOutput

func (i VmGuestHealthAlertCriterionArray) ToVmGuestHealthAlertCriterionArrayOutput() VmGuestHealthAlertCriterionArrayOutput

func (VmGuestHealthAlertCriterionArray) ToVmGuestHealthAlertCriterionArrayOutputWithContext

func (i VmGuestHealthAlertCriterionArray) ToVmGuestHealthAlertCriterionArrayOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionArrayOutput

type VmGuestHealthAlertCriterionArrayInput

type VmGuestHealthAlertCriterionArrayInput interface {
	pulumi.Input

	ToVmGuestHealthAlertCriterionArrayOutput() VmGuestHealthAlertCriterionArrayOutput
	ToVmGuestHealthAlertCriterionArrayOutputWithContext(context.Context) VmGuestHealthAlertCriterionArrayOutput
}

VmGuestHealthAlertCriterionArrayInput is an input type that accepts VmGuestHealthAlertCriterionArray and VmGuestHealthAlertCriterionArrayOutput values. You can construct a concrete instance of `VmGuestHealthAlertCriterionArrayInput` via:

VmGuestHealthAlertCriterionArray{ VmGuestHealthAlertCriterionArgs{...} }

type VmGuestHealthAlertCriterionArrayOutput

type VmGuestHealthAlertCriterionArrayOutput struct{ *pulumi.OutputState }

func (VmGuestHealthAlertCriterionArrayOutput) ElementType

func (VmGuestHealthAlertCriterionArrayOutput) Index

func (VmGuestHealthAlertCriterionArrayOutput) ToVmGuestHealthAlertCriterionArrayOutput

func (o VmGuestHealthAlertCriterionArrayOutput) ToVmGuestHealthAlertCriterionArrayOutput() VmGuestHealthAlertCriterionArrayOutput

func (VmGuestHealthAlertCriterionArrayOutput) ToVmGuestHealthAlertCriterionArrayOutputWithContext

func (o VmGuestHealthAlertCriterionArrayOutput) ToVmGuestHealthAlertCriterionArrayOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionArrayOutput

type VmGuestHealthAlertCriterionInput

type VmGuestHealthAlertCriterionInput interface {
	pulumi.Input

	ToVmGuestHealthAlertCriterionOutput() VmGuestHealthAlertCriterionOutput
	ToVmGuestHealthAlertCriterionOutputWithContext(context.Context) VmGuestHealthAlertCriterionOutput
}

VmGuestHealthAlertCriterionInput is an input type that accepts VmGuestHealthAlertCriterionArgs and VmGuestHealthAlertCriterionOutput values. You can construct a concrete instance of `VmGuestHealthAlertCriterionInput` via:

VmGuestHealthAlertCriterionArgs{...}

type VmGuestHealthAlertCriterionOutput

type VmGuestHealthAlertCriterionOutput struct{ *pulumi.OutputState }

Specifies the health alert criteria to alert on.

func (VmGuestHealthAlertCriterionOutput) ElementType

func (VmGuestHealthAlertCriterionOutput) HealthStates

Health states to alert on

func (VmGuestHealthAlertCriterionOutput) MonitorNames added in v0.3.1

Names of health monitor on which to define alert

func (VmGuestHealthAlertCriterionOutput) MonitorTypes added in v0.3.1

Names of health monitor type on which to define alert

func (VmGuestHealthAlertCriterionOutput) Namespace

specifies the type of the alert criterion. Expected value is 'GuestVmHealth'.

func (VmGuestHealthAlertCriterionOutput) ToVmGuestHealthAlertCriterionOutput

func (o VmGuestHealthAlertCriterionOutput) ToVmGuestHealthAlertCriterionOutput() VmGuestHealthAlertCriterionOutput

func (VmGuestHealthAlertCriterionOutput) ToVmGuestHealthAlertCriterionOutputWithContext

func (o VmGuestHealthAlertCriterionOutput) ToVmGuestHealthAlertCriterionOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionOutput

type VmGuestHealthAlertCriterionResponse

type VmGuestHealthAlertCriterionResponse struct {
	// Health states to alert on
	HealthStates []HealthStateResponse `pulumi:"healthStates"`
	// Names of health monitor on which to define alert
	MonitorNames []string `pulumi:"monitorNames"`
	// Names of health monitor type on which to define alert
	MonitorTypes []string `pulumi:"monitorTypes"`
	// specifies the type of the alert criterion.
	// Expected value is 'GuestVmHealth'.
	Namespace string `pulumi:"namespace"`
}

Specifies the health alert criteria to alert on.

type VmGuestHealthAlertCriterionResponseArgs

type VmGuestHealthAlertCriterionResponseArgs struct {
	// Health states to alert on
	HealthStates HealthStateResponseArrayInput `pulumi:"healthStates"`
	// Names of health monitor on which to define alert
	MonitorNames pulumi.StringArrayInput `pulumi:"monitorNames"`
	// Names of health monitor type on which to define alert
	MonitorTypes pulumi.StringArrayInput `pulumi:"monitorTypes"`
	// specifies the type of the alert criterion.
	// Expected value is 'GuestVmHealth'.
	Namespace pulumi.StringInput `pulumi:"namespace"`
}

Specifies the health alert criteria to alert on.

func (VmGuestHealthAlertCriterionResponseArgs) ElementType

func (VmGuestHealthAlertCriterionResponseArgs) ToVmGuestHealthAlertCriterionResponseOutput

func (i VmGuestHealthAlertCriterionResponseArgs) ToVmGuestHealthAlertCriterionResponseOutput() VmGuestHealthAlertCriterionResponseOutput

func (VmGuestHealthAlertCriterionResponseArgs) ToVmGuestHealthAlertCriterionResponseOutputWithContext

func (i VmGuestHealthAlertCriterionResponseArgs) ToVmGuestHealthAlertCriterionResponseOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionResponseOutput

type VmGuestHealthAlertCriterionResponseArray

type VmGuestHealthAlertCriterionResponseArray []VmGuestHealthAlertCriterionResponseInput

func (VmGuestHealthAlertCriterionResponseArray) ElementType

func (VmGuestHealthAlertCriterionResponseArray) ToVmGuestHealthAlertCriterionResponseArrayOutput

func (i VmGuestHealthAlertCriterionResponseArray) ToVmGuestHealthAlertCriterionResponseArrayOutput() VmGuestHealthAlertCriterionResponseArrayOutput

func (VmGuestHealthAlertCriterionResponseArray) ToVmGuestHealthAlertCriterionResponseArrayOutputWithContext

func (i VmGuestHealthAlertCriterionResponseArray) ToVmGuestHealthAlertCriterionResponseArrayOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionResponseArrayOutput

type VmGuestHealthAlertCriterionResponseArrayInput

type VmGuestHealthAlertCriterionResponseArrayInput interface {
	pulumi.Input

	ToVmGuestHealthAlertCriterionResponseArrayOutput() VmGuestHealthAlertCriterionResponseArrayOutput
	ToVmGuestHealthAlertCriterionResponseArrayOutputWithContext(context.Context) VmGuestHealthAlertCriterionResponseArrayOutput
}

VmGuestHealthAlertCriterionResponseArrayInput is an input type that accepts VmGuestHealthAlertCriterionResponseArray and VmGuestHealthAlertCriterionResponseArrayOutput values. You can construct a concrete instance of `VmGuestHealthAlertCriterionResponseArrayInput` via:

VmGuestHealthAlertCriterionResponseArray{ VmGuestHealthAlertCriterionResponseArgs{...} }

type VmGuestHealthAlertCriterionResponseArrayOutput

type VmGuestHealthAlertCriterionResponseArrayOutput struct{ *pulumi.OutputState }

func (VmGuestHealthAlertCriterionResponseArrayOutput) ElementType

func (VmGuestHealthAlertCriterionResponseArrayOutput) Index

func (VmGuestHealthAlertCriterionResponseArrayOutput) ToVmGuestHealthAlertCriterionResponseArrayOutput

func (o VmGuestHealthAlertCriterionResponseArrayOutput) ToVmGuestHealthAlertCriterionResponseArrayOutput() VmGuestHealthAlertCriterionResponseArrayOutput

func (VmGuestHealthAlertCriterionResponseArrayOutput) ToVmGuestHealthAlertCriterionResponseArrayOutputWithContext

func (o VmGuestHealthAlertCriterionResponseArrayOutput) ToVmGuestHealthAlertCriterionResponseArrayOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionResponseArrayOutput

type VmGuestHealthAlertCriterionResponseInput

type VmGuestHealthAlertCriterionResponseInput interface {
	pulumi.Input

	ToVmGuestHealthAlertCriterionResponseOutput() VmGuestHealthAlertCriterionResponseOutput
	ToVmGuestHealthAlertCriterionResponseOutputWithContext(context.Context) VmGuestHealthAlertCriterionResponseOutput
}

VmGuestHealthAlertCriterionResponseInput is an input type that accepts VmGuestHealthAlertCriterionResponseArgs and VmGuestHealthAlertCriterionResponseOutput values. You can construct a concrete instance of `VmGuestHealthAlertCriterionResponseInput` via:

VmGuestHealthAlertCriterionResponseArgs{...}

type VmGuestHealthAlertCriterionResponseOutput

type VmGuestHealthAlertCriterionResponseOutput struct{ *pulumi.OutputState }

Specifies the health alert criteria to alert on.

func (VmGuestHealthAlertCriterionResponseOutput) ElementType

func (VmGuestHealthAlertCriterionResponseOutput) HealthStates

Health states to alert on

func (VmGuestHealthAlertCriterionResponseOutput) MonitorNames added in v0.3.1

Names of health monitor on which to define alert

func (VmGuestHealthAlertCriterionResponseOutput) MonitorTypes added in v0.3.1

Names of health monitor type on which to define alert

func (VmGuestHealthAlertCriterionResponseOutput) Namespace

specifies the type of the alert criterion. Expected value is 'GuestVmHealth'.

func (VmGuestHealthAlertCriterionResponseOutput) ToVmGuestHealthAlertCriterionResponseOutput

func (o VmGuestHealthAlertCriterionResponseOutput) ToVmGuestHealthAlertCriterionResponseOutput() VmGuestHealthAlertCriterionResponseOutput

func (VmGuestHealthAlertCriterionResponseOutput) ToVmGuestHealthAlertCriterionResponseOutputWithContext

func (o VmGuestHealthAlertCriterionResponseOutput) ToVmGuestHealthAlertCriterionResponseOutputWithContext(ctx context.Context) VmGuestHealthAlertCriterionResponseOutput

Jump to

Keyboard shortcuts

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