pagerduty

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Integration

type Integration struct {
	pulumi.CustomResourceState

	// Your PagerDuty API token.
	ApiToken pulumi.StringPtrOutput `pulumi:"apiToken"`
	// Boolean to specify whether or not individual service objects specified by [pagerduty.ServiceObject](https://www.terraform.io/docs/providers/datadog/r/integration_pagerduty_service_object.html) resource are to be used. Mutually exclusive with `services` key.
	IndividualServices pulumi.BoolPtrOutput `pulumi:"individualServices"`
	// Array of your schedule URLs.
	Schedules pulumi.StringArrayOutput `pulumi:"schedules"`
	// Array of PagerDuty service objects. **Deprecated** The `services` list is now deprecated in favour of [pagerduty.ServiceObject](https://www.terraform.io/docs/providers/datadog/r/integration_pagerduty_service_object.html) resource. Note that `individualServices` must be set to `true` to ignore the `service` attribute and use individual services properly.
	Services IntegrationServiceArrayOutput `pulumi:"services"`
	// Your PagerDuty account’s personalized subdomain name.
	Subdomain pulumi.StringOutput `pulumi:"subdomain"`
}

func GetIntegration

func GetIntegration(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntegrationState, opts ...pulumi.ResourceOption) (*Integration, error)

GetIntegration gets an existing Integration 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 NewIntegration

func NewIntegration(ctx *pulumi.Context,
	name string, args *IntegrationArgs, opts ...pulumi.ResourceOption) (*Integration, error)

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

type IntegrationArgs

type IntegrationArgs struct {
	// Your PagerDuty API token.
	ApiToken pulumi.StringPtrInput
	// Boolean to specify whether or not individual service objects specified by [pagerduty.ServiceObject](https://www.terraform.io/docs/providers/datadog/r/integration_pagerduty_service_object.html) resource are to be used. Mutually exclusive with `services` key.
	IndividualServices pulumi.BoolPtrInput
	// Array of your schedule URLs.
	Schedules pulumi.StringArrayInput
	// Array of PagerDuty service objects. **Deprecated** The `services` list is now deprecated in favour of [pagerduty.ServiceObject](https://www.terraform.io/docs/providers/datadog/r/integration_pagerduty_service_object.html) resource. Note that `individualServices` must be set to `true` to ignore the `service` attribute and use individual services properly.
	Services IntegrationServiceArrayInput
	// Your PagerDuty account’s personalized subdomain name.
	Subdomain pulumi.StringInput
}

The set of arguments for constructing a Integration resource.

func (IntegrationArgs) ElementType

func (IntegrationArgs) ElementType() reflect.Type

type IntegrationService

type IntegrationService struct {
	// Your Service name associated service key in Pagerduty.
	ServiceKey string `pulumi:"serviceKey"`
	// Your Service name in PagerDuty.
	ServiceName string `pulumi:"serviceName"`
}

type IntegrationServiceArgs

type IntegrationServiceArgs struct {
	// Your Service name associated service key in Pagerduty.
	ServiceKey pulumi.StringInput `pulumi:"serviceKey"`
	// Your Service name in PagerDuty.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

func (IntegrationServiceArgs) ElementType

func (IntegrationServiceArgs) ElementType() reflect.Type

func (IntegrationServiceArgs) ToIntegrationServiceOutput

func (i IntegrationServiceArgs) ToIntegrationServiceOutput() IntegrationServiceOutput

func (IntegrationServiceArgs) ToIntegrationServiceOutputWithContext

func (i IntegrationServiceArgs) ToIntegrationServiceOutputWithContext(ctx context.Context) IntegrationServiceOutput

type IntegrationServiceArray

type IntegrationServiceArray []IntegrationServiceInput

func (IntegrationServiceArray) ElementType

func (IntegrationServiceArray) ElementType() reflect.Type

func (IntegrationServiceArray) ToIntegrationServiceArrayOutput

func (i IntegrationServiceArray) ToIntegrationServiceArrayOutput() IntegrationServiceArrayOutput

func (IntegrationServiceArray) ToIntegrationServiceArrayOutputWithContext

func (i IntegrationServiceArray) ToIntegrationServiceArrayOutputWithContext(ctx context.Context) IntegrationServiceArrayOutput

type IntegrationServiceArrayInput

type IntegrationServiceArrayInput interface {
	pulumi.Input

	ToIntegrationServiceArrayOutput() IntegrationServiceArrayOutput
	ToIntegrationServiceArrayOutputWithContext(context.Context) IntegrationServiceArrayOutput
}

IntegrationServiceArrayInput is an input type that accepts IntegrationServiceArray and IntegrationServiceArrayOutput values. You can construct a concrete instance of `IntegrationServiceArrayInput` via:

IntegrationServiceArray{ IntegrationServiceArgs{...} }

type IntegrationServiceArrayOutput

type IntegrationServiceArrayOutput struct{ *pulumi.OutputState }

func (IntegrationServiceArrayOutput) ElementType

func (IntegrationServiceArrayOutput) Index

func (IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutput

func (o IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutput() IntegrationServiceArrayOutput

func (IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutputWithContext

func (o IntegrationServiceArrayOutput) ToIntegrationServiceArrayOutputWithContext(ctx context.Context) IntegrationServiceArrayOutput

type IntegrationServiceInput

type IntegrationServiceInput interface {
	pulumi.Input

	ToIntegrationServiceOutput() IntegrationServiceOutput
	ToIntegrationServiceOutputWithContext(context.Context) IntegrationServiceOutput
}

IntegrationServiceInput is an input type that accepts IntegrationServiceArgs and IntegrationServiceOutput values. You can construct a concrete instance of `IntegrationServiceInput` via:

IntegrationServiceArgs{...}

type IntegrationServiceOutput

type IntegrationServiceOutput struct{ *pulumi.OutputState }

func (IntegrationServiceOutput) ElementType

func (IntegrationServiceOutput) ElementType() reflect.Type

func (IntegrationServiceOutput) ServiceKey

Your Service name associated service key in Pagerduty.

func (IntegrationServiceOutput) ServiceName

Your Service name in PagerDuty.

func (IntegrationServiceOutput) ToIntegrationServiceOutput

func (o IntegrationServiceOutput) ToIntegrationServiceOutput() IntegrationServiceOutput

func (IntegrationServiceOutput) ToIntegrationServiceOutputWithContext

func (o IntegrationServiceOutput) ToIntegrationServiceOutputWithContext(ctx context.Context) IntegrationServiceOutput

type IntegrationState

type IntegrationState struct {
	// Your PagerDuty API token.
	ApiToken pulumi.StringPtrInput
	// Boolean to specify whether or not individual service objects specified by [pagerduty.ServiceObject](https://www.terraform.io/docs/providers/datadog/r/integration_pagerduty_service_object.html) resource are to be used. Mutually exclusive with `services` key.
	IndividualServices pulumi.BoolPtrInput
	// Array of your schedule URLs.
	Schedules pulumi.StringArrayInput
	// Array of PagerDuty service objects. **Deprecated** The `services` list is now deprecated in favour of [pagerduty.ServiceObject](https://www.terraform.io/docs/providers/datadog/r/integration_pagerduty_service_object.html) resource. Note that `individualServices` must be set to `true` to ignore the `service` attribute and use individual services properly.
	Services IntegrationServiceArrayInput
	// Your PagerDuty account’s personalized subdomain name.
	Subdomain pulumi.StringPtrInput
}

func (IntegrationState) ElementType

func (IntegrationState) ElementType() reflect.Type

type ServiceObject

type ServiceObject struct {
	pulumi.CustomResourceState

	ServiceKey pulumi.StringOutput `pulumi:"serviceKey"`
	// Your Service name in PagerDuty.
	ServiceName pulumi.StringOutput `pulumi:"serviceName"`
}

Provides access to individual Service Objects of Datadog - PagerDuty integrations. Note that the Datadog - PagerDuty integration must be activated (either manually in the Datadog UI or by using pagerduty.Integration(https://www.terraform.io/docs/providers/datadog/r/integration_pagerduty.html)) in order for this resource to be usable.

func GetServiceObject

func GetServiceObject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceObjectState, opts ...pulumi.ResourceOption) (*ServiceObject, error)

GetServiceObject gets an existing ServiceObject 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 NewServiceObject

func NewServiceObject(ctx *pulumi.Context,
	name string, args *ServiceObjectArgs, opts ...pulumi.ResourceOption) (*ServiceObject, error)

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

type ServiceObjectArgs

type ServiceObjectArgs struct {
	ServiceKey pulumi.StringInput
	// Your Service name in PagerDuty.
	ServiceName pulumi.StringInput
}

The set of arguments for constructing a ServiceObject resource.

func (ServiceObjectArgs) ElementType

func (ServiceObjectArgs) ElementType() reflect.Type

type ServiceObjectState

type ServiceObjectState struct {
	ServiceKey pulumi.StringPtrInput
	// Your Service name in PagerDuty.
	ServiceName pulumi.StringPtrInput
}

func (ServiceObjectState) ElementType

func (ServiceObjectState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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