notifications

package
v1.64.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceNow

type ServiceNow struct {
	Enabled   bool   `json:"-"`
	Name      string `json:"-"`
	ProfileID string `json:"-"`

	FormatProblemDetailsAsText *bool   `json:"formatProblemDetailsAsText,omitempty"` // Use text format for problem details instead of HTML.
	InstanceName               *string `json:"instanceName"`                         // The ServiceNow instance identifier. It refers to the first part of your own ServiceNow URL. \n\n This field is mutually exclusive with the **url** field. You can only use one of them
	URL                        *string `json:"url"`                                  // The URL of the on-premise ServiceNow installation. \n\n This field is mutually exclusive with the **instanceName** field. You can only use one of them
	Username                   string  `json:"username"`                             // The username of the ServiceNow account. \n\n Make sure that your user account has the `web_service_admin` and `x_dynat_ruxit.Integration` roles
	Password                   string  `json:"password"`                             // The password to the ServiceNow account
	Message                    string  `json:"message"`                              // The content of the ServiceNow description. Type '{' for placeholder suggestions
	SendIncidents              bool    `json:"sendIncidents"`                        // Send incidents into ServiceNow ITSM
	SendEvents                 bool    `json:"sendEvents"`                           // Send events into ServiceNow ITOM
}

func (*ServiceNow) FillDemoValues

func (me *ServiceNow) FillDemoValues() []string

func (*ServiceNow) HandlePreconditions

func (me *ServiceNow) HandlePreconditions() error

func (*ServiceNow) MarshalHCL

func (me *ServiceNow) MarshalHCL(properties hcl.Properties) error

func (*ServiceNow) PrepareMarshalHCL

func (me *ServiceNow) PrepareMarshalHCL(decoder hcl.Decoder) error

func (*ServiceNow) Schema

func (me *ServiceNow) Schema() map[string]*schema.Schema

func (*ServiceNow) UnmarshalHCL

func (me *ServiceNow) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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