Documentation ¶
Overview ¶
A Pulumi package for creating and managing statuspage cloud resources.
Index ¶
- func PkgVersion() (semver.Version, error)
- type Component
- type ComponentArgs
- type ComponentArray
- type ComponentArrayInput
- type ComponentArrayOutput
- func (ComponentArrayOutput) ElementType() reflect.Type
- func (o ComponentArrayOutput) Index(i pulumi.IntInput) ComponentOutput
- func (o ComponentArrayOutput) ToComponentArrayOutput() ComponentArrayOutput
- func (o ComponentArrayOutput) ToComponentArrayOutputWithContext(ctx context.Context) ComponentArrayOutput
- type ComponentGroup
- type ComponentGroupArgs
- type ComponentGroupArray
- type ComponentGroupArrayInput
- type ComponentGroupArrayOutput
- func (ComponentGroupArrayOutput) ElementType() reflect.Type
- func (o ComponentGroupArrayOutput) Index(i pulumi.IntInput) ComponentGroupOutput
- func (o ComponentGroupArrayOutput) ToComponentGroupArrayOutput() ComponentGroupArrayOutput
- func (o ComponentGroupArrayOutput) ToComponentGroupArrayOutputWithContext(ctx context.Context) ComponentGroupArrayOutput
- type ComponentGroupInput
- type ComponentGroupMap
- type ComponentGroupMapInput
- type ComponentGroupMapOutput
- func (ComponentGroupMapOutput) ElementType() reflect.Type
- func (o ComponentGroupMapOutput) MapIndex(k pulumi.StringInput) ComponentGroupOutput
- func (o ComponentGroupMapOutput) ToComponentGroupMapOutput() ComponentGroupMapOutput
- func (o ComponentGroupMapOutput) ToComponentGroupMapOutputWithContext(ctx context.Context) ComponentGroupMapOutput
- type ComponentGroupOutput
- type ComponentGroupState
- type ComponentInput
- type ComponentMap
- type ComponentMapInput
- type ComponentMapOutput
- type ComponentOutput
- type ComponentState
- type GetComponentGroupsArgs
- type GetComponentGroupsComponentGroup
- type GetComponentGroupsComponentGroupArgs
- func (GetComponentGroupsComponentGroupArgs) ElementType() reflect.Type
- func (i GetComponentGroupsComponentGroupArgs) ToGetComponentGroupsComponentGroupOutput() GetComponentGroupsComponentGroupOutput
- func (i GetComponentGroupsComponentGroupArgs) ToGetComponentGroupsComponentGroupOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupOutput
- type GetComponentGroupsComponentGroupArray
- func (GetComponentGroupsComponentGroupArray) ElementType() reflect.Type
- func (i GetComponentGroupsComponentGroupArray) ToGetComponentGroupsComponentGroupArrayOutput() GetComponentGroupsComponentGroupArrayOutput
- func (i GetComponentGroupsComponentGroupArray) ToGetComponentGroupsComponentGroupArrayOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupArrayOutput
- type GetComponentGroupsComponentGroupArrayInput
- type GetComponentGroupsComponentGroupArrayOutput
- func (GetComponentGroupsComponentGroupArrayOutput) ElementType() reflect.Type
- func (o GetComponentGroupsComponentGroupArrayOutput) Index(i pulumi.IntInput) GetComponentGroupsComponentGroupOutput
- func (o GetComponentGroupsComponentGroupArrayOutput) ToGetComponentGroupsComponentGroupArrayOutput() GetComponentGroupsComponentGroupArrayOutput
- func (o GetComponentGroupsComponentGroupArrayOutput) ToGetComponentGroupsComponentGroupArrayOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupArrayOutput
- type GetComponentGroupsComponentGroupInput
- type GetComponentGroupsComponentGroupOutput
- func (o GetComponentGroupsComponentGroupOutput) Components() pulumi.StringArrayOutput
- func (o GetComponentGroupsComponentGroupOutput) Description() pulumi.StringOutput
- func (GetComponentGroupsComponentGroupOutput) ElementType() reflect.Type
- func (o GetComponentGroupsComponentGroupOutput) Id() pulumi.StringOutput
- func (o GetComponentGroupsComponentGroupOutput) Name() pulumi.StringOutput
- func (o GetComponentGroupsComponentGroupOutput) Position() pulumi.IntOutput
- func (o GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutput() GetComponentGroupsComponentGroupOutput
- func (o GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupOutput
- type GetComponentGroupsFilter
- type GetComponentGroupsFilterArgs
- func (GetComponentGroupsFilterArgs) ElementType() reflect.Type
- func (i GetComponentGroupsFilterArgs) ToGetComponentGroupsFilterOutput() GetComponentGroupsFilterOutput
- func (i GetComponentGroupsFilterArgs) ToGetComponentGroupsFilterOutputWithContext(ctx context.Context) GetComponentGroupsFilterOutput
- type GetComponentGroupsFilterArray
- func (GetComponentGroupsFilterArray) ElementType() reflect.Type
- func (i GetComponentGroupsFilterArray) ToGetComponentGroupsFilterArrayOutput() GetComponentGroupsFilterArrayOutput
- func (i GetComponentGroupsFilterArray) ToGetComponentGroupsFilterArrayOutputWithContext(ctx context.Context) GetComponentGroupsFilterArrayOutput
- type GetComponentGroupsFilterArrayInput
- type GetComponentGroupsFilterArrayOutput
- func (GetComponentGroupsFilterArrayOutput) ElementType() reflect.Type
- func (o GetComponentGroupsFilterArrayOutput) Index(i pulumi.IntInput) GetComponentGroupsFilterOutput
- func (o GetComponentGroupsFilterArrayOutput) ToGetComponentGroupsFilterArrayOutput() GetComponentGroupsFilterArrayOutput
- func (o GetComponentGroupsFilterArrayOutput) ToGetComponentGroupsFilterArrayOutputWithContext(ctx context.Context) GetComponentGroupsFilterArrayOutput
- type GetComponentGroupsFilterInput
- type GetComponentGroupsFilterOutput
- func (GetComponentGroupsFilterOutput) ElementType() reflect.Type
- func (o GetComponentGroupsFilterOutput) Name() pulumi.StringOutput
- func (o GetComponentGroupsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutput() GetComponentGroupsFilterOutput
- func (o GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutputWithContext(ctx context.Context) GetComponentGroupsFilterOutput
- func (o GetComponentGroupsFilterOutput) Values() pulumi.StringArrayOutput
- type GetComponentGroupsOutputArgs
- type GetComponentGroupsResult
- type GetComponentGroupsResultOutput
- func (o GetComponentGroupsResultOutput) ComponentGroups() GetComponentGroupsComponentGroupArrayOutput
- func (GetComponentGroupsResultOutput) ElementType() reflect.Type
- func (o GetComponentGroupsResultOutput) Filters() GetComponentGroupsFilterArrayOutput
- func (o GetComponentGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetComponentGroupsResultOutput) PageId() pulumi.StringOutput
- func (o GetComponentGroupsResultOutput) ToGetComponentGroupsResultOutput() GetComponentGroupsResultOutput
- func (o GetComponentGroupsResultOutput) ToGetComponentGroupsResultOutputWithContext(ctx context.Context) GetComponentGroupsResultOutput
- type GetComponentsArgs
- type GetComponentsComponent
- type GetComponentsComponentArgs
- type GetComponentsComponentArray
- func (GetComponentsComponentArray) ElementType() reflect.Type
- func (i GetComponentsComponentArray) ToGetComponentsComponentArrayOutput() GetComponentsComponentArrayOutput
- func (i GetComponentsComponentArray) ToGetComponentsComponentArrayOutputWithContext(ctx context.Context) GetComponentsComponentArrayOutput
- type GetComponentsComponentArrayInput
- type GetComponentsComponentArrayOutput
- func (GetComponentsComponentArrayOutput) ElementType() reflect.Type
- func (o GetComponentsComponentArrayOutput) Index(i pulumi.IntInput) GetComponentsComponentOutput
- func (o GetComponentsComponentArrayOutput) ToGetComponentsComponentArrayOutput() GetComponentsComponentArrayOutput
- func (o GetComponentsComponentArrayOutput) ToGetComponentsComponentArrayOutputWithContext(ctx context.Context) GetComponentsComponentArrayOutput
- type GetComponentsComponentInput
- type GetComponentsComponentOutput
- func (o GetComponentsComponentOutput) AutomationEmail() pulumi.StringOutput
- func (o GetComponentsComponentOutput) Description() pulumi.StringOutput
- func (GetComponentsComponentOutput) ElementType() reflect.Type
- func (o GetComponentsComponentOutput) GroupId() pulumi.StringOutput
- func (o GetComponentsComponentOutput) Id() pulumi.StringOutput
- func (o GetComponentsComponentOutput) Name() pulumi.StringOutput
- func (o GetComponentsComponentOutput) Position() pulumi.IntOutput
- func (o GetComponentsComponentOutput) ToGetComponentsComponentOutput() GetComponentsComponentOutput
- func (o GetComponentsComponentOutput) ToGetComponentsComponentOutputWithContext(ctx context.Context) GetComponentsComponentOutput
- type GetComponentsFilter
- type GetComponentsFilterArgs
- type GetComponentsFilterArray
- type GetComponentsFilterArrayInput
- type GetComponentsFilterArrayOutput
- func (GetComponentsFilterArrayOutput) ElementType() reflect.Type
- func (o GetComponentsFilterArrayOutput) Index(i pulumi.IntInput) GetComponentsFilterOutput
- func (o GetComponentsFilterArrayOutput) ToGetComponentsFilterArrayOutput() GetComponentsFilterArrayOutput
- func (o GetComponentsFilterArrayOutput) ToGetComponentsFilterArrayOutputWithContext(ctx context.Context) GetComponentsFilterArrayOutput
- type GetComponentsFilterInput
- type GetComponentsFilterOutput
- func (GetComponentsFilterOutput) ElementType() reflect.Type
- func (o GetComponentsFilterOutput) Name() pulumi.StringOutput
- func (o GetComponentsFilterOutput) Regex() pulumi.BoolPtrOutput
- func (o GetComponentsFilterOutput) ToGetComponentsFilterOutput() GetComponentsFilterOutput
- func (o GetComponentsFilterOutput) ToGetComponentsFilterOutputWithContext(ctx context.Context) GetComponentsFilterOutput
- func (o GetComponentsFilterOutput) Values() pulumi.StringArrayOutput
- type GetComponentsOutputArgs
- type GetComponentsResult
- type GetComponentsResultOutput
- func (o GetComponentsResultOutput) Components() GetComponentsComponentArrayOutput
- func (GetComponentsResultOutput) ElementType() reflect.Type
- func (o GetComponentsResultOutput) Filters() GetComponentsFilterArrayOutput
- func (o GetComponentsResultOutput) Id() pulumi.StringOutput
- func (o GetComponentsResultOutput) PageId() pulumi.StringOutput
- func (o GetComponentsResultOutput) ToGetComponentsResultOutput() GetComponentsResultOutput
- func (o GetComponentsResultOutput) ToGetComponentsResultOutputWithContext(ctx context.Context) GetComponentsResultOutput
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
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) 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 (o ComponentArrayOutput) Index(i pulumi.IntInput) ComponentOutput
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 (o ComponentGroupArrayOutput) Index(i pulumi.IntInput) ComponentGroupOutput
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 (o ComponentGroupMapOutput) MapIndex(k pulumi.StringInput) ComponentGroupOutput
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 (o ComponentMapOutput) MapIndex(k pulumi.StringInput) ComponentOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 (o GetComponentGroupsComponentGroupOutput) Components() pulumi.StringArrayOutput
func (GetComponentGroupsComponentGroupOutput) Description ¶
func (o GetComponentGroupsComponentGroupOutput) Description() pulumi.StringOutput
func (GetComponentGroupsComponentGroupOutput) ElementType ¶
func (GetComponentGroupsComponentGroupOutput) ElementType() reflect.Type
func (GetComponentGroupsComponentGroupOutput) Id ¶
func (o GetComponentGroupsComponentGroupOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetComponentGroupsComponentGroupOutput) Name ¶
func (o GetComponentGroupsComponentGroupOutput) Name() pulumi.StringOutput
func (GetComponentGroupsComponentGroupOutput) Position ¶
func (o GetComponentGroupsComponentGroupOutput) Position() pulumi.IntOutput
func (GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutput ¶
func (o GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutput() GetComponentGroupsComponentGroupOutput
func (GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutputWithContext ¶
func (o GetComponentGroupsComponentGroupOutput) ToGetComponentGroupsComponentGroupOutputWithContext(ctx context.Context) GetComponentGroupsComponentGroupOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetComponentGroupsFilterArrayOutput) Index ¶
func (o GetComponentGroupsFilterArrayOutput) Index(i pulumi.IntInput) GetComponentGroupsFilterOutput
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) ElementType() reflect.Type
func (GetComponentGroupsFilterOutput) Name ¶
func (o GetComponentGroupsFilterOutput) Name() pulumi.StringOutput
func (GetComponentGroupsFilterOutput) Regex ¶
func (o GetComponentGroupsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutput ¶
func (o GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutput() GetComponentGroupsFilterOutput
func (GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutputWithContext ¶
func (o GetComponentGroupsFilterOutput) ToGetComponentGroupsFilterOutputWithContext(ctx context.Context) GetComponentGroupsFilterOutput
func (GetComponentGroupsFilterOutput) Values ¶
func (o GetComponentGroupsFilterOutput) Values() pulumi.StringArrayOutput
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 ¶
func (GetComponentGroupsOutputArgs) ElementType() reflect.Type
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 GetComponentGroupsOutput ¶
func GetComponentGroupsOutput(ctx *pulumi.Context, args GetComponentGroupsOutputArgs, opts ...pulumi.InvokeOption) GetComponentGroupsResultOutput
func (GetComponentGroupsResultOutput) ComponentGroups ¶
func (o GetComponentGroupsResultOutput) ComponentGroups() GetComponentGroupsComponentGroupArrayOutput
func (GetComponentGroupsResultOutput) ElementType ¶
func (GetComponentGroupsResultOutput) ElementType() reflect.Type
func (GetComponentGroupsResultOutput) Filters ¶
func (o GetComponentGroupsResultOutput) Filters() GetComponentGroupsFilterArrayOutput
func (GetComponentGroupsResultOutput) Id ¶
func (o GetComponentGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetComponentGroupsResultOutput) PageId ¶
func (o GetComponentGroupsResultOutput) PageId() pulumi.StringOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetComponentsComponentArrayOutput) Index ¶
func (o GetComponentsComponentArrayOutput) Index(i pulumi.IntInput) GetComponentsComponentOutput
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 (o GetComponentsComponentOutput) Description() pulumi.StringOutput
func (GetComponentsComponentOutput) ElementType ¶
func (GetComponentsComponentOutput) ElementType() reflect.Type
func (GetComponentsComponentOutput) GroupId ¶
func (o GetComponentsComponentOutput) GroupId() pulumi.StringOutput
func (GetComponentsComponentOutput) Id ¶
func (o GetComponentsComponentOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetComponentsComponentOutput) Name ¶
func (o GetComponentsComponentOutput) Name() pulumi.StringOutput
func (GetComponentsComponentOutput) Position ¶
func (o GetComponentsComponentOutput) Position() pulumi.IntOutput
func (GetComponentsComponentOutput) ToGetComponentsComponentOutput ¶
func (o GetComponentsComponentOutput) ToGetComponentsComponentOutput() GetComponentsComponentOutput
func (GetComponentsComponentOutput) ToGetComponentsComponentOutputWithContext ¶
func (o GetComponentsComponentOutput) ToGetComponentsComponentOutputWithContext(ctx context.Context) GetComponentsComponentOutput
type GetComponentsFilter ¶
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) ElementType() reflect.Type
func (GetComponentsFilterArrayOutput) Index ¶
func (o GetComponentsFilterArrayOutput) Index(i pulumi.IntInput) GetComponentsFilterOutput
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 (o GetComponentsFilterOutput) Name() pulumi.StringOutput
func (GetComponentsFilterOutput) Regex ¶
func (o GetComponentsFilterOutput) Regex() pulumi.BoolPtrOutput
func (GetComponentsFilterOutput) ToGetComponentsFilterOutput ¶
func (o GetComponentsFilterOutput) ToGetComponentsFilterOutput() GetComponentsFilterOutput
func (GetComponentsFilterOutput) ToGetComponentsFilterOutputWithContext ¶
func (o GetComponentsFilterOutput) ToGetComponentsFilterOutputWithContext(ctx context.Context) GetComponentsFilterOutput
func (GetComponentsFilterOutput) Values ¶
func (o GetComponentsFilterOutput) Values() pulumi.StringArrayOutput
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 GetComponentsOutput ¶
func GetComponentsOutput(ctx *pulumi.Context, args GetComponentsOutputArgs, opts ...pulumi.InvokeOption) GetComponentsResultOutput
func (GetComponentsResultOutput) Components ¶
func (o GetComponentsResultOutput) Components() GetComponentsComponentArrayOutput
func (GetComponentsResultOutput) ElementType ¶
func (GetComponentsResultOutput) ElementType() reflect.Type
func (GetComponentsResultOutput) Filters ¶
func (o GetComponentsResultOutput) Filters() GetComponentsFilterArrayOutput
func (GetComponentsResultOutput) Id ¶
func (o GetComponentsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetComponentsResultOutput) PageId ¶
func (o GetComponentsResultOutput) PageId() pulumi.StringOutput
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) 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