Fork me on GitHub

Module monitoring

@pulumi/gcp > monitoring

Index

monitoring/alertPolicy.ts

class AlertPolicy

constructor

new AlertPolicy(name: string, args: AlertPolicyArgs, opts?: pulumi.CustomResourceOptions)

Create a AlertPolicy resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertPolicyState): AlertPolicy

Get an existing AlertPolicy resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property combiner

public combiner: pulumi.Output<string>;

property conditions

public conditions: pulumi.Output<{ ... }[]>;

property creationRecord

public creationRecord: pulumi.Output<{ ... }>;

property displayName

public displayName: pulumi.Output<string>;

property enabled

public enabled: pulumi.Output<boolean>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property labels

public labels: pulumi.Output<string[] | undefined>;

property name

public name: pulumi.Output<string>;

property notificationChannels

public notificationChannels: pulumi.Output<string[] | undefined>;

property project

public project: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

interface AlertPolicyArgs

The set of arguments for constructing a AlertPolicy resource.

property combiner

combiner: pulumi.Input<string>;

property conditions

conditions: pulumi.Input<pulumi.Input<{ ... }>[]>;

property displayName

displayName: pulumi.Input<string>;

property enabled

enabled: pulumi.Input<boolean>;

property labels

labels?: pulumi.Input<pulumi.Input<string>[]>;

property notificationChannels

notificationChannels?: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;

interface AlertPolicyState

Input properties used for looking up and filtering AlertPolicy resources.

property combiner

combiner?: pulumi.Input<string>;

property conditions

conditions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property creationRecord

creationRecord?: pulumi.Input<{ ... }>;

property displayName

displayName?: pulumi.Input<string>;

property enabled

enabled?: pulumi.Input<boolean>;

property labels

labels?: pulumi.Input<pulumi.Input<string>[]>;

property name

name?: pulumi.Input<string>;

property notificationChannels

notificationChannels?: pulumi.Input<pulumi.Input<string>[]>;

property project

project?: pulumi.Input<string>;