notifications

package
v1.57.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 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 AnsibleTower

type AnsibleTower struct {
	Enabled   bool   `json:"-" hcl:"active,omitempty"` // The notification is active (`true`) or inactive (`false`). Default is `false`
	Name      string `json:"-" hcl:"name"`             // The display name within the Dynatrace WebUI
	ProfileID string `json:"-" hcl:"alerting_profile"` // The ID of the associated alerting profile

	JobTemplateURL string `json:"jobTemplateURL" hcl:"job_template_url"`             // The URL of the target Ansible Tower job template.\n\nFor example, https://<Ansible Tower server name>/#/templates/job_template/<JobTemplateID>\n\n**Note:** Be sure to select the **Prompt on Launch** option in the Extra Variables section of your job template configuration
	Insecure       bool   `json:"acceptAnyCertificate" hcl:"accept_any_certificate"` // Accept any SSL certificate (including self-signed and invalid certificates)
	Username       string `json:"username" hcl:"username"`                           // The username of the Ansible Tower account
	Password       string `json:"password" hcl:"password,secret"`                    // The password for the Ansible Tower account
	CustomMessage  string `json:"customMessage" hcl:"custom_message"`                // This message will be displayed in the Extra Variables **Message** field of your job template. Type '{' for placeholder suggestions
}

func (*AnsibleTower) FillDemoValues

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

func (*AnsibleTower) MarshalHCL

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

func (*AnsibleTower) PrepareMarshalHCL

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

func (*AnsibleTower) Schema

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

func (*AnsibleTower) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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