resource_org_alarmtemplate

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OrgAlarmtemplateResourceSchema

func OrgAlarmtemplateResourceSchema(ctx context.Context) schema.Schema

Types

type DeliveryType

type DeliveryType struct {
	basetypes.ObjectType
}

func (DeliveryType) Equal

func (t DeliveryType) Equal(o attr.Type) bool

func (DeliveryType) String

func (t DeliveryType) String() string

func (DeliveryType) ValueFromObject

func (DeliveryType) ValueFromTerraform

func (t DeliveryType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (DeliveryType) ValueType

func (t DeliveryType) ValueType(ctx context.Context) attr.Value

type DeliveryValue

type DeliveryValue struct {
	AdditionalEmails basetypes.ListValue `tfsdk:"additional_emails"`
	Enabled          basetypes.BoolValue `tfsdk:"enabled"`
	ToOrgAdmins      basetypes.BoolValue `tfsdk:"to_org_admins"`
	ToSiteAdmins     basetypes.BoolValue `tfsdk:"to_site_admins"`
	// contains filtered or unexported fields
}

func NewDeliveryValue

func NewDeliveryValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (DeliveryValue, diag.Diagnostics)

func NewDeliveryValueMust

func NewDeliveryValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) DeliveryValue

func NewDeliveryValueNull

func NewDeliveryValueNull() DeliveryValue

func NewDeliveryValueUnknown

func NewDeliveryValueUnknown() DeliveryValue

func (DeliveryValue) AttributeTypes

func (v DeliveryValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (DeliveryValue) Equal

func (v DeliveryValue) Equal(o attr.Value) bool

func (DeliveryValue) IsNull

func (v DeliveryValue) IsNull() bool

func (DeliveryValue) IsUnknown

func (v DeliveryValue) IsUnknown() bool

func (DeliveryValue) String

func (v DeliveryValue) String() string

func (DeliveryValue) ToObjectValue

func (DeliveryValue) ToTerraformValue

func (v DeliveryValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (DeliveryValue) Type

func (v DeliveryValue) Type(ctx context.Context) attr.Type

type OrgAlarmtemplateModel

type OrgAlarmtemplateModel struct {
	Delivery DeliveryValue `tfsdk:"delivery"`
	Id       types.String  `tfsdk:"id"`
	Name     types.String  `tfsdk:"name"`
	OrgId    types.String  `tfsdk:"org_id"`
	Rules    types.Map     `tfsdk:"rules"`
}

type RulesType

type RulesType struct {
	basetypes.ObjectType
}

func (RulesType) Equal

func (t RulesType) Equal(o attr.Type) bool

func (RulesType) String

func (t RulesType) String() string

func (RulesType) ValueFromObject

func (RulesType) ValueFromTerraform

func (t RulesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)

func (RulesType) ValueType

func (t RulesType) ValueType(ctx context.Context) attr.Value

type RulesValue

type RulesValue struct {
	Delivery basetypes.ObjectValue `tfsdk:"delivery"`
	Enabled  basetypes.BoolValue   `tfsdk:"enabled"`
	// contains filtered or unexported fields
}

func NewRulesValue

func NewRulesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (RulesValue, diag.Diagnostics)

func NewRulesValueMust

func NewRulesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) RulesValue

func NewRulesValueNull

func NewRulesValueNull() RulesValue

func NewRulesValueUnknown

func NewRulesValueUnknown() RulesValue

func (RulesValue) AttributeTypes

func (v RulesValue) AttributeTypes(ctx context.Context) map[string]attr.Type

func (RulesValue) Equal

func (v RulesValue) Equal(o attr.Value) bool

func (RulesValue) IsNull

func (v RulesValue) IsNull() bool

func (RulesValue) IsUnknown

func (v RulesValue) IsUnknown() bool

func (RulesValue) String

func (v RulesValue) String() string

func (RulesValue) ToObjectValue

func (RulesValue) ToTerraformValue

func (v RulesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)

func (RulesValue) Type

func (v RulesValue) Type(ctx context.Context) attr.Type

Jump to

Keyboard shortcuts

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