monitoring

package
v0.18.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertPolicy

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

A description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state.

To get more information about AlertPolicy, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=monitoring_alert_policy_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

func GetAlertPolicy

func GetAlertPolicy(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AlertPolicyState, opts ...pulumi.ResourceOpt) (*AlertPolicy, error)

GetAlertPolicy gets an existing AlertPolicy 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 NewAlertPolicy

func NewAlertPolicy(ctx *pulumi.Context,
	name string, args *AlertPolicyArgs, opts ...pulumi.ResourceOpt) (*AlertPolicy, error)

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

func (*AlertPolicy) Combiner

func (r *AlertPolicy) Combiner() *pulumi.StringOutput

func (*AlertPolicy) Conditions

func (r *AlertPolicy) Conditions() *pulumi.ArrayOutput

func (*AlertPolicy) CreationRecord

func (r *AlertPolicy) CreationRecord() *pulumi.Output

func (*AlertPolicy) DisplayName

func (r *AlertPolicy) DisplayName() *pulumi.StringOutput

func (*AlertPolicy) Documentation added in v0.18.0

func (r *AlertPolicy) Documentation() *pulumi.Output

func (*AlertPolicy) Enabled

func (r *AlertPolicy) Enabled() *pulumi.BoolOutput

func (*AlertPolicy) ID

func (r *AlertPolicy) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AlertPolicy) Labels

func (r *AlertPolicy) Labels() *pulumi.ArrayOutput

func (*AlertPolicy) Name

func (r *AlertPolicy) Name() *pulumi.StringOutput

func (*AlertPolicy) NotificationChannels

func (r *AlertPolicy) NotificationChannels() *pulumi.ArrayOutput

func (*AlertPolicy) Project

func (r *AlertPolicy) Project() *pulumi.StringOutput

func (*AlertPolicy) URN

func (r *AlertPolicy) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AlertPolicyArgs

type AlertPolicyArgs struct {
	Combiner             interface{}
	Conditions           interface{}
	DisplayName          interface{}
	Documentation        interface{}
	Enabled              interface{}
	Labels               interface{}
	NotificationChannels interface{}
	Project              interface{}
}

The set of arguments for constructing a AlertPolicy resource.

type AlertPolicyState

type AlertPolicyState struct {
	Combiner             interface{}
	Conditions           interface{}
	CreationRecord       interface{}
	DisplayName          interface{}
	Documentation        interface{}
	Enabled              interface{}
	Labels               interface{}
	Name                 interface{}
	NotificationChannels interface{}
	Project              interface{}
}

Input properties used for looking up and filtering AlertPolicy resources.

type Group added in v0.16.4

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

The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group.

To get more information about Group, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.groups) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=monitoring_group_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

func GetGroup added in v0.16.4

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.ID, state *GroupState, opts ...pulumi.ResourceOpt) (*Group, error)

GetGroup gets an existing Group 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 NewGroup added in v0.16.4

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOpt) (*Group, error)

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

func (*Group) DisplayName added in v0.16.4

func (r *Group) DisplayName() *pulumi.StringOutput

func (*Group) Filter added in v0.16.4

func (r *Group) Filter() *pulumi.StringOutput

func (*Group) ID added in v0.16.4

func (r *Group) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Group) IsCluster added in v0.16.4

func (r *Group) IsCluster() *pulumi.BoolOutput

func (*Group) Name added in v0.16.4

func (r *Group) Name() *pulumi.StringOutput

func (*Group) ParentName added in v0.16.4

func (r *Group) ParentName() *pulumi.StringOutput

func (*Group) Project added in v0.16.4

func (r *Group) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*Group) URN added in v0.16.4

func (r *Group) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type GroupArgs added in v0.16.4

type GroupArgs struct {
	DisplayName interface{}
	Filter      interface{}
	IsCluster   interface{}
	ParentName  interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
}

The set of arguments for constructing a Group resource.

type GroupState added in v0.16.4

type GroupState struct {
	DisplayName interface{}
	Filter      interface{}
	IsCluster   interface{}
	Name        interface{}
	ParentName  interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project interface{}
}

Input properties used for looking up and filtering Group resources.

type NotificationChannel added in v0.16.4

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

A NotificationChannel is a medium through which an alert is delivered when a policy violation is detected. Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval.

To get more information about NotificationChannel, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=notification_channel_basic&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

func GetNotificationChannel added in v0.16.4

func GetNotificationChannel(ctx *pulumi.Context,
	name string, id pulumi.ID, state *NotificationChannelState, opts ...pulumi.ResourceOpt) (*NotificationChannel, error)

GetNotificationChannel gets an existing NotificationChannel 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 NewNotificationChannel added in v0.16.4

func NewNotificationChannel(ctx *pulumi.Context,
	name string, args *NotificationChannelArgs, opts ...pulumi.ResourceOpt) (*NotificationChannel, error)

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

func (*NotificationChannel) Description added in v0.16.4

func (r *NotificationChannel) Description() *pulumi.StringOutput

func (*NotificationChannel) DisplayName added in v0.16.4

func (r *NotificationChannel) DisplayName() *pulumi.StringOutput

func (*NotificationChannel) Enabled added in v0.16.4

func (r *NotificationChannel) Enabled() *pulumi.BoolOutput

func (*NotificationChannel) ID added in v0.16.4

ID is this resource's unique identifier assigned by its provider.

func (*NotificationChannel) Labels added in v0.16.4

func (r *NotificationChannel) Labels() *pulumi.MapOutput

func (*NotificationChannel) Name added in v0.16.4

func (*NotificationChannel) Project added in v0.16.4

func (r *NotificationChannel) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*NotificationChannel) Type added in v0.16.4

func (*NotificationChannel) URN added in v0.16.4

URN is this resource's unique name assigned by Pulumi.

func (*NotificationChannel) UserLabels added in v0.16.4

func (r *NotificationChannel) UserLabels() *pulumi.MapOutput

func (*NotificationChannel) VerificationStatus added in v0.16.4

func (r *NotificationChannel) VerificationStatus() *pulumi.StringOutput

type NotificationChannelArgs added in v0.16.4

type NotificationChannelArgs struct {
	Description interface{}
	DisplayName interface{}
	Enabled     interface{}
	Labels      interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project    interface{}
	Type       interface{}
	UserLabels interface{}
}

The set of arguments for constructing a NotificationChannel resource.

type NotificationChannelState added in v0.16.4

type NotificationChannelState struct {
	Description interface{}
	DisplayName interface{}
	Enabled     interface{}
	Labels      interface{}
	Name        interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project            interface{}
	Type               interface{}
	UserLabels         interface{}
	VerificationStatus interface{}
}

Input properties used for looking up and filtering NotificationChannel resources.

type UptimeCheckConfig added in v0.16.4

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

This message configures which resources and services to monitor for availability.

To get more information about UptimeCheckConfig, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.uptimeCheckConfigs) * How-to Guides

<div class = "oics-button" style="float: right; margin: 0 0 -15px">

<a href="https://console.cloud.google.com/cloudshell/open?cloudshell_git_repo=https%3A%2F%2Fgithub.com%2Fterraform-google-modules%2Fdocs-examples.git&cloudshell_working_dir=uptime_check_config_http&cloudshell_image=gcr.io%2Fgraphite-cloud-shell-images%2Fterraform%3Alatest&open_in_editor=main.tf&cloudshell_print=.%2Fmotd&cloudshell_tutorial=.%2Ftutorial.md" target="_blank">
  <img alt="Open in Cloud Shell" src="//gstatic.com/cloudssh/images/open-btn.svg" style="max-height: 44px; margin: 32px auto; max-width: 100%;">
</a>

</div>

func GetUptimeCheckConfig added in v0.16.4

func GetUptimeCheckConfig(ctx *pulumi.Context,
	name string, id pulumi.ID, state *UptimeCheckConfigState, opts ...pulumi.ResourceOpt) (*UptimeCheckConfig, error)

GetUptimeCheckConfig gets an existing UptimeCheckConfig 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 NewUptimeCheckConfig added in v0.16.4

func NewUptimeCheckConfig(ctx *pulumi.Context,
	name string, args *UptimeCheckConfigArgs, opts ...pulumi.ResourceOpt) (*UptimeCheckConfig, error)

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

func (*UptimeCheckConfig) ContentMatchers added in v0.16.4

func (r *UptimeCheckConfig) ContentMatchers() *pulumi.ArrayOutput

func (*UptimeCheckConfig) DisplayName added in v0.16.4

func (r *UptimeCheckConfig) DisplayName() *pulumi.StringOutput

func (*UptimeCheckConfig) HttpCheck added in v0.16.4

func (r *UptimeCheckConfig) HttpCheck() *pulumi.Output

func (*UptimeCheckConfig) ID added in v0.16.4

ID is this resource's unique identifier assigned by its provider.

func (*UptimeCheckConfig) InternalCheckers added in v0.16.4

func (r *UptimeCheckConfig) InternalCheckers() *pulumi.ArrayOutput

func (*UptimeCheckConfig) IsInternal added in v0.16.4

func (r *UptimeCheckConfig) IsInternal() *pulumi.BoolOutput

func (*UptimeCheckConfig) MonitoredResource added in v0.16.4

func (r *UptimeCheckConfig) MonitoredResource() *pulumi.Output

func (*UptimeCheckConfig) Name added in v0.16.4

func (*UptimeCheckConfig) Period added in v0.16.4

func (r *UptimeCheckConfig) Period() *pulumi.StringOutput

func (*UptimeCheckConfig) Project added in v0.16.4

func (r *UptimeCheckConfig) Project() *pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (*UptimeCheckConfig) ResourceGroup added in v0.16.4

func (r *UptimeCheckConfig) ResourceGroup() *pulumi.Output

func (*UptimeCheckConfig) SelectedRegions added in v0.16.4

func (r *UptimeCheckConfig) SelectedRegions() *pulumi.ArrayOutput

func (*UptimeCheckConfig) TcpCheck added in v0.16.4

func (r *UptimeCheckConfig) TcpCheck() *pulumi.Output

func (*UptimeCheckConfig) Timeout added in v0.16.4

func (r *UptimeCheckConfig) Timeout() *pulumi.StringOutput

func (*UptimeCheckConfig) URN added in v0.16.4

URN is this resource's unique name assigned by Pulumi.

func (*UptimeCheckConfig) UptimeCheckId added in v0.18.0

func (r *UptimeCheckConfig) UptimeCheckId() *pulumi.StringOutput

type UptimeCheckConfigArgs added in v0.16.4

type UptimeCheckConfigArgs struct {
	ContentMatchers   interface{}
	DisplayName       interface{}
	HttpCheck         interface{}
	InternalCheckers  interface{}
	IsInternal        interface{}
	MonitoredResource interface{}
	Period            interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project         interface{}
	ResourceGroup   interface{}
	SelectedRegions interface{}
	TcpCheck        interface{}
	Timeout         interface{}
}

The set of arguments for constructing a UptimeCheckConfig resource.

type UptimeCheckConfigState added in v0.16.4

type UptimeCheckConfigState struct {
	ContentMatchers   interface{}
	DisplayName       interface{}
	HttpCheck         interface{}
	InternalCheckers  interface{}
	IsInternal        interface{}
	MonitoredResource interface{}
	Name              interface{}
	Period            interface{}
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project         interface{}
	ResourceGroup   interface{}
	SelectedRegions interface{}
	TcpCheck        interface{}
	Timeout         interface{}
	UptimeCheckId   interface{}
}

Input properties used for looking up and filtering UptimeCheckConfig resources.

Jump to

Keyboard shortcuts

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