azurerm_logz_monitor

package
v0.0.0-...-4deecce Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Args

type Args struct {
	// CompanyName: string, optional
	CompanyName terra.StringValue `hcl:"company_name,attr"`
	// Enabled: bool, optional
	Enabled terra.BoolValue `hcl:"enabled,attr"`
	// EnterpriseAppId: string, optional
	EnterpriseAppId terra.StringValue `hcl:"enterprise_app_id,attr"`
	// Id: string, optional
	Id terra.StringValue `hcl:"id,attr"`
	// Location: string, required
	Location terra.StringValue `hcl:"location,attr" validate:"required"`
	// Name: string, required
	Name terra.StringValue `hcl:"name,attr" validate:"required"`
	// ResourceGroupName: string, required
	ResourceGroupName terra.StringValue `hcl:"resource_group_name,attr" validate:"required"`
	// Tags: map of string, optional
	Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"`
	// Plan: required
	Plan *Plan `hcl:"plan,block" validate:"required"`
	// Timeouts: optional
	Timeouts *Timeouts `hcl:"timeouts,block"`
	// User: required
	User *User `hcl:"user,block" validate:"required"`
}

Args contains the configurations for azurerm_logz_monitor.

type Plan

type Plan struct {
	// BillingCycle: string, required
	BillingCycle terra.StringValue `hcl:"billing_cycle,attr" validate:"required"`
	// EffectiveDate: string, required
	EffectiveDate terra.StringValue `hcl:"effective_date,attr" validate:"required"`
	// PlanId: string, optional
	PlanId terra.StringValue `hcl:"plan_id,attr"`
	// UsageType: string, required
	UsageType terra.StringValue `hcl:"usage_type,attr" validate:"required"`
}

type PlanAttributes

type PlanAttributes struct {
	// contains filtered or unexported fields
}

func (PlanAttributes) BillingCycle

func (p PlanAttributes) BillingCycle() terra.StringValue

func (PlanAttributes) EffectiveDate

func (p PlanAttributes) EffectiveDate() terra.StringValue

func (PlanAttributes) InternalRef

func (p PlanAttributes) InternalRef() (terra.Reference, error)

func (PlanAttributes) InternalTokens

func (p PlanAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PlanAttributes) InternalWithRef

func (p PlanAttributes) InternalWithRef(ref terra.Reference) PlanAttributes

func (PlanAttributes) PlanId

func (p PlanAttributes) PlanId() terra.StringValue

func (PlanAttributes) UsageType

func (p PlanAttributes) UsageType() terra.StringValue

type PlanState

type PlanState struct {
	BillingCycle  string `json:"billing_cycle"`
	EffectiveDate string `json:"effective_date"`
	PlanId        string `json:"plan_id"`
	UsageType     string `json:"usage_type"`
}

type Resource

type Resource struct {
	Name string
	Args Args

	DependsOn terra.Dependencies
	Lifecycle *terra.Lifecycle
	// contains filtered or unexported fields
}

Resource represents the Terraform resource azurerm_logz_monitor.

func New

func New(name string, args Args) *Resource

New creates a new instance of Resource.

func (*Resource) Attributes

func (alm *Resource) Attributes() azurermLogzMonitorAttributes

Attributes returns the attributes for Resource.

func (*Resource) Configuration

func (alm *Resource) Configuration() interface{}

Configuration returns the configuration (args) for Resource.

func (*Resource) DependOn

func (alm *Resource) DependOn() terra.Reference

DependOn is used for other resources to depend on Resource.

func (*Resource) Dependencies

func (alm *Resource) Dependencies() terra.Dependencies

Dependencies returns the list of resources Resource depends_on.

func (*Resource) ImportState

func (alm *Resource) ImportState(state io.Reader) error

ImportState imports the given attribute values into Resource's state.

func (*Resource) LifecycleManagement

func (alm *Resource) LifecycleManagement() *terra.Lifecycle

LifecycleManagement returns the lifecycle block for Resource.

func (*Resource) LocalName

func (alm *Resource) LocalName() string

LocalName returns the local name for Resource.

func (*Resource) State

func (alm *Resource) State() (*azurermLogzMonitorState, bool)

State returns the state and a bool indicating if Resource has state.

func (*Resource) StateMust

func (alm *Resource) StateMust() *azurermLogzMonitorState

StateMust returns the state for Resource. Panics if the state is nil.

func (*Resource) Type

func (alm *Resource) Type() string

Type returns the Terraform object type for Resource.

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
	// Update: string, optional
	Update terra.StringValue `hcl:"update,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

func (TimeoutsAttributes) Update

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
	Read   string `json:"read"`
	Update string `json:"update"`
}

type User

type User struct {
	// Email: string, required
	Email terra.StringValue `hcl:"email,attr" validate:"required"`
	// FirstName: string, required
	FirstName terra.StringValue `hcl:"first_name,attr" validate:"required"`
	// LastName: string, required
	LastName terra.StringValue `hcl:"last_name,attr" validate:"required"`
	// PhoneNumber: string, required
	PhoneNumber terra.StringValue `hcl:"phone_number,attr" validate:"required"`
}

type UserAttributes

type UserAttributes struct {
	// contains filtered or unexported fields
}

func (UserAttributes) Email

func (u UserAttributes) Email() terra.StringValue

func (UserAttributes) FirstName

func (u UserAttributes) FirstName() terra.StringValue

func (UserAttributes) InternalRef

func (u UserAttributes) InternalRef() (terra.Reference, error)

func (UserAttributes) InternalTokens

func (u UserAttributes) InternalTokens() (hclwrite.Tokens, error)

func (UserAttributes) InternalWithRef

func (u UserAttributes) InternalWithRef(ref terra.Reference) UserAttributes

func (UserAttributes) LastName

func (u UserAttributes) LastName() terra.StringValue

func (UserAttributes) PhoneNumber

func (u UserAttributes) PhoneNumber() terra.StringValue

type UserState

type UserState struct {
	Email       string `json:"email"`
	FirstName   string `json:"first_name"`
	LastName    string `json:"last_name"`
	PhoneNumber string `json:"phone_number"`
}

Jump to

Keyboard shortcuts

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