statuspage

package
v0.0.0-...-ded6692 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing statuspage cloud resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Component

type Component struct {
	pulumi.CustomResourceState

	AutomationEmail pulumi.StringOutput `pulumi:"automationEmail"`
	// More detailed description for the component
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Display Name for the component
	Name               pulumi.StringOutput  `pulumi:"name"`
	OnlyShowIfDegraded pulumi.BoolPtrOutput `pulumi:"onlyShowIfDegraded"`
	// the ID of the page this component belongs to
	PageId pulumi.StringOutput `pulumi:"pageId"`
	// Should this component be shown component only if in degraded state
	Showcase pulumi.BoolPtrOutput `pulumi:"showcase"`
	// Should this component be showcased
	StartDate pulumi.StringPtrOutput `pulumi:"startDate"`
	Status    pulumi.StringPtrOutput `pulumi:"status"`
}

## Example Usage

```go package main

import (

"github.com/nycruz/pulumi-statuspage/sdk/go/statuspage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := statuspage.NewComponent(ctx, "myComponent", &statuspage.ComponentArgs{
			PageId:      pulumi.String("my_page_id"),
			Description: pulumi.String("Status of my Website"),
			Status:      pulumi.String("operational"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetComponent

func GetComponent(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ComponentState, opts ...pulumi.ResourceOption) (*Component, error)

GetComponent gets an existing Component 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 NewComponent

func NewComponent(ctx *pulumi.Context,
	name string, args *ComponentArgs, opts ...pulumi.ResourceOption) (*Component, error)

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

func (*Component) ElementType

func (*Component) ElementType() reflect.Type

func (*Component) ToComponentOutput

func (i *Component) ToComponentOutput() ComponentOutput

func (*Component) ToComponentOutputWithContext

func (i *Component) ToComponentOutputWithContext(ctx context.Context) ComponentOutput

type ComponentArgs

type ComponentArgs struct {
	// More detailed description for the component
	Description pulumi.StringPtrInput
	// Display Name for the component
	Name               pulumi.StringPtrInput
	OnlyShowIfDegraded pulumi.BoolPtrInput
	// the ID of the page this component belongs to
	PageId pulumi.StringInput
	// Should this component be shown component only if in degraded state
	Showcase pulumi.BoolPtrInput
	// Should this component be showcased
	StartDate pulumi.StringPtrInput
	Status    pulumi.StringPtrInput
}

The set of arguments for constructing a Component resource.

func (ComponentArgs) ElementType

func (ComponentArgs) ElementType() reflect.Type

type ComponentArray

type ComponentArray []ComponentInput

func (ComponentArray) ElementType

func (ComponentArray) ElementType() reflect.Type

func (ComponentArray) ToComponentArrayOutput

func (i ComponentArray) ToComponentArrayOutput() ComponentArrayOutput

func (ComponentArray) ToComponentArrayOutputWithContext

func (i ComponentArray) ToComponentArrayOutputWithContext(ctx context.Context) ComponentArrayOutput

type ComponentArrayInput

type ComponentArrayInput interface {
	pulumi.Input

	ToComponentArrayOutput() ComponentArrayOutput
	ToComponentArrayOutputWithContext(context.Context) ComponentArrayOutput
}

ComponentArrayInput is an input type that accepts ComponentArray and ComponentArrayOutput values. You can construct a concrete instance of `ComponentArrayInput` via:

ComponentArray{ ComponentArgs{...} }

type ComponentArrayOutput

type ComponentArrayOutput struct{ *pulumi.OutputState }

func (ComponentArrayOutput) ElementType

func (ComponentArrayOutput) ElementType() reflect.Type

func (ComponentArrayOutput) Index

func (ComponentArrayOutput) ToComponentArrayOutput

func (o ComponentArrayOutput) ToComponentArrayOutput() ComponentArrayOutput

func (ComponentArrayOutput) ToComponentArrayOutputWithContext

func (o ComponentArrayOutput) ToComponentArrayOutputWithContext(ctx context.Context) ComponentArrayOutput

type ComponentGroup

type ComponentGroup struct {
	pulumi.CustomResourceState

	// An array with the IDs of the components in this group
	Components pulumi.StringArrayOutput `pulumi:"components"`
	// More detailed description for this component group
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An array with the IDs of the components in this group
	Name pulumi.StringOutput `pulumi:"name"`
	// the ID of the page this component group belongs to
	PageId pulumi.StringOutput `pulumi:"pageId"`
}

## Example Usage

```go package main

import (

"github.com/nycruz/pulumi-statuspage/sdk/go/statuspage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := statuspage.NewComponentGroup(ctx, "myGroup", &statuspage.ComponentGroupArgs{
			PageId:      pulumi.String("my_page_id"),
			Description: pulumi.String("Created by terraform"),
			Components: pulumi.StringArray{
				pulumi.Any(statuspage_component.My_component.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetComponentGroup

func GetComponentGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ComponentGroupState, opts ...pulumi.ResourceOption) (*ComponentGroup, error)

GetComponentGroup gets an existing ComponentGroup 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 NewComponentGroup

func NewComponentGroup(ctx *pulumi.Context,
	name string, args *ComponentGroupArgs, opts ...pulumi.ResourceOption) (*ComponentGroup, error)

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

func (*ComponentGroup) ElementType

func (*ComponentGroup) ElementType() reflect.Type

func (*ComponentGroup) ToComponentGroupOutput

func (i *ComponentGroup) ToComponentGroupOutput() ComponentGroupOutput

func (*ComponentGroup) ToComponentGroupOutputWithContext

func (i *ComponentGroup) ToComponentGroupOutputWithContext(ctx context.Context) ComponentGroupOutput

type ComponentGroupArgs

type ComponentGroupArgs struct {
	// An array with the IDs of the components in this group
	Components pulumi.StringArrayInput
	// More detailed description for this component group
	Description pulumi.StringPtrInput
	// An array with the IDs of the components in this group
	Name pulumi.StringPtrInput
	// the ID of the page this component group belongs to
	PageId pulumi.StringInput
}

The set of arguments for constructing a ComponentGroup resource.

func (ComponentGroupArgs) ElementType

func (ComponentGroupArgs) ElementType() reflect.Type

type ComponentGroupArray

type ComponentGroupArray []ComponentGroupInput

func (ComponentGroupArray) ElementType

func (ComponentGroupArray) ElementType() reflect.Type

func (ComponentGroupArray) ToComponentGroupArrayOutput

func (i ComponentGroupArray) ToComponentGroupArrayOutput() ComponentGroupArrayOutput

func (ComponentGroupArray) ToComponentGroupArrayOutputWithContext

func (i ComponentGroupArray) ToComponentGroupArrayOutputWithContext(ctx context.Context) ComponentGroupArrayOutput

type ComponentGroupArrayInput

type ComponentGroupArrayInput interface {
	pulumi.Input

	ToComponentGroupArrayOutput() ComponentGroupArrayOutput
	ToComponentGroupArrayOutputWithContext(context.Context) ComponentGroupArrayOutput
}

ComponentGroupArrayInput is an input type that accepts ComponentGroupArray and ComponentGroupArrayOutput values. You can construct a concrete instance of `ComponentGroupArrayInput` via:

ComponentGroupArray{ ComponentGroupArgs{...} }

type ComponentGroupArrayOutput

type ComponentGroupArrayOutput struct{ *pulumi.OutputState }

func (ComponentGroupArrayOutput) ElementType

func (ComponentGroupArrayOutput) ElementType() reflect.Type

func (ComponentGroupArrayOutput) Index

func (ComponentGroupArrayOutput) ToComponentGroupArrayOutput

func (o ComponentGroupArrayOutput) ToComponentGroupArrayOutput() ComponentGroupArrayOutput

func (ComponentGroupArrayOutput) ToComponentGroupArrayOutputWithContext

func (o ComponentGroupArrayOutput) ToComponentGroupArrayOutputWithContext(ctx context.Context) ComponentGroupArrayOutput

type ComponentGroupInput

type ComponentGroupInput interface {
	pulumi.Input

	ToComponentGroupOutput() ComponentGroupOutput
	ToComponentGroupOutputWithContext(ctx context.Context) ComponentGroupOutput
}

type ComponentGroupMap

type ComponentGroupMap map[string]ComponentGroupInput

func (ComponentGroupMap) ElementType

func (ComponentGroupMap) ElementType() reflect.Type

func (ComponentGroupMap) ToComponentGroupMapOutput

func (i ComponentGroupMap) ToComponentGroupMapOutput() ComponentGroupMapOutput

func (ComponentGroupMap) ToComponentGroupMapOutputWithContext

func (i ComponentGroupMap) ToComponentGroupMapOutputWithContext(ctx context.Context) ComponentGroupMapOutput

type ComponentGroupMapInput

type ComponentGroupMapInput interface {
	pulumi.Input

	ToComponentGroupMapOutput() ComponentGroupMapOutput
	ToComponentGroupMapOutputWithContext(context.Context) ComponentGroupMapOutput
}

ComponentGroupMapInput is an input type that accepts ComponentGroupMap and ComponentGroupMapOutput values. You can construct a concrete instance of `ComponentGroupMapInput` via:

ComponentGroupMap{ "key": ComponentGroupArgs{...} }

type ComponentGroupMapOutput

type ComponentGroupMapOutput struct{ *pulumi.OutputState }

func (ComponentGroupMapOutput) ElementType

func (ComponentGroupMapOutput) ElementType() reflect.Type

func (ComponentGroupMapOutput) MapIndex

func (ComponentGroupMapOutput) ToComponentGroupMapOutput

func (o ComponentGroupMapOutput) ToComponentGroupMapOutput() ComponentGroupMapOutput

func (ComponentGroupMapOutput) ToComponentGroupMapOutputWithContext

func (o ComponentGroupMapOutput) ToComponentGroupMapOutputWithContext(ctx context.Context) ComponentGroupMapOutput

type ComponentGroupOutput

type ComponentGroupOutput struct{ *pulumi.OutputState }

func (ComponentGroupOutput) ElementType

func (ComponentGroupOutput) ElementType() reflect.Type

func (ComponentGroupOutput) ToComponentGroupOutput

func (o ComponentGroupOutput) ToComponentGroupOutput() ComponentGroupOutput

func (ComponentGroupOutput) ToComponentGroupOutputWithContext

func (o ComponentGroupOutput) ToComponentGroupOutputWithContext(ctx context.Context) ComponentGroupOutput

type ComponentGroupState

type ComponentGroupState struct {
	// An array with the IDs of the components in this group
	Components pulumi.StringArrayInput
	// More detailed description for this component group
	Description pulumi.StringPtrInput
	// An array with the IDs of the components in this group
	Name pulumi.StringPtrInput
	// the ID of the page this component group belongs to
	PageId pulumi.StringPtrInput
}

func (ComponentGroupState) ElementType

func (ComponentGroupState) ElementType() reflect.Type

type ComponentInput

type ComponentInput interface {
	pulumi.Input

	ToComponentOutput() ComponentOutput
	ToComponentOutputWithContext(ctx context.Context) ComponentOutput
}

type ComponentMap

type ComponentMap map[string]ComponentInput

func (ComponentMap) ElementType

func (ComponentMap) ElementType() reflect.Type

func (ComponentMap) ToComponentMapOutput

func (i ComponentMap) ToComponentMapOutput() ComponentMapOutput

func (ComponentMap) ToComponentMapOutputWithContext

func (i ComponentMap) ToComponentMapOutputWithContext(ctx context.Context) ComponentMapOutput

type ComponentMapInput

type ComponentMapInput interface {
	pulumi.Input

	ToComponentMapOutput() ComponentMapOutput
	ToComponentMapOutputWithContext(context.Context) ComponentMapOutput
}

ComponentMapInput is an input type that accepts ComponentMap and ComponentMapOutput values. You can construct a concrete instance of `ComponentMapInput` via:

ComponentMap{ "key": ComponentArgs{...} }

type ComponentMapOutput

type ComponentMapOutput struct{ *pulumi.OutputState }

func (ComponentMapOutput) ElementType

func (ComponentMapOutput) ElementType() reflect.Type

func (ComponentMapOutput) MapIndex

func (ComponentMapOutput) ToComponentMapOutput

func (o ComponentMapOutput) ToComponentMapOutput() ComponentMapOutput

func (ComponentMapOutput) ToComponentMapOutputWithContext

func (o ComponentMapOutput) ToComponentMapOutputWithContext(ctx context.Context) ComponentMapOutput

type ComponentOutput

type ComponentOutput struct{ *pulumi.OutputState }

func (ComponentOutput) ElementType

func (ComponentOutput) ElementType() reflect.Type

func (ComponentOutput) ToComponentOutput

func (o ComponentOutput) ToComponentOutput() ComponentOutput

func (ComponentOutput) ToComponentOutputWithContext

func (o ComponentOutput) ToComponentOutputWithContext(ctx context.Context) ComponentOutput

type ComponentState

type ComponentState struct {
	AutomationEmail pulumi.StringPtrInput
	// More detailed description for the component
	Description pulumi.StringPtrInput
	// Display Name for the component
	Name               pulumi.StringPtrInput
	OnlyShowIfDegraded pulumi.BoolPtrInput
	// the ID of the page this component belongs to
	PageId pulumi.StringPtrInput
	// Should this component be shown component only if in degraded state
	Showcase pulumi.BoolPtrInput
	// Should this component be showcased
	StartDate pulumi.StringPtrInput
	Status    pulumi.StringPtrInput
}

func (ComponentState) ElementType

func (ComponentState) ElementType() reflect.Type

type GetComponentGroupsArgs

type GetComponentGroupsArgs struct {
	Filters []GetComponentGroupsFilter `pulumi:"filters"`
	// the ID of the page this component belongs to
	PageId string `pulumi:"pageId"`
}

A collection of arguments for invoking getComponentGroups.

type GetComponentGroupsComponentGroup

type GetComponentGroupsComponentGroup struct {
	Components  []string `pulumi:"components"`
	Description string   `pulumi:"description"`
	// The ID of this resource.
	Id       string `pulumi:"id"`
	Name     string `pulumi:"name"`
	Position int    `pulumi:"position"`
}

type GetComponentGroupsComponentGroupArgs

type GetComponentGroupsComponentGroupArgs struct {
	Components  pulumi.StringArrayInput `pulumi:"components"`
	Description pulumi.StringInput      `pulumi:"description"`
	// The ID of this resource.
	Id       pulumi.StringInput `pulumi:"id"`
	Name     pulumi.StringInput `pulumi:"name"`
	Position pulumi.IntInput    `pulumi:"position"`
}

func (GetComponentGroupsComponentGroupArgs) ElementType

func (GetComponentGroupsComponentGroupArgs) ToGetComponentGroupsComponentGroupOutput

func (i GetComponentGroupsComponentGroupArgs) ToGetComponentGroupsComponentGroupOutput() GetComponentGroupsComponentGroupOutput

func (GetComponentGroupsComponentGroupArgs) ToGetComponentGroupsComponentGroupOutputWithContext

func (i GetComponentGroupsComponentGroupArgs) ToGetComponentGroupsComponentGroupOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupOutput

type GetComponentGroupsComponentGroupArray

type GetComponentGroupsComponentGroupArray []GetComponentGroupsComponentGroupInput

func (GetComponentGroupsComponentGroupArray) ElementType

func (GetComponentGroupsComponentGroupArray) ToGetComponentGroupsComponentGroupArrayOutput

func (i GetComponentGroupsComponentGroupArray) ToGetComponentGroupsComponentGroupArrayOutput() GetComponentGroupsComponentGroupArrayOutput

func (GetComponentGroupsComponentGroupArray) ToGetComponentGroupsComponentGroupArrayOutputWithContext

func (i GetComponentGroupsComponentGroupArray) ToGetComponentGroupsComponentGroupArrayOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupArrayOutput

type GetComponentGroupsComponentGroupArrayInput

type GetComponentGroupsComponentGroupArrayInput interface {
	pulumi.Input

	ToGetComponentGroupsComponentGroupArrayOutput() GetComponentGroupsComponentGroupArrayOutput
	ToGetComponentGroupsComponentGroupArrayOutputWithContext(context.Context) GetComponentGroupsComponentGroupArrayOutput
}

GetComponentGroupsComponentGroupArrayInput is an input type that accepts GetComponentGroupsComponentGroupArray and GetComponentGroupsComponentGroupArrayOutput values. You can construct a concrete instance of `GetComponentGroupsComponentGroupArrayInput` via:

GetComponentGroupsComponentGroupArray{ GetComponentGroupsComponentGroupArgs{...} }

type GetComponentGroupsComponentGroupArrayOutput

type GetComponentGroupsComponentGroupArrayOutput struct{ *pulumi.OutputState }

func (GetComponentGroupsComponentGroupArrayOutput) ElementType

func (GetComponentGroupsComponentGroupArrayOutput) Index

func (GetComponentGroupsComponentGroupArrayOutput) ToGetComponentGroupsComponentGroupArrayOutput

func (o GetComponentGroupsComponentGroupArrayOutput) ToGetComponentGroupsComponentGroupArrayOutput() GetComponentGroupsComponentGroupArrayOutput

func (GetComponentGroupsComponentGroupArrayOutput) ToGetComponentGroupsComponentGroupArrayOutputWithContext

func (o GetComponentGroupsComponentGroupArrayOutput) ToGetComponentGroupsComponentGroupArrayOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupArrayOutput

type GetComponentGroupsComponentGroupInput

type GetComponentGroupsComponentGroupInput interface {
	pulumi.Input

	ToGetComponentGroupsComponentGroupOutput() GetComponentGroupsComponentGroupOutput
	ToGetComponentGroupsComponentGroupOutputWithContext(context.Context) GetComponentGroupsComponentGroupOutput
}

GetComponentGroupsComponentGroupInput is an input type that accepts GetComponentGroupsComponentGroupArgs and GetComponentGroupsComponentGroupOutput values. You can construct a concrete instance of `GetComponentGroupsComponentGroupInput` via:

GetComponentGroupsComponentGroupArgs{...}

type GetComponentGroupsComponentGroupOutput

type GetComponentGroupsComponentGroupOutput struct{ *pulumi.OutputState }

func (GetComponentGroupsComponentGroupOutput) Components

func (GetComponentGroupsComponentGroupOutput) Description

func (GetComponentGroupsComponentGroupOutput) ElementType

func (GetComponentGroupsComponentGroupOutput) Id

The ID of this resource.

func (GetComponentGroupsComponentGroupOutput) Name

func (GetComponentGroupsComponentGroupOutput) Position

func (GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutput

func (o GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutput() GetComponentGroupsComponentGroupOutput

func (GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutputWithContext

func (o GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupOutput

type GetComponentGroupsFilter

type GetComponentGroupsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetComponentGroupsFilterArgs

type GetComponentGroupsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetComponentGroupsFilterArgs) ElementType

func (GetComponentGroupsFilterArgs) ToGetComponentGroupsFilterOutput

func (i GetComponentGroupsFilterArgs) ToGetComponentGroupsFilterOutput() GetComponentGroupsFilterOutput

func (GetComponentGroupsFilterArgs) ToGetComponentGroupsFilterOutputWithContext

func (i GetComponentGroupsFilterArgs) ToGetComponentGroupsFilterOutputWithContext(ctx context.Context) GetComponentGroupsFilterOutput

type GetComponentGroupsFilterArray

type GetComponentGroupsFilterArray []GetComponentGroupsFilterInput

func (GetComponentGroupsFilterArray) ElementType

func (GetComponentGroupsFilterArray) ToGetComponentGroupsFilterArrayOutput

func (i GetComponentGroupsFilterArray) ToGetComponentGroupsFilterArrayOutput() GetComponentGroupsFilterArrayOutput

func (GetComponentGroupsFilterArray) ToGetComponentGroupsFilterArrayOutputWithContext

func (i GetComponentGroupsFilterArray) ToGetComponentGroupsFilterArrayOutputWithContext(ctx context.Context) GetComponentGroupsFilterArrayOutput

type GetComponentGroupsFilterArrayInput

type GetComponentGroupsFilterArrayInput interface {
	pulumi.Input

	ToGetComponentGroupsFilterArrayOutput() GetComponentGroupsFilterArrayOutput
	ToGetComponentGroupsFilterArrayOutputWithContext(context.Context) GetComponentGroupsFilterArrayOutput
}

GetComponentGroupsFilterArrayInput is an input type that accepts GetComponentGroupsFilterArray and GetComponentGroupsFilterArrayOutput values. You can construct a concrete instance of `GetComponentGroupsFilterArrayInput` via:

GetComponentGroupsFilterArray{ GetComponentGroupsFilterArgs{...} }

type GetComponentGroupsFilterArrayOutput

type GetComponentGroupsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetComponentGroupsFilterArrayOutput) ElementType

func (GetComponentGroupsFilterArrayOutput) Index

func (GetComponentGroupsFilterArrayOutput) ToGetComponentGroupsFilterArrayOutput

func (o GetComponentGroupsFilterArrayOutput) ToGetComponentGroupsFilterArrayOutput() GetComponentGroupsFilterArrayOutput

func (GetComponentGroupsFilterArrayOutput) ToGetComponentGroupsFilterArrayOutputWithContext

func (o GetComponentGroupsFilterArrayOutput) ToGetComponentGroupsFilterArrayOutputWithContext(ctx context.Context) GetComponentGroupsFilterArrayOutput

type GetComponentGroupsFilterInput

type GetComponentGroupsFilterInput interface {
	pulumi.Input

	ToGetComponentGroupsFilterOutput() GetComponentGroupsFilterOutput
	ToGetComponentGroupsFilterOutputWithContext(context.Context) GetComponentGroupsFilterOutput
}

GetComponentGroupsFilterInput is an input type that accepts GetComponentGroupsFilterArgs and GetComponentGroupsFilterOutput values. You can construct a concrete instance of `GetComponentGroupsFilterInput` via:

GetComponentGroupsFilterArgs{...}

type GetComponentGroupsFilterOutput

type GetComponentGroupsFilterOutput struct{ *pulumi.OutputState }

func (GetComponentGroupsFilterOutput) ElementType

func (GetComponentGroupsFilterOutput) Name

func (GetComponentGroupsFilterOutput) Regex

func (GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutput

func (o GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutput() GetComponentGroupsFilterOutput

func (GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutputWithContext

func (o GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutputWithContext(ctx context.Context) GetComponentGroupsFilterOutput

func (GetComponentGroupsFilterOutput) Values

type GetComponentGroupsOutputArgs

type GetComponentGroupsOutputArgs struct {
	Filters GetComponentGroupsFilterArrayInput `pulumi:"filters"`
	// the ID of the page this component belongs to
	PageId pulumi.StringInput `pulumi:"pageId"`
}

A collection of arguments for invoking getComponentGroups.

func (GetComponentGroupsOutputArgs) ElementType

type GetComponentGroupsResult

type GetComponentGroupsResult struct {
	ComponentGroups []GetComponentGroupsComponentGroup `pulumi:"componentGroups"`
	Filters         []GetComponentGroupsFilter         `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// the ID of the page this component belongs to
	PageId string `pulumi:"pageId"`
}

A collection of values returned by getComponentGroups.

func GetComponentGroups

func GetComponentGroups(ctx *pulumi.Context, args *GetComponentGroupsArgs, opts ...pulumi.InvokeOption) (*GetComponentGroupsResult, error)

## Example Usage

```go package main

import (

"github.com/nycruz/pulumi-statuspage/sdk/go/statuspage"
"github.com/pulumi/pulumi-statuspage/sdk/go/statuspage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := statuspage.GetComponentGroups(ctx, &GetComponentGroupsArgs{
			PageId: local.Page_id,
			Filters: []GetComponentGroupsFilter{
				GetComponentGroupsFilter{
					Name: "name",
					Values: []string{
						"value_1",
						"value_2",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetComponentGroupsResultOutput

type GetComponentGroupsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getComponentGroups.

func (GetComponentGroupsResultOutput) ComponentGroups

func (GetComponentGroupsResultOutput) ElementType

func (GetComponentGroupsResultOutput) Filters

func (GetComponentGroupsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetComponentGroupsResultOutput) PageId

the ID of the page this component belongs to

func (GetComponentGroupsResultOutput) ToGetComponentGroupsResultOutput

func (o GetComponentGroupsResultOutput) ToGetComponentGroupsResultOutput() GetComponentGroupsResultOutput

func (GetComponentGroupsResultOutput) ToGetComponentGroupsResultOutputWithContext

func (o GetComponentGroupsResultOutput) ToGetComponentGroupsResultOutputWithContext(ctx context.Context) GetComponentGroupsResultOutput

type GetComponentsArgs

type GetComponentsArgs struct {
	Filters []GetComponentsFilter `pulumi:"filters"`
	// the ID of the page this component belongs to
	PageId string `pulumi:"pageId"`
}

A collection of arguments for invoking getComponents.

type GetComponentsComponent

type GetComponentsComponent struct {
	AutomationEmail string `pulumi:"automationEmail"`
	Description     string `pulumi:"description"`
	GroupId         string `pulumi:"groupId"`
	// The ID of this resource.
	Id       string `pulumi:"id"`
	Name     string `pulumi:"name"`
	Position int    `pulumi:"position"`
}

type GetComponentsComponentArgs

type GetComponentsComponentArgs struct {
	AutomationEmail pulumi.StringInput `pulumi:"automationEmail"`
	Description     pulumi.StringInput `pulumi:"description"`
	GroupId         pulumi.StringInput `pulumi:"groupId"`
	// The ID of this resource.
	Id       pulumi.StringInput `pulumi:"id"`
	Name     pulumi.StringInput `pulumi:"name"`
	Position pulumi.IntInput    `pulumi:"position"`
}

func (GetComponentsComponentArgs) ElementType

func (GetComponentsComponentArgs) ElementType() reflect.Type

func (GetComponentsComponentArgs) ToGetComponentsComponentOutput

func (i GetComponentsComponentArgs) ToGetComponentsComponentOutput() GetComponentsComponentOutput

func (GetComponentsComponentArgs) ToGetComponentsComponentOutputWithContext

func (i GetComponentsComponentArgs) ToGetComponentsComponentOutputWithContext(ctx context.Context) GetComponentsComponentOutput

type GetComponentsComponentArray

type GetComponentsComponentArray []GetComponentsComponentInput

func (GetComponentsComponentArray) ElementType

func (GetComponentsComponentArray) ToGetComponentsComponentArrayOutput

func (i GetComponentsComponentArray) ToGetComponentsComponentArrayOutput() GetComponentsComponentArrayOutput

func (GetComponentsComponentArray) ToGetComponentsComponentArrayOutputWithContext

func (i GetComponentsComponentArray) ToGetComponentsComponentArrayOutputWithContext(ctx context.Context) GetComponentsComponentArrayOutput

type GetComponentsComponentArrayInput

type GetComponentsComponentArrayInput interface {
	pulumi.Input

	ToGetComponentsComponentArrayOutput() GetComponentsComponentArrayOutput
	ToGetComponentsComponentArrayOutputWithContext(context.Context) GetComponentsComponentArrayOutput
}

GetComponentsComponentArrayInput is an input type that accepts GetComponentsComponentArray and GetComponentsComponentArrayOutput values. You can construct a concrete instance of `GetComponentsComponentArrayInput` via:

GetComponentsComponentArray{ GetComponentsComponentArgs{...} }

type GetComponentsComponentArrayOutput

type GetComponentsComponentArrayOutput struct{ *pulumi.OutputState }

func (GetComponentsComponentArrayOutput) ElementType

func (GetComponentsComponentArrayOutput) Index

func (GetComponentsComponentArrayOutput) ToGetComponentsComponentArrayOutput

func (o GetComponentsComponentArrayOutput) ToGetComponentsComponentArrayOutput() GetComponentsComponentArrayOutput

func (GetComponentsComponentArrayOutput) ToGetComponentsComponentArrayOutputWithContext

func (o GetComponentsComponentArrayOutput) ToGetComponentsComponentArrayOutputWithContext(ctx context.Context) GetComponentsComponentArrayOutput

type GetComponentsComponentInput

type GetComponentsComponentInput interface {
	pulumi.Input

	ToGetComponentsComponentOutput() GetComponentsComponentOutput
	ToGetComponentsComponentOutputWithContext(context.Context) GetComponentsComponentOutput
}

GetComponentsComponentInput is an input type that accepts GetComponentsComponentArgs and GetComponentsComponentOutput values. You can construct a concrete instance of `GetComponentsComponentInput` via:

GetComponentsComponentArgs{...}

type GetComponentsComponentOutput

type GetComponentsComponentOutput struct{ *pulumi.OutputState }

func (GetComponentsComponentOutput) AutomationEmail

func (o GetComponentsComponentOutput) AutomationEmail() pulumi.StringOutput

func (GetComponentsComponentOutput) Description

func (GetComponentsComponentOutput) ElementType

func (GetComponentsComponentOutput) GroupId

func (GetComponentsComponentOutput) Id

The ID of this resource.

func (GetComponentsComponentOutput) Name

func (GetComponentsComponentOutput) Position

func (GetComponentsComponentOutput) ToGetComponentsComponentOutput

func (o GetComponentsComponentOutput) ToGetComponentsComponentOutput() GetComponentsComponentOutput

func (GetComponentsComponentOutput) ToGetComponentsComponentOutputWithContext

func (o GetComponentsComponentOutput) ToGetComponentsComponentOutputWithContext(ctx context.Context) GetComponentsComponentOutput

type GetComponentsFilter

type GetComponentsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetComponentsFilterArgs

type GetComponentsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetComponentsFilterArgs) ElementType

func (GetComponentsFilterArgs) ElementType() reflect.Type

func (GetComponentsFilterArgs) ToGetComponentsFilterOutput

func (i GetComponentsFilterArgs) ToGetComponentsFilterOutput() GetComponentsFilterOutput

func (GetComponentsFilterArgs) ToGetComponentsFilterOutputWithContext

func (i GetComponentsFilterArgs) ToGetComponentsFilterOutputWithContext(ctx context.Context) GetComponentsFilterOutput

type GetComponentsFilterArray

type GetComponentsFilterArray []GetComponentsFilterInput

func (GetComponentsFilterArray) ElementType

func (GetComponentsFilterArray) ElementType() reflect.Type

func (GetComponentsFilterArray) ToGetComponentsFilterArrayOutput

func (i GetComponentsFilterArray) ToGetComponentsFilterArrayOutput() GetComponentsFilterArrayOutput

func (GetComponentsFilterArray) ToGetComponentsFilterArrayOutputWithContext

func (i GetComponentsFilterArray) ToGetComponentsFilterArrayOutputWithContext(ctx context.Context) GetComponentsFilterArrayOutput

type GetComponentsFilterArrayInput

type GetComponentsFilterArrayInput interface {
	pulumi.Input

	ToGetComponentsFilterArrayOutput() GetComponentsFilterArrayOutput
	ToGetComponentsFilterArrayOutputWithContext(context.Context) GetComponentsFilterArrayOutput
}

GetComponentsFilterArrayInput is an input type that accepts GetComponentsFilterArray and GetComponentsFilterArrayOutput values. You can construct a concrete instance of `GetComponentsFilterArrayInput` via:

GetComponentsFilterArray{ GetComponentsFilterArgs{...} }

type GetComponentsFilterArrayOutput

type GetComponentsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetComponentsFilterArrayOutput) ElementType

func (GetComponentsFilterArrayOutput) Index

func (GetComponentsFilterArrayOutput) ToGetComponentsFilterArrayOutput

func (o GetComponentsFilterArrayOutput) ToGetComponentsFilterArrayOutput() GetComponentsFilterArrayOutput

func (GetComponentsFilterArrayOutput) ToGetComponentsFilterArrayOutputWithContext

func (o GetComponentsFilterArrayOutput) ToGetComponentsFilterArrayOutputWithContext(ctx context.Context) GetComponentsFilterArrayOutput

type GetComponentsFilterInput

type GetComponentsFilterInput interface {
	pulumi.Input

	ToGetComponentsFilterOutput() GetComponentsFilterOutput
	ToGetComponentsFilterOutputWithContext(context.Context) GetComponentsFilterOutput
}

GetComponentsFilterInput is an input type that accepts GetComponentsFilterArgs and GetComponentsFilterOutput values. You can construct a concrete instance of `GetComponentsFilterInput` via:

GetComponentsFilterArgs{...}

type GetComponentsFilterOutput

type GetComponentsFilterOutput struct{ *pulumi.OutputState }

func (GetComponentsFilterOutput) ElementType

func (GetComponentsFilterOutput) ElementType() reflect.Type

func (GetComponentsFilterOutput) Name

func (GetComponentsFilterOutput) Regex

func (GetComponentsFilterOutput) ToGetComponentsFilterOutput

func (o GetComponentsFilterOutput) ToGetComponentsFilterOutput() GetComponentsFilterOutput

func (GetComponentsFilterOutput) ToGetComponentsFilterOutputWithContext

func (o GetComponentsFilterOutput) ToGetComponentsFilterOutputWithContext(ctx context.Context) GetComponentsFilterOutput

func (GetComponentsFilterOutput) Values

type GetComponentsOutputArgs

type GetComponentsOutputArgs struct {
	Filters GetComponentsFilterArrayInput `pulumi:"filters"`
	// the ID of the page this component belongs to
	PageId pulumi.StringInput `pulumi:"pageId"`
}

A collection of arguments for invoking getComponents.

func (GetComponentsOutputArgs) ElementType

func (GetComponentsOutputArgs) ElementType() reflect.Type

type GetComponentsResult

type GetComponentsResult struct {
	Components []GetComponentsComponent `pulumi:"components"`
	Filters    []GetComponentsFilter    `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// the ID of the page this component belongs to
	PageId string `pulumi:"pageId"`
}

A collection of values returned by getComponents.

func GetComponents

func GetComponents(ctx *pulumi.Context, args *GetComponentsArgs, opts ...pulumi.InvokeOption) (*GetComponentsResult, error)

## Example Usage

```go package main

import (

"github.com/nycruz/pulumi-statuspage/sdk/go/statuspage"
"github.com/pulumi/pulumi-statuspage/sdk/go/statuspage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := statuspage.GetComponents(ctx, &GetComponentsArgs{
			PageId: local.Page_id,
			Filters: []GetComponentsFilter{
				GetComponentsFilter{
					Name: "name",
					Values: []string{
						"value_1",
						"value_2",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetComponentsResultOutput

type GetComponentsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getComponents.

func (GetComponentsResultOutput) Components

func (GetComponentsResultOutput) ElementType

func (GetComponentsResultOutput) ElementType() reflect.Type

func (GetComponentsResultOutput) Filters

func (GetComponentsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetComponentsResultOutput) PageId

the ID of the page this component belongs to

func (GetComponentsResultOutput) ToGetComponentsResultOutput

func (o GetComponentsResultOutput) ToGetComponentsResultOutput() GetComponentsResultOutput

func (GetComponentsResultOutput) ToGetComponentsResultOutputWithContext

func (o GetComponentsResultOutput) ToGetComponentsResultOutputWithContext(ctx context.Context) GetComponentsResultOutput

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	ApiKey pulumi.StringPtrOutput `pulumi:"apiKey"`
}

The provider type for the statuspage package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	ApiKey pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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